2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for libuserdb 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
='libuserdb'
425 PACKAGE_TARNAME
='libuserdb'
426 PACKAGE_VERSION
='0.10'
427 PACKAGE_STRING
='libuserdb 0.10'
428 PACKAGE_BUGREPORT
='courier-users@lists.sourceforge.net'
430 ac_unique_file
="userdb.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 PERL userdb USERDB userdbtmpdir tmpdir makedat MD5LIB SHA1LIB HMACLIB CRYPTLIBS 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 libuserdb 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 libuserdb 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
]
1049 --with-random=/dev
/urandom
- location of the system random
file generator
1050 --without-random - there is no system random
file generator
1052 Some influential environment variables
:
1053 CC C compiler
command
1054 CFLAGS C compiler flags
1055 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1056 nonstandard directory
<lib dir
>
1057 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1058 headers
in a nonstandard directory
<include dir
>
1060 CXX C
++ compiler
command
1061 CXXFLAGS C
++ compiler flags
1062 CXXCPP C
++ preprocessor
1063 F77 Fortran
77 compiler
command
1064 FFLAGS Fortran
77 compiler flags
1066 Use these variables to override the choices made by
`configure' or to help
1067 it to find libraries and programs with nonstandard names/locations.
1069 Report bugs to <courier-users@lists.sourceforge.net>.
1073 if test "$ac_init_help" = "recursive"; then
1074 # If there are subdirs, report their specific --help.
1076 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1077 test -d $ac_dir || continue
1080 if test "$ac_dir" != .; then
1081 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1082 # A "../" for each directory in $ac_dir_suffix.
1083 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
1085 ac_dir_suffix= ac_top_builddir=
1089 .) # No --srcdir option. We are building in place.
1091 if test -z "$ac_top_builddir"; then
1094 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
1096 [\\/]* | ?:[\\/]* ) # Absolute path.
1097 ac_srcdir=$srcdir$ac_dir_suffix;
1098 ac_top_srcdir=$srcdir ;;
1100 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1101 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1104 # Do not use `cd foo
&& pwd` to compute absolute paths, because
1105 # the directories may not exist.
1107 .) ac_abs_builddir="$ac_dir";;
1110 .) ac_abs_builddir=`pwd`;;
1111 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1112 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1115 case $ac_abs_builddir in
1116 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1118 case ${ac_top_builddir}. in
1119 .) ac_abs_top_builddir=$ac_abs_builddir;;
1120 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1121 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1124 case $ac_abs_builddir in
1125 .) ac_abs_srcdir=$ac_srcdir;;
1128 .) ac_abs_srcdir=$ac_abs_builddir;;
1129 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1130 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1133 case $ac_abs_builddir in
1134 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1136 case $ac_top_srcdir in
1137 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1138 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1139 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1144 # Check for guested configure; otherwise get Cygnus style configure.
1145 if test -f $ac_srcdir/configure.gnu; then
1147 $SHELL $ac_srcdir/configure.gnu --help=recursive
1148 elif test -f $ac_srcdir/configure; then
1150 $SHELL $ac_srcdir/configure --help=recursive
1151 elif test -f $ac_srcdir/configure.ac ||
1152 test -f $ac_srcdir/configure.in; then
1154 $ac_configure --help
1156 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1162 test -n "$ac_init_help" && exit 0
1163 if $ac_init_version; then
1165 libuserdb configure 0.10
1166 generated by GNU Autoconf 2.59
1168 Copyright (C) 2003 Free Software Foundation, Inc.
1169 This configure script is free software; the Free Software Foundation
1170 gives unlimited permission to copy, distribute and modify it.
1176 This file contains any messages produced by compilers while
1177 running configure, to aid debugging if configure makes a mistake.
1179 It was created by libuserdb $as_me 0.10, which was
1180 generated by GNU Autoconf 2.59. Invocation command line was
1191 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1192 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1193 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1194 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1195 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1197 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1198 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1200 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1201 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1202 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1203 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1204 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1205 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1206 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1214 test -z "$as_dir" && as_dir=.
1215 echo "PATH: $as_dir"
1230 # Keep a trace of the command line.
1231 # Strip out --no-create and --no-recursion so they do not pile up.
1232 # Strip out --silent because we don't want to record it for future runs.
1233 # Also quote any args containing shell meta-characters.
1234 # Make two passes to allow for proper duplicate-argument suppression.
1239 ac_must_keep_next=false
1245 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1246 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1247 | -silent | --silent | --silen | --sile | --sil)
1249 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1250 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1253 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1255 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1256 if test $ac_must_keep_next = true; then
1257 ac_must_keep_next=false # Got value, back to normal.
1260 *=* | --config-cache | -C | -disable-* | --disable-* \
1261 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1262 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1263 | -with-* | --with-* | -without-* | --without-* | --x)
1264 case "$ac_configure_args0 " in
1265 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1268 -* ) ac_must_keep_next=true ;;
1271 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1272 # Get rid of the leading space.
1278 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1279 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1281 # When interrupted or exit'd, cleanup temporary files, and complete
1282 # config.log. We remove comments because anyway the quotes in there
1283 # would cause problems or look ugly.
1284 # WARNING: Be sure not to use single quotes in there, as some shells,
1285 # such as our DU 5.0 friend, will then `close
' the trap.
1286 trap 'exit_status
=$?
1287 # Save into config.log some information that might help in debugging.
1292 ## ---------------- ##
1293 ## Cache variables. ##
1294 ## ---------------- ##
1297 # The following way of writing the cache mishandles newlines in values,
1300 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1303 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1304 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1308 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1315 ## ----------------- ##
1316 ## Output variables. ##
1317 ## ----------------- ##
1320 for ac_var
in $ac_subst_vars
1322 eval ac_val
=$
`echo $ac_var`
1323 echo "$ac_var='"'"'$ac_val'"'"'"
1327 if test -n "$ac_subst_files"; then
1334 for ac_var
in $ac_subst_files
1336 eval ac_val
=$
`echo $ac_var`
1337 echo "$ac_var='"'"'$ac_val'"'"'"
1342 if test -s confdefs.h
; then
1349 sed "/^$/d" confdefs.h |
sort
1352 test "$ac_signal" != 0 &&
1353 echo "$as_me: caught signal $ac_signal"
1354 echo "$as_me: exit $exit_status"
1356 rm -f core
*.core
&&
1357 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1360 for ac_signal in 1 2 13 15; do
1361 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1365 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1366 rm -rf conftest* confdefs.h
1367 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1370 # Predefined preprocessor variables.
1372 cat >>confdefs.h <<_ACEOF
1373 #define PACKAGE_NAME "$PACKAGE_NAME"
1377 cat >>confdefs.h <<_ACEOF
1378 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1382 cat >>confdefs.h <<_ACEOF
1383 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1387 cat >>confdefs.h <<_ACEOF
1388 #define PACKAGE_STRING "$PACKAGE_STRING"
1392 cat >>confdefs.h <<_ACEOF
1393 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1397 # Let the site file select an alternate cache file if it wants to.
1398 # Prefer explicitly selected file to automatically selected ones.
1399 if test -z "$CONFIG_SITE"; then
1400 if test "x$prefix" != xNONE; then
1401 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1403 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1406 for ac_site_file in $CONFIG_SITE; do
1407 if test -r "$ac_site_file"; then
1408 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1409 echo "$as_me: loading site script $ac_site_file" >&6;}
1410 sed 's
/^
/|
/' "$ac_site_file" >&5
1415 if test -r "$cache_file"; then
1416 # Some versions of bash will fail to source /dev/null (special
1417 # files actually), so we avoid doing that.
1418 if test -f "$cache_file"; then
1419 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1420 echo "$as_me: loading cache $cache_file" >&6;}
1422 [\\/]* | ?:[\\/]* ) . $cache_file;;
1423 *) . ./$cache_file;;
1427 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1428 echo "$as_me: creating cache $cache_file" >&6;}
1432 # Check that the precious variables saved in the cache have kept the same
1434 ac_cache_corrupted=false
1435 for ac_var in `(set) 2>&1 |
1436 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1437 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1438 eval ac_new_set=\$ac_env_${ac_var}_set
1439 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1440 eval ac_new_val="\$ac_env_${ac_var}_value"
1441 case $ac_old_set,$ac_new_set in
1443 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1444 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1445 ac_cache_corrupted=: ;;
1447 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1448 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1449 ac_cache_corrupted=: ;;
1452 if test "x$ac_old_val" != "x$ac_new_val"; then
1453 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1454 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1455 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1456 echo "$as_me: former value: $ac_old_val" >&2;}
1457 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1458 echo "$as_me: current value: $ac_new_val" >&2;}
1459 ac_cache_corrupted=:
1462 # Pass precious variables to config.status.
1463 if test "$ac_new_set" = set; then
1465 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1466 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1467 *) ac_arg=$ac_var=$ac_new_val ;;
1469 case " $ac_configure_args " in
1470 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1471 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1475 if $ac_cache_corrupted; then
1476 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1477 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1478 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1479 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1480 { (exit 1); exit 1; }; }
1484 ac_cpp='$CPP $CPPFLAGS'
1485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1486 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1516 >confdefs.h # Kill PACKAGE_ macros.
1518 LPATH="$PATH:/usr/local/bin"
1521 am__api_version="1.9"
1523 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1524 if test -f $ac_dir/install-sh; then
1526 ac_install_sh="$ac_aux_dir/install-sh -c"
1528 elif test -f $ac_dir/install.sh; then
1530 ac_install_sh="$ac_aux_dir/install.sh -c"
1532 elif test -f $ac_dir/shtool; then
1534 ac_install_sh="$ac_aux_dir/shtool install -c"
1538 if test -z "$ac_aux_dir"; then
1539 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1540 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1541 { (exit 1); exit 1; }; }
1543 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1544 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1545 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1547 # Find a good install program. We prefer a C program (faster),
1548 # so one script is as good as another. But avoid the broken or
1549 # incompatible versions:
1550 # SysV /etc/install, /usr/sbin/install
1551 # SunOS /usr/etc/install
1552 # IRIX /sbin/install
1554 # AmigaOS /C/install, which installs bootblocks on floppy discs
1555 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1556 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1557 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1558 # OS/2's system install, which has a completely different semantic
1559 # ./install, which can be erroneously created by make from ./install.sh.
1560 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1561 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1562 if test -z "$INSTALL"; then
1563 if test "${ac_cv_path_install+set}" = set; then
1564 echo $ECHO_N "(cached) $ECHO_C" >&6
1566 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1570 test -z "$as_dir" && as_dir
=.
1571 # Account for people who put trailing slashes in PATH elements.
1573 .
/ | .
// |
/cC
/* | \
1574 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1575 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1578 # OSF1 and SCO ODT 3.0 have their own names for install.
1579 # Don't use installbsd from OSF since it installs stuff as root
1581 for ac_prog
in ginstall scoinst
install; do
1582 for ac_exec_ext
in '' $ac_executable_extensions; do
1583 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1584 if test $ac_prog = install &&
1585 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1586 # AIX install. It has an incompatible calling convention.
1588 elif test $ac_prog = install &&
1589 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1590 # program-specific install script used by HP pwplus--don't use.
1593 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1605 if test "${ac_cv_path_install+set}" = set; then
1606 INSTALL
=$ac_cv_path_install
1608 # As a last resort, use the slow shell script. We don't cache a
1609 # path for INSTALL within a source directory, because that will
1610 # break other packages using the cache if that directory is
1611 # removed, or if the path is relative.
1612 INSTALL
=$ac_install_sh
1615 echo "$as_me:$LINENO: result: $INSTALL" >&5
1616 echo "${ECHO_T}$INSTALL" >&6
1618 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1619 # It thinks the first close brace ends the variable substitution.
1620 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1622 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1624 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1626 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1627 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1630 echo timestamp
> conftest.
file
1631 # Do `set' in a subshell so we don't clobber the current shell's
1632 # arguments. Must try -L first in case configure is actually a
1633 # symlink; some systems play weird games with the mod time of symlinks
1634 # (eg FreeBSD returns the mod time of the symlink's containing
1637 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1638 if test "$*" = "X"; then
1640 set X
`ls -t $srcdir/configure conftest.file`
1643 if test "$*" != "X $srcdir/configure conftest.file" \
1644 && test "$*" != "X conftest.file $srcdir/configure"; then
1646 # If neither matched, then we have a broken ls. This can happen
1647 # if, for instance, CONFIG_SHELL is bash and it inherits a
1648 # broken ls alias from the environment. This has actually
1649 # happened. Such a system could not be considered "sane".
1650 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1651 alias in your environment" >&5
1652 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1653 alias in your environment" >&2;}
1654 { (exit 1); exit 1; }; }
1657 test "$2" = conftest.
file
1663 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1664 Check your system clock" >&5
1665 echo "$as_me: error: newly created file is older than distributed files!
1666 Check your system clock" >&2;}
1667 { (exit 1); exit 1; }; }
1669 echo "$as_me:$LINENO: result: yes" >&5
1670 echo "${ECHO_T}yes" >&6
1671 test "$program_prefix" != NONE
&&
1672 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1673 # Use a double $ so make ignores it.
1674 test "$program_suffix" != NONE
&&
1675 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1676 # Double any \ or $. echo might interpret backslashes.
1677 # By default was `s,x,x', remove it if useless.
1678 cat <<\_ACEOF
>conftest.
sed
1679 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1681 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1684 # expand $ac_aux_dir to an absolute path
1685 am_aux_dir
=`cd $ac_aux_dir && pwd`
1687 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1688 # Use eval to expand $SHELL
1689 if eval "$MISSING --run true"; then
1690 am_missing_run
="$MISSING --run "
1693 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1694 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1697 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1698 # We used to keeping the `.' as first argument, in order to
1699 # allow $(mkdir_p) to be used without argument. As in
1700 # $(mkdir_p) $(somedir)
1701 # where $(somedir) is conditionally defined. However this is wrong
1703 # 1. if the package is installed by a user who cannot write `.'
1704 # make install will fail,
1705 # 2. the above comment should most certainly read
1706 # $(mkdir_p) $(DESTDIR)$(somedir)
1707 # so it does not work when $(somedir) is undefined and
1708 # $(DESTDIR) is not.
1709 # To support the latter case, we have to write
1710 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1711 # so the `.' trick is pointless.
1712 mkdir_p
='mkdir -p --'
1714 # On NextStep and OpenStep, the `mkdir' command does not
1715 # recognize any option. It will interpret all options as
1716 # directories to create, and then abort because `.' already
1718 for d
in .
/-p .
/--version;
1720 test -d $d && rmdir $d
1722 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1723 if test -f "$ac_aux_dir/mkinstalldirs"; then
1724 mkdir_p
='$(mkinstalldirs)'
1726 mkdir_p
='$(install_sh) -d'
1730 for ac_prog
in gawk mawk nawk
awk
1732 # Extract the first word of "$ac_prog", so it can be a program name with args.
1733 set dummy
$ac_prog; ac_word
=$2
1734 echo "$as_me:$LINENO: checking for $ac_word" >&5
1735 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1736 if test "${ac_cv_prog_AWK+set}" = set; then
1737 echo $ECHO_N "(cached) $ECHO_C" >&6
1739 if test -n "$AWK"; then
1740 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1742 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1746 test -z "$as_dir" && as_dir
=.
1747 for ac_exec_ext
in '' $ac_executable_extensions; do
1748 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1749 ac_cv_prog_AWK
="$ac_prog"
1750 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1759 if test -n "$AWK"; then
1760 echo "$as_me:$LINENO: result: $AWK" >&5
1761 echo "${ECHO_T}$AWK" >&6
1763 echo "$as_me:$LINENO: result: no" >&5
1764 echo "${ECHO_T}no" >&6
1767 test -n "$AWK" && break
1770 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1771 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1772 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1773 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1774 echo $ECHO_N "(cached) $ECHO_C" >&6
1776 cat >conftest.
make <<\_ACEOF
1778 @
echo 'ac_maketemp="$(MAKE)"'
1780 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1781 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1782 if test -n "$ac_maketemp"; then
1783 eval ac_cv_prog_make_
${ac_make}_set
=yes
1785 eval ac_cv_prog_make_
${ac_make}_set
=no
1789 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1790 echo "$as_me:$LINENO: result: yes" >&5
1791 echo "${ECHO_T}yes" >&6
1794 echo "$as_me:$LINENO: result: no" >&5
1795 echo "${ECHO_T}no" >&6
1796 SET_MAKE
="MAKE=${MAKE-make}"
1799 rm -rf .tst
2>/dev
/null
1800 mkdir .tst
2>/dev
/null
1801 if test -d .tst
; then
1806 rmdir .tst
2>/dev
/null
1808 # test to see if srcdir already configured
1809 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1810 test -f $srcdir/config.status
; then
1811 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1812 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1813 { (exit 1); exit 1; }; }
1816 # test whether we have cygpath
1817 if test -z "$CYGPATH_W"; then
1818 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1819 CYGPATH_W
='cygpath -w'
1826 # Define the identity of the package.
1831 # Some tools Automake needs.
1833 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1836 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1839 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1842 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1845 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1847 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1849 # Installed binaries are usually stripped using `strip' when the user
1850 # run `make install-strip'. However `strip' might not be the right
1851 # tool to use in cross-compilation environments, therefore Automake
1852 # will honor the `STRIP' environment variable to overrule this program.
1853 if test "$cross_compiling" != no
; then
1854 if test -n "$ac_tool_prefix"; then
1855 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1856 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1857 echo "$as_me:$LINENO: checking for $ac_word" >&5
1858 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1859 if test "${ac_cv_prog_STRIP+set}" = set; then
1860 echo $ECHO_N "(cached) $ECHO_C" >&6
1862 if test -n "$STRIP"; then
1863 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1865 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1869 test -z "$as_dir" && as_dir
=.
1870 for ac_exec_ext
in '' $ac_executable_extensions; do
1871 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1872 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1873 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1881 STRIP
=$ac_cv_prog_STRIP
1882 if test -n "$STRIP"; then
1883 echo "$as_me:$LINENO: result: $STRIP" >&5
1884 echo "${ECHO_T}$STRIP" >&6
1886 echo "$as_me:$LINENO: result: no" >&5
1887 echo "${ECHO_T}no" >&6
1891 if test -z "$ac_cv_prog_STRIP"; then
1893 # Extract the first word of "strip", so it can be a program name with args.
1894 set dummy strip
; ac_word
=$2
1895 echo "$as_me:$LINENO: checking for $ac_word" >&5
1896 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1897 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1898 echo $ECHO_N "(cached) $ECHO_C" >&6
1900 if test -n "$ac_ct_STRIP"; then
1901 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1903 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1907 test -z "$as_dir" && as_dir
=.
1908 for ac_exec_ext
in '' $ac_executable_extensions; do
1909 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1910 ac_cv_prog_ac_ct_STRIP
="strip"
1911 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1917 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1920 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1921 if test -n "$ac_ct_STRIP"; then
1922 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1923 echo "${ECHO_T}$ac_ct_STRIP" >&6
1925 echo "$as_me:$LINENO: result: no" >&5
1926 echo "${ECHO_T}no" >&6
1931 STRIP
="$ac_cv_prog_STRIP"
1935 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1937 # We need awk for the "check" target. The system "awk" is bad on
1939 # Always define AMTAR for backward compatibility.
1941 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1943 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
1950 for ac_prog
in gawk mawk nawk
awk
1952 # Extract the first word of "$ac_prog", so it can be a program name with args.
1953 set dummy
$ac_prog; ac_word
=$2
1954 echo "$as_me:$LINENO: checking for $ac_word" >&5
1955 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1956 if test "${ac_cv_prog_AWK+set}" = set; then
1957 echo $ECHO_N "(cached) $ECHO_C" >&6
1959 if test -n "$AWK"; then
1960 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1962 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1966 test -z "$as_dir" && as_dir
=.
1967 for ac_exec_ext
in '' $ac_executable_extensions; do
1968 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1969 ac_cv_prog_AWK
="$ac_prog"
1970 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1979 if test -n "$AWK"; then
1980 echo "$as_me:$LINENO: result: $AWK" >&5
1981 echo "${ECHO_T}$AWK" >&6
1983 echo "$as_me:$LINENO: result: no" >&5
1984 echo "${ECHO_T}no" >&6
1987 test -n "$AWK" && break
1991 ac_cpp
='$CPP $CPPFLAGS'
1992 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1993 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1994 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1995 if test -n "$ac_tool_prefix"; then
1996 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1997 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1998 echo "$as_me:$LINENO: checking for $ac_word" >&5
1999 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2000 if test "${ac_cv_prog_CC+set}" = set; then
2001 echo $ECHO_N "(cached) $ECHO_C" >&6
2003 if test -n "$CC"; then
2004 ac_cv_prog_CC
="$CC" # Let the user override the test.
2006 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2010 test -z "$as_dir" && as_dir
=.
2011 for ac_exec_ext
in '' $ac_executable_extensions; do
2012 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2013 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2014 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2023 if test -n "$CC"; then
2024 echo "$as_me:$LINENO: result: $CC" >&5
2025 echo "${ECHO_T}$CC" >&6
2027 echo "$as_me:$LINENO: result: no" >&5
2028 echo "${ECHO_T}no" >&6
2032 if test -z "$ac_cv_prog_CC"; then
2034 # Extract the first word of "gcc", so it can be a program name with args.
2035 set dummy gcc
; 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_ac_ct_CC+set}" = set; then
2039 echo $ECHO_N "(cached) $ECHO_C" >&6
2041 if test -n "$ac_ct_CC"; then
2042 ac_cv_prog_ac_ct_CC
="$ac_ct_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_ac_ct_CC
="gcc"
2052 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2060 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2061 if test -n "$ac_ct_CC"; then
2062 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2063 echo "${ECHO_T}$ac_ct_CC" >&6
2065 echo "$as_me:$LINENO: result: no" >&5
2066 echo "${ECHO_T}no" >&6
2074 if test -z "$CC"; then
2075 if test -n "$ac_tool_prefix"; then
2076 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2077 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2078 echo "$as_me:$LINENO: checking for $ac_word" >&5
2079 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2080 if test "${ac_cv_prog_CC+set}" = set; then
2081 echo $ECHO_N "(cached) $ECHO_C" >&6
2083 if test -n "$CC"; then
2084 ac_cv_prog_CC
="$CC" # Let the user override the test.
2086 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2090 test -z "$as_dir" && as_dir
=.
2091 for ac_exec_ext
in '' $ac_executable_extensions; do
2092 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2093 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2094 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2103 if test -n "$CC"; then
2104 echo "$as_me:$LINENO: result: $CC" >&5
2105 echo "${ECHO_T}$CC" >&6
2107 echo "$as_me:$LINENO: result: no" >&5
2108 echo "${ECHO_T}no" >&6
2112 if test -z "$ac_cv_prog_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_ac_ct_CC+set}" = set; then
2119 echo $ECHO_N "(cached) $ECHO_C" >&6
2121 if test -n "$ac_ct_CC"; then
2122 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2124 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2128 test -z "$as_dir" && as_dir
=.
2129 for ac_exec_ext
in '' $ac_executable_extensions; do
2130 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2131 ac_cv_prog_ac_ct_CC
="cc"
2132 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2140 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2141 if test -n "$ac_ct_CC"; then
2142 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2143 echo "${ECHO_T}$ac_ct_CC" >&6
2145 echo "$as_me:$LINENO: result: no" >&5
2146 echo "${ECHO_T}no" >&6
2155 if test -z "$CC"; then
2156 # Extract the first word of "cc", so it can be a program name with args.
2157 set dummy cc
; ac_word
=$2
2158 echo "$as_me:$LINENO: checking for $ac_word" >&5
2159 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2160 if test "${ac_cv_prog_CC+set}" = set; then
2161 echo $ECHO_N "(cached) $ECHO_C" >&6
2163 if test -n "$CC"; then
2164 ac_cv_prog_CC
="$CC" # Let the user override the test.
2167 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2171 test -z "$as_dir" && as_dir
=.
2172 for ac_exec_ext
in '' $ac_executable_extensions; do
2173 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2174 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2175 ac_prog_rejected
=yes
2179 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2185 if test $ac_prog_rejected = yes; then
2186 # We found a bogon in the path, so make sure we never use it.
2187 set dummy
$ac_cv_prog_CC
2189 if test $# != 0; then
2190 # We chose a different compiler from the bogus one.
2191 # However, it has the same basename, so the bogon will be chosen
2192 # first if we set CC to just the basename; use the full file name.
2194 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2200 if test -n "$CC"; then
2201 echo "$as_me:$LINENO: result: $CC" >&5
2202 echo "${ECHO_T}$CC" >&6
2204 echo "$as_me:$LINENO: result: no" >&5
2205 echo "${ECHO_T}no" >&6
2209 if test -z "$CC"; then
2210 if test -n "$ac_tool_prefix"; then
2213 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2214 set dummy
$ac_tool_prefix$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_CC+set}" = set; then
2218 echo $ECHO_N "(cached) $ECHO_C" >&6
2220 if test -n "$CC"; then
2221 ac_cv_prog_CC
="$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_CC
="$ac_tool_prefix$ac_prog"
2231 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2240 if test -n "$CC"; then
2241 echo "$as_me:$LINENO: result: $CC" >&5
2242 echo "${ECHO_T}$CC" >&6
2244 echo "$as_me:$LINENO: result: no" >&5
2245 echo "${ECHO_T}no" >&6
2248 test -n "$CC" && break
2251 if test -z "$CC"; then
2255 # Extract the first word of "$ac_prog", so it can be a program name with args.
2256 set dummy
$ac_prog; ac_word
=$2
2257 echo "$as_me:$LINENO: checking for $ac_word" >&5
2258 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2259 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2260 echo $ECHO_N "(cached) $ECHO_C" >&6
2262 if test -n "$ac_ct_CC"; then
2263 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2265 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2269 test -z "$as_dir" && as_dir
=.
2270 for ac_exec_ext
in '' $ac_executable_extensions; do
2271 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2272 ac_cv_prog_ac_ct_CC
="$ac_prog"
2273 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2281 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2282 if test -n "$ac_ct_CC"; then
2283 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2284 echo "${ECHO_T}$ac_ct_CC" >&6
2286 echo "$as_me:$LINENO: result: no" >&5
2287 echo "${ECHO_T}no" >&6
2290 test -n "$ac_ct_CC" && break
2299 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2300 See \`config.log' for more details." >&5
2301 echo "$as_me: error: no acceptable C compiler found in \$PATH
2302 See \`config.log' for more details." >&2;}
2303 { (exit 1); exit 1; }; }
2305 # Provide some information about the compiler.
2306 echo "$as_me:$LINENO:" \
2307 "checking for C compiler version" >&5
2308 ac_compiler
=`set X $ac_compile; echo $2`
2309 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2310 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2313 (exit $ac_status); }
2314 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2315 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2318 (exit $ac_status); }
2319 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2320 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2323 (exit $ac_status); }
2325 cat >conftest.
$ac_ext <<_ACEOF
2328 cat confdefs.h
>>conftest.
$ac_ext
2329 cat >>conftest.
$ac_ext <<_ACEOF
2330 /* end confdefs.h. */
2340 ac_clean_files_save
=$ac_clean_files
2341 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2342 # Try to create an executable without -o first, disregard a.out.
2343 # It will help us diagnose broken compilers, and finding out an intuition
2345 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2346 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2347 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2348 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2349 (eval $ac_link_default) 2>&5
2351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2352 (exit $ac_status); }; then
2353 # Find the output, starting from the most likely. This scheme is
2354 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2357 # Be careful to initialize this variable, since it used to be cached.
2358 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2360 # b.out is created by i960 compilers.
2361 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2363 test -f "$ac_file" ||
continue
2365 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2368 # This is the source file.
2371 # We found the default executable, but exeext='' is most
2375 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2376 # FIXME: I believe we export ac_cv_exeext for Libtool,
2377 # but it would be cool to find out if it's true. Does anybody
2378 # maintain Libtool? --akim.
2386 echo "$as_me: failed program was:" >&5
2387 sed 's/^/| /' conftest.
$ac_ext >&5
2389 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2390 See \`config.log' for more details." >&5
2391 echo "$as_me: error: C compiler cannot create executables
2392 See \`config.log' for more details." >&2;}
2393 { (exit 77); exit 77; }; }
2396 ac_exeext
=$ac_cv_exeext
2397 echo "$as_me:$LINENO: result: $ac_file" >&5
2398 echo "${ECHO_T}$ac_file" >&6
2400 # Check the compiler produces executables we can run. If not, either
2401 # the compiler is broken, or we cross compile.
2402 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2403 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2404 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2405 # If not cross compiling, check that we can run a simple program.
2406 if test "$cross_compiling" != yes; then
2407 if { ac_try
='./$ac_file'
2408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2412 (exit $ac_status); }; }; then
2415 if test "$cross_compiling" = maybe
; then
2418 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2419 If you meant to cross compile, use \`--host'.
2420 See \`config.log' for more details." >&5
2421 echo "$as_me: error: cannot run C compiled programs.
2422 If you meant to cross compile, use \`--host'.
2423 See \`config.log' for more details." >&2;}
2424 { (exit 1); exit 1; }; }
2428 echo "$as_me:$LINENO: result: yes" >&5
2429 echo "${ECHO_T}yes" >&6
2431 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2432 ac_clean_files
=$ac_clean_files_save
2433 # Check the compiler produces executables we can run. If not, either
2434 # the compiler is broken, or we cross compile.
2435 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2436 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2437 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2438 echo "${ECHO_T}$cross_compiling" >&6
2440 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2441 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2443 (eval $ac_link) 2>&5
2445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2446 (exit $ac_status); }; then
2447 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2448 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2449 # work properly (i.e., refer to `conftest.exe'), while it won't with
2451 for ac_file
in conftest.exe conftest conftest.
*; do
2452 test -f "$ac_file" ||
continue
2454 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2455 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2462 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2463 See \`config.log' for more details." >&5
2464 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2465 See \`config.log' for more details." >&2;}
2466 { (exit 1); exit 1; }; }
2469 rm -f conftest
$ac_cv_exeext
2470 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2471 echo "${ECHO_T}$ac_cv_exeext" >&6
2473 rm -f conftest.
$ac_ext
2474 EXEEXT
=$ac_cv_exeext
2476 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2477 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2478 if test "${ac_cv_objext+set}" = set; then
2479 echo $ECHO_N "(cached) $ECHO_C" >&6
2481 cat >conftest.
$ac_ext <<_ACEOF
2484 cat confdefs.h
>>conftest.
$ac_ext
2485 cat >>conftest.
$ac_ext <<_ACEOF
2486 /* end confdefs.h. */
2496 rm -f conftest.o conftest.obj
2497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2498 (eval $ac_compile) 2>&5
2500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2501 (exit $ac_status); }; then
2502 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2504 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2505 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2510 echo "$as_me: failed program was:" >&5
2511 sed 's/^/| /' conftest.
$ac_ext >&5
2513 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2514 See \`config.log' for more details." >&5
2515 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2516 See \`config.log' for more details." >&2;}
2517 { (exit 1); exit 1; }; }
2520 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2522 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2523 echo "${ECHO_T}$ac_cv_objext" >&6
2524 OBJEXT
=$ac_cv_objext
2526 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2527 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2528 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2529 echo $ECHO_N "(cached) $ECHO_C" >&6
2531 cat >conftest.
$ac_ext <<_ACEOF
2534 cat confdefs.h
>>conftest.
$ac_ext
2535 cat >>conftest.
$ac_ext <<_ACEOF
2536 /* end confdefs.h. */
2549 rm -f conftest.
$ac_objext
2550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2551 (eval $ac_compile) 2>conftest.er1
2553 grep -v '^ *+' conftest.er1
>conftest.err
2555 cat conftest.err
>&5
2556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2557 (exit $ac_status); } &&
2558 { ac_try
='test -z "$ac_c_werror_flag"
2559 || test ! -s conftest.err'
2560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2564 (exit $ac_status); }; } &&
2565 { ac_try
='test -s conftest.$ac_objext'
2566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2570 (exit $ac_status); }; }; then
2573 echo "$as_me: failed program was:" >&5
2574 sed 's/^/| /' conftest.
$ac_ext >&5
2578 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2579 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2582 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2583 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2584 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2585 ac_test_CFLAGS
=${CFLAGS+set}
2586 ac_save_CFLAGS
=$CFLAGS
2588 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2589 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2590 if test "${ac_cv_prog_cc_g+set}" = set; then
2591 echo $ECHO_N "(cached) $ECHO_C" >&6
2593 cat >conftest.
$ac_ext <<_ACEOF
2596 cat confdefs.h
>>conftest.
$ac_ext
2597 cat >>conftest.
$ac_ext <<_ACEOF
2598 /* end confdefs.h. */
2608 rm -f conftest.
$ac_objext
2609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2610 (eval $ac_compile) 2>conftest.er1
2612 grep -v '^ *+' conftest.er1
>conftest.err
2614 cat conftest.err
>&5
2615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2616 (exit $ac_status); } &&
2617 { ac_try
='test -z "$ac_c_werror_flag"
2618 || test ! -s conftest.err'
2619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2623 (exit $ac_status); }; } &&
2624 { ac_try
='test -s conftest.$ac_objext'
2625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2629 (exit $ac_status); }; }; then
2632 echo "$as_me: failed program was:" >&5
2633 sed 's/^/| /' conftest.
$ac_ext >&5
2637 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2639 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2640 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2641 if test "$ac_test_CFLAGS" = set; then
2642 CFLAGS
=$ac_save_CFLAGS
2643 elif test $ac_cv_prog_cc_g = yes; then
2644 if test "$GCC" = yes; then
2650 if test "$GCC" = yes; then
2656 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2657 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2658 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2659 echo $ECHO_N "(cached) $ECHO_C" >&6
2661 ac_cv_prog_cc_stdc
=no
2663 cat >conftest.
$ac_ext <<_ACEOF
2666 cat confdefs.h
>>conftest.
$ac_ext
2667 cat >>conftest.
$ac_ext <<_ACEOF
2668 /* end confdefs.h. */
2671 #include <sys/types.h>
2672 #include <sys/stat.h>
2673 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2674 struct buf { int x; };
2675 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2676 static char *e (p, i)
2682 static char *f (char * (*g) (char **, int), char **p, ...)
2687 s = g (p, va_arg (v,int));
2692 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2693 function prototypes and stuff, but not '\xHH' hex character constants.
2694 These don't provoke an error unfortunately, instead are silently treated
2695 as 'x'. The following induces an error, until -std1 is added to get
2696 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2697 array size at least. It's necessary to write '\x00'==0 to get something
2698 that's true only with -std1. */
2699 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2701 int test (int i, double x);
2702 struct s1 {int (*f) (int a);};
2703 struct s2 {int (*f) (double a);};
2704 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2710 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2715 # Don't try gcc -ansi; that turns off useful extensions and
2716 # breaks some systems' header files.
2717 # AIX -qlanglvl=ansi
2718 # Ultrix and OSF/1 -std1
2719 # HP-UX 10.20 and later -Ae
2720 # HP-UX older versions -Aa -D_HPUX_SOURCE
2721 # SVR4 -Xc -D__EXTENSIONS__
2722 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2724 CC
="$ac_save_CC $ac_arg"
2725 rm -f conftest.
$ac_objext
2726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2727 (eval $ac_compile) 2>conftest.er1
2729 grep -v '^ *+' conftest.er1
>conftest.err
2731 cat conftest.err
>&5
2732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2733 (exit $ac_status); } &&
2734 { ac_try
='test -z "$ac_c_werror_flag"
2735 || test ! -s conftest.err'
2736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2740 (exit $ac_status); }; } &&
2741 { ac_try
='test -s conftest.$ac_objext'
2742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2746 (exit $ac_status); }; }; then
2747 ac_cv_prog_cc_stdc
=$ac_arg
2750 echo "$as_me: failed program was:" >&5
2751 sed 's/^/| /' conftest.
$ac_ext >&5
2754 rm -f conftest.err conftest.
$ac_objext
2756 rm -f conftest.
$ac_ext conftest.
$ac_objext
2761 case "x$ac_cv_prog_cc_stdc" in
2763 echo "$as_me:$LINENO: result: none needed" >&5
2764 echo "${ECHO_T}none needed" >&6 ;;
2766 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2767 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2768 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2771 # Some people use a C++ compiler to compile C. Since we use `exit',
2772 # in C++ we need to declare it. In case someone uses the same compiler
2773 # for both compiling C and C++ we need to have the C++ compiler decide
2774 # the declaration of exit, since it's the most demanding environment.
2775 cat >conftest.
$ac_ext <<_ACEOF
2780 rm -f conftest.
$ac_objext
2781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2782 (eval $ac_compile) 2>conftest.er1
2784 grep -v '^ *+' conftest.er1
>conftest.err
2786 cat conftest.err
>&5
2787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2788 (exit $ac_status); } &&
2789 { ac_try
='test -z "$ac_c_werror_flag"
2790 || test ! -s conftest.err'
2791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2795 (exit $ac_status); }; } &&
2796 { ac_try
='test -s conftest.$ac_objext'
2797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2801 (exit $ac_status); }; }; then
2802 for ac_declaration
in \
2804 'extern "C" void std::exit (int) throw (); using std::exit;' \
2805 'extern "C" void std::exit (int); using std::exit;' \
2806 'extern "C" void exit (int) throw ();' \
2807 'extern "C" void exit (int);' \
2810 cat >conftest.
$ac_ext <<_ACEOF
2813 cat confdefs.h
>>conftest.
$ac_ext
2814 cat >>conftest.
$ac_ext <<_ACEOF
2815 /* end confdefs.h. */
2826 rm -f conftest.
$ac_objext
2827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2828 (eval $ac_compile) 2>conftest.er1
2830 grep -v '^ *+' conftest.er1
>conftest.err
2832 cat conftest.err
>&5
2833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2834 (exit $ac_status); } &&
2835 { ac_try
='test -z "$ac_c_werror_flag"
2836 || test ! -s conftest.err'
2837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2841 (exit $ac_status); }; } &&
2842 { ac_try
='test -s conftest.$ac_objext'
2843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2847 (exit $ac_status); }; }; then
2850 echo "$as_me: failed program was:" >&5
2851 sed 's/^/| /' conftest.
$ac_ext >&5
2855 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2856 cat >conftest.
$ac_ext <<_ACEOF
2859 cat confdefs.h
>>conftest.
$ac_ext
2860 cat >>conftest.
$ac_ext <<_ACEOF
2861 /* end confdefs.h. */
2871 rm -f conftest.
$ac_objext
2872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2873 (eval $ac_compile) 2>conftest.er1
2875 grep -v '^ *+' conftest.er1
>conftest.err
2877 cat conftest.err
>&5
2878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2879 (exit $ac_status); } &&
2880 { ac_try
='test -z "$ac_c_werror_flag"
2881 || test ! -s conftest.err'
2882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2886 (exit $ac_status); }; } &&
2887 { ac_try
='test -s conftest.$ac_objext'
2888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2892 (exit $ac_status); }; }; then
2895 echo "$as_me: failed program was:" >&5
2896 sed 's/^/| /' conftest.
$ac_ext >&5
2899 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2902 if test -n "$ac_declaration"; then
2903 echo '#ifdef __cplusplus' >>confdefs.h
2904 echo $ac_declaration >>confdefs.h
2905 echo '#endif' >>confdefs.h
2909 echo "$as_me: failed program was:" >&5
2910 sed 's/^/| /' conftest.
$ac_ext >&5
2913 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2915 ac_cpp
='$CPP $CPPFLAGS'
2916 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2917 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2918 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2919 DEPDIR
="${am__leading_dot}deps"
2921 ac_config_commands
="$ac_config_commands depfiles"
2924 am_make
=${MAKE-make}
2925 cat > confinc
<< 'END'
2930 # If we don't find an include directive, just comment out the code.
2931 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2932 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2936 # First try GNU make style include.
2937 echo "include confinc" > confmf
2938 # We grep out `Entering directory' and `Leaving directory'
2939 # messages which can occur if `w' ends up in MAKEFLAGS.
2940 # In particular we don't look at `^make:' because GNU make might
2941 # be invoked under some other name (usually "gmake"), in which
2942 # case it prints its new name instead of `make'.
2943 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2948 # Now try BSD make style include.
2949 if test "$am__include" = "#"; then
2950 echo '.include "confinc"' > confmf
2951 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2952 am__include
=.include
2959 echo "$as_me:$LINENO: result: $_am_result" >&5
2960 echo "${ECHO_T}$_am_result" >&6
2961 rm -f confinc confmf
2963 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2964 if test "${enable_dependency_tracking+set}" = set; then
2965 enableval
="$enable_dependency_tracking"
2968 if test "x$enable_dependency_tracking" != xno
; then
2969 am_depcomp
="$ac_aux_dir/depcomp"
2974 if test "x$enable_dependency_tracking" != xno; then
2985 depcc
="$CC" am_compiler_list
=
2987 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2988 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2989 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2990 echo $ECHO_N "(cached) $ECHO_C" >&6
2992 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2993 # We make a subdir and do the tests there. Otherwise we can end up
2994 # making bogus files that we don't know about and never remove. For
2995 # instance it was reported that on HP-UX the gcc test will end up
2996 # making a dummy file named `D' -- because `-MD' means `put the output
2999 # Copy depcomp to subdir because otherwise we won't find it if we're
3000 # using a relative directory.
3001 cp "$am_depcomp" conftest.dir
3003 # We will build objects and dependencies in a subdirectory because
3004 # it helps to detect inapplicable dependency modes. For instance
3005 # both Tru64's cc and ICC support -MD to output dependencies as a
3006 # side effect of compilation, but ICC will put the dependencies in
3007 # the current directory while Tru64 will put them in the object
3011 am_cv_CC_dependencies_compiler_type
=none
3012 if test "$am_compiler_list" = ""; then
3013 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3015 for depmode
in $am_compiler_list; do
3016 # Setup a source with many dependencies, because some compilers
3017 # like to wrap large dependency lists on column 80 (with \), and
3018 # we should not choose a depcomp mode which is confused by this.
3020 # We need to recreate these files for each test, as the compiler may
3021 # overwrite some of them when testing with obscure command lines.
3022 # This happens at least with the AIX C compiler.
3024 for i
in 1 2 3 4 5 6; do
3025 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3026 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3027 # Solaris 8's {/usr,}/bin/sh.
3028 touch sub
/conftst
$i.h
3030 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3034 # after this tag, mechanisms are not by side-effect, so they'll
3035 # only be used when explicitly requested
3036 if test "x$enable_dependency_tracking" = xyes
; then
3044 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3045 # mode. It turns out that the SunPro C++ compiler does not properly
3046 # handle `-M -o', and we need to detect this.
3047 if depmode
=$depmode \
3048 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3049 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3050 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3051 >/dev
/null
2>conftest.err
&&
3052 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3053 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3054 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3055 # icc doesn't choke on unknown options, it will just issue warnings
3056 # or remarks (even with -Werror). So we grep stderr for any message
3057 # that says an option was ignored or not supported.
3058 # When given -MP, icc 7.0 and 7.1 complain thusly:
3059 # icc: Command line warning: ignoring option '-M'; no argument required
3060 # The diagnosis changed in icc 8.0:
3061 # icc: Command line remark: option '-MP' not supported
3062 if (grep 'ignoring option' conftest.err ||
3063 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3064 am_cv_CC_dependencies_compiler_type
=$depmode
3073 am_cv_CC_dependencies_compiler_type
=none
3077 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3078 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3079 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3084 test "x$enable_dependency_tracking" != xno \
3085 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3087 am__fastdepCC_FALSE
='#'
3089 am__fastdepCC_TRUE
='#'
3090 am__fastdepCC_FALSE
=
3094 # Find a good install program. We prefer a C program (faster),
3095 # so one script is as good as another. But avoid the broken or
3096 # incompatible versions:
3097 # SysV /etc/install, /usr/sbin/install
3098 # SunOS /usr/etc/install
3099 # IRIX /sbin/install
3101 # AmigaOS /C/install, which installs bootblocks on floppy discs
3102 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3103 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3104 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3105 # OS/2's system install, which has a completely different semantic
3106 # ./install, which can be erroneously created by make from ./install.sh.
3107 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3108 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3109 if test -z "$INSTALL"; then
3110 if test "${ac_cv_path_install+set}" = set; then
3111 echo $ECHO_N "(cached) $ECHO_C" >&6
3113 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3117 test -z "$as_dir" && as_dir
=.
3118 # Account for people who put trailing slashes in PATH elements.
3120 .
/ | .
// |
/cC
/* | \
3121 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3122 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3125 # OSF1 and SCO ODT 3.0 have their own names for install.
3126 # Don't use installbsd from OSF since it installs stuff as root
3128 for ac_prog
in ginstall scoinst
install; do
3129 for ac_exec_ext
in '' $ac_executable_extensions; do
3130 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3131 if test $ac_prog = install &&
3132 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3133 # AIX install. It has an incompatible calling convention.
3135 elif test $ac_prog = install &&
3136 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3137 # program-specific install script used by HP pwplus--don't use.
3140 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3152 if test "${ac_cv_path_install+set}" = set; then
3153 INSTALL
=$ac_cv_path_install
3155 # As a last resort, use the slow shell script. We don't cache a
3156 # path for INSTALL within a source directory, because that will
3157 # break other packages using the cache if that directory is
3158 # removed, or if the path is relative.
3159 INSTALL
=$ac_install_sh
3162 echo "$as_me:$LINENO: result: $INSTALL" >&5
3163 echo "${ECHO_T}$INSTALL" >&6
3165 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3166 # It thinks the first close brace ends the variable substitution.
3167 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3169 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3171 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3173 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3174 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3176 if test "$LN_S" = "ln -s"; then
3177 echo "$as_me:$LINENO: result: yes" >&5
3178 echo "${ECHO_T}yes" >&6
3180 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3181 echo "${ECHO_T}no, using $LN_S" >&6
3184 # Check whether --enable-shared or --disable-shared was given.
3185 if test "${enable_shared+set}" = set; then
3186 enableval
="$enable_shared"
3187 p
=${PACKAGE-default}
3189 yes) enable_shared
=yes ;;
3190 no
) enable_shared
=no
;;
3193 # Look at the argument we got. We use all the common list separators.
3194 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3195 for pkg
in $enableval; do
3197 if test "X$pkg" = "X$p"; then
3208 # Check whether --enable-static or --disable-static was given.
3209 if test "${enable_static+set}" = set; then
3210 enableval
="$enable_static"
3211 p
=${PACKAGE-default}
3213 yes) enable_static
=yes ;;
3214 no
) enable_static
=no
;;
3217 # Look at the argument we got. We use all the common list separators.
3218 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3219 for pkg
in $enableval; do
3221 if test "X$pkg" = "X$p"; then
3232 # Check whether --enable-fast-install or --disable-fast-install was given.
3233 if test "${enable_fast_install+set}" = set; then
3234 enableval
="$enable_fast_install"
3235 p
=${PACKAGE-default}
3237 yes) enable_fast_install
=yes ;;
3238 no
) enable_fast_install
=no
;;
3240 enable_fast_install
=no
3241 # Look at the argument we got. We use all the common list separators.
3242 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3243 for pkg
in $enableval; do
3245 if test "X$pkg" = "X$p"; then
3246 enable_fast_install
=yes
3253 enable_fast_install
=yes
3256 # Make sure we can run config.sub.
3257 $ac_config_sub sun4
>/dev
/null
2>&1 ||
3258 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
3259 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
3260 { (exit 1); exit 1; }; }
3262 echo "$as_me:$LINENO: checking build system type" >&5
3263 echo $ECHO_N "checking build system type... $ECHO_C" >&6
3264 if test "${ac_cv_build+set}" = set; then
3265 echo $ECHO_N "(cached) $ECHO_C" >&6
3267 ac_cv_build_alias
=$build_alias
3268 test -z "$ac_cv_build_alias" &&
3269 ac_cv_build_alias
=`$ac_config_guess`
3270 test -z "$ac_cv_build_alias" &&
3271 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3272 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3273 { (exit 1); exit 1; }; }
3274 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
3275 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
3276 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
3277 { (exit 1); exit 1; }; }
3280 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3281 echo "${ECHO_T}$ac_cv_build" >&6
3283 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3284 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3285 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3288 echo "$as_me:$LINENO: checking host system type" >&5
3289 echo $ECHO_N "checking host system type... $ECHO_C" >&6
3290 if test "${ac_cv_host+set}" = set; then
3291 echo $ECHO_N "(cached) $ECHO_C" >&6
3293 ac_cv_host_alias
=$host_alias
3294 test -z "$ac_cv_host_alias" &&
3295 ac_cv_host_alias
=$ac_cv_build_alias
3296 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
3297 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
3298 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
3299 { (exit 1); exit 1; }; }
3302 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3303 echo "${ECHO_T}$ac_cv_host" >&6
3305 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3306 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3307 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3310 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3311 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3312 if test "${lt_cv_path_SED+set}" = set; then
3313 echo $ECHO_N "(cached) $ECHO_C" >&6
3315 # Loop through the user's path and test for sed and gsed.
3316 # Then use that list of sed's as ones to test for truncation.
3317 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3321 test -z "$as_dir" && as_dir
=.
3322 for lt_ac_prog
in sed gsed
; do
3323 for ac_exec_ext
in '' $ac_executable_extensions; do
3324 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3325 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3333 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3334 # along with /bin/sed that truncates output.
3335 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
3336 test ! -f $lt_ac_sed && continue
3337 cat /dev
/null
> conftest.
in
3339 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
3340 # Check for GNU sed and select it if it is found.
3341 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
3342 lt_cv_path_SED
=$lt_ac_sed
3346 cat conftest.
in conftest.
in >conftest.tmp
3347 mv conftest.tmp conftest.
in
3348 cp conftest.
in conftest.
nl
3350 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
3351 cmp -s conftest.out conftest.
nl ||
break
3352 # 10000 chars as input seems more than enough
3353 test $lt_ac_count -gt 10 && break
3354 lt_ac_count
=`expr $lt_ac_count + 1`
3355 if test $lt_ac_count -gt $lt_ac_max; then
3356 lt_ac_max
=$lt_ac_count
3357 lt_cv_path_SED
=$lt_ac_sed
3366 echo "$as_me:$LINENO: result: $SED" >&5
3367 echo "${ECHO_T}$SED" >&6
3369 echo "$as_me:$LINENO: checking for egrep" >&5
3370 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3371 if test "${ac_cv_prog_egrep+set}" = set; then
3372 echo $ECHO_N "(cached) $ECHO_C" >&6
3374 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3375 then ac_cv_prog_egrep
='grep -E'
3376 else ac_cv_prog_egrep
='egrep'
3379 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3380 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3381 EGREP
=$ac_cv_prog_egrep
3385 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3386 if test "${with_gnu_ld+set}" = set; then
3387 withval
="$with_gnu_ld"
3388 test "$withval" = no || with_gnu_ld
=yes
3393 if test "$GCC" = yes; then
3394 # Check if gcc -print-prog-name=ld gives a path.
3395 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3396 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
3399 # gcc leaves a trailing carriage return which upsets mingw
3400 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3402 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3405 # Accept absolute paths.
3407 re_direlt
='/[^/][^/]*/\.\./'
3408 # Canonicalize the pathname of ld
3409 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
3410 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
3411 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
3413 test -z "$LD" && LD
="$ac_prog"
3416 # If it fails, then pretend we aren't using GCC.
3420 # If it is relative, then search for the first ld in PATH.
3424 elif test "$with_gnu_ld" = yes; then
3425 echo "$as_me:$LINENO: checking for GNU ld" >&5
3426 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3428 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3429 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3431 if test "${lt_cv_path_LD+set}" = set; then
3432 echo $ECHO_N "(cached) $ECHO_C" >&6
3434 if test -z "$LD"; then
3435 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
3436 for ac_dir
in $PATH; do
3438 test -z "$ac_dir" && ac_dir
=.
3439 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3440 lt_cv_path_LD
="$ac_dir/$ac_prog"
3441 # Check to see if the program is GNU ld. I'd rather use --version,
3442 # but apparently some variants of GNU ld only accept -v.
3443 # Break only if it was the GNU/non-GNU ld that we prefer.
3444 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3445 *GNU
* |
*'with BFD'*)
3446 test "$with_gnu_ld" != no
&& break
3449 test "$with_gnu_ld" != yes && break
3456 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3461 if test -n "$LD"; then
3462 echo "$as_me:$LINENO: result: $LD" >&5
3463 echo "${ECHO_T}$LD" >&6
3465 echo "$as_me:$LINENO: result: no" >&5
3466 echo "${ECHO_T}no" >&6
3468 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3469 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3470 { (exit 1); exit 1; }; }
3471 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3472 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3473 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3474 echo $ECHO_N "(cached) $ECHO_C" >&6
3476 # I'd rather use --version here, but apparently some GNU lds only accept -v.
3477 case `$LD -v 2>&1 </dev/null` in
3478 *GNU
* |
*'with BFD'*)
3479 lt_cv_prog_gnu_ld
=yes
3482 lt_cv_prog_gnu_ld
=no
3486 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3487 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3488 with_gnu_ld
=$lt_cv_prog_gnu_ld
3491 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3492 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3493 if test "${lt_cv_ld_reload_flag+set}" = set; then
3494 echo $ECHO_N "(cached) $ECHO_C" >&6
3496 lt_cv_ld_reload_flag
='-r'
3498 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3499 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3500 reload_flag
=$lt_cv_ld_reload_flag
3501 case $reload_flag in
3503 *) reload_flag
=" $reload_flag" ;;
3505 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
3508 if test "$GCC" = yes; then
3509 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
3511 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
3516 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3517 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3518 if test "${lt_cv_path_NM+set}" = set; then
3519 echo $ECHO_N "(cached) $ECHO_C" >&6
3521 if test -n "$NM"; then
3522 # Let the user override the test.
3525 lt_nm_to_check
="${ac_tool_prefix}nm"
3526 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3527 lt_nm_to_check
="$lt_nm_to_check nm"
3529 for lt_tmp_nm
in $lt_nm_to_check; do
3530 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
3531 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
3533 test -z "$ac_dir" && ac_dir
=.
3534 tmp_nm
="$ac_dir/$lt_tmp_nm"
3535 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
3536 # Check to see if the nm accepts a BSD-compat flag.
3537 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3538 # nm: unknown option "B" ignored
3539 # Tru64's nm complains that /dev/null is an invalid object file
3540 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3541 */dev
/null
* |
*'Invalid file or object type'*)
3542 lt_cv_path_NM
="$tmp_nm -B"
3546 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3548 lt_cv_path_NM
="$tmp_nm -p"
3552 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3553 continue # so that we can try to find one that supports BSD flags
3562 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
3565 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
3566 echo "${ECHO_T}$lt_cv_path_NM" >&6
3569 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
3570 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
3571 if test "${lt_cv_deplibs_check_method+set}" = set; then
3572 echo $ECHO_N "(cached) $ECHO_C" >&6
3574 lt_cv_file_magic_cmd
='$MAGIC_CMD'
3575 lt_cv_file_magic_test_file
=
3576 lt_cv_deplibs_check_method
='unknown'
3577 # Need to set the preceding variable on all platforms that support
3578 # interlibrary dependencies.
3579 # 'none' -- dependencies not supported.
3580 # `unknown' -- same as none, but documents that we really don't know.
3581 # 'pass_all' -- all dependencies passed with no checks.
3582 # 'test_compile' -- check by making test program.
3583 # 'file_magic [[regex]]' -- check by looking for files in library path
3584 # which responds to the $file_magic_cmd with a given extended regex.
3585 # If you have `file' or equivalent on your system and you're not sure
3586 # whether `pass_all' will *always* work, you probably want this one.
3590 lt_cv_deplibs_check_method
=pass_all
3594 lt_cv_deplibs_check_method
=pass_all
3598 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3599 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3600 lt_cv_file_magic_test_file
=/shlib
/libc.so
3604 # func_win32_libid is a shell function defined in ltmain.sh
3605 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
3606 lt_cv_file_magic_cmd
='func_win32_libid'
3610 # Base MSYS/MinGW do not provide the 'file' command needed by
3611 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
3612 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
3613 lt_cv_file_magic_cmd
='$OBJDUMP -f'
3616 darwin
* | rhapsody
*)
3617 lt_cv_deplibs_check_method
=pass_all
3620 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
3621 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3624 # Not sure whether the presence of OpenBSD here was a mistake.
3625 # Let's accept both of them until this is cleared up.
3626 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
3627 lt_cv_file_magic_cmd
=/usr
/bin
/file
3628 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3632 lt_cv_deplibs_check_method
=pass_all
3637 lt_cv_deplibs_check_method
=pass_all
3640 hpux10.20
* | hpux11
*)
3641 lt_cv_file_magic_cmd
=/usr
/bin
/file
3644 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3645 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
3648 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]'
3649 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
3652 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3653 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
3659 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
3660 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
3663 irix5
* | irix6
* | nonstopux
*)
3665 *-32|
*"-32 ") libmagic
=32-bit;;
3666 *-n32|
*"-n32 ") libmagic
=N32
;;
3667 *-64|
*"-64 ") libmagic
=64-bit;;
3668 *) libmagic
=never-match
;;
3670 lt_cv_deplibs_check_method
=pass_all
3673 # This must be Linux ELF.
3675 lt_cv_deplibs_check_method
=pass_all
3679 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3680 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
3682 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
3687 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3688 lt_cv_file_magic_cmd
=/usr
/bin
/file
3689 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
3693 lt_cv_deplibs_check_method
=unknown
3697 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
3698 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
3700 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
3704 osf3
* | osf4
* | osf5
*)
3705 lt_cv_deplibs_check_method
=pass_all
3709 lt_cv_deplibs_check_method
=pass_all
3713 case $host_vendor in
3715 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]'
3716 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
3719 lt_cv_deplibs_check_method
=pass_all
3722 lt_cv_file_magic_cmd
='/bin/file'
3723 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
3726 lt_cv_file_magic_cmd
='/bin/file'
3727 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
3728 lt_cv_file_magic_test_file
=/lib
/libc.so
3731 lt_cv_deplibs_check_method
=pass_all
3734 lt_cv_deplibs_check_method
=pass_all
3739 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
3740 lt_cv_deplibs_check_method
=pass_all
3745 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3746 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3747 file_magic_cmd
=$lt_cv_file_magic_cmd
3748 deplibs_check_method
=$lt_cv_deplibs_check_method
3749 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
3754 # If no C compiler was specified, use CC.
3757 # If no C compiler flags were specified, use CFLAGS.
3758 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
3760 # Allow CC to be a program name with arguments.
3764 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
3765 if test "${enable_libtool_lock+set}" = set; then
3766 enableval
="$enable_libtool_lock"
3769 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
3771 # Some flags need to be propagated to the compiler or linker for good
3775 # Find out which ABI we are using.
3776 echo 'int i;' > conftest.
$ac_ext
3777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3778 (eval $ac_compile) 2>&5
3780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3781 (exit $ac_status); }; then
3782 case `/usr/bin/file conftest.$ac_objext` in
3794 # Find out which ABI we are using.
3795 echo '#line 3795 "configure"' > conftest.
$ac_ext
3796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3797 (eval $ac_compile) 2>&5
3799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3800 (exit $ac_status); }; then
3801 if test "$lt_cv_prog_gnu_ld" = yes; then
3802 case `/usr/bin/file conftest.$ac_objext` in
3804 LD
="${LD-ld} -melf32bsmip"
3807 LD
="${LD-ld} -melf32bmipn32"
3810 LD
="${LD-ld} -melf64bmip"
3814 case `/usr/bin/file conftest.$ac_objext` in
3830 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
3831 # Find out which ABI we are using.
3832 echo 'int i;' > conftest.
$ac_ext
3833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3834 (eval $ac_compile) 2>&5
3836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3837 (exit $ac_status); }; then
3838 case `/usr/bin/file conftest.o` in
3842 LD
="${LD-ld} -m elf_i386"
3844 ppc64-
*linux
*|powerpc64-
*linux
*)
3845 LD
="${LD-ld} -m elf32ppclinux"
3848 LD
="${LD-ld} -m elf_s390"
3851 LD
="${LD-ld} -m elf32_sparc"
3858 LD
="${LD-ld} -m elf_x86_64"
3860 ppc
*-*linux
*|powerpc
*-*linux
*)
3861 LD
="${LD-ld} -m elf64ppc"
3864 LD
="${LD-ld} -m elf64_s390"
3867 LD
="${LD-ld} -m elf64_sparc"
3877 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
3878 SAVE_CFLAGS
="$CFLAGS"
3879 CFLAGS
="$CFLAGS -belf"
3880 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
3881 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
3882 if test "${lt_cv_cc_needs_belf+set}" = set; then
3883 echo $ECHO_N "(cached) $ECHO_C" >&6
3886 ac_cpp
='$CPP $CPPFLAGS'
3887 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3888 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3889 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3891 cat >conftest.
$ac_ext <<_ACEOF
3894 cat confdefs.h
>>conftest.
$ac_ext
3895 cat >>conftest.
$ac_ext <<_ACEOF
3896 /* end confdefs.h. */
3906 rm -f conftest.
$ac_objext conftest
$ac_exeext
3907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3908 (eval $ac_link) 2>conftest.er1
3910 grep -v '^ *+' conftest.er1
>conftest.err
3912 cat conftest.err
>&5
3913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3914 (exit $ac_status); } &&
3915 { ac_try
='test -z "$ac_c_werror_flag"
3916 || test ! -s conftest.err'
3917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3921 (exit $ac_status); }; } &&
3922 { ac_try
='test -s conftest$ac_exeext'
3923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3927 (exit $ac_status); }; }; then
3928 lt_cv_cc_needs_belf
=yes
3930 echo "$as_me: failed program was:" >&5
3931 sed 's/^/| /' conftest.
$ac_ext >&5
3933 lt_cv_cc_needs_belf
=no
3935 rm -f conftest.err conftest.
$ac_objext \
3936 conftest
$ac_exeext conftest.
$ac_ext
3938 ac_cpp
='$CPP $CPPFLAGS'
3939 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3940 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3941 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3944 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
3945 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
3946 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
3947 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
3948 CFLAGS
="$SAVE_CFLAGS"
3952 # Find out which ABI we are using.
3953 echo 'int i;' > conftest.
$ac_ext
3954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3955 (eval $ac_compile) 2>&5
3957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3958 (exit $ac_status); }; then
3959 case `/usr/bin/file conftest.o` in
3961 case $lt_cv_prog_gnu_ld in
3962 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
3963 *) LD
="${LD-ld} -64" ;;
3974 need_locks
="$enable_libtool_lock"
3978 ac_cpp
='$CPP $CPPFLAGS'
3979 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3980 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3981 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3982 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3983 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3984 # On Suns, sometimes $CPP names a directory.
3985 if test -n "$CPP" && test -d "$CPP"; then
3988 if test -z "$CPP"; then
3989 if test "${ac_cv_prog_CPP+set}" = set; then
3990 echo $ECHO_N "(cached) $ECHO_C" >&6
3992 # Double quotes because CPP needs to be expanded
3993 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3996 for ac_c_preproc_warn_flag
in '' yes
3998 # Use a header file that comes with gcc, so configuring glibc
3999 # with a fresh cross-compiler works.
4000 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4001 # <limits.h> exists even on freestanding compilers.
4002 # On the NeXT, cc -E runs the code through the compiler's parser,
4003 # not just through cpp. "Syntax error" is here to catch this case.
4004 cat >conftest.
$ac_ext <<_ACEOF
4007 cat confdefs.h
>>conftest.
$ac_ext
4008 cat >>conftest.
$ac_ext <<_ACEOF
4009 /* end confdefs.h. */
4011 # include <limits.h>
4013 # include <assert.h>
4017 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4018 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4020 grep -v '^ *+' conftest.er1
>conftest.err
4022 cat conftest.err
>&5
4023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4024 (exit $ac_status); } >/dev
/null
; then
4025 if test -s conftest.err
; then
4026 ac_cpp_err
=$ac_c_preproc_warn_flag
4027 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4034 if test -z "$ac_cpp_err"; then
4037 echo "$as_me: failed program was:" >&5
4038 sed 's/^/| /' conftest.
$ac_ext >&5
4040 # Broken: fails on valid input.
4043 rm -f conftest.err conftest.
$ac_ext
4045 # OK, works on sane cases. Now check whether non-existent headers
4046 # can be detected and how.
4047 cat >conftest.
$ac_ext <<_ACEOF
4050 cat confdefs.h
>>conftest.
$ac_ext
4051 cat >>conftest.
$ac_ext <<_ACEOF
4052 /* end confdefs.h. */
4053 #include <ac_nonexistent.h>
4055 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4056 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4058 grep -v '^ *+' conftest.er1
>conftest.err
4060 cat conftest.err
>&5
4061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4062 (exit $ac_status); } >/dev
/null
; then
4063 if test -s conftest.err
; then
4064 ac_cpp_err
=$ac_c_preproc_warn_flag
4065 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4072 if test -z "$ac_cpp_err"; then
4073 # Broken: success on invalid input.
4076 echo "$as_me: failed program was:" >&5
4077 sed 's/^/| /' conftest.
$ac_ext >&5
4079 # Passes both tests.
4083 rm -f conftest.err conftest.
$ac_ext
4086 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4087 rm -f conftest.err conftest.
$ac_ext
4088 if $ac_preproc_ok; then
4100 echo "$as_me:$LINENO: result: $CPP" >&5
4101 echo "${ECHO_T}$CPP" >&6
4103 for ac_c_preproc_warn_flag
in '' yes
4105 # Use a header file that comes with gcc, so configuring glibc
4106 # with a fresh cross-compiler works.
4107 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4108 # <limits.h> exists even on freestanding compilers.
4109 # On the NeXT, cc -E runs the code through the compiler's parser,
4110 # not just through cpp. "Syntax error" is here to catch this case.
4111 cat >conftest.
$ac_ext <<_ACEOF
4114 cat confdefs.h
>>conftest.
$ac_ext
4115 cat >>conftest.
$ac_ext <<_ACEOF
4116 /* end confdefs.h. */
4118 # include <limits.h>
4120 # include <assert.h>
4124 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4125 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4127 grep -v '^ *+' conftest.er1
>conftest.err
4129 cat conftest.err
>&5
4130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4131 (exit $ac_status); } >/dev
/null
; then
4132 if test -s conftest.err
; then
4133 ac_cpp_err
=$ac_c_preproc_warn_flag
4134 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4141 if test -z "$ac_cpp_err"; then
4144 echo "$as_me: failed program was:" >&5
4145 sed 's/^/| /' conftest.
$ac_ext >&5
4147 # Broken: fails on valid input.
4150 rm -f conftest.err conftest.
$ac_ext
4152 # OK, works on sane cases. Now check whether non-existent headers
4153 # can be detected and how.
4154 cat >conftest.
$ac_ext <<_ACEOF
4157 cat confdefs.h
>>conftest.
$ac_ext
4158 cat >>conftest.
$ac_ext <<_ACEOF
4159 /* end confdefs.h. */
4160 #include <ac_nonexistent.h>
4162 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4163 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4165 grep -v '^ *+' conftest.er1
>conftest.err
4167 cat conftest.err
>&5
4168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4169 (exit $ac_status); } >/dev
/null
; then
4170 if test -s conftest.err
; then
4171 ac_cpp_err
=$ac_c_preproc_warn_flag
4172 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4179 if test -z "$ac_cpp_err"; then
4180 # Broken: success on invalid input.
4183 echo "$as_me: failed program was:" >&5
4184 sed 's/^/| /' conftest.
$ac_ext >&5
4186 # Passes both tests.
4190 rm -f conftest.err conftest.
$ac_ext
4193 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4194 rm -f conftest.err conftest.
$ac_ext
4195 if $ac_preproc_ok; then
4198 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4199 See \`config.log' for more details." >&5
4200 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4201 See \`config.log' for more details." >&2;}
4202 { (exit 1); exit 1; }; }
4206 ac_cpp
='$CPP $CPPFLAGS'
4207 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4208 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4209 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4212 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4213 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4214 if test "${ac_cv_header_stdc+set}" = set; then
4215 echo $ECHO_N "(cached) $ECHO_C" >&6
4217 cat >conftest.
$ac_ext <<_ACEOF
4220 cat confdefs.h
>>conftest.
$ac_ext
4221 cat >>conftest.
$ac_ext <<_ACEOF
4222 /* end confdefs.h. */
4236 rm -f conftest.
$ac_objext
4237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4238 (eval $ac_compile) 2>conftest.er1
4240 grep -v '^ *+' conftest.er1
>conftest.err
4242 cat conftest.err
>&5
4243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4244 (exit $ac_status); } &&
4245 { ac_try
='test -z "$ac_c_werror_flag"
4246 || test ! -s conftest.err'
4247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4251 (exit $ac_status); }; } &&
4252 { ac_try
='test -s conftest.$ac_objext'
4253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4257 (exit $ac_status); }; }; then
4258 ac_cv_header_stdc
=yes
4260 echo "$as_me: failed program was:" >&5
4261 sed 's/^/| /' conftest.
$ac_ext >&5
4263 ac_cv_header_stdc
=no
4265 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4267 if test $ac_cv_header_stdc = yes; then
4268 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4269 cat >conftest.
$ac_ext <<_ACEOF
4272 cat confdefs.h
>>conftest.
$ac_ext
4273 cat >>conftest.
$ac_ext <<_ACEOF
4274 /* end confdefs.h. */
4278 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4279 $EGREP "memchr" >/dev
/null
2>&1; then
4282 ac_cv_header_stdc
=no
4288 if test $ac_cv_header_stdc = yes; then
4289 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4290 cat >conftest.
$ac_ext <<_ACEOF
4293 cat confdefs.h
>>conftest.
$ac_ext
4294 cat >>conftest.
$ac_ext <<_ACEOF
4295 /* end confdefs.h. */
4299 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4300 $EGREP "free" >/dev
/null
2>&1; then
4303 ac_cv_header_stdc
=no
4309 if test $ac_cv_header_stdc = yes; then
4310 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4311 if test "$cross_compiling" = yes; then
4314 cat >conftest.
$ac_ext <<_ACEOF
4317 cat confdefs.h
>>conftest.
$ac_ext
4318 cat >>conftest.
$ac_ext <<_ACEOF
4319 /* end confdefs.h. */
4321 #if ((' ' & 0x0FF) == 0x020)
4322 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4323 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4325 # define ISLOWER(c) \
4326 (('a' <= (c) && (c) <= 'i') \
4327 || ('j' <= (c) && (c) <= 'r') \
4328 || ('s' <= (c) && (c) <= 'z'))
4329 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4332 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4337 for (i = 0; i < 256; i++)
4338 if (XOR (islower (i), ISLOWER (i))
4339 || toupper (i) != TOUPPER (i))
4344 rm -f conftest
$ac_exeext
4345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4346 (eval $ac_link) 2>&5
4348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4349 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4354 (exit $ac_status); }; }; then
4357 echo "$as_me: program exited with status $ac_status" >&5
4358 echo "$as_me: failed program was:" >&5
4359 sed 's/^/| /' conftest.
$ac_ext >&5
4362 ac_cv_header_stdc
=no
4364 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4368 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4369 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4370 if test $ac_cv_header_stdc = yes; then
4372 cat >>confdefs.h
<<\_ACEOF
4373 #define STDC_HEADERS 1
4378 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4388 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4389 inttypes.h stdint.h unistd.h
4391 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4392 echo "$as_me:$LINENO: checking for $ac_header" >&5
4393 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4394 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4395 echo $ECHO_N "(cached) $ECHO_C" >&6
4397 cat >conftest.
$ac_ext <<_ACEOF
4400 cat confdefs.h
>>conftest.
$ac_ext
4401 cat >>conftest.
$ac_ext <<_ACEOF
4402 /* end confdefs.h. */
4403 $ac_includes_default
4405 #include <$ac_header>
4407 rm -f conftest.
$ac_objext
4408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4409 (eval $ac_compile) 2>conftest.er1
4411 grep -v '^ *+' conftest.er1
>conftest.err
4413 cat conftest.err
>&5
4414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4415 (exit $ac_status); } &&
4416 { ac_try
='test -z "$ac_c_werror_flag"
4417 || test ! -s conftest.err'
4418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4422 (exit $ac_status); }; } &&
4423 { ac_try
='test -s conftest.$ac_objext'
4424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4428 (exit $ac_status); }; }; then
4429 eval "$as_ac_Header=yes"
4431 echo "$as_me: failed program was:" >&5
4432 sed 's/^/| /' conftest.
$ac_ext >&5
4434 eval "$as_ac_Header=no"
4436 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4438 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4439 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4440 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4441 cat >>confdefs.h
<<_ACEOF
4442 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4451 for ac_header
in dlfcn.h
4453 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4454 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4455 echo "$as_me:$LINENO: checking for $ac_header" >&5
4456 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4457 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4458 echo $ECHO_N "(cached) $ECHO_C" >&6
4460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4461 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4463 # Is the header compilable?
4464 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4465 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4466 cat >conftest.
$ac_ext <<_ACEOF
4469 cat confdefs.h
>>conftest.
$ac_ext
4470 cat >>conftest.
$ac_ext <<_ACEOF
4471 /* end confdefs.h. */
4472 $ac_includes_default
4473 #include <$ac_header>
4475 rm -f conftest.
$ac_objext
4476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4477 (eval $ac_compile) 2>conftest.er1
4479 grep -v '^ *+' conftest.er1
>conftest.err
4481 cat conftest.err
>&5
4482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4483 (exit $ac_status); } &&
4484 { ac_try
='test -z "$ac_c_werror_flag"
4485 || test ! -s conftest.err'
4486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4490 (exit $ac_status); }; } &&
4491 { ac_try
='test -s conftest.$ac_objext'
4492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4496 (exit $ac_status); }; }; then
4497 ac_header_compiler
=yes
4499 echo "$as_me: failed program was:" >&5
4500 sed 's/^/| /' conftest.
$ac_ext >&5
4502 ac_header_compiler
=no
4504 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4505 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4506 echo "${ECHO_T}$ac_header_compiler" >&6
4508 # Is the header present?
4509 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4510 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4511 cat >conftest.
$ac_ext <<_ACEOF
4514 cat confdefs.h
>>conftest.
$ac_ext
4515 cat >>conftest.
$ac_ext <<_ACEOF
4516 /* end confdefs.h. */
4517 #include <$ac_header>
4519 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4520 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4522 grep -v '^ *+' conftest.er1
>conftest.err
4524 cat conftest.err
>&5
4525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4526 (exit $ac_status); } >/dev
/null
; then
4527 if test -s conftest.err
; then
4528 ac_cpp_err
=$ac_c_preproc_warn_flag
4529 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4536 if test -z "$ac_cpp_err"; then
4537 ac_header_preproc
=yes
4539 echo "$as_me: failed program was:" >&5
4540 sed 's/^/| /' conftest.
$ac_ext >&5
4542 ac_header_preproc
=no
4544 rm -f conftest.err conftest.
$ac_ext
4545 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4546 echo "${ECHO_T}$ac_header_preproc" >&6
4548 # So? What about this header?
4549 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4551 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4552 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4553 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4554 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4555 ac_header_preproc
=yes
4558 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4559 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4560 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4561 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4562 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4563 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4564 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4565 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4566 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4567 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4568 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4569 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4572 ## -------------------------------------------------- ##
4573 ## Report this to courier-users@lists.sourceforge.net ##
4574 ## -------------------------------------------------- ##
4577 sed "s/^/$as_me: WARNING: /" >&2
4580 echo "$as_me:$LINENO: checking for $ac_header" >&5
4581 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4582 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4583 echo $ECHO_N "(cached) $ECHO_C" >&6
4585 eval "$as_ac_Header=\$ac_header_preproc"
4587 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4588 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4591 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4592 cat >>confdefs.h
<<_ACEOF
4593 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4601 ac_cpp
='$CXXCPP $CPPFLAGS'
4602 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4603 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4604 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4605 if test -n "$ac_tool_prefix"; 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_tool_prefix$ac_prog", so it can be a program name with args.
4609 set dummy
$ac_tool_prefix$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_CXX+set}" = set; then
4613 echo $ECHO_N "(cached) $ECHO_C" >&6
4615 if test -n "$CXX"; then
4616 ac_cv_prog_CXX
="$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_CXX
="$ac_tool_prefix$ac_prog"
4626 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4635 if test -n "$CXX"; then
4636 echo "$as_me:$LINENO: result: $CXX" >&5
4637 echo "${ECHO_T}$CXX" >&6
4639 echo "$as_me:$LINENO: result: no" >&5
4640 echo "${ECHO_T}no" >&6
4643 test -n "$CXX" && break
4646 if test -z "$CXX"; then
4648 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
4650 # Extract the first word of "$ac_prog", so it can be a program name with args.
4651 set dummy
$ac_prog; ac_word
=$2
4652 echo "$as_me:$LINENO: checking for $ac_word" >&5
4653 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4654 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4655 echo $ECHO_N "(cached) $ECHO_C" >&6
4657 if test -n "$ac_ct_CXX"; then
4658 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
4660 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4664 test -z "$as_dir" && as_dir
=.
4665 for ac_exec_ext
in '' $ac_executable_extensions; do
4666 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4667 ac_cv_prog_ac_ct_CXX
="$ac_prog"
4668 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4676 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
4677 if test -n "$ac_ct_CXX"; then
4678 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4679 echo "${ECHO_T}$ac_ct_CXX" >&6
4681 echo "$as_me:$LINENO: result: no" >&5
4682 echo "${ECHO_T}no" >&6
4685 test -n "$ac_ct_CXX" && break
4687 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
4693 # Provide some information about the compiler.
4694 echo "$as_me:$LINENO:" \
4695 "checking for C++ compiler version" >&5
4696 ac_compiler
=`set X $ac_compile; echo $2`
4697 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4698 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
4700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4701 (exit $ac_status); }
4702 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4703 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
4705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4706 (exit $ac_status); }
4707 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4708 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
4710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4711 (exit $ac_status); }
4713 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4714 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
4715 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4716 echo $ECHO_N "(cached) $ECHO_C" >&6
4718 cat >conftest.
$ac_ext <<_ACEOF
4721 cat confdefs.h
>>conftest.
$ac_ext
4722 cat >>conftest.
$ac_ext <<_ACEOF
4723 /* end confdefs.h. */
4736 rm -f conftest.
$ac_objext
4737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4738 (eval $ac_compile) 2>conftest.er1
4740 grep -v '^ *+' conftest.er1
>conftest.err
4742 cat conftest.err
>&5
4743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4744 (exit $ac_status); } &&
4745 { ac_try
='test -z "$ac_cxx_werror_flag"
4746 || test ! -s conftest.err'
4747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4751 (exit $ac_status); }; } &&
4752 { ac_try
='test -s conftest.$ac_objext'
4753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4757 (exit $ac_status); }; }; then
4760 echo "$as_me: failed program was:" >&5
4761 sed 's/^/| /' conftest.
$ac_ext >&5
4765 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4766 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4769 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4770 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
4771 GXX
=`test $ac_compiler_gnu = yes && echo yes`
4772 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4773 ac_save_CXXFLAGS
=$CXXFLAGS
4775 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4776 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
4777 if test "${ac_cv_prog_cxx_g+set}" = set; then
4778 echo $ECHO_N "(cached) $ECHO_C" >&6
4780 cat >conftest.
$ac_ext <<_ACEOF
4783 cat confdefs.h
>>conftest.
$ac_ext
4784 cat >>conftest.
$ac_ext <<_ACEOF
4785 /* end confdefs.h. */
4795 rm -f conftest.
$ac_objext
4796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4797 (eval $ac_compile) 2>conftest.er1
4799 grep -v '^ *+' conftest.er1
>conftest.err
4801 cat conftest.err
>&5
4802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4803 (exit $ac_status); } &&
4804 { ac_try
='test -z "$ac_cxx_werror_flag"
4805 || test ! -s conftest.err'
4806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4810 (exit $ac_status); }; } &&
4811 { ac_try
='test -s conftest.$ac_objext'
4812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4816 (exit $ac_status); }; }; then
4817 ac_cv_prog_cxx_g
=yes
4819 echo "$as_me: failed program was:" >&5
4820 sed 's/^/| /' conftest.
$ac_ext >&5
4824 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4826 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4827 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
4828 if test "$ac_test_CXXFLAGS" = set; then
4829 CXXFLAGS
=$ac_save_CXXFLAGS
4830 elif test $ac_cv_prog_cxx_g = yes; then
4831 if test "$GXX" = yes; then
4837 if test "$GXX" = yes; then
4843 for ac_declaration
in \
4845 'extern "C" void std::exit (int) throw (); using std::exit;' \
4846 'extern "C" void std::exit (int); using std::exit;' \
4847 'extern "C" void exit (int) throw ();' \
4848 'extern "C" void exit (int);' \
4851 cat >conftest.
$ac_ext <<_ACEOF
4854 cat confdefs.h
>>conftest.
$ac_ext
4855 cat >>conftest.
$ac_ext <<_ACEOF
4856 /* end confdefs.h. */
4867 rm -f conftest.
$ac_objext
4868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4869 (eval $ac_compile) 2>conftest.er1
4871 grep -v '^ *+' conftest.er1
>conftest.err
4873 cat conftest.err
>&5
4874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4875 (exit $ac_status); } &&
4876 { ac_try
='test -z "$ac_cxx_werror_flag"
4877 || test ! -s conftest.err'
4878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4882 (exit $ac_status); }; } &&
4883 { ac_try
='test -s conftest.$ac_objext'
4884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4888 (exit $ac_status); }; }; then
4891 echo "$as_me: failed program was:" >&5
4892 sed 's/^/| /' conftest.
$ac_ext >&5
4896 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4897 cat >conftest.
$ac_ext <<_ACEOF
4900 cat confdefs.h
>>conftest.
$ac_ext
4901 cat >>conftest.
$ac_ext <<_ACEOF
4902 /* end confdefs.h. */
4912 rm -f conftest.
$ac_objext
4913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4914 (eval $ac_compile) 2>conftest.er1
4916 grep -v '^ *+' conftest.er1
>conftest.err
4918 cat conftest.err
>&5
4919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4920 (exit $ac_status); } &&
4921 { ac_try
='test -z "$ac_cxx_werror_flag"
4922 || test ! -s conftest.err'
4923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4927 (exit $ac_status); }; } &&
4928 { ac_try
='test -s conftest.$ac_objext'
4929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4933 (exit $ac_status); }; }; then
4936 echo "$as_me: failed program was:" >&5
4937 sed 's/^/| /' conftest.
$ac_ext >&5
4940 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4943 if test -n "$ac_declaration"; then
4944 echo '#ifdef __cplusplus' >>confdefs.h
4945 echo $ac_declaration >>confdefs.h
4946 echo '#endif' >>confdefs.h
4950 ac_cpp
='$CXXCPP $CPPFLAGS'
4951 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4952 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4953 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4955 depcc
="$CXX" am_compiler_list
=
4957 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4958 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
4959 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
4960 echo $ECHO_N "(cached) $ECHO_C" >&6
4962 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4963 # We make a subdir and do the tests there. Otherwise we can end up
4964 # making bogus files that we don't know about and never remove. For
4965 # instance it was reported that on HP-UX the gcc test will end up
4966 # making a dummy file named `D' -- because `-MD' means `put the output
4969 # Copy depcomp to subdir because otherwise we won't find it if we're
4970 # using a relative directory.
4971 cp "$am_depcomp" conftest.dir
4973 # We will build objects and dependencies in a subdirectory because
4974 # it helps to detect inapplicable dependency modes. For instance
4975 # both Tru64's cc and ICC support -MD to output dependencies as a
4976 # side effect of compilation, but ICC will put the dependencies in
4977 # the current directory while Tru64 will put them in the object
4981 am_cv_CXX_dependencies_compiler_type
=none
4982 if test "$am_compiler_list" = ""; then
4983 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4985 for depmode
in $am_compiler_list; do
4986 # Setup a source with many dependencies, because some compilers
4987 # like to wrap large dependency lists on column 80 (with \), and
4988 # we should not choose a depcomp mode which is confused by this.
4990 # We need to recreate these files for each test, as the compiler may
4991 # overwrite some of them when testing with obscure command lines.
4992 # This happens at least with the AIX C compiler.
4994 for i
in 1 2 3 4 5 6; do
4995 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4996 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4997 # Solaris 8's {/usr,}/bin/sh.
4998 touch sub
/conftst
$i.h
5000 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5004 # after this tag, mechanisms are not by side-effect, so they'll
5005 # only be used when explicitly requested
5006 if test "x$enable_dependency_tracking" = xyes
; then
5014 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5015 # mode. It turns out that the SunPro C++ compiler does not properly
5016 # handle `-M -o', and we need to detect this.
5017 if depmode
=$depmode \
5018 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
5019 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5020 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
5021 >/dev
/null
2>conftest.err
&&
5022 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5023 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
5024 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5025 # icc doesn't choke on unknown options, it will just issue warnings
5026 # or remarks (even with -Werror). So we grep stderr for any message
5027 # that says an option was ignored or not supported.
5028 # When given -MP, icc 7.0 and 7.1 complain thusly:
5029 # icc: Command line warning: ignoring option '-M'; no argument required
5030 # The diagnosis changed in icc 8.0:
5031 # icc: Command line remark: option '-MP' not supported
5032 if (grep 'ignoring option' conftest.err ||
5033 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5034 am_cv_CXX_dependencies_compiler_type
=$depmode
5043 am_cv_CXX_dependencies_compiler_type
=none
5047 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5048 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
5049 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5054 test "x$enable_dependency_tracking" != xno \
5055 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5056 am__fastdepCXX_TRUE
=
5057 am__fastdepCXX_FALSE
='#'
5059 am__fastdepCXX_TRUE
='#'
5060 am__fastdepCXX_FALSE
=
5066 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5067 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5068 (test "X$CXX" != "Xg++"))) ; then
5070 ac_cpp
='$CXXCPP $CPPFLAGS'
5071 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5072 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5073 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5074 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5075 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
5076 if test -z "$CXXCPP"; then
5077 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5078 echo $ECHO_N "(cached) $ECHO_C" >&6
5080 # Double quotes because CXXCPP needs to be expanded
5081 for CXXCPP
in "$CXX -E" "/lib/cpp"
5084 for ac_cxx_preproc_warn_flag
in '' yes
5086 # Use a header file that comes with gcc, so configuring glibc
5087 # with a fresh cross-compiler works.
5088 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5089 # <limits.h> exists even on freestanding compilers.
5090 # On the NeXT, cc -E runs the code through the compiler's parser,
5091 # not just through cpp. "Syntax error" is here to catch this case.
5092 cat >conftest.
$ac_ext <<_ACEOF
5095 cat confdefs.h
>>conftest.
$ac_ext
5096 cat >>conftest.
$ac_ext <<_ACEOF
5097 /* end confdefs.h. */
5099 # include <limits.h>
5101 # include <assert.h>
5105 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5106 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5108 grep -v '^ *+' conftest.er1
>conftest.err
5110 cat conftest.err
>&5
5111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5112 (exit $ac_status); } >/dev
/null
; then
5113 if test -s conftest.err
; then
5114 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5115 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5122 if test -z "$ac_cpp_err"; then
5125 echo "$as_me: failed program was:" >&5
5126 sed 's/^/| /' conftest.
$ac_ext >&5
5128 # Broken: fails on valid input.
5131 rm -f conftest.err conftest.
$ac_ext
5133 # OK, works on sane cases. Now check whether non-existent headers
5134 # can be detected and how.
5135 cat >conftest.
$ac_ext <<_ACEOF
5138 cat confdefs.h
>>conftest.
$ac_ext
5139 cat >>conftest.
$ac_ext <<_ACEOF
5140 /* end confdefs.h. */
5141 #include <ac_nonexistent.h>
5143 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5144 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5146 grep -v '^ *+' conftest.er1
>conftest.err
5148 cat conftest.err
>&5
5149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5150 (exit $ac_status); } >/dev
/null
; then
5151 if test -s conftest.err
; then
5152 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5153 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5160 if test -z "$ac_cpp_err"; then
5161 # Broken: success on invalid input.
5164 echo "$as_me: failed program was:" >&5
5165 sed 's/^/| /' conftest.
$ac_ext >&5
5167 # Passes both tests.
5171 rm -f conftest.err conftest.
$ac_ext
5174 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5175 rm -f conftest.err conftest.
$ac_ext
5176 if $ac_preproc_ok; then
5181 ac_cv_prog_CXXCPP
=$CXXCPP
5184 CXXCPP
=$ac_cv_prog_CXXCPP
5186 ac_cv_prog_CXXCPP
=$CXXCPP
5188 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5189 echo "${ECHO_T}$CXXCPP" >&6
5191 for ac_cxx_preproc_warn_flag
in '' yes
5193 # Use a header file that comes with gcc, so configuring glibc
5194 # with a fresh cross-compiler works.
5195 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5196 # <limits.h> exists even on freestanding compilers.
5197 # On the NeXT, cc -E runs the code through the compiler's parser,
5198 # not just through cpp. "Syntax error" is here to catch this case.
5199 cat >conftest.
$ac_ext <<_ACEOF
5202 cat confdefs.h
>>conftest.
$ac_ext
5203 cat >>conftest.
$ac_ext <<_ACEOF
5204 /* end confdefs.h. */
5206 # include <limits.h>
5208 # include <assert.h>
5212 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5213 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5215 grep -v '^ *+' conftest.er1
>conftest.err
5217 cat conftest.err
>&5
5218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5219 (exit $ac_status); } >/dev
/null
; then
5220 if test -s conftest.err
; then
5221 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5222 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5229 if test -z "$ac_cpp_err"; then
5232 echo "$as_me: failed program was:" >&5
5233 sed 's/^/| /' conftest.
$ac_ext >&5
5235 # Broken: fails on valid input.
5238 rm -f conftest.err conftest.
$ac_ext
5240 # OK, works on sane cases. Now check whether non-existent headers
5241 # can be detected and how.
5242 cat >conftest.
$ac_ext <<_ACEOF
5245 cat confdefs.h
>>conftest.
$ac_ext
5246 cat >>conftest.
$ac_ext <<_ACEOF
5247 /* end confdefs.h. */
5248 #include <ac_nonexistent.h>
5250 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5251 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5253 grep -v '^ *+' conftest.er1
>conftest.err
5255 cat conftest.err
>&5
5256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5257 (exit $ac_status); } >/dev
/null
; then
5258 if test -s conftest.err
; then
5259 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5260 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5267 if test -z "$ac_cpp_err"; then
5268 # Broken: success on invalid input.
5271 echo "$as_me: failed program was:" >&5
5272 sed 's/^/| /' conftest.
$ac_ext >&5
5274 # Passes both tests.
5278 rm -f conftest.err conftest.
$ac_ext
5281 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5282 rm -f conftest.err conftest.
$ac_ext
5283 if $ac_preproc_ok; then
5286 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5287 See \`config.log' for more details." >&5
5288 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5289 See \`config.log' for more details." >&2;}
5290 { (exit 1); exit 1; }; }
5294 ac_cpp
='$CXXCPP $CPPFLAGS'
5295 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5296 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5297 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5303 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5304 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5305 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
5306 if test -n "$ac_tool_prefix"; 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_tool_prefix$ac_prog", so it can be a program name with args.
5310 set dummy
$ac_tool_prefix$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_F77+set}" = set; then
5314 echo $ECHO_N "(cached) $ECHO_C" >&6
5316 if test -n "$F77"; then
5317 ac_cv_prog_F77
="$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_F77
="$ac_tool_prefix$ac_prog"
5327 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5336 if test -n "$F77"; then
5337 echo "$as_me:$LINENO: result: $F77" >&5
5338 echo "${ECHO_T}$F77" >&6
5340 echo "$as_me:$LINENO: result: no" >&5
5341 echo "${ECHO_T}no" >&6
5344 test -n "$F77" && break
5347 if test -z "$F77"; then
5349 for ac_prog
in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
5351 # Extract the first word of "$ac_prog", so it can be a program name with args.
5352 set dummy
$ac_prog; ac_word
=$2
5353 echo "$as_me:$LINENO: checking for $ac_word" >&5
5354 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5355 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5356 echo $ECHO_N "(cached) $ECHO_C" >&6
5358 if test -n "$ac_ct_F77"; then
5359 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
5361 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5365 test -z "$as_dir" && as_dir
=.
5366 for ac_exec_ext
in '' $ac_executable_extensions; do
5367 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5368 ac_cv_prog_ac_ct_F77
="$ac_prog"
5369 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5377 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
5378 if test -n "$ac_ct_F77"; then
5379 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5380 echo "${ECHO_T}$ac_ct_F77" >&6
5382 echo "$as_me:$LINENO: result: no" >&5
5383 echo "${ECHO_T}no" >&6
5386 test -n "$ac_ct_F77" && break
5393 # Provide some information about the compiler.
5394 echo "$as_me:5394:" \
5395 "checking for Fortran 77 compiler version" >&5
5396 ac_compiler
=`set X $ac_compile; echo $2`
5397 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5398 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
5400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5401 (exit $ac_status); }
5402 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5403 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
5405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5406 (exit $ac_status); }
5407 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5408 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
5410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5411 (exit $ac_status); }
5414 # If we don't use `.F' as extension, the preprocessor is not run on the
5415 # input file. (Note that this only needs to work for GNU compilers.)
5418 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5419 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
5420 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5421 echo $ECHO_N "(cached) $ECHO_C" >&6
5423 cat >conftest.
$ac_ext <<_ACEOF
5431 rm -f conftest.
$ac_objext
5432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5433 (eval $ac_compile) 2>conftest.er1
5435 grep -v '^ *+' conftest.er1
>conftest.err
5437 cat conftest.err
>&5
5438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5439 (exit $ac_status); } &&
5440 { ac_try
='test -z "$ac_f77_werror_flag"
5441 || test ! -s conftest.err'
5442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5446 (exit $ac_status); }; } &&
5447 { ac_try
='test -s conftest.$ac_objext'
5448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5452 (exit $ac_status); }; }; then
5455 echo "$as_me: failed program was:" >&5
5456 sed 's/^/| /' conftest.
$ac_ext >&5
5460 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5461 ac_cv_f77_compiler_gnu
=$ac_compiler_gnu
5464 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5465 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
5467 ac_test_FFLAGS
=${FFLAGS+set}
5468 ac_save_FFLAGS
=$FFLAGS
5470 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5471 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
5472 if test "${ac_cv_prog_f77_g+set}" = set; then
5473 echo $ECHO_N "(cached) $ECHO_C" >&6
5476 cat >conftest.
$ac_ext <<_ACEOF
5481 rm -f conftest.
$ac_objext
5482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5483 (eval $ac_compile) 2>conftest.er1
5485 grep -v '^ *+' conftest.er1
>conftest.err
5487 cat conftest.err
>&5
5488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5489 (exit $ac_status); } &&
5490 { ac_try
='test -z "$ac_f77_werror_flag"
5491 || test ! -s conftest.err'
5492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5496 (exit $ac_status); }; } &&
5497 { ac_try
='test -s conftest.$ac_objext'
5498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5502 (exit $ac_status); }; }; then
5503 ac_cv_prog_f77_g
=yes
5505 echo "$as_me: failed program was:" >&5
5506 sed 's/^/| /' conftest.
$ac_ext >&5
5510 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5513 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5514 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
5515 if test "$ac_test_FFLAGS" = set; then
5516 FFLAGS
=$ac_save_FFLAGS
5517 elif test $ac_cv_prog_f77_g = yes; then
5518 if test "x$ac_cv_f77_compiler_gnu" = xyes
; then
5524 if test "x$ac_cv_f77_compiler_gnu" = xyes
; then
5531 G77
=`test $ac_compiler_gnu = yes && echo yes`
5533 ac_cpp
='$CPP $CPPFLAGS'
5534 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5535 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5536 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5540 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5542 # find the maximum length of command line arguments
5543 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5544 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5545 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5546 echo $ECHO_N "(cached) $ECHO_C" >&6
5553 # On DJGPP, this test can blow up pretty badly due to problems in libc
5554 # (any single argument exceeding 2000 bytes causes a buffer overrun
5555 # during glob expansion). Even if it were fixed, the result of this
5556 # check would be larger than it should be.
5557 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5561 # Under GNU Hurd, this test is not required because there is
5562 # no limit to the length of command line arguments.
5563 # Libtool will interpret -1 as no limit whatsoever
5564 lt_cv_sys_max_cmd_len
=-1;
5568 # On Win9x/ME, this test blows up -- it succeeds, but takes
5569 # about 5 minutes as the teststring grows exponentially.
5570 # Worse, since 9x/ME are not pre-emptively multitasking,
5571 # you end up with a "frozen" computer, even though with patience
5572 # the test eventually succeeds (with a max line length of 256k).
5573 # Instead, let's just punt: use the minimum linelength reported by
5574 # all of the supported platforms: 8192 (on NT/2K/XP).
5575 lt_cv_sys_max_cmd_len
=8192;
5579 # On AmigaOS with pdksh, this test takes hours, literally.
5580 # So we just punt and use a minimum line length of 8192.
5581 lt_cv_sys_max_cmd_len
=8192;
5584 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5585 # This has been around since 386BSD, at least. Likely further.
5586 if test -x /sbin
/sysctl
; then
5587 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5588 elif test -x /usr
/sbin
/sysctl
; then
5589 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5591 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5593 # And add a safety zone
5594 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5595 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5599 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5600 lt_cv_sys_max_cmd_len
=196608
5604 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5605 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5606 # nice to cause kernel panics so lets avoid the loop below.
5607 # First set a reasonable default.
5608 lt_cv_sys_max_cmd_len
=16384
5610 if test -x /sbin
/sysconfig
; then
5611 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5612 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5617 lt_cv_sys_max_cmd_len
=102400
5619 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5620 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5621 if test -n "$kargmax"; then
5622 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5624 lt_cv_sys_max_cmd_len
=32768
5628 # If test is not a shell built-in, we'll probably end up computing a
5629 # maximum length that is only half of the actual maximum length, but
5631 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5632 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
5633 = "XX$teststring") >/dev
/null
2>&1 &&
5634 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
5635 lt_cv_sys_max_cmd_len
=$new_result &&
5636 test $i != 17 # 1/2 MB should be enough
5639 teststring
=$teststring$teststring
5642 # Add a significant safety factor because C++ compilers can tack on massive
5643 # amounts of additional arguments before passing them to the linker.
5644 # It appears as though 1/2 is a usable value.
5645 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5651 if test -n $lt_cv_sys_max_cmd_len ; then
5652 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5653 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5655 echo "$as_me:$LINENO: result: none" >&5
5656 echo "${ECHO_T}none" >&6
5662 # Check for command to grab the raw symbol name followed by C symbol from nm.
5663 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5664 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5665 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5666 echo $ECHO_N "(cached) $ECHO_C" >&6
5669 # These are sane defaults that work on at least a few old systems.
5670 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5672 # Character class describing NM global symbol codes.
5673 symcode
='[BCDEGRST]'
5675 # Regexp to match symbols that can be accessed directly from C.
5676 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
5678 # Transform an extracted symbol line into a proper C declaration
5679 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5681 # Transform an extracted symbol line into symbol name and symbol address
5682 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'"
5684 # Define system-specific variables.
5689 cygwin
* | mingw
* | pw32
*)
5690 symcode
='[ABCDGISTW]'
5692 hpux
*) # Its linker distinguishes data from code symbols
5693 if test "$host_cpu" = ia64
; then
5694 symcode
='[ABCDEGRST]'
5696 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5697 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'"
5700 if test "$host_cpu" = ia64
; then
5701 symcode
='[ABCDGIRSTW]'
5702 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5703 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'"
5707 symcode
='[BCDEGRST]'
5710 symcode
='[BCDEGQRST]'
5721 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
5729 # Handle CRLF in mingw tool chain
5733 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5737 # If we're using GNU nm, then use its standard symbol codes.
5738 case `$NM -V 2>&1` in
5739 *GNU
* |
*'with BFD'*)
5740 symcode
='[ABCDGIRSTW]' ;;
5743 # Try without a prefix undercore, then with it.
5744 for ac_symprfx
in "" "_"; do
5746 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5747 symxfrm
="\\1 $ac_symprfx\\2 \\2"
5749 # Write the raw and C identifiers.
5750 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5752 # Check to see that the pipe works correctly.
5756 cat > conftest.
$ac_ext <<EOF
5761 void nm_test_func(){}
5765 int main(){nm_test_var='a';nm_test_func();return(0);}
5768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5769 (eval $ac_compile) 2>&5
5771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5772 (exit $ac_status); }; then
5773 # Now try to grab the symbols.
5775 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5776 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
5778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5779 (exit $ac_status); } && test -s "$nlist"; then
5780 # Try sorting and uniquifying the output.
5781 if sort "$nlist" |
uniq > "$nlist"T
; then
5782 mv -f "$nlist"T
"$nlist"
5787 # Make sure that we snagged all the symbols we need.
5788 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
5789 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
5790 cat <<EOF > conftest.$ac_ext
5796 # Now generate the symbol file.
5797 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
5799 cat <<EOF >> conftest.$ac_ext
5800 #if defined (__STDC__) && __STDC__
5801 # define lt_ptr_t void *
5803 # define lt_ptr_t char *
5807 /* The mapping between symbol names and symbols. */
5812 lt_preloaded_symbols[] =
5815 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
5816 cat <<\EOF
>> conftest.
$ac_ext
5824 # Now try linking the two files.
5825 mv conftest.
$ac_objext conftstm.
$ac_objext
5826 lt_save_LIBS
="$LIBS"
5827 lt_save_CFLAGS
="$CFLAGS"
5828 LIBS
="conftstm.$ac_objext"
5829 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5831 (eval $ac_link) 2>&5
5833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5834 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
5837 LIBS
="$lt_save_LIBS"
5838 CFLAGS
="$lt_save_CFLAGS"
5840 echo "cannot find nm_test_func in $nlist" >&5
5843 echo "cannot find nm_test_var in $nlist" >&5
5846 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5849 echo "$progname: failed program was:" >&5
5850 cat conftest.
$ac_ext >&5
5852 rm -f conftest
* conftst
*
5854 # Do not use the global_symbol_pipe unless it works.
5855 if test "$pipe_works" = yes; then
5858 lt_cv_sys_global_symbol_pipe
=
5864 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5865 lt_cv_sys_global_symbol_to_cdecl
=
5867 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5868 echo "$as_me:$LINENO: result: failed" >&5
5869 echo "${ECHO_T}failed" >&6
5871 echo "$as_me:$LINENO: result: ok" >&5
5872 echo "${ECHO_T}ok" >&6
5875 echo "$as_me:$LINENO: checking for objdir" >&5
5876 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
5877 if test "${lt_cv_objdir+set}" = set; then
5878 echo $ECHO_N "(cached) $ECHO_C" >&6
5880 rm -f .libs
2>/dev
/null
5881 mkdir .libs
2>/dev
/null
5882 if test -d .libs
; then
5885 # MS-DOS does not allow filenames that begin with a dot.
5888 rmdir .libs
2>/dev
/null
5890 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5891 echo "${ECHO_T}$lt_cv_objdir" >&6
5892 objdir
=$lt_cv_objdir
5900 # AIX sometimes has problems with the GCC collect2 program. For some
5901 # reason, if we set the COLLECT_NAMES environment variable, the problems
5902 # vanish in a puff of smoke.
5903 if test "X${COLLECT_NAMES+set}" != Xset
; then
5905 export COLLECT_NAMES
5910 # Sed substitution that helps us do robust quoting. It backslashifies
5911 # metacharacters that are still active within double-quoted strings.
5912 Xsed
='sed -e 1s/^X//'
5913 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
5915 # Same as above, but do not quote variable references.
5916 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
5918 # Sed substitution to delay expansion of an escaped shell variable in a
5919 # double_quote_subst'ed string.
5920 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5922 # Sed substitution to avoid accidental globbing in evaled expressions
5923 no_glob_subst
='s/\*/\\\*/g'
5929 default_ofile
=libtool
5930 can_build_shared
=yes
5932 # All known linkers require a `.a' archive for static linking (except MSVC,
5933 # which needs '.lib').
5935 ltmain
="$ac_aux_dir/ltmain.sh"
5936 ofile
="$default_ofile"
5937 with_gnu_ld
="$lt_cv_prog_gnu_ld"
5939 if test -n "$ac_tool_prefix"; then
5940 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5941 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5942 echo "$as_me:$LINENO: checking for $ac_word" >&5
5943 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5944 if test "${ac_cv_prog_AR+set}" = set; then
5945 echo $ECHO_N "(cached) $ECHO_C" >&6
5947 if test -n "$AR"; then
5948 ac_cv_prog_AR
="$AR" # Let the user override the test.
5950 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5954 test -z "$as_dir" && as_dir
=.
5955 for ac_exec_ext
in '' $ac_executable_extensions; do
5956 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5957 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5958 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5967 if test -n "$AR"; then
5968 echo "$as_me:$LINENO: result: $AR" >&5
5969 echo "${ECHO_T}$AR" >&6
5971 echo "$as_me:$LINENO: result: no" >&5
5972 echo "${ECHO_T}no" >&6
5976 if test -z "$ac_cv_prog_AR"; then
5978 # Extract the first word of "ar", so it can be a program name with args.
5979 set dummy
ar; 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_ac_ct_AR+set}" = set; then
5983 echo $ECHO_N "(cached) $ECHO_C" >&6
5985 if test -n "$ac_ct_AR"; then
5986 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # 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_ac_ct_AR
="ar"
5996 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6002 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="false"
6005 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6006 if test -n "$ac_ct_AR"; then
6007 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6008 echo "${ECHO_T}$ac_ct_AR" >&6
6010 echo "$as_me:$LINENO: result: no" >&5
6011 echo "${ECHO_T}no" >&6
6019 if test -n "$ac_tool_prefix"; then
6020 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6021 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6022 echo "$as_me:$LINENO: checking for $ac_word" >&5
6023 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6024 if test "${ac_cv_prog_RANLIB+set}" = set; then
6025 echo $ECHO_N "(cached) $ECHO_C" >&6
6027 if test -n "$RANLIB"; then
6028 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6030 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6034 test -z "$as_dir" && as_dir
=.
6035 for ac_exec_ext
in '' $ac_executable_extensions; do
6036 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6037 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6038 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6046 RANLIB
=$ac_cv_prog_RANLIB
6047 if test -n "$RANLIB"; then
6048 echo "$as_me:$LINENO: result: $RANLIB" >&5
6049 echo "${ECHO_T}$RANLIB" >&6
6051 echo "$as_me:$LINENO: result: no" >&5
6052 echo "${ECHO_T}no" >&6
6056 if test -z "$ac_cv_prog_RANLIB"; then
6057 ac_ct_RANLIB
=$RANLIB
6058 # Extract the first word of "ranlib", so it can be a program name with args.
6059 set dummy ranlib
; 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_ac_ct_RANLIB+set}" = set; then
6063 echo $ECHO_N "(cached) $ECHO_C" >&6
6065 if test -n "$ac_ct_RANLIB"; then
6066 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # 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_ac_ct_RANLIB
="ranlib"
6076 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6082 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
6085 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6086 if test -n "$ac_ct_RANLIB"; then
6087 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6088 echo "${ECHO_T}$ac_ct_RANLIB" >&6
6090 echo "$as_me:$LINENO: result: no" >&5
6091 echo "${ECHO_T}no" >&6
6094 RANLIB
=$ac_ct_RANLIB
6096 RANLIB
="$ac_cv_prog_RANLIB"
6099 if test -n "$ac_tool_prefix"; then
6100 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6101 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6102 echo "$as_me:$LINENO: checking for $ac_word" >&5
6103 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6104 if test "${ac_cv_prog_STRIP+set}" = set; then
6105 echo $ECHO_N "(cached) $ECHO_C" >&6
6107 if test -n "$STRIP"; then
6108 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6110 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6114 test -z "$as_dir" && as_dir
=.
6115 for ac_exec_ext
in '' $ac_executable_extensions; do
6116 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6117 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6118 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6126 STRIP
=$ac_cv_prog_STRIP
6127 if test -n "$STRIP"; then
6128 echo "$as_me:$LINENO: result: $STRIP" >&5
6129 echo "${ECHO_T}$STRIP" >&6
6131 echo "$as_me:$LINENO: result: no" >&5
6132 echo "${ECHO_T}no" >&6
6136 if test -z "$ac_cv_prog_STRIP"; then
6138 # Extract the first word of "strip", so it can be a program name with args.
6139 set dummy strip
; ac_word
=$2
6140 echo "$as_me:$LINENO: checking for $ac_word" >&5
6141 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6142 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6143 echo $ECHO_N "(cached) $ECHO_C" >&6
6145 if test -n "$ac_ct_STRIP"; then
6146 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6148 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6152 test -z "$as_dir" && as_dir
=.
6153 for ac_exec_ext
in '' $ac_executable_extensions; do
6154 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6155 ac_cv_prog_ac_ct_STRIP
="strip"
6156 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6162 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
6165 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6166 if test -n "$ac_ct_STRIP"; then
6167 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6168 echo "${ECHO_T}$ac_ct_STRIP" >&6
6170 echo "$as_me:$LINENO: result: no" >&5
6171 echo "${ECHO_T}no" >&6
6176 STRIP
="$ac_cv_prog_STRIP"
6181 old_CFLAGS
="$CFLAGS"
6183 # Set sane defaults for various variables
6184 test -z "$AR" && AR
=ar
6185 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6186 test -z "$AS" && AS
=as
6187 test -z "$CC" && CC
=cc
6188 test -z "$LTCC" && LTCC
=$CC
6189 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
6190 test -z "$DLLTOOL" && DLLTOOL
=dlltool
6191 test -z "$LD" && LD
=ld
6192 test -z "$LN_S" && LN_S
="ln -s"
6193 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6194 test -z "$NM" && NM
=nm
6195 test -z "$SED" && SED
=sed
6196 test -z "$OBJDUMP" && OBJDUMP
=objdump
6197 test -z "$RANLIB" && RANLIB
=:
6198 test -z "$STRIP" && STRIP
=:
6199 test -z "$ac_objext" && ac_objext
=o
6201 # Determine commands to create old-style static archives.
6202 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
6203 old_postinstall_cmds
='chmod 644 $oldlib'
6204 old_postuninstall_cmds
=
6206 if test -n "$RANLIB"; then
6209 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6212 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
6215 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6218 for cc_temp
in $compiler""; do
6220 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
6221 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
6226 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6229 # Only perform the check for file, if the check method requires it
6230 case $deplibs_check_method in
6232 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6233 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6234 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6235 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6236 echo $ECHO_N "(cached) $ECHO_C" >&6
6240 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6243 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6244 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6245 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6246 for ac_dir
in $ac_dummy; do
6248 test -z "$ac_dir" && ac_dir
=.
6249 if test -f $ac_dir/${ac_tool_prefix}file; then
6250 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6251 if test -n "$file_magic_test_file"; then
6252 case $deplibs_check_method in
6254 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6255 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6256 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6257 $EGREP "$file_magic_regex" > /dev
/null
; then
6262 *** Warning: the command libtool uses to detect shared libraries,
6263 *** $file_magic_cmd, produces output that libtool cannot recognize.
6264 *** The result is that libtool may fail to recognize shared libraries
6265 *** as such. This will affect the creation of libtool libraries that
6266 *** depend on shared libraries, but programs linked with such libtool
6267 *** libraries will work regardless of this problem. Nevertheless, you
6268 *** may want to report the problem to your system manager and/or to
6269 *** bug-libtool@gnu.org
6279 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6284 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6285 if test -n "$MAGIC_CMD"; then
6286 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6287 echo "${ECHO_T}$MAGIC_CMD" >&6
6289 echo "$as_me:$LINENO: result: no" >&5
6290 echo "${ECHO_T}no" >&6
6293 if test -z "$lt_cv_path_MAGIC_CMD"; then
6294 if test -n "$ac_tool_prefix"; then
6295 echo "$as_me:$LINENO: checking for file" >&5
6296 echo $ECHO_N "checking for file... $ECHO_C" >&6
6297 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6298 echo $ECHO_N "(cached) $ECHO_C" >&6
6302 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6305 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6306 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6307 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6308 for ac_dir
in $ac_dummy; do
6310 test -z "$ac_dir" && ac_dir
=.
6311 if test -f $ac_dir/file; then
6312 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
6313 if test -n "$file_magic_test_file"; then
6314 case $deplibs_check_method in
6316 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6317 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6318 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6319 $EGREP "$file_magic_regex" > /dev
/null
; then
6324 *** Warning: the command libtool uses to detect shared libraries,
6325 *** $file_magic_cmd, produces output that libtool cannot recognize.
6326 *** The result is that libtool may fail to recognize shared libraries
6327 *** as such. This will affect the creation of libtool libraries that
6328 *** depend on shared libraries, but programs linked with such libtool
6329 *** libraries will work regardless of this problem. Nevertheless, you
6330 *** may want to report the problem to your system manager and/or to
6331 *** bug-libtool@gnu.org
6341 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6346 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6347 if test -n "$MAGIC_CMD"; then
6348 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6349 echo "${ECHO_T}$MAGIC_CMD" >&6
6351 echo "$as_me:$LINENO: result: no" >&5
6352 echo "${ECHO_T}no" >&6
6367 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6368 if test "${enable_libtool_lock+set}" = set; then
6369 enableval
="$enable_libtool_lock"
6372 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6375 # Check whether --with-pic or --without-pic was given.
6376 if test "${with_pic+set}" = set; then
6382 test -z "$pic_mode" && pic_mode
=default
6384 # Use C for the default configuration in the libtool script
6388 ac_cpp
='$CPP $CPPFLAGS'
6389 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6390 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6391 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6394 # Source file extension for C test sources.
6397 # Object file extension for compiled C test sources.
6401 # Code to be used in simple compile tests
6402 lt_simple_compile_test_code
="int some_variable = 0;\n"
6404 # Code to be used in simple link tests
6405 lt_simple_link_test_code
='int main(){return(0);}\n'
6408 # If no C compiler was specified, use CC.
6411 # If no C compiler flags were specified, use CFLAGS.
6412 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
6414 # Allow CC to be a program name with arguments.
6418 # save warnings/boilerplate of simple test code
6419 ac_outfile
=conftest.
$ac_objext
6420 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
6421 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
6422 _lt_compiler_boilerplate
=`cat conftest.err`
6425 ac_outfile
=conftest.
$ac_objext
6426 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
6427 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
6428 _lt_linker_boilerplate
=`cat conftest.err`
6433 lt_prog_compiler_no_builtin_flag
=
6435 if test "$GCC" = yes; then
6436 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
6439 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6440 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6441 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6442 echo $ECHO_N "(cached) $ECHO_C" >&6
6444 lt_cv_prog_compiler_rtti_exceptions
=no
6445 ac_outfile
=conftest.
$ac_objext
6446 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6447 lt_compiler_flag
="-fno-rtti -fno-exceptions"
6448 # Insert the option either (1) after the last *FLAGS variable, or
6449 # (2) before a word containing "conftest.", or (3) at the end.
6450 # Note that $ac_compile itself does not contain backslashes and begins
6451 # with a dollar sign (not a hyphen), so the echo should work correctly.
6452 # The option is referenced via a variable to avoid confusing sed.
6453 lt_compile
=`echo "$ac_compile" | $SED \
6454 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6455 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6456 -e 's:$: $lt_compiler_flag:'`
6457 (eval echo "\"\$as_me:6457: $lt_compile\"" >&5)
6458 (eval "$lt_compile" 2>conftest.err
)
6460 cat conftest.err
>&5
6461 echo "$as_me:6461: \$? = $ac_status" >&5
6462 if (exit $ac_status) && test -s "$ac_outfile"; then
6463 # The compiler can only warn and ignore the option if not recognized
6464 # So say no if there are warnings other than the usual output.
6465 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
6466 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
6467 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
6468 lt_cv_prog_compiler_rtti_exceptions
=yes
6474 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6475 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6477 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
6478 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6485 lt_prog_compiler_wl
=
6486 lt_prog_compiler_pic
=
6487 lt_prog_compiler_static
=
6489 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6490 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6492 if test "$GCC" = yes; then
6493 lt_prog_compiler_wl
='-Wl,'
6494 lt_prog_compiler_static
='-static'
6498 # All AIX code is PIC.
6499 if test "$host_cpu" = ia64
; then
6500 # AIX 5 now supports IA64 processor
6501 lt_prog_compiler_static
='-Bstatic'
6506 # FIXME: we need at least 68020 code to build shared libraries, but
6507 # adding the `-m68020' flag to GCC prevents building anything better,
6509 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
6512 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
6513 # PIC is the default for these OSes.
6516 mingw
* | pw32
* | os2
*)
6517 # This hack is so that the source file can tell whether it is being
6518 # built for inclusion in a dll (and should export symbols for example).
6519 lt_prog_compiler_pic
='-DDLL_EXPORT'
6522 darwin
* | rhapsody
*)
6523 # PIC is the default on this platform
6524 # Common symbols not allowed in MH_DYLIB files
6525 lt_prog_compiler_pic
='-fno-common'
6529 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6530 # Instead, we relocate shared libraries at runtime.
6534 # Just because we use GCC doesn't mean we suddenly get shared libraries
6535 # on systems that don't support them.
6536 lt_prog_compiler_can_build_shared
=no
6541 if test -d /usr
/nec
; then
6542 lt_prog_compiler_pic
=-Kconform_pic
6547 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6554 lt_prog_compiler_pic
='-fPIC'
6560 lt_prog_compiler_pic
='-fPIC'
6564 # PORTME Check for flag to pass linker flags through the system compiler.
6567 lt_prog_compiler_wl
='-Wl,'
6568 if test "$host_cpu" = ia64
; then
6569 # AIX 5 now supports IA64 processor
6570 lt_prog_compiler_static
='-Bstatic'
6572 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
6576 # PIC is the default on this platform
6577 # Common symbols not allowed in MH_DYLIB files
6578 case $cc_basename in
6580 lt_prog_compiler_pic
='-qnocommon'
6581 lt_prog_compiler_wl
='-Wl,'
6586 mingw
* | pw32
* | os2
*)
6587 # This hack is so that the source file can tell whether it is being
6588 # built for inclusion in a dll (and should export symbols for example).
6589 lt_prog_compiler_pic
='-DDLL_EXPORT'
6592 hpux9
* | hpux10
* | hpux11
*)
6593 lt_prog_compiler_wl
='-Wl,'
6594 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6601 lt_prog_compiler_pic
='+Z'
6604 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6605 lt_prog_compiler_static
='${wl}-a ${wl}archive'
6608 irix5
* | irix6
* | nonstopux
*)
6609 lt_prog_compiler_wl
='-Wl,'
6610 # PIC (with -KPIC) is the default.
6611 lt_prog_compiler_static
='-non_shared'
6615 lt_prog_compiler_pic
='-KPIC'
6616 lt_prog_compiler_static
='-Bstatic'
6620 case $cc_basename in
6622 lt_prog_compiler_wl
='-Wl,'
6623 lt_prog_compiler_pic
='-KPIC'
6624 lt_prog_compiler_static
='-static'
6626 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
6627 # Portland Group compilers (*not* the Pentium gcc compiler,
6628 # which looks to be a dead project)
6629 lt_prog_compiler_wl
='-Wl,'
6630 lt_prog_compiler_pic
='-fpic'
6631 lt_prog_compiler_static
='-Bstatic'
6634 lt_prog_compiler_wl
='-Wl,'
6635 # All Alpha code is PIC.
6636 lt_prog_compiler_static
='-non_shared'
6641 osf3
* | osf4
* | osf5
*)
6642 lt_prog_compiler_wl
='-Wl,'
6643 # All OSF/1 code is PIC.
6644 lt_prog_compiler_static
='-non_shared'
6648 lt_prog_compiler_pic
='-KPIC'
6649 lt_prog_compiler_static
='-Bstatic'
6650 case $cc_basename in
6652 lt_prog_compiler_wl
='-Qoption ld ';;
6654 lt_prog_compiler_wl
='-Wl,';;
6659 lt_prog_compiler_wl
='-Qoption ld '
6660 lt_prog_compiler_pic
='-PIC'
6661 lt_prog_compiler_static
='-Bstatic'
6664 sysv4 | sysv4.2uw2
* | sysv4.3
*)
6665 lt_prog_compiler_wl
='-Wl,'
6666 lt_prog_compiler_pic
='-KPIC'
6667 lt_prog_compiler_static
='-Bstatic'
6671 if test -d /usr
/nec
;then
6672 lt_prog_compiler_pic
='-Kconform_pic'
6673 lt_prog_compiler_static
='-Bstatic'
6677 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
6678 lt_prog_compiler_wl
='-Wl,'
6679 lt_prog_compiler_pic
='-KPIC'
6680 lt_prog_compiler_static
='-Bstatic'
6684 lt_prog_compiler_wl
='-Wl,'
6685 lt_prog_compiler_can_build_shared
=no
6689 lt_prog_compiler_pic
='-pic'
6690 lt_prog_compiler_static
='-Bstatic'
6694 lt_prog_compiler_can_build_shared
=no
6699 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6700 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6703 # Check to make sure the PIC flag actually works.
6705 if test -n "$lt_prog_compiler_pic"; then
6707 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6708 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6709 if test "${lt_prog_compiler_pic_works+set}" = set; then
6710 echo $ECHO_N "(cached) $ECHO_C" >&6
6712 lt_prog_compiler_pic_works
=no
6713 ac_outfile
=conftest.
$ac_objext
6714 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6715 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
6716 # Insert the option either (1) after the last *FLAGS variable, or
6717 # (2) before a word containing "conftest.", or (3) at the end.
6718 # Note that $ac_compile itself does not contain backslashes and begins
6719 # with a dollar sign (not a hyphen), so the echo should work correctly.
6720 # The option is referenced via a variable to avoid confusing sed.
6721 lt_compile
=`echo "$ac_compile" | $SED \
6722 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6723 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6724 -e 's:$: $lt_compiler_flag:'`
6725 (eval echo "\"\$as_me:6725: $lt_compile\"" >&5)
6726 (eval "$lt_compile" 2>conftest.err
)
6728 cat conftest.err
>&5
6729 echo "$as_me:6729: \$? = $ac_status" >&5
6730 if (exit $ac_status) && test -s "$ac_outfile"; then
6731 # The compiler can only warn and ignore the option if not recognized
6732 # So say no if there are warnings other than the usual output.
6733 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
6734 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
6735 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
6736 lt_prog_compiler_pic_works
=yes
6742 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6743 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6745 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
6746 case $lt_prog_compiler_pic in
6748 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
6751 lt_prog_compiler_pic
=
6752 lt_prog_compiler_can_build_shared
=no
6757 # For platforms which do not support PIC, -DPIC is meaningless:
6759 lt_prog_compiler_pic
=
6762 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
6767 # Check to make sure the static flag actually works.
6769 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
6770 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
6771 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
6772 if test "${lt_prog_compiler_static_works+set}" = set; then
6773 echo $ECHO_N "(cached) $ECHO_C" >&6
6775 lt_prog_compiler_static_works
=no
6776 save_LDFLAGS
="$LDFLAGS"
6777 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
6778 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
6779 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
6780 # The linker can only warn and ignore the option if not recognized
6781 # So say no if there are warnings
6782 if test -s conftest.err
; then
6783 # Append any errors to the config.log.
6784 cat conftest.err
1>&5
6785 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
6786 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
6787 if diff conftest.exp conftest.er2
>/dev
/null
; then
6788 lt_prog_compiler_static_works
=yes
6791 lt_prog_compiler_static_works
=yes
6795 LDFLAGS
="$save_LDFLAGS"
6798 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6799 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6801 if test x
"$lt_prog_compiler_static_works" = xyes
; then
6804 lt_prog_compiler_static
=
6808 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6809 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6810 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6811 echo $ECHO_N "(cached) $ECHO_C" >&6
6813 lt_cv_prog_compiler_c_o
=no
6814 $rm -r conftest
2>/dev
/null
6818 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6820 lt_compiler_flag
="-o out/conftest2.$ac_objext"
6821 # Insert the option either (1) after the last *FLAGS variable, or
6822 # (2) before a word containing "conftest.", or (3) at the end.
6823 # Note that $ac_compile itself does not contain backslashes and begins
6824 # with a dollar sign (not a hyphen), so the echo should work correctly.
6825 lt_compile
=`echo "$ac_compile" | $SED \
6826 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6827 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6828 -e 's:$: $lt_compiler_flag:'`
6829 (eval echo "\"\$as_me:6829: $lt_compile\"" >&5)
6830 (eval "$lt_compile" 2>out
/conftest.err
)
6832 cat out
/conftest.err
>&5
6833 echo "$as_me:6833: \$? = $ac_status" >&5
6834 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
6836 # The compiler can only warn and ignore the option if not recognized
6837 # So say no if there are warnings
6838 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
6839 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
6840 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
6841 lt_cv_prog_compiler_c_o
=yes
6846 # SGI C++ compiler will create directory out/ii_files/ for
6847 # template instantiation
6848 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
6849 $rm out
/* && rmdir out
6855 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6856 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6859 hard_links
="nottested"
6860 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
6861 # do not overwrite the value of need_locks provided by the user
6862 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6863 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
6866 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
6868 ln conftest.a conftest.b
2>&5 || hard_links
=no
6869 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
6870 echo "$as_me:$LINENO: result: $hard_links" >&5
6871 echo "${ECHO_T}$hard_links" >&6
6872 if test "$hard_links" = no
; then
6873 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6874 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6881 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6882 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
6885 allow_undefined_flag
=
6886 enable_shared_with_static_runtimes
=no
6888 archive_expsym_cmds
=
6889 old_archive_From_new_cmds
=
6890 old_archive_from_expsyms_cmds
=
6891 export_dynamic_flag_spec
=
6892 whole_archive_flag_spec
=
6893 thread_safe_flag_spec
=
6894 hardcode_libdir_flag_spec
=
6895 hardcode_libdir_flag_spec_ld
=
6896 hardcode_libdir_separator
=
6899 hardcode_shlibpath_var
=unsupported
6900 link_all_deplibs
=unknown
6901 hardcode_automatic
=no
6904 always_export_symbols
=no
6905 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6906 # include_expsyms should be a list of space-separated symbols to be *always*
6907 # included in the symbol list
6909 # exclude_expsyms can be an extended regexp of symbols to exclude
6910 # it will be wrapped by ` (' and `)$', so one must not match beginning or
6911 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6912 # as well as any symbol that contains `d'.
6913 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
6914 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6915 # platforms (ab)use it in PIC code, but their linkers get confused if
6916 # the symbol is explicitly referenced. Since portable code cannot
6917 # rely on this symbol name, it's probably fine to never include it in
6918 # preloaded symbol tables.
6919 extract_expsyms_cmds
=
6920 # Just being paranoid about ensuring that cc_basename is set.
6921 for cc_temp
in $compiler""; do
6923 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
6924 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
6929 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6932 cygwin
* | mingw
* | pw32
*)
6933 # FIXME: the MSVC++ port hasn't been tested in a loooong time
6934 # When not using gcc, we currently assume that we are using
6935 # Microsoft Visual C++.
6936 if test "$GCC" != yes; then
6941 # we just hope/assume this is gcc and not c89 (= MSVC++)
6950 if test "$with_gnu_ld" = yes; then
6951 # If archive_cmds runs LD, not CC, wlarc should be empty
6954 # Set some defaults for GNU ld with shared library support. These
6955 # are reset later if shared libraries are not supported. Putting them
6956 # here allows them to be overridden if necessary.
6957 runpath_var
=LD_RUN_PATH
6958 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
6959 export_dynamic_flag_spec
='${wl}--export-dynamic'
6960 # ancient GNU ld didn't support --whole-archive et. al.
6961 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
6962 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6964 whole_archive_flag_spec
=
6966 supports_anon_versioning
=no
6967 case `$LD -v 2>/dev/null` in
6968 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
6969 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
6970 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
6971 *\
2.11.
*) ;; # other 2.11 versions
6972 *) supports_anon_versioning
=yes ;;
6975 # See if GNU ld supports shared libraries.
6977 aix3
* | aix4
* | aix5
*)
6978 # On AIX/PPC, the GNU linker is very broken
6979 if test "$host_cpu" != ia64
; then
6983 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
6984 *** to be unable to reliably create shared libraries on AIX.
6985 *** Therefore, libtool is disabling shared libraries support. If you
6986 *** really care for shared libraries, you may want to modify your PATH
6987 *** so that a non-GNU linker is found, and then restart.
6994 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)'
6995 hardcode_libdir_flag_spec
='-L$libdir'
6996 hardcode_minus_L
=yes
6998 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
6999 # that the semantics of dynamic libraries on AmigaOS, at least up
7000 # to version 4, is to share data among multiple programs linked
7001 # with the same dynamic library. Since this doesn't match the
7002 # behavior of shared libraries on other platforms, we can't use
7008 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7009 allow_undefined_flag
=unsupported
7010 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7011 # support --undefined. This deserves some investigation. FIXME
7012 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7018 cygwin
* | mingw
* | pw32
*)
7019 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7020 # as there is no search path for DLLs.
7021 hardcode_libdir_flag_spec
='-L$libdir'
7022 allow_undefined_flag
=unsupported
7023 always_export_symbols
=no
7024 enable_shared_with_static_runtimes
=yes
7025 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
7027 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
7028 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7029 # If the export-symbols file already is a .def file (1st line
7030 # is EXPORTS), use it as is; otherwise, prepend...
7031 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7032 cp $export_symbols $output_objdir/$soname.def;
7034 echo EXPORTS > $output_objdir/$soname.def;
7035 cat $export_symbols >> $output_objdir/$soname.def;
7037 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7045 hardcode_shlibpath_var
=no
7046 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7047 export_dynamic_flag_spec
='${wl}-E'
7048 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7049 # Instead, shared libraries are loaded at an image base (0x10000000 by
7050 # default) and relocated if they conflict, which is a slow very memory
7051 # consuming and fragmenting process. To avoid this, we pick a random,
7052 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7053 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7054 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7055 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'
7059 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7061 case $cc_basename,$host_cpu in
7062 pgcc
*) # Portland Group C compiler
7063 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'
7064 tmp_addflag
=' $pic_flag'
7066 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7067 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'
7068 tmp_addflag
=' $pic_flag -Mnomain' ;;
7069 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7070 tmp_addflag
=' -i_dynamic' ;;
7071 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7072 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7073 ifc
* | ifort
*) # Intel Fortran compiler
7074 tmp_addflag
=' -nofor_main' ;;
7076 archive_cmds
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7078 if test $supports_anon_versioning = yes; then
7079 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
7080 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7081 $echo "local: *; };" >> $output_objdir/$libname.ver~
7082 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7090 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7091 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7094 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7095 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7100 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
7104 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7105 *** create shared libraries on Solaris systems. Therefore, libtool
7106 *** is disabling shared libraries support. We urge you to upgrade GNU
7107 *** binutils to release 2.9.1 or newer. Another option is to modify
7108 *** your PATH or compiler configuration so that the native linker is
7109 *** used, and then restart.
7112 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7113 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7114 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7120 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7121 case `$LD -v 2>&1` in
7122 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
7126 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7127 *** reliably create shared libraries on SCO systems. Therefore, libtool
7128 *** is disabling shared libraries support. We urge you to upgrade GNU
7129 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7130 *** your PATH or compiler configuration so that the native linker is
7131 *** used, and then restart.
7136 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7137 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
7138 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
7139 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
7148 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7151 hardcode_shlibpath_var
=no
7155 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7156 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7157 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7164 if test "$ld_shlibs" = no
; then
7166 hardcode_libdir_flag_spec
=
7167 export_dynamic_flag_spec
=
7168 whole_archive_flag_spec
=
7171 # PORTME fill in a description of your system's linker (not GNU ld)
7174 allow_undefined_flag
=unsupported
7175 always_export_symbols
=yes
7176 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'
7177 # Note: this linker hardcodes the directories in LIBPATH if there
7178 # are no directories specified by -L.
7179 hardcode_minus_L
=yes
7180 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7181 # Neither direct hardcoding nor static linking is supported with a
7183 hardcode_direct
=unsupported
7188 if test "$host_cpu" = ia64
; then
7189 # On IA64, the linker does run time linking by default, so we don't
7190 # have to do anything special.
7191 aix_use_runtimelinking
=no
7192 exp_sym_flag
='-Bexport'
7195 # If we're using GNU nm, then we don't want the "-C" option.
7196 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7197 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
7198 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'
7200 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'
7202 aix_use_runtimelinking
=no
7204 # Test if we are trying to use run time linking or normal
7205 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7206 # need to do runtime linking.
7207 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
7208 for ld_flag
in $LDFLAGS; do
7209 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
7210 aix_use_runtimelinking
=yes
7217 exp_sym_flag
='-bexport'
7218 no_entry_flag
='-bnoentry'
7221 # When large executables or shared objects are built, AIX ld can
7222 # have problems creating the table of contents. If linking a library
7223 # or program results in "error TOC overflow" add -mminimal-toc to
7224 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7225 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7229 hardcode_libdir_separator
=':'
7230 link_all_deplibs
=yes
7232 if test "$GCC" = yes; then
7233 case $host_os in aix4.
[012]|aix4.
[012].
*)
7234 # We only want to do this on AIX 4.2 and lower, the check
7235 # below for broken collect2 doesn't work under 4.3+
7236 collect2name
=`${CC} -print-prog-name=collect2`
7237 if test -f "$collect2name" && \
7238 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
7240 # We have reworked collect2
7243 # We have old collect2
7244 hardcode_direct
=unsupported
7245 # It fails to find uninstalled libraries when the uninstalled
7246 # path is not listed in the libpath. Setting hardcode_minus_L
7247 # to unsupported forces relinking
7248 hardcode_minus_L
=yes
7249 hardcode_libdir_flag_spec
='-L$libdir'
7250 hardcode_libdir_separator
=
7254 shared_flag
='-shared'
7255 if test "$aix_use_runtimelinking" = yes; then
7256 shared_flag
="$shared_flag "'${wl}-G'
7260 if test "$host_cpu" = ia64
; then
7261 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7262 # chokes on -Wl,-G. The following line is correct:
7265 if test "$aix_use_runtimelinking" = yes; then
7266 shared_flag
='${wl}-G'
7268 shared_flag
='${wl}-bM:SRE'
7273 # It seems that -bexpall does not export symbols beginning with
7274 # underscore (_), so it is better to generate a list of symbols to export.
7275 always_export_symbols
=yes
7276 if test "$aix_use_runtimelinking" = yes; then
7277 # Warning - without using the other runtime loading flags (-brtl),
7278 # -berok will link without error, but may produce a broken library.
7279 allow_undefined_flag
='-berok'
7280 # Determine the default libpath from the value encoded in an empty executable.
7281 cat >conftest.
$ac_ext <<_ACEOF
7284 cat confdefs.h
>>conftest.
$ac_ext
7285 cat >>conftest.
$ac_ext <<_ACEOF
7286 /* end confdefs.h. */
7296 rm -f conftest.
$ac_objext conftest
$ac_exeext
7297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7298 (eval $ac_link) 2>conftest.er1
7300 grep -v '^ *+' conftest.er1
>conftest.err
7302 cat conftest.err
>&5
7303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7304 (exit $ac_status); } &&
7305 { ac_try
='test -z "$ac_c_werror_flag"
7306 || test ! -s conftest.err'
7307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7311 (exit $ac_status); }; } &&
7312 { ac_try
='test -s conftest$ac_exeext'
7313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7317 (exit $ac_status); }; }; then
7319 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7321 # Check for a 64-bit object if we didn't find anything.
7322 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; }
7325 echo "$as_me: failed program was:" >&5
7326 sed 's/^/| /' conftest.
$ac_ext >&5
7329 rm -f conftest.err conftest.
$ac_objext \
7330 conftest
$ac_exeext conftest.
$ac_ext
7331 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7333 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7334 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"
7336 if test "$host_cpu" = ia64
; then
7337 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
7338 allow_undefined_flag
="-z nodefs"
7339 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"
7341 # Determine the default libpath from the value encoded in an empty executable.
7342 cat >conftest.
$ac_ext <<_ACEOF
7345 cat confdefs.h
>>conftest.
$ac_ext
7346 cat >>conftest.
$ac_ext <<_ACEOF
7347 /* end confdefs.h. */
7357 rm -f conftest.
$ac_objext conftest
$ac_exeext
7358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7359 (eval $ac_link) 2>conftest.er1
7361 grep -v '^ *+' conftest.er1
>conftest.err
7363 cat conftest.err
>&5
7364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7365 (exit $ac_status); } &&
7366 { ac_try
='test -z "$ac_c_werror_flag"
7367 || test ! -s conftest.err'
7368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7372 (exit $ac_status); }; } &&
7373 { ac_try
='test -s conftest$ac_exeext'
7374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7378 (exit $ac_status); }; }; then
7380 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7382 # Check for a 64-bit object if we didn't find anything.
7383 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; }
7386 echo "$as_me: failed program was:" >&5
7387 sed 's/^/| /' conftest.
$ac_ext >&5
7390 rm -f conftest.err conftest.
$ac_objext \
7391 conftest
$ac_exeext conftest.
$ac_ext
7392 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7394 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7395 # Warning - without using the other run time loading flags,
7396 # -berok will link without error, but may produce a broken library.
7397 no_undefined_flag
=' ${wl}-bernotok'
7398 allow_undefined_flag
=' ${wl}-berok'
7399 # Exported symbols can be pulled into shared objects from archives
7400 whole_archive_flag_spec
='$convenience'
7401 archive_cmds_need_lc
=yes
7402 # This is similar to how AIX traditionally builds its shared libraries.
7403 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'
7409 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)'
7410 hardcode_libdir_flag_spec
='-L$libdir'
7411 hardcode_minus_L
=yes
7412 # see comment about different semantics on the GNU ld section
7417 export_dynamic_flag_spec
=-rdynamic
7420 cygwin
* | mingw
* | pw32
*)
7421 # When not using gcc, we currently assume that we are using
7422 # Microsoft Visual C++.
7423 # hardcode_libdir_flag_spec is actually meaningless, as there is
7424 # no search path for DLLs.
7425 hardcode_libdir_flag_spec
=' '
7426 allow_undefined_flag
=unsupported
7427 # Tell ltmain to make .lib files, not .a files.
7429 # Tell ltmain to make .dll files, not .so files.
7431 # FIXME: Setting linknames here is a bad hack.
7432 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
7433 # The linker will automatically build a .lib file if we build a DLL.
7434 old_archive_From_new_cmds
='true'
7435 # FIXME: Should let the user specify the lib program.
7436 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
7437 fix_srcfile_path
='`cygpath -w "$srcfile"`'
7438 enable_shared_with_static_runtimes
=yes
7441 darwin
* | rhapsody
*)
7443 rhapsody
* | darwin1.
[012])
7444 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
7447 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
7448 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7450 case ${MACOSX_DEPLOYMENT_TARGET} in
7452 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7455 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
7461 archive_cmds_need_lc
=no
7463 hardcode_automatic
=yes
7464 hardcode_shlibpath_var
=unsupported
7465 whole_archive_flag_spec
=''
7466 link_all_deplibs
=yes
7467 if test "$GCC" = yes ; then
7468 output_verbose_link_cmd
='echo'
7469 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7470 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7471 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7472 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}'
7473 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}'
7475 case $cc_basename in
7477 output_verbose_link_cmd
='echo'
7478 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
7479 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7480 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7481 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}'
7482 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}'
7492 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7493 hardcode_libdir_flag_spec
='-L$libdir'
7494 hardcode_shlibpath_var
=no
7501 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7502 # support. Future versions do this automatically, but an explicit c++rt0.o
7503 # does not break anything, and helps significantly (at the cost of a little
7506 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7507 hardcode_libdir_flag_spec
='-R$libdir'
7509 hardcode_shlibpath_var
=no
7512 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7514 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7516 hardcode_minus_L
=yes
7517 hardcode_shlibpath_var
=no
7520 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7521 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
7522 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7523 hardcode_libdir_flag_spec
='-R$libdir'
7525 hardcode_shlibpath_var
=no
7529 if test "$GCC" = yes; then
7530 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'
7532 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'
7534 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7535 hardcode_libdir_separator
=:
7538 # hardcode_minus_L: Not really in the search PATH,
7539 # but as the default location of the library.
7540 hardcode_minus_L
=yes
7541 export_dynamic_flag_spec
='${wl}-E'
7545 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7546 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7548 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7550 if test "$with_gnu_ld" = no
; then
7551 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7552 hardcode_libdir_separator
=:
7555 export_dynamic_flag_spec
='${wl}-E'
7557 # hardcode_minus_L: Not really in the search PATH,
7558 # but as the default location of the library.
7559 hardcode_minus_L
=yes
7564 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7567 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7570 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7573 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7579 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7582 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7585 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7589 if test "$with_gnu_ld" = no
; then
7590 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7591 hardcode_libdir_separator
=:
7595 hardcode_libdir_flag_spec_ld
='+b $libdir'
7597 hardcode_shlibpath_var
=no
7601 export_dynamic_flag_spec
='${wl}-E'
7603 # hardcode_minus_L: Not really in the search PATH,
7604 # but as the default location of the library.
7605 hardcode_minus_L
=yes
7611 irix5
* | irix6
* | nonstopux
*)
7612 if test "$GCC" = yes; then
7613 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'
7615 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'
7616 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
7618 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7619 hardcode_libdir_separator
=:
7620 link_all_deplibs
=yes
7624 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7625 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7627 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7629 hardcode_libdir_flag_spec
='-R$libdir'
7631 hardcode_shlibpath_var
=no
7635 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7637 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7638 hardcode_libdir_separator
=:
7639 hardcode_shlibpath_var
=no
7644 hardcode_shlibpath_var
=no
7645 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7646 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7647 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
7648 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7649 export_dynamic_flag_spec
='${wl}-E'
7652 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
7653 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7654 hardcode_libdir_flag_spec
='-R$libdir'
7657 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7658 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7665 hardcode_libdir_flag_spec
='-L$libdir'
7666 hardcode_minus_L
=yes
7667 allow_undefined_flag
=unsupported
7668 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'
7669 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7673 if test "$GCC" = yes; then
7674 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
7675 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'
7677 allow_undefined_flag
=' -expect_unresolved \*'
7678 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'
7680 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7681 hardcode_libdir_separator
=:
7684 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
7685 if test "$GCC" = yes; then
7686 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
7687 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'
7688 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7690 allow_undefined_flag
=' -expect_unresolved \*'
7691 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'
7692 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
7693 $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'
7695 # Both c and cxx compiler support -rpath directly
7696 hardcode_libdir_flag_spec
='-rpath $libdir'
7698 hardcode_libdir_separator
=:
7702 no_undefined_flag
=' -z text'
7703 if test "$GCC" = yes; then
7705 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7706 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7707 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
7710 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7711 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7712 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7714 hardcode_libdir_flag_spec
='-R$libdir'
7715 hardcode_shlibpath_var
=no
7717 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
7719 # The compiler driver will combine linker options so we
7720 # cannot just pass the convience library names through
7721 # without $wl, iff we do not link with $LD.
7722 # Luckily, gcc supports the same syntax we need for Sun Studio.
7723 # Supported since Solaris 2.6 (maybe 2.5.1?)
7726 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;;
7728 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' ;;
7731 link_all_deplibs
=yes
7735 if test "x$host_vendor" = xsequent
; then
7736 # Use $CC to link under sequent, because it throws in some extra .o
7737 # files that make .init and .fini sections work.
7738 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7740 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7742 hardcode_libdir_flag_spec
='-L$libdir'
7744 hardcode_minus_L
=yes
7745 hardcode_shlibpath_var
=no
7749 case $host_vendor in
7751 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7752 hardcode_direct
=yes # is this really true???
7755 ## LD is ld it makes a PLAMLIB
7756 ## CC just makes a GrossModule.
7757 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7758 reload_cmds
='$CC -r -o $output$reload_objs'
7762 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7763 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
7766 runpath_var
='LD_RUN_PATH'
7767 hardcode_shlibpath_var
=no
7771 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7772 hardcode_shlibpath_var
=no
7773 export_dynamic_flag_spec
='-Bexport'
7777 if test -d /usr
/nec
; then
7778 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7779 hardcode_shlibpath_var
=no
7780 runpath_var
=LD_RUN_PATH
7781 hardcode_runpath_var
=yes
7786 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
7787 no_undefined_flag
='${wl}-z,text'
7788 archive_cmds_need_lc
=no
7789 hardcode_shlibpath_var
=no
7790 runpath_var
='LD_RUN_PATH'
7792 if test "$GCC" = yes; then
7793 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7794 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7796 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7797 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7801 sysv5
* | sco3.2v5
* | sco5v6
*)
7802 # Note: We can NOT use -z defs as we might desire, because we do not
7803 # link with -lc, and that would cause any symbols used from libc to
7804 # always be unresolved, which means just about no library would
7805 # ever link correctly. If we're not using GNU ld we use -z text
7806 # though, which does catch some bad symbols but isn't as heavy-handed
7808 no_undefined_flag
='${wl}-z,text'
7809 allow_undefined_flag
='${wl}-z,nodefs'
7810 archive_cmds_need_lc
=no
7811 hardcode_shlibpath_var
=no
7812 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
7813 hardcode_libdir_separator
=':'
7814 link_all_deplibs
=yes
7815 export_dynamic_flag_spec
='${wl}-Bexport'
7816 runpath_var
='LD_RUN_PATH'
7818 if test "$GCC" = yes; then
7819 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
7820 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
7822 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
7823 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
7828 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7829 hardcode_libdir_flag_spec
='-L$libdir'
7830 hardcode_shlibpath_var
=no
7839 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7840 echo "${ECHO_T}$ld_shlibs" >&6
7841 test "$ld_shlibs" = no
&& can_build_shared
=no
7844 # Do we need to explicitly link libc?
7846 case "x$archive_cmds_need_lc" in
7848 # Assume -lc should be added
7849 archive_cmds_need_lc
=yes
7851 if test "$enable_shared" = yes && test "$GCC" = yes; then
7852 case $archive_cmds in
7854 # FIXME: we may have to deal with multi-command sequences.
7857 # Test whether the compiler implicitly links with -lc since on some
7858 # systems, -lgcc has to come before -lc. If gcc already passes -lc
7859 # to ld, don't add -lc before -lgcc.
7860 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7861 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
7863 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7866 (eval $ac_compile) 2>&5
7868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7869 (exit $ac_status); } 2>conftest.err
; then
7872 libobjs
=conftest.
$ac_objext
7874 wl
=$lt_prog_compiler_wl
7875 pic_flag
=$lt_prog_compiler_pic
7881 lt_save_allow_undefined_flag
=$allow_undefined_flag
7882 allow_undefined_flag
=
7883 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
7884 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
7886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7887 (exit $ac_status); }
7889 archive_cmds_need_lc
=no
7891 archive_cmds_need_lc
=yes
7893 allow_undefined_flag
=$lt_save_allow_undefined_flag
7895 cat conftest.err
1>&5
7898 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7899 echo "${ECHO_T}$archive_cmds_need_lc" >&6
7906 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7907 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
7909 libname_spec
='lib$name'
7917 shlibpath_overrides_runpath
=unknown
7919 dynamic_linker
="$host_os ld.so"
7920 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
7921 if test "$GCC" = yes; then
7922 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7923 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
7924 # if the path contains ";" then we assume it to be the separator
7925 # otherwise default to the standard path separator (i.e. ":") - it is
7926 # assumed that no part of a normal pathname contains ";" but that should
7927 # okay in the real world where ";" in dirpaths is itself problematic.
7928 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7930 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7933 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
7935 need_lib_prefix
=unknown
7936 hardcode_into_libs
=no
7938 # when you set need_version to no, make sure it does not cause -set_version
7939 # flags to be left without arguments
7940 need_version
=unknown
7945 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
7946 shlibpath_var
=LIBPATH
7948 # AIX 3 has no versioning support, so we append a major version to the name.
7949 soname_spec
='${libname}${release}${shared_ext}$major'
7956 hardcode_into_libs
=yes
7957 if test "$host_cpu" = ia64
; then
7958 # AIX 5 supports IA64
7959 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
7960 shlibpath_var
=LD_LIBRARY_PATH
7962 # With GCC up to 2.95.x, collect2 would create an import file
7963 # for dependence libraries. The import file would start with
7964 # the line `#! .'. This would cause the generated library to
7965 # depend on `.', always an invalid library. This was fixed in
7966 # development snapshots of GCC prior to 3.0.
7968 aix4 | aix4.
[01] | aix4.
[01].
*)
7969 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
7971 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
7978 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
7979 # soname into executable. Probably we can add versioning support to
7980 # collect2, so additional links can be useful in future.
7981 if test "$aix_use_runtimelinking" = yes; then
7982 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
7983 # instead of lib<name>.a to let people know that these are not
7984 # typical AIX shared libraries.
7985 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7987 # We preserve .a as extension for shared libraries through AIX4.2
7988 # and later when we are not doing run time linking.
7989 library_names_spec
='${libname}${release}.a $libname.a'
7990 soname_spec
='${libname}${release}${shared_ext}$major'
7992 shlibpath_var
=LIBPATH
7997 library_names_spec
='$libname.ixlibrary $libname.a'
7998 # Create ${libname}_ixlibrary.a entries in /sys/libs.
7999 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'
8003 library_names_spec
='${libname}${shared_ext}'
8004 dynamic_linker
="$host_os ld.so"
8005 shlibpath_var
=LIBRARY_PATH
8011 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8012 soname_spec
='${libname}${release}${shared_ext}$major'
8013 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8014 shlibpath_var
=LD_LIBRARY_PATH
8015 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8016 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8017 # the default ld.so.conf also contains /usr/contrib/lib and
8018 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8019 # libtool to hard-code these into programs
8022 cygwin
* | mingw
* | pw32
*)
8023 version_type
=windows
8028 case $GCC,$host_os in
8029 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
8030 library_names_spec
='$libname.dll.a'
8031 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8032 postinstall_cmds
='base_file=`basename \${file}`~
8033 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
8034 dldir=$destdir/`dirname \$dlpath`~
8035 test -d \$dldir || mkdir -p \$dldir~
8036 $install_prog $dir/$dlname \$dldir/$dlname~
8037 chmod a+x \$dldir/$dlname'
8038 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8039 dlpath=$dir/\$dldll~
8041 shlibpath_overrides_runpath
=yes
8045 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8046 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8047 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8050 # MinGW DLLs use traditional 'lib' prefix
8051 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8052 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8053 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
8054 # It is most probably a Windows format PATH printed by
8055 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8056 # path with ; separators, and with drive letters. We can handle the
8057 # drive letters (cygwin fileutils understands them), so leave them,
8058 # especially as we might pass files found there to a mingw objdump,
8059 # which wouldn't understand a cygwinified path. Ahh.
8060 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8062 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8066 # pw32 DLLs use 'pw' prefix rather than 'lib'
8067 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8073 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8076 dynamic_linker
='Win32 ld.exe'
8077 # FIXME: first we should search . and the directory the executable is in
8081 darwin
* | rhapsody
*)
8082 dynamic_linker
="$host_os dyld"
8086 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8087 soname_spec
='${libname}${release}${major}$shared_ext'
8088 shlibpath_overrides_runpath
=yes
8089 shlibpath_var
=DYLD_LIBRARY_PATH
8090 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8091 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
8092 if test "$GCC" = yes; then
8093 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"`
8095 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
8097 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8104 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8105 soname_spec
='${libname}${release}${shared_ext}$major'
8106 shlibpath_var
=LD_LIBRARY_PATH
8117 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8118 soname_spec
='${libname}${release}${shared_ext}$major'
8119 shlibpath_var
=LD_LIBRARY_PATH
8120 shlibpath_overrides_runpath
=no
8121 hardcode_into_libs
=yes
8122 dynamic_linker
='GNU ld.so'
8125 freebsd
* | dragonfly
*)
8126 # DragonFly does not have aout. When/if they implement a new
8127 # versioning mechanism, adjust this.
8128 if test -x /usr
/bin
/objformat
; then
8129 objformat
=`/usr/bin/objformat`
8132 freebsd
[123]*) objformat
=aout
;;
8136 version_type
=freebsd-
$objformat
8137 case $version_type in
8139 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8144 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8148 shlibpath_var
=LD_LIBRARY_PATH
8151 shlibpath_overrides_runpath
=yes
8153 freebsd3.
[01]* | freebsdelf3.
[01]*)
8154 shlibpath_overrides_runpath
=yes
8155 hardcode_into_libs
=yes
8157 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
8158 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
8159 shlibpath_overrides_runpath
=no
8160 hardcode_into_libs
=yes
8162 freebsd
*) # from 4.6 on
8163 shlibpath_overrides_runpath
=yes
8164 hardcode_into_libs
=yes
8173 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8174 soname_spec
='${libname}${release}${shared_ext}$major'
8175 shlibpath_var
=LD_LIBRARY_PATH
8176 hardcode_into_libs
=yes
8179 hpux9
* | hpux10
* | hpux11
*)
8180 # Give a soname corresponding to the major version so that dld.sl refuses to
8181 # link against other versions.
8188 hardcode_into_libs
=yes
8189 dynamic_linker
="$host_os dld.so"
8190 shlibpath_var
=LD_LIBRARY_PATH
8191 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8192 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8193 soname_spec
='${libname}${release}${shared_ext}$major'
8194 if test "X$HPUX_IA64_MODE" = X32
; then
8195 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8197 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8199 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8203 hardcode_into_libs
=yes
8204 dynamic_linker
="$host_os dld.sl"
8205 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8206 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8207 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8208 soname_spec
='${libname}${release}${shared_ext}$major'
8209 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8210 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8214 dynamic_linker
="$host_os dld.sl"
8215 shlibpath_var
=SHLIB_PATH
8216 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
8217 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8218 soname_spec
='${libname}${release}${shared_ext}$major'
8221 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8222 postinstall_cmds
='chmod 555 $lib'
8229 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8230 soname_spec
='${libname}${release}${shared_ext}$major'
8231 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
8232 shlibpath_var
=LD_LIBRARY_PATH
8233 shlibpath_overrides_runpath
=no
8234 hardcode_into_libs
=yes
8237 irix5
* | irix6
* | nonstopux
*)
8239 nonstopux
*) version_type
=nonstopux
;;
8241 if test "$lt_cv_prog_gnu_ld" = yes; then
8249 soname_spec
='${libname}${release}${shared_ext}$major'
8250 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8252 irix5
* | nonstopux
*)
8256 case $LD in # libtool.m4 will add one of these switches to LD
8257 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
8258 libsuff
= shlibsuff
= libmagic
=32-bit;;
8259 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
8260 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
8261 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
8262 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
8263 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
8267 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
8268 shlibpath_overrides_runpath
=no
8269 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8270 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
8271 hardcode_into_libs
=yes
8274 # No shared lib support for Linux oldld, aout, or coff.
8275 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
8279 # This must be Linux ELF.
8284 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8285 soname_spec
='${libname}${release}${shared_ext}$major'
8286 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8287 shlibpath_var
=LD_LIBRARY_PATH
8288 shlibpath_overrides_runpath
=no
8289 # This implies no fast_install, which is unacceptable.
8290 # Some rework will be needed to allow for fast_install
8291 # before this can be enabled.
8292 hardcode_into_libs
=yes
8294 # find out which ABI we are using
8297 x86_64
*|s390x
*|powerpc64
*)
8298 echo '#line 8298 "configure"' > conftest.
$ac_ext
8299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8300 (eval $ac_compile) 2>&5
8302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8303 (exit $ac_status); }; then
8304 case `/usr/bin/file conftest.$ac_objext` in
8307 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
8315 # Append ld.so.conf contents to the search path
8316 if test -f /etc
/ld.so.conf
; then
8317 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' ' '`
8318 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
8321 # We used to test for /lib/ld.so.1 and disable shared libraries on
8322 # powerpc, because MkLinux only supported shared libraries with the
8323 # GNU dynamic linker. Since this was broken with cross compilers,
8324 # most powerpc-linux boxes support dynamic linking these days and
8325 # people can always --disable-shared, the test was removed, and we
8326 # assume the GNU/Linux dynamic linker is in use.
8327 dynamic_linker
='GNU/Linux ld.so'
8334 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8335 soname_spec
='${libname}${release}${shared_ext}$major'
8336 shlibpath_var
=LD_LIBRARY_PATH
8337 shlibpath_overrides_runpath
=no
8338 hardcode_into_libs
=yes
8339 dynamic_linker
='GNU ld.so'
8346 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8347 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8348 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8349 dynamic_linker
='NetBSD (a.out) ld.so'
8351 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8352 soname_spec
='${libname}${release}${shared_ext}$major'
8353 dynamic_linker
='NetBSD ld.elf_so'
8355 shlibpath_var
=LD_LIBRARY_PATH
8356 shlibpath_overrides_runpath
=yes
8357 hardcode_into_libs
=yes
8362 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8363 shlibpath_var
=LD_LIBRARY_PATH
8364 shlibpath_overrides_runpath
=yes
8371 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8372 soname_spec
='${libname}${release}${shared_ext}$major'
8373 shlibpath_var
=LD_LIBRARY_PATH
8374 shlibpath_overrides_runpath
=yes
8379 sys_lib_dlsearch_path_spec
="/usr/lib"
8381 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
8383 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
8384 *) need_version
=no
;;
8386 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8387 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8388 shlibpath_var
=LD_LIBRARY_PATH
8389 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8391 openbsd2.
[89] | openbsd2.
[89].
*)
8392 shlibpath_overrides_runpath
=no
8395 shlibpath_overrides_runpath
=yes
8399 shlibpath_overrides_runpath
=yes
8404 libname_spec
='$name'
8407 library_names_spec
='$libname${shared_ext} $libname.a'
8408 dynamic_linker
='OS/2 ld.exe'
8409 shlibpath_var
=LIBPATH
8412 osf3
* | osf4
* | osf5
*)
8416 soname_spec
='${libname}${release}${shared_ext}$major'
8417 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8418 shlibpath_var
=LD_LIBRARY_PATH
8419 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
8420 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
8427 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8428 soname_spec
='${libname}${release}${shared_ext}$major'
8429 shlibpath_var
=LD_LIBRARY_PATH
8430 shlibpath_overrides_runpath
=yes
8431 hardcode_into_libs
=yes
8432 # ldd complains unless libraries are executable
8433 postinstall_cmds
='chmod +x $lib'
8438 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8439 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
8440 shlibpath_var
=LD_LIBRARY_PATH
8441 shlibpath_overrides_runpath
=yes
8442 if test "$with_gnu_ld" = yes; then
8450 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8451 soname_spec
='${libname}${release}${shared_ext}$major'
8452 shlibpath_var
=LD_LIBRARY_PATH
8453 case $host_vendor in
8455 shlibpath_overrides_runpath
=no
8457 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8458 runpath_var
=LD_RUN_PATH
8466 shlibpath_overrides_runpath
=no
8467 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
8473 if test -d /usr
/nec
;then
8475 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8476 soname_spec
='$libname${shared_ext}.$major'
8477 shlibpath_var
=LD_LIBRARY_PATH
8481 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
8482 version_type
=freebsd-elf
8485 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8486 soname_spec
='${libname}${release}${shared_ext}$major'
8487 shlibpath_var
=LD_LIBRARY_PATH
8488 hardcode_into_libs
=yes
8489 if test "$with_gnu_ld" = yes; then
8490 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
8491 shlibpath_overrides_runpath
=no
8493 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
8494 shlibpath_overrides_runpath
=yes
8497 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
8501 sys_lib_dlsearch_path_spec
='/usr/lib'
8506 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8507 soname_spec
='${libname}${release}${shared_ext}$major'
8508 shlibpath_var
=LD_LIBRARY_PATH
8515 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8516 echo "${ECHO_T}$dynamic_linker" >&6
8517 test "$dynamic_linker" = no
&& can_build_shared
=no
8519 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
8520 if test "$GCC" = yes; then
8521 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
8524 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
8525 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
8527 if test -n "$hardcode_libdir_flag_spec" || \
8528 test -n "$runpath_var" || \
8529 test "X$hardcode_automatic" = "Xyes" ; then
8531 # We can hardcode non-existant directories.
8532 if test "$hardcode_direct" != no
&&
8533 # If the only mechanism to avoid hardcoding is shlibpath_var, we
8534 # have to relink, otherwise we might link with an installed library
8535 # when we should be linking with a yet-to-be-installed one
8536 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
8537 test "$hardcode_minus_L" != no
; then
8538 # Linking always hardcodes the temporary library directory.
8539 hardcode_action
=relink
8541 # We can link without hardcoding, and we can hardcode nonexisting dirs.
8542 hardcode_action
=immediate
8545 # We cannot hardcode anything, or else we can only hardcode existing
8547 hardcode_action
=unsupported
8549 echo "$as_me:$LINENO: result: $hardcode_action" >&5
8550 echo "${ECHO_T}$hardcode_action" >&6
8552 if test "$hardcode_action" = relink
; then
8553 # Fast installation is not supported
8554 enable_fast_install
=no
8555 elif test "$shlibpath_overrides_runpath" = yes ||
8556 test "$enable_shared" = no
; then
8557 # Fast installation is not necessary
8558 enable_fast_install
=needless
8563 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
8564 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
8565 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
8566 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
8567 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
8568 echo "$as_me:$LINENO: result: yes" >&5
8569 echo "${ECHO_T}yes" >&6
8571 # FIXME - insert some real tests, host_os isn't really good enough
8574 if test -n "$STRIP" ; then
8575 striplib
="$STRIP -x"
8576 echo "$as_me:$LINENO: result: yes" >&5
8577 echo "${ECHO_T}yes" >&6
8579 echo "$as_me:$LINENO: result: no" >&5
8580 echo "${ECHO_T}no" >&6
8584 echo "$as_me:$LINENO: result: no" >&5
8585 echo "${ECHO_T}no" >&6
8590 if test "x$enable_dlopen" != xyes
; then
8591 enable_dlopen
=unknown
8592 enable_dlopen_self
=unknown
8593 enable_dlopen_self_static
=unknown
8600 lt_cv_dlopen
="load_add_on"
8602 lt_cv_dlopen_self
=yes
8606 lt_cv_dlopen
="LoadLibrary"
8611 lt_cv_dlopen
="dlopen"
8616 # if libdl is installed we need to link against it
8617 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8618 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8619 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8620 echo $ECHO_N "(cached) $ECHO_C" >&6
8622 ac_check_lib_save_LIBS
=$LIBS
8624 cat >conftest.
$ac_ext <<_ACEOF
8627 cat confdefs.h
>>conftest.
$ac_ext
8628 cat >>conftest.
$ac_ext <<_ACEOF
8629 /* end confdefs.h. */
8631 /* Override any gcc2 internal prototype to avoid an error. */
8635 /* We use char because int might match the return type of a gcc2
8636 builtin and then its argument prototype would still apply. */
8646 rm -f conftest.
$ac_objext conftest
$ac_exeext
8647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8648 (eval $ac_link) 2>conftest.er1
8650 grep -v '^ *+' conftest.er1
>conftest.err
8652 cat conftest.err
>&5
8653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8654 (exit $ac_status); } &&
8655 { ac_try
='test -z "$ac_c_werror_flag"
8656 || test ! -s conftest.err'
8657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8661 (exit $ac_status); }; } &&
8662 { ac_try
='test -s conftest$ac_exeext'
8663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8667 (exit $ac_status); }; }; then
8668 ac_cv_lib_dl_dlopen
=yes
8670 echo "$as_me: failed program was:" >&5
8671 sed 's/^/| /' conftest.
$ac_ext >&5
8673 ac_cv_lib_dl_dlopen
=no
8675 rm -f conftest.err conftest.
$ac_objext \
8676 conftest
$ac_exeext conftest.
$ac_ext
8677 LIBS
=$ac_check_lib_save_LIBS
8679 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8680 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8681 if test $ac_cv_lib_dl_dlopen = yes; then
8682 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
8687 lt_cv_dlopen_self
=yes
8694 echo "$as_me:$LINENO: checking for shl_load" >&5
8695 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
8696 if test "${ac_cv_func_shl_load+set}" = set; then
8697 echo $ECHO_N "(cached) $ECHO_C" >&6
8699 cat >conftest.
$ac_ext <<_ACEOF
8702 cat confdefs.h
>>conftest.
$ac_ext
8703 cat >>conftest.
$ac_ext <<_ACEOF
8704 /* end confdefs.h. */
8705 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
8706 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8707 #define shl_load innocuous_shl_load
8709 /* System header to define __stub macros and hopefully few prototypes,
8710 which can conflict with char shl_load (); below.
8711 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8712 <limits.h> exists even on freestanding compilers. */
8715 # include <limits.h>
8717 # include <assert.h>
8722 /* Override any gcc2 internal prototype to avoid an error. */
8727 /* We use char because int might match the return type of a gcc2
8728 builtin and then its argument prototype would still apply. */
8730 /* The GNU C library defines this for functions which it implements
8731 to always fail with ENOSYS. Some functions are actually named
8732 something starting with __ and the normal name is an alias. */
8733 #if defined (__stub_shl_load) || defined (__stub___shl_load)
8736 char (*f) () = shl_load;
8745 return f != shl_load;
8750 rm -f conftest.
$ac_objext conftest
$ac_exeext
8751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8752 (eval $ac_link) 2>conftest.er1
8754 grep -v '^ *+' conftest.er1
>conftest.err
8756 cat conftest.err
>&5
8757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8758 (exit $ac_status); } &&
8759 { ac_try
='test -z "$ac_c_werror_flag"
8760 || test ! -s conftest.err'
8761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8765 (exit $ac_status); }; } &&
8766 { ac_try
='test -s conftest$ac_exeext'
8767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8771 (exit $ac_status); }; }; then
8772 ac_cv_func_shl_load
=yes
8774 echo "$as_me: failed program was:" >&5
8775 sed 's/^/| /' conftest.
$ac_ext >&5
8777 ac_cv_func_shl_load
=no
8779 rm -f conftest.err conftest.
$ac_objext \
8780 conftest
$ac_exeext conftest.
$ac_ext
8782 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8783 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
8784 if test $ac_cv_func_shl_load = yes; then
8785 lt_cv_dlopen
="shl_load"
8787 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8788 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
8789 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8790 echo $ECHO_N "(cached) $ECHO_C" >&6
8792 ac_check_lib_save_LIBS
=$LIBS
8794 cat >conftest.
$ac_ext <<_ACEOF
8797 cat confdefs.h
>>conftest.
$ac_ext
8798 cat >>conftest.
$ac_ext <<_ACEOF
8799 /* end confdefs.h. */
8801 /* Override any gcc2 internal prototype to avoid an error. */
8805 /* We use char because int might match the return type of a gcc2
8806 builtin and then its argument prototype would still apply. */
8816 rm -f conftest.
$ac_objext conftest
$ac_exeext
8817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8818 (eval $ac_link) 2>conftest.er1
8820 grep -v '^ *+' conftest.er1
>conftest.err
8822 cat conftest.err
>&5
8823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8824 (exit $ac_status); } &&
8825 { ac_try
='test -z "$ac_c_werror_flag"
8826 || test ! -s conftest.err'
8827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8831 (exit $ac_status); }; } &&
8832 { ac_try
='test -s conftest$ac_exeext'
8833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8837 (exit $ac_status); }; }; then
8838 ac_cv_lib_dld_shl_load
=yes
8840 echo "$as_me: failed program was:" >&5
8841 sed 's/^/| /' conftest.
$ac_ext >&5
8843 ac_cv_lib_dld_shl_load
=no
8845 rm -f conftest.err conftest.
$ac_objext \
8846 conftest
$ac_exeext conftest.
$ac_ext
8847 LIBS
=$ac_check_lib_save_LIBS
8849 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8850 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
8851 if test $ac_cv_lib_dld_shl_load = yes; then
8852 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
8854 echo "$as_me:$LINENO: checking for dlopen" >&5
8855 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
8856 if test "${ac_cv_func_dlopen+set}" = set; then
8857 echo $ECHO_N "(cached) $ECHO_C" >&6
8859 cat >conftest.
$ac_ext <<_ACEOF
8862 cat confdefs.h
>>conftest.
$ac_ext
8863 cat >>conftest.
$ac_ext <<_ACEOF
8864 /* end confdefs.h. */
8865 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
8866 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8867 #define dlopen innocuous_dlopen
8869 /* System header to define __stub macros and hopefully few prototypes,
8870 which can conflict with char dlopen (); below.
8871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8872 <limits.h> exists even on freestanding compilers. */
8875 # include <limits.h>
8877 # include <assert.h>
8882 /* Override any gcc2 internal prototype to avoid an error. */
8887 /* We use char because int might match the return type of a gcc2
8888 builtin and then its argument prototype would still apply. */
8890 /* The GNU C library defines this for functions which it implements
8891 to always fail with ENOSYS. Some functions are actually named
8892 something starting with __ and the normal name is an alias. */
8893 #if defined (__stub_dlopen) || defined (__stub___dlopen)
8896 char (*f) () = dlopen;
8910 rm -f conftest.
$ac_objext conftest
$ac_exeext
8911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8912 (eval $ac_link) 2>conftest.er1
8914 grep -v '^ *+' conftest.er1
>conftest.err
8916 cat conftest.err
>&5
8917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8918 (exit $ac_status); } &&
8919 { ac_try
='test -z "$ac_c_werror_flag"
8920 || test ! -s conftest.err'
8921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8925 (exit $ac_status); }; } &&
8926 { ac_try
='test -s conftest$ac_exeext'
8927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8931 (exit $ac_status); }; }; then
8932 ac_cv_func_dlopen
=yes
8934 echo "$as_me: failed program was:" >&5
8935 sed 's/^/| /' conftest.
$ac_ext >&5
8937 ac_cv_func_dlopen
=no
8939 rm -f conftest.err conftest.
$ac_objext \
8940 conftest
$ac_exeext conftest.
$ac_ext
8942 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8943 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
8944 if test $ac_cv_func_dlopen = yes; then
8945 lt_cv_dlopen
="dlopen"
8947 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8948 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8949 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8950 echo $ECHO_N "(cached) $ECHO_C" >&6
8952 ac_check_lib_save_LIBS
=$LIBS
8954 cat >conftest.
$ac_ext <<_ACEOF
8957 cat confdefs.h
>>conftest.
$ac_ext
8958 cat >>conftest.
$ac_ext <<_ACEOF
8959 /* end confdefs.h. */
8961 /* Override any gcc2 internal prototype to avoid an error. */
8965 /* We use char because int might match the return type of a gcc2
8966 builtin and then its argument prototype would still apply. */
8976 rm -f conftest.
$ac_objext conftest
$ac_exeext
8977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8978 (eval $ac_link) 2>conftest.er1
8980 grep -v '^ *+' conftest.er1
>conftest.err
8982 cat conftest.err
>&5
8983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8984 (exit $ac_status); } &&
8985 { ac_try
='test -z "$ac_c_werror_flag"
8986 || test ! -s conftest.err'
8987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8991 (exit $ac_status); }; } &&
8992 { ac_try
='test -s conftest$ac_exeext'
8993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8997 (exit $ac_status); }; }; then
8998 ac_cv_lib_dl_dlopen
=yes
9000 echo "$as_me: failed program was:" >&5
9001 sed 's/^/| /' conftest.
$ac_ext >&5
9003 ac_cv_lib_dl_dlopen
=no
9005 rm -f conftest.err conftest.
$ac_objext \
9006 conftest
$ac_exeext conftest.
$ac_ext
9007 LIBS
=$ac_check_lib_save_LIBS
9009 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9010 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9011 if test $ac_cv_lib_dl_dlopen = yes; then
9012 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9014 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9015 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
9016 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9017 echo $ECHO_N "(cached) $ECHO_C" >&6
9019 ac_check_lib_save_LIBS
=$LIBS
9021 cat >conftest.
$ac_ext <<_ACEOF
9024 cat confdefs.h
>>conftest.
$ac_ext
9025 cat >>conftest.
$ac_ext <<_ACEOF
9026 /* end confdefs.h. */
9028 /* Override any gcc2 internal prototype to avoid an error. */
9032 /* We use char because int might match the return type of a gcc2
9033 builtin and then its argument prototype would still apply. */
9043 rm -f conftest.
$ac_objext conftest
$ac_exeext
9044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9045 (eval $ac_link) 2>conftest.er1
9047 grep -v '^ *+' conftest.er1
>conftest.err
9049 cat conftest.err
>&5
9050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9051 (exit $ac_status); } &&
9052 { ac_try
='test -z "$ac_c_werror_flag"
9053 || test ! -s conftest.err'
9054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9058 (exit $ac_status); }; } &&
9059 { ac_try
='test -s conftest$ac_exeext'
9060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9064 (exit $ac_status); }; }; then
9065 ac_cv_lib_svld_dlopen
=yes
9067 echo "$as_me: failed program was:" >&5
9068 sed 's/^/| /' conftest.
$ac_ext >&5
9070 ac_cv_lib_svld_dlopen
=no
9072 rm -f conftest.err conftest.
$ac_objext \
9073 conftest
$ac_exeext conftest.
$ac_ext
9074 LIBS
=$ac_check_lib_save_LIBS
9076 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9077 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
9078 if test $ac_cv_lib_svld_dlopen = yes; then
9079 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9081 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9082 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
9083 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9084 echo $ECHO_N "(cached) $ECHO_C" >&6
9086 ac_check_lib_save_LIBS
=$LIBS
9088 cat >conftest.
$ac_ext <<_ACEOF
9091 cat confdefs.h
>>conftest.
$ac_ext
9092 cat >>conftest.
$ac_ext <<_ACEOF
9093 /* end confdefs.h. */
9095 /* Override any gcc2 internal prototype to avoid an error. */
9099 /* We use char because int might match the return type of a gcc2
9100 builtin and then its argument prototype would still apply. */
9110 rm -f conftest.
$ac_objext conftest
$ac_exeext
9111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9112 (eval $ac_link) 2>conftest.er1
9114 grep -v '^ *+' conftest.er1
>conftest.err
9116 cat conftest.err
>&5
9117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9118 (exit $ac_status); } &&
9119 { ac_try
='test -z "$ac_c_werror_flag"
9120 || test ! -s conftest.err'
9121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9125 (exit $ac_status); }; } &&
9126 { ac_try
='test -s conftest$ac_exeext'
9127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9131 (exit $ac_status); }; }; then
9132 ac_cv_lib_dld_dld_link
=yes
9134 echo "$as_me: failed program was:" >&5
9135 sed 's/^/| /' conftest.
$ac_ext >&5
9137 ac_cv_lib_dld_dld_link
=no
9139 rm -f conftest.err conftest.
$ac_objext \
9140 conftest
$ac_exeext conftest.
$ac_ext
9141 LIBS
=$ac_check_lib_save_LIBS
9143 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9144 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
9145 if test $ac_cv_lib_dld_dld_link = yes; then
9146 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
9167 if test "x$lt_cv_dlopen" != xno
; then
9173 case $lt_cv_dlopen in
9175 save_CPPFLAGS
="$CPPFLAGS"
9176 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
9178 save_LDFLAGS
="$LDFLAGS"
9179 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
9182 LIBS
="$lt_cv_dlopen_libs $LIBS"
9184 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9185 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
9186 if test "${lt_cv_dlopen_self+set}" = set; then
9187 echo $ECHO_N "(cached) $ECHO_C" >&6
9189 if test "$cross_compiling" = yes; then :
9190 lt_cv_dlopen_self
=cross
9192 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9193 lt_status
=$lt_dlunknown
9194 cat > conftest.
$ac_ext <<EOF
9195 #line 9195 "configure"
9196 #include "confdefs.h"
9205 # define LT_DLGLOBAL RTLD_GLOBAL
9208 # define LT_DLGLOBAL DL_GLOBAL
9210 # define LT_DLGLOBAL 0
9214 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9215 find out it does not work in some platform. */
9216 #ifndef LT_DLLAZY_OR_NOW
9218 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9221 # define LT_DLLAZY_OR_NOW DL_LAZY
9224 # define LT_DLLAZY_OR_NOW RTLD_NOW
9227 # define LT_DLLAZY_OR_NOW DL_NOW
9229 # define LT_DLLAZY_OR_NOW 0
9237 extern "C" void exit (int);
9240 void fnord() { int i=42;}
9243 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9244 int status = $lt_dlunknown;
9248 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9249 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9250 /* dlclose (self); */
9258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9259 (eval $ac_link) 2>&5
9261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9262 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9263 (.
/conftest
; exit; ) >&5 2>/dev
/null
9266 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
9267 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
9268 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
9271 # compilation failed
9272 lt_cv_dlopen_self
=no
9279 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9280 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
9282 if test "x$lt_cv_dlopen_self" = xyes
; then
9283 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
9284 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9285 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
9286 if test "${lt_cv_dlopen_self_static+set}" = set; then
9287 echo $ECHO_N "(cached) $ECHO_C" >&6
9289 if test "$cross_compiling" = yes; then :
9290 lt_cv_dlopen_self_static
=cross
9292 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9293 lt_status
=$lt_dlunknown
9294 cat > conftest.
$ac_ext <<EOF
9295 #line 9295 "configure"
9296 #include "confdefs.h"
9305 # define LT_DLGLOBAL RTLD_GLOBAL
9308 # define LT_DLGLOBAL DL_GLOBAL
9310 # define LT_DLGLOBAL 0
9314 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9315 find out it does not work in some platform. */
9316 #ifndef LT_DLLAZY_OR_NOW
9318 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9321 # define LT_DLLAZY_OR_NOW DL_LAZY
9324 # define LT_DLLAZY_OR_NOW RTLD_NOW
9327 # define LT_DLLAZY_OR_NOW DL_NOW
9329 # define LT_DLLAZY_OR_NOW 0
9337 extern "C" void exit (int);
9340 void fnord() { int i=42;}
9343 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9344 int status = $lt_dlunknown;
9348 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9349 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9350 /* dlclose (self); */
9358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9359 (eval $ac_link) 2>&5
9361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9362 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9363 (.
/conftest
; exit; ) >&5 2>/dev
/null
9366 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
9367 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
9368 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
9371 # compilation failed
9372 lt_cv_dlopen_self_static
=no
9379 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
9380 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
9383 CPPFLAGS
="$save_CPPFLAGS"
9384 LDFLAGS
="$save_LDFLAGS"
9389 case $lt_cv_dlopen_self in
9390 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
9391 *) enable_dlopen_self
=unknown
;;
9394 case $lt_cv_dlopen_self_static in
9395 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
9396 *) enable_dlopen_self_static
=unknown
;;
9401 # Report which library types will actually be built
9402 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9403 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
9404 echo "$as_me:$LINENO: result: $can_build_shared" >&5
9405 echo "${ECHO_T}$can_build_shared" >&6
9407 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9408 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
9409 test "$can_build_shared" = "no" && enable_shared
=no
9411 # On AIX, shared libraries and static libraries use the same namespace, and
9412 # are all built from PIC.
9415 test "$enable_shared" = yes && enable_static
=no
9416 if test -n "$RANLIB"; then
9417 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
9418 postinstall_cmds
='$RANLIB $lib'
9423 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
9424 test "$enable_shared" = yes && enable_static
=no
9428 echo "$as_me:$LINENO: result: $enable_shared" >&5
9429 echo "${ECHO_T}$enable_shared" >&6
9431 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9432 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
9433 # Make sure either enable_shared or enable_static is yes.
9434 test "$enable_shared" = yes || enable_static
=yes
9435 echo "$as_me:$LINENO: result: $enable_static" >&5
9436 echo "${ECHO_T}$enable_static" >&6
9438 # The else clause should only fire when bootstrapping the
9439 # libtool distribution, otherwise you forgot to ship ltmain.sh
9440 # with your package, and you will get complaints that there are
9441 # no rules to generate ltmain.sh.
9442 if test -f "$ltmain"; then
9443 # See if we are running on zsh, and set the options which allow our commands through
9444 # without removal of \ escapes.
9445 if test -n "${ZSH_VERSION+set}" ; then
9446 setopt NO_GLOB_SUBST
9448 # Now quote all the things that may contain metacharacters while being
9449 # careful not to overquote the AC_SUBSTed values. We take copies of the
9450 # variables and quote the copies for generation of the libtool script.
9451 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
9453 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
9454 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
9455 deplibs_check_method reload_flag reload_cmds need_locks \
9456 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
9457 lt_cv_sys_global_symbol_to_c_name_address \
9458 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
9459 old_postinstall_cmds old_postuninstall_cmds \
9463 lt_prog_compiler_wl \
9464 lt_prog_compiler_pic \
9465 lt_prog_compiler_static \
9466 lt_prog_compiler_no_builtin_flag \
9467 export_dynamic_flag_spec \
9468 thread_safe_flag_spec \
9469 whole_archive_flag_spec \
9470 enable_shared_with_static_runtimes \
9472 old_archive_from_new_cmds \
9477 compiler_lib_search_path \
9479 archive_expsym_cmds \
9481 postuninstall_cmds \
9482 old_archive_from_expsyms_cmds \
9483 allow_undefined_flag \
9485 export_symbols_cmds \
9486 hardcode_libdir_flag_spec \
9487 hardcode_libdir_flag_spec_ld \
9488 hardcode_libdir_separator \
9489 hardcode_automatic \
9491 module_expsym_cmds \
9492 lt_cv_prog_compiler_c_o \
9497 old_archive_cmds | \
9498 old_archive_from_new_cmds | \
9500 archive_expsym_cmds | \
9502 module_expsym_cmds | \
9503 old_archive_from_expsyms_cmds | \
9504 export_symbols_cmds | \
9505 extract_expsyms_cmds | reload_cmds | finish_cmds | \
9506 postinstall_cmds | postuninstall_cmds | \
9507 old_postinstall_cmds | old_postuninstall_cmds | \
9508 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
9509 # Double-quote double-evaled strings.
9510 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
9513 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
9519 *'\$0 --fallback-echo"')
9520 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
9525 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
9527 { echo "$as_me:$LINENO: creating $ofile" >&5
9528 echo "$as_me: creating $ofile" >&6;}
9530 cat <<__EOF__ >> "$cfgfile"
9533 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
9534 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
9535 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
9537 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
9538 # Free Software Foundation, Inc.
9540 # This file is part of GNU Libtool:
9541 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
9543 # This program is free software; you can redistribute it and/or modify
9544 # it under the terms of the GNU General Public License as published by
9545 # the Free Software Foundation; either version 2 of the License, or
9546 # (at your option) any later version.
9548 # This program is distributed in the hope that it will be useful, but
9549 # WITHOUT ANY WARRANTY; without even the implied warranty of
9550 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
9551 # General Public License for more details.
9553 # You should have received a copy of the GNU General Public License
9554 # along with this program; if not, write to the Free Software
9555 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
9557 # As a special exception to the GNU General Public License, if you
9558 # distribute this file as part of a program that contains a
9559 # configuration script generated by Autoconf, you may include it under
9560 # the same distribution terms that you use for the rest of that program.
9562 # A sed program that does not truncate output.
9565 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
9566 Xsed="$SED -e 1s/^X//"
9568 # The HP-UX ksh and POSIX shell print the target directory to stdout
9570 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
9572 # The names of the tagged configurations supported by this script.
9575 # ### BEGIN LIBTOOL CONFIG
9577 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
9579 # Shell to use when invoking shell scripts.
9582 # Whether or not to build shared libraries.
9583 build_libtool_libs=$enable_shared
9585 # Whether or not to build static libraries.
9586 build_old_libs=$enable_static
9588 # Whether or not to add -lc for building shared libraries.
9589 build_libtool_need_lc=$archive_cmds_need_lc
9591 # Whether or not to disallow shared libs when runtime libs are static
9592 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
9594 # Whether or not to optimize for fast installation.
9595 fast_install=$enable_fast_install
9598 host_alias=$host_alias
9603 build_alias=$build_alias
9607 # An echo program that does not interpret backslashes.
9612 AR_FLAGS=$lt_AR_FLAGS
9617 # LTCC compiler flags.
9618 LTCFLAGS=$lt_LTCFLAGS
9620 # A language-specific compiler.
9623 # Is the compiler the GNU C compiler?
9626 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
9627 gcc_ver=\`gcc -dumpversion\`
9632 # The linker used to build libraries.
9635 # Whether we need hard or soft links.
9638 # A BSD-compatible nm program.
9641 # A symbol stripping program
9644 # Used to examine libraries when file_magic_cmd begins "file"
9645 MAGIC_CMD=$MAGIC_CMD
9647 # Used on cygwin: DLL creation program.
9650 # Used on cygwin: object dumper.
9653 # Used on cygwin: assembler.
9656 # The name of the directory that contains temporary libtool files.
9659 # How to create reloadable object files.
9660 reload_flag=$lt_reload_flag
9661 reload_cmds=$lt_reload_cmds
9663 # How to pass a linker flag through the compiler.
9664 wl=$lt_lt_prog_compiler_wl
9666 # Object file suffix (normally "o").
9669 # Old archive suffix (normally "a").
9672 # Shared library suffix (normally ".so").
9673 shrext_cmds='$shrext_cmds'
9675 # Executable file suffix (normally "").
9678 # Additional compiler flags for building library objects.
9679 pic_flag=$lt_lt_prog_compiler_pic
9682 # What is the maximum length of a command?
9683 max_cmd_len=$lt_cv_sys_max_cmd_len
9685 # Does compiler simultaneously support -c and -o options?
9686 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
9688 # Must we lock files when doing compilation?
9689 need_locks=$lt_need_locks
9691 # Do we need the lib prefix for modules?
9692 need_lib_prefix=$need_lib_prefix
9694 # Do we need a version for libraries?
9695 need_version=$need_version
9697 # Whether dlopen is supported.
9698 dlopen_support=$enable_dlopen
9700 # Whether dlopen of programs is supported.
9701 dlopen_self=$enable_dlopen_self
9703 # Whether dlopen of statically linked programs is supported.
9704 dlopen_self_static=$enable_dlopen_self_static
9706 # Compiler flag to prevent dynamic linking.
9707 link_static_flag=$lt_lt_prog_compiler_static
9709 # Compiler flag to turn off builtin functions.
9710 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
9712 # Compiler flag to allow reflexive dlopens.
9713 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
9715 # Compiler flag to generate shared objects directly from archives.
9716 whole_archive_flag_spec=$lt_whole_archive_flag_spec
9718 # Compiler flag to generate thread-safe objects.
9719 thread_safe_flag_spec=$lt_thread_safe_flag_spec
9721 # Library versioning type.
9722 version_type=$version_type
9724 # Format of library name prefix.
9725 libname_spec=$lt_libname_spec
9727 # List of archive names. First name is the real one, the rest are links.
9728 # The last name is the one that the linker finds with -lNAME.
9729 library_names_spec=$lt_library_names_spec
9731 # The coded name of the library, if different from the real name.
9732 soname_spec=$lt_soname_spec
9734 # Commands used to build and install an old-style archive.
9736 old_archive_cmds=$lt_old_archive_cmds
9737 old_postinstall_cmds=$lt_old_postinstall_cmds
9738 old_postuninstall_cmds=$lt_old_postuninstall_cmds
9740 # Create an old-style archive from a shared archive.
9741 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
9743 # Create a temporary old-style archive to link instead of a shared archive.
9744 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
9746 # Commands used to build and install a shared archive.
9747 archive_cmds=$lt_archive_cmds
9748 archive_expsym_cmds=$lt_archive_expsym_cmds
9749 postinstall_cmds=$lt_postinstall_cmds
9750 postuninstall_cmds=$lt_postuninstall_cmds
9752 # Commands used to build a loadable module (assumed same as above if empty)
9753 module_cmds=$lt_module_cmds
9754 module_expsym_cmds=$lt_module_expsym_cmds
9756 # Commands to strip libraries.
9757 old_striplib=$lt_old_striplib
9758 striplib=$lt_striplib
9760 # Dependencies to place before the objects being linked to create a
9762 predep_objects=\`echo $lt_predep_objects | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
9764 # Dependencies to place after the objects being linked to create a
9766 postdep_objects=\`echo $lt_postdep_objects | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
9768 # Dependencies to place before the objects being linked to create a
9772 # Dependencies to place after the objects being linked to create a
9774 postdeps=$lt_postdeps
9776 # The library search path used internally by the compiler when linking
9778 compiler_lib_search_path=\`echo $lt_compiler_lib_search_path | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
9780 # Method to check whether dependent libraries are shared objects.
9781 deplibs_check_method=$lt_deplibs_check_method
9783 # Command to use when deplibs_check_method == file_magic.
9784 file_magic_cmd=$lt_file_magic_cmd
9786 # Flag that allows shared libraries with undefined symbols to be built.
9787 allow_undefined_flag=$lt_allow_undefined_flag
9789 # Flag that forces no undefined symbols.
9790 no_undefined_flag=$lt_no_undefined_flag
9792 # Commands used to finish a libtool library installation in a directory.
9793 finish_cmds=$lt_finish_cmds
9795 # Same as above, but a single script fragment to be evaled but not shown.
9796 finish_eval=$lt_finish_eval
9798 # Take the output of nm and produce a listing of raw symbols and C names.
9799 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
9801 # Transform the output of nm in a proper C declaration
9802 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
9804 # Transform the output of nm in a C name address pair
9805 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
9807 # This is the shared library runtime path variable.
9808 runpath_var=$runpath_var
9810 # This is the shared library path variable.
9811 shlibpath_var=$shlibpath_var
9813 # Is shlibpath searched before the hard-coded library search path?
9814 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
9816 # How to hardcode a shared library path into an executable.
9817 hardcode_action=$hardcode_action
9819 # Whether we should hardcode library paths into libraries.
9820 hardcode_into_libs=$hardcode_into_libs
9822 # Flag to hardcode \$libdir into a binary during linking.
9823 # This must work even if \$libdir does not exist.
9824 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
9826 # If ld is used when linking, flag to hardcode \$libdir into
9827 # a binary during linking. This must work even if \$libdir does
9829 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
9831 # Whether we need a single -rpath flag with a separated argument.
9832 hardcode_libdir_separator=$lt_hardcode_libdir_separator
9834 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
9836 hardcode_direct=$hardcode_direct
9838 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
9840 hardcode_minus_L=$hardcode_minus_L
9842 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
9843 # the resulting binary.
9844 hardcode_shlibpath_var=$hardcode_shlibpath_var
9846 # Set to yes if building a shared library automatically hardcodes DIR into the library
9847 # and all subsequent libraries and executables linked against it.
9848 hardcode_automatic=$hardcode_automatic
9850 # Variables whose values should be saved in libtool wrapper scripts and
9851 # restored at relink time.
9852 variables_saved_for_relink="$variables_saved_for_relink"
9854 # Whether libtool must link a program against all its dependency libraries.
9855 link_all_deplibs=$link_all_deplibs
9857 # Compile-time system search path for libraries
9858 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"\`
9860 # Run-time system search path for libraries
9861 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
9863 # Fix the shell variable \$srcfile for the compiler.
9864 fix_srcfile_path="$fix_srcfile_path"
9866 # Set to yes if exported symbols are required.
9867 always_export_symbols=$always_export_symbols
9869 # The commands to list exported symbols.
9870 export_symbols_cmds=$lt_export_symbols_cmds
9872 # The commands to extract the exported symbol list from a shared archive.
9873 extract_expsyms_cmds=$lt_extract_expsyms_cmds
9875 # Symbols that should not be listed in the preloaded symbols.
9876 exclude_expsyms=$lt_exclude_expsyms
9878 # Symbols that must always be exported.
9879 include_expsyms=$lt_include_expsyms
9881 # ### END LIBTOOL CONFIG
9888 cat <<\EOF
>> "$cfgfile"
9890 # AIX sometimes has problems with the GCC collect2 program. For some
9891 # reason, if we set the COLLECT_NAMES environment variable, the problems
9892 # vanish in a puff of smoke.
9893 if test "X${COLLECT_NAMES+set}" != Xset
; then
9895 export COLLECT_NAMES
9901 # We use sed instead of cat because bash on DJGPP gets confused if
9902 # if finds mixed CR/LF and LF-only lines. Since sed operates in
9903 # text mode, it properly converts lines to CR/LF. This bash problem
9904 # is reportedly fixed, but why not run on old versions too?
9905 sed '$q' "$ltmain" >> "$cfgfile" ||
(rm -f "$cfgfile"; exit 1)
9907 mv -f "$cfgfile" "$ofile" || \
9908 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
9912 # If there is no Makefile yet, we rely on a make rule to execute
9913 # `config.status --recheck' to rerun these tests and create the
9914 # libtool script then.
9915 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
9916 if test -f "$ltmain_in"; then
9917 test -f Makefile
&& make "$ltmain"
9923 ac_cpp
='$CPP $CPPFLAGS'
9924 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9925 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9926 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9931 # Check whether --with-tags or --without-tags was given.
9932 if test "${with_tags+set}" = set; then
9933 withval
="$with_tags"
9937 if test -f "$ltmain" && test -n "$tagnames"; then
9938 if test ! -f "${ofile}"; then
9939 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
9940 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
9943 if test -z "$LTCC"; then
9944 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
9945 if test -z "$LTCC"; then
9946 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
9947 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
9949 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
9950 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
9953 if test -z "$LTCFLAGS"; then
9954 eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
9957 # Extract list of available tagged configurations in $ofile.
9958 # Note that this assumes the entire list is on one line.
9959 available_tags
=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
9961 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9962 for tagname
in $tagnames; do
9964 # Check whether tagname contains only valid characters
9965 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
9967 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
9968 echo "$as_me: error: invalid tag name: $tagname" >&2;}
9969 { (exit 1); exit 1; }; }
9973 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev
/null
9975 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
9976 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
9977 { (exit 1); exit 1; }; }
9980 # Update the list of available tags.
9981 if test -n "$tagname"; then
9982 echo appending configuration tag
\"$tagname\" to
$ofile
9986 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
9987 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
9988 (test "X$CXX" != "Xg++"))) ; then
9990 ac_cpp
='$CXXCPP $CPPFLAGS'
9991 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9992 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9993 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
9998 archive_cmds_need_lc_CXX
=no
9999 allow_undefined_flag_CXX
=
10000 always_export_symbols_CXX
=no
10001 archive_expsym_cmds_CXX
=
10002 export_dynamic_flag_spec_CXX
=
10003 hardcode_direct_CXX
=no
10004 hardcode_libdir_flag_spec_CXX
=
10005 hardcode_libdir_flag_spec_ld_CXX
=
10006 hardcode_libdir_separator_CXX
=
10007 hardcode_minus_L_CXX
=no
10008 hardcode_shlibpath_var_CXX
=unsupported
10009 hardcode_automatic_CXX
=no
10011 module_expsym_cmds_CXX
=
10012 link_all_deplibs_CXX
=unknown
10013 old_archive_cmds_CXX
=$old_archive_cmds
10014 no_undefined_flag_CXX
=
10015 whole_archive_flag_spec_CXX
=
10016 enable_shared_with_static_runtimes_CXX
=no
10018 # Dependencies to place before and after the object being linked:
10019 predep_objects_CXX
=
10020 postdep_objects_CXX
=
10023 compiler_lib_search_path_CXX
=
10025 # Source file extension for C++ test sources.
10028 # Object file extension for compiled C++ test sources.
10032 # Code to be used in simple compile tests
10033 lt_simple_compile_test_code
="int some_variable = 0;\n"
10035 # Code to be used in simple link tests
10036 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }\n'
10038 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10040 # If no C compiler was specified, use CC.
10043 # If no C compiler flags were specified, use CFLAGS.
10044 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
10046 # Allow CC to be a program name with arguments.
10050 # save warnings/boilerplate of simple test code
10051 ac_outfile
=conftest.
$ac_objext
10052 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
10053 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
10054 _lt_compiler_boilerplate
=`cat conftest.err`
10057 ac_outfile
=conftest.
$ac_objext
10058 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
10059 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
10060 _lt_linker_boilerplate
=`cat conftest.err`
10064 # Allow CC to be a program name with arguments.
10069 lt_save_with_gnu_ld
=$with_gnu_ld
10070 lt_save_path_LD
=$lt_cv_path_LD
10071 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10072 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
10074 $as_unset lt_cv_prog_gnu_ld
10076 if test -n "${lt_cv_path_LDCXX+set}"; then
10077 lt_cv_path_LD
=$lt_cv_path_LDCXX
10079 $as_unset lt_cv_path_LD
10081 test -z "${LDCXX+set}" || LD
=$LDCXX
10085 for cc_temp
in $compiler""; do
10087 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
10088 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
10093 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10096 # We don't want -fno-exception wen compiling C++ code, so set the
10097 # no_builtin_flag separately
10098 if test "$GXX" = yes; then
10099 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
10101 lt_prog_compiler_no_builtin_flag_CXX
=
10104 if test "$GXX" = yes; then
10105 # Set up default GNU C++ configuration
10108 # Check whether --with-gnu-ld or --without-gnu-ld was given.
10109 if test "${with_gnu_ld+set}" = set; then
10110 withval
="$with_gnu_ld"
10111 test "$withval" = no || with_gnu_ld
=yes
10116 if test "$GCC" = yes; then
10117 # Check if gcc -print-prog-name=ld gives a path.
10118 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10119 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
10122 # gcc leaves a trailing carriage return which upsets mingw
10123 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10125 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
10128 # Accept absolute paths.
10130 re_direlt
='/[^/][^/]*/\.\./'
10131 # Canonicalize the pathname of ld
10132 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
10133 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
10134 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
10136 test -z "$LD" && LD
="$ac_prog"
10139 # If it fails, then pretend we aren't using GCC.
10143 # If it is relative, then search for the first ld in PATH.
10144 with_gnu_ld
=unknown
10147 elif test "$with_gnu_ld" = yes; then
10148 echo "$as_me:$LINENO: checking for GNU ld" >&5
10149 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
10151 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10152 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
10154 if test "${lt_cv_path_LD+set}" = set; then
10155 echo $ECHO_N "(cached) $ECHO_C" >&6
10157 if test -z "$LD"; then
10158 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
10159 for ac_dir
in $PATH; do
10161 test -z "$ac_dir" && ac_dir
=.
10162 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
10163 lt_cv_path_LD
="$ac_dir/$ac_prog"
10164 # Check to see if the program is GNU ld. I'd rather use --version,
10165 # but apparently some variants of GNU ld only accept -v.
10166 # Break only if it was the GNU/non-GNU ld that we prefer.
10167 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
10168 *GNU
* |
*'with BFD'*)
10169 test "$with_gnu_ld" != no
&& break
10172 test "$with_gnu_ld" != yes && break
10179 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
10183 LD
="$lt_cv_path_LD"
10184 if test -n "$LD"; then
10185 echo "$as_me:$LINENO: result: $LD" >&5
10186 echo "${ECHO_T}$LD" >&6
10188 echo "$as_me:$LINENO: result: no" >&5
10189 echo "${ECHO_T}no" >&6
10191 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10192 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10193 { (exit 1); exit 1; }; }
10194 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10195 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
10196 if test "${lt_cv_prog_gnu_ld+set}" = set; then
10197 echo $ECHO_N "(cached) $ECHO_C" >&6
10199 # I'd rather use --version here, but apparently some GNU lds only accept -v.
10200 case `$LD -v 2>&1 </dev/null` in
10201 *GNU
* |
*'with BFD'*)
10202 lt_cv_prog_gnu_ld
=yes
10205 lt_cv_prog_gnu_ld
=no
10209 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10210 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
10211 with_gnu_ld
=$lt_cv_prog_gnu_ld
10215 # Check if GNU C++ uses GNU ld as the underlying linker, since the
10216 # archiving commands below assume that GNU ld is being used.
10217 if test "$with_gnu_ld" = yes; then
10218 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10219 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'
10221 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
10222 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10224 # If archive_cmds runs LD, not CC, wlarc should be empty
10225 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
10226 # investigate it a little bit more. (MM)
10229 # ancient GNU ld didn't support --whole-archive et. al.
10230 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
10231 grep 'no-whole-archive' > /dev
/null
; then
10232 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10234 whole_archive_flag_spec_CXX
=
10240 # A generic and very simple default shared library creation
10241 # command for GNU C++ for the case where it uses the native
10242 # linker, instead of GNU ld. If possible, this setting should
10243 # overridden to take advantage of the native linker features on
10244 # the platform it is being used on.
10245 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10248 # Commands to make compiler produce verbose output that lists
10249 # what "hidden" libraries, object files and flags are used when
10250 # linking a shared library.
10251 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10259 # PORTME: fill in a description of your system's C++ link characteristics
10260 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10261 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
10265 # FIXME: insert proper C++ library support
10269 if test "$host_cpu" = ia64
; then
10270 # On IA64, the linker does run time linking by default, so we don't
10271 # have to do anything special.
10272 aix_use_runtimelinking
=no
10273 exp_sym_flag
='-Bexport'
10276 aix_use_runtimelinking
=no
10278 # Test if we are trying to use run time linking or normal
10279 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10280 # need to do runtime linking.
10281 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
10282 for ld_flag
in $LDFLAGS; do
10285 aix_use_runtimelinking
=yes
10293 exp_sym_flag
='-bexport'
10294 no_entry_flag
='-bnoentry'
10297 # When large executables or shared objects are built, AIX ld can
10298 # have problems creating the table of contents. If linking a library
10299 # or program results in "error TOC overflow" add -mminimal-toc to
10300 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10301 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10303 archive_cmds_CXX
=''
10304 hardcode_direct_CXX
=yes
10305 hardcode_libdir_separator_CXX
=':'
10306 link_all_deplibs_CXX
=yes
10308 if test "$GXX" = yes; then
10309 case $host_os in aix4.
[012]|aix4.
[012].
*)
10310 # We only want to do this on AIX 4.2 and lower, the check
10311 # below for broken collect2 doesn't work under 4.3+
10312 collect2name
=`${CC} -print-prog-name=collect2`
10313 if test -f "$collect2name" && \
10314 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
10316 # We have reworked collect2
10317 hardcode_direct_CXX
=yes
10319 # We have old collect2
10320 hardcode_direct_CXX
=unsupported
10321 # It fails to find uninstalled libraries when the uninstalled
10322 # path is not listed in the libpath. Setting hardcode_minus_L
10323 # to unsupported forces relinking
10324 hardcode_minus_L_CXX
=yes
10325 hardcode_libdir_flag_spec_CXX
='-L$libdir'
10326 hardcode_libdir_separator_CXX
=
10330 shared_flag
='-shared'
10331 if test "$aix_use_runtimelinking" = yes; then
10332 shared_flag
="$shared_flag "'${wl}-G'
10336 if test "$host_cpu" = ia64
; then
10337 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10338 # chokes on -Wl,-G. The following line is correct:
10341 if test "$aix_use_runtimelinking" = yes; then
10342 shared_flag
='${wl}-G'
10344 shared_flag
='${wl}-bM:SRE'
10349 # It seems that -bexpall does not export symbols beginning with
10350 # underscore (_), so it is better to generate a list of symbols to export.
10351 always_export_symbols_CXX
=yes
10352 if test "$aix_use_runtimelinking" = yes; then
10353 # Warning - without using the other runtime loading flags (-brtl),
10354 # -berok will link without error, but may produce a broken library.
10355 allow_undefined_flag_CXX
='-berok'
10356 # Determine the default libpath from the value encoded in an empty executable.
10357 cat >conftest.
$ac_ext <<_ACEOF
10360 cat confdefs.h
>>conftest.
$ac_ext
10361 cat >>conftest.
$ac_ext <<_ACEOF
10362 /* end confdefs.h. */
10372 rm -f conftest.
$ac_objext conftest
$ac_exeext
10373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10374 (eval $ac_link) 2>conftest.er1
10376 grep -v '^ *+' conftest.er1
>conftest.err
10378 cat conftest.err
>&5
10379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10380 (exit $ac_status); } &&
10381 { ac_try
='test -z "$ac_cxx_werror_flag"
10382 || test ! -s conftest.err'
10383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10384 (eval $ac_try) 2>&5
10386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10387 (exit $ac_status); }; } &&
10388 { ac_try
='test -s conftest$ac_exeext'
10389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10390 (eval $ac_try) 2>&5
10392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10393 (exit $ac_status); }; }; then
10395 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10397 # Check for a 64-bit object if we didn't find anything.
10398 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; }
10401 echo "$as_me: failed program was:" >&5
10402 sed 's/^/| /' conftest.
$ac_ext >&5
10405 rm -f conftest.err conftest.
$ac_objext \
10406 conftest
$ac_exeext conftest.
$ac_ext
10407 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10409 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
10411 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"
10413 if test "$host_cpu" = ia64
; then
10414 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
10415 allow_undefined_flag_CXX
="-z nodefs"
10416 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"
10418 # Determine the default libpath from the value encoded in an empty executable.
10419 cat >conftest.
$ac_ext <<_ACEOF
10422 cat confdefs.h
>>conftest.
$ac_ext
10423 cat >>conftest.
$ac_ext <<_ACEOF
10424 /* end confdefs.h. */
10434 rm -f conftest.
$ac_objext conftest
$ac_exeext
10435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10436 (eval $ac_link) 2>conftest.er1
10438 grep -v '^ *+' conftest.er1
>conftest.err
10440 cat conftest.err
>&5
10441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10442 (exit $ac_status); } &&
10443 { ac_try
='test -z "$ac_cxx_werror_flag"
10444 || test ! -s conftest.err'
10445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10446 (eval $ac_try) 2>&5
10448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10449 (exit $ac_status); }; } &&
10450 { ac_try
='test -s conftest$ac_exeext'
10451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10452 (eval $ac_try) 2>&5
10454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10455 (exit $ac_status); }; }; then
10457 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10459 # Check for a 64-bit object if we didn't find anything.
10460 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; }
10463 echo "$as_me: failed program was:" >&5
10464 sed 's/^/| /' conftest.
$ac_ext >&5
10467 rm -f conftest.err conftest.
$ac_objext \
10468 conftest
$ac_exeext conftest.
$ac_ext
10469 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10471 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
10472 # Warning - without using the other run time loading flags,
10473 # -berok will link without error, but may produce a broken library.
10474 no_undefined_flag_CXX
=' ${wl}-bernotok'
10475 allow_undefined_flag_CXX
=' ${wl}-berok'
10476 # Exported symbols can be pulled into shared objects from archives
10477 whole_archive_flag_spec_CXX
='$convenience'
10478 archive_cmds_need_lc_CXX
=yes
10479 # This is similar to how AIX traditionally builds its shared libraries.
10480 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'
10486 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
10487 allow_undefined_flag_CXX
=unsupported
10488 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10489 # support --undefined. This deserves some investigation. FIXME
10490 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10497 case $cc_basename in
10499 # FIXME: insert proper C++ library support
10505 cygwin
* | mingw
* | pw32
*)
10506 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
10507 # as there is no search path for DLLs.
10508 hardcode_libdir_flag_spec_CXX
='-L$libdir'
10509 allow_undefined_flag_CXX
=unsupported
10510 always_export_symbols_CXX
=no
10511 enable_shared_with_static_runtimes_CXX
=yes
10513 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
10514 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'
10515 # If the export-symbols file already is a .def file (1st line
10516 # is EXPORTS), use it as is; otherwise, prepend...
10517 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10518 cp $export_symbols $output_objdir/$soname.def;
10520 echo EXPORTS > $output_objdir/$soname.def;
10521 cat $export_symbols >> $output_objdir/$soname.def;
10523 $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'
10528 darwin
* | rhapsody
*)
10530 rhapsody
* | darwin1.
[012])
10531 allow_undefined_flag_CXX
='${wl}-undefined ${wl}suppress'
10534 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10535 allow_undefined_flag_CXX
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10537 case ${MACOSX_DEPLOYMENT_TARGET} in
10539 allow_undefined_flag_CXX
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10542 allow_undefined_flag_CXX
='${wl}-undefined ${wl}dynamic_lookup'
10548 archive_cmds_need_lc_CXX
=no
10549 hardcode_direct_CXX
=no
10550 hardcode_automatic_CXX
=yes
10551 hardcode_shlibpath_var_CXX
=unsupported
10552 whole_archive_flag_spec_CXX
=''
10553 link_all_deplibs_CXX
=yes
10555 if test "$GXX" = yes ; then
10556 lt_int_apple_cc_single_mod
=no
10557 output_verbose_link_cmd
='echo'
10558 if $CC -dumpspecs 2>&1 |
$EGREP 'single_module' >/dev
/null
; then
10559 lt_int_apple_cc_single_mod
=yes
10561 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
10562 archive_cmds_CXX
='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10564 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'
10566 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10567 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10568 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
10569 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}'
10571 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}'
10573 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}'
10575 case $cc_basename in
10577 output_verbose_link_cmd
='echo'
10578 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'
10579 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10580 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10581 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}'
10582 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}'
10592 case $cc_basename in
10594 # FIXME: insert proper C++ library support
10598 # Green Hills C++ Compiler
10599 # FIXME: insert proper C++ library support
10603 # FIXME: insert proper C++ library support
10609 # C++ shared libraries reported to be fairly broken before switch to ELF
10613 archive_cmds_need_lc_CXX
=no
10615 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
10616 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
10623 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
10624 hardcode_libdir_separator_CXX
=:
10625 export_dynamic_flag_spec_CXX
='${wl}-E'
10626 hardcode_direct_CXX
=yes
10627 hardcode_minus_L_CXX
=yes # Not in the search PATH,
10628 # but as the default
10629 # location of the library.
10631 case $cc_basename in
10633 # FIXME: insert proper C++ library support
10637 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'
10638 # Commands to make compiler produce verbose output that lists
10639 # what "hidden" libraries, object files and flags are used when
10640 # linking a shared library.
10642 # There doesn't appear to be a way to prevent this compiler from
10643 # explicitly linking system object files so we need to strip them
10644 # from the output so that they don't get included in the library
10646 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'
10649 if test "$GXX" = yes; then
10650 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'
10652 # FIXME: insert proper C++ library support
10659 if test $with_gnu_ld = no
; then
10660 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
10661 hardcode_libdir_separator_CXX
=:
10665 hardcode_libdir_flag_spec_ld_CXX
='+b $libdir'
10668 export_dynamic_flag_spec_CXX
='${wl}-E'
10674 hardcode_direct_CXX
=no
10675 hardcode_shlibpath_var_CXX
=no
10678 hardcode_direct_CXX
=yes
10679 hardcode_minus_L_CXX
=yes # Not in the search PATH,
10680 # but as the default
10681 # location of the library.
10685 case $cc_basename in
10687 # FIXME: insert proper C++ library support
10693 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10696 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10699 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10702 # Commands to make compiler produce verbose output that lists
10703 # what "hidden" libraries, object files and flags are used when
10704 # linking a shared library.
10706 # There doesn't appear to be a way to prevent this compiler from
10707 # explicitly linking system object files so we need to strip them
10708 # from the output so that they don't get included in the library
10710 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'
10713 if test "$GXX" = yes; then
10714 if test $with_gnu_ld = no
; then
10717 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10720 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10723 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'
10728 # FIXME: insert proper C++ library support
10735 hardcode_direct_CXX
=no
10736 hardcode_shlibpath_var_CXX
=no
10737 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10738 export_dynamic_flag_spec_CXX
='${wl}-E'
10739 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10740 # Instead, shared libraries are loaded at an image base (0x10000000 by
10741 # default) and relocated if they conflict, which is a slow very memory
10742 # consuming and fragmenting process. To avoid this, we pick a random,
10743 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10744 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10745 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'
10746 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'
10749 case $cc_basename in
10752 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'
10754 # Archives containing C++ object files must be created using
10755 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
10756 # necessary to make sure instantiated templates are included
10758 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
10761 if test "$GXX" = yes; then
10762 if test "$with_gnu_ld" = no
; then
10763 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'
10765 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'
10768 link_all_deplibs_CXX
=yes
10771 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10772 hardcode_libdir_separator_CXX
=:
10775 case $cc_basename in
10777 # Kuck and Associates, Inc. (KAI) C++ Compiler
10779 # KCC will only create a shared library if the output file
10780 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10781 # to its proper name (with version) after linking.
10782 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'
10783 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'
10784 # Commands to make compiler produce verbose output that lists
10785 # what "hidden" libraries, object files and flags are used when
10786 # linking a shared library.
10788 # There doesn't appear to be a way to prevent this compiler from
10789 # explicitly linking system object files so we need to strip them
10790 # from the output so that they don't get included in the library
10792 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'
10794 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
10795 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10797 # Archives containing C++ object files must be created using
10798 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10799 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
10804 # version 8.0 and above of icpc choke on multiply defined symbols
10805 # if we add $predep_objects and $postdep_objects, however 7.1 and
10806 # earlier do not add the objects themselves.
10807 case `$CC -V 2>&1` in
10809 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10810 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'
10812 *) # Version 8.0 or newer
10815 ia64
*) tmp_idyn
=' -i_dynamic';;
10817 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10818 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'
10821 archive_cmds_need_lc_CXX
=no
10822 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10823 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10824 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10827 # Portland Group C++ compiler
10828 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
10829 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'
10831 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
10832 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10833 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'
10837 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10838 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'
10840 runpath_var
=LD_RUN_PATH
10841 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
10842 hardcode_libdir_separator_CXX
=:
10844 # Commands to make compiler produce verbose output that lists
10845 # what "hidden" libraries, object files and flags are used when
10846 # linking a shared library.
10848 # There doesn't appear to be a way to prevent this compiler from
10849 # explicitly linking system object files so we need to strip them
10850 # from the output so that they don't get included in the library
10852 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'
10857 # FIXME: insert proper C++ library support
10861 # FIXME: insert proper C++ library support
10865 case $cc_basename in
10867 # FIXME: insert proper C++ library support
10871 # FIXME: insert proper C++ library support
10877 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
10878 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10880 hardcode_libdir_flag_spec_CXX
='-R$libdir'
10881 hardcode_direct_CXX
=yes
10882 hardcode_shlibpath_var_CXX
=no
10884 # Workaround some broken pre-1.5 toolchains
10885 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
10888 # C++ shared libraries are fairly broken
10892 hardcode_direct_CXX
=yes
10893 hardcode_shlibpath_var_CXX
=no
10894 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10895 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10896 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10897 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
10898 export_dynamic_flag_spec_CXX
='${wl}-E'
10899 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10901 output_verbose_link_cmd
='echo'
10904 case $cc_basename in
10906 # Kuck and Associates, Inc. (KAI) C++ Compiler
10908 # KCC will only create a shared library if the output file
10909 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10910 # to its proper name (with version) after linking.
10911 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'
10913 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10914 hardcode_libdir_separator_CXX
=:
10916 # Archives containing C++ object files must be created using
10917 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10918 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
10922 # Rational C++ 2.4.1
10923 # FIXME: insert proper C++ library support
10927 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
10928 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'
10930 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10931 hardcode_libdir_separator_CXX
=:
10933 # Commands to make compiler produce verbose output that lists
10934 # what "hidden" libraries, object files and flags are used when
10935 # linking a shared library.
10937 # There doesn't appear to be a way to prevent this compiler from
10938 # explicitly linking system object files so we need to strip them
10939 # from the output so that they don't get included in the library
10941 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'
10944 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
10945 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
10946 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'
10948 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10949 hardcode_libdir_separator_CXX
=:
10951 # Commands to make compiler produce verbose output that lists
10952 # what "hidden" libraries, object files and flags are used when
10953 # linking a shared library.
10954 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10957 # FIXME: insert proper C++ library support
10964 case $cc_basename in
10966 # Kuck and Associates, Inc. (KAI) C++ Compiler
10968 # KCC will only create a shared library if the output file
10969 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10970 # to its proper name (with version) after linking.
10971 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'
10973 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10974 hardcode_libdir_separator_CXX
=:
10976 # Archives containing C++ object files must be created using
10977 # the KAI C++ compiler.
10978 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
10981 # Rational C++ 2.4.1
10982 # FIXME: insert proper C++ library support
10986 allow_undefined_flag_CXX
=' -expect_unresolved \*'
10987 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'
10988 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
10989 echo "-hidden">> $lib.exp~
10990 $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~
10993 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
10994 hardcode_libdir_separator_CXX
=:
10996 # Commands to make compiler produce verbose output that lists
10997 # what "hidden" libraries, object files and flags are used when
10998 # linking a shared library.
11000 # There doesn't appear to be a way to prevent this compiler from
11001 # explicitly linking system object files so we need to strip them
11002 # from the output so that they don't get included in the library
11004 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'
11007 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11008 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11009 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'
11011 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11012 hardcode_libdir_separator_CXX
=:
11014 # Commands to make compiler produce verbose output that lists
11015 # what "hidden" libraries, object files and flags are used when
11016 # linking a shared library.
11017 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11020 # FIXME: insert proper C++ library support
11027 # FIXME: insert proper C++ library support
11031 case $cc_basename in
11034 # FIXME: insert proper C++ library support
11039 # FIXME: insert proper C++ library support
11043 # FIXME: insert proper C++ library support
11049 case $cc_basename in
11051 # Sun C++ 4.2, 5.x and Centerline C++
11052 archive_cmds_need_lc_CXX
=yes
11053 no_undefined_flag_CXX
=' -zdefs'
11054 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11055 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11056 $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'
11058 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11059 hardcode_shlibpath_var_CXX
=no
11061 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11063 # The C++ compiler is used as linker so we must use $wl
11064 # flag to pass the commands to the underlying system
11065 # linker. We must also pass each convience library through
11066 # to the system linker between allextract/defaultextract.
11067 # The C++ compiler will combine linker options so we
11068 # cannot just pass the convience library names through
11070 # Supported since Solaris 2.6 (maybe 2.5.1?)
11071 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'
11074 link_all_deplibs_CXX
=yes
11076 output_verbose_link_cmd
='echo'
11078 # Archives containing C++ object files must be created using
11079 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11080 # necessary to make sure instantiated templates are included
11082 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11085 # Green Hills C++ Compiler
11086 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11088 # The C++ compiler must be used to create the archive.
11089 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
11092 # GNU C++ compiler with Solaris linker
11093 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11094 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
11095 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
11096 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11097 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11098 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11100 # Commands to make compiler produce verbose output that lists
11101 # what "hidden" libraries, object files and flags are used when
11102 # linking a shared library.
11103 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11105 # g++ 2.7 appears to require `-G' NOT `-shared' on this
11107 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11108 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11109 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11111 # Commands to make compiler produce verbose output that lists
11112 # what "hidden" libraries, object files and flags are used when
11113 # linking a shared library.
11114 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11117 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
11122 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11123 no_undefined_flag_CXX
='${wl}-z,text'
11124 archive_cmds_need_lc_CXX
=no
11125 hardcode_shlibpath_var_CXX
=no
11126 runpath_var
='LD_RUN_PATH'
11128 case $cc_basename in
11130 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11131 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11134 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11135 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11139 sysv5
* | sco3.2v5
* | sco5v6
*)
11140 # Note: We can NOT use -z defs as we might desire, because we do not
11141 # link with -lc, and that would cause any symbols used from libc to
11142 # always be unresolved, which means just about no library would
11143 # ever link correctly. If we're not using GNU ld we use -z text
11144 # though, which does catch some bad symbols but isn't as heavy-handed
11146 # For security reasons, it is highly recommended that you always
11147 # use absolute paths for naming shared libraries, and exclude the
11148 # DT_RUNPATH tag from executables and libraries. But doing so
11149 # requires that you compile everything twice, which is a pain.
11150 # So that behaviour is only enabled if SCOABSPATH is set to a
11151 # non-empty value in the environment. Most likely only useful for
11152 # creating official distributions of packages.
11153 # This is a hack until libtool officially supports absolute path
11154 # names for shared libraries.
11155 no_undefined_flag_CXX
='${wl}-z,text'
11156 allow_undefined_flag_CXX
='${wl}-z,nodefs'
11157 archive_cmds_need_lc_CXX
=no
11158 hardcode_shlibpath_var_CXX
=no
11159 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
11160 hardcode_libdir_separator_CXX
=':'
11161 link_all_deplibs_CXX
=yes
11162 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
11163 runpath_var
='LD_RUN_PATH'
11165 case $cc_basename in
11167 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11168 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11171 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11172 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11177 case $cc_basename in
11179 # NonStop-UX NCC 3.20
11180 # FIXME: insert proper C++ library support
11184 # FIXME: insert proper C++ library support
11190 # FIXME: insert proper C++ library support
11194 # FIXME: insert proper C++ library support
11198 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11199 echo "${ECHO_T}$ld_shlibs_CXX" >&6
11200 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
11206 cat > conftest.
$ac_ext <<EOF
11210 Foo (void) { a = 0; }
11216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11217 (eval $ac_compile) 2>&5
11219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11220 (exit $ac_status); }; then
11221 # Parse the compiler output and extract the necessary
11222 # objects, libraries and library flags.
11224 # Sentinel used to keep track of whether or not we are before
11225 # the conftest object file.
11226 pre_test_object_deps_done
=no
11228 # The `*' in the case matches for architectures that use `case' in
11229 # $output_verbose_cmd can trigger glob expansion during the loop
11230 # eval without this substitution.
11231 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
11233 for p
in `eval $output_verbose_link_cmd`; do
11237 # Some compilers place space between "-{L,R}" and the path.
11238 # Remove the space.
11239 if test $p = "-L" \
11240 ||
test $p = "-R"; then
11247 if test "$pre_test_object_deps_done" = no
; then
11250 # Internal compiler library paths should come after those
11251 # provided the user. The postdeps already come after the
11252 # user supplied libs so there is no need to process them.
11253 if test -z "$compiler_lib_search_path_CXX"; then
11254 compiler_lib_search_path_CXX
="${prev}${p}"
11256 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
11259 # The "-l" case would never come before the object being
11260 # linked, so don't bother handling this case.
11263 if test -z "$postdeps_CXX"; then
11264 postdeps_CXX
="${prev}${p}"
11266 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
11272 # This assumes that the test object file only shows up
11273 # once in the compiler output.
11274 if test "$p" = "conftest.$objext"; then
11275 pre_test_object_deps_done
=yes
11279 if test "$pre_test_object_deps_done" = no
; then
11280 if test -z "$predep_objects_CXX"; then
11281 predep_objects_CXX
="$p"
11283 predep_objects_CXX
="$predep_objects_CXX $p"
11286 if test -z "$postdep_objects_CXX"; then
11287 postdep_objects_CXX
="$p"
11289 postdep_objects_CXX
="$postdep_objects_CXX $p"
11294 *) ;; # Ignore the rest.
11302 echo "libtool.m4: error: problem compiling CXX test program"
11305 $rm -f confest.
$objext
11307 # PORTME: override above test on systems where it is broken
11310 # Interix 3.5 installs completely hosed .la files for C++, so rather than
11311 # hack all around it, let's just trust "g++" to DTRT.
11312 predep_objects_CXX
=
11313 postdep_objects_CXX
=
11318 case $cc_basename in
11320 # Adding this requires a known-good setup of shared libraries for
11321 # Sun compiler versions before 5.6, else PIC objects from an old
11322 # archive will be linked into the output, leading to subtle bugs.
11323 postdeps_CXX
='-lCstd -lCrun'
11330 case " $postdeps_CXX " in
11331 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
11334 lt_prog_compiler_wl_CXX
=
11335 lt_prog_compiler_pic_CXX
=
11336 lt_prog_compiler_static_CXX
=
11338 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11339 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
11341 # C++ specific cases for pic, static, wl, etc.
11342 if test "$GXX" = yes; then
11343 lt_prog_compiler_wl_CXX
='-Wl,'
11344 lt_prog_compiler_static_CXX
='-static'
11348 # All AIX code is PIC.
11349 if test "$host_cpu" = ia64
; then
11350 # AIX 5 now supports IA64 processor
11351 lt_prog_compiler_static_CXX
='-Bstatic'
11355 # FIXME: we need at least 68020 code to build shared libraries, but
11356 # adding the `-m68020' flag to GCC prevents building anything better,
11358 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
11360 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
11361 # PIC is the default for these OSes.
11363 mingw
* | os2
* | pw32
*)
11364 # This hack is so that the source file can tell whether it is being
11365 # built for inclusion in a dll (and should export symbols for example).
11366 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
11368 darwin
* | rhapsody
*)
11369 # PIC is the default on this platform
11370 # Common symbols not allowed in MH_DYLIB files
11371 lt_prog_compiler_pic_CXX
='-fno-common'
11374 # DJGPP does not support shared libraries at all
11375 lt_prog_compiler_pic_CXX
=
11378 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11379 # Instead, we relocate shared libraries at runtime.
11382 if test -d /usr
/nec
; then
11383 lt_prog_compiler_pic_CXX
=-Kconform_pic
11387 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11388 # not for PA HP-UX.
11393 lt_prog_compiler_pic_CXX
='-fPIC'
11398 lt_prog_compiler_pic_CXX
='-fPIC'
11404 # All AIX code is PIC.
11405 if test "$host_cpu" = ia64
; then
11406 # AIX 5 now supports IA64 processor
11407 lt_prog_compiler_static_CXX
='-Bstatic'
11409 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
11413 case $cc_basename in
11415 # Green Hills C++ Compiler
11416 # _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"
11421 # PIC is the default on this platform
11422 # Common symbols not allowed in MH_DYLIB files
11423 case $cc_basename in
11425 lt_prog_compiler_pic_CXX
='-qnocommon'
11426 lt_prog_compiler_wl_CXX
='-Wl,'
11431 case $cc_basename in
11433 lt_prog_compiler_pic_CXX
='-KPIC'
11436 # Green Hills C++ Compiler
11437 lt_prog_compiler_pic_CXX
='-pic'
11443 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
11444 # FreeBSD uses GNU C++
11446 hpux9
* | hpux10
* | hpux11
*)
11447 case $cc_basename in
11449 lt_prog_compiler_wl_CXX
='-Wl,'
11450 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
11451 if test "$host_cpu" != ia64
; then
11452 lt_prog_compiler_pic_CXX
='+Z'
11456 lt_prog_compiler_wl_CXX
='-Wl,'
11457 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
11463 lt_prog_compiler_pic_CXX
='+Z'
11472 # This is c89, which is MS Visual C++ (no shared libs)
11473 # Anyone wants to do a port?
11475 irix5
* | irix6
* | nonstopux
*)
11476 case $cc_basename in
11478 lt_prog_compiler_wl_CXX
='-Wl,'
11479 lt_prog_compiler_static_CXX
='-non_shared'
11480 # CC pic flag -KPIC is the default.
11487 case $cc_basename in
11490 lt_prog_compiler_wl_CXX
='--backend -Wl,'
11491 lt_prog_compiler_pic_CXX
='-fPIC'
11495 lt_prog_compiler_wl_CXX
='-Wl,'
11496 lt_prog_compiler_pic_CXX
='-KPIC'
11497 lt_prog_compiler_static_CXX
='-static'
11500 # Portland Group C++ compiler.
11501 lt_prog_compiler_wl_CXX
='-Wl,'
11502 lt_prog_compiler_pic_CXX
='-fpic'
11503 lt_prog_compiler_static_CXX
='-Bstatic'
11507 # Make sure the PIC flag is empty. It appears that all Alpha
11508 # Linux and Compaq Tru64 Unix objects are PIC.
11509 lt_prog_compiler_pic_CXX
=
11510 lt_prog_compiler_static_CXX
='-non_shared'
11521 case $cc_basename in
11523 lt_prog_compiler_pic_CXX
='-W c,exportall'
11531 osf3
* | osf4
* | osf5
*)
11532 case $cc_basename in
11534 lt_prog_compiler_wl_CXX
='--backend -Wl,'
11537 # Rational C++ 2.4.1
11538 lt_prog_compiler_pic_CXX
='-pic'
11541 # Digital/Compaq C++
11542 lt_prog_compiler_wl_CXX
='-Wl,'
11543 # Make sure the PIC flag is empty. It appears that all Alpha
11544 # Linux and Compaq Tru64 Unix objects are PIC.
11545 lt_prog_compiler_pic_CXX
=
11546 lt_prog_compiler_static_CXX
='-non_shared'
11555 case $cc_basename in
11557 # Sun C++ 4.2, 5.x and Centerline C++
11558 lt_prog_compiler_pic_CXX
='-KPIC'
11559 lt_prog_compiler_static_CXX
='-Bstatic'
11560 lt_prog_compiler_wl_CXX
='-Qoption ld '
11563 # Green Hills C++ Compiler
11564 lt_prog_compiler_pic_CXX
='-PIC'
11571 case $cc_basename in
11574 lt_prog_compiler_pic_CXX
='-pic'
11575 lt_prog_compiler_static_CXX
='-Bstatic'
11579 lt_prog_compiler_pic_CXX
='-pic'
11586 case $cc_basename in
11588 # NonStop-UX NCC 3.20
11589 lt_prog_compiler_pic_CXX
='-KPIC'
11595 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
11596 case $cc_basename in
11598 lt_prog_compiler_wl_CXX
='-Wl,'
11599 lt_prog_compiler_pic_CXX
='-KPIC'
11600 lt_prog_compiler_static_CXX
='-Bstatic'
11607 lt_prog_compiler_can_build_shared_CXX
=no
11612 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
11613 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
11616 # Check to make sure the PIC flag actually works.
11618 if test -n "$lt_prog_compiler_pic_CXX"; then
11620 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
11621 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
11622 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
11623 echo $ECHO_N "(cached) $ECHO_C" >&6
11625 lt_prog_compiler_pic_works_CXX
=no
11626 ac_outfile
=conftest.
$ac_objext
11627 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11628 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
11629 # Insert the option either (1) after the last *FLAGS variable, or
11630 # (2) before a word containing "conftest.", or (3) at the end.
11631 # Note that $ac_compile itself does not contain backslashes and begins
11632 # with a dollar sign (not a hyphen), so the echo should work correctly.
11633 # The option is referenced via a variable to avoid confusing sed.
11634 lt_compile
=`echo "$ac_compile" | $SED \
11635 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11636 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11637 -e 's:$: $lt_compiler_flag:'`
11638 (eval echo "\"\$as_me:11638: $lt_compile\"" >&5)
11639 (eval "$lt_compile" 2>conftest.err
)
11641 cat conftest.err
>&5
11642 echo "$as_me:11642: \$? = $ac_status" >&5
11643 if (exit $ac_status) && test -s "$ac_outfile"; then
11644 # The compiler can only warn and ignore the option if not recognized
11645 # So say no if there are warnings other than the usual output.
11646 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
11647 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11648 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
11649 lt_prog_compiler_pic_works_CXX
=yes
11655 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
11656 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
11658 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
11659 case $lt_prog_compiler_pic_CXX in
11661 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
11664 lt_prog_compiler_pic_CXX
=
11665 lt_prog_compiler_can_build_shared_CXX
=no
11670 # For platforms which do not support PIC, -DPIC is meaningless:
11672 lt_prog_compiler_pic_CXX
=
11675 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
11680 # Check to make sure the static flag actually works.
11682 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
11683 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11684 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
11685 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
11686 echo $ECHO_N "(cached) $ECHO_C" >&6
11688 lt_prog_compiler_static_works_CXX
=no
11689 save_LDFLAGS
="$LDFLAGS"
11690 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
11691 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
11692 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11693 # The linker can only warn and ignore the option if not recognized
11694 # So say no if there are warnings
11695 if test -s conftest.err
; then
11696 # Append any errors to the config.log.
11697 cat conftest.err
1>&5
11698 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
11699 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11700 if diff conftest.exp conftest.er2
>/dev
/null
; then
11701 lt_prog_compiler_static_works_CXX
=yes
11704 lt_prog_compiler_static_works_CXX
=yes
11708 LDFLAGS
="$save_LDFLAGS"
11711 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
11712 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
11714 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
11717 lt_prog_compiler_static_CXX
=
11721 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11722 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
11723 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
11724 echo $ECHO_N "(cached) $ECHO_C" >&6
11726 lt_cv_prog_compiler_c_o_CXX
=no
11727 $rm -r conftest
2>/dev
/null
11731 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11733 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11734 # Insert the option either (1) after the last *FLAGS variable, or
11735 # (2) before a word containing "conftest.", or (3) at the end.
11736 # Note that $ac_compile itself does not contain backslashes and begins
11737 # with a dollar sign (not a hyphen), so the echo should work correctly.
11738 lt_compile
=`echo "$ac_compile" | $SED \
11739 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11740 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11741 -e 's:$: $lt_compiler_flag:'`
11742 (eval echo "\"\$as_me:11742: $lt_compile\"" >&5)
11743 (eval "$lt_compile" 2>out
/conftest.err
)
11745 cat out
/conftest.err
>&5
11746 echo "$as_me:11746: \$? = $ac_status" >&5
11747 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
11749 # The compiler can only warn and ignore the option if not recognized
11750 # So say no if there are warnings
11751 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
11752 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
11753 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
11754 lt_cv_prog_compiler_c_o_CXX
=yes
11759 # SGI C++ compiler will create directory out/ii_files/ for
11760 # template instantiation
11761 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
11762 $rm out
/* && rmdir out
11768 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
11769 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
11772 hard_links
="nottested"
11773 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
11774 # do not overwrite the value of need_locks provided by the user
11775 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11776 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
11779 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11781 ln conftest.a conftest.b
2>&5 || hard_links
=no
11782 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11783 echo "$as_me:$LINENO: result: $hard_links" >&5
11784 echo "${ECHO_T}$hard_links" >&6
11785 if test "$hard_links" = no
; then
11786 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11787 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11794 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11795 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11797 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11800 # If we're using GNU nm, then we don't want the "-C" option.
11801 # -C means demangle to AIX nm, but means don't demangle with GNU nm
11802 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
11803 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'
11805 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'
11809 export_symbols_cmds_CXX
="$ltdll_cmds"
11812 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'
11815 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11819 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11820 echo "${ECHO_T}$ld_shlibs_CXX" >&6
11821 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
11824 # Do we need to explicitly link libc?
11826 case "x$archive_cmds_need_lc_CXX" in
11828 # Assume -lc should be added
11829 archive_cmds_need_lc_CXX
=yes
11831 if test "$enable_shared" = yes && test "$GCC" = yes; then
11832 case $archive_cmds_CXX in
11834 # FIXME: we may have to deal with multi-command sequences.
11837 # Test whether the compiler implicitly links with -lc since on some
11838 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11839 # to ld, don't add -lc before -lgcc.
11840 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11841 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
11843 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11846 (eval $ac_compile) 2>&5
11848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11849 (exit $ac_status); } 2>conftest.err
; then
11852 libobjs
=conftest.
$ac_objext
11854 wl
=$lt_prog_compiler_wl_CXX
11855 pic_flag
=$lt_prog_compiler_pic_CXX
11861 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
11862 allow_undefined_flag_CXX
=
11863 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
11864 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11867 (exit $ac_status); }
11869 archive_cmds_need_lc_CXX
=no
11871 archive_cmds_need_lc_CXX
=yes
11873 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
11875 cat conftest.err
1>&5
11878 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
11879 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
11886 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11887 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
11888 library_names_spec
=
11889 libname_spec
='lib$name'
11893 postuninstall_cmds
=
11897 shlibpath_overrides_runpath
=unknown
11899 dynamic_linker
="$host_os ld.so"
11900 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11901 if test "$GCC" = yes; then
11902 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11903 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
11904 # if the path contains ";" then we assume it to be the separator
11905 # otherwise default to the standard path separator (i.e. ":") - it is
11906 # assumed that no part of a normal pathname contains ";" but that should
11907 # okay in the real world where ";" in dirpaths is itself problematic.
11908 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11910 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11913 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11915 need_lib_prefix
=unknown
11916 hardcode_into_libs
=no
11918 # when you set need_version to no, make sure it does not cause -set_version
11919 # flags to be left without arguments
11920 need_version
=unknown
11925 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11926 shlibpath_var
=LIBPATH
11928 # AIX 3 has no versioning support, so we append a major version to the name.
11929 soname_spec
='${libname}${release}${shared_ext}$major'
11936 hardcode_into_libs
=yes
11937 if test "$host_cpu" = ia64
; then
11938 # AIX 5 supports IA64
11939 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11940 shlibpath_var
=LD_LIBRARY_PATH
11942 # With GCC up to 2.95.x, collect2 would create an import file
11943 # for dependence libraries. The import file would start with
11944 # the line `#! .'. This would cause the generated library to
11945 # depend on `.', always an invalid library. This was fixed in
11946 # development snapshots of GCC prior to 3.0.
11948 aix4 | aix4.
[01] | aix4.
[01].
*)
11949 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11951 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
11954 can_build_shared
=no
11958 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11959 # soname into executable. Probably we can add versioning support to
11960 # collect2, so additional links can be useful in future.
11961 if test "$aix_use_runtimelinking" = yes; then
11962 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11963 # instead of lib<name>.a to let people know that these are not
11964 # typical AIX shared libraries.
11965 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11967 # We preserve .a as extension for shared libraries through AIX4.2
11968 # and later when we are not doing run time linking.
11969 library_names_spec
='${libname}${release}.a $libname.a'
11970 soname_spec
='${libname}${release}${shared_ext}$major'
11972 shlibpath_var
=LIBPATH
11977 library_names_spec
='$libname.ixlibrary $libname.a'
11978 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11979 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'
11983 library_names_spec
='${libname}${shared_ext}'
11984 dynamic_linker
="$host_os ld.so"
11985 shlibpath_var
=LIBRARY_PATH
11991 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11992 soname_spec
='${libname}${release}${shared_ext}$major'
11993 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11994 shlibpath_var
=LD_LIBRARY_PATH
11995 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11996 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11997 # the default ld.so.conf also contains /usr/contrib/lib and
11998 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11999 # libtool to hard-code these into programs
12002 cygwin
* | mingw
* | pw32
*)
12003 version_type
=windows
12008 case $GCC,$host_os in
12009 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
12010 library_names_spec
='$libname.dll.a'
12011 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12012 postinstall_cmds
='base_file=`basename \${file}`~
12013 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
12014 dldir=$destdir/`dirname \$dlpath`~
12015 test -d \$dldir || mkdir -p \$dldir~
12016 $install_prog $dir/$dlname \$dldir/$dlname~
12017 chmod a+x \$dldir/$dlname'
12018 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12019 dlpath=$dir/\$dldll~
12021 shlibpath_overrides_runpath
=yes
12025 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12026 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12027 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
12030 # MinGW DLLs use traditional 'lib' prefix
12031 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12032 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12033 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
12034 # It is most probably a Windows format PATH printed by
12035 # mingw gcc, but we are running on Cygwin. Gcc prints its search
12036 # path with ; separators, and with drive letters. We can handle the
12037 # drive letters (cygwin fileutils understands them), so leave them,
12038 # especially as we might pass files found there to a mingw objdump,
12039 # which wouldn't understand a cygwinified path. Ahh.
12040 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12042 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12046 # pw32 DLLs use 'pw' prefix rather than 'lib'
12047 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12053 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12056 dynamic_linker
='Win32 ld.exe'
12057 # FIXME: first we should search . and the directory the executable is in
12061 darwin
* | rhapsody
*)
12062 dynamic_linker
="$host_os dyld"
12063 version_type
=darwin
12066 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12067 soname_spec
='${libname}${release}${major}$shared_ext'
12068 shlibpath_overrides_runpath
=yes
12069 shlibpath_var
=DYLD_LIBRARY_PATH
12070 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
12071 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
12072 if test "$GCC" = yes; then
12073 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"`
12075 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
12077 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12084 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12085 soname_spec
='${libname}${release}${shared_ext}$major'
12086 shlibpath_var
=LD_LIBRARY_PATH
12097 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12098 soname_spec
='${libname}${release}${shared_ext}$major'
12099 shlibpath_var
=LD_LIBRARY_PATH
12100 shlibpath_overrides_runpath
=no
12101 hardcode_into_libs
=yes
12102 dynamic_linker
='GNU ld.so'
12105 freebsd
* | dragonfly
*)
12106 # DragonFly does not have aout. When/if they implement a new
12107 # versioning mechanism, adjust this.
12108 if test -x /usr
/bin
/objformat
; then
12109 objformat
=`/usr/bin/objformat`
12112 freebsd
[123]*) objformat
=aout
;;
12113 *) objformat
=elf
;;
12116 version_type
=freebsd-
$objformat
12117 case $version_type in
12119 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12124 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12128 shlibpath_var
=LD_LIBRARY_PATH
12131 shlibpath_overrides_runpath
=yes
12133 freebsd3.
[01]* | freebsdelf3.
[01]*)
12134 shlibpath_overrides_runpath
=yes
12135 hardcode_into_libs
=yes
12137 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12138 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12139 shlibpath_overrides_runpath
=no
12140 hardcode_into_libs
=yes
12142 freebsd
*) # from 4.6 on
12143 shlibpath_overrides_runpath
=yes
12144 hardcode_into_libs
=yes
12153 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12154 soname_spec
='${libname}${release}${shared_ext}$major'
12155 shlibpath_var
=LD_LIBRARY_PATH
12156 hardcode_into_libs
=yes
12159 hpux9
* | hpux10
* | hpux11
*)
12160 # Give a soname corresponding to the major version so that dld.sl refuses to
12161 # link against other versions.
12168 hardcode_into_libs
=yes
12169 dynamic_linker
="$host_os dld.so"
12170 shlibpath_var
=LD_LIBRARY_PATH
12171 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12172 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12173 soname_spec
='${libname}${release}${shared_ext}$major'
12174 if test "X$HPUX_IA64_MODE" = X32
; then
12175 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12177 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12179 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12183 hardcode_into_libs
=yes
12184 dynamic_linker
="$host_os dld.sl"
12185 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12186 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12187 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12188 soname_spec
='${libname}${release}${shared_ext}$major'
12189 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12190 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12194 dynamic_linker
="$host_os dld.sl"
12195 shlibpath_var
=SHLIB_PATH
12196 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12197 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12198 soname_spec
='${libname}${release}${shared_ext}$major'
12201 # HP-UX runs *really* slowly unless shared libraries are mode 555.
12202 postinstall_cmds
='chmod 555 $lib'
12209 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12210 soname_spec
='${libname}${release}${shared_ext}$major'
12211 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12212 shlibpath_var
=LD_LIBRARY_PATH
12213 shlibpath_overrides_runpath
=no
12214 hardcode_into_libs
=yes
12217 irix5
* | irix6
* | nonstopux
*)
12219 nonstopux
*) version_type
=nonstopux
;;
12221 if test "$lt_cv_prog_gnu_ld" = yes; then
12229 soname_spec
='${libname}${release}${shared_ext}$major'
12230 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12232 irix5
* | nonstopux
*)
12233 libsuff
= shlibsuff
=
12236 case $LD in # libtool.m4 will add one of these switches to LD
12237 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12238 libsuff
= shlibsuff
= libmagic
=32-bit;;
12239 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12240 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12241 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12242 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12243 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12247 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12248 shlibpath_overrides_runpath
=no
12249 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12250 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
12251 hardcode_into_libs
=yes
12254 # No shared lib support for Linux oldld, aout, or coff.
12255 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12259 # This must be Linux ELF.
12264 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12265 soname_spec
='${libname}${release}${shared_ext}$major'
12266 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12267 shlibpath_var
=LD_LIBRARY_PATH
12268 shlibpath_overrides_runpath
=no
12269 # This implies no fast_install, which is unacceptable.
12270 # Some rework will be needed to allow for fast_install
12271 # before this can be enabled.
12272 hardcode_into_libs
=yes
12274 # find out which ABI we are using
12276 case "$host_cpu" in
12277 x86_64
*|s390x
*|powerpc64
*)
12278 echo '#line 12278 "configure"' > conftest.
$ac_ext
12279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12280 (eval $ac_compile) 2>&5
12282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12283 (exit $ac_status); }; then
12284 case `/usr/bin/file conftest.$ac_objext` in
12287 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
12295 # Append ld.so.conf contents to the search path
12296 if test -f /etc
/ld.so.conf
; then
12297 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' ' '`
12298 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
12301 # We used to test for /lib/ld.so.1 and disable shared libraries on
12302 # powerpc, because MkLinux only supported shared libraries with the
12303 # GNU dynamic linker. Since this was broken with cross compilers,
12304 # most powerpc-linux boxes support dynamic linking these days and
12305 # people can always --disable-shared, the test was removed, and we
12306 # assume the GNU/Linux dynamic linker is in use.
12307 dynamic_linker
='GNU/Linux ld.so'
12314 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12315 soname_spec
='${libname}${release}${shared_ext}$major'
12316 shlibpath_var
=LD_LIBRARY_PATH
12317 shlibpath_overrides_runpath
=no
12318 hardcode_into_libs
=yes
12319 dynamic_linker
='GNU ld.so'
12326 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
12327 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12328 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12329 dynamic_linker
='NetBSD (a.out) ld.so'
12331 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12332 soname_spec
='${libname}${release}${shared_ext}$major'
12333 dynamic_linker
='NetBSD ld.elf_so'
12335 shlibpath_var
=LD_LIBRARY_PATH
12336 shlibpath_overrides_runpath
=yes
12337 hardcode_into_libs
=yes
12342 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12343 shlibpath_var
=LD_LIBRARY_PATH
12344 shlibpath_overrides_runpath
=yes
12351 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12352 soname_spec
='${libname}${release}${shared_ext}$major'
12353 shlibpath_var
=LD_LIBRARY_PATH
12354 shlibpath_overrides_runpath
=yes
12359 sys_lib_dlsearch_path_spec
="/usr/lib"
12361 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12363 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
12364 *) need_version
=no
;;
12366 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12367 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12368 shlibpath_var
=LD_LIBRARY_PATH
12369 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12371 openbsd2.
[89] | openbsd2.
[89].
*)
12372 shlibpath_overrides_runpath
=no
12375 shlibpath_overrides_runpath
=yes
12379 shlibpath_overrides_runpath
=yes
12384 libname_spec
='$name'
12387 library_names_spec
='$libname${shared_ext} $libname.a'
12388 dynamic_linker
='OS/2 ld.exe'
12389 shlibpath_var
=LIBPATH
12392 osf3
* | osf4
* | osf5
*)
12396 soname_spec
='${libname}${release}${shared_ext}$major'
12397 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12398 shlibpath_var
=LD_LIBRARY_PATH
12399 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12400 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
12407 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12408 soname_spec
='${libname}${release}${shared_ext}$major'
12409 shlibpath_var
=LD_LIBRARY_PATH
12410 shlibpath_overrides_runpath
=yes
12411 hardcode_into_libs
=yes
12412 # ldd complains unless libraries are executable
12413 postinstall_cmds
='chmod +x $lib'
12418 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12419 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12420 shlibpath_var
=LD_LIBRARY_PATH
12421 shlibpath_overrides_runpath
=yes
12422 if test "$with_gnu_ld" = yes; then
12430 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12431 soname_spec
='${libname}${release}${shared_ext}$major'
12432 shlibpath_var
=LD_LIBRARY_PATH
12433 case $host_vendor in
12435 shlibpath_overrides_runpath
=no
12437 export_dynamic_flag_spec
='${wl}-Blargedynsym'
12438 runpath_var
=LD_RUN_PATH
12446 shlibpath_overrides_runpath
=no
12447 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12453 if test -d /usr
/nec
;then
12455 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12456 soname_spec
='$libname${shared_ext}.$major'
12457 shlibpath_var
=LD_LIBRARY_PATH
12461 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12462 version_type
=freebsd-elf
12465 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12466 soname_spec
='${libname}${release}${shared_ext}$major'
12467 shlibpath_var
=LD_LIBRARY_PATH
12468 hardcode_into_libs
=yes
12469 if test "$with_gnu_ld" = yes; then
12470 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12471 shlibpath_overrides_runpath
=no
12473 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12474 shlibpath_overrides_runpath
=yes
12477 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12481 sys_lib_dlsearch_path_spec
='/usr/lib'
12486 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12487 soname_spec
='${libname}${release}${shared_ext}$major'
12488 shlibpath_var
=LD_LIBRARY_PATH
12495 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12496 echo "${ECHO_T}$dynamic_linker" >&6
12497 test "$dynamic_linker" = no
&& can_build_shared
=no
12499 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12500 if test "$GCC" = yes; then
12501 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12504 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12505 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
12506 hardcode_action_CXX
=
12507 if test -n "$hardcode_libdir_flag_spec_CXX" || \
12508 test -n "$runpath_var_CXX" || \
12509 test "X$hardcode_automatic_CXX" = "Xyes" ; then
12511 # We can hardcode non-existant directories.
12512 if test "$hardcode_direct_CXX" != no
&&
12513 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12514 # have to relink, otherwise we might link with an installed library
12515 # when we should be linking with a yet-to-be-installed one
12516 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
12517 test "$hardcode_minus_L_CXX" != no
; then
12518 # Linking always hardcodes the temporary library directory.
12519 hardcode_action_CXX
=relink
12521 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12522 hardcode_action_CXX
=immediate
12525 # We cannot hardcode anything, or else we can only hardcode existing
12527 hardcode_action_CXX
=unsupported
12529 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
12530 echo "${ECHO_T}$hardcode_action_CXX" >&6
12532 if test "$hardcode_action_CXX" = relink
; then
12533 # Fast installation is not supported
12534 enable_fast_install
=no
12535 elif test "$shlibpath_overrides_runpath" = yes ||
12536 test "$enable_shared" = no
; then
12537 # Fast installation is not necessary
12538 enable_fast_install
=needless
12542 # The else clause should only fire when bootstrapping the
12543 # libtool distribution, otherwise you forgot to ship ltmain.sh
12544 # with your package, and you will get complaints that there are
12545 # no rules to generate ltmain.sh.
12546 if test -f "$ltmain"; then
12547 # See if we are running on zsh, and set the options which allow our commands through
12548 # without removal of \ escapes.
12549 if test -n "${ZSH_VERSION+set}" ; then
12550 setopt NO_GLOB_SUBST
12552 # Now quote all the things that may contain metacharacters while being
12553 # careful not to overquote the AC_SUBSTed values. We take copies of the
12554 # variables and quote the copies for generation of the libtool script.
12555 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
12557 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12558 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12559 deplibs_check_method reload_flag reload_cmds need_locks \
12560 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12561 lt_cv_sys_global_symbol_to_c_name_address \
12562 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12563 old_postinstall_cmds old_postuninstall_cmds \
12567 lt_prog_compiler_wl_CXX \
12568 lt_prog_compiler_pic_CXX \
12569 lt_prog_compiler_static_CXX \
12570 lt_prog_compiler_no_builtin_flag_CXX \
12571 export_dynamic_flag_spec_CXX \
12572 thread_safe_flag_spec_CXX \
12573 whole_archive_flag_spec_CXX \
12574 enable_shared_with_static_runtimes_CXX \
12575 old_archive_cmds_CXX \
12576 old_archive_from_new_cmds_CXX \
12577 predep_objects_CXX \
12578 postdep_objects_CXX \
12581 compiler_lib_search_path_CXX \
12583 archive_expsym_cmds_CXX \
12584 postinstall_cmds_CXX \
12585 postuninstall_cmds_CXX \
12586 old_archive_from_expsyms_cmds_CXX \
12587 allow_undefined_flag_CXX \
12588 no_undefined_flag_CXX \
12589 export_symbols_cmds_CXX \
12590 hardcode_libdir_flag_spec_CXX \
12591 hardcode_libdir_flag_spec_ld_CXX \
12592 hardcode_libdir_separator_CXX \
12593 hardcode_automatic_CXX \
12595 module_expsym_cmds_CXX \
12596 lt_cv_prog_compiler_c_o_CXX \
12597 exclude_expsyms_CXX \
12598 include_expsyms_CXX
; do
12601 old_archive_cmds_CXX | \
12602 old_archive_from_new_cmds_CXX | \
12603 archive_cmds_CXX | \
12604 archive_expsym_cmds_CXX | \
12605 module_cmds_CXX | \
12606 module_expsym_cmds_CXX | \
12607 old_archive_from_expsyms_cmds_CXX | \
12608 export_symbols_cmds_CXX | \
12609 extract_expsyms_cmds | reload_cmds | finish_cmds | \
12610 postinstall_cmds | postuninstall_cmds | \
12611 old_postinstall_cmds | old_postuninstall_cmds | \
12612 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
12613 # Double-quote double-evaled strings.
12614 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
12617 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
12623 *'\$0 --fallback-echo"')
12624 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12630 cat <<__EOF__ >> "$cfgfile"
12631 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
12633 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12635 # Shell to use when invoking shell scripts.
12638 # Whether or not to build shared libraries.
12639 build_libtool_libs=$enable_shared
12641 # Whether or not to build static libraries.
12642 build_old_libs=$enable_static
12644 # Whether or not to add -lc for building shared libraries.
12645 build_libtool_need_lc=$archive_cmds_need_lc_CXX
12647 # Whether or not to disallow shared libs when runtime libs are static
12648 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
12650 # Whether or not to optimize for fast installation.
12651 fast_install=$enable_fast_install
12654 host_alias=$host_alias
12658 # The build system.
12659 build_alias=$build_alias
12663 # An echo program that does not interpret backslashes.
12668 AR_FLAGS=$lt_AR_FLAGS
12673 # LTCC compiler flags.
12674 LTCFLAGS=$lt_LTCFLAGS
12676 # A language-specific compiler.
12677 CC=$lt_compiler_CXX
12679 # Is the compiler the GNU C compiler?
12682 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
12683 gcc_ver=\`gcc -dumpversion\`
12688 # The linker used to build libraries.
12691 # Whether we need hard or soft links.
12694 # A BSD-compatible nm program.
12697 # A symbol stripping program
12700 # Used to examine libraries when file_magic_cmd begins "file"
12701 MAGIC_CMD=$MAGIC_CMD
12703 # Used on cygwin: DLL creation program.
12706 # Used on cygwin: object dumper.
12709 # Used on cygwin: assembler.
12712 # The name of the directory that contains temporary libtool files.
12715 # How to create reloadable object files.
12716 reload_flag=$lt_reload_flag
12717 reload_cmds=$lt_reload_cmds
12719 # How to pass a linker flag through the compiler.
12720 wl=$lt_lt_prog_compiler_wl_CXX
12722 # Object file suffix (normally "o").
12723 objext="$ac_objext"
12725 # Old archive suffix (normally "a").
12728 # Shared library suffix (normally ".so").
12729 shrext_cmds='$shrext_cmds'
12731 # Executable file suffix (normally "").
12734 # Additional compiler flags for building library objects.
12735 pic_flag=$lt_lt_prog_compiler_pic_CXX
12738 # What is the maximum length of a command?
12739 max_cmd_len=$lt_cv_sys_max_cmd_len
12741 # Does compiler simultaneously support -c and -o options?
12742 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
12744 # Must we lock files when doing compilation?
12745 need_locks=$lt_need_locks
12747 # Do we need the lib prefix for modules?
12748 need_lib_prefix=$need_lib_prefix
12750 # Do we need a version for libraries?
12751 need_version=$need_version
12753 # Whether dlopen is supported.
12754 dlopen_support=$enable_dlopen
12756 # Whether dlopen of programs is supported.
12757 dlopen_self=$enable_dlopen_self
12759 # Whether dlopen of statically linked programs is supported.
12760 dlopen_self_static=$enable_dlopen_self_static
12762 # Compiler flag to prevent dynamic linking.
12763 link_static_flag=$lt_lt_prog_compiler_static_CXX
12765 # Compiler flag to turn off builtin functions.
12766 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
12768 # Compiler flag to allow reflexive dlopens.
12769 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
12771 # Compiler flag to generate shared objects directly from archives.
12772 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
12774 # Compiler flag to generate thread-safe objects.
12775 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
12777 # Library versioning type.
12778 version_type=$version_type
12780 # Format of library name prefix.
12781 libname_spec=$lt_libname_spec
12783 # List of archive names. First name is the real one, the rest are links.
12784 # The last name is the one that the linker finds with -lNAME.
12785 library_names_spec=$lt_library_names_spec
12787 # The coded name of the library, if different from the real name.
12788 soname_spec=$lt_soname_spec
12790 # Commands used to build and install an old-style archive.
12792 old_archive_cmds=$lt_old_archive_cmds_CXX
12793 old_postinstall_cmds=$lt_old_postinstall_cmds
12794 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12796 # Create an old-style archive from a shared archive.
12797 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
12799 # Create a temporary old-style archive to link instead of a shared archive.
12800 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
12802 # Commands used to build and install a shared archive.
12803 archive_cmds=$lt_archive_cmds_CXX
12804 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
12805 postinstall_cmds=$lt_postinstall_cmds
12806 postuninstall_cmds=$lt_postuninstall_cmds
12808 # Commands used to build a loadable module (assumed same as above if empty)
12809 module_cmds=$lt_module_cmds_CXX
12810 module_expsym_cmds=$lt_module_expsym_cmds_CXX
12812 # Commands to strip libraries.
12813 old_striplib=$lt_old_striplib
12814 striplib=$lt_striplib
12816 # Dependencies to place before the objects being linked to create a
12818 predep_objects=\`echo $lt_predep_objects_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
12820 # Dependencies to place after the objects being linked to create a
12822 postdep_objects=\`echo $lt_postdep_objects_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
12824 # Dependencies to place before the objects being linked to create a
12826 predeps=$lt_predeps_CXX
12828 # Dependencies to place after the objects being linked to create a
12830 postdeps=$lt_postdeps_CXX
12832 # The library search path used internally by the compiler when linking
12833 # a shared library.
12834 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"\`
12836 # Method to check whether dependent libraries are shared objects.
12837 deplibs_check_method=$lt_deplibs_check_method
12839 # Command to use when deplibs_check_method == file_magic.
12840 file_magic_cmd=$lt_file_magic_cmd
12842 # Flag that allows shared libraries with undefined symbols to be built.
12843 allow_undefined_flag=$lt_allow_undefined_flag_CXX
12845 # Flag that forces no undefined symbols.
12846 no_undefined_flag=$lt_no_undefined_flag_CXX
12848 # Commands used to finish a libtool library installation in a directory.
12849 finish_cmds=$lt_finish_cmds
12851 # Same as above, but a single script fragment to be evaled but not shown.
12852 finish_eval=$lt_finish_eval
12854 # Take the output of nm and produce a listing of raw symbols and C names.
12855 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12857 # Transform the output of nm in a proper C declaration
12858 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12860 # Transform the output of nm in a C name address pair
12861 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12863 # This is the shared library runtime path variable.
12864 runpath_var=$runpath_var
12866 # This is the shared library path variable.
12867 shlibpath_var=$shlibpath_var
12869 # Is shlibpath searched before the hard-coded library search path?
12870 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12872 # How to hardcode a shared library path into an executable.
12873 hardcode_action=$hardcode_action_CXX
12875 # Whether we should hardcode library paths into libraries.
12876 hardcode_into_libs=$hardcode_into_libs
12878 # Flag to hardcode \$libdir into a binary during linking.
12879 # This must work even if \$libdir does not exist.
12880 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
12882 # If ld is used when linking, flag to hardcode \$libdir into
12883 # a binary during linking. This must work even if \$libdir does
12885 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
12887 # Whether we need a single -rpath flag with a separated argument.
12888 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
12890 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
12891 # resulting binary.
12892 hardcode_direct=$hardcode_direct_CXX
12894 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
12895 # resulting binary.
12896 hardcode_minus_L=$hardcode_minus_L_CXX
12898 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
12899 # the resulting binary.
12900 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
12902 # Set to yes if building a shared library automatically hardcodes DIR into the library
12903 # and all subsequent libraries and executables linked against it.
12904 hardcode_automatic=$hardcode_automatic_CXX
12906 # Variables whose values should be saved in libtool wrapper scripts and
12907 # restored at relink time.
12908 variables_saved_for_relink="$variables_saved_for_relink"
12910 # Whether libtool must link a program against all its dependency libraries.
12911 link_all_deplibs=$link_all_deplibs_CXX
12913 # Compile-time system search path for libraries
12914 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"\`
12916 # Run-time system search path for libraries
12917 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12919 # Fix the shell variable \$srcfile for the compiler.
12920 fix_srcfile_path="$fix_srcfile_path_CXX"
12922 # Set to yes if exported symbols are required.
12923 always_export_symbols=$always_export_symbols_CXX
12925 # The commands to list exported symbols.
12926 export_symbols_cmds=$lt_export_symbols_cmds_CXX
12928 # The commands to extract the exported symbol list from a shared archive.
12929 extract_expsyms_cmds=$lt_extract_expsyms_cmds
12931 # Symbols that should not be listed in the preloaded symbols.
12932 exclude_expsyms=$lt_exclude_expsyms_CXX
12934 # Symbols that must always be exported.
12935 include_expsyms=$lt_include_expsyms_CXX
12937 # ### END LIBTOOL TAG CONFIG: $tagname
12943 # If there is no Makefile yet, we rely on a make rule to execute
12944 # `config.status --recheck' to rerun these tests and create the
12945 # libtool script then.
12946 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
12947 if test -f "$ltmain_in"; then
12948 test -f Makefile
&& make "$ltmain"
12954 ac_cpp
='$CPP $CPPFLAGS'
12955 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12956 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12957 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12963 with_gnu_ldcxx
=$with_gnu_ld
12964 with_gnu_ld
=$lt_save_with_gnu_ld
12965 lt_cv_path_LDCXX
=$lt_cv_path_LD
12966 lt_cv_path_LD
=$lt_save_path_LD
12967 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
12968 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
12976 if test -n "$F77" && test "X$F77" != "Xno"; then
12979 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
12980 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12981 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
12984 archive_cmds_need_lc_F77
=no
12985 allow_undefined_flag_F77
=
12986 always_export_symbols_F77
=no
12987 archive_expsym_cmds_F77
=
12988 export_dynamic_flag_spec_F77
=
12989 hardcode_direct_F77
=no
12990 hardcode_libdir_flag_spec_F77
=
12991 hardcode_libdir_flag_spec_ld_F77
=
12992 hardcode_libdir_separator_F77
=
12993 hardcode_minus_L_F77
=no
12994 hardcode_automatic_F77
=no
12996 module_expsym_cmds_F77
=
12997 link_all_deplibs_F77
=unknown
12998 old_archive_cmds_F77
=$old_archive_cmds
12999 no_undefined_flag_F77
=
13000 whole_archive_flag_spec_F77
=
13001 enable_shared_with_static_runtimes_F77
=no
13003 # Source file extension for f77 test sources.
13006 # Object file extension for compiled f77 test sources.
13010 # Code to be used in simple compile tests
13011 lt_simple_compile_test_code
=" subroutine t\n return\n end\n"
13013 # Code to be used in simple link tests
13014 lt_simple_link_test_code
=" program t\n end\n"
13016 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13018 # If no C compiler was specified, use CC.
13021 # If no C compiler flags were specified, use CFLAGS.
13022 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13024 # Allow CC to be a program name with arguments.
13028 # save warnings/boilerplate of simple test code
13029 ac_outfile
=conftest.
$ac_objext
13030 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
13031 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13032 _lt_compiler_boilerplate
=`cat conftest.err`
13035 ac_outfile
=conftest.
$ac_objext
13036 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
13037 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13038 _lt_linker_boilerplate
=`cat conftest.err`
13042 # Allow CC to be a program name with arguments.
13047 for cc_temp
in $compiler""; do
13049 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13050 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13055 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13058 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13059 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
13060 echo "$as_me:$LINENO: result: $can_build_shared" >&5
13061 echo "${ECHO_T}$can_build_shared" >&6
13063 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13064 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
13065 test "$can_build_shared" = "no" && enable_shared
=no
13067 # On AIX, shared libraries and static libraries use the same namespace, and
13068 # are all built from PIC.
13071 test "$enable_shared" = yes && enable_static
=no
13072 if test -n "$RANLIB"; then
13073 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13074 postinstall_cmds
='$RANLIB $lib'
13078 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13079 test "$enable_shared" = yes && enable_static
=no
13083 echo "$as_me:$LINENO: result: $enable_shared" >&5
13084 echo "${ECHO_T}$enable_shared" >&6
13086 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13087 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
13088 # Make sure either enable_shared or enable_static is yes.
13089 test "$enable_shared" = yes || enable_static
=yes
13090 echo "$as_me:$LINENO: result: $enable_static" >&5
13091 echo "${ECHO_T}$enable_static" >&6
13096 lt_prog_compiler_wl_F77
=
13097 lt_prog_compiler_pic_F77
=
13098 lt_prog_compiler_static_F77
=
13100 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13101 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
13103 if test "$GCC" = yes; then
13104 lt_prog_compiler_wl_F77
='-Wl,'
13105 lt_prog_compiler_static_F77
='-static'
13109 # All AIX code is PIC.
13110 if test "$host_cpu" = ia64
; then
13111 # AIX 5 now supports IA64 processor
13112 lt_prog_compiler_static_F77
='-Bstatic'
13117 # FIXME: we need at least 68020 code to build shared libraries, but
13118 # adding the `-m68020' flag to GCC prevents building anything better,
13120 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
13123 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13124 # PIC is the default for these OSes.
13127 mingw
* | pw32
* | os2
*)
13128 # This hack is so that the source file can tell whether it is being
13129 # built for inclusion in a dll (and should export symbols for example).
13130 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13133 darwin
* | rhapsody
*)
13134 # PIC is the default on this platform
13135 # Common symbols not allowed in MH_DYLIB files
13136 lt_prog_compiler_pic_F77
='-fno-common'
13140 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13141 # Instead, we relocate shared libraries at runtime.
13145 # Just because we use GCC doesn't mean we suddenly get shared libraries
13146 # on systems that don't support them.
13147 lt_prog_compiler_can_build_shared_F77
=no
13152 if test -d /usr
/nec
; then
13153 lt_prog_compiler_pic_F77
=-Kconform_pic
13158 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13159 # not for PA HP-UX.
13165 lt_prog_compiler_pic_F77
='-fPIC'
13171 lt_prog_compiler_pic_F77
='-fPIC'
13175 # PORTME Check for flag to pass linker flags through the system compiler.
13178 lt_prog_compiler_wl_F77
='-Wl,'
13179 if test "$host_cpu" = ia64
; then
13180 # AIX 5 now supports IA64 processor
13181 lt_prog_compiler_static_F77
='-Bstatic'
13183 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
13187 # PIC is the default on this platform
13188 # Common symbols not allowed in MH_DYLIB files
13189 case $cc_basename in
13191 lt_prog_compiler_pic_F77
='-qnocommon'
13192 lt_prog_compiler_wl_F77
='-Wl,'
13197 mingw
* | pw32
* | os2
*)
13198 # This hack is so that the source file can tell whether it is being
13199 # built for inclusion in a dll (and should export symbols for example).
13200 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13203 hpux9
* | hpux10
* | hpux11
*)
13204 lt_prog_compiler_wl_F77
='-Wl,'
13205 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13206 # not for PA HP-UX.
13212 lt_prog_compiler_pic_F77
='+Z'
13215 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13216 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
13219 irix5
* | irix6
* | nonstopux
*)
13220 lt_prog_compiler_wl_F77
='-Wl,'
13221 # PIC (with -KPIC) is the default.
13222 lt_prog_compiler_static_F77
='-non_shared'
13226 lt_prog_compiler_pic_F77
='-KPIC'
13227 lt_prog_compiler_static_F77
='-Bstatic'
13231 case $cc_basename in
13233 lt_prog_compiler_wl_F77
='-Wl,'
13234 lt_prog_compiler_pic_F77
='-KPIC'
13235 lt_prog_compiler_static_F77
='-static'
13237 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
13238 # Portland Group compilers (*not* the Pentium gcc compiler,
13239 # which looks to be a dead project)
13240 lt_prog_compiler_wl_F77
='-Wl,'
13241 lt_prog_compiler_pic_F77
='-fpic'
13242 lt_prog_compiler_static_F77
='-Bstatic'
13245 lt_prog_compiler_wl_F77
='-Wl,'
13246 # All Alpha code is PIC.
13247 lt_prog_compiler_static_F77
='-non_shared'
13252 osf3
* | osf4
* | osf5
*)
13253 lt_prog_compiler_wl_F77
='-Wl,'
13254 # All OSF/1 code is PIC.
13255 lt_prog_compiler_static_F77
='-non_shared'
13259 lt_prog_compiler_pic_F77
='-KPIC'
13260 lt_prog_compiler_static_F77
='-Bstatic'
13261 case $cc_basename in
13262 f77
* | f90
* | f95
*)
13263 lt_prog_compiler_wl_F77
='-Qoption ld ';;
13265 lt_prog_compiler_wl_F77
='-Wl,';;
13270 lt_prog_compiler_wl_F77
='-Qoption ld '
13271 lt_prog_compiler_pic_F77
='-PIC'
13272 lt_prog_compiler_static_F77
='-Bstatic'
13275 sysv4 | sysv4.2uw2
* | sysv4.3
*)
13276 lt_prog_compiler_wl_F77
='-Wl,'
13277 lt_prog_compiler_pic_F77
='-KPIC'
13278 lt_prog_compiler_static_F77
='-Bstatic'
13282 if test -d /usr
/nec
;then
13283 lt_prog_compiler_pic_F77
='-Kconform_pic'
13284 lt_prog_compiler_static_F77
='-Bstatic'
13288 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13289 lt_prog_compiler_wl_F77
='-Wl,'
13290 lt_prog_compiler_pic_F77
='-KPIC'
13291 lt_prog_compiler_static_F77
='-Bstatic'
13295 lt_prog_compiler_wl_F77
='-Wl,'
13296 lt_prog_compiler_can_build_shared_F77
=no
13300 lt_prog_compiler_pic_F77
='-pic'
13301 lt_prog_compiler_static_F77
='-Bstatic'
13305 lt_prog_compiler_can_build_shared_F77
=no
13310 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13311 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
13314 # Check to make sure the PIC flag actually works.
13316 if test -n "$lt_prog_compiler_pic_F77"; then
13318 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13319 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
13320 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13321 echo $ECHO_N "(cached) $ECHO_C" >&6
13323 lt_prog_compiler_pic_works_F77
=no
13324 ac_outfile
=conftest.
$ac_objext
13325 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13326 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
13327 # Insert the option either (1) after the last *FLAGS variable, or
13328 # (2) before a word containing "conftest.", or (3) at the end.
13329 # Note that $ac_compile itself does not contain backslashes and begins
13330 # with a dollar sign (not a hyphen), so the echo should work correctly.
13331 # The option is referenced via a variable to avoid confusing sed.
13332 lt_compile
=`echo "$ac_compile" | $SED \
13333 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13334 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13335 -e 's:$: $lt_compiler_flag:'`
13336 (eval echo "\"\$as_me:13336: $lt_compile\"" >&5)
13337 (eval "$lt_compile" 2>conftest.err
)
13339 cat conftest.err
>&5
13340 echo "$as_me:13340: \$? = $ac_status" >&5
13341 if (exit $ac_status) && test -s "$ac_outfile"; then
13342 # The compiler can only warn and ignore the option if not recognized
13343 # So say no if there are warnings other than the usual output.
13344 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
13345 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13346 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13347 lt_prog_compiler_pic_works_F77
=yes
13353 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13354 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
13356 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
13357 case $lt_prog_compiler_pic_F77 in
13359 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
13362 lt_prog_compiler_pic_F77
=
13363 lt_prog_compiler_can_build_shared_F77
=no
13368 # For platforms which do not support PIC, -DPIC is meaningless:
13370 lt_prog_compiler_pic_F77
=
13373 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
13378 # Check to make sure the static flag actually works.
13380 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
13381 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13382 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
13383 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
13384 echo $ECHO_N "(cached) $ECHO_C" >&6
13386 lt_prog_compiler_static_works_F77
=no
13387 save_LDFLAGS
="$LDFLAGS"
13388 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13389 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
13390 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13391 # The linker can only warn and ignore the option if not recognized
13392 # So say no if there are warnings
13393 if test -s conftest.err
; then
13394 # Append any errors to the config.log.
13395 cat conftest.err
1>&5
13396 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
13397 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13398 if diff conftest.exp conftest.er2
>/dev
/null
; then
13399 lt_prog_compiler_static_works_F77
=yes
13402 lt_prog_compiler_static_works_F77
=yes
13406 LDFLAGS
="$save_LDFLAGS"
13409 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
13410 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6
13412 if test x
"$lt_prog_compiler_static_works_F77" = xyes
; then
13415 lt_prog_compiler_static_F77
=
13419 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13420 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13421 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13422 echo $ECHO_N "(cached) $ECHO_C" >&6
13424 lt_cv_prog_compiler_c_o_F77
=no
13425 $rm -r conftest
2>/dev
/null
13429 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13431 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13432 # Insert the option either (1) after the last *FLAGS variable, or
13433 # (2) before a word containing "conftest.", or (3) at the end.
13434 # Note that $ac_compile itself does not contain backslashes and begins
13435 # with a dollar sign (not a hyphen), so the echo should work correctly.
13436 lt_compile
=`echo "$ac_compile" | $SED \
13437 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13438 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13439 -e 's:$: $lt_compiler_flag:'`
13440 (eval echo "\"\$as_me:13440: $lt_compile\"" >&5)
13441 (eval "$lt_compile" 2>out
/conftest.err
)
13443 cat out
/conftest.err
>&5
13444 echo "$as_me:13444: \$? = $ac_status" >&5
13445 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13447 # The compiler can only warn and ignore the option if not recognized
13448 # So say no if there are warnings
13449 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
13450 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13451 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13452 lt_cv_prog_compiler_c_o_F77
=yes
13457 # SGI C++ compiler will create directory out/ii_files/ for
13458 # template instantiation
13459 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
13460 $rm out
/* && rmdir out
13466 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13467 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
13470 hard_links
="nottested"
13471 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
13472 # do not overwrite the value of need_locks provided by the user
13473 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13474 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13477 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13479 ln conftest.a conftest.b
2>&5 || hard_links
=no
13480 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13481 echo "$as_me:$LINENO: result: $hard_links" >&5
13482 echo "${ECHO_T}$hard_links" >&6
13483 if test "$hard_links" = no
; then
13484 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13485 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13492 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13493 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13496 allow_undefined_flag_F77
=
13497 enable_shared_with_static_runtimes_F77
=no
13499 archive_expsym_cmds_F77
=
13500 old_archive_From_new_cmds_F77
=
13501 old_archive_from_expsyms_cmds_F77
=
13502 export_dynamic_flag_spec_F77
=
13503 whole_archive_flag_spec_F77
=
13504 thread_safe_flag_spec_F77
=
13505 hardcode_libdir_flag_spec_F77
=
13506 hardcode_libdir_flag_spec_ld_F77
=
13507 hardcode_libdir_separator_F77
=
13508 hardcode_direct_F77
=no
13509 hardcode_minus_L_F77
=no
13510 hardcode_shlibpath_var_F77
=unsupported
13511 link_all_deplibs_F77
=unknown
13512 hardcode_automatic_F77
=no
13514 module_expsym_cmds_F77
=
13515 always_export_symbols_F77
=no
13516 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13517 # include_expsyms should be a list of space-separated symbols to be *always*
13518 # included in the symbol list
13519 include_expsyms_F77
=
13520 # exclude_expsyms can be an extended regexp of symbols to exclude
13521 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13522 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13523 # as well as any symbol that contains `d'.
13524 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
13525 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13526 # platforms (ab)use it in PIC code, but their linkers get confused if
13527 # the symbol is explicitly referenced. Since portable code cannot
13528 # rely on this symbol name, it's probably fine to never include it in
13529 # preloaded symbol tables.
13530 extract_expsyms_cmds
=
13531 # Just being paranoid about ensuring that cc_basename is set.
13532 for cc_temp
in $compiler""; do
13534 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13535 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13540 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13543 cygwin
* | mingw
* | pw32
*)
13544 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13545 # When not using gcc, we currently assume that we are using
13546 # Microsoft Visual C++.
13547 if test "$GCC" != yes; then
13552 # we just hope/assume this is gcc and not c89 (= MSVC++)
13561 if test "$with_gnu_ld" = yes; then
13562 # If archive_cmds runs LD, not CC, wlarc should be empty
13565 # Set some defaults for GNU ld with shared library support. These
13566 # are reset later if shared libraries are not supported. Putting them
13567 # here allows them to be overridden if necessary.
13568 runpath_var
=LD_RUN_PATH
13569 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
13570 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
13571 # ancient GNU ld didn't support --whole-archive et. al.
13572 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
13573 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13575 whole_archive_flag_spec_F77
=
13577 supports_anon_versioning
=no
13578 case `$LD -v 2>/dev/null` in
13579 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
13580 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
13581 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
13582 *\
2.11.
*) ;; # other 2.11 versions
13583 *) supports_anon_versioning
=yes ;;
13586 # See if GNU ld supports shared libraries.
13588 aix3
* | aix4
* | aix5
*)
13589 # On AIX/PPC, the GNU linker is very broken
13590 if test "$host_cpu" != ia64
; then
13594 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
13595 *** to be unable to reliably create shared libraries on AIX.
13596 *** Therefore, libtool is disabling shared libraries support. If you
13597 *** really care for shared libraries, you may want to modify your PATH
13598 *** so that a non-GNU linker is found, and then restart.
13605 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)'
13606 hardcode_libdir_flag_spec_F77
='-L$libdir'
13607 hardcode_minus_L_F77
=yes
13609 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
13610 # that the semantics of dynamic libraries on AmigaOS, at least up
13611 # to version 4, is to share data among multiple programs linked
13612 # with the same dynamic library. Since this doesn't match the
13613 # behavior of shared libraries on other platforms, we can't use
13619 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13620 allow_undefined_flag_F77
=unsupported
13621 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13622 # support --undefined. This deserves some investigation. FIXME
13623 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13629 cygwin
* | mingw
* | pw32
*)
13630 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
13631 # as there is no search path for DLLs.
13632 hardcode_libdir_flag_spec_F77
='-L$libdir'
13633 allow_undefined_flag_F77
=unsupported
13634 always_export_symbols_F77
=no
13635 enable_shared_with_static_runtimes_F77
=yes
13636 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13638 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
13639 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13640 # If the export-symbols file already is a .def file (1st line
13641 # is EXPORTS), use it as is; otherwise, prepend...
13642 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13643 cp $export_symbols $output_objdir/$soname.def;
13645 echo EXPORTS > $output_objdir/$soname.def;
13646 cat $export_symbols >> $output_objdir/$soname.def;
13648 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13655 hardcode_direct_F77
=no
13656 hardcode_shlibpath_var_F77
=no
13657 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
13658 export_dynamic_flag_spec_F77
='${wl}-E'
13659 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13660 # Instead, shared libraries are loaded at an image base (0x10000000 by
13661 # default) and relocated if they conflict, which is a slow very memory
13662 # consuming and fragmenting process. To avoid this, we pick a random,
13663 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13664 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13665 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'
13666 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'
13670 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13672 case $cc_basename,$host_cpu in
13673 pgcc
*) # Portland Group C compiler
13674 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'
13675 tmp_addflag
=' $pic_flag'
13677 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
13678 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'
13679 tmp_addflag
=' $pic_flag -Mnomain' ;;
13680 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
13681 tmp_addflag
=' -i_dynamic' ;;
13682 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
13683 tmp_addflag
=' -i_dynamic -nofor_main' ;;
13684 ifc
* | ifort
*) # Intel Fortran compiler
13685 tmp_addflag
=' -nofor_main' ;;
13687 archive_cmds_F77
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13689 if test $supports_anon_versioning = yes; then
13690 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
13691 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13692 $echo "local: *; };" >> $output_objdir/$libname.ver~
13693 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13701 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
13702 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13705 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13706 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13711 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
13715 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13716 *** create shared libraries on Solaris systems. Therefore, libtool
13717 *** is disabling shared libraries support. We urge you to upgrade GNU
13718 *** binutils to release 2.9.1 or newer. Another option is to modify
13719 *** your PATH or compiler configuration so that the native linker is
13720 *** used, and then restart.
13723 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13724 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13725 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13731 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
13732 case `$LD -v 2>&1` in
13733 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
13737 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
13738 *** reliably create shared libraries on SCO systems. Therefore, libtool
13739 *** is disabling shared libraries support. We urge you to upgrade GNU
13740 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
13741 *** your PATH or compiler configuration so that the native linker is
13742 *** used, and then restart.
13747 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13748 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
13749 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
13750 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
13759 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13761 hardcode_direct_F77
=yes
13762 hardcode_shlibpath_var_F77
=no
13766 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13767 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13768 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13775 if test "$ld_shlibs_F77" = no
; then
13777 hardcode_libdir_flag_spec_F77
=
13778 export_dynamic_flag_spec_F77
=
13779 whole_archive_flag_spec_F77
=
13782 # PORTME fill in a description of your system's linker (not GNU ld)
13785 allow_undefined_flag_F77
=unsupported
13786 always_export_symbols_F77
=yes
13787 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'
13788 # Note: this linker hardcodes the directories in LIBPATH if there
13789 # are no directories specified by -L.
13790 hardcode_minus_L_F77
=yes
13791 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
13792 # Neither direct hardcoding nor static linking is supported with a
13794 hardcode_direct_F77
=unsupported
13799 if test "$host_cpu" = ia64
; then
13800 # On IA64, the linker does run time linking by default, so we don't
13801 # have to do anything special.
13802 aix_use_runtimelinking
=no
13803 exp_sym_flag
='-Bexport'
13806 # If we're using GNU nm, then we don't want the "-C" option.
13807 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13808 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
13809 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'
13811 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'
13813 aix_use_runtimelinking
=no
13815 # Test if we are trying to use run time linking or normal
13816 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13817 # need to do runtime linking.
13818 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
13819 for ld_flag
in $LDFLAGS; do
13820 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
13821 aix_use_runtimelinking
=yes
13828 exp_sym_flag
='-bexport'
13829 no_entry_flag
='-bnoentry'
13832 # When large executables or shared objects are built, AIX ld can
13833 # have problems creating the table of contents. If linking a library
13834 # or program results in "error TOC overflow" add -mminimal-toc to
13835 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13836 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13838 archive_cmds_F77
=''
13839 hardcode_direct_F77
=yes
13840 hardcode_libdir_separator_F77
=':'
13841 link_all_deplibs_F77
=yes
13843 if test "$GCC" = yes; then
13844 case $host_os in aix4.
[012]|aix4.
[012].
*)
13845 # We only want to do this on AIX 4.2 and lower, the check
13846 # below for broken collect2 doesn't work under 4.3+
13847 collect2name
=`${CC} -print-prog-name=collect2`
13848 if test -f "$collect2name" && \
13849 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
13851 # We have reworked collect2
13852 hardcode_direct_F77
=yes
13854 # We have old collect2
13855 hardcode_direct_F77
=unsupported
13856 # It fails to find uninstalled libraries when the uninstalled
13857 # path is not listed in the libpath. Setting hardcode_minus_L
13858 # to unsupported forces relinking
13859 hardcode_minus_L_F77
=yes
13860 hardcode_libdir_flag_spec_F77
='-L$libdir'
13861 hardcode_libdir_separator_F77
=
13865 shared_flag
='-shared'
13866 if test "$aix_use_runtimelinking" = yes; then
13867 shared_flag
="$shared_flag "'${wl}-G'
13871 if test "$host_cpu" = ia64
; then
13872 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13873 # chokes on -Wl,-G. The following line is correct:
13876 if test "$aix_use_runtimelinking" = yes; then
13877 shared_flag
='${wl}-G'
13879 shared_flag
='${wl}-bM:SRE'
13884 # It seems that -bexpall does not export symbols beginning with
13885 # underscore (_), so it is better to generate a list of symbols to export.
13886 always_export_symbols_F77
=yes
13887 if test "$aix_use_runtimelinking" = yes; then
13888 # Warning - without using the other runtime loading flags (-brtl),
13889 # -berok will link without error, but may produce a broken library.
13890 allow_undefined_flag_F77
='-berok'
13891 # Determine the default libpath from the value encoded in an empty executable.
13892 cat >conftest.
$ac_ext <<_ACEOF
13897 rm -f conftest.
$ac_objext conftest
$ac_exeext
13898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13899 (eval $ac_link) 2>conftest.er1
13901 grep -v '^ *+' conftest.er1
>conftest.err
13903 cat conftest.err
>&5
13904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13905 (exit $ac_status); } &&
13906 { ac_try
='test -z "$ac_f77_werror_flag"
13907 || test ! -s conftest.err'
13908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13909 (eval $ac_try) 2>&5
13911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13912 (exit $ac_status); }; } &&
13913 { ac_try
='test -s conftest$ac_exeext'
13914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13915 (eval $ac_try) 2>&5
13917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13918 (exit $ac_status); }; }; then
13920 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13922 # Check for a 64-bit object if we didn't find anything.
13923 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; }
13926 echo "$as_me: failed program was:" >&5
13927 sed 's/^/| /' conftest.
$ac_ext >&5
13930 rm -f conftest.err conftest.
$ac_objext \
13931 conftest
$ac_exeext conftest.
$ac_ext
13932 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13934 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
13935 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"
13937 if test "$host_cpu" = ia64
; then
13938 hardcode_libdir_flag_spec_F77
='${wl}-R $libdir:/usr/lib:/lib'
13939 allow_undefined_flag_F77
="-z nodefs"
13940 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"
13942 # Determine the default libpath from the value encoded in an empty executable.
13943 cat >conftest.
$ac_ext <<_ACEOF
13948 rm -f conftest.
$ac_objext conftest
$ac_exeext
13949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13950 (eval $ac_link) 2>conftest.er1
13952 grep -v '^ *+' conftest.er1
>conftest.err
13954 cat conftest.err
>&5
13955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13956 (exit $ac_status); } &&
13957 { ac_try
='test -z "$ac_f77_werror_flag"
13958 || test ! -s conftest.err'
13959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13960 (eval $ac_try) 2>&5
13962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13963 (exit $ac_status); }; } &&
13964 { ac_try
='test -s conftest$ac_exeext'
13965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13966 (eval $ac_try) 2>&5
13968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13969 (exit $ac_status); }; }; then
13971 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13973 # Check for a 64-bit object if we didn't find anything.
13974 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; }
13977 echo "$as_me: failed program was:" >&5
13978 sed 's/^/| /' conftest.
$ac_ext >&5
13981 rm -f conftest.err conftest.
$ac_objext \
13982 conftest
$ac_exeext conftest.
$ac_ext
13983 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13985 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
13986 # Warning - without using the other run time loading flags,
13987 # -berok will link without error, but may produce a broken library.
13988 no_undefined_flag_F77
=' ${wl}-bernotok'
13989 allow_undefined_flag_F77
=' ${wl}-berok'
13990 # Exported symbols can be pulled into shared objects from archives
13991 whole_archive_flag_spec_F77
='$convenience'
13992 archive_cmds_need_lc_F77
=yes
13993 # This is similar to how AIX traditionally builds its shared libraries.
13994 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'
14000 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)'
14001 hardcode_libdir_flag_spec_F77
='-L$libdir'
14002 hardcode_minus_L_F77
=yes
14003 # see comment about different semantics on the GNU ld section
14008 export_dynamic_flag_spec_F77
=-rdynamic
14011 cygwin
* | mingw
* | pw32
*)
14012 # When not using gcc, we currently assume that we are using
14013 # Microsoft Visual C++.
14014 # hardcode_libdir_flag_spec is actually meaningless, as there is
14015 # no search path for DLLs.
14016 hardcode_libdir_flag_spec_F77
=' '
14017 allow_undefined_flag_F77
=unsupported
14018 # Tell ltmain to make .lib files, not .a files.
14020 # Tell ltmain to make .dll files, not .so files.
14022 # FIXME: Setting linknames here is a bad hack.
14023 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
14024 # The linker will automatically build a .lib file if we build a DLL.
14025 old_archive_From_new_cmds_F77
='true'
14026 # FIXME: Should let the user specify the lib program.
14027 old_archive_cmds_F77
='lib /OUT:$oldlib$oldobjs$old_deplibs'
14028 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
14029 enable_shared_with_static_runtimes_F77
=yes
14032 darwin
* | rhapsody
*)
14034 rhapsody
* | darwin1.
[012])
14035 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
14038 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14039 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14041 case ${MACOSX_DEPLOYMENT_TARGET} in
14043 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14046 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
14052 archive_cmds_need_lc_F77
=no
14053 hardcode_direct_F77
=no
14054 hardcode_automatic_F77
=yes
14055 hardcode_shlibpath_var_F77
=unsupported
14056 whole_archive_flag_spec_F77
=''
14057 link_all_deplibs_F77
=yes
14058 if test "$GCC" = yes ; then
14059 output_verbose_link_cmd
='echo'
14060 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14061 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14062 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14063 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}'
14064 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}'
14066 case $cc_basename in
14068 output_verbose_link_cmd
='echo'
14069 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
14070 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14071 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14072 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}'
14073 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}'
14083 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14084 hardcode_libdir_flag_spec_F77
='-L$libdir'
14085 hardcode_shlibpath_var_F77
=no
14092 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14093 # support. Future versions do this automatically, but an explicit c++rt0.o
14094 # does not break anything, and helps significantly (at the cost of a little
14097 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14098 hardcode_libdir_flag_spec_F77
='-R$libdir'
14099 hardcode_direct_F77
=yes
14100 hardcode_shlibpath_var_F77
=no
14103 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14105 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14106 hardcode_direct_F77
=yes
14107 hardcode_minus_L_F77
=yes
14108 hardcode_shlibpath_var_F77
=no
14111 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14112 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
14113 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14114 hardcode_libdir_flag_spec_F77
='-R$libdir'
14115 hardcode_direct_F77
=yes
14116 hardcode_shlibpath_var_F77
=no
14120 if test "$GCC" = yes; then
14121 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'
14123 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'
14125 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14126 hardcode_libdir_separator_F77
=:
14127 hardcode_direct_F77
=yes
14129 # hardcode_minus_L: Not really in the search PATH,
14130 # but as the default location of the library.
14131 hardcode_minus_L_F77
=yes
14132 export_dynamic_flag_spec_F77
='${wl}-E'
14136 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14137 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14139 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14141 if test "$with_gnu_ld" = no
; then
14142 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14143 hardcode_libdir_separator_F77
=:
14145 hardcode_direct_F77
=yes
14146 export_dynamic_flag_spec_F77
='${wl}-E'
14148 # hardcode_minus_L: Not really in the search PATH,
14149 # but as the default location of the library.
14150 hardcode_minus_L_F77
=yes
14155 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14158 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14161 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14164 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14170 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14173 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14176 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14180 if test "$with_gnu_ld" = no
; then
14181 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14182 hardcode_libdir_separator_F77
=:
14186 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
14187 hardcode_direct_F77
=no
14188 hardcode_shlibpath_var_F77
=no
14191 hardcode_direct_F77
=yes
14192 export_dynamic_flag_spec_F77
='${wl}-E'
14194 # hardcode_minus_L: Not really in the search PATH,
14195 # but as the default location of the library.
14196 hardcode_minus_L_F77
=yes
14202 irix5
* | irix6
* | nonstopux
*)
14203 if test "$GCC" = yes; then
14204 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'
14206 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'
14207 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
14209 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14210 hardcode_libdir_separator_F77
=:
14211 link_all_deplibs_F77
=yes
14215 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14216 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14218 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14220 hardcode_libdir_flag_spec_F77
='-R$libdir'
14221 hardcode_direct_F77
=yes
14222 hardcode_shlibpath_var_F77
=no
14226 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14227 hardcode_direct_F77
=yes
14228 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14229 hardcode_libdir_separator_F77
=:
14230 hardcode_shlibpath_var_F77
=no
14234 hardcode_direct_F77
=yes
14235 hardcode_shlibpath_var_F77
=no
14236 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14237 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14238 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14239 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14240 export_dynamic_flag_spec_F77
='${wl}-E'
14243 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
14244 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14245 hardcode_libdir_flag_spec_F77
='-R$libdir'
14248 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14249 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14256 hardcode_libdir_flag_spec_F77
='-L$libdir'
14257 hardcode_minus_L_F77
=yes
14258 allow_undefined_flag_F77
=unsupported
14259 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'
14260 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14264 if test "$GCC" = yes; then
14265 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14266 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'
14268 allow_undefined_flag_F77
=' -expect_unresolved \*'
14269 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'
14271 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14272 hardcode_libdir_separator_F77
=:
14275 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
14276 if test "$GCC" = yes; then
14277 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14278 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'
14279 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14281 allow_undefined_flag_F77
=' -expect_unresolved \*'
14282 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'
14283 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~
14284 $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'
14286 # Both c and cxx compiler support -rpath directly
14287 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
14289 hardcode_libdir_separator_F77
=:
14293 no_undefined_flag_F77
=' -z text'
14294 if test "$GCC" = yes; then
14296 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14297 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14298 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
14301 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14302 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14303 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14305 hardcode_libdir_flag_spec_F77
='-R$libdir'
14306 hardcode_shlibpath_var_F77
=no
14308 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14310 # The compiler driver will combine linker options so we
14311 # cannot just pass the convience library names through
14312 # without $wl, iff we do not link with $LD.
14313 # Luckily, gcc supports the same syntax we need for Sun Studio.
14314 # Supported since Solaris 2.6 (maybe 2.5.1?)
14317 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract' ;;
14319 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' ;;
14322 link_all_deplibs_F77
=yes
14326 if test "x$host_vendor" = xsequent
; then
14327 # Use $CC to link under sequent, because it throws in some extra .o
14328 # files that make .init and .fini sections work.
14329 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14331 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14333 hardcode_libdir_flag_spec_F77
='-L$libdir'
14334 hardcode_direct_F77
=yes
14335 hardcode_minus_L_F77
=yes
14336 hardcode_shlibpath_var_F77
=no
14340 case $host_vendor in
14342 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14343 hardcode_direct_F77
=yes # is this really true???
14346 ## LD is ld it makes a PLAMLIB
14347 ## CC just makes a GrossModule.
14348 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14349 reload_cmds_F77
='$CC -r -o $output$reload_objs'
14350 hardcode_direct_F77
=no
14353 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14354 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
14357 runpath_var
='LD_RUN_PATH'
14358 hardcode_shlibpath_var_F77
=no
14362 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14363 hardcode_shlibpath_var_F77
=no
14364 export_dynamic_flag_spec_F77
='-Bexport'
14368 if test -d /usr
/nec
; then
14369 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14370 hardcode_shlibpath_var_F77
=no
14371 runpath_var
=LD_RUN_PATH
14372 hardcode_runpath_var
=yes
14377 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
14378 no_undefined_flag_F77
='${wl}-z,text'
14379 archive_cmds_need_lc_F77
=no
14380 hardcode_shlibpath_var_F77
=no
14381 runpath_var
='LD_RUN_PATH'
14383 if test "$GCC" = yes; then
14384 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14385 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14387 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14388 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14392 sysv5
* | sco3.2v5
* | sco5v6
*)
14393 # Note: We can NOT use -z defs as we might desire, because we do not
14394 # link with -lc, and that would cause any symbols used from libc to
14395 # always be unresolved, which means just about no library would
14396 # ever link correctly. If we're not using GNU ld we use -z text
14397 # though, which does catch some bad symbols but isn't as heavy-handed
14399 no_undefined_flag_F77
='${wl}-z,text'
14400 allow_undefined_flag_F77
='${wl}-z,nodefs'
14401 archive_cmds_need_lc_F77
=no
14402 hardcode_shlibpath_var_F77
=no
14403 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
14404 hardcode_libdir_separator_F77
=':'
14405 link_all_deplibs_F77
=yes
14406 export_dynamic_flag_spec_F77
='${wl}-Bexport'
14407 runpath_var
='LD_RUN_PATH'
14409 if test "$GCC" = yes; then
14410 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14411 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14413 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14414 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14419 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14420 hardcode_libdir_flag_spec_F77
='-L$libdir'
14421 hardcode_shlibpath_var_F77
=no
14430 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
14431 echo "${ECHO_T}$ld_shlibs_F77" >&6
14432 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
14435 # Do we need to explicitly link libc?
14437 case "x$archive_cmds_need_lc_F77" in
14439 # Assume -lc should be added
14440 archive_cmds_need_lc_F77
=yes
14442 if test "$enable_shared" = yes && test "$GCC" = yes; then
14443 case $archive_cmds_F77 in
14445 # FIXME: we may have to deal with multi-command sequences.
14448 # Test whether the compiler implicitly links with -lc since on some
14449 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14450 # to ld, don't add -lc before -lgcc.
14451 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14452 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
14454 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14457 (eval $ac_compile) 2>&5
14459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14460 (exit $ac_status); } 2>conftest.err
; then
14463 libobjs
=conftest.
$ac_objext
14465 wl
=$lt_prog_compiler_wl_F77
14466 pic_flag
=$lt_prog_compiler_pic_F77
14472 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
14473 allow_undefined_flag_F77
=
14474 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
14475 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14478 (exit $ac_status); }
14480 archive_cmds_need_lc_F77
=no
14482 archive_cmds_need_lc_F77
=yes
14484 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
14486 cat conftest.err
1>&5
14489 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
14490 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
14497 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14498 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14499 library_names_spec
=
14500 libname_spec
='lib$name'
14504 postuninstall_cmds
=
14508 shlibpath_overrides_runpath
=unknown
14510 dynamic_linker
="$host_os ld.so"
14511 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14512 if test "$GCC" = yes; then
14513 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14514 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
14515 # if the path contains ";" then we assume it to be the separator
14516 # otherwise default to the standard path separator (i.e. ":") - it is
14517 # assumed that no part of a normal pathname contains ";" but that should
14518 # okay in the real world where ";" in dirpaths is itself problematic.
14519 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14521 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14524 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
14526 need_lib_prefix
=unknown
14527 hardcode_into_libs
=no
14529 # when you set need_version to no, make sure it does not cause -set_version
14530 # flags to be left without arguments
14531 need_version
=unknown
14536 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14537 shlibpath_var
=LIBPATH
14539 # AIX 3 has no versioning support, so we append a major version to the name.
14540 soname_spec
='${libname}${release}${shared_ext}$major'
14547 hardcode_into_libs
=yes
14548 if test "$host_cpu" = ia64
; then
14549 # AIX 5 supports IA64
14550 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14551 shlibpath_var
=LD_LIBRARY_PATH
14553 # With GCC up to 2.95.x, collect2 would create an import file
14554 # for dependence libraries. The import file would start with
14555 # the line `#! .'. This would cause the generated library to
14556 # depend on `.', always an invalid library. This was fixed in
14557 # development snapshots of GCC prior to 3.0.
14559 aix4 | aix4.
[01] | aix4.
[01].
*)
14560 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14562 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
14565 can_build_shared
=no
14569 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14570 # soname into executable. Probably we can add versioning support to
14571 # collect2, so additional links can be useful in future.
14572 if test "$aix_use_runtimelinking" = yes; then
14573 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14574 # instead of lib<name>.a to let people know that these are not
14575 # typical AIX shared libraries.
14576 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14578 # We preserve .a as extension for shared libraries through AIX4.2
14579 # and later when we are not doing run time linking.
14580 library_names_spec
='${libname}${release}.a $libname.a'
14581 soname_spec
='${libname}${release}${shared_ext}$major'
14583 shlibpath_var
=LIBPATH
14588 library_names_spec
='$libname.ixlibrary $libname.a'
14589 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14590 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'
14594 library_names_spec
='${libname}${shared_ext}'
14595 dynamic_linker
="$host_os ld.so"
14596 shlibpath_var
=LIBRARY_PATH
14602 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14603 soname_spec
='${libname}${release}${shared_ext}$major'
14604 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14605 shlibpath_var
=LD_LIBRARY_PATH
14606 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14607 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14608 # the default ld.so.conf also contains /usr/contrib/lib and
14609 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14610 # libtool to hard-code these into programs
14613 cygwin
* | mingw
* | pw32
*)
14614 version_type
=windows
14619 case $GCC,$host_os in
14620 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
14621 library_names_spec
='$libname.dll.a'
14622 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14623 postinstall_cmds
='base_file=`basename \${file}`~
14624 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14625 dldir=$destdir/`dirname \$dlpath`~
14626 test -d \$dldir || mkdir -p \$dldir~
14627 $install_prog $dir/$dlname \$dldir/$dlname~
14628 chmod a+x \$dldir/$dlname'
14629 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14630 dlpath=$dir/\$dldll~
14632 shlibpath_overrides_runpath
=yes
14636 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14637 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14638 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
14641 # MinGW DLLs use traditional 'lib' prefix
14642 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14643 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14644 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
14645 # It is most probably a Windows format PATH printed by
14646 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14647 # path with ; separators, and with drive letters. We can handle the
14648 # drive letters (cygwin fileutils understands them), so leave them,
14649 # especially as we might pass files found there to a mingw objdump,
14650 # which wouldn't understand a cygwinified path. Ahh.
14651 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14653 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14657 # pw32 DLLs use 'pw' prefix rather than 'lib'
14658 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14664 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14667 dynamic_linker
='Win32 ld.exe'
14668 # FIXME: first we should search . and the directory the executable is in
14672 darwin
* | rhapsody
*)
14673 dynamic_linker
="$host_os dyld"
14674 version_type
=darwin
14677 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14678 soname_spec
='${libname}${release}${major}$shared_ext'
14679 shlibpath_overrides_runpath
=yes
14680 shlibpath_var
=DYLD_LIBRARY_PATH
14681 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14682 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14683 if test "$GCC" = yes; then
14684 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"`
14686 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
14688 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14695 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14696 soname_spec
='${libname}${release}${shared_ext}$major'
14697 shlibpath_var
=LD_LIBRARY_PATH
14708 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14709 soname_spec
='${libname}${release}${shared_ext}$major'
14710 shlibpath_var
=LD_LIBRARY_PATH
14711 shlibpath_overrides_runpath
=no
14712 hardcode_into_libs
=yes
14713 dynamic_linker
='GNU ld.so'
14716 freebsd
* | dragonfly
*)
14717 # DragonFly does not have aout. When/if they implement a new
14718 # versioning mechanism, adjust this.
14719 if test -x /usr
/bin
/objformat
; then
14720 objformat
=`/usr/bin/objformat`
14723 freebsd
[123]*) objformat
=aout
;;
14724 *) objformat
=elf
;;
14727 version_type
=freebsd-
$objformat
14728 case $version_type in
14730 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14735 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14739 shlibpath_var
=LD_LIBRARY_PATH
14742 shlibpath_overrides_runpath
=yes
14744 freebsd3.
[01]* | freebsdelf3.
[01]*)
14745 shlibpath_overrides_runpath
=yes
14746 hardcode_into_libs
=yes
14748 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14749 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14750 shlibpath_overrides_runpath
=no
14751 hardcode_into_libs
=yes
14753 freebsd
*) # from 4.6 on
14754 shlibpath_overrides_runpath
=yes
14755 hardcode_into_libs
=yes
14764 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14765 soname_spec
='${libname}${release}${shared_ext}$major'
14766 shlibpath_var
=LD_LIBRARY_PATH
14767 hardcode_into_libs
=yes
14770 hpux9
* | hpux10
* | hpux11
*)
14771 # Give a soname corresponding to the major version so that dld.sl refuses to
14772 # link against other versions.
14779 hardcode_into_libs
=yes
14780 dynamic_linker
="$host_os dld.so"
14781 shlibpath_var
=LD_LIBRARY_PATH
14782 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14783 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14784 soname_spec
='${libname}${release}${shared_ext}$major'
14785 if test "X$HPUX_IA64_MODE" = X32
; then
14786 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14788 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14790 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14794 hardcode_into_libs
=yes
14795 dynamic_linker
="$host_os dld.sl"
14796 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14797 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14798 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14799 soname_spec
='${libname}${release}${shared_ext}$major'
14800 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14801 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14805 dynamic_linker
="$host_os dld.sl"
14806 shlibpath_var
=SHLIB_PATH
14807 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14808 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14809 soname_spec
='${libname}${release}${shared_ext}$major'
14812 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14813 postinstall_cmds
='chmod 555 $lib'
14820 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14821 soname_spec
='${libname}${release}${shared_ext}$major'
14822 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14823 shlibpath_var
=LD_LIBRARY_PATH
14824 shlibpath_overrides_runpath
=no
14825 hardcode_into_libs
=yes
14828 irix5
* | irix6
* | nonstopux
*)
14830 nonstopux
*) version_type
=nonstopux
;;
14832 if test "$lt_cv_prog_gnu_ld" = yes; then
14840 soname_spec
='${libname}${release}${shared_ext}$major'
14841 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14843 irix5
* | nonstopux
*)
14844 libsuff
= shlibsuff
=
14847 case $LD in # libtool.m4 will add one of these switches to LD
14848 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14849 libsuff
= shlibsuff
= libmagic
=32-bit;;
14850 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14851 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14852 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14853 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14854 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14858 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14859 shlibpath_overrides_runpath
=no
14860 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14861 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14862 hardcode_into_libs
=yes
14865 # No shared lib support for Linux oldld, aout, or coff.
14866 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14870 # This must be Linux ELF.
14875 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14876 soname_spec
='${libname}${release}${shared_ext}$major'
14877 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14878 shlibpath_var
=LD_LIBRARY_PATH
14879 shlibpath_overrides_runpath
=no
14880 # This implies no fast_install, which is unacceptable.
14881 # Some rework will be needed to allow for fast_install
14882 # before this can be enabled.
14883 hardcode_into_libs
=yes
14885 # find out which ABI we are using
14887 case "$host_cpu" in
14888 x86_64
*|s390x
*|powerpc64
*)
14889 echo '#line 14889 "configure"' > conftest.
$ac_ext
14890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14891 (eval $ac_compile) 2>&5
14893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14894 (exit $ac_status); }; then
14895 case `/usr/bin/file conftest.$ac_objext` in
14898 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
14906 # Append ld.so.conf contents to the search path
14907 if test -f /etc
/ld.so.conf
; then
14908 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' ' '`
14909 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
14912 # We used to test for /lib/ld.so.1 and disable shared libraries on
14913 # powerpc, because MkLinux only supported shared libraries with the
14914 # GNU dynamic linker. Since this was broken with cross compilers,
14915 # most powerpc-linux boxes support dynamic linking these days and
14916 # people can always --disable-shared, the test was removed, and we
14917 # assume the GNU/Linux dynamic linker is in use.
14918 dynamic_linker
='GNU/Linux ld.so'
14925 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14926 soname_spec
='${libname}${release}${shared_ext}$major'
14927 shlibpath_var
=LD_LIBRARY_PATH
14928 shlibpath_overrides_runpath
=no
14929 hardcode_into_libs
=yes
14930 dynamic_linker
='GNU ld.so'
14937 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14938 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14939 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14940 dynamic_linker
='NetBSD (a.out) ld.so'
14942 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14943 soname_spec
='${libname}${release}${shared_ext}$major'
14944 dynamic_linker
='NetBSD ld.elf_so'
14946 shlibpath_var
=LD_LIBRARY_PATH
14947 shlibpath_overrides_runpath
=yes
14948 hardcode_into_libs
=yes
14953 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14954 shlibpath_var
=LD_LIBRARY_PATH
14955 shlibpath_overrides_runpath
=yes
14962 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14963 soname_spec
='${libname}${release}${shared_ext}$major'
14964 shlibpath_var
=LD_LIBRARY_PATH
14965 shlibpath_overrides_runpath
=yes
14970 sys_lib_dlsearch_path_spec
="/usr/lib"
14972 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14974 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
14975 *) need_version
=no
;;
14977 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14978 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14979 shlibpath_var
=LD_LIBRARY_PATH
14980 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14982 openbsd2.
[89] | openbsd2.
[89].
*)
14983 shlibpath_overrides_runpath
=no
14986 shlibpath_overrides_runpath
=yes
14990 shlibpath_overrides_runpath
=yes
14995 libname_spec
='$name'
14998 library_names_spec
='$libname${shared_ext} $libname.a'
14999 dynamic_linker
='OS/2 ld.exe'
15000 shlibpath_var
=LIBPATH
15003 osf3
* | osf4
* | osf5
*)
15007 soname_spec
='${libname}${release}${shared_ext}$major'
15008 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15009 shlibpath_var
=LD_LIBRARY_PATH
15010 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15011 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15018 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15019 soname_spec
='${libname}${release}${shared_ext}$major'
15020 shlibpath_var
=LD_LIBRARY_PATH
15021 shlibpath_overrides_runpath
=yes
15022 hardcode_into_libs
=yes
15023 # ldd complains unless libraries are executable
15024 postinstall_cmds
='chmod +x $lib'
15029 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15030 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15031 shlibpath_var
=LD_LIBRARY_PATH
15032 shlibpath_overrides_runpath
=yes
15033 if test "$with_gnu_ld" = yes; then
15041 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15042 soname_spec
='${libname}${release}${shared_ext}$major'
15043 shlibpath_var
=LD_LIBRARY_PATH
15044 case $host_vendor in
15046 shlibpath_overrides_runpath
=no
15048 export_dynamic_flag_spec
='${wl}-Blargedynsym'
15049 runpath_var
=LD_RUN_PATH
15057 shlibpath_overrides_runpath
=no
15058 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15064 if test -d /usr
/nec
;then
15066 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15067 soname_spec
='$libname${shared_ext}.$major'
15068 shlibpath_var
=LD_LIBRARY_PATH
15072 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15073 version_type
=freebsd-elf
15076 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15077 soname_spec
='${libname}${release}${shared_ext}$major'
15078 shlibpath_var
=LD_LIBRARY_PATH
15079 hardcode_into_libs
=yes
15080 if test "$with_gnu_ld" = yes; then
15081 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15082 shlibpath_overrides_runpath
=no
15084 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15085 shlibpath_overrides_runpath
=yes
15088 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15092 sys_lib_dlsearch_path_spec
='/usr/lib'
15097 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15098 soname_spec
='${libname}${release}${shared_ext}$major'
15099 shlibpath_var
=LD_LIBRARY_PATH
15106 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15107 echo "${ECHO_T}$dynamic_linker" >&6
15108 test "$dynamic_linker" = no
&& can_build_shared
=no
15110 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15111 if test "$GCC" = yes; then
15112 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15115 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15116 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
15117 hardcode_action_F77
=
15118 if test -n "$hardcode_libdir_flag_spec_F77" || \
15119 test -n "$runpath_var_F77" || \
15120 test "X$hardcode_automatic_F77" = "Xyes" ; then
15122 # We can hardcode non-existant directories.
15123 if test "$hardcode_direct_F77" != no
&&
15124 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15125 # have to relink, otherwise we might link with an installed library
15126 # when we should be linking with a yet-to-be-installed one
15127 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
15128 test "$hardcode_minus_L_F77" != no
; then
15129 # Linking always hardcodes the temporary library directory.
15130 hardcode_action_F77
=relink
15132 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15133 hardcode_action_F77
=immediate
15136 # We cannot hardcode anything, or else we can only hardcode existing
15138 hardcode_action_F77
=unsupported
15140 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15141 echo "${ECHO_T}$hardcode_action_F77" >&6
15143 if test "$hardcode_action_F77" = relink
; then
15144 # Fast installation is not supported
15145 enable_fast_install
=no
15146 elif test "$shlibpath_overrides_runpath" = yes ||
15147 test "$enable_shared" = no
; then
15148 # Fast installation is not necessary
15149 enable_fast_install
=needless
15153 # The else clause should only fire when bootstrapping the
15154 # libtool distribution, otherwise you forgot to ship ltmain.sh
15155 # with your package, and you will get complaints that there are
15156 # no rules to generate ltmain.sh.
15157 if test -f "$ltmain"; then
15158 # See if we are running on zsh, and set the options which allow our commands through
15159 # without removal of \ escapes.
15160 if test -n "${ZSH_VERSION+set}" ; then
15161 setopt NO_GLOB_SUBST
15163 # Now quote all the things that may contain metacharacters while being
15164 # careful not to overquote the AC_SUBSTed values. We take copies of the
15165 # variables and quote the copies for generation of the libtool script.
15166 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
15168 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15169 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15170 deplibs_check_method reload_flag reload_cmds need_locks \
15171 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15172 lt_cv_sys_global_symbol_to_c_name_address \
15173 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15174 old_postinstall_cmds old_postuninstall_cmds \
15178 lt_prog_compiler_wl_F77 \
15179 lt_prog_compiler_pic_F77 \
15180 lt_prog_compiler_static_F77 \
15181 lt_prog_compiler_no_builtin_flag_F77 \
15182 export_dynamic_flag_spec_F77 \
15183 thread_safe_flag_spec_F77 \
15184 whole_archive_flag_spec_F77 \
15185 enable_shared_with_static_runtimes_F77 \
15186 old_archive_cmds_F77 \
15187 old_archive_from_new_cmds_F77 \
15188 predep_objects_F77 \
15189 postdep_objects_F77 \
15192 compiler_lib_search_path_F77 \
15194 archive_expsym_cmds_F77 \
15195 postinstall_cmds_F77 \
15196 postuninstall_cmds_F77 \
15197 old_archive_from_expsyms_cmds_F77 \
15198 allow_undefined_flag_F77 \
15199 no_undefined_flag_F77 \
15200 export_symbols_cmds_F77 \
15201 hardcode_libdir_flag_spec_F77 \
15202 hardcode_libdir_flag_spec_ld_F77 \
15203 hardcode_libdir_separator_F77 \
15204 hardcode_automatic_F77 \
15206 module_expsym_cmds_F77 \
15207 lt_cv_prog_compiler_c_o_F77 \
15208 exclude_expsyms_F77 \
15209 include_expsyms_F77
; do
15212 old_archive_cmds_F77 | \
15213 old_archive_from_new_cmds_F77 | \
15214 archive_cmds_F77 | \
15215 archive_expsym_cmds_F77 | \
15216 module_cmds_F77 | \
15217 module_expsym_cmds_F77 | \
15218 old_archive_from_expsyms_cmds_F77 | \
15219 export_symbols_cmds_F77 | \
15220 extract_expsyms_cmds | reload_cmds | finish_cmds | \
15221 postinstall_cmds | postuninstall_cmds | \
15222 old_postinstall_cmds | old_postuninstall_cmds | \
15223 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
15224 # Double-quote double-evaled strings.
15225 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15228 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15234 *'\$0 --fallback-echo"')
15235 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15241 cat <<__EOF__ >> "$cfgfile"
15242 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
15244 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15246 # Shell to use when invoking shell scripts.
15249 # Whether or not to build shared libraries.
15250 build_libtool_libs=$enable_shared
15252 # Whether or not to build static libraries.
15253 build_old_libs=$enable_static
15255 # Whether or not to add -lc for building shared libraries.
15256 build_libtool_need_lc=$archive_cmds_need_lc_F77
15258 # Whether or not to disallow shared libs when runtime libs are static
15259 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
15261 # Whether or not to optimize for fast installation.
15262 fast_install=$enable_fast_install
15265 host_alias=$host_alias
15269 # The build system.
15270 build_alias=$build_alias
15274 # An echo program that does not interpret backslashes.
15279 AR_FLAGS=$lt_AR_FLAGS
15284 # LTCC compiler flags.
15285 LTCFLAGS=$lt_LTCFLAGS
15287 # A language-specific compiler.
15288 CC=$lt_compiler_F77
15290 # Is the compiler the GNU C compiler?
15293 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
15294 gcc_ver=\`gcc -dumpversion\`
15299 # The linker used to build libraries.
15302 # Whether we need hard or soft links.
15305 # A BSD-compatible nm program.
15308 # A symbol stripping program
15311 # Used to examine libraries when file_magic_cmd begins "file"
15312 MAGIC_CMD=$MAGIC_CMD
15314 # Used on cygwin: DLL creation program.
15317 # Used on cygwin: object dumper.
15320 # Used on cygwin: assembler.
15323 # The name of the directory that contains temporary libtool files.
15326 # How to create reloadable object files.
15327 reload_flag=$lt_reload_flag
15328 reload_cmds=$lt_reload_cmds
15330 # How to pass a linker flag through the compiler.
15331 wl=$lt_lt_prog_compiler_wl_F77
15333 # Object file suffix (normally "o").
15334 objext="$ac_objext"
15336 # Old archive suffix (normally "a").
15339 # Shared library suffix (normally ".so").
15340 shrext_cmds='$shrext_cmds'
15342 # Executable file suffix (normally "").
15345 # Additional compiler flags for building library objects.
15346 pic_flag=$lt_lt_prog_compiler_pic_F77
15349 # What is the maximum length of a command?
15350 max_cmd_len=$lt_cv_sys_max_cmd_len
15352 # Does compiler simultaneously support -c and -o options?
15353 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
15355 # Must we lock files when doing compilation?
15356 need_locks=$lt_need_locks
15358 # Do we need the lib prefix for modules?
15359 need_lib_prefix=$need_lib_prefix
15361 # Do we need a version for libraries?
15362 need_version=$need_version
15364 # Whether dlopen is supported.
15365 dlopen_support=$enable_dlopen
15367 # Whether dlopen of programs is supported.
15368 dlopen_self=$enable_dlopen_self
15370 # Whether dlopen of statically linked programs is supported.
15371 dlopen_self_static=$enable_dlopen_self_static
15373 # Compiler flag to prevent dynamic linking.
15374 link_static_flag=$lt_lt_prog_compiler_static_F77
15376 # Compiler flag to turn off builtin functions.
15377 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
15379 # Compiler flag to allow reflexive dlopens.
15380 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
15382 # Compiler flag to generate shared objects directly from archives.
15383 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
15385 # Compiler flag to generate thread-safe objects.
15386 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
15388 # Library versioning type.
15389 version_type=$version_type
15391 # Format of library name prefix.
15392 libname_spec=$lt_libname_spec
15394 # List of archive names. First name is the real one, the rest are links.
15395 # The last name is the one that the linker finds with -lNAME.
15396 library_names_spec=$lt_library_names_spec
15398 # The coded name of the library, if different from the real name.
15399 soname_spec=$lt_soname_spec
15401 # Commands used to build and install an old-style archive.
15403 old_archive_cmds=$lt_old_archive_cmds_F77
15404 old_postinstall_cmds=$lt_old_postinstall_cmds
15405 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15407 # Create an old-style archive from a shared archive.
15408 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
15410 # Create a temporary old-style archive to link instead of a shared archive.
15411 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
15413 # Commands used to build and install a shared archive.
15414 archive_cmds=$lt_archive_cmds_F77
15415 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
15416 postinstall_cmds=$lt_postinstall_cmds
15417 postuninstall_cmds=$lt_postuninstall_cmds
15419 # Commands used to build a loadable module (assumed same as above if empty)
15420 module_cmds=$lt_module_cmds_F77
15421 module_expsym_cmds=$lt_module_expsym_cmds_F77
15423 # Commands to strip libraries.
15424 old_striplib=$lt_old_striplib
15425 striplib=$lt_striplib
15427 # Dependencies to place before the objects being linked to create a
15429 predep_objects=\`echo $lt_predep_objects_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
15431 # Dependencies to place after the objects being linked to create a
15433 postdep_objects=\`echo $lt_postdep_objects_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
15435 # Dependencies to place before the objects being linked to create a
15437 predeps=$lt_predeps_F77
15439 # Dependencies to place after the objects being linked to create a
15441 postdeps=$lt_postdeps_F77
15443 # The library search path used internally by the compiler when linking
15444 # a shared library.
15445 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"\`
15447 # Method to check whether dependent libraries are shared objects.
15448 deplibs_check_method=$lt_deplibs_check_method
15450 # Command to use when deplibs_check_method == file_magic.
15451 file_magic_cmd=$lt_file_magic_cmd
15453 # Flag that allows shared libraries with undefined symbols to be built.
15454 allow_undefined_flag=$lt_allow_undefined_flag_F77
15456 # Flag that forces no undefined symbols.
15457 no_undefined_flag=$lt_no_undefined_flag_F77
15459 # Commands used to finish a libtool library installation in a directory.
15460 finish_cmds=$lt_finish_cmds
15462 # Same as above, but a single script fragment to be evaled but not shown.
15463 finish_eval=$lt_finish_eval
15465 # Take the output of nm and produce a listing of raw symbols and C names.
15466 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15468 # Transform the output of nm in a proper C declaration
15469 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15471 # Transform the output of nm in a C name address pair
15472 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15474 # This is the shared library runtime path variable.
15475 runpath_var=$runpath_var
15477 # This is the shared library path variable.
15478 shlibpath_var=$shlibpath_var
15480 # Is shlibpath searched before the hard-coded library search path?
15481 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15483 # How to hardcode a shared library path into an executable.
15484 hardcode_action=$hardcode_action_F77
15486 # Whether we should hardcode library paths into libraries.
15487 hardcode_into_libs=$hardcode_into_libs
15489 # Flag to hardcode \$libdir into a binary during linking.
15490 # This must work even if \$libdir does not exist.
15491 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
15493 # If ld is used when linking, flag to hardcode \$libdir into
15494 # a binary during linking. This must work even if \$libdir does
15496 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
15498 # Whether we need a single -rpath flag with a separated argument.
15499 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
15501 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
15502 # resulting binary.
15503 hardcode_direct=$hardcode_direct_F77
15505 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
15506 # resulting binary.
15507 hardcode_minus_L=$hardcode_minus_L_F77
15509 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
15510 # the resulting binary.
15511 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
15513 # Set to yes if building a shared library automatically hardcodes DIR into the library
15514 # and all subsequent libraries and executables linked against it.
15515 hardcode_automatic=$hardcode_automatic_F77
15517 # Variables whose values should be saved in libtool wrapper scripts and
15518 # restored at relink time.
15519 variables_saved_for_relink="$variables_saved_for_relink"
15521 # Whether libtool must link a program against all its dependency libraries.
15522 link_all_deplibs=$link_all_deplibs_F77
15524 # Compile-time system search path for libraries
15525 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"\`
15527 # Run-time system search path for libraries
15528 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15530 # Fix the shell variable \$srcfile for the compiler.
15531 fix_srcfile_path="$fix_srcfile_path_F77"
15533 # Set to yes if exported symbols are required.
15534 always_export_symbols=$always_export_symbols_F77
15536 # The commands to list exported symbols.
15537 export_symbols_cmds=$lt_export_symbols_cmds_F77
15539 # The commands to extract the exported symbol list from a shared archive.
15540 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15542 # Symbols that should not be listed in the preloaded symbols.
15543 exclude_expsyms=$lt_exclude_expsyms_F77
15545 # Symbols that must always be exported.
15546 include_expsyms=$lt_include_expsyms_F77
15548 # ### END LIBTOOL TAG CONFIG: $tagname
15554 # If there is no Makefile yet, we rely on a make rule to execute
15555 # `config.status --recheck' to rerun these tests and create the
15556 # libtool script then.
15557 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
15558 if test -f "$ltmain_in"; then
15559 test -f Makefile
&& make "$ltmain"
15565 ac_cpp
='$CPP $CPPFLAGS'
15566 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15567 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15568 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15578 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
15582 # Source file extension for Java test sources.
15585 # Object file extension for compiled Java test sources.
15589 # Code to be used in simple compile tests
15590 lt_simple_compile_test_code
="class foo {}\n"
15592 # Code to be used in simple link tests
15593 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }\n'
15595 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15597 # If no C compiler was specified, use CC.
15600 # If no C compiler flags were specified, use CFLAGS.
15601 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
15603 # Allow CC to be a program name with arguments.
15607 # save warnings/boilerplate of simple test code
15608 ac_outfile
=conftest.
$ac_objext
15609 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
15610 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
15611 _lt_compiler_boilerplate
=`cat conftest.err`
15614 ac_outfile
=conftest.
$ac_objext
15615 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
15616 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
15617 _lt_linker_boilerplate
=`cat conftest.err`
15621 # Allow CC to be a program name with arguments.
15626 for cc_temp
in $compiler""; do
15628 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
15629 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
15634 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15637 # GCJ did not exist at the time GCC didn't implicitly link libc in.
15638 archive_cmds_need_lc_GCJ
=no
15640 old_archive_cmds_GCJ
=$old_archive_cmds
15643 lt_prog_compiler_no_builtin_flag_GCJ
=
15645 if test "$GCC" = yes; then
15646 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
15649 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15650 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
15651 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15652 echo $ECHO_N "(cached) $ECHO_C" >&6
15654 lt_cv_prog_compiler_rtti_exceptions
=no
15655 ac_outfile
=conftest.
$ac_objext
15656 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15657 lt_compiler_flag
="-fno-rtti -fno-exceptions"
15658 # Insert the option either (1) after the last *FLAGS variable, or
15659 # (2) before a word containing "conftest.", or (3) at the end.
15660 # Note that $ac_compile itself does not contain backslashes and begins
15661 # with a dollar sign (not a hyphen), so the echo should work correctly.
15662 # The option is referenced via a variable to avoid confusing sed.
15663 lt_compile
=`echo "$ac_compile" | $SED \
15664 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15665 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15666 -e 's:$: $lt_compiler_flag:'`
15667 (eval echo "\"\$as_me:15667: $lt_compile\"" >&5)
15668 (eval "$lt_compile" 2>conftest.err
)
15670 cat conftest.err
>&5
15671 echo "$as_me:15671: \$? = $ac_status" >&5
15672 if (exit $ac_status) && test -s "$ac_outfile"; then
15673 # The compiler can only warn and ignore the option if not recognized
15674 # So say no if there are warnings other than the usual output.
15675 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
15676 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15677 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
15678 lt_cv_prog_compiler_rtti_exceptions
=yes
15684 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15685 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
15687 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
15688 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15695 lt_prog_compiler_wl_GCJ
=
15696 lt_prog_compiler_pic_GCJ
=
15697 lt_prog_compiler_static_GCJ
=
15699 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15700 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15702 if test "$GCC" = yes; then
15703 lt_prog_compiler_wl_GCJ
='-Wl,'
15704 lt_prog_compiler_static_GCJ
='-static'
15708 # All AIX code is PIC.
15709 if test "$host_cpu" = ia64
; then
15710 # AIX 5 now supports IA64 processor
15711 lt_prog_compiler_static_GCJ
='-Bstatic'
15716 # FIXME: we need at least 68020 code to build shared libraries, but
15717 # adding the `-m68020' flag to GCC prevents building anything better,
15719 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
15722 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
15723 # PIC is the default for these OSes.
15726 mingw
* | pw32
* | os2
*)
15727 # This hack is so that the source file can tell whether it is being
15728 # built for inclusion in a dll (and should export symbols for example).
15729 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
15732 darwin
* | rhapsody
*)
15733 # PIC is the default on this platform
15734 # Common symbols not allowed in MH_DYLIB files
15735 lt_prog_compiler_pic_GCJ
='-fno-common'
15739 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15740 # Instead, we relocate shared libraries at runtime.
15744 # Just because we use GCC doesn't mean we suddenly get shared libraries
15745 # on systems that don't support them.
15746 lt_prog_compiler_can_build_shared_GCJ
=no
15751 if test -d /usr
/nec
; then
15752 lt_prog_compiler_pic_GCJ
=-Kconform_pic
15757 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15758 # not for PA HP-UX.
15764 lt_prog_compiler_pic_GCJ
='-fPIC'
15770 lt_prog_compiler_pic_GCJ
='-fPIC'
15774 # PORTME Check for flag to pass linker flags through the system compiler.
15777 lt_prog_compiler_wl_GCJ
='-Wl,'
15778 if test "$host_cpu" = ia64
; then
15779 # AIX 5 now supports IA64 processor
15780 lt_prog_compiler_static_GCJ
='-Bstatic'
15782 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
15786 # PIC is the default on this platform
15787 # Common symbols not allowed in MH_DYLIB files
15788 case $cc_basename in
15790 lt_prog_compiler_pic_GCJ
='-qnocommon'
15791 lt_prog_compiler_wl_GCJ
='-Wl,'
15796 mingw
* | pw32
* | os2
*)
15797 # This hack is so that the source file can tell whether it is being
15798 # built for inclusion in a dll (and should export symbols for example).
15799 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
15802 hpux9
* | hpux10
* | hpux11
*)
15803 lt_prog_compiler_wl_GCJ
='-Wl,'
15804 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15805 # not for PA HP-UX.
15811 lt_prog_compiler_pic_GCJ
='+Z'
15814 # Is there a better lt_prog_compiler_static that works with the bundled CC?
15815 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
15818 irix5
* | irix6
* | nonstopux
*)
15819 lt_prog_compiler_wl_GCJ
='-Wl,'
15820 # PIC (with -KPIC) is the default.
15821 lt_prog_compiler_static_GCJ
='-non_shared'
15825 lt_prog_compiler_pic_GCJ
='-KPIC'
15826 lt_prog_compiler_static_GCJ
='-Bstatic'
15830 case $cc_basename in
15832 lt_prog_compiler_wl_GCJ
='-Wl,'
15833 lt_prog_compiler_pic_GCJ
='-KPIC'
15834 lt_prog_compiler_static_GCJ
='-static'
15836 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
15837 # Portland Group compilers (*not* the Pentium gcc compiler,
15838 # which looks to be a dead project)
15839 lt_prog_compiler_wl_GCJ
='-Wl,'
15840 lt_prog_compiler_pic_GCJ
='-fpic'
15841 lt_prog_compiler_static_GCJ
='-Bstatic'
15844 lt_prog_compiler_wl_GCJ
='-Wl,'
15845 # All Alpha code is PIC.
15846 lt_prog_compiler_static_GCJ
='-non_shared'
15851 osf3
* | osf4
* | osf5
*)
15852 lt_prog_compiler_wl_GCJ
='-Wl,'
15853 # All OSF/1 code is PIC.
15854 lt_prog_compiler_static_GCJ
='-non_shared'
15858 lt_prog_compiler_pic_GCJ
='-KPIC'
15859 lt_prog_compiler_static_GCJ
='-Bstatic'
15860 case $cc_basename in
15861 f77
* | f90
* | f95
*)
15862 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
15864 lt_prog_compiler_wl_GCJ
='-Wl,';;
15869 lt_prog_compiler_wl_GCJ
='-Qoption ld '
15870 lt_prog_compiler_pic_GCJ
='-PIC'
15871 lt_prog_compiler_static_GCJ
='-Bstatic'
15874 sysv4 | sysv4.2uw2
* | sysv4.3
*)
15875 lt_prog_compiler_wl_GCJ
='-Wl,'
15876 lt_prog_compiler_pic_GCJ
='-KPIC'
15877 lt_prog_compiler_static_GCJ
='-Bstatic'
15881 if test -d /usr
/nec
;then
15882 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
15883 lt_prog_compiler_static_GCJ
='-Bstatic'
15887 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
15888 lt_prog_compiler_wl_GCJ
='-Wl,'
15889 lt_prog_compiler_pic_GCJ
='-KPIC'
15890 lt_prog_compiler_static_GCJ
='-Bstatic'
15894 lt_prog_compiler_wl_GCJ
='-Wl,'
15895 lt_prog_compiler_can_build_shared_GCJ
=no
15899 lt_prog_compiler_pic_GCJ
='-pic'
15900 lt_prog_compiler_static_GCJ
='-Bstatic'
15904 lt_prog_compiler_can_build_shared_GCJ
=no
15909 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
15910 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
15913 # Check to make sure the PIC flag actually works.
15915 if test -n "$lt_prog_compiler_pic_GCJ"; then
15917 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
15918 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
15919 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
15920 echo $ECHO_N "(cached) $ECHO_C" >&6
15922 lt_prog_compiler_pic_works_GCJ
=no
15923 ac_outfile
=conftest.
$ac_objext
15924 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15925 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
15926 # Insert the option either (1) after the last *FLAGS variable, or
15927 # (2) before a word containing "conftest.", or (3) at the end.
15928 # Note that $ac_compile itself does not contain backslashes and begins
15929 # with a dollar sign (not a hyphen), so the echo should work correctly.
15930 # The option is referenced via a variable to avoid confusing sed.
15931 lt_compile
=`echo "$ac_compile" | $SED \
15932 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15933 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15934 -e 's:$: $lt_compiler_flag:'`
15935 (eval echo "\"\$as_me:15935: $lt_compile\"" >&5)
15936 (eval "$lt_compile" 2>conftest.err
)
15938 cat conftest.err
>&5
15939 echo "$as_me:15939: \$? = $ac_status" >&5
15940 if (exit $ac_status) && test -s "$ac_outfile"; then
15941 # The compiler can only warn and ignore the option if not recognized
15942 # So say no if there are warnings other than the usual output.
15943 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
15944 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15945 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
15946 lt_prog_compiler_pic_works_GCJ
=yes
15952 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
15953 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
15955 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
15956 case $lt_prog_compiler_pic_GCJ in
15958 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
15961 lt_prog_compiler_pic_GCJ
=
15962 lt_prog_compiler_can_build_shared_GCJ
=no
15967 # For platforms which do not support PIC, -DPIC is meaningless:
15969 lt_prog_compiler_pic_GCJ
=
15972 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
15977 # Check to make sure the static flag actually works.
15979 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
15980 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15981 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
15982 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
15983 echo $ECHO_N "(cached) $ECHO_C" >&6
15985 lt_prog_compiler_static_works_GCJ
=no
15986 save_LDFLAGS
="$LDFLAGS"
15987 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
15988 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
15989 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
15990 # The linker can only warn and ignore the option if not recognized
15991 # So say no if there are warnings
15992 if test -s conftest.err
; then
15993 # Append any errors to the config.log.
15994 cat conftest.err
1>&5
15995 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
15996 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15997 if diff conftest.exp conftest.er2
>/dev
/null
; then
15998 lt_prog_compiler_static_works_GCJ
=yes
16001 lt_prog_compiler_static_works_GCJ
=yes
16005 LDFLAGS
="$save_LDFLAGS"
16008 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
16009 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6
16011 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
16014 lt_prog_compiler_static_GCJ
=
16018 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16019 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
16020 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16021 echo $ECHO_N "(cached) $ECHO_C" >&6
16023 lt_cv_prog_compiler_c_o_GCJ
=no
16024 $rm -r conftest
2>/dev
/null
16028 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16030 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16031 # Insert the option either (1) after the last *FLAGS variable, or
16032 # (2) before a word containing "conftest.", or (3) at the end.
16033 # Note that $ac_compile itself does not contain backslashes and begins
16034 # with a dollar sign (not a hyphen), so the echo should work correctly.
16035 lt_compile
=`echo "$ac_compile" | $SED \
16036 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16037 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16038 -e 's:$: $lt_compiler_flag:'`
16039 (eval echo "\"\$as_me:16039: $lt_compile\"" >&5)
16040 (eval "$lt_compile" 2>out
/conftest.err
)
16042 cat out
/conftest.err
>&5
16043 echo "$as_me:16043: \$? = $ac_status" >&5
16044 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16046 # The compiler can only warn and ignore the option if not recognized
16047 # So say no if there are warnings
16048 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
16049 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16050 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16051 lt_cv_prog_compiler_c_o_GCJ
=yes
16056 # SGI C++ compiler will create directory out/ii_files/ for
16057 # template instantiation
16058 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
16059 $rm out
/* && rmdir out
16065 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16066 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
16069 hard_links
="nottested"
16070 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
16071 # do not overwrite the value of need_locks provided by the user
16072 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16073 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
16076 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16078 ln conftest.a conftest.b
2>&5 || hard_links
=no
16079 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16080 echo "$as_me:$LINENO: result: $hard_links" >&5
16081 echo "${ECHO_T}$hard_links" >&6
16082 if test "$hard_links" = no
; then
16083 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16084 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16091 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16092 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
16095 allow_undefined_flag_GCJ
=
16096 enable_shared_with_static_runtimes_GCJ
=no
16098 archive_expsym_cmds_GCJ
=
16099 old_archive_From_new_cmds_GCJ
=
16100 old_archive_from_expsyms_cmds_GCJ
=
16101 export_dynamic_flag_spec_GCJ
=
16102 whole_archive_flag_spec_GCJ
=
16103 thread_safe_flag_spec_GCJ
=
16104 hardcode_libdir_flag_spec_GCJ
=
16105 hardcode_libdir_flag_spec_ld_GCJ
=
16106 hardcode_libdir_separator_GCJ
=
16107 hardcode_direct_GCJ
=no
16108 hardcode_minus_L_GCJ
=no
16109 hardcode_shlibpath_var_GCJ
=unsupported
16110 link_all_deplibs_GCJ
=unknown
16111 hardcode_automatic_GCJ
=no
16113 module_expsym_cmds_GCJ
=
16114 always_export_symbols_GCJ
=no
16115 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16116 # include_expsyms should be a list of space-separated symbols to be *always*
16117 # included in the symbol list
16118 include_expsyms_GCJ
=
16119 # exclude_expsyms can be an extended regexp of symbols to exclude
16120 # it will be wrapped by ` (' and `)$', so one must not match beginning or
16121 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16122 # as well as any symbol that contains `d'.
16123 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
16124 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16125 # platforms (ab)use it in PIC code, but their linkers get confused if
16126 # the symbol is explicitly referenced. Since portable code cannot
16127 # rely on this symbol name, it's probably fine to never include it in
16128 # preloaded symbol tables.
16129 extract_expsyms_cmds
=
16130 # Just being paranoid about ensuring that cc_basename is set.
16131 for cc_temp
in $compiler""; do
16133 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16134 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16139 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16142 cygwin
* | mingw
* | pw32
*)
16143 # FIXME: the MSVC++ port hasn't been tested in a loooong time
16144 # When not using gcc, we currently assume that we are using
16145 # Microsoft Visual C++.
16146 if test "$GCC" != yes; then
16151 # we just hope/assume this is gcc and not c89 (= MSVC++)
16160 if test "$with_gnu_ld" = yes; then
16161 # If archive_cmds runs LD, not CC, wlarc should be empty
16164 # Set some defaults for GNU ld with shared library support. These
16165 # are reset later if shared libraries are not supported. Putting them
16166 # here allows them to be overridden if necessary.
16167 runpath_var
=LD_RUN_PATH
16168 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
16169 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
16170 # ancient GNU ld didn't support --whole-archive et. al.
16171 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
16172 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16174 whole_archive_flag_spec_GCJ
=
16176 supports_anon_versioning
=no
16177 case `$LD -v 2>/dev/null` in
16178 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
16179 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
16180 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
16181 *\
2.11.
*) ;; # other 2.11 versions
16182 *) supports_anon_versioning
=yes ;;
16185 # See if GNU ld supports shared libraries.
16187 aix3
* | aix4
* | aix5
*)
16188 # On AIX/PPC, the GNU linker is very broken
16189 if test "$host_cpu" != ia64
; then
16193 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
16194 *** to be unable to reliably create shared libraries on AIX.
16195 *** Therefore, libtool is disabling shared libraries support. If you
16196 *** really care for shared libraries, you may want to modify your PATH
16197 *** so that a non-GNU linker is found, and then restart.
16204 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)'
16205 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16206 hardcode_minus_L_GCJ
=yes
16208 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16209 # that the semantics of dynamic libraries on AmigaOS, at least up
16210 # to version 4, is to share data among multiple programs linked
16211 # with the same dynamic library. Since this doesn't match the
16212 # behavior of shared libraries on other platforms, we can't use
16218 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16219 allow_undefined_flag_GCJ
=unsupported
16220 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16221 # support --undefined. This deserves some investigation. FIXME
16222 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16228 cygwin
* | mingw
* | pw32
*)
16229 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
16230 # as there is no search path for DLLs.
16231 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16232 allow_undefined_flag_GCJ
=unsupported
16233 always_export_symbols_GCJ
=no
16234 enable_shared_with_static_runtimes_GCJ
=yes
16235 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
16237 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
16238 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16239 # If the export-symbols file already is a .def file (1st line
16240 # is EXPORTS), use it as is; otherwise, prepend...
16241 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16242 cp $export_symbols $output_objdir/$soname.def;
16244 echo EXPORTS > $output_objdir/$soname.def;
16245 cat $export_symbols >> $output_objdir/$soname.def;
16247 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16254 hardcode_direct_GCJ
=no
16255 hardcode_shlibpath_var_GCJ
=no
16256 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16257 export_dynamic_flag_spec_GCJ
='${wl}-E'
16258 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
16259 # Instead, shared libraries are loaded at an image base (0x10000000 by
16260 # default) and relocated if they conflict, which is a slow very memory
16261 # consuming and fragmenting process. To avoid this, we pick a random,
16262 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
16263 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
16264 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'
16265 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'
16269 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16271 case $cc_basename,$host_cpu in
16272 pgcc
*) # Portland Group C compiler
16273 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'
16274 tmp_addflag
=' $pic_flag'
16276 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
16277 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'
16278 tmp_addflag
=' $pic_flag -Mnomain' ;;
16279 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
16280 tmp_addflag
=' -i_dynamic' ;;
16281 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
16282 tmp_addflag
=' -i_dynamic -nofor_main' ;;
16283 ifc
* | ifort
*) # Intel Fortran compiler
16284 tmp_addflag
=' -nofor_main' ;;
16286 archive_cmds_GCJ
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16288 if test $supports_anon_versioning = yes; then
16289 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
16290 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16291 $echo "local: *; };" >> $output_objdir/$libname.ver~
16292 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16300 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16301 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16304 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16305 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16310 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
16314 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
16315 *** create shared libraries on Solaris systems. Therefore, libtool
16316 *** is disabling shared libraries support. We urge you to upgrade GNU
16317 *** binutils to release 2.9.1 or newer. Another option is to modify
16318 *** your PATH or compiler configuration so that the native linker is
16319 *** used, and then restart.
16322 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16323 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16324 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16330 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
16331 case `$LD -v 2>&1` in
16332 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
16336 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
16337 *** reliably create shared libraries on SCO systems. Therefore, libtool
16338 *** is disabling shared libraries support. We urge you to upgrade GNU
16339 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
16340 *** your PATH or compiler configuration so that the native linker is
16341 *** used, and then restart.
16346 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16347 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
16348 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
16349 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
16358 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16360 hardcode_direct_GCJ
=yes
16361 hardcode_shlibpath_var_GCJ
=no
16365 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16366 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16367 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16374 if test "$ld_shlibs_GCJ" = no
; then
16376 hardcode_libdir_flag_spec_GCJ
=
16377 export_dynamic_flag_spec_GCJ
=
16378 whole_archive_flag_spec_GCJ
=
16381 # PORTME fill in a description of your system's linker (not GNU ld)
16384 allow_undefined_flag_GCJ
=unsupported
16385 always_export_symbols_GCJ
=yes
16386 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'
16387 # Note: this linker hardcodes the directories in LIBPATH if there
16388 # are no directories specified by -L.
16389 hardcode_minus_L_GCJ
=yes
16390 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
16391 # Neither direct hardcoding nor static linking is supported with a
16393 hardcode_direct_GCJ
=unsupported
16398 if test "$host_cpu" = ia64
; then
16399 # On IA64, the linker does run time linking by default, so we don't
16400 # have to do anything special.
16401 aix_use_runtimelinking
=no
16402 exp_sym_flag
='-Bexport'
16405 # If we're using GNU nm, then we don't want the "-C" option.
16406 # -C means demangle to AIX nm, but means don't demangle with GNU nm
16407 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
16408 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'
16410 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'
16412 aix_use_runtimelinking
=no
16414 # Test if we are trying to use run time linking or normal
16415 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16416 # need to do runtime linking.
16417 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
16418 for ld_flag
in $LDFLAGS; do
16419 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
16420 aix_use_runtimelinking
=yes
16427 exp_sym_flag
='-bexport'
16428 no_entry_flag
='-bnoentry'
16431 # When large executables or shared objects are built, AIX ld can
16432 # have problems creating the table of contents. If linking a library
16433 # or program results in "error TOC overflow" add -mminimal-toc to
16434 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
16435 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16437 archive_cmds_GCJ
=''
16438 hardcode_direct_GCJ
=yes
16439 hardcode_libdir_separator_GCJ
=':'
16440 link_all_deplibs_GCJ
=yes
16442 if test "$GCC" = yes; then
16443 case $host_os in aix4.
[012]|aix4.
[012].
*)
16444 # We only want to do this on AIX 4.2 and lower, the check
16445 # below for broken collect2 doesn't work under 4.3+
16446 collect2name
=`${CC} -print-prog-name=collect2`
16447 if test -f "$collect2name" && \
16448 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
16450 # We have reworked collect2
16451 hardcode_direct_GCJ
=yes
16453 # We have old collect2
16454 hardcode_direct_GCJ
=unsupported
16455 # It fails to find uninstalled libraries when the uninstalled
16456 # path is not listed in the libpath. Setting hardcode_minus_L
16457 # to unsupported forces relinking
16458 hardcode_minus_L_GCJ
=yes
16459 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16460 hardcode_libdir_separator_GCJ
=
16464 shared_flag
='-shared'
16465 if test "$aix_use_runtimelinking" = yes; then
16466 shared_flag
="$shared_flag "'${wl}-G'
16470 if test "$host_cpu" = ia64
; then
16471 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16472 # chokes on -Wl,-G. The following line is correct:
16475 if test "$aix_use_runtimelinking" = yes; then
16476 shared_flag
='${wl}-G'
16478 shared_flag
='${wl}-bM:SRE'
16483 # It seems that -bexpall does not export symbols beginning with
16484 # underscore (_), so it is better to generate a list of symbols to export.
16485 always_export_symbols_GCJ
=yes
16486 if test "$aix_use_runtimelinking" = yes; then
16487 # Warning - without using the other runtime loading flags (-brtl),
16488 # -berok will link without error, but may produce a broken library.
16489 allow_undefined_flag_GCJ
='-berok'
16490 # Determine the default libpath from the value encoded in an empty executable.
16491 cat >conftest.
$ac_ext <<_ACEOF
16494 cat confdefs.h
>>conftest.
$ac_ext
16495 cat >>conftest.
$ac_ext <<_ACEOF
16496 /* end confdefs.h. */
16506 rm -f conftest.
$ac_objext conftest
$ac_exeext
16507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16508 (eval $ac_link) 2>conftest.er1
16510 grep -v '^ *+' conftest.er1
>conftest.err
16512 cat conftest.err
>&5
16513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16514 (exit $ac_status); } &&
16515 { ac_try
='test -z "$ac_c_werror_flag"
16516 || test ! -s conftest.err'
16517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16518 (eval $ac_try) 2>&5
16520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16521 (exit $ac_status); }; } &&
16522 { ac_try
='test -s conftest$ac_exeext'
16523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16524 (eval $ac_try) 2>&5
16526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16527 (exit $ac_status); }; }; then
16529 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16531 # Check for a 64-bit object if we didn't find anything.
16532 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; }
16535 echo "$as_me: failed program was:" >&5
16536 sed 's/^/| /' conftest.
$ac_ext >&5
16539 rm -f conftest.err conftest.
$ac_objext \
16540 conftest
$ac_exeext conftest.
$ac_ext
16541 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
16543 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
16544 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"
16546 if test "$host_cpu" = ia64
; then
16547 hardcode_libdir_flag_spec_GCJ
='${wl}-R $libdir:/usr/lib:/lib'
16548 allow_undefined_flag_GCJ
="-z nodefs"
16549 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"
16551 # Determine the default libpath from the value encoded in an empty executable.
16552 cat >conftest.
$ac_ext <<_ACEOF
16555 cat confdefs.h
>>conftest.
$ac_ext
16556 cat >>conftest.
$ac_ext <<_ACEOF
16557 /* end confdefs.h. */
16567 rm -f conftest.
$ac_objext conftest
$ac_exeext
16568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16569 (eval $ac_link) 2>conftest.er1
16571 grep -v '^ *+' conftest.er1
>conftest.err
16573 cat conftest.err
>&5
16574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16575 (exit $ac_status); } &&
16576 { ac_try
='test -z "$ac_c_werror_flag"
16577 || test ! -s conftest.err'
16578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16579 (eval $ac_try) 2>&5
16581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16582 (exit $ac_status); }; } &&
16583 { ac_try
='test -s conftest$ac_exeext'
16584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16585 (eval $ac_try) 2>&5
16587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16588 (exit $ac_status); }; }; then
16590 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16592 # Check for a 64-bit object if we didn't find anything.
16593 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; }
16596 echo "$as_me: failed program was:" >&5
16597 sed 's/^/| /' conftest.
$ac_ext >&5
16600 rm -f conftest.err conftest.
$ac_objext \
16601 conftest
$ac_exeext conftest.
$ac_ext
16602 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
16604 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
16605 # Warning - without using the other run time loading flags,
16606 # -berok will link without error, but may produce a broken library.
16607 no_undefined_flag_GCJ
=' ${wl}-bernotok'
16608 allow_undefined_flag_GCJ
=' ${wl}-berok'
16609 # Exported symbols can be pulled into shared objects from archives
16610 whole_archive_flag_spec_GCJ
='$convenience'
16611 archive_cmds_need_lc_GCJ
=yes
16612 # This is similar to how AIX traditionally builds its shared libraries.
16613 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'
16619 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)'
16620 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16621 hardcode_minus_L_GCJ
=yes
16622 # see comment about different semantics on the GNU ld section
16627 export_dynamic_flag_spec_GCJ
=-rdynamic
16630 cygwin
* | mingw
* | pw32
*)
16631 # When not using gcc, we currently assume that we are using
16632 # Microsoft Visual C++.
16633 # hardcode_libdir_flag_spec is actually meaningless, as there is
16634 # no search path for DLLs.
16635 hardcode_libdir_flag_spec_GCJ
=' '
16636 allow_undefined_flag_GCJ
=unsupported
16637 # Tell ltmain to make .lib files, not .a files.
16639 # Tell ltmain to make .dll files, not .so files.
16641 # FIXME: Setting linknames here is a bad hack.
16642 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
16643 # The linker will automatically build a .lib file if we build a DLL.
16644 old_archive_From_new_cmds_GCJ
='true'
16645 # FIXME: Should let the user specify the lib program.
16646 old_archive_cmds_GCJ
='lib /OUT:$oldlib$oldobjs$old_deplibs'
16647 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
16648 enable_shared_with_static_runtimes_GCJ
=yes
16651 darwin
* | rhapsody
*)
16653 rhapsody
* | darwin1.
[012])
16654 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
16657 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
16658 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16660 case ${MACOSX_DEPLOYMENT_TARGET} in
16662 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16665 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
16671 archive_cmds_need_lc_GCJ
=no
16672 hardcode_direct_GCJ
=no
16673 hardcode_automatic_GCJ
=yes
16674 hardcode_shlibpath_var_GCJ
=unsupported
16675 whole_archive_flag_spec_GCJ
=''
16676 link_all_deplibs_GCJ
=yes
16677 if test "$GCC" = yes ; then
16678 output_verbose_link_cmd
='echo'
16679 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16680 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16681 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16682 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}'
16683 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}'
16685 case $cc_basename in
16687 output_verbose_link_cmd
='echo'
16688 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
16689 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16690 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16691 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}'
16692 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}'
16702 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16703 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16704 hardcode_shlibpath_var_GCJ
=no
16711 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
16712 # support. Future versions do this automatically, but an explicit c++rt0.o
16713 # does not break anything, and helps significantly (at the cost of a little
16716 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
16717 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16718 hardcode_direct_GCJ
=yes
16719 hardcode_shlibpath_var_GCJ
=no
16722 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
16724 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16725 hardcode_direct_GCJ
=yes
16726 hardcode_minus_L_GCJ
=yes
16727 hardcode_shlibpath_var_GCJ
=no
16730 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16731 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
16732 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16733 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16734 hardcode_direct_GCJ
=yes
16735 hardcode_shlibpath_var_GCJ
=no
16739 if test "$GCC" = yes; then
16740 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'
16742 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'
16744 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16745 hardcode_libdir_separator_GCJ
=:
16746 hardcode_direct_GCJ
=yes
16748 # hardcode_minus_L: Not really in the search PATH,
16749 # but as the default location of the library.
16750 hardcode_minus_L_GCJ
=yes
16751 export_dynamic_flag_spec_GCJ
='${wl}-E'
16755 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
16756 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16758 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
16760 if test "$with_gnu_ld" = no
; then
16761 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16762 hardcode_libdir_separator_GCJ
=:
16764 hardcode_direct_GCJ
=yes
16765 export_dynamic_flag_spec_GCJ
='${wl}-E'
16767 # hardcode_minus_L: Not really in the search PATH,
16768 # but as the default location of the library.
16769 hardcode_minus_L_GCJ
=yes
16774 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
16777 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16780 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16783 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16789 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16792 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16795 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16799 if test "$with_gnu_ld" = no
; then
16800 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16801 hardcode_libdir_separator_GCJ
=:
16805 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
16806 hardcode_direct_GCJ
=no
16807 hardcode_shlibpath_var_GCJ
=no
16810 hardcode_direct_GCJ
=yes
16811 export_dynamic_flag_spec_GCJ
='${wl}-E'
16813 # hardcode_minus_L: Not really in the search PATH,
16814 # but as the default location of the library.
16815 hardcode_minus_L_GCJ
=yes
16821 irix5
* | irix6
* | nonstopux
*)
16822 if test "$GCC" = yes; then
16823 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'
16825 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'
16826 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
16828 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16829 hardcode_libdir_separator_GCJ
=:
16830 link_all_deplibs_GCJ
=yes
16834 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16835 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
16837 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
16839 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16840 hardcode_direct_GCJ
=yes
16841 hardcode_shlibpath_var_GCJ
=no
16845 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16846 hardcode_direct_GCJ
=yes
16847 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16848 hardcode_libdir_separator_GCJ
=:
16849 hardcode_shlibpath_var_GCJ
=no
16853 hardcode_direct_GCJ
=yes
16854 hardcode_shlibpath_var_GCJ
=no
16855 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16856 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16857 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
16858 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16859 export_dynamic_flag_spec_GCJ
='${wl}-E'
16862 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
16863 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16864 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16867 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16868 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16875 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16876 hardcode_minus_L_GCJ
=yes
16877 allow_undefined_flag_GCJ
=unsupported
16878 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'
16879 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16883 if test "$GCC" = yes; then
16884 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
16885 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'
16887 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
16888 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'
16890 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16891 hardcode_libdir_separator_GCJ
=:
16894 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
16895 if test "$GCC" = yes; then
16896 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
16897 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'
16898 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16900 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
16901 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'
16902 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~
16903 $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'
16905 # Both c and cxx compiler support -rpath directly
16906 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
16908 hardcode_libdir_separator_GCJ
=:
16912 no_undefined_flag_GCJ
=' -z text'
16913 if test "$GCC" = yes; then
16915 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16916 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16917 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16920 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16921 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16922 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16924 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16925 hardcode_shlibpath_var_GCJ
=no
16927 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
16929 # The compiler driver will combine linker options so we
16930 # cannot just pass the convience library names through
16931 # without $wl, iff we do not link with $LD.
16932 # Luckily, gcc supports the same syntax we need for Sun Studio.
16933 # Supported since Solaris 2.6 (maybe 2.5.1?)
16936 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract' ;;
16938 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' ;;
16941 link_all_deplibs_GCJ
=yes
16945 if test "x$host_vendor" = xsequent
; then
16946 # Use $CC to link under sequent, because it throws in some extra .o
16947 # files that make .init and .fini sections work.
16948 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16950 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16952 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16953 hardcode_direct_GCJ
=yes
16954 hardcode_minus_L_GCJ
=yes
16955 hardcode_shlibpath_var_GCJ
=no
16959 case $host_vendor in
16961 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16962 hardcode_direct_GCJ
=yes # is this really true???
16965 ## LD is ld it makes a PLAMLIB
16966 ## CC just makes a GrossModule.
16967 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16968 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
16969 hardcode_direct_GCJ
=no
16972 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16973 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
16976 runpath_var
='LD_RUN_PATH'
16977 hardcode_shlibpath_var_GCJ
=no
16981 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16982 hardcode_shlibpath_var_GCJ
=no
16983 export_dynamic_flag_spec_GCJ
='-Bexport'
16987 if test -d /usr
/nec
; then
16988 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16989 hardcode_shlibpath_var_GCJ
=no
16990 runpath_var
=LD_RUN_PATH
16991 hardcode_runpath_var
=yes
16996 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
16997 no_undefined_flag_GCJ
='${wl}-z,text'
16998 archive_cmds_need_lc_GCJ
=no
16999 hardcode_shlibpath_var_GCJ
=no
17000 runpath_var
='LD_RUN_PATH'
17002 if test "$GCC" = yes; then
17003 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17004 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17006 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17007 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17011 sysv5
* | sco3.2v5
* | sco5v6
*)
17012 # Note: We can NOT use -z defs as we might desire, because we do not
17013 # link with -lc, and that would cause any symbols used from libc to
17014 # always be unresolved, which means just about no library would
17015 # ever link correctly. If we're not using GNU ld we use -z text
17016 # though, which does catch some bad symbols but isn't as heavy-handed
17018 no_undefined_flag_GCJ
='${wl}-z,text'
17019 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
17020 archive_cmds_need_lc_GCJ
=no
17021 hardcode_shlibpath_var_GCJ
=no
17022 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
17023 hardcode_libdir_separator_GCJ
=':'
17024 link_all_deplibs_GCJ
=yes
17025 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
17026 runpath_var
='LD_RUN_PATH'
17028 if test "$GCC" = yes; then
17029 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17030 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17032 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17033 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17038 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17039 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17040 hardcode_shlibpath_var_GCJ
=no
17049 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17050 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
17051 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
17054 # Do we need to explicitly link libc?
17056 case "x$archive_cmds_need_lc_GCJ" in
17058 # Assume -lc should be added
17059 archive_cmds_need_lc_GCJ
=yes
17061 if test "$enable_shared" = yes && test "$GCC" = yes; then
17062 case $archive_cmds_GCJ in
17064 # FIXME: we may have to deal with multi-command sequences.
17067 # Test whether the compiler implicitly links with -lc since on some
17068 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17069 # to ld, don't add -lc before -lgcc.
17070 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17071 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
17073 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
17075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17076 (eval $ac_compile) 2>&5
17078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17079 (exit $ac_status); } 2>conftest.err
; then
17082 libobjs
=conftest.
$ac_objext
17084 wl
=$lt_prog_compiler_wl_GCJ
17085 pic_flag
=$lt_prog_compiler_pic_GCJ
17091 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
17092 allow_undefined_flag_GCJ
=
17093 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17094 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
17096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17097 (exit $ac_status); }
17099 archive_cmds_need_lc_GCJ
=no
17101 archive_cmds_need_lc_GCJ
=yes
17103 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
17105 cat conftest.err
1>&5
17108 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17109 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
17116 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17117 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
17118 library_names_spec
=
17119 libname_spec
='lib$name'
17123 postuninstall_cmds
=
17127 shlibpath_overrides_runpath
=unknown
17129 dynamic_linker
="$host_os ld.so"
17130 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
17131 if test "$GCC" = yes; then
17132 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17133 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
17134 # if the path contains ";" then we assume it to be the separator
17135 # otherwise default to the standard path separator (i.e. ":") - it is
17136 # assumed that no part of a normal pathname contains ";" but that should
17137 # okay in the real world where ";" in dirpaths is itself problematic.
17138 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17140 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17143 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
17145 need_lib_prefix
=unknown
17146 hardcode_into_libs
=no
17148 # when you set need_version to no, make sure it does not cause -set_version
17149 # flags to be left without arguments
17150 need_version
=unknown
17155 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
17156 shlibpath_var
=LIBPATH
17158 # AIX 3 has no versioning support, so we append a major version to the name.
17159 soname_spec
='${libname}${release}${shared_ext}$major'
17166 hardcode_into_libs
=yes
17167 if test "$host_cpu" = ia64
; then
17168 # AIX 5 supports IA64
17169 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17170 shlibpath_var
=LD_LIBRARY_PATH
17172 # With GCC up to 2.95.x, collect2 would create an import file
17173 # for dependence libraries. The import file would start with
17174 # the line `#! .'. This would cause the generated library to
17175 # depend on `.', always an invalid library. This was fixed in
17176 # development snapshots of GCC prior to 3.0.
17178 aix4 | aix4.
[01] | aix4.
[01].
*)
17179 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17181 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
17184 can_build_shared
=no
17188 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17189 # soname into executable. Probably we can add versioning support to
17190 # collect2, so additional links can be useful in future.
17191 if test "$aix_use_runtimelinking" = yes; then
17192 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17193 # instead of lib<name>.a to let people know that these are not
17194 # typical AIX shared libraries.
17195 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17197 # We preserve .a as extension for shared libraries through AIX4.2
17198 # and later when we are not doing run time linking.
17199 library_names_spec
='${libname}${release}.a $libname.a'
17200 soname_spec
='${libname}${release}${shared_ext}$major'
17202 shlibpath_var
=LIBPATH
17207 library_names_spec
='$libname.ixlibrary $libname.a'
17208 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17209 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'
17213 library_names_spec
='${libname}${shared_ext}'
17214 dynamic_linker
="$host_os ld.so"
17215 shlibpath_var
=LIBRARY_PATH
17221 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17222 soname_spec
='${libname}${release}${shared_ext}$major'
17223 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
17224 shlibpath_var
=LD_LIBRARY_PATH
17225 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17226 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
17227 # the default ld.so.conf also contains /usr/contrib/lib and
17228 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17229 # libtool to hard-code these into programs
17232 cygwin
* | mingw
* | pw32
*)
17233 version_type
=windows
17238 case $GCC,$host_os in
17239 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
17240 library_names_spec
='$libname.dll.a'
17241 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17242 postinstall_cmds
='base_file=`basename \${file}`~
17243 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17244 dldir=$destdir/`dirname \$dlpath`~
17245 test -d \$dldir || mkdir -p \$dldir~
17246 $install_prog $dir/$dlname \$dldir/$dlname~
17247 chmod a+x \$dldir/$dlname'
17248 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17249 dlpath=$dir/\$dldll~
17251 shlibpath_overrides_runpath
=yes
17255 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17256 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17257 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
17260 # MinGW DLLs use traditional 'lib' prefix
17261 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17262 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17263 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
17264 # It is most probably a Windows format PATH printed by
17265 # mingw gcc, but we are running on Cygwin. Gcc prints its search
17266 # path with ; separators, and with drive letters. We can handle the
17267 # drive letters (cygwin fileutils understands them), so leave them,
17268 # especially as we might pass files found there to a mingw objdump,
17269 # which wouldn't understand a cygwinified path. Ahh.
17270 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17272 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17276 # pw32 DLLs use 'pw' prefix rather than 'lib'
17277 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17283 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17286 dynamic_linker
='Win32 ld.exe'
17287 # FIXME: first we should search . and the directory the executable is in
17291 darwin
* | rhapsody
*)
17292 dynamic_linker
="$host_os dyld"
17293 version_type
=darwin
17296 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17297 soname_spec
='${libname}${release}${major}$shared_ext'
17298 shlibpath_overrides_runpath
=yes
17299 shlibpath_var
=DYLD_LIBRARY_PATH
17300 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
17301 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
17302 if test "$GCC" = yes; then
17303 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"`
17305 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
17307 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
17314 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17315 soname_spec
='${libname}${release}${shared_ext}$major'
17316 shlibpath_var
=LD_LIBRARY_PATH
17327 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17328 soname_spec
='${libname}${release}${shared_ext}$major'
17329 shlibpath_var
=LD_LIBRARY_PATH
17330 shlibpath_overrides_runpath
=no
17331 hardcode_into_libs
=yes
17332 dynamic_linker
='GNU ld.so'
17335 freebsd
* | dragonfly
*)
17336 # DragonFly does not have aout. When/if they implement a new
17337 # versioning mechanism, adjust this.
17338 if test -x /usr
/bin
/objformat
; then
17339 objformat
=`/usr/bin/objformat`
17342 freebsd
[123]*) objformat
=aout
;;
17343 *) objformat
=elf
;;
17346 version_type
=freebsd-
$objformat
17347 case $version_type in
17349 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17354 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17358 shlibpath_var
=LD_LIBRARY_PATH
17361 shlibpath_overrides_runpath
=yes
17363 freebsd3.
[01]* | freebsdelf3.
[01]*)
17364 shlibpath_overrides_runpath
=yes
17365 hardcode_into_libs
=yes
17367 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
17368 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
17369 shlibpath_overrides_runpath
=no
17370 hardcode_into_libs
=yes
17372 freebsd
*) # from 4.6 on
17373 shlibpath_overrides_runpath
=yes
17374 hardcode_into_libs
=yes
17383 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17384 soname_spec
='${libname}${release}${shared_ext}$major'
17385 shlibpath_var
=LD_LIBRARY_PATH
17386 hardcode_into_libs
=yes
17389 hpux9
* | hpux10
* | hpux11
*)
17390 # Give a soname corresponding to the major version so that dld.sl refuses to
17391 # link against other versions.
17398 hardcode_into_libs
=yes
17399 dynamic_linker
="$host_os dld.so"
17400 shlibpath_var
=LD_LIBRARY_PATH
17401 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17402 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17403 soname_spec
='${libname}${release}${shared_ext}$major'
17404 if test "X$HPUX_IA64_MODE" = X32
; then
17405 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17407 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
17409 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17413 hardcode_into_libs
=yes
17414 dynamic_linker
="$host_os dld.sl"
17415 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
17416 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17417 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17418 soname_spec
='${libname}${release}${shared_ext}$major'
17419 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17420 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17424 dynamic_linker
="$host_os dld.sl"
17425 shlibpath_var
=SHLIB_PATH
17426 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
17427 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17428 soname_spec
='${libname}${release}${shared_ext}$major'
17431 # HP-UX runs *really* slowly unless shared libraries are mode 555.
17432 postinstall_cmds
='chmod 555 $lib'
17439 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17440 soname_spec
='${libname}${release}${shared_ext}$major'
17441 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
17442 shlibpath_var
=LD_LIBRARY_PATH
17443 shlibpath_overrides_runpath
=no
17444 hardcode_into_libs
=yes
17447 irix5
* | irix6
* | nonstopux
*)
17449 nonstopux
*) version_type
=nonstopux
;;
17451 if test "$lt_cv_prog_gnu_ld" = yes; then
17459 soname_spec
='${libname}${release}${shared_ext}$major'
17460 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17462 irix5
* | nonstopux
*)
17463 libsuff
= shlibsuff
=
17466 case $LD in # libtool.m4 will add one of these switches to LD
17467 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
17468 libsuff
= shlibsuff
= libmagic
=32-bit;;
17469 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
17470 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
17471 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
17472 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
17473 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
17477 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
17478 shlibpath_overrides_runpath
=no
17479 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17480 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
17481 hardcode_into_libs
=yes
17484 # No shared lib support for Linux oldld, aout, or coff.
17485 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
17489 # This must be Linux ELF.
17494 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17495 soname_spec
='${libname}${release}${shared_ext}$major'
17496 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17497 shlibpath_var
=LD_LIBRARY_PATH
17498 shlibpath_overrides_runpath
=no
17499 # This implies no fast_install, which is unacceptable.
17500 # Some rework will be needed to allow for fast_install
17501 # before this can be enabled.
17502 hardcode_into_libs
=yes
17504 # find out which ABI we are using
17506 case "$host_cpu" in
17507 x86_64
*|s390x
*|powerpc64
*)
17508 echo '#line 17508 "configure"' > conftest.
$ac_ext
17509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17510 (eval $ac_compile) 2>&5
17512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17513 (exit $ac_status); }; then
17514 case `/usr/bin/file conftest.$ac_objext` in
17517 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
17525 # Append ld.so.conf contents to the search path
17526 if test -f /etc
/ld.so.conf
; then
17527 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' ' '`
17528 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
17531 # We used to test for /lib/ld.so.1 and disable shared libraries on
17532 # powerpc, because MkLinux only supported shared libraries with the
17533 # GNU dynamic linker. Since this was broken with cross compilers,
17534 # most powerpc-linux boxes support dynamic linking these days and
17535 # people can always --disable-shared, the test was removed, and we
17536 # assume the GNU/Linux dynamic linker is in use.
17537 dynamic_linker
='GNU/Linux ld.so'
17544 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17545 soname_spec
='${libname}${release}${shared_ext}$major'
17546 shlibpath_var
=LD_LIBRARY_PATH
17547 shlibpath_overrides_runpath
=no
17548 hardcode_into_libs
=yes
17549 dynamic_linker
='GNU ld.so'
17556 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17557 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17558 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17559 dynamic_linker
='NetBSD (a.out) ld.so'
17561 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17562 soname_spec
='${libname}${release}${shared_ext}$major'
17563 dynamic_linker
='NetBSD ld.elf_so'
17565 shlibpath_var
=LD_LIBRARY_PATH
17566 shlibpath_overrides_runpath
=yes
17567 hardcode_into_libs
=yes
17572 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17573 shlibpath_var
=LD_LIBRARY_PATH
17574 shlibpath_overrides_runpath
=yes
17581 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17582 soname_spec
='${libname}${release}${shared_ext}$major'
17583 shlibpath_var
=LD_LIBRARY_PATH
17584 shlibpath_overrides_runpath
=yes
17589 sys_lib_dlsearch_path_spec
="/usr/lib"
17591 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17593 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
17594 *) need_version
=no
;;
17596 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17597 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17598 shlibpath_var
=LD_LIBRARY_PATH
17599 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17601 openbsd2.
[89] | openbsd2.
[89].
*)
17602 shlibpath_overrides_runpath
=no
17605 shlibpath_overrides_runpath
=yes
17609 shlibpath_overrides_runpath
=yes
17614 libname_spec
='$name'
17617 library_names_spec
='$libname${shared_ext} $libname.a'
17618 dynamic_linker
='OS/2 ld.exe'
17619 shlibpath_var
=LIBPATH
17622 osf3
* | osf4
* | osf5
*)
17626 soname_spec
='${libname}${release}${shared_ext}$major'
17627 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17628 shlibpath_var
=LD_LIBRARY_PATH
17629 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17630 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
17637 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17638 soname_spec
='${libname}${release}${shared_ext}$major'
17639 shlibpath_var
=LD_LIBRARY_PATH
17640 shlibpath_overrides_runpath
=yes
17641 hardcode_into_libs
=yes
17642 # ldd complains unless libraries are executable
17643 postinstall_cmds
='chmod +x $lib'
17648 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17649 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17650 shlibpath_var
=LD_LIBRARY_PATH
17651 shlibpath_overrides_runpath
=yes
17652 if test "$with_gnu_ld" = yes; then
17660 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17661 soname_spec
='${libname}${release}${shared_ext}$major'
17662 shlibpath_var
=LD_LIBRARY_PATH
17663 case $host_vendor in
17665 shlibpath_overrides_runpath
=no
17667 export_dynamic_flag_spec
='${wl}-Blargedynsym'
17668 runpath_var
=LD_RUN_PATH
17676 shlibpath_overrides_runpath
=no
17677 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
17683 if test -d /usr
/nec
;then
17685 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17686 soname_spec
='$libname${shared_ext}.$major'
17687 shlibpath_var
=LD_LIBRARY_PATH
17691 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
17692 version_type
=freebsd-elf
17695 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17696 soname_spec
='${libname}${release}${shared_ext}$major'
17697 shlibpath_var
=LD_LIBRARY_PATH
17698 hardcode_into_libs
=yes
17699 if test "$with_gnu_ld" = yes; then
17700 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17701 shlibpath_overrides_runpath
=no
17703 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
17704 shlibpath_overrides_runpath
=yes
17707 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
17711 sys_lib_dlsearch_path_spec
='/usr/lib'
17716 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17717 soname_spec
='${libname}${release}${shared_ext}$major'
17718 shlibpath_var
=LD_LIBRARY_PATH
17725 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17726 echo "${ECHO_T}$dynamic_linker" >&6
17727 test "$dynamic_linker" = no
&& can_build_shared
=no
17729 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
17730 if test "$GCC" = yes; then
17731 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17734 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17735 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
17736 hardcode_action_GCJ
=
17737 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
17738 test -n "$runpath_var_GCJ" || \
17739 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
17741 # We can hardcode non-existant directories.
17742 if test "$hardcode_direct_GCJ" != no
&&
17743 # If the only mechanism to avoid hardcoding is shlibpath_var, we
17744 # have to relink, otherwise we might link with an installed library
17745 # when we should be linking with a yet-to-be-installed one
17746 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
17747 test "$hardcode_minus_L_GCJ" != no
; then
17748 # Linking always hardcodes the temporary library directory.
17749 hardcode_action_GCJ
=relink
17751 # We can link without hardcoding, and we can hardcode nonexisting dirs.
17752 hardcode_action_GCJ
=immediate
17755 # We cannot hardcode anything, or else we can only hardcode existing
17757 hardcode_action_GCJ
=unsupported
17759 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
17760 echo "${ECHO_T}$hardcode_action_GCJ" >&6
17762 if test "$hardcode_action_GCJ" = relink
; then
17763 # Fast installation is not supported
17764 enable_fast_install
=no
17765 elif test "$shlibpath_overrides_runpath" = yes ||
17766 test "$enable_shared" = no
; then
17767 # Fast installation is not necessary
17768 enable_fast_install
=needless
17772 # The else clause should only fire when bootstrapping the
17773 # libtool distribution, otherwise you forgot to ship ltmain.sh
17774 # with your package, and you will get complaints that there are
17775 # no rules to generate ltmain.sh.
17776 if test -f "$ltmain"; then
17777 # See if we are running on zsh, and set the options which allow our commands through
17778 # without removal of \ escapes.
17779 if test -n "${ZSH_VERSION+set}" ; then
17780 setopt NO_GLOB_SUBST
17782 # Now quote all the things that may contain metacharacters while being
17783 # careful not to overquote the AC_SUBSTed values. We take copies of the
17784 # variables and quote the copies for generation of the libtool script.
17785 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
17787 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17788 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17789 deplibs_check_method reload_flag reload_cmds need_locks \
17790 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17791 lt_cv_sys_global_symbol_to_c_name_address \
17792 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17793 old_postinstall_cmds old_postuninstall_cmds \
17797 lt_prog_compiler_wl_GCJ \
17798 lt_prog_compiler_pic_GCJ \
17799 lt_prog_compiler_static_GCJ \
17800 lt_prog_compiler_no_builtin_flag_GCJ \
17801 export_dynamic_flag_spec_GCJ \
17802 thread_safe_flag_spec_GCJ \
17803 whole_archive_flag_spec_GCJ \
17804 enable_shared_with_static_runtimes_GCJ \
17805 old_archive_cmds_GCJ \
17806 old_archive_from_new_cmds_GCJ \
17807 predep_objects_GCJ \
17808 postdep_objects_GCJ \
17811 compiler_lib_search_path_GCJ \
17813 archive_expsym_cmds_GCJ \
17814 postinstall_cmds_GCJ \
17815 postuninstall_cmds_GCJ \
17816 old_archive_from_expsyms_cmds_GCJ \
17817 allow_undefined_flag_GCJ \
17818 no_undefined_flag_GCJ \
17819 export_symbols_cmds_GCJ \
17820 hardcode_libdir_flag_spec_GCJ \
17821 hardcode_libdir_flag_spec_ld_GCJ \
17822 hardcode_libdir_separator_GCJ \
17823 hardcode_automatic_GCJ \
17825 module_expsym_cmds_GCJ \
17826 lt_cv_prog_compiler_c_o_GCJ \
17827 exclude_expsyms_GCJ \
17828 include_expsyms_GCJ
; do
17831 old_archive_cmds_GCJ | \
17832 old_archive_from_new_cmds_GCJ | \
17833 archive_cmds_GCJ | \
17834 archive_expsym_cmds_GCJ | \
17835 module_cmds_GCJ | \
17836 module_expsym_cmds_GCJ | \
17837 old_archive_from_expsyms_cmds_GCJ | \
17838 export_symbols_cmds_GCJ | \
17839 extract_expsyms_cmds | reload_cmds | finish_cmds | \
17840 postinstall_cmds | postuninstall_cmds | \
17841 old_postinstall_cmds | old_postuninstall_cmds | \
17842 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
17843 # Double-quote double-evaled strings.
17844 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17847 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17853 *'\$0 --fallback-echo"')
17854 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17860 cat <<__EOF__ >> "$cfgfile"
17861 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
17863 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17865 # Shell to use when invoking shell scripts.
17868 # Whether or not to build shared libraries.
17869 build_libtool_libs=$enable_shared
17871 # Whether or not to build static libraries.
17872 build_old_libs=$enable_static
17874 # Whether or not to add -lc for building shared libraries.
17875 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
17877 # Whether or not to disallow shared libs when runtime libs are static
17878 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
17880 # Whether or not to optimize for fast installation.
17881 fast_install=$enable_fast_install
17884 host_alias=$host_alias
17888 # The build system.
17889 build_alias=$build_alias
17893 # An echo program that does not interpret backslashes.
17898 AR_FLAGS=$lt_AR_FLAGS
17903 # LTCC compiler flags.
17904 LTCFLAGS=$lt_LTCFLAGS
17906 # A language-specific compiler.
17907 CC=$lt_compiler_GCJ
17909 # Is the compiler the GNU C compiler?
17912 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
17913 gcc_ver=\`gcc -dumpversion\`
17918 # The linker used to build libraries.
17921 # Whether we need hard or soft links.
17924 # A BSD-compatible nm program.
17927 # A symbol stripping program
17930 # Used to examine libraries when file_magic_cmd begins "file"
17931 MAGIC_CMD=$MAGIC_CMD
17933 # Used on cygwin: DLL creation program.
17936 # Used on cygwin: object dumper.
17939 # Used on cygwin: assembler.
17942 # The name of the directory that contains temporary libtool files.
17945 # How to create reloadable object files.
17946 reload_flag=$lt_reload_flag
17947 reload_cmds=$lt_reload_cmds
17949 # How to pass a linker flag through the compiler.
17950 wl=$lt_lt_prog_compiler_wl_GCJ
17952 # Object file suffix (normally "o").
17953 objext="$ac_objext"
17955 # Old archive suffix (normally "a").
17958 # Shared library suffix (normally ".so").
17959 shrext_cmds='$shrext_cmds'
17961 # Executable file suffix (normally "").
17964 # Additional compiler flags for building library objects.
17965 pic_flag=$lt_lt_prog_compiler_pic_GCJ
17968 # What is the maximum length of a command?
17969 max_cmd_len=$lt_cv_sys_max_cmd_len
17971 # Does compiler simultaneously support -c and -o options?
17972 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
17974 # Must we lock files when doing compilation?
17975 need_locks=$lt_need_locks
17977 # Do we need the lib prefix for modules?
17978 need_lib_prefix=$need_lib_prefix
17980 # Do we need a version for libraries?
17981 need_version=$need_version
17983 # Whether dlopen is supported.
17984 dlopen_support=$enable_dlopen
17986 # Whether dlopen of programs is supported.
17987 dlopen_self=$enable_dlopen_self
17989 # Whether dlopen of statically linked programs is supported.
17990 dlopen_self_static=$enable_dlopen_self_static
17992 # Compiler flag to prevent dynamic linking.
17993 link_static_flag=$lt_lt_prog_compiler_static_GCJ
17995 # Compiler flag to turn off builtin functions.
17996 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
17998 # Compiler flag to allow reflexive dlopens.
17999 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
18001 # Compiler flag to generate shared objects directly from archives.
18002 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
18004 # Compiler flag to generate thread-safe objects.
18005 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
18007 # Library versioning type.
18008 version_type=$version_type
18010 # Format of library name prefix.
18011 libname_spec=$lt_libname_spec
18013 # List of archive names. First name is the real one, the rest are links.
18014 # The last name is the one that the linker finds with -lNAME.
18015 library_names_spec=$lt_library_names_spec
18017 # The coded name of the library, if different from the real name.
18018 soname_spec=$lt_soname_spec
18020 # Commands used to build and install an old-style archive.
18022 old_archive_cmds=$lt_old_archive_cmds_GCJ
18023 old_postinstall_cmds=$lt_old_postinstall_cmds
18024 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18026 # Create an old-style archive from a shared archive.
18027 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
18029 # Create a temporary old-style archive to link instead of a shared archive.
18030 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
18032 # Commands used to build and install a shared archive.
18033 archive_cmds=$lt_archive_cmds_GCJ
18034 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
18035 postinstall_cmds=$lt_postinstall_cmds
18036 postuninstall_cmds=$lt_postuninstall_cmds
18038 # Commands used to build a loadable module (assumed same as above if empty)
18039 module_cmds=$lt_module_cmds_GCJ
18040 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
18042 # Commands to strip libraries.
18043 old_striplib=$lt_old_striplib
18044 striplib=$lt_striplib
18046 # Dependencies to place before the objects being linked to create a
18048 predep_objects=\`echo $lt_predep_objects_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
18050 # Dependencies to place after the objects being linked to create a
18052 postdep_objects=\`echo $lt_postdep_objects_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
18054 # Dependencies to place before the objects being linked to create a
18056 predeps=$lt_predeps_GCJ
18058 # Dependencies to place after the objects being linked to create a
18060 postdeps=$lt_postdeps_GCJ
18062 # The library search path used internally by the compiler when linking
18063 # a shared library.
18064 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"\`
18066 # Method to check whether dependent libraries are shared objects.
18067 deplibs_check_method=$lt_deplibs_check_method
18069 # Command to use when deplibs_check_method == file_magic.
18070 file_magic_cmd=$lt_file_magic_cmd
18072 # Flag that allows shared libraries with undefined symbols to be built.
18073 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
18075 # Flag that forces no undefined symbols.
18076 no_undefined_flag=$lt_no_undefined_flag_GCJ
18078 # Commands used to finish a libtool library installation in a directory.
18079 finish_cmds=$lt_finish_cmds
18081 # Same as above, but a single script fragment to be evaled but not shown.
18082 finish_eval=$lt_finish_eval
18084 # Take the output of nm and produce a listing of raw symbols and C names.
18085 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18087 # Transform the output of nm in a proper C declaration
18088 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18090 # Transform the output of nm in a C name address pair
18091 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18093 # This is the shared library runtime path variable.
18094 runpath_var=$runpath_var
18096 # This is the shared library path variable.
18097 shlibpath_var=$shlibpath_var
18099 # Is shlibpath searched before the hard-coded library search path?
18100 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18102 # How to hardcode a shared library path into an executable.
18103 hardcode_action=$hardcode_action_GCJ
18105 # Whether we should hardcode library paths into libraries.
18106 hardcode_into_libs=$hardcode_into_libs
18108 # Flag to hardcode \$libdir into a binary during linking.
18109 # This must work even if \$libdir does not exist.
18110 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
18112 # If ld is used when linking, flag to hardcode \$libdir into
18113 # a binary during linking. This must work even if \$libdir does
18115 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
18117 # Whether we need a single -rpath flag with a separated argument.
18118 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
18120 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18121 # resulting binary.
18122 hardcode_direct=$hardcode_direct_GCJ
18124 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18125 # resulting binary.
18126 hardcode_minus_L=$hardcode_minus_L_GCJ
18128 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18129 # the resulting binary.
18130 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
18132 # Set to yes if building a shared library automatically hardcodes DIR into the library
18133 # and all subsequent libraries and executables linked against it.
18134 hardcode_automatic=$hardcode_automatic_GCJ
18136 # Variables whose values should be saved in libtool wrapper scripts and
18137 # restored at relink time.
18138 variables_saved_for_relink="$variables_saved_for_relink"
18140 # Whether libtool must link a program against all its dependency libraries.
18141 link_all_deplibs=$link_all_deplibs_GCJ
18143 # Compile-time system search path for libraries
18144 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"\`
18146 # Run-time system search path for libraries
18147 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18149 # Fix the shell variable \$srcfile for the compiler.
18150 fix_srcfile_path="$fix_srcfile_path_GCJ"
18152 # Set to yes if exported symbols are required.
18153 always_export_symbols=$always_export_symbols_GCJ
18155 # The commands to list exported symbols.
18156 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
18158 # The commands to extract the exported symbol list from a shared archive.
18159 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18161 # Symbols that should not be listed in the preloaded symbols.
18162 exclude_expsyms=$lt_exclude_expsyms_GCJ
18164 # Symbols that must always be exported.
18165 include_expsyms=$lt_include_expsyms_GCJ
18167 # ### END LIBTOOL TAG CONFIG: $tagname
18173 # If there is no Makefile yet, we rely on a make rule to execute
18174 # `config.status --recheck' to rerun these tests and create the
18175 # libtool script then.
18176 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18177 if test -f "$ltmain_in"; then
18178 test -f Makefile
&& make "$ltmain"
18184 ac_cpp
='$CPP $CPPFLAGS'
18185 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18186 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18187 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18200 # Source file extension for RC test sources.
18203 # Object file extension for compiled RC test sources.
18207 # Code to be used in simple compile tests
18208 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
18210 # Code to be used in simple link tests
18211 lt_simple_link_test_code
="$lt_simple_compile_test_code"
18213 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18215 # If no C compiler was specified, use CC.
18218 # If no C compiler flags were specified, use CFLAGS.
18219 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
18221 # Allow CC to be a program name with arguments.
18225 # save warnings/boilerplate of simple test code
18226 ac_outfile
=conftest.
$ac_objext
18227 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
18228 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18229 _lt_compiler_boilerplate
=`cat conftest.err`
18232 ac_outfile
=conftest.
$ac_objext
18233 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
18234 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18235 _lt_linker_boilerplate
=`cat conftest.err`
18239 # Allow CC to be a program name with arguments.
18244 for cc_temp
in $compiler""; do
18246 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
18247 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
18252 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18254 lt_cv_prog_compiler_c_o_RC
=yes
18256 # The else clause should only fire when bootstrapping the
18257 # libtool distribution, otherwise you forgot to ship ltmain.sh
18258 # with your package, and you will get complaints that there are
18259 # no rules to generate ltmain.sh.
18260 if test -f "$ltmain"; then
18261 # See if we are running on zsh, and set the options which allow our commands through
18262 # without removal of \ escapes.
18263 if test -n "${ZSH_VERSION+set}" ; then
18264 setopt NO_GLOB_SUBST
18266 # Now quote all the things that may contain metacharacters while being
18267 # careful not to overquote the AC_SUBSTed values. We take copies of the
18268 # variables and quote the copies for generation of the libtool script.
18269 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18271 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18272 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18273 deplibs_check_method reload_flag reload_cmds need_locks \
18274 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18275 lt_cv_sys_global_symbol_to_c_name_address \
18276 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18277 old_postinstall_cmds old_postuninstall_cmds \
18281 lt_prog_compiler_wl_RC \
18282 lt_prog_compiler_pic_RC \
18283 lt_prog_compiler_static_RC \
18284 lt_prog_compiler_no_builtin_flag_RC \
18285 export_dynamic_flag_spec_RC \
18286 thread_safe_flag_spec_RC \
18287 whole_archive_flag_spec_RC \
18288 enable_shared_with_static_runtimes_RC \
18289 old_archive_cmds_RC \
18290 old_archive_from_new_cmds_RC \
18291 predep_objects_RC \
18292 postdep_objects_RC \
18295 compiler_lib_search_path_RC \
18297 archive_expsym_cmds_RC \
18298 postinstall_cmds_RC \
18299 postuninstall_cmds_RC \
18300 old_archive_from_expsyms_cmds_RC \
18301 allow_undefined_flag_RC \
18302 no_undefined_flag_RC \
18303 export_symbols_cmds_RC \
18304 hardcode_libdir_flag_spec_RC \
18305 hardcode_libdir_flag_spec_ld_RC \
18306 hardcode_libdir_separator_RC \
18307 hardcode_automatic_RC \
18309 module_expsym_cmds_RC \
18310 lt_cv_prog_compiler_c_o_RC \
18311 exclude_expsyms_RC \
18312 include_expsyms_RC
; do
18315 old_archive_cmds_RC | \
18316 old_archive_from_new_cmds_RC | \
18317 archive_cmds_RC | \
18318 archive_expsym_cmds_RC | \
18320 module_expsym_cmds_RC | \
18321 old_archive_from_expsyms_cmds_RC | \
18322 export_symbols_cmds_RC | \
18323 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18324 postinstall_cmds | postuninstall_cmds | \
18325 old_postinstall_cmds | old_postuninstall_cmds | \
18326 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18327 # Double-quote double-evaled strings.
18328 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18331 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18337 *'\$0 --fallback-echo"')
18338 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18344 cat <<__EOF__ >> "$cfgfile"
18345 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18347 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18349 # Shell to use when invoking shell scripts.
18352 # Whether or not to build shared libraries.
18353 build_libtool_libs=$enable_shared
18355 # Whether or not to build static libraries.
18356 build_old_libs=$enable_static
18358 # Whether or not to add -lc for building shared libraries.
18359 build_libtool_need_lc=$archive_cmds_need_lc_RC
18361 # Whether or not to disallow shared libs when runtime libs are static
18362 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
18364 # Whether or not to optimize for fast installation.
18365 fast_install=$enable_fast_install
18368 host_alias=$host_alias
18372 # The build system.
18373 build_alias=$build_alias
18377 # An echo program that does not interpret backslashes.
18382 AR_FLAGS=$lt_AR_FLAGS
18387 # LTCC compiler flags.
18388 LTCFLAGS=$lt_LTCFLAGS
18390 # A language-specific compiler.
18393 # Is the compiler the GNU C compiler?
18396 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
18397 gcc_ver=\`gcc -dumpversion\`
18402 # The linker used to build libraries.
18405 # Whether we need hard or soft links.
18408 # A BSD-compatible nm program.
18411 # A symbol stripping program
18414 # Used to examine libraries when file_magic_cmd begins "file"
18415 MAGIC_CMD=$MAGIC_CMD
18417 # Used on cygwin: DLL creation program.
18420 # Used on cygwin: object dumper.
18423 # Used on cygwin: assembler.
18426 # The name of the directory that contains temporary libtool files.
18429 # How to create reloadable object files.
18430 reload_flag=$lt_reload_flag
18431 reload_cmds=$lt_reload_cmds
18433 # How to pass a linker flag through the compiler.
18434 wl=$lt_lt_prog_compiler_wl_RC
18436 # Object file suffix (normally "o").
18437 objext="$ac_objext"
18439 # Old archive suffix (normally "a").
18442 # Shared library suffix (normally ".so").
18443 shrext_cmds='$shrext_cmds'
18445 # Executable file suffix (normally "").
18448 # Additional compiler flags for building library objects.
18449 pic_flag=$lt_lt_prog_compiler_pic_RC
18452 # What is the maximum length of a command?
18453 max_cmd_len=$lt_cv_sys_max_cmd_len
18455 # Does compiler simultaneously support -c and -o options?
18456 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
18458 # Must we lock files when doing compilation?
18459 need_locks=$lt_need_locks
18461 # Do we need the lib prefix for modules?
18462 need_lib_prefix=$need_lib_prefix
18464 # Do we need a version for libraries?
18465 need_version=$need_version
18467 # Whether dlopen is supported.
18468 dlopen_support=$enable_dlopen
18470 # Whether dlopen of programs is supported.
18471 dlopen_self=$enable_dlopen_self
18473 # Whether dlopen of statically linked programs is supported.
18474 dlopen_self_static=$enable_dlopen_self_static
18476 # Compiler flag to prevent dynamic linking.
18477 link_static_flag=$lt_lt_prog_compiler_static_RC
18479 # Compiler flag to turn off builtin functions.
18480 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
18482 # Compiler flag to allow reflexive dlopens.
18483 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
18485 # Compiler flag to generate shared objects directly from archives.
18486 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
18488 # Compiler flag to generate thread-safe objects.
18489 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
18491 # Library versioning type.
18492 version_type=$version_type
18494 # Format of library name prefix.
18495 libname_spec=$lt_libname_spec
18497 # List of archive names. First name is the real one, the rest are links.
18498 # The last name is the one that the linker finds with -lNAME.
18499 library_names_spec=$lt_library_names_spec
18501 # The coded name of the library, if different from the real name.
18502 soname_spec=$lt_soname_spec
18504 # Commands used to build and install an old-style archive.
18506 old_archive_cmds=$lt_old_archive_cmds_RC
18507 old_postinstall_cmds=$lt_old_postinstall_cmds
18508 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18510 # Create an old-style archive from a shared archive.
18511 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
18513 # Create a temporary old-style archive to link instead of a shared archive.
18514 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
18516 # Commands used to build and install a shared archive.
18517 archive_cmds=$lt_archive_cmds_RC
18518 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
18519 postinstall_cmds=$lt_postinstall_cmds
18520 postuninstall_cmds=$lt_postuninstall_cmds
18522 # Commands used to build a loadable module (assumed same as above if empty)
18523 module_cmds=$lt_module_cmds_RC
18524 module_expsym_cmds=$lt_module_expsym_cmds_RC
18526 # Commands to strip libraries.
18527 old_striplib=$lt_old_striplib
18528 striplib=$lt_striplib
18530 # Dependencies to place before the objects being linked to create a
18532 predep_objects=\`echo $lt_predep_objects_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
18534 # Dependencies to place after the objects being linked to create a
18536 postdep_objects=\`echo $lt_postdep_objects_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
18538 # Dependencies to place before the objects being linked to create a
18540 predeps=$lt_predeps_RC
18542 # Dependencies to place after the objects being linked to create a
18544 postdeps=$lt_postdeps_RC
18546 # The library search path used internally by the compiler when linking
18547 # a shared library.
18548 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"\`
18550 # Method to check whether dependent libraries are shared objects.
18551 deplibs_check_method=$lt_deplibs_check_method
18553 # Command to use when deplibs_check_method == file_magic.
18554 file_magic_cmd=$lt_file_magic_cmd
18556 # Flag that allows shared libraries with undefined symbols to be built.
18557 allow_undefined_flag=$lt_allow_undefined_flag_RC
18559 # Flag that forces no undefined symbols.
18560 no_undefined_flag=$lt_no_undefined_flag_RC
18562 # Commands used to finish a libtool library installation in a directory.
18563 finish_cmds=$lt_finish_cmds
18565 # Same as above, but a single script fragment to be evaled but not shown.
18566 finish_eval=$lt_finish_eval
18568 # Take the output of nm and produce a listing of raw symbols and C names.
18569 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18571 # Transform the output of nm in a proper C declaration
18572 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18574 # Transform the output of nm in a C name address pair
18575 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18577 # This is the shared library runtime path variable.
18578 runpath_var=$runpath_var
18580 # This is the shared library path variable.
18581 shlibpath_var=$shlibpath_var
18583 # Is shlibpath searched before the hard-coded library search path?
18584 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18586 # How to hardcode a shared library path into an executable.
18587 hardcode_action=$hardcode_action_RC
18589 # Whether we should hardcode library paths into libraries.
18590 hardcode_into_libs=$hardcode_into_libs
18592 # Flag to hardcode \$libdir into a binary during linking.
18593 # This must work even if \$libdir does not exist.
18594 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
18596 # If ld is used when linking, flag to hardcode \$libdir into
18597 # a binary during linking. This must work even if \$libdir does
18599 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
18601 # Whether we need a single -rpath flag with a separated argument.
18602 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
18604 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18605 # resulting binary.
18606 hardcode_direct=$hardcode_direct_RC
18608 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18609 # resulting binary.
18610 hardcode_minus_L=$hardcode_minus_L_RC
18612 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18613 # the resulting binary.
18614 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
18616 # Set to yes if building a shared library automatically hardcodes DIR into the library
18617 # and all subsequent libraries and executables linked against it.
18618 hardcode_automatic=$hardcode_automatic_RC
18620 # Variables whose values should be saved in libtool wrapper scripts and
18621 # restored at relink time.
18622 variables_saved_for_relink="$variables_saved_for_relink"
18624 # Whether libtool must link a program against all its dependency libraries.
18625 link_all_deplibs=$link_all_deplibs_RC
18627 # Compile-time system search path for libraries
18628 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"\`
18630 # Run-time system search path for libraries
18631 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18633 # Fix the shell variable \$srcfile for the compiler.
18634 fix_srcfile_path="$fix_srcfile_path_RC"
18636 # Set to yes if exported symbols are required.
18637 always_export_symbols=$always_export_symbols_RC
18639 # The commands to list exported symbols.
18640 export_symbols_cmds=$lt_export_symbols_cmds_RC
18642 # The commands to extract the exported symbol list from a shared archive.
18643 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18645 # Symbols that should not be listed in the preloaded symbols.
18646 exclude_expsyms=$lt_exclude_expsyms_RC
18648 # Symbols that must always be exported.
18649 include_expsyms=$lt_include_expsyms_RC
18651 # ### END LIBTOOL TAG CONFIG: $tagname
18657 # If there is no Makefile yet, we rely on a make rule to execute
18658 # `config.status --recheck' to rerun these tests and create the
18659 # libtool script then.
18660 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18661 if test -f "$ltmain_in"; then
18662 test -f Makefile
&& make "$ltmain"
18668 ac_cpp
='$CPP $CPPFLAGS'
18669 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18670 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18671 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18678 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
18679 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
18680 { (exit 1); exit 1; }; }
18684 # Append the new tag name to the list of available tags.
18685 if test -n "$tagname" ; then
18686 available_tags
="$available_tags $tagname"
18692 # Now substitute the updated list of available tags.
18693 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
18694 mv "${ofile}T" "$ofile"
18698 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
18699 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
18700 { (exit 1); exit 1; }; }
18706 # This can be used to rebuild libtool when needed
18707 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
18709 # Always use our own libtool.
18710 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
18712 # Prevent multiple expansion
18733 for ac_prog
in perl5 perl
18735 # Extract the first word of "$ac_prog", so it can be a program name with args.
18736 set dummy
$ac_prog; ac_word
=$2
18737 echo "$as_me:$LINENO: checking for $ac_word" >&5
18738 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18739 if test "${ac_cv_path_PERL+set}" = set; then
18740 echo $ECHO_N "(cached) $ECHO_C" >&6
18744 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
18747 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18748 for as_dir
in $LPATH
18751 test -z "$as_dir" && as_dir
=.
18752 for ac_exec_ext
in '' $ac_executable_extensions; do
18753 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18754 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
18755 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18764 PERL
=$ac_cv_path_PERL
18766 if test -n "$PERL"; then
18767 echo "$as_me:$LINENO: result: $PERL" >&5
18768 echo "${ECHO_T}$PERL" >&6
18770 echo "$as_me:$LINENO: result: no" >&5
18771 echo "${ECHO_T}no" >&6
18774 test -n "$PERL" && break
18776 test -n "$PERL" || PERL
="perl"
18779 if test "$PERL" = "perl"
18781 { { echo "$as_me:$LINENO: error: Perl not found." >&5
18782 echo "$as_me: error: Perl not found." >&2;}
18783 { (exit 1); exit 1; }; }
18786 if test "$GCC" = "yes"
18788 CFLAGS
="$CFLAGS -Wall"
18791 CFLAGS
="$CFLAGS -I.. -I${srcdir}/.."
18795 # Check whether --with-userdb or --without-userdb was given.
18796 if test "${with_userdb+set}" = set; then
18797 withval
="$with_userdb"
18800 userdb
="/etc/userdb"
18803 USERDB
="`echo $userdb | tr 'a-z' 'A-Z'`"
18807 # Check whether --with-userdbmandir or --without-userdbmandir was given.
18808 if test "${with_userdbmandir+set}" = set; then
18809 withval
="$with_userdbmandir"
18814 # Check whether --with-userdbtmpdir or --without-userdbtmpdir was given.
18815 if test "${with_userdbtmpdir+set}" = set; then
18816 withval
="$with_userdbtmpdir"
18824 if test "$tmpdir" = ""
18826 tmpdir
=`echo "$userdb" | sed 's/\/[^\/]*$//'`
18835 # Check whether --with-makedatprog or --without-makedatprog was given.
18836 if test "${with_makedatprog+set}" = set; then
18837 withval
="$with_makedatprog"
18840 makedat
="$bindir/makedat"
18844 if test -d ${srcdir}/..
/md5
18847 cat >>confdefs.h
<<_ACEOF
18851 MD5LIB
=..
/md
5/libmd5.la
18857 if test -d ${srcdir}/..
/sha1
18859 SHA1LIB
=..
/sha
1/libsha1.la
18865 if test -d ${srcdir}/..
/libhmac
18868 cat >>confdefs.h
<<_ACEOF
18869 #define HAVE_HMAC 1
18872 HMACLIB
=..
/libhmac
/libhmac.la
18878 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
18879 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
18880 if test "${ac_cv_header_stdc+set}" = set; then
18881 echo $ECHO_N "(cached) $ECHO_C" >&6
18883 cat >conftest.
$ac_ext <<_ACEOF
18886 cat confdefs.h
>>conftest.
$ac_ext
18887 cat >>conftest.
$ac_ext <<_ACEOF
18888 /* end confdefs.h. */
18889 #include <stdlib.h>
18890 #include <stdarg.h>
18891 #include <string.h>
18902 rm -f conftest.
$ac_objext
18903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18904 (eval $ac_compile) 2>conftest.er1
18906 grep -v '^ *+' conftest.er1
>conftest.err
18908 cat conftest.err
>&5
18909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18910 (exit $ac_status); } &&
18911 { ac_try
='test -z "$ac_c_werror_flag"
18912 || test ! -s conftest.err'
18913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18914 (eval $ac_try) 2>&5
18916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18917 (exit $ac_status); }; } &&
18918 { ac_try
='test -s conftest.$ac_objext'
18919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18920 (eval $ac_try) 2>&5
18922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18923 (exit $ac_status); }; }; then
18924 ac_cv_header_stdc
=yes
18926 echo "$as_me: failed program was:" >&5
18927 sed 's/^/| /' conftest.
$ac_ext >&5
18929 ac_cv_header_stdc
=no
18931 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18933 if test $ac_cv_header_stdc = yes; then
18934 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18935 cat >conftest.
$ac_ext <<_ACEOF
18938 cat confdefs.h
>>conftest.
$ac_ext
18939 cat >>conftest.
$ac_ext <<_ACEOF
18940 /* end confdefs.h. */
18941 #include <string.h>
18944 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18945 $EGREP "memchr" >/dev
/null
2>&1; then
18948 ac_cv_header_stdc
=no
18954 if test $ac_cv_header_stdc = yes; then
18955 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18956 cat >conftest.
$ac_ext <<_ACEOF
18959 cat confdefs.h
>>conftest.
$ac_ext
18960 cat >>conftest.
$ac_ext <<_ACEOF
18961 /* end confdefs.h. */
18962 #include <stdlib.h>
18965 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18966 $EGREP "free" >/dev
/null
2>&1; then
18969 ac_cv_header_stdc
=no
18975 if test $ac_cv_header_stdc = yes; then
18976 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18977 if test "$cross_compiling" = yes; then
18980 cat >conftest.
$ac_ext <<_ACEOF
18983 cat confdefs.h
>>conftest.
$ac_ext
18984 cat >>conftest.
$ac_ext <<_ACEOF
18985 /* end confdefs.h. */
18987 #if ((' ' & 0x0FF) == 0x020)
18988 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18989 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
18991 # define ISLOWER(c) \
18992 (('a' <= (c) && (c) <= 'i') \
18993 || ('j' <= (c) && (c) <= 'r') \
18994 || ('s' <= (c) && (c) <= 'z'))
18995 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18998 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19003 for (i = 0; i < 256; i++)
19004 if (XOR (islower (i), ISLOWER (i))
19005 || toupper (i) != TOUPPER (i))
19010 rm -f conftest
$ac_exeext
19011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19012 (eval $ac_link) 2>&5
19014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19015 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19017 (eval $ac_try) 2>&5
19019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19020 (exit $ac_status); }; }; then
19023 echo "$as_me: program exited with status $ac_status" >&5
19024 echo "$as_me: failed program was:" >&5
19025 sed 's/^/| /' conftest.
$ac_ext >&5
19027 ( exit $ac_status )
19028 ac_cv_header_stdc
=no
19030 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19034 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19035 echo "${ECHO_T}$ac_cv_header_stdc" >&6
19036 if test $ac_cv_header_stdc = yes; then
19038 cat >>confdefs.h
<<\_ACEOF
19039 #define STDC_HEADERS 1
19050 for ac_header
in sys
/stat.h sys
/time.h unistd.h fcntl.h termios.h
crypt.h
19052 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19053 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19054 echo "$as_me:$LINENO: checking for $ac_header" >&5
19055 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19056 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19057 echo $ECHO_N "(cached) $ECHO_C" >&6
19059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19060 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19062 # Is the header compilable?
19063 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19064 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19065 cat >conftest.
$ac_ext <<_ACEOF
19068 cat confdefs.h
>>conftest.
$ac_ext
19069 cat >>conftest.
$ac_ext <<_ACEOF
19070 /* end confdefs.h. */
19071 $ac_includes_default
19072 #include <$ac_header>
19074 rm -f conftest.
$ac_objext
19075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19076 (eval $ac_compile) 2>conftest.er1
19078 grep -v '^ *+' conftest.er1
>conftest.err
19080 cat conftest.err
>&5
19081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19082 (exit $ac_status); } &&
19083 { ac_try
='test -z "$ac_c_werror_flag"
19084 || test ! -s conftest.err'
19085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19086 (eval $ac_try) 2>&5
19088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19089 (exit $ac_status); }; } &&
19090 { ac_try
='test -s conftest.$ac_objext'
19091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19092 (eval $ac_try) 2>&5
19094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19095 (exit $ac_status); }; }; then
19096 ac_header_compiler
=yes
19098 echo "$as_me: failed program was:" >&5
19099 sed 's/^/| /' conftest.
$ac_ext >&5
19101 ac_header_compiler
=no
19103 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19104 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19105 echo "${ECHO_T}$ac_header_compiler" >&6
19107 # Is the header present?
19108 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19109 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19110 cat >conftest.
$ac_ext <<_ACEOF
19113 cat confdefs.h
>>conftest.
$ac_ext
19114 cat >>conftest.
$ac_ext <<_ACEOF
19115 /* end confdefs.h. */
19116 #include <$ac_header>
19118 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19119 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19121 grep -v '^ *+' conftest.er1
>conftest.err
19123 cat conftest.err
>&5
19124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19125 (exit $ac_status); } >/dev
/null
; then
19126 if test -s conftest.err
; then
19127 ac_cpp_err
=$ac_c_preproc_warn_flag
19128 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19135 if test -z "$ac_cpp_err"; then
19136 ac_header_preproc
=yes
19138 echo "$as_me: failed program was:" >&5
19139 sed 's/^/| /' conftest.
$ac_ext >&5
19141 ac_header_preproc
=no
19143 rm -f conftest.err conftest.
$ac_ext
19144 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19145 echo "${ECHO_T}$ac_header_preproc" >&6
19147 # So? What about this header?
19148 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19150 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19151 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19152 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19153 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19154 ac_header_preproc
=yes
19157 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19158 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19159 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19160 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19161 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19162 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19163 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19164 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19165 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19166 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19167 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19168 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19171 ## -------------------------------------------------- ##
19172 ## Report this to courier-users@lists.sourceforge.net ##
19173 ## -------------------------------------------------- ##
19176 sed "s/^/$as_me: WARNING: /" >&2
19179 echo "$as_me:$LINENO: checking for $ac_header" >&5
19180 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19181 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19182 echo $ECHO_N "(cached) $ECHO_C" >&6
19184 eval "$as_ac_Header=\$ac_header_preproc"
19186 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19187 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19190 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19191 cat >>confdefs.h
<<_ACEOF
19192 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19199 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
19200 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
19201 if test "${ac_cv_header_time+set}" = set; then
19202 echo $ECHO_N "(cached) $ECHO_C" >&6
19204 cat >conftest.
$ac_ext <<_ACEOF
19207 cat confdefs.h
>>conftest.
$ac_ext
19208 cat >>conftest.
$ac_ext <<_ACEOF
19209 /* end confdefs.h. */
19210 #include <sys/types.h>
19211 #include <sys/time.h>
19217 if ((struct tm *) 0)
19223 rm -f conftest.
$ac_objext
19224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19225 (eval $ac_compile) 2>conftest.er1
19227 grep -v '^ *+' conftest.er1
>conftest.err
19229 cat conftest.err
>&5
19230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19231 (exit $ac_status); } &&
19232 { ac_try
='test -z "$ac_c_werror_flag"
19233 || test ! -s conftest.err'
19234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19235 (eval $ac_try) 2>&5
19237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19238 (exit $ac_status); }; } &&
19239 { ac_try
='test -s conftest.$ac_objext'
19240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19241 (eval $ac_try) 2>&5
19243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19244 (exit $ac_status); }; }; then
19245 ac_cv_header_time
=yes
19247 echo "$as_me: failed program was:" >&5
19248 sed 's/^/| /' conftest.
$ac_ext >&5
19250 ac_cv_header_time
=no
19252 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19254 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
19255 echo "${ECHO_T}$ac_cv_header_time" >&6
19256 if test $ac_cv_header_time = yes; then
19258 cat >>confdefs.h
<<\_ACEOF
19259 #define TIME_WITH_SYS_TIME 1
19265 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19266 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
19267 if test "${ac_cv_c_const+set}" = set; then
19268 echo $ECHO_N "(cached) $ECHO_C" >&6
19270 cat >conftest.
$ac_ext <<_ACEOF
19273 cat confdefs.h
>>conftest.
$ac_ext
19274 cat >>conftest.
$ac_ext <<_ACEOF
19275 /* end confdefs.h. */
19280 /* FIXME: Include the comments suggested by Paul. */
19281 #ifndef __cplusplus
19282 /* Ultrix mips cc rejects this. */
19283 typedef int charset[2];
19285 /* SunOS 4.1.1 cc rejects this. */
19286 char const *const *ccp;
19288 /* NEC SVR4.0.2 mips cc rejects this. */
19289 struct point {int x, y;};
19290 static struct point const zero = {0,0};
19291 /* AIX XL C 1.02.0.0 rejects this.
19292 It does not let you subtract one const X* pointer from another in
19293 an arm of an if-expression whose if-part is not a constant
19295 const char *g = "string";
19296 ccp = &g + (g ? g-g : 0);
19297 /* HPUX 7.0 cc rejects these. */
19300 ccp = (char const *const *) p;
19301 { /* SCO 3.2v4 cc rejects this. */
19303 char const *s = 0 ? (char *) 0 : (char const *) 0;
19307 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19308 int x[] = {25, 17};
19309 const int *foo = &x[0];
19312 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19313 typedef const int *iptr;
19317 { /* AIX XL C 1.02.0.0 rejects this saying
19318 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19319 struct s { int j; const int *ap[3]; };
19320 struct s *b; b->j = 5;
19322 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19323 const int foo = 10;
19331 rm -f conftest.
$ac_objext
19332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19333 (eval $ac_compile) 2>conftest.er1
19335 grep -v '^ *+' conftest.er1
>conftest.err
19337 cat conftest.err
>&5
19338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19339 (exit $ac_status); } &&
19340 { ac_try
='test -z "$ac_c_werror_flag"
19341 || test ! -s conftest.err'
19342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19343 (eval $ac_try) 2>&5
19345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19346 (exit $ac_status); }; } &&
19347 { ac_try
='test -s conftest.$ac_objext'
19348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19349 (eval $ac_try) 2>&5
19351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19352 (exit $ac_status); }; }; then
19355 echo "$as_me: failed program was:" >&5
19356 sed 's/^/| /' conftest.
$ac_ext >&5
19360 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19362 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19363 echo "${ECHO_T}$ac_cv_c_const" >&6
19364 if test $ac_cv_c_const = no
; then
19366 cat >>confdefs.h
<<\_ACEOF
19372 echo "$as_me:$LINENO: checking for pid_t" >&5
19373 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
19374 if test "${ac_cv_type_pid_t+set}" = set; then
19375 echo $ECHO_N "(cached) $ECHO_C" >&6
19377 cat >conftest.
$ac_ext <<_ACEOF
19380 cat confdefs.h
>>conftest.
$ac_ext
19381 cat >>conftest.
$ac_ext <<_ACEOF
19382 /* end confdefs.h. */
19383 $ac_includes_default
19389 if (sizeof (pid_t))
19395 rm -f conftest.
$ac_objext
19396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19397 (eval $ac_compile) 2>conftest.er1
19399 grep -v '^ *+' conftest.er1
>conftest.err
19401 cat conftest.err
>&5
19402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19403 (exit $ac_status); } &&
19404 { ac_try
='test -z "$ac_c_werror_flag"
19405 || test ! -s conftest.err'
19406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19407 (eval $ac_try) 2>&5
19409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19410 (exit $ac_status); }; } &&
19411 { ac_try
='test -s conftest.$ac_objext'
19412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19413 (eval $ac_try) 2>&5
19415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19416 (exit $ac_status); }; }; then
19417 ac_cv_type_pid_t
=yes
19419 echo "$as_me: failed program was:" >&5
19420 sed 's/^/| /' conftest.
$ac_ext >&5
19422 ac_cv_type_pid_t
=no
19424 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19426 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
19427 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
19428 if test $ac_cv_type_pid_t = yes; then
19432 cat >>confdefs.h
<<_ACEOF
19438 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
19439 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
19440 if test "${ac_cv_type_uid_t+set}" = set; then
19441 echo $ECHO_N "(cached) $ECHO_C" >&6
19443 cat >conftest.
$ac_ext <<_ACEOF
19446 cat confdefs.h
>>conftest.
$ac_ext
19447 cat >>conftest.
$ac_ext <<_ACEOF
19448 /* end confdefs.h. */
19449 #include <sys/types.h>
19452 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19453 $EGREP "uid_t" >/dev
/null
2>&1; then
19454 ac_cv_type_uid_t
=yes
19456 ac_cv_type_uid_t
=no
19461 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
19462 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
19463 if test $ac_cv_type_uid_t = no
; then
19465 cat >>confdefs.h
<<\_ACEOF
19470 cat >>confdefs.h
<<\_ACEOF
19476 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
19477 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
19478 if test "${ac_cv_type_signal+set}" = set; then
19479 echo $ECHO_N "(cached) $ECHO_C" >&6
19481 cat >conftest.
$ac_ext <<_ACEOF
19484 cat confdefs.h
>>conftest.
$ac_ext
19485 cat >>conftest.
$ac_ext <<_ACEOF
19486 /* end confdefs.h. */
19487 #include <sys/types.h>
19488 #include <signal.h>
19493 extern "C" void (*signal (int, void (*)(int)))(int);
19495 void (*signal ()) ();
19506 rm -f conftest.
$ac_objext
19507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19508 (eval $ac_compile) 2>conftest.er1
19510 grep -v '^ *+' conftest.er1
>conftest.err
19512 cat conftest.err
>&5
19513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19514 (exit $ac_status); } &&
19515 { ac_try
='test -z "$ac_c_werror_flag"
19516 || test ! -s conftest.err'
19517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19518 (eval $ac_try) 2>&5
19520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19521 (exit $ac_status); }; } &&
19522 { ac_try
='test -s conftest.$ac_objext'
19523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19524 (eval $ac_try) 2>&5
19526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19527 (exit $ac_status); }; }; then
19528 ac_cv_type_signal
=void
19530 echo "$as_me: failed program was:" >&5
19531 sed 's/^/| /' conftest.
$ac_ext >&5
19533 ac_cv_type_signal
=int
19535 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19537 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
19538 echo "${ECHO_T}$ac_cv_type_signal" >&6
19540 cat >>confdefs.h
<<_ACEOF
19541 #define RETSIGTYPE $ac_cv_type_signal
19547 echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
19548 echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6
19549 if test "${ac_cv_lib_crypt_crypt+set}" = set; then
19550 echo $ECHO_N "(cached) $ECHO_C" >&6
19552 ac_check_lib_save_LIBS
=$LIBS
19553 LIBS
="-lcrypt $LIBS"
19554 cat >conftest.
$ac_ext <<_ACEOF
19557 cat confdefs.h
>>conftest.
$ac_ext
19558 cat >>conftest.
$ac_ext <<_ACEOF
19559 /* end confdefs.h. */
19561 /* Override any gcc2 internal prototype to avoid an error. */
19565 /* We use char because int might match the return type of a gcc2
19566 builtin and then its argument prototype would still apply. */
19576 rm -f conftest.
$ac_objext conftest
$ac_exeext
19577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19578 (eval $ac_link) 2>conftest.er1
19580 grep -v '^ *+' conftest.er1
>conftest.err
19582 cat conftest.err
>&5
19583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19584 (exit $ac_status); } &&
19585 { ac_try
='test -z "$ac_c_werror_flag"
19586 || test ! -s conftest.err'
19587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19588 (eval $ac_try) 2>&5
19590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19591 (exit $ac_status); }; } &&
19592 { ac_try
='test -s conftest$ac_exeext'
19593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19594 (eval $ac_try) 2>&5
19596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19597 (exit $ac_status); }; }; then
19598 ac_cv_lib_crypt_crypt
=yes
19600 echo "$as_me: failed program was:" >&5
19601 sed 's/^/| /' conftest.
$ac_ext >&5
19603 ac_cv_lib_crypt_crypt
=no
19605 rm -f conftest.err conftest.
$ac_objext \
19606 conftest
$ac_exeext conftest.
$ac_ext
19607 LIBS
=$ac_check_lib_save_LIBS
19609 echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
19610 echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6
19611 if test $ac_cv_lib_crypt_crypt = yes; then
19612 CRYPTLIBS
="-lcrypt"
19616 LIBS
="$CRYPTLIBS $LIBS"
19617 echo "$as_me:$LINENO: checking for crypt" >&5
19618 echo $ECHO_N "checking for crypt... $ECHO_C" >&6
19619 if test "${ac_cv_func_crypt+set}" = set; then
19620 echo $ECHO_N "(cached) $ECHO_C" >&6
19622 cat >conftest.
$ac_ext <<_ACEOF
19625 cat confdefs.h
>>conftest.
$ac_ext
19626 cat >>conftest.
$ac_ext <<_ACEOF
19627 /* end confdefs.h. */
19628 /* Define crypt to an innocuous variant, in case <limits.h> declares crypt.
19629 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19630 #define crypt innocuous_crypt
19632 /* System header to define __stub macros and hopefully few prototypes,
19633 which can conflict with char crypt (); below.
19634 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19635 <limits.h> exists even on freestanding compilers. */
19638 # include <limits.h>
19640 # include <assert.h>
19645 /* Override any gcc2 internal prototype to avoid an error. */
19650 /* We use char because int might match the return type of a gcc2
19651 builtin and then its argument prototype would still apply. */
19653 /* The GNU C library defines this for functions which it implements
19654 to always fail with ENOSYS. Some functions are actually named
19655 something starting with __ and the normal name is an alias. */
19656 #if defined (__stub_crypt) || defined (__stub___crypt)
19659 char (*f) () = crypt;
19673 rm -f conftest.
$ac_objext conftest
$ac_exeext
19674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19675 (eval $ac_link) 2>conftest.er1
19677 grep -v '^ *+' conftest.er1
>conftest.err
19679 cat conftest.err
>&5
19680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19681 (exit $ac_status); } &&
19682 { ac_try
='test -z "$ac_c_werror_flag"
19683 || test ! -s conftest.err'
19684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19685 (eval $ac_try) 2>&5
19687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19688 (exit $ac_status); }; } &&
19689 { ac_try
='test -s conftest$ac_exeext'
19690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19691 (eval $ac_try) 2>&5
19693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19694 (exit $ac_status); }; }; then
19695 ac_cv_func_crypt
=yes
19697 echo "$as_me: failed program was:" >&5
19698 sed 's/^/| /' conftest.
$ac_ext >&5
19700 ac_cv_func_crypt
=no
19702 rm -f conftest.err conftest.
$ac_objext \
19703 conftest
$ac_exeext conftest.
$ac_ext
19705 echo "$as_me:$LINENO: result: $ac_cv_func_crypt" >&5
19706 echo "${ECHO_T}$ac_cv_func_crypt" >&6
19707 if test $ac_cv_func_crypt = yes; then
19709 cat >>confdefs.h
<<_ACEOF
19710 #define HAVE_CRYPT 1
19716 echo "$as_me:$LINENO: checking for crypt() prototype" >&5
19717 echo $ECHO_N "checking for crypt() prototype... $ECHO_C" >&6
19718 if test "${userdb_cv_NEED_CRYPT_PROTOTYPE+set}" = set; then
19719 echo $ECHO_N "(cached) $ECHO_C" >&6
19721 cat >conftest.
$ac_ext <<_ACEOF
19724 cat confdefs.h
>>conftest.
$ac_ext
19725 cat >>conftest.
$ac_ext <<_ACEOF
19726 /* end confdefs.h. */
19732 #include <unistd.h>
19734 int crypt(int, int);
19745 rm -f conftest.
$ac_objext
19746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19747 (eval $ac_compile) 2>conftest.er1
19749 grep -v '^ *+' conftest.er1
>conftest.err
19751 cat conftest.err
>&5
19752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19753 (exit $ac_status); } &&
19754 { ac_try
='test -z "$ac_c_werror_flag"
19755 || test ! -s conftest.err'
19756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19757 (eval $ac_try) 2>&5
19759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19760 (exit $ac_status); }; } &&
19761 { ac_try
='test -s conftest.$ac_objext'
19762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19763 (eval $ac_try) 2>&5
19765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19766 (exit $ac_status); }; }; then
19767 userdb_cv_NEED_CRYPT_PROTOTYPE
=1
19769 echo "$as_me: failed program was:" >&5
19770 sed 's/^/| /' conftest.
$ac_ext >&5
19772 userdb_cv_NEED_CRYPT_PROTOTYPE
=0
19774 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19778 echo "$as_me:$LINENO: result: $userdb_cv_NEED_CRYPT_PROTOTYPE" >&5
19779 echo "${ECHO_T}$userdb_cv_NEED_CRYPT_PROTOTYPE" >&6
19782 cat >>confdefs.h
<<_ACEOF
19783 #define NEED_CRYPT_PROTOTYPE $userdb_cv_NEED_CRYPT_PROTOTYPE
19790 for ac_func
in isatty gettimeofday
19792 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19793 echo "$as_me:$LINENO: checking for $ac_func" >&5
19794 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19795 if eval "test \"\${$as_ac_var+set}\" = set"; then
19796 echo $ECHO_N "(cached) $ECHO_C" >&6
19798 cat >conftest.
$ac_ext <<_ACEOF
19801 cat confdefs.h
>>conftest.
$ac_ext
19802 cat >>conftest.
$ac_ext <<_ACEOF
19803 /* end confdefs.h. */
19804 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19805 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19806 #define $ac_func innocuous_$ac_func
19808 /* System header to define __stub macros and hopefully few prototypes,
19809 which can conflict with char $ac_func (); below.
19810 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19811 <limits.h> exists even on freestanding compilers. */
19814 # include <limits.h>
19816 # include <assert.h>
19821 /* Override any gcc2 internal prototype to avoid an error. */
19826 /* We use char because int might match the return type of a gcc2
19827 builtin and then its argument prototype would still apply. */
19829 /* The GNU C library defines this for functions which it implements
19830 to always fail with ENOSYS. Some functions are actually named
19831 something starting with __ and the normal name is an alias. */
19832 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19835 char (*f) () = $ac_func;
19844 return f != $ac_func;
19849 rm -f conftest.
$ac_objext conftest
$ac_exeext
19850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19851 (eval $ac_link) 2>conftest.er1
19853 grep -v '^ *+' conftest.er1
>conftest.err
19855 cat conftest.err
>&5
19856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19857 (exit $ac_status); } &&
19858 { ac_try
='test -z "$ac_c_werror_flag"
19859 || test ! -s conftest.err'
19860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19861 (eval $ac_try) 2>&5
19863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19864 (exit $ac_status); }; } &&
19865 { ac_try
='test -s conftest$ac_exeext'
19866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19867 (eval $ac_try) 2>&5
19869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19870 (exit $ac_status); }; }; then
19871 eval "$as_ac_var=yes"
19873 echo "$as_me: failed program was:" >&5
19874 sed 's/^/| /' conftest.
$ac_ext >&5
19876 eval "$as_ac_var=no"
19878 rm -f conftest.err conftest.
$ac_objext \
19879 conftest
$ac_exeext conftest.
$ac_ext
19881 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19882 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19883 if test `eval echo '${'$as_ac_var'}'` = yes; then
19884 cat >>confdefs.h
<<_ACEOF
19885 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19893 # Check whether --with-random or --without-random was given.
19894 if test "${with_random+set}" = set; then
19895 withval
="$with_random"
19905 echo "$as_me:$LINENO: checking for random source" >&5
19906 echo $ECHO_N "checking for random source... $ECHO_C" >&6
19907 if test "${userdb_cv_RANDOM+set}" = set; then
19908 echo $ECHO_N "(cached) $ECHO_C" >&6
19910 if test -c /dev
/urandom
19912 userdb_cv_RANDOM
=/dev
/urandom
19914 if test -c /dev
/random
19916 userdb_cv_RANDOM
=/dev
/random
19918 userdb_cv_RANDOM
="none"
19923 echo "$as_me:$LINENO: result: $userdb_cv_RANDOM" >&5
19924 echo "${ECHO_T}$userdb_cv_RANDOM" >&6
19925 random
="$userdb_cv_RANDOM"
19932 if test "$random" != "none"
19935 cat >>confdefs.h
<<_ACEOF
19936 #define RANDOM "$random"
19943 if test -d ${srcdir}/..
/docbook
; then
19945 HAVE_SGML_FALSE
='#'
19952 ac_config_files
="$ac_config_files Makefile userdb.pl makeuserdb pw2userdb vchkpw2userdb"
19953 cat >confcache
<<\_ACEOF
19954 # This file is a shell script that caches the results of configure
19955 # tests run on this system so they can be shared between configure
19956 # scripts and configure runs, see configure's option --config-cache.
19957 # It is not useful on other systems. If it contains results you don't
19958 # want to keep, you may remove or edit it.
19960 # config.status only pays attention to the cache file if you give it
19961 # the --recheck option to rerun configure.
19963 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19964 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19965 # following values.
19969 # The following way of writing the cache mishandles newlines in values,
19970 # but we know of no workaround that is simple, portable, and efficient.
19971 # So, don't put newlines in cache variables' values.
19972 # Ultrix sh set writes to stderr and can't be redirected directly,
19973 # and sets the high bit in the cache file unless we assign to the vars.
19976 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19978 # `set' does not quote correctly, so add quotes (double-quote
19979 # substitution turns \\\\ into \\, and sed turns \\ into \).
19982 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19985 # `set' quotes correctly as required by POSIX, so do not add quotes.
19987 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
19994 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19996 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19998 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
19999 if test -w $cache_file; then
20000 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20001 cat confcache
>$cache_file
20003 echo "not updating unwritable cache $cache_file"
20008 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20009 # Let make expand exec_prefix.
20010 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20012 # VPATH may cause trouble with some makes, so we remove $(srcdir),
20013 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
20014 # trailing colons and then remove the whole line if VPATH becomes empty
20015 # (actually we leave an empty line to preserve line numbers).
20016 if test "x$srcdir" = x.
; then
20017 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
20018 s/:*\$(srcdir):*/:/;
20019 s/:*\${srcdir}:*/:/;
20021 s/^\([^=]*=[ ]*\):*/\1/;
20027 # Transform confdefs.h into DEFS.
20028 # Protect against shell expansion while executing Makefile rules.
20029 # Protect against Makefile macro expansion.
20031 # If the first sed substitution is executed (which looks for macros that
20032 # take arguments), then we branch to the quote section. Otherwise,
20033 # look for a macro that doesn't take arguments.
20034 cat >confdef2opt.
sed <<\_ACEOF
20037 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
20039 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
20043 s
,[ `~#$^&*(){}\\|;'"<>?],\\&,g
20049 # We use echo to avoid assuming a particular line-breaking character.
20050 # The extra dot is to prevent the shell from consuming trailing
20051 # line-breaks from the sub-command output. A line-break within
20052 # single-quotes doesn't work because, if this script is created in a
20053 # platform that uses two characters for line-breaks (e.g., DOS), tr
20055 ac_LF_and_DOT=`echo; echo .
`
20056 DEFS=`sed -n -f confdef2opt.
sed confdefs.h |
tr "$ac_LF_and_DOT" ' .'`
20057 rm -f confdef2opt.sed
20062 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20063 # 1. Remove the extension, and $U if already installed.
20064 ac_i=`echo "$ac_i" |
20065 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
20067 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
20068 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
20070 LIBOBJS=$ac_libobjs
20072 LTLIBOBJS=$ac_ltlibobjs
20075 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
20076 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
20077 Usually this means the macro was only invoked conditionally." >&5
20078 echo "$as_me: error: conditional \"AMDEP\" was never defined.
20079 Usually this means the macro was only invoked conditionally." >&2;}
20080 { (exit 1); exit 1; }; }
20082 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20083 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
20084 Usually this means the macro was only invoked conditionally." >&5
20085 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
20086 Usually this means the macro was only invoked conditionally." >&2;}
20087 { (exit 1); exit 1; }; }
20089 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
20090 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
20091 Usually this means the macro was only invoked conditionally." >&5
20092 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
20093 Usually this means the macro was only invoked conditionally." >&2;}
20094 { (exit 1); exit 1; }; }
20096 if test -z "${HAVE_SGML_TRUE}" && test -z "${HAVE_SGML_FALSE}"; then
20097 { { echo "$as_me:$LINENO: error: conditional \"HAVE_SGML\" was never defined.
20098 Usually this means the macro was only invoked conditionally." >&5
20099 echo "$as_me: error: conditional \"HAVE_SGML\" was never defined.
20100 Usually this means the macro was only invoked conditionally." >&2;}
20101 { (exit 1); exit 1; }; }
20104 : ${CONFIG_STATUS=./config.status}
20105 ac_clean_files_save=$ac_clean_files
20106 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20107 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20108 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20109 cat >$CONFIG_STATUS <<_ACEOF
20111 # Generated by $as_me.
20112 # Run this file to recreate the current configuration.
20113 # Compiler output produced by configure, useful for debugging
20114 # configure, is in config.log if it exists.
20117 ac_cs_recheck=false
20119 SHELL=\${CONFIG_SHELL-$SHELL}
20122 cat >>$CONFIG_STATUS <<\_ACEOF
20123 ## --------------------- ##
20124 ## M4sh Initialization. ##
20125 ## --------------------- ##
20127 # Be Bourne compatible
20128 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20131 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20132 # is contrary to our usage. Disable this feature.
20133 alias -g '${1+"$@"}'='"$@"'
20134 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20137 DUALCASE=1; export DUALCASE # for MKS sh
20139 # Support unset when possible.
20140 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
20147 # Work around bugs in pre-3.0 UWIN ksh.
20148 $as_unset ENV MAIL MAILPATH
20155 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20156 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20157 LC_TELEPHONE LC_TIME
20159 if (set +x; test -z "`(eval $as_var=C
; export $as_var) 2>&1`"); then
20160 eval $as_var=C; export $as_var
20166 # Required to use basename.
20167 if expr a : '\(a\)' >/dev/null 2>&1; then
20173 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
20174 as_basename=basename
20180 # Name of the executable.
20181 as_me=`$as_basename "$0" ||
20182 $as_expr X
/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20183 X
"$0" : 'X\(//\)$' \| \
20184 X
"$0" : 'X\(/\)$' \| \
20185 .
: '\(.\)' 2>/dev
/null ||
20187 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
20188 /^X\/\(\/\/\)$/{ s//\1/; q; }
20189 /^X\/\(\/\).*/{ s//\1/; q; }
20193 # PATH needs CR, and LINENO needs CR and PATH.
20194 # Avoid depending upon Character Ranges.
20195 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20196 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20197 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20198 as_cr_digits='0123456789'
20199 as_cr_alnum=$as_cr_Letters$as_cr_digits
20201 # The user is always right.
20202 if test "${PATH_SEPARATOR+set}" != set; then
20203 echo "#! /bin/sh" >conf$$.sh
20204 echo "exit 0" >>conf$$.sh
20206 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
20215 as_lineno_1=$LINENO
20216 as_lineno_2=$LINENO
20217 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev
/null
`
20218 test "x$as_lineno_1" != "x$as_lineno_2" &&
20219 test "x$as_lineno_3" = "x$as_lineno_2" || {
20220 # Find who we are. Look in the path if we contain no path at all
20223 *[\\/]* ) as_myself=$0 ;;
20224 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20225 for as_dir in $PATH
20228 test -z "$as_dir" && as_dir=.
20229 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20234 # We did not find ourselves, most probably we were run as `sh COMMAND
'
20235 # in which case we are not to be found in the path.
20236 if test "x$as_myself" = x; then
20239 if test ! -f "$as_myself"; then
20240 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
20241 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
20242 { (exit 1); exit 1; }; }
20244 case $CONFIG_SHELL in
20246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20247 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
20250 test -z "$as_dir" && as_dir=.
20251 for as_base in sh bash ksh sh5; do
20254 if ("$as_dir/$as_base" -c '
20255 as_lineno_1
=$LINENO
20256 as_lineno_2
=$LINENO
20257 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
20258 test "x$as_lineno_1" != "x$as_lineno_2" &&
20259 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
20260 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
20261 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
20262 CONFIG_SHELL=$as_dir/$as_base
20263 export CONFIG_SHELL
20264 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
20272 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20273 # uniformly replaced by the line number. The first 'sed' inserts a
20274 # line-number line before each line; the second 'sed' does the real
20275 # work. The second script uses 'N
' to pair each line-number line
20276 # with the numbered line, and appends trailing '-' during
20277 # substitution so that $LINENO is not a special case at line end.
20278 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20279 # second 'sed' script. Blame Lee E. McMahon for sed's syntax.
:-)
20280 sed '=' <$as_myself |
20285 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
20288 s,^['$as_cr_digits']*\n,,
20289 ' >$as_me.lineno
&&
20290 chmod +x
$as_me.lineno ||
20291 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
20292 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
20293 { (exit 1); exit 1; }; }
20295 # Don't try to exec as it changes $[0], causing all sort of problems
20296 # (the dirname of $[0] is not the place where we might find the
20297 # original and so on. Autoconf is especially sensible to this).
20299 # Exit status is that of the last command.
20304 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
20305 *c
*,-n*) ECHO_N
= ECHO_C
='
20307 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
20308 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
20311 if expr a
: '\(a\)' >/dev
/null
2>&1; then
20317 rm -f conf$$ conf$$.exe conf$$.
file
20319 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20320 # We could just check for DJGPP; but this test a) works b) is more generic
20321 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
20322 if test -f conf$$.exe
; then
20323 # Don't use ln at all; we don't have any links
20328 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20333 rm -f conf$$ conf$$.exe conf$$.
file
20335 if mkdir
-p .
2>/dev
/null
; then
20338 test -d .
/-p && rmdir .
/-p
20342 as_executable_p
="test -f"
20344 # Sed expression to map a string onto a valid CPP name.
20345 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20347 # Sed expression to map a string onto a valid variable name.
20348 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20352 # We need space, tab and new line, in precisely that order.
20362 # Open the log real soon, to keep \$[0] and so on meaningful, and to
20363 # report actual input values of CONFIG_FILES etc. instead of their
20364 # values after options handling. Logging --version etc. is OK.
20368 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20369 ## Running $as_me. ##
20374 This file was extended by libuserdb $as_me 0.10, which was
20375 generated by GNU Autoconf 2.59. Invocation command line was
20377 CONFIG_FILES = $CONFIG_FILES
20378 CONFIG_HEADERS = $CONFIG_HEADERS
20379 CONFIG_LINKS = $CONFIG_LINKS
20380 CONFIG_COMMANDS = $CONFIG_COMMANDS
20384 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
20388 # Files that config.status was made for.
20389 if test -n "$ac_config_files"; then
20390 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
20393 if test -n "$ac_config_headers"; then
20394 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
20397 if test -n "$ac_config_links"; then
20398 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
20401 if test -n "$ac_config_commands"; then
20402 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
20405 cat >>$CONFIG_STATUS <<\_ACEOF
20408 \`$as_me' instantiates files from templates according to the
20409 current configuration.
20411 Usage: $0 [OPTIONS] [FILE]...
20413 -h, --help print this help, then exit
20414 -V, --version print version number, then exit
20415 -q, --quiet do not print progress messages
20416 -d, --debug don't remove temporary files
20417 --recheck update $as_me by reconfiguring in the same conditions
20418 --file=FILE[:TEMPLATE]
20419 instantiate the configuration file FILE
20421 Configuration files:
20424 Configuration commands:
20427 Report bugs to <bug-autoconf@gnu.org>."
20430 cat >>$CONFIG_STATUS <<_ACEOF
20432 libuserdb config.status 0.10
20433 configured by $0, generated by GNU Autoconf 2.59,
20434 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
20436 Copyright (C) 2003 Free Software Foundation, Inc.
20437 This config.status script is free software; the Free Software Foundation
20438 gives unlimited permission to copy, distribute and modify it."
20443 cat >>$CONFIG_STATUS <<\_ACEOF
20444 # If no file are specified by the user, then we need to provide default
20445 # value. By we need to know if files were specified by the user.
20451 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
20452 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
20460 *) # This is not an option, so the user has probably given explicit
20463 ac_need_defaults
=false
;;
20467 # Handling of the options.
20469 cat >>$CONFIG_STATUS <<\_ACEOF
20470 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
20472 --version |
--vers* |
-V )
20473 echo "$ac_cs_version"; exit 0 ;;
20475 # Conflict between --help and --header
20476 { { echo "$as_me:$LINENO: error: ambiguous option: $1
20477 Try \`$0 --help' for more information." >&5
20478 echo "$as_me: error: ambiguous option: $1
20479 Try \`$0 --help' for more information." >&2;}
20480 { (exit 1); exit 1; }; };;
20481 --help |
--hel |
-h )
20482 echo "$ac_cs_usage"; exit 0 ;;
20483 --debug |
--d* |
-d )
20485 --file |
--fil |
--fi |
--f )
20487 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
20488 ac_need_defaults
=false
;;
20489 --header |
--heade |
--head |
--hea )
20491 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
20492 ac_need_defaults
=false
;;
20493 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
20494 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
20497 # This is an error.
20498 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
20499 Try \`$0 --help' for more information." >&5
20500 echo "$as_me: error: unrecognized option: $1
20501 Try \`$0 --help' for more information." >&2;}
20502 { (exit 1); exit 1; }; } ;;
20504 *) ac_config_targets
="$ac_config_targets $1" ;;
20510 ac_configure_extra_args
=
20512 if $ac_cs_silent; then
20514 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20518 cat >>$CONFIG_STATUS <<_ACEOF
20519 if \$ac_cs_recheck; then
20520 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20521 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20526 cat >>$CONFIG_STATUS <<_ACEOF
20528 # INIT-COMMANDS section.
20531 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20537 cat >>$CONFIG_STATUS <<\_ACEOF
20538 for ac_config_target
in $ac_config_targets
20540 case "$ac_config_target" in
20541 # Handling of arguments.
20542 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
20543 "userdb.pl" ) CONFIG_FILES
="$CONFIG_FILES userdb.pl" ;;
20544 "makeuserdb" ) CONFIG_FILES
="$CONFIG_FILES makeuserdb" ;;
20545 "pw2userdb" ) CONFIG_FILES
="$CONFIG_FILES pw2userdb" ;;
20546 "vchkpw2userdb" ) CONFIG_FILES
="$CONFIG_FILES vchkpw2userdb" ;;
20547 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
20548 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
20549 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
20550 { (exit 1); exit 1; }; };;
20554 # If the user did not use the arguments to specify the items to instantiate,
20555 # then the envvar interface is used. Set only those that are not.
20556 # We use the long form for the default assignment because of an extremely
20557 # bizarre bug on SunOS 4.1.3.
20558 if $ac_need_defaults; then
20559 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
20560 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
20563 # Have a temporary directory for convenience. Make it in the build tree
20564 # simply because there is no reason to put it here, and in addition,
20565 # creating and moving files from /tmp can sometimes cause problems.
20566 # Create a temporary directory, and hook for its removal unless debugging.
20569 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
20570 trap '{ (exit 1); exit 1; }' 1 2 13 15
20573 # Create a (secure) tmp directory for tmp files.
20576 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
20577 test -n "$tmp" && test -d "$tmp"
20580 tmp
=.
/confstat$$
-$RANDOM
20581 (umask 077 && mkdir
$tmp)
20584 echo "$me: cannot create a temporary directory in ." >&2
20585 { (exit 1); exit 1; }
20590 cat >>$CONFIG_STATUS <<_ACEOF
20593 # CONFIG_FILES section.
20596 # No need to generate the scripts if there are no CONFIG_FILES.
20597 # This happens for instance when ./config.status config.h
20598 if test -n "\$CONFIG_FILES"; then
20599 # Protect against being on the right side of a sed subst in config.status.
20600 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
20601 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
20602 s,@SHELL@,$SHELL,;t t
20603 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
20604 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
20605 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
20606 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
20607 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
20608 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
20609 s,@exec_prefix@,$exec_prefix,;t t
20610 s,@prefix@,$prefix,;t t
20611 s,@program_transform_name@,$program_transform_name,;t t
20612 s,@bindir@,$bindir,;t t
20613 s,@sbindir@,$sbindir,;t t
20614 s,@libexecdir@,$libexecdir,;t t
20615 s,@datadir@,$datadir,;t t
20616 s,@sysconfdir@,$sysconfdir,;t t
20617 s,@sharedstatedir@,$sharedstatedir,;t t
20618 s,@localstatedir@,$localstatedir,;t t
20619 s,@libdir@,$libdir,;t t
20620 s,@includedir@,$includedir,;t t
20621 s,@oldincludedir@,$oldincludedir,;t t
20622 s,@infodir@,$infodir,;t t
20623 s,@mandir@,$mandir,;t t
20624 s,@build_alias@,$build_alias,;t t
20625 s,@host_alias@,$host_alias,;t t
20626 s,@target_alias@,$target_alias,;t t
20627 s,@DEFS@,$DEFS,;t t
20628 s,@ECHO_C@,$ECHO_C,;t t
20629 s,@ECHO_N@,$ECHO_N,;t t
20630 s,@ECHO_T@,$ECHO_T,;t t
20631 s,@LIBS@,$LIBS,;t t
20632 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
20633 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
20634 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
20635 s,@CYGPATH_W@,$CYGPATH_W,;t t
20636 s,@PACKAGE@,$PACKAGE,;t t
20637 s,@VERSION@,$VERSION,;t t
20638 s,@ACLOCAL@,$ACLOCAL,;t t
20639 s,@AUTOCONF@,$AUTOCONF,;t t
20640 s,@AUTOMAKE@,$AUTOMAKE,;t t
20641 s,@AUTOHEADER@,$AUTOHEADER,;t t
20642 s,@MAKEINFO@,$MAKEINFO,;t t
20643 s,@install_sh@,$install_sh,;t t
20644 s,@STRIP@,$STRIP,;t t
20645 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
20646 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
20647 s,@mkdir_p@,$mkdir_p,;t t
20649 s,@SET_MAKE@,$SET_MAKE,;t t
20650 s,@am__leading_dot@,$am__leading_dot,;t t
20651 s,@AMTAR@,$AMTAR,;t t
20652 s,@am__tar@,$am__tar,;t t
20653 s,@am__untar@,$am__untar,;t t
20655 s,@CFLAGS@,$CFLAGS,;t t
20656 s,@LDFLAGS@,$LDFLAGS,;t t
20657 s,@CPPFLAGS@,$CPPFLAGS,;t t
20658 s,@ac_ct_CC@,$ac_ct_CC,;t t
20659 s,@EXEEXT@,$EXEEXT,;t t
20660 s,@OBJEXT@,$OBJEXT,;t t
20661 s,@DEPDIR@,$DEPDIR,;t t
20662 s,@am__include@,$am__include,;t t
20663 s,@am__quote@,$am__quote,;t t
20664 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
20665 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
20666 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
20667 s,@CCDEPMODE@,$CCDEPMODE,;t t
20668 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
20669 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
20670 s,@LN_S@,$LN_S,;t t
20671 s,@build@,$build,;t t
20672 s,@build_cpu@,$build_cpu,;t t
20673 s,@build_vendor@,$build_vendor,;t t
20674 s,@build_os@,$build_os,;t t
20675 s,@host@,$host,;t t
20676 s,@host_cpu@,$host_cpu,;t t
20677 s,@host_vendor@,$host_vendor,;t t
20678 s,@host_os@,$host_os,;t t
20680 s,@EGREP@,$EGREP,;t t
20681 s,@ECHO@,$ECHO,;t t
20683 s,@ac_ct_AR@,$ac_ct_AR,;t t
20684 s,@RANLIB@,$RANLIB,;t t
20685 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
20688 s,@CXXFLAGS@,$CXXFLAGS,;t t
20689 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
20690 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
20691 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
20692 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
20693 s,@CXXCPP@,$CXXCPP,;t t
20695 s,@FFLAGS@,$FFLAGS,;t t
20696 s,@ac_ct_F77@,$ac_ct_F77,;t t
20697 s,@LIBTOOL@,$LIBTOOL,;t t
20698 s,@PERL@,$PERL,;t t
20699 s,@userdb@,$userdb,;t t
20700 s,@USERDB@,$USERDB,;t t
20701 s,@userdbtmpdir@,$userdbtmpdir,;t t
20702 s,@tmpdir@,$tmpdir,;t t
20703 s,@makedat@,$makedat,;t t
20704 s,@MD5LIB@,$MD5LIB,;t t
20705 s,@SHA1LIB@,$SHA1LIB,;t t
20706 s,@HMACLIB@,$HMACLIB,;t t
20707 s,@CRYPTLIBS@,$CRYPTLIBS,;t t
20708 s,@HAVE_SGML_TRUE@,$HAVE_SGML_TRUE,;t t
20709 s,@HAVE_SGML_FALSE@,$HAVE_SGML_FALSE,;t t
20710 s,@LIBOBJS@,$LIBOBJS,;t t
20711 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
20716 cat >>$CONFIG_STATUS <<\_ACEOF
20717 # Split the substitutions into bite-sized pieces for seds with
20718 # small command number limits, like on Digital OSF/1 and HP-UX.
20719 ac_max_sed_lines
=48
20720 ac_sed_frag
=1 # Number of current file.
20721 ac_beg
=1 # First line for current file.
20722 ac_end
=$ac_max_sed_lines # Line after last line for current file.
20725 while $ac_more_lines; do
20726 if test $ac_beg -gt 1; then
20727 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
20729 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
20731 if test ! -s $tmp/subs.frag
; then
20732 ac_more_lines
=false
20734 # The purpose of the label and of the branching condition is to
20735 # speed up the sed processing (if there are no `@' at all, there
20736 # is no need to browse any of the substitutions).
20737 # These are the two extra sed commands mentioned above.
20739 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
20740 if test -z "$ac_sed_cmds"; then
20741 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
20743 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
20745 ac_sed_frag
=`expr $ac_sed_frag + 1`
20747 ac_end
=`expr $ac_end + $ac_max_sed_lines`
20750 if test -z "$ac_sed_cmds"; then
20753 fi # test -n "$CONFIG_FILES"
20756 cat >>$CONFIG_STATUS <<\_ACEOF
20757 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
20758 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20760 - |
*:- |
*:-:* ) # input from stdin
20762 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20763 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20764 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20765 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20766 * ) ac_file_in
=$ac_file.
in ;;
20769 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
20770 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
20771 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20772 X"$ac_file" : 'X\(//\)[^/]' \| \
20773 X"$ac_file" : 'X\(//\)$' \| \
20774 X"$ac_file" : 'X\(/\)' \| \
20775 . : '\(.\)' 2>/dev/null ||
20777 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20778 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20779 /^X\(\/\/\)$/{ s//\1/; q; }
20780 /^X\(\/\).*/{ s//\1/; q; }
20782 { if $as_mkdir_p; then
20787 while test ! -d "$as_dir"; do
20788 as_dirs
="$as_dir $as_dirs"
20789 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
20790 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20791 X"$as_dir" : 'X\(//\)[^/]' \| \
20792 X"$as_dir" : 'X\(//\)$' \| \
20793 X"$as_dir" : 'X\(/\)' \| \
20794 . : '\(.\)' 2>/dev/null ||
20796 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20797 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20798 /^X\(\/\/\)$/{ s//\1/; q; }
20799 /^X\(\/\).*/{ s//\1/; q; }
20802 test ! -n "$as_dirs" || mkdir
$as_dirs
20803 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20804 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20805 { (exit 1); exit 1; }; }; }
20809 if test "$ac_dir" != .
; then
20810 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20811 # A "../" for each directory in $ac_dir_suffix.
20812 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
20814 ac_dir_suffix
= ac_top_builddir
=
20818 .
) # No --srcdir option. We are building in place.
20820 if test -z "$ac_top_builddir"; then
20823 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
20825 [\\/]* | ?
:[\\/]* ) # Absolute path.
20826 ac_srcdir
=$srcdir$ac_dir_suffix;
20827 ac_top_srcdir
=$srcdir ;;
20828 *) # Relative path.
20829 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
20830 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
20833 # Do not use `cd foo && pwd` to compute absolute paths, because
20834 # the directories may not exist.
20836 .
) ac_abs_builddir
="$ac_dir";;
20839 .
) ac_abs_builddir
=`pwd`;;
20840 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
20841 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
20844 case $ac_abs_builddir in
20845 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20847 case ${ac_top_builddir}.
in
20848 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
20849 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20850 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
20853 case $ac_abs_builddir in
20854 .
) ac_abs_srcdir
=$ac_srcdir;;
20857 .
) ac_abs_srcdir
=$ac_abs_builddir;;
20858 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
20859 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
20862 case $ac_abs_builddir in
20863 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
20865 case $ac_top_srcdir in
20866 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
20867 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
20868 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
20874 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
20875 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
20878 if test x
"$ac_file" != x-
; then
20879 { echo "$as_me:$LINENO: creating $ac_file" >&5
20880 echo "$as_me: creating $ac_file" >&6;}
20883 # Let's still pretend it is `configure' which instantiates (i.e., don't
20884 # use $as_me), people would be surprised to read:
20885 # /* config.h. Generated by config.status. */
20886 if test x
"$ac_file" = x-
; then
20889 configure_input
="$ac_file. "
20891 configure_input
=$configure_input"Generated from `echo $ac_file_in |
20892 sed 's,.*/,,'` by configure."
20894 # First look for the input files in the build tree, otherwise in the
20896 ac_file_inputs
=`IFS=:
20897 for f in $ac_file_in; do
20899 -) echo $tmp/stdin ;;
20901 # Absolute (can't be DOS-style, as IFS=:)
20902 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20903 echo "$as_me: error: cannot find input file: $f" >&2;}
20904 { (exit 1); exit 1; }; }
20907 if test -f "$f"; then
20910 elif test -f "$srcdir/$f"; then
20915 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20916 echo "$as_me: error: cannot find input file: $f" >&2;}
20917 { (exit 1); exit 1; }; }
20920 done` ||
{ (exit 1); exit 1; }
20922 cat >>$CONFIG_STATUS <<_ACEOF
20926 cat >>$CONFIG_STATUS <<\_ACEOF
20928 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
20929 s
,@configure_input@
,$configure_input,;t t
20930 s
,@srcdir@
,$ac_srcdir,;t t
20931 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
20932 s
,@top_srcdir@
,$ac_top_srcdir,;t t
20933 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
20934 s
,@builddir@
,$ac_builddir,;t t
20935 s
,@abs_builddir@
,$ac_abs_builddir,;t t
20936 s
,@top_builddir@
,$ac_top_builddir,;t t
20937 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
20938 s
,@INSTALL@
,$ac_INSTALL,;t t
20939 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
20941 if test x"$ac_file" != x-; then
20942 mv $tmp/out $ac_file
20950 cat >>$CONFIG_STATUS <<\_ACEOF
20953 # CONFIG_COMMANDS section.
20955 for ac_file in : $CONFIG_COMMANDS; do test "x
$ac_file" = x: && continue
20956 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
20957 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
20958 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
20959 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20960 X"$ac_dest" : 'X\(//\)[^/]' \| \
20961 X"$ac_dest" : 'X\(//\)$' \| \
20962 X"$ac_dest" : 'X\(/\)' \| \
20963 . : '\(.\)' 2>/dev/null ||
20965 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20966 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20967 /^X\(\/\/\)$/{ s//\1/; q; }
20968 /^X\(\/\).*/{ s//\1/; q; }
20970 { if $as_mkdir_p; then
20975 while test ! -d "$as_dir"; do
20976 as_dirs="$as_dir $as_dirs"
20977 as_dir=`(dirname "$as_dir") 2>/dev/null ||
20978 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20979 X"$as_dir" : 'X\(//\)[^/]' \| \
20980 X"$as_dir" : 'X\(//\)$' \| \
20981 X"$as_dir" : 'X\(/\)' \| \
20982 . : '\(.\)' 2>/dev/null ||
20984 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20985 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20986 /^X\(\/\/\)$/{ s//\1/; q; }
20987 /^X\(\/\).*/{ s//\1/; q; }
20990 test ! -n "$as_dirs" || mkdir $as_dirs
20991 fi || { { echo "$as_me:$LINENO: error
: cannot create directory
\"$ac_dir\"" >&5
20992 echo "$as_me: error
: cannot create directory
\"$ac_dir\"" >&2;}
20993 { (exit 1); exit 1; }; }; }
20997 if test "$ac_dir" != .; then
20998 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20999 # A "..
/" for each directory in $ac_dir_suffix.
21000 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21002 ac_dir_suffix= ac_top_builddir=
21006 .) # No --srcdir option. We are building in place.
21008 if test -z "$ac_top_builddir"; then
21011 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
21013 [\\/]* | ?:[\\/]* ) # Absolute path.
21014 ac_srcdir=$srcdir$ac_dir_suffix;
21015 ac_top_srcdir=$srcdir ;;
21016 *) # Relative path.
21017 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
21018 ac_top_srcdir=$ac_top_builddir$srcdir ;;
21021 # Do not use `cd foo && pwd` to compute absolute paths, because
21022 # the directories may not exist.
21024 .) ac_abs_builddir="$ac_dir";;
21027 .) ac_abs_builddir=`pwd`;;
21028 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
21029 *) ac_abs_builddir=`pwd`/"$ac_dir";;
21032 case $ac_abs_builddir in
21033 .) ac_abs_top_builddir=${ac_top_builddir}.;;
21035 case ${ac_top_builddir}. in
21036 .) ac_abs_top_builddir=$ac_abs_builddir;;
21037 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
21038 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
21041 case $ac_abs_builddir in
21042 .) ac_abs_srcdir=$ac_srcdir;;
21045 .) ac_abs_srcdir=$ac_abs_builddir;;
21046 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
21047 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
21050 case $ac_abs_builddir in
21051 .) ac_abs_top_srcdir=$ac_top_srcdir;;
21053 case $ac_top_srcdir in
21054 .) ac_abs_top_srcdir=$ac_abs_builddir;;
21055 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
21056 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
21061 { echo "$as_me:$LINENO: executing
$ac_dest commands
" >&5
21062 echo "$as_me: executing
$ac_dest commands
" >&6;}
21064 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
21065 # Strip MF so we end up with the name of the file.
21066 mf=`echo "$mf" | sed -e 's/:.*$//'`
21067 # Check whether this is an Automake generated Makefile or not.
21068 # We used to match only the files named `Makefile.in', but
21069 # some people rename them; so instead we look at the file content.
21070 # Grep'ing the first line is not enough: some people post-process
21071 # each Makefile.in and add a new line on top of each file to say so.
21072 # So let's grep whole file.
21073 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
21074 dirpart=`(dirname "$mf") 2>/dev/null ||
21075 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21076 X"$mf" : 'X\(//\)[^/]' \| \
21077 X"$mf" : 'X\(//\)$' \| \
21078 X"$mf" : 'X\(/\)' \| \
21079 . : '\(.\)' 2>/dev/null ||
21081 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21082 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21083 /^X\(\/\/\)$/{ s//\1/; q; }
21084 /^X\(\/\).*/{ s//\1/; q; }
21089 # Extract the definition of DEPDIR, am__include, and am__quote
21090 # from the Makefile without running `make'.
21091 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
21092 test -z "$DEPDIR" && continue
21093 am__include=`sed -n 's/^am__include = //p' < "$mf"`
21094 test -z "am__include
" && continue
21095 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
21096 # When using ansi2knr, U may be empty or an underscore; expand it
21097 U=`sed -n 's/^U = //p' < "$mf"`
21098 # Find all dependency output files, they are included files with
21099 # $(DEPDIR) in their names. We invoke sed twice because it is the
21100 # simplest approach to changing $(DEPDIR) to its actual value in the
21102 for file in `sed -n "
21103 s
/^
$am__include $am__quote\
(.
*(DEPDIR
).
*\
)$am__quote"'$/\1/p' <"$mf" | \
21104 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21105 # Make sure the directory exists.
21106 test -f "$dirpart/$file" && continue
21107 fdir=`(dirname "$file") 2>/dev/null ||
21108 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21109 X"$file" : 'X\(//\)[^/]' \| \
21110 X"$file" : 'X\(//\)$' \| \
21111 X"$file" : 'X\(/\)' \| \
21112 . : '\(.\)' 2>/dev/null ||
21114 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21115 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21116 /^X\(\/\/\)$/{ s//\1/; q; }
21117 /^X\(\/\).*/{ s//\1/; q; }
21119 { if $as_mkdir_p; then
21120 mkdir -p $dirpart/$fdir
21122 as_dir=$dirpart/$fdir
21124 while test ! -d "$as_dir"; do
21125 as_dirs="$as_dir $as_dirs"
21126 as_dir=`(dirname "$as_dir") 2>/dev/null ||
21127 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21128 X"$as_dir" : 'X\(//\)[^/]' \| \
21129 X"$as_dir" : 'X\(//\)$' \| \
21130 X"$as_dir" : 'X\(/\)' \| \
21131 . : '\(.\)' 2>/dev/null ||
21133 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21134 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21135 /^X\(\/\/\)$/{ s//\1/; q; }
21136 /^X\(\/\).*/{ s//\1/; q; }
21139 test ! -n "$as_dirs" || mkdir $as_dirs
21140 fi || { { echo "$as_me:$LINENO: error
: cannot create directory
$dirpart/$fdir" >&5
21141 echo "$as_me: error
: cannot create directory
$dirpart/$fdir" >&2;}
21142 { (exit 1); exit 1; }; }; }
21144 # echo "creating
$dirpart/$file"
21145 echo '# dummy' > "$dirpart/$file"
21153 cat >>$CONFIG_STATUS <<\_ACEOF
21155 { (exit 0); exit 0; }
21157 chmod +x $CONFIG_STATUS
21158 ac_clean_files=$ac_clean_files_save
21161 # configure is writing to config.log, and then calls config.status.
21162 # config.status does its own redirection, appending to config.log.
21163 # Unfortunately, on DOS this fails, as config.log is still kept open
21164 # by configure, so config.status won't be able to write to it; its
21165 # output is simply discarded. So we exec the FD to /dev/null,
21166 # effectively closing config.log, so it can be properly (re)opened and
21167 # appended to by config.status. When coming back to configure, we
21168 # need to make the FD available again.
21169 if test "$no_create" != yes; then
21171 ac_config_status_args=
21172 test "$silent" = yes &&
21173 ac_config_status_args="$ac_config_status_args --quiet"
21175 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
21177 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21178 # would make configure fail if this is the last instruction.
21179 $ac_cs_success || { (exit 1); exit 1; }