2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for liblock 0.60.
5 # Report bugs to <courier-users@lists.sourceforge.net>.
7 # Copyright (C) 2003 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
24 DUALCASE
=1; export DUALCASE
# for MKS sh
26 # Support unset when possible.
27 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C
; export $as_var
53 # Required to use basename.
54 if expr a
: '\(a\)' >/dev
/null
2>&1; then
60 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
67 # Name of the executable.
68 as_me
=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits
='0123456789'
86 as_cr_alnum
=$as_cr_Letters$as_cr_digits
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
93 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
104 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
107 # Find who we are. Look in the path if we contain no path at all
110 *[\\/]* ) as_myself
=$0 ;;
111 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
115 test -z "$as_dir" && as_dir
=.
116 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x
; then
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
130 case $CONFIG_SHELL in
132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
133 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
136 test -z "$as_dir" && as_dir
=.
137 for as_base
in sh bash ksh sh5
; do
140 if ("$as_dir/$as_base" -c '
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
146 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
147 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
148 CONFIG_SHELL
=$as_dir/$as_base
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174 s,^['$as_cr_digits']*\n,,
176 chmod +x
$as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
184 # Exit status is that of the last command.
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c
*,-n*) ECHO_N
= ECHO_C
='
192 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
193 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
196 if expr a
: '\(a\)' >/dev
/null
2>&1; then
202 rm -f conf$$ conf$$.exe conf$$.
file
204 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe
; then
208 # Don't use ln at all; we don't have any links
213 elif ln conf$$.
file conf$$
2>/dev
/null
; then
218 rm -f conf$$ conf$$.exe conf$$.
file
220 if mkdir
-p .
2>/dev
/null
; then
223 test -d .
/-p && rmdir .
/-p
227 as_executable_p
="test -f"
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
237 # We need space, tab and new line, in precisely that order.
247 # Check that we are running under the correct shell.
248 SHELL
=${CONFIG_SHELL-/bin/sh}
252 # Remove one level of quotation (which was required for Make).
253 ECHO
=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
258 if test "X$1" = X--no-reexec
; then
259 # Discard the --no-reexec flag, and continue.
261 elif test "X$1" = X--fallback-echo
; then
262 # Avoid inline document here, it may be left over
264 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
265 # Yippee, $echo works!
268 # Restart under the correct shell.
269 exec $SHELL "$0" --no-reexec ${1+"$@"}
272 if test "X$1" = X--fallback-echo
; then
273 # used as fallback echo
281 # The HP-UX ksh and POSIX shell print the target directory to stdout
283 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
285 if test -z "$ECHO"; then
286 if test "X${echo_test_string+set}" != Xset
; then
287 # find a string as large as possible, as long as the shell can cope with it
288 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
289 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
290 if (echo_test_string
=`eval $cmd`) 2>/dev
/null
&&
291 echo_test_string
=`eval $cmd` &&
292 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev
/null
299 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
300 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
301 test "X$echo_testing_string" = "X$echo_test_string"; then
304 # The Solaris, AIX, and Digital Unix default echo programs unquote
305 # backslashes. This makes it impossible to quote backslashes using
306 # echo "$something" | sed 's/\\/\\\\/g'
308 # So, first we look for a working echo in the user's PATH.
310 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
311 for dir
in $PATH /usr
/ucb
; do
313 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
314 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
315 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
316 test "X$echo_testing_string" = "X$echo_test_string"; then
323 if test "X$echo" = Xecho
; then
324 # We didn't find a better echo, so look for alternatives.
325 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
326 echo_testing_string
=`(print -r "$echo_test_string") 2>/dev/null` &&
327 test "X$echo_testing_string" = "X$echo_test_string"; then
328 # This shell has a builtin print -r that does the trick.
330 elif (test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext) &&
331 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
332 # If we have ksh, try running configure again with it.
333 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
334 export ORIGINAL_CONFIG_SHELL
335 CONFIG_SHELL
=/bin
/ksh
337 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
341 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
342 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
343 test "X$echo_testing_string" = "X$echo_test_string"; then
346 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
347 test "X$echo_testing_string" = 'X\t' &&
348 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
349 test "X$echo_testing_string" = "X$echo_test_string"; then
350 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
352 SHELL
="$CONFIG_SHELL"
354 echo="$CONFIG_SHELL $0 --fallback-echo"
355 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
356 test "X$echo_testing_string" = 'X\t' &&
357 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
358 test "X$echo_testing_string" = "X$echo_test_string"; then
359 echo="$CONFIG_SHELL $0 --fallback-echo"
361 # maybe with a smaller string...
364 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
365 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev
/null
372 if test "$prev" != 'sed 50q "$0"'; then
373 echo_test_string
=`eval $prev`
374 export echo_test_string
375 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
377 # Oops. We lost completely, so just stick with echo.
386 # Copy echo and quote the copy suitably for passing to libtool from
387 # the Makefile, instead of quoting the original, which is used later.
389 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
390 ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
396 tagnames
=${tagnames+${tagnames},}CXX
398 tagnames
=${tagnames+${tagnames},}F77
401 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
402 # so uname gets run too.
403 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
410 ac_default_prefix
=/usr
/local
411 ac_config_libobj_dir
=.
416 SHELL
=${CONFIG_SHELL-/bin/sh}
418 # Maximum number of lines to put in a shell here document.
419 # This variable seems obsolete. It should probably be removed, and
420 # only ac_max_sed_lines should be used.
421 : ${ac_max_here_lines=38}
423 # Identity of this package.
424 PACKAGE_NAME
='liblock'
425 PACKAGE_TARNAME
='liblock'
426 PACKAGE_VERSION
='0.60'
427 PACKAGE_STRING
='liblock 0.60'
428 PACKAGE_BUGREPORT
='courier-users@lists.sourceforge.net'
430 ac_unique_file
="liblock.h"
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 USE_FCNTL_TRUE USE_FCNTL_FALSE USE_FLOCK_TRUE USE_FLOCK_FALSE USE_LOCKF_TRUE USE_LOCKF_FALSE 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 liblock 0.60 to adapt to many kinds of systems.
959 Usage: $0 [OPTION]... [VAR=VALUE]...
961 To assign environment variables (e.g., CC, CFLAGS...), specify them as
962 VAR=VALUE. See below for descriptions of some of the useful variables.
964 Defaults for the options are specified in brackets.
967 -h, --help display this help and exit
968 --help=short display options specific to this package
969 --help=recursive display the short help of all the included packages
970 -V, --version display version information and exit
971 -q, --quiet, --silent do not print \`checking...' messages
972 --cache-file=FILE cache test results in FILE [disabled]
973 -C, --config-cache alias for \`--cache-file=config.cache'
974 -n, --no-create do not create output files
975 --srcdir=DIR find the sources in DIR [configure dir or \`..']
980 Installation directories:
981 --prefix=PREFIX install architecture-independent files in PREFIX
983 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
986 By default, \`make install' will install all the files in
987 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
988 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
989 for instance \`--prefix=\$HOME'.
991 For better control, use the options below.
993 Fine tuning of the installation directories:
994 --bindir=DIR user executables [EPREFIX/bin]
995 --sbindir=DIR system admin executables [EPREFIX/sbin]
996 --libexecdir=DIR program executables [EPREFIX/libexec]
997 --datadir=DIR read-only architecture-independent data [PREFIX/share]
998 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
999 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1000 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1001 --libdir=DIR object code libraries [EPREFIX/lib]
1002 --includedir=DIR C header files [PREFIX/include]
1003 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1004 --infodir=DIR info documentation [PREFIX/info]
1005 --mandir=DIR man documentation [PREFIX/man]
1011 --program-prefix=PREFIX prepend PREFIX to installed program names
1012 --program-suffix=SUFFIX append SUFFIX to installed program names
1013 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1016 --build=BUILD configure
for building on BUILD
[guessed
]
1017 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1021 if test -n "$ac_init_help"; then
1022 case $ac_init_help in
1023 short | recursive
) echo "Configuration of liblock 0.60:";;
1028 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1029 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1030 --disable-dependency-tracking speeds up one-time build
1031 --enable-dependency-tracking do not reject slow dependency extractors
1032 --enable-shared[=PKGS
]
1033 build shared libraries
[default
=yes]
1034 --enable-static[=PKGS
]
1035 build static libraries
[default
=yes]
1036 --enable-fast-install[=PKGS
]
1037 optimize
for fast installation
[default
=yes]
1038 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1041 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1042 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1043 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1044 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1047 include additional configurations
[automatic
]
1050 Some influential environment variables
:
1051 CC C compiler
command
1052 CFLAGS C compiler flags
1053 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1054 nonstandard directory
<lib dir
>
1055 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1056 headers
in a nonstandard directory
<include dir
>
1058 CXX C
++ compiler
command
1059 CXXFLAGS C
++ compiler flags
1060 CXXCPP C
++ preprocessor
1061 F77 Fortran
77 compiler
command
1062 FFLAGS Fortran
77 compiler flags
1064 Use these variables to override the choices made by
`configure' or to help
1065 it to find libraries and programs with nonstandard names/locations.
1067 Report bugs to <courier-users@lists.sourceforge.net>.
1071 if test "$ac_init_help" = "recursive"; then
1072 # If there are subdirs, report their specific --help.
1074 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1075 test -d $ac_dir || continue
1078 if test "$ac_dir" != .; then
1079 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1080 # A "../" for each directory in $ac_dir_suffix.
1081 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
1083 ac_dir_suffix= ac_top_builddir=
1087 .) # No --srcdir option. We are building in place.
1089 if test -z "$ac_top_builddir"; then
1092 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
1094 [\\/]* | ?:[\\/]* ) # Absolute path.
1095 ac_srcdir=$srcdir$ac_dir_suffix;
1096 ac_top_srcdir=$srcdir ;;
1098 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1099 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1102 # Do not use `cd foo
&& pwd` to compute absolute paths, because
1103 # the directories may not exist.
1105 .) ac_abs_builddir="$ac_dir";;
1108 .) ac_abs_builddir=`pwd`;;
1109 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1110 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1113 case $ac_abs_builddir in
1114 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1116 case ${ac_top_builddir}. in
1117 .) ac_abs_top_builddir=$ac_abs_builddir;;
1118 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1119 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1122 case $ac_abs_builddir in
1123 .) ac_abs_srcdir=$ac_srcdir;;
1126 .) ac_abs_srcdir=$ac_abs_builddir;;
1127 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1128 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1131 case $ac_abs_builddir in
1132 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1134 case $ac_top_srcdir in
1135 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1136 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1137 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1142 # Check for guested configure; otherwise get Cygnus style configure.
1143 if test -f $ac_srcdir/configure.gnu; then
1145 $SHELL $ac_srcdir/configure.gnu --help=recursive
1146 elif test -f $ac_srcdir/configure; then
1148 $SHELL $ac_srcdir/configure --help=recursive
1149 elif test -f $ac_srcdir/configure.ac ||
1150 test -f $ac_srcdir/configure.in; then
1152 $ac_configure --help
1154 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1160 test -n "$ac_init_help" && exit 0
1161 if $ac_init_version; then
1163 liblock configure 0.60
1164 generated by GNU Autoconf 2.59
1166 Copyright (C) 2003 Free Software Foundation, Inc.
1167 This configure script is free software; the Free Software Foundation
1168 gives unlimited permission to copy, distribute and modify it.
1174 This file contains any messages produced by compilers while
1175 running configure, to aid debugging if configure makes a mistake.
1177 It was created by liblock $as_me 0.60, which was
1178 generated by GNU Autoconf 2.59. Invocation command line was
1189 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1190 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1191 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1192 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1193 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1195 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1196 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1198 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1199 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1200 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1201 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1202 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1203 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1204 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1212 test -z "$as_dir" && as_dir=.
1213 echo "PATH: $as_dir"
1228 # Keep a trace of the command line.
1229 # Strip out --no-create and --no-recursion so they do not pile up.
1230 # Strip out --silent because we don't want to record it for future runs.
1231 # Also quote any args containing shell meta-characters.
1232 # Make two passes to allow for proper duplicate-argument suppression.
1237 ac_must_keep_next=false
1243 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1244 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1245 | -silent | --silent | --silen | --sile | --sil)
1247 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1248 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1251 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1253 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1254 if test $ac_must_keep_next = true; then
1255 ac_must_keep_next=false # Got value, back to normal.
1258 *=* | --config-cache | -C | -disable-* | --disable-* \
1259 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1260 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1261 | -with-* | --with-* | -without-* | --without-* | --x)
1262 case "$ac_configure_args0 " in
1263 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1266 -* ) ac_must_keep_next=true ;;
1269 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1270 # Get rid of the leading space.
1276 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1277 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1279 # When interrupted or exit'd, cleanup temporary files, and complete
1280 # config.log. We remove comments because anyway the quotes in there
1281 # would cause problems or look ugly.
1282 # WARNING: Be sure not to use single quotes in there, as some shells,
1283 # such as our DU 5.0 friend, will then `close
' the trap.
1284 trap 'exit_status
=$?
1285 # Save into config.log some information that might help in debugging.
1290 ## ---------------- ##
1291 ## Cache variables. ##
1292 ## ---------------- ##
1295 # The following way of writing the cache mishandles newlines in values,
1298 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1301 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1302 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1306 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1313 ## ----------------- ##
1314 ## Output variables. ##
1315 ## ----------------- ##
1318 for ac_var
in $ac_subst_vars
1320 eval ac_val
=$
`echo $ac_var`
1321 echo "$ac_var='"'"'$ac_val'"'"'"
1325 if test -n "$ac_subst_files"; then
1332 for ac_var
in $ac_subst_files
1334 eval ac_val
=$
`echo $ac_var`
1335 echo "$ac_var='"'"'$ac_val'"'"'"
1340 if test -s confdefs.h
; then
1347 sed "/^$/d" confdefs.h |
sort
1350 test "$ac_signal" != 0 &&
1351 echo "$as_me: caught signal $ac_signal"
1352 echo "$as_me: exit $exit_status"
1354 rm -f core
*.core
&&
1355 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1358 for ac_signal in 1 2 13 15; do
1359 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1363 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1364 rm -rf conftest* confdefs.h
1365 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1368 # Predefined preprocessor variables.
1370 cat >>confdefs.h <<_ACEOF
1371 #define PACKAGE_NAME "$PACKAGE_NAME"
1375 cat >>confdefs.h <<_ACEOF
1376 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1380 cat >>confdefs.h <<_ACEOF
1381 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1385 cat >>confdefs.h <<_ACEOF
1386 #define PACKAGE_STRING "$PACKAGE_STRING"
1390 cat >>confdefs.h <<_ACEOF
1391 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1395 # Let the site file select an alternate cache file if it wants to.
1396 # Prefer explicitly selected file to automatically selected ones.
1397 if test -z "$CONFIG_SITE"; then
1398 if test "x$prefix" != xNONE; then
1399 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1401 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1404 for ac_site_file in $CONFIG_SITE; do
1405 if test -r "$ac_site_file"; then
1406 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1407 echo "$as_me: loading site script $ac_site_file" >&6;}
1408 sed 's
/^
/|
/' "$ac_site_file" >&5
1413 if test -r "$cache_file"; then
1414 # Some versions of bash will fail to source /dev/null (special
1415 # files actually), so we avoid doing that.
1416 if test -f "$cache_file"; then
1417 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1418 echo "$as_me: loading cache $cache_file" >&6;}
1420 [\\/]* | ?:[\\/]* ) . $cache_file;;
1421 *) . ./$cache_file;;
1425 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1426 echo "$as_me: creating cache $cache_file" >&6;}
1430 # Check that the precious variables saved in the cache have kept the same
1432 ac_cache_corrupted=false
1433 for ac_var in `(set) 2>&1 |
1434 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1435 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1436 eval ac_new_set=\$ac_env_${ac_var}_set
1437 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1438 eval ac_new_val="\$ac_env_${ac_var}_value"
1439 case $ac_old_set,$ac_new_set in
1441 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1442 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1443 ac_cache_corrupted=: ;;
1445 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1446 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1447 ac_cache_corrupted=: ;;
1450 if test "x$ac_old_val" != "x$ac_new_val"; then
1451 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1452 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1453 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1454 echo "$as_me: former value: $ac_old_val" >&2;}
1455 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1456 echo "$as_me: current value: $ac_new_val" >&2;}
1457 ac_cache_corrupted=:
1460 # Pass precious variables to config.status.
1461 if test "$ac_new_set" = set; then
1463 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1464 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1465 *) ac_arg=$ac_var=$ac_new_val ;;
1467 case " $ac_configure_args " in
1468 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1469 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1473 if $ac_cache_corrupted; then
1474 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1475 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1476 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1477 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1478 { (exit 1); exit 1; }; }
1482 ac_cpp='$CPP $CPPFLAGS'
1483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1484 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1514 >confdefs.h # Kill PACKAGE_ macros
1517 ac_config_headers="$ac_config_headers config.h"
1519 am__api_version="1.9"
1521 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1522 if test -f $ac_dir/install-sh; then
1524 ac_install_sh="$ac_aux_dir/install-sh -c"
1526 elif test -f $ac_dir/install.sh; then
1528 ac_install_sh="$ac_aux_dir/install.sh -c"
1530 elif test -f $ac_dir/shtool; then
1532 ac_install_sh="$ac_aux_dir/shtool install -c"
1536 if test -z "$ac_aux_dir"; then
1537 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1538 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1539 { (exit 1); exit 1; }; }
1541 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1542 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1543 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1545 # Find a good install program. We prefer a C program (faster),
1546 # so one script is as good as another. But avoid the broken or
1547 # incompatible versions:
1548 # SysV /etc/install, /usr/sbin/install
1549 # SunOS /usr/etc/install
1550 # IRIX /sbin/install
1552 # AmigaOS /C/install, which installs bootblocks on floppy discs
1553 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1554 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1555 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1556 # OS/2's system install, which has a completely different semantic
1557 # ./install, which can be erroneously created by make from ./install.sh.
1558 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1559 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1560 if test -z "$INSTALL"; then
1561 if test "${ac_cv_path_install+set}" = set; then
1562 echo $ECHO_N "(cached) $ECHO_C" >&6
1564 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1568 test -z "$as_dir" && as_dir
=.
1569 # Account for people who put trailing slashes in PATH elements.
1571 .
/ | .
// |
/cC
/* | \
1572 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1573 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1576 # OSF1 and SCO ODT 3.0 have their own names for install.
1577 # Don't use installbsd from OSF since it installs stuff as root
1579 for ac_prog
in ginstall scoinst
install; do
1580 for ac_exec_ext
in '' $ac_executable_extensions; do
1581 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1582 if test $ac_prog = install &&
1583 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1584 # AIX install. It has an incompatible calling convention.
1586 elif test $ac_prog = install &&
1587 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1588 # program-specific install script used by HP pwplus--don't use.
1591 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1603 if test "${ac_cv_path_install+set}" = set; then
1604 INSTALL
=$ac_cv_path_install
1606 # As a last resort, use the slow shell script. We don't cache a
1607 # path for INSTALL within a source directory, because that will
1608 # break other packages using the cache if that directory is
1609 # removed, or if the path is relative.
1610 INSTALL
=$ac_install_sh
1613 echo "$as_me:$LINENO: result: $INSTALL" >&5
1614 echo "${ECHO_T}$INSTALL" >&6
1616 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1617 # It thinks the first close brace ends the variable substitution.
1618 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1620 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1622 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1624 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1625 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1628 echo timestamp
> conftest.
file
1629 # Do `set' in a subshell so we don't clobber the current shell's
1630 # arguments. Must try -L first in case configure is actually a
1631 # symlink; some systems play weird games with the mod time of symlinks
1632 # (eg FreeBSD returns the mod time of the symlink's containing
1635 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1636 if test "$*" = "X"; then
1638 set X
`ls -t $srcdir/configure conftest.file`
1641 if test "$*" != "X $srcdir/configure conftest.file" \
1642 && test "$*" != "X conftest.file $srcdir/configure"; then
1644 # If neither matched, then we have a broken ls. This can happen
1645 # if, for instance, CONFIG_SHELL is bash and it inherits a
1646 # broken ls alias from the environment. This has actually
1647 # happened. Such a system could not be considered "sane".
1648 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1649 alias in your environment" >&5
1650 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1651 alias in your environment" >&2;}
1652 { (exit 1); exit 1; }; }
1655 test "$2" = conftest.
file
1661 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1662 Check your system clock" >&5
1663 echo "$as_me: error: newly created file is older than distributed files!
1664 Check your system clock" >&2;}
1665 { (exit 1); exit 1; }; }
1667 echo "$as_me:$LINENO: result: yes" >&5
1668 echo "${ECHO_T}yes" >&6
1669 test "$program_prefix" != NONE
&&
1670 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1671 # Use a double $ so make ignores it.
1672 test "$program_suffix" != NONE
&&
1673 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1674 # Double any \ or $. echo might interpret backslashes.
1675 # By default was `s,x,x', remove it if useless.
1676 cat <<\_ACEOF
>conftest.
sed
1677 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1679 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1682 # expand $ac_aux_dir to an absolute path
1683 am_aux_dir
=`cd $ac_aux_dir && pwd`
1685 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1686 # Use eval to expand $SHELL
1687 if eval "$MISSING --run true"; then
1688 am_missing_run
="$MISSING --run "
1691 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1692 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1695 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1696 # We used to keeping the `.' as first argument, in order to
1697 # allow $(mkdir_p) to be used without argument. As in
1698 # $(mkdir_p) $(somedir)
1699 # where $(somedir) is conditionally defined. However this is wrong
1701 # 1. if the package is installed by a user who cannot write `.'
1702 # make install will fail,
1703 # 2. the above comment should most certainly read
1704 # $(mkdir_p) $(DESTDIR)$(somedir)
1705 # so it does not work when $(somedir) is undefined and
1706 # $(DESTDIR) is not.
1707 # To support the latter case, we have to write
1708 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1709 # so the `.' trick is pointless.
1710 mkdir_p
='mkdir -p --'
1712 # On NextStep and OpenStep, the `mkdir' command does not
1713 # recognize any option. It will interpret all options as
1714 # directories to create, and then abort because `.' already
1716 for d
in .
/-p .
/--version;
1718 test -d $d && rmdir $d
1720 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1721 if test -f "$ac_aux_dir/mkinstalldirs"; then
1722 mkdir_p
='$(mkinstalldirs)'
1724 mkdir_p
='$(install_sh) -d'
1728 for ac_prog
in gawk mawk nawk
awk
1730 # Extract the first word of "$ac_prog", so it can be a program name with args.
1731 set dummy
$ac_prog; ac_word
=$2
1732 echo "$as_me:$LINENO: checking for $ac_word" >&5
1733 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1734 if test "${ac_cv_prog_AWK+set}" = set; then
1735 echo $ECHO_N "(cached) $ECHO_C" >&6
1737 if test -n "$AWK"; then
1738 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1740 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1744 test -z "$as_dir" && as_dir
=.
1745 for ac_exec_ext
in '' $ac_executable_extensions; do
1746 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1747 ac_cv_prog_AWK
="$ac_prog"
1748 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1757 if test -n "$AWK"; then
1758 echo "$as_me:$LINENO: result: $AWK" >&5
1759 echo "${ECHO_T}$AWK" >&6
1761 echo "$as_me:$LINENO: result: no" >&5
1762 echo "${ECHO_T}no" >&6
1765 test -n "$AWK" && break
1768 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1769 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1770 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1771 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1772 echo $ECHO_N "(cached) $ECHO_C" >&6
1774 cat >conftest.
make <<\_ACEOF
1776 @
echo 'ac_maketemp="$(MAKE)"'
1778 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1779 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1780 if test -n "$ac_maketemp"; then
1781 eval ac_cv_prog_make_
${ac_make}_set
=yes
1783 eval ac_cv_prog_make_
${ac_make}_set
=no
1787 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1788 echo "$as_me:$LINENO: result: yes" >&5
1789 echo "${ECHO_T}yes" >&6
1792 echo "$as_me:$LINENO: result: no" >&5
1793 echo "${ECHO_T}no" >&6
1794 SET_MAKE
="MAKE=${MAKE-make}"
1797 rm -rf .tst
2>/dev
/null
1798 mkdir .tst
2>/dev
/null
1799 if test -d .tst
; then
1804 rmdir .tst
2>/dev
/null
1806 # test to see if srcdir already configured
1807 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1808 test -f $srcdir/config.status
; then
1809 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1810 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1811 { (exit 1); exit 1; }; }
1814 # test whether we have cygpath
1815 if test -z "$CYGPATH_W"; then
1816 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1817 CYGPATH_W
='cygpath -w'
1824 # Define the identity of the package.
1829 # Some tools Automake needs.
1831 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1834 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1837 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1840 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1843 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1845 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1847 # Installed binaries are usually stripped using `strip' when the user
1848 # run `make install-strip'. However `strip' might not be the right
1849 # tool to use in cross-compilation environments, therefore Automake
1850 # will honor the `STRIP' environment variable to overrule this program.
1851 if test "$cross_compiling" != no
; then
1852 if test -n "$ac_tool_prefix"; then
1853 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1854 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1855 echo "$as_me:$LINENO: checking for $ac_word" >&5
1856 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1857 if test "${ac_cv_prog_STRIP+set}" = set; then
1858 echo $ECHO_N "(cached) $ECHO_C" >&6
1860 if test -n "$STRIP"; then
1861 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1863 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1867 test -z "$as_dir" && as_dir
=.
1868 for ac_exec_ext
in '' $ac_executable_extensions; do
1869 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1870 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1871 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1879 STRIP
=$ac_cv_prog_STRIP
1880 if test -n "$STRIP"; then
1881 echo "$as_me:$LINENO: result: $STRIP" >&5
1882 echo "${ECHO_T}$STRIP" >&6
1884 echo "$as_me:$LINENO: result: no" >&5
1885 echo "${ECHO_T}no" >&6
1889 if test -z "$ac_cv_prog_STRIP"; then
1891 # Extract the first word of "strip", so it can be a program name with args.
1892 set dummy strip
; ac_word
=$2
1893 echo "$as_me:$LINENO: checking for $ac_word" >&5
1894 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1895 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1896 echo $ECHO_N "(cached) $ECHO_C" >&6
1898 if test -n "$ac_ct_STRIP"; then
1899 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1901 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1905 test -z "$as_dir" && as_dir
=.
1906 for ac_exec_ext
in '' $ac_executable_extensions; do
1907 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1908 ac_cv_prog_ac_ct_STRIP
="strip"
1909 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1915 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1918 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1919 if test -n "$ac_ct_STRIP"; then
1920 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1921 echo "${ECHO_T}$ac_ct_STRIP" >&6
1923 echo "$as_me:$LINENO: result: no" >&5
1924 echo "${ECHO_T}no" >&6
1929 STRIP
="$ac_cv_prog_STRIP"
1933 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1935 # We need awk for the "check" target. The system "awk" is bad on
1937 # Always define AMTAR for backward compatibility.
1939 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1941 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
1948 for ac_prog
in gawk mawk nawk
awk
1950 # Extract the first word of "$ac_prog", so it can be a program name with args.
1951 set dummy
$ac_prog; ac_word
=$2
1952 echo "$as_me:$LINENO: checking for $ac_word" >&5
1953 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1954 if test "${ac_cv_prog_AWK+set}" = set; then
1955 echo $ECHO_N "(cached) $ECHO_C" >&6
1957 if test -n "$AWK"; then
1958 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1960 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1964 test -z "$as_dir" && as_dir
=.
1965 for ac_exec_ext
in '' $ac_executable_extensions; do
1966 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1967 ac_cv_prog_AWK
="$ac_prog"
1968 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1977 if test -n "$AWK"; then
1978 echo "$as_me:$LINENO: result: $AWK" >&5
1979 echo "${ECHO_T}$AWK" >&6
1981 echo "$as_me:$LINENO: result: no" >&5
1982 echo "${ECHO_T}no" >&6
1985 test -n "$AWK" && break
1989 ac_cpp
='$CPP $CPPFLAGS'
1990 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1991 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1992 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1993 if test -n "$ac_tool_prefix"; then
1994 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1995 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1996 echo "$as_me:$LINENO: checking for $ac_word" >&5
1997 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1998 if test "${ac_cv_prog_CC+set}" = set; then
1999 echo $ECHO_N "(cached) $ECHO_C" >&6
2001 if test -n "$CC"; then
2002 ac_cv_prog_CC
="$CC" # Let the user override the test.
2004 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2008 test -z "$as_dir" && as_dir
=.
2009 for ac_exec_ext
in '' $ac_executable_extensions; do
2010 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2011 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2012 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2021 if test -n "$CC"; then
2022 echo "$as_me:$LINENO: result: $CC" >&5
2023 echo "${ECHO_T}$CC" >&6
2025 echo "$as_me:$LINENO: result: no" >&5
2026 echo "${ECHO_T}no" >&6
2030 if test -z "$ac_cv_prog_CC"; then
2032 # Extract the first word of "gcc", so it can be a program name with args.
2033 set dummy gcc
; ac_word
=$2
2034 echo "$as_me:$LINENO: checking for $ac_word" >&5
2035 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2036 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2037 echo $ECHO_N "(cached) $ECHO_C" >&6
2039 if test -n "$ac_ct_CC"; then
2040 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2042 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2046 test -z "$as_dir" && as_dir
=.
2047 for ac_exec_ext
in '' $ac_executable_extensions; do
2048 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2049 ac_cv_prog_ac_ct_CC
="gcc"
2050 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2058 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2059 if test -n "$ac_ct_CC"; then
2060 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2061 echo "${ECHO_T}$ac_ct_CC" >&6
2063 echo "$as_me:$LINENO: result: no" >&5
2064 echo "${ECHO_T}no" >&6
2072 if test -z "$CC"; then
2073 if test -n "$ac_tool_prefix"; then
2074 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2075 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2076 echo "$as_me:$LINENO: checking for $ac_word" >&5
2077 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2078 if test "${ac_cv_prog_CC+set}" = set; then
2079 echo $ECHO_N "(cached) $ECHO_C" >&6
2081 if test -n "$CC"; then
2082 ac_cv_prog_CC
="$CC" # Let the user override the test.
2084 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2088 test -z "$as_dir" && as_dir
=.
2089 for ac_exec_ext
in '' $ac_executable_extensions; do
2090 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2091 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2092 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2101 if test -n "$CC"; then
2102 echo "$as_me:$LINENO: result: $CC" >&5
2103 echo "${ECHO_T}$CC" >&6
2105 echo "$as_me:$LINENO: result: no" >&5
2106 echo "${ECHO_T}no" >&6
2110 if test -z "$ac_cv_prog_CC"; then
2112 # Extract the first word of "cc", so it can be a program name with args.
2113 set dummy cc
; ac_word
=$2
2114 echo "$as_me:$LINENO: checking for $ac_word" >&5
2115 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2116 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2117 echo $ECHO_N "(cached) $ECHO_C" >&6
2119 if test -n "$ac_ct_CC"; then
2120 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2122 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2126 test -z "$as_dir" && as_dir
=.
2127 for ac_exec_ext
in '' $ac_executable_extensions; do
2128 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2129 ac_cv_prog_ac_ct_CC
="cc"
2130 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2138 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2139 if test -n "$ac_ct_CC"; then
2140 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2141 echo "${ECHO_T}$ac_ct_CC" >&6
2143 echo "$as_me:$LINENO: result: no" >&5
2144 echo "${ECHO_T}no" >&6
2153 if test -z "$CC"; then
2154 # Extract the first word of "cc", so it can be a program name with args.
2155 set dummy cc
; ac_word
=$2
2156 echo "$as_me:$LINENO: checking for $ac_word" >&5
2157 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2158 if test "${ac_cv_prog_CC+set}" = set; then
2159 echo $ECHO_N "(cached) $ECHO_C" >&6
2161 if test -n "$CC"; then
2162 ac_cv_prog_CC
="$CC" # Let the user override the test.
2165 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2169 test -z "$as_dir" && as_dir
=.
2170 for ac_exec_ext
in '' $ac_executable_extensions; do
2171 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2172 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2173 ac_prog_rejected
=yes
2177 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2183 if test $ac_prog_rejected = yes; then
2184 # We found a bogon in the path, so make sure we never use it.
2185 set dummy
$ac_cv_prog_CC
2187 if test $# != 0; then
2188 # We chose a different compiler from the bogus one.
2189 # However, it has the same basename, so the bogon will be chosen
2190 # first if we set CC to just the basename; use the full file name.
2192 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2198 if test -n "$CC"; then
2199 echo "$as_me:$LINENO: result: $CC" >&5
2200 echo "${ECHO_T}$CC" >&6
2202 echo "$as_me:$LINENO: result: no" >&5
2203 echo "${ECHO_T}no" >&6
2207 if test -z "$CC"; then
2208 if test -n "$ac_tool_prefix"; then
2211 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2212 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2213 echo "$as_me:$LINENO: checking for $ac_word" >&5
2214 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2215 if test "${ac_cv_prog_CC+set}" = set; then
2216 echo $ECHO_N "(cached) $ECHO_C" >&6
2218 if test -n "$CC"; then
2219 ac_cv_prog_CC
="$CC" # Let the user override the test.
2221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2225 test -z "$as_dir" && as_dir
=.
2226 for ac_exec_ext
in '' $ac_executable_extensions; do
2227 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2228 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2229 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2238 if test -n "$CC"; then
2239 echo "$as_me:$LINENO: result: $CC" >&5
2240 echo "${ECHO_T}$CC" >&6
2242 echo "$as_me:$LINENO: result: no" >&5
2243 echo "${ECHO_T}no" >&6
2246 test -n "$CC" && break
2249 if test -z "$CC"; then
2253 # Extract the first word of "$ac_prog", so it can be a program name with args.
2254 set dummy
$ac_prog; ac_word
=$2
2255 echo "$as_me:$LINENO: checking for $ac_word" >&5
2256 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2257 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2258 echo $ECHO_N "(cached) $ECHO_C" >&6
2260 if test -n "$ac_ct_CC"; then
2261 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2263 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2267 test -z "$as_dir" && as_dir
=.
2268 for ac_exec_ext
in '' $ac_executable_extensions; do
2269 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2270 ac_cv_prog_ac_ct_CC
="$ac_prog"
2271 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2279 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2280 if test -n "$ac_ct_CC"; then
2281 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2282 echo "${ECHO_T}$ac_ct_CC" >&6
2284 echo "$as_me:$LINENO: result: no" >&5
2285 echo "${ECHO_T}no" >&6
2288 test -n "$ac_ct_CC" && break
2297 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2298 See \`config.log' for more details." >&5
2299 echo "$as_me: error: no acceptable C compiler found in \$PATH
2300 See \`config.log' for more details." >&2;}
2301 { (exit 1); exit 1; }; }
2303 # Provide some information about the compiler.
2304 echo "$as_me:$LINENO:" \
2305 "checking for C compiler version" >&5
2306 ac_compiler
=`set X $ac_compile; echo $2`
2307 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2308 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2311 (exit $ac_status); }
2312 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2313 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2316 (exit $ac_status); }
2317 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2318 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2321 (exit $ac_status); }
2323 cat >conftest.
$ac_ext <<_ACEOF
2326 cat confdefs.h
>>conftest.
$ac_ext
2327 cat >>conftest.
$ac_ext <<_ACEOF
2328 /* end confdefs.h. */
2338 ac_clean_files_save
=$ac_clean_files
2339 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2340 # Try to create an executable without -o first, disregard a.out.
2341 # It will help us diagnose broken compilers, and finding out an intuition
2343 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2344 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2345 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2346 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2347 (eval $ac_link_default) 2>&5
2349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2350 (exit $ac_status); }; then
2351 # Find the output, starting from the most likely. This scheme is
2352 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2355 # Be careful to initialize this variable, since it used to be cached.
2356 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2358 # b.out is created by i960 compilers.
2359 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2361 test -f "$ac_file" ||
continue
2363 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2366 # This is the source file.
2369 # We found the default executable, but exeext='' is most
2373 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2374 # FIXME: I believe we export ac_cv_exeext for Libtool,
2375 # but it would be cool to find out if it's true. Does anybody
2376 # maintain Libtool? --akim.
2384 echo "$as_me: failed program was:" >&5
2385 sed 's/^/| /' conftest.
$ac_ext >&5
2387 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2388 See \`config.log' for more details." >&5
2389 echo "$as_me: error: C compiler cannot create executables
2390 See \`config.log' for more details." >&2;}
2391 { (exit 77); exit 77; }; }
2394 ac_exeext
=$ac_cv_exeext
2395 echo "$as_me:$LINENO: result: $ac_file" >&5
2396 echo "${ECHO_T}$ac_file" >&6
2398 # Check the compiler produces executables we can run. If not, either
2399 # the compiler is broken, or we cross compile.
2400 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2401 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2402 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2403 # If not cross compiling, check that we can run a simple program.
2404 if test "$cross_compiling" != yes; then
2405 if { ac_try
='./$ac_file'
2406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2410 (exit $ac_status); }; }; then
2413 if test "$cross_compiling" = maybe
; then
2416 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2417 If you meant to cross compile, use \`--host'.
2418 See \`config.log' for more details." >&5
2419 echo "$as_me: error: cannot run C compiled programs.
2420 If you meant to cross compile, use \`--host'.
2421 See \`config.log' for more details." >&2;}
2422 { (exit 1); exit 1; }; }
2426 echo "$as_me:$LINENO: result: yes" >&5
2427 echo "${ECHO_T}yes" >&6
2429 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2430 ac_clean_files
=$ac_clean_files_save
2431 # Check the compiler produces executables we can run. If not, either
2432 # the compiler is broken, or we cross compile.
2433 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2434 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2435 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2436 echo "${ECHO_T}$cross_compiling" >&6
2438 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2439 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2441 (eval $ac_link) 2>&5
2443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2444 (exit $ac_status); }; then
2445 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2446 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2447 # work properly (i.e., refer to `conftest.exe'), while it won't with
2449 for ac_file
in conftest.exe conftest conftest.
*; do
2450 test -f "$ac_file" ||
continue
2452 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2453 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2460 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2461 See \`config.log' for more details." >&5
2462 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2463 See \`config.log' for more details." >&2;}
2464 { (exit 1); exit 1; }; }
2467 rm -f conftest
$ac_cv_exeext
2468 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2469 echo "${ECHO_T}$ac_cv_exeext" >&6
2471 rm -f conftest.
$ac_ext
2472 EXEEXT
=$ac_cv_exeext
2474 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2475 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2476 if test "${ac_cv_objext+set}" = set; then
2477 echo $ECHO_N "(cached) $ECHO_C" >&6
2479 cat >conftest.
$ac_ext <<_ACEOF
2482 cat confdefs.h
>>conftest.
$ac_ext
2483 cat >>conftest.
$ac_ext <<_ACEOF
2484 /* end confdefs.h. */
2494 rm -f conftest.o conftest.obj
2495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2496 (eval $ac_compile) 2>&5
2498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2499 (exit $ac_status); }; then
2500 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2502 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2503 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2508 echo "$as_me: failed program was:" >&5
2509 sed 's/^/| /' conftest.
$ac_ext >&5
2511 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2512 See \`config.log' for more details." >&5
2513 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2514 See \`config.log' for more details." >&2;}
2515 { (exit 1); exit 1; }; }
2518 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2520 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2521 echo "${ECHO_T}$ac_cv_objext" >&6
2522 OBJEXT
=$ac_cv_objext
2524 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2525 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2526 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2527 echo $ECHO_N "(cached) $ECHO_C" >&6
2529 cat >conftest.
$ac_ext <<_ACEOF
2532 cat confdefs.h
>>conftest.
$ac_ext
2533 cat >>conftest.
$ac_ext <<_ACEOF
2534 /* end confdefs.h. */
2547 rm -f conftest.
$ac_objext
2548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2549 (eval $ac_compile) 2>conftest.er1
2551 grep -v '^ *+' conftest.er1
>conftest.err
2553 cat conftest.err
>&5
2554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2555 (exit $ac_status); } &&
2556 { ac_try
='test -z "$ac_c_werror_flag"
2557 || test ! -s conftest.err'
2558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2562 (exit $ac_status); }; } &&
2563 { ac_try
='test -s conftest.$ac_objext'
2564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2568 (exit $ac_status); }; }; then
2571 echo "$as_me: failed program was:" >&5
2572 sed 's/^/| /' conftest.
$ac_ext >&5
2576 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2577 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2580 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2581 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2582 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2583 ac_test_CFLAGS
=${CFLAGS+set}
2584 ac_save_CFLAGS
=$CFLAGS
2586 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2587 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2588 if test "${ac_cv_prog_cc_g+set}" = set; then
2589 echo $ECHO_N "(cached) $ECHO_C" >&6
2591 cat >conftest.
$ac_ext <<_ACEOF
2594 cat confdefs.h
>>conftest.
$ac_ext
2595 cat >>conftest.
$ac_ext <<_ACEOF
2596 /* end confdefs.h. */
2606 rm -f conftest.
$ac_objext
2607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2608 (eval $ac_compile) 2>conftest.er1
2610 grep -v '^ *+' conftest.er1
>conftest.err
2612 cat conftest.err
>&5
2613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2614 (exit $ac_status); } &&
2615 { ac_try
='test -z "$ac_c_werror_flag"
2616 || test ! -s conftest.err'
2617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2621 (exit $ac_status); }; } &&
2622 { ac_try
='test -s conftest.$ac_objext'
2623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2627 (exit $ac_status); }; }; then
2630 echo "$as_me: failed program was:" >&5
2631 sed 's/^/| /' conftest.
$ac_ext >&5
2635 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2637 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2638 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2639 if test "$ac_test_CFLAGS" = set; then
2640 CFLAGS
=$ac_save_CFLAGS
2641 elif test $ac_cv_prog_cc_g = yes; then
2642 if test "$GCC" = yes; then
2648 if test "$GCC" = yes; then
2654 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2655 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2656 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2657 echo $ECHO_N "(cached) $ECHO_C" >&6
2659 ac_cv_prog_cc_stdc
=no
2661 cat >conftest.
$ac_ext <<_ACEOF
2664 cat confdefs.h
>>conftest.
$ac_ext
2665 cat >>conftest.
$ac_ext <<_ACEOF
2666 /* end confdefs.h. */
2669 #include <sys/types.h>
2670 #include <sys/stat.h>
2671 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2672 struct buf { int x; };
2673 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2674 static char *e (p, i)
2680 static char *f (char * (*g) (char **, int), char **p, ...)
2685 s = g (p, va_arg (v,int));
2690 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2691 function prototypes and stuff, but not '\xHH' hex character constants.
2692 These don't provoke an error unfortunately, instead are silently treated
2693 as 'x'. The following induces an error, until -std1 is added to get
2694 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2695 array size at least. It's necessary to write '\x00'==0 to get something
2696 that's true only with -std1. */
2697 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2699 int test (int i, double x);
2700 struct s1 {int (*f) (int a);};
2701 struct s2 {int (*f) (double a);};
2702 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2708 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2713 # Don't try gcc -ansi; that turns off useful extensions and
2714 # breaks some systems' header files.
2715 # AIX -qlanglvl=ansi
2716 # Ultrix and OSF/1 -std1
2717 # HP-UX 10.20 and later -Ae
2718 # HP-UX older versions -Aa -D_HPUX_SOURCE
2719 # SVR4 -Xc -D__EXTENSIONS__
2720 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2722 CC
="$ac_save_CC $ac_arg"
2723 rm -f conftest.
$ac_objext
2724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2725 (eval $ac_compile) 2>conftest.er1
2727 grep -v '^ *+' conftest.er1
>conftest.err
2729 cat conftest.err
>&5
2730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2731 (exit $ac_status); } &&
2732 { ac_try
='test -z "$ac_c_werror_flag"
2733 || test ! -s conftest.err'
2734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2738 (exit $ac_status); }; } &&
2739 { ac_try
='test -s conftest.$ac_objext'
2740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2744 (exit $ac_status); }; }; then
2745 ac_cv_prog_cc_stdc
=$ac_arg
2748 echo "$as_me: failed program was:" >&5
2749 sed 's/^/| /' conftest.
$ac_ext >&5
2752 rm -f conftest.err conftest.
$ac_objext
2754 rm -f conftest.
$ac_ext conftest.
$ac_objext
2759 case "x$ac_cv_prog_cc_stdc" in
2761 echo "$as_me:$LINENO: result: none needed" >&5
2762 echo "${ECHO_T}none needed" >&6 ;;
2764 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2765 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2766 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2769 # Some people use a C++ compiler to compile C. Since we use `exit',
2770 # in C++ we need to declare it. In case someone uses the same compiler
2771 # for both compiling C and C++ we need to have the C++ compiler decide
2772 # the declaration of exit, since it's the most demanding environment.
2773 cat >conftest.
$ac_ext <<_ACEOF
2778 rm -f conftest.
$ac_objext
2779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2780 (eval $ac_compile) 2>conftest.er1
2782 grep -v '^ *+' conftest.er1
>conftest.err
2784 cat conftest.err
>&5
2785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2786 (exit $ac_status); } &&
2787 { ac_try
='test -z "$ac_c_werror_flag"
2788 || test ! -s conftest.err'
2789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2793 (exit $ac_status); }; } &&
2794 { ac_try
='test -s conftest.$ac_objext'
2795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2799 (exit $ac_status); }; }; then
2800 for ac_declaration
in \
2802 'extern "C" void std::exit (int) throw (); using std::exit;' \
2803 'extern "C" void std::exit (int); using std::exit;' \
2804 'extern "C" void exit (int) throw ();' \
2805 'extern "C" void exit (int);' \
2808 cat >conftest.
$ac_ext <<_ACEOF
2811 cat confdefs.h
>>conftest.
$ac_ext
2812 cat >>conftest.
$ac_ext <<_ACEOF
2813 /* end confdefs.h. */
2824 rm -f conftest.
$ac_objext
2825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2826 (eval $ac_compile) 2>conftest.er1
2828 grep -v '^ *+' conftest.er1
>conftest.err
2830 cat conftest.err
>&5
2831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2832 (exit $ac_status); } &&
2833 { ac_try
='test -z "$ac_c_werror_flag"
2834 || test ! -s conftest.err'
2835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2839 (exit $ac_status); }; } &&
2840 { ac_try
='test -s conftest.$ac_objext'
2841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2845 (exit $ac_status); }; }; then
2848 echo "$as_me: failed program was:" >&5
2849 sed 's/^/| /' conftest.
$ac_ext >&5
2853 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2854 cat >conftest.
$ac_ext <<_ACEOF
2857 cat confdefs.h
>>conftest.
$ac_ext
2858 cat >>conftest.
$ac_ext <<_ACEOF
2859 /* end confdefs.h. */
2869 rm -f conftest.
$ac_objext
2870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2871 (eval $ac_compile) 2>conftest.er1
2873 grep -v '^ *+' conftest.er1
>conftest.err
2875 cat conftest.err
>&5
2876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2877 (exit $ac_status); } &&
2878 { ac_try
='test -z "$ac_c_werror_flag"
2879 || test ! -s conftest.err'
2880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2884 (exit $ac_status); }; } &&
2885 { ac_try
='test -s conftest.$ac_objext'
2886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2890 (exit $ac_status); }; }; then
2893 echo "$as_me: failed program was:" >&5
2894 sed 's/^/| /' conftest.
$ac_ext >&5
2897 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2900 if test -n "$ac_declaration"; then
2901 echo '#ifdef __cplusplus' >>confdefs.h
2902 echo $ac_declaration >>confdefs.h
2903 echo '#endif' >>confdefs.h
2907 echo "$as_me: failed program was:" >&5
2908 sed 's/^/| /' conftest.
$ac_ext >&5
2911 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2913 ac_cpp
='$CPP $CPPFLAGS'
2914 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2915 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2916 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2917 DEPDIR
="${am__leading_dot}deps"
2919 ac_config_commands
="$ac_config_commands depfiles"
2922 am_make
=${MAKE-make}
2923 cat > confinc
<< 'END'
2928 # If we don't find an include directive, just comment out the code.
2929 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2930 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2934 # First try GNU make style include.
2935 echo "include confinc" > confmf
2936 # We grep out `Entering directory' and `Leaving directory'
2937 # messages which can occur if `w' ends up in MAKEFLAGS.
2938 # In particular we don't look at `^make:' because GNU make might
2939 # be invoked under some other name (usually "gmake"), in which
2940 # case it prints its new name instead of `make'.
2941 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2946 # Now try BSD make style include.
2947 if test "$am__include" = "#"; then
2948 echo '.include "confinc"' > confmf
2949 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2950 am__include
=.include
2957 echo "$as_me:$LINENO: result: $_am_result" >&5
2958 echo "${ECHO_T}$_am_result" >&6
2959 rm -f confinc confmf
2961 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2962 if test "${enable_dependency_tracking+set}" = set; then
2963 enableval
="$enable_dependency_tracking"
2966 if test "x$enable_dependency_tracking" != xno
; then
2967 am_depcomp
="$ac_aux_dir/depcomp"
2972 if test "x$enable_dependency_tracking" != xno; then
2983 depcc
="$CC" am_compiler_list
=
2985 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2986 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2987 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2988 echo $ECHO_N "(cached) $ECHO_C" >&6
2990 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2991 # We make a subdir and do the tests there. Otherwise we can end up
2992 # making bogus files that we don't know about and never remove. For
2993 # instance it was reported that on HP-UX the gcc test will end up
2994 # making a dummy file named `D' -- because `-MD' means `put the output
2997 # Copy depcomp to subdir because otherwise we won't find it if we're
2998 # using a relative directory.
2999 cp "$am_depcomp" conftest.dir
3001 # We will build objects and dependencies in a subdirectory because
3002 # it helps to detect inapplicable dependency modes. For instance
3003 # both Tru64's cc and ICC support -MD to output dependencies as a
3004 # side effect of compilation, but ICC will put the dependencies in
3005 # the current directory while Tru64 will put them in the object
3009 am_cv_CC_dependencies_compiler_type
=none
3010 if test "$am_compiler_list" = ""; then
3011 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3013 for depmode
in $am_compiler_list; do
3014 # Setup a source with many dependencies, because some compilers
3015 # like to wrap large dependency lists on column 80 (with \), and
3016 # we should not choose a depcomp mode which is confused by this.
3018 # We need to recreate these files for each test, as the compiler may
3019 # overwrite some of them when testing with obscure command lines.
3020 # This happens at least with the AIX C compiler.
3022 for i
in 1 2 3 4 5 6; do
3023 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3024 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3025 # Solaris 8's {/usr,}/bin/sh.
3026 touch sub
/conftst
$i.h
3028 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3032 # after this tag, mechanisms are not by side-effect, so they'll
3033 # only be used when explicitly requested
3034 if test "x$enable_dependency_tracking" = xyes
; then
3042 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3043 # mode. It turns out that the SunPro C++ compiler does not properly
3044 # handle `-M -o', and we need to detect this.
3045 if depmode
=$depmode \
3046 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3047 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3048 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3049 >/dev
/null
2>conftest.err
&&
3050 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3051 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3052 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3053 # icc doesn't choke on unknown options, it will just issue warnings
3054 # or remarks (even with -Werror). So we grep stderr for any message
3055 # that says an option was ignored or not supported.
3056 # When given -MP, icc 7.0 and 7.1 complain thusly:
3057 # icc: Command line warning: ignoring option '-M'; no argument required
3058 # The diagnosis changed in icc 8.0:
3059 # icc: Command line remark: option '-MP' not supported
3060 if (grep 'ignoring option' conftest.err ||
3061 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3062 am_cv_CC_dependencies_compiler_type
=$depmode
3071 am_cv_CC_dependencies_compiler_type
=none
3075 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3076 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3077 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3082 test "x$enable_dependency_tracking" != xno \
3083 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3085 am__fastdepCC_FALSE
='#'
3087 am__fastdepCC_TRUE
='#'
3088 am__fastdepCC_FALSE
=
3092 # Find a good install program. We prefer a C program (faster),
3093 # so one script is as good as another. But avoid the broken or
3094 # incompatible versions:
3095 # SysV /etc/install, /usr/sbin/install
3096 # SunOS /usr/etc/install
3097 # IRIX /sbin/install
3099 # AmigaOS /C/install, which installs bootblocks on floppy discs
3100 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3101 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3102 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3103 # OS/2's system install, which has a completely different semantic
3104 # ./install, which can be erroneously created by make from ./install.sh.
3105 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3106 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3107 if test -z "$INSTALL"; then
3108 if test "${ac_cv_path_install+set}" = set; then
3109 echo $ECHO_N "(cached) $ECHO_C" >&6
3111 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3115 test -z "$as_dir" && as_dir
=.
3116 # Account for people who put trailing slashes in PATH elements.
3118 .
/ | .
// |
/cC
/* | \
3119 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3120 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3123 # OSF1 and SCO ODT 3.0 have their own names for install.
3124 # Don't use installbsd from OSF since it installs stuff as root
3126 for ac_prog
in ginstall scoinst
install; do
3127 for ac_exec_ext
in '' $ac_executable_extensions; do
3128 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3129 if test $ac_prog = install &&
3130 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3131 # AIX install. It has an incompatible calling convention.
3133 elif test $ac_prog = install &&
3134 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3135 # program-specific install script used by HP pwplus--don't use.
3138 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3150 if test "${ac_cv_path_install+set}" = set; then
3151 INSTALL
=$ac_cv_path_install
3153 # As a last resort, use the slow shell script. We don't cache a
3154 # path for INSTALL within a source directory, because that will
3155 # break other packages using the cache if that directory is
3156 # removed, or if the path is relative.
3157 INSTALL
=$ac_install_sh
3160 echo "$as_me:$LINENO: result: $INSTALL" >&5
3161 echo "${ECHO_T}$INSTALL" >&6
3163 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3164 # It thinks the first close brace ends the variable substitution.
3165 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3167 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3169 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3171 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3172 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3174 if test "$LN_S" = "ln -s"; then
3175 echo "$as_me:$LINENO: result: yes" >&5
3176 echo "${ECHO_T}yes" >&6
3178 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3179 echo "${ECHO_T}no, using $LN_S" >&6
3182 # Check whether --enable-shared or --disable-shared was given.
3183 if test "${enable_shared+set}" = set; then
3184 enableval
="$enable_shared"
3185 p
=${PACKAGE-default}
3187 yes) enable_shared
=yes ;;
3188 no
) enable_shared
=no
;;
3191 # Look at the argument we got. We use all the common list separators.
3192 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3193 for pkg
in $enableval; do
3195 if test "X$pkg" = "X$p"; then
3206 # Check whether --enable-static or --disable-static was given.
3207 if test "${enable_static+set}" = set; then
3208 enableval
="$enable_static"
3209 p
=${PACKAGE-default}
3211 yes) enable_static
=yes ;;
3212 no
) enable_static
=no
;;
3215 # Look at the argument we got. We use all the common list separators.
3216 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3217 for pkg
in $enableval; do
3219 if test "X$pkg" = "X$p"; then
3230 # Check whether --enable-fast-install or --disable-fast-install was given.
3231 if test "${enable_fast_install+set}" = set; then
3232 enableval
="$enable_fast_install"
3233 p
=${PACKAGE-default}
3235 yes) enable_fast_install
=yes ;;
3236 no
) enable_fast_install
=no
;;
3238 enable_fast_install
=no
3239 # Look at the argument we got. We use all the common list separators.
3240 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3241 for pkg
in $enableval; do
3243 if test "X$pkg" = "X$p"; then
3244 enable_fast_install
=yes
3251 enable_fast_install
=yes
3254 # Make sure we can run config.sub.
3255 $ac_config_sub sun4
>/dev
/null
2>&1 ||
3256 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
3257 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
3258 { (exit 1); exit 1; }; }
3260 echo "$as_me:$LINENO: checking build system type" >&5
3261 echo $ECHO_N "checking build system type... $ECHO_C" >&6
3262 if test "${ac_cv_build+set}" = set; then
3263 echo $ECHO_N "(cached) $ECHO_C" >&6
3265 ac_cv_build_alias
=$build_alias
3266 test -z "$ac_cv_build_alias" &&
3267 ac_cv_build_alias
=`$ac_config_guess`
3268 test -z "$ac_cv_build_alias" &&
3269 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3270 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3271 { (exit 1); exit 1; }; }
3272 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
3273 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
3274 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
3275 { (exit 1); exit 1; }; }
3278 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3279 echo "${ECHO_T}$ac_cv_build" >&6
3281 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3282 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3283 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3286 echo "$as_me:$LINENO: checking host system type" >&5
3287 echo $ECHO_N "checking host system type... $ECHO_C" >&6
3288 if test "${ac_cv_host+set}" = set; then
3289 echo $ECHO_N "(cached) $ECHO_C" >&6
3291 ac_cv_host_alias
=$host_alias
3292 test -z "$ac_cv_host_alias" &&
3293 ac_cv_host_alias
=$ac_cv_build_alias
3294 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
3295 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
3296 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
3297 { (exit 1); exit 1; }; }
3300 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3301 echo "${ECHO_T}$ac_cv_host" >&6
3303 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3304 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3305 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3308 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3309 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3310 if test "${lt_cv_path_SED+set}" = set; then
3311 echo $ECHO_N "(cached) $ECHO_C" >&6
3313 # Loop through the user's path and test for sed and gsed.
3314 # Then use that list of sed's as ones to test for truncation.
3315 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3319 test -z "$as_dir" && as_dir
=.
3320 for lt_ac_prog
in sed gsed
; do
3321 for ac_exec_ext
in '' $ac_executable_extensions; do
3322 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3323 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3331 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3332 # along with /bin/sed that truncates output.
3333 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
3334 test ! -f $lt_ac_sed && continue
3335 cat /dev
/null
> conftest.
in
3337 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
3338 # Check for GNU sed and select it if it is found.
3339 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
3340 lt_cv_path_SED
=$lt_ac_sed
3344 cat conftest.
in conftest.
in >conftest.tmp
3345 mv conftest.tmp conftest.
in
3346 cp conftest.
in conftest.
nl
3348 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
3349 cmp -s conftest.out conftest.
nl ||
break
3350 # 10000 chars as input seems more than enough
3351 test $lt_ac_count -gt 10 && break
3352 lt_ac_count
=`expr $lt_ac_count + 1`
3353 if test $lt_ac_count -gt $lt_ac_max; then
3354 lt_ac_max
=$lt_ac_count
3355 lt_cv_path_SED
=$lt_ac_sed
3364 echo "$as_me:$LINENO: result: $SED" >&5
3365 echo "${ECHO_T}$SED" >&6
3367 echo "$as_me:$LINENO: checking for egrep" >&5
3368 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3369 if test "${ac_cv_prog_egrep+set}" = set; then
3370 echo $ECHO_N "(cached) $ECHO_C" >&6
3372 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3373 then ac_cv_prog_egrep
='grep -E'
3374 else ac_cv_prog_egrep
='egrep'
3377 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3378 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3379 EGREP
=$ac_cv_prog_egrep
3383 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3384 if test "${with_gnu_ld+set}" = set; then
3385 withval
="$with_gnu_ld"
3386 test "$withval" = no || with_gnu_ld
=yes
3391 if test "$GCC" = yes; then
3392 # Check if gcc -print-prog-name=ld gives a path.
3393 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3394 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
3397 # gcc leaves a trailing carriage return which upsets mingw
3398 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3400 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3403 # Accept absolute paths.
3405 re_direlt
='/[^/][^/]*/\.\./'
3406 # Canonicalize the pathname of ld
3407 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
3408 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
3409 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
3411 test -z "$LD" && LD
="$ac_prog"
3414 # If it fails, then pretend we aren't using GCC.
3418 # If it is relative, then search for the first ld in PATH.
3422 elif test "$with_gnu_ld" = yes; then
3423 echo "$as_me:$LINENO: checking for GNU ld" >&5
3424 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3426 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3427 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3429 if test "${lt_cv_path_LD+set}" = set; then
3430 echo $ECHO_N "(cached) $ECHO_C" >&6
3432 if test -z "$LD"; then
3433 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
3434 for ac_dir
in $PATH; do
3436 test -z "$ac_dir" && ac_dir
=.
3437 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3438 lt_cv_path_LD
="$ac_dir/$ac_prog"
3439 # Check to see if the program is GNU ld. I'd rather use --version,
3440 # but apparently some variants of GNU ld only accept -v.
3441 # Break only if it was the GNU/non-GNU ld that we prefer.
3442 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3443 *GNU
* |
*'with BFD'*)
3444 test "$with_gnu_ld" != no
&& break
3447 test "$with_gnu_ld" != yes && break
3454 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3459 if test -n "$LD"; then
3460 echo "$as_me:$LINENO: result: $LD" >&5
3461 echo "${ECHO_T}$LD" >&6
3463 echo "$as_me:$LINENO: result: no" >&5
3464 echo "${ECHO_T}no" >&6
3466 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3467 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3468 { (exit 1); exit 1; }; }
3469 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3470 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3471 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3472 echo $ECHO_N "(cached) $ECHO_C" >&6
3474 # I'd rather use --version here, but apparently some GNU lds only accept -v.
3475 case `$LD -v 2>&1 </dev/null` in
3476 *GNU
* |
*'with BFD'*)
3477 lt_cv_prog_gnu_ld
=yes
3480 lt_cv_prog_gnu_ld
=no
3484 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3485 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3486 with_gnu_ld
=$lt_cv_prog_gnu_ld
3489 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3490 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3491 if test "${lt_cv_ld_reload_flag+set}" = set; then
3492 echo $ECHO_N "(cached) $ECHO_C" >&6
3494 lt_cv_ld_reload_flag
='-r'
3496 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3497 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3498 reload_flag
=$lt_cv_ld_reload_flag
3499 case $reload_flag in
3501 *) reload_flag
=" $reload_flag" ;;
3503 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
3506 if test "$GCC" = yes; then
3507 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
3509 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
3514 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3515 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3516 if test "${lt_cv_path_NM+set}" = set; then
3517 echo $ECHO_N "(cached) $ECHO_C" >&6
3519 if test -n "$NM"; then
3520 # Let the user override the test.
3523 lt_nm_to_check
="${ac_tool_prefix}nm"
3524 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3525 lt_nm_to_check
="$lt_nm_to_check nm"
3527 for lt_tmp_nm
in $lt_nm_to_check; do
3528 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
3529 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
3531 test -z "$ac_dir" && ac_dir
=.
3532 tmp_nm
="$ac_dir/$lt_tmp_nm"
3533 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
3534 # Check to see if the nm accepts a BSD-compat flag.
3535 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3536 # nm: unknown option "B" ignored
3537 # Tru64's nm complains that /dev/null is an invalid object file
3538 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3539 */dev
/null
* |
*'Invalid file or object type'*)
3540 lt_cv_path_NM
="$tmp_nm -B"
3544 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3546 lt_cv_path_NM
="$tmp_nm -p"
3550 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3551 continue # so that we can try to find one that supports BSD flags
3560 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
3563 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
3564 echo "${ECHO_T}$lt_cv_path_NM" >&6
3567 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
3568 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
3569 if test "${lt_cv_deplibs_check_method+set}" = set; then
3570 echo $ECHO_N "(cached) $ECHO_C" >&6
3572 lt_cv_file_magic_cmd
='$MAGIC_CMD'
3573 lt_cv_file_magic_test_file
=
3574 lt_cv_deplibs_check_method
='unknown'
3575 # Need to set the preceding variable on all platforms that support
3576 # interlibrary dependencies.
3577 # 'none' -- dependencies not supported.
3578 # `unknown' -- same as none, but documents that we really don't know.
3579 # 'pass_all' -- all dependencies passed with no checks.
3580 # 'test_compile' -- check by making test program.
3581 # 'file_magic [[regex]]' -- check by looking for files in library path
3582 # which responds to the $file_magic_cmd with a given extended regex.
3583 # If you have `file' or equivalent on your system and you're not sure
3584 # whether `pass_all' will *always* work, you probably want this one.
3588 lt_cv_deplibs_check_method
=pass_all
3592 lt_cv_deplibs_check_method
=pass_all
3596 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3597 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3598 lt_cv_file_magic_test_file
=/shlib
/libc.so
3602 # func_win32_libid is a shell function defined in ltmain.sh
3603 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
3604 lt_cv_file_magic_cmd
='func_win32_libid'
3608 # Base MSYS/MinGW do not provide the 'file' command needed by
3609 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
3610 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
3611 lt_cv_file_magic_cmd
='$OBJDUMP -f'
3614 darwin
* | rhapsody
*)
3615 lt_cv_deplibs_check_method
=pass_all
3618 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
3619 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3622 # Not sure whether the presence of OpenBSD here was a mistake.
3623 # Let's accept both of them until this is cleared up.
3624 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
3625 lt_cv_file_magic_cmd
=/usr
/bin
/file
3626 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3630 lt_cv_deplibs_check_method
=pass_all
3635 lt_cv_deplibs_check_method
=pass_all
3638 hpux10.20
* | hpux11
*)
3639 lt_cv_file_magic_cmd
=/usr
/bin
/file
3642 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3643 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
3646 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]'
3647 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
3650 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3651 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
3657 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
3658 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
3661 irix5
* | irix6
* | nonstopux
*)
3663 *-32|
*"-32 ") libmagic
=32-bit;;
3664 *-n32|
*"-n32 ") libmagic
=N32
;;
3665 *-64|
*"-64 ") libmagic
=64-bit;;
3666 *) libmagic
=never-match
;;
3668 lt_cv_deplibs_check_method
=pass_all
3671 # This must be Linux ELF.
3673 lt_cv_deplibs_check_method
=pass_all
3677 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3678 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
3680 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
3685 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3686 lt_cv_file_magic_cmd
=/usr
/bin
/file
3687 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
3691 lt_cv_deplibs_check_method
=unknown
3695 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
3696 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
3698 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
3702 osf3
* | osf4
* | osf5
*)
3703 lt_cv_deplibs_check_method
=pass_all
3707 lt_cv_deplibs_check_method
=pass_all
3711 case $host_vendor in
3713 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]'
3714 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
3717 lt_cv_deplibs_check_method
=pass_all
3720 lt_cv_file_magic_cmd
='/bin/file'
3721 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
3724 lt_cv_file_magic_cmd
='/bin/file'
3725 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
3726 lt_cv_file_magic_test_file
=/lib
/libc.so
3729 lt_cv_deplibs_check_method
=pass_all
3732 lt_cv_deplibs_check_method
=pass_all
3737 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
3738 lt_cv_deplibs_check_method
=pass_all
3743 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3744 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3745 file_magic_cmd
=$lt_cv_file_magic_cmd
3746 deplibs_check_method
=$lt_cv_deplibs_check_method
3747 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
3752 # If no C compiler was specified, use CC.
3755 # If no C compiler flags were specified, use CFLAGS.
3756 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
3758 # Allow CC to be a program name with arguments.
3762 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
3763 if test "${enable_libtool_lock+set}" = set; then
3764 enableval
="$enable_libtool_lock"
3767 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
3769 # Some flags need to be propagated to the compiler or linker for good
3773 # Find out which ABI we are using.
3774 echo 'int i;' > conftest.
$ac_ext
3775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3776 (eval $ac_compile) 2>&5
3778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3779 (exit $ac_status); }; then
3780 case `/usr/bin/file conftest.$ac_objext` in
3792 # Find out which ABI we are using.
3793 echo '#line 3793 "configure"' > conftest.
$ac_ext
3794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3795 (eval $ac_compile) 2>&5
3797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3798 (exit $ac_status); }; then
3799 if test "$lt_cv_prog_gnu_ld" = yes; then
3800 case `/usr/bin/file conftest.$ac_objext` in
3802 LD
="${LD-ld} -melf32bsmip"
3805 LD
="${LD-ld} -melf32bmipn32"
3808 LD
="${LD-ld} -melf64bmip"
3812 case `/usr/bin/file conftest.$ac_objext` in
3828 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
3829 # Find out which ABI we are using.
3830 echo 'int i;' > conftest.
$ac_ext
3831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3832 (eval $ac_compile) 2>&5
3834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3835 (exit $ac_status); }; then
3836 case `/usr/bin/file conftest.o` in
3840 LD
="${LD-ld} -m elf_i386"
3842 ppc64-
*linux
*|powerpc64-
*linux
*)
3843 LD
="${LD-ld} -m elf32ppclinux"
3846 LD
="${LD-ld} -m elf_s390"
3849 LD
="${LD-ld} -m elf32_sparc"
3856 LD
="${LD-ld} -m elf_x86_64"
3858 ppc
*-*linux
*|powerpc
*-*linux
*)
3859 LD
="${LD-ld} -m elf64ppc"
3862 LD
="${LD-ld} -m elf64_s390"
3865 LD
="${LD-ld} -m elf64_sparc"
3875 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
3876 SAVE_CFLAGS
="$CFLAGS"
3877 CFLAGS
="$CFLAGS -belf"
3878 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
3879 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
3880 if test "${lt_cv_cc_needs_belf+set}" = set; then
3881 echo $ECHO_N "(cached) $ECHO_C" >&6
3884 ac_cpp
='$CPP $CPPFLAGS'
3885 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3886 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3887 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3889 cat >conftest.
$ac_ext <<_ACEOF
3892 cat confdefs.h
>>conftest.
$ac_ext
3893 cat >>conftest.
$ac_ext <<_ACEOF
3894 /* end confdefs.h. */
3904 rm -f conftest.
$ac_objext conftest
$ac_exeext
3905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3906 (eval $ac_link) 2>conftest.er1
3908 grep -v '^ *+' conftest.er1
>conftest.err
3910 cat conftest.err
>&5
3911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3912 (exit $ac_status); } &&
3913 { ac_try
='test -z "$ac_c_werror_flag"
3914 || test ! -s conftest.err'
3915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3919 (exit $ac_status); }; } &&
3920 { ac_try
='test -s conftest$ac_exeext'
3921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3925 (exit $ac_status); }; }; then
3926 lt_cv_cc_needs_belf
=yes
3928 echo "$as_me: failed program was:" >&5
3929 sed 's/^/| /' conftest.
$ac_ext >&5
3931 lt_cv_cc_needs_belf
=no
3933 rm -f conftest.err conftest.
$ac_objext \
3934 conftest
$ac_exeext conftest.
$ac_ext
3936 ac_cpp
='$CPP $CPPFLAGS'
3937 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3938 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3939 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3942 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
3943 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
3944 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
3945 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
3946 CFLAGS
="$SAVE_CFLAGS"
3950 # Find out which ABI we are using.
3951 echo 'int i;' > conftest.
$ac_ext
3952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3953 (eval $ac_compile) 2>&5
3955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3956 (exit $ac_status); }; then
3957 case `/usr/bin/file conftest.o` in
3959 case $lt_cv_prog_gnu_ld in
3960 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
3961 *) LD
="${LD-ld} -64" ;;
3972 need_locks
="$enable_libtool_lock"
3976 ac_cpp
='$CPP $CPPFLAGS'
3977 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3978 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3979 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3980 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3981 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3982 # On Suns, sometimes $CPP names a directory.
3983 if test -n "$CPP" && test -d "$CPP"; then
3986 if test -z "$CPP"; then
3987 if test "${ac_cv_prog_CPP+set}" = set; then
3988 echo $ECHO_N "(cached) $ECHO_C" >&6
3990 # Double quotes because CPP needs to be expanded
3991 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3994 for ac_c_preproc_warn_flag
in '' yes
3996 # Use a header file that comes with gcc, so configuring glibc
3997 # with a fresh cross-compiler works.
3998 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3999 # <limits.h> exists even on freestanding compilers.
4000 # On the NeXT, cc -E runs the code through the compiler's parser,
4001 # not just through cpp. "Syntax error" is here to catch this case.
4002 cat >conftest.
$ac_ext <<_ACEOF
4005 cat confdefs.h
>>conftest.
$ac_ext
4006 cat >>conftest.
$ac_ext <<_ACEOF
4007 /* end confdefs.h. */
4009 # include <limits.h>
4011 # include <assert.h>
4015 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4016 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4018 grep -v '^ *+' conftest.er1
>conftest.err
4020 cat conftest.err
>&5
4021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4022 (exit $ac_status); } >/dev
/null
; then
4023 if test -s conftest.err
; then
4024 ac_cpp_err
=$ac_c_preproc_warn_flag
4025 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4032 if test -z "$ac_cpp_err"; then
4035 echo "$as_me: failed program was:" >&5
4036 sed 's/^/| /' conftest.
$ac_ext >&5
4038 # Broken: fails on valid input.
4041 rm -f conftest.err conftest.
$ac_ext
4043 # OK, works on sane cases. Now check whether non-existent headers
4044 # can be detected and how.
4045 cat >conftest.
$ac_ext <<_ACEOF
4048 cat confdefs.h
>>conftest.
$ac_ext
4049 cat >>conftest.
$ac_ext <<_ACEOF
4050 /* end confdefs.h. */
4051 #include <ac_nonexistent.h>
4053 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4054 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4056 grep -v '^ *+' conftest.er1
>conftest.err
4058 cat conftest.err
>&5
4059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4060 (exit $ac_status); } >/dev
/null
; then
4061 if test -s conftest.err
; then
4062 ac_cpp_err
=$ac_c_preproc_warn_flag
4063 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4070 if test -z "$ac_cpp_err"; then
4071 # Broken: success on invalid input.
4074 echo "$as_me: failed program was:" >&5
4075 sed 's/^/| /' conftest.
$ac_ext >&5
4077 # Passes both tests.
4081 rm -f conftest.err conftest.
$ac_ext
4084 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4085 rm -f conftest.err conftest.
$ac_ext
4086 if $ac_preproc_ok; then
4098 echo "$as_me:$LINENO: result: $CPP" >&5
4099 echo "${ECHO_T}$CPP" >&6
4101 for ac_c_preproc_warn_flag
in '' yes
4103 # Use a header file that comes with gcc, so configuring glibc
4104 # with a fresh cross-compiler works.
4105 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4106 # <limits.h> exists even on freestanding compilers.
4107 # On the NeXT, cc -E runs the code through the compiler's parser,
4108 # not just through cpp. "Syntax error" is here to catch this case.
4109 cat >conftest.
$ac_ext <<_ACEOF
4112 cat confdefs.h
>>conftest.
$ac_ext
4113 cat >>conftest.
$ac_ext <<_ACEOF
4114 /* end confdefs.h. */
4116 # include <limits.h>
4118 # include <assert.h>
4122 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4123 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4125 grep -v '^ *+' conftest.er1
>conftest.err
4127 cat conftest.err
>&5
4128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4129 (exit $ac_status); } >/dev
/null
; then
4130 if test -s conftest.err
; then
4131 ac_cpp_err
=$ac_c_preproc_warn_flag
4132 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4139 if test -z "$ac_cpp_err"; then
4142 echo "$as_me: failed program was:" >&5
4143 sed 's/^/| /' conftest.
$ac_ext >&5
4145 # Broken: fails on valid input.
4148 rm -f conftest.err conftest.
$ac_ext
4150 # OK, works on sane cases. Now check whether non-existent headers
4151 # can be detected and how.
4152 cat >conftest.
$ac_ext <<_ACEOF
4155 cat confdefs.h
>>conftest.
$ac_ext
4156 cat >>conftest.
$ac_ext <<_ACEOF
4157 /* end confdefs.h. */
4158 #include <ac_nonexistent.h>
4160 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4161 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4163 grep -v '^ *+' conftest.er1
>conftest.err
4165 cat conftest.err
>&5
4166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4167 (exit $ac_status); } >/dev
/null
; then
4168 if test -s conftest.err
; then
4169 ac_cpp_err
=$ac_c_preproc_warn_flag
4170 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4177 if test -z "$ac_cpp_err"; then
4178 # Broken: success on invalid input.
4181 echo "$as_me: failed program was:" >&5
4182 sed 's/^/| /' conftest.
$ac_ext >&5
4184 # Passes both tests.
4188 rm -f conftest.err conftest.
$ac_ext
4191 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4192 rm -f conftest.err conftest.
$ac_ext
4193 if $ac_preproc_ok; then
4196 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4197 See \`config.log' for more details." >&5
4198 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4199 See \`config.log' for more details." >&2;}
4200 { (exit 1); exit 1; }; }
4204 ac_cpp
='$CPP $CPPFLAGS'
4205 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4206 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4207 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4210 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4211 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4212 if test "${ac_cv_header_stdc+set}" = set; then
4213 echo $ECHO_N "(cached) $ECHO_C" >&6
4215 cat >conftest.
$ac_ext <<_ACEOF
4218 cat confdefs.h
>>conftest.
$ac_ext
4219 cat >>conftest.
$ac_ext <<_ACEOF
4220 /* end confdefs.h. */
4234 rm -f conftest.
$ac_objext
4235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4236 (eval $ac_compile) 2>conftest.er1
4238 grep -v '^ *+' conftest.er1
>conftest.err
4240 cat conftest.err
>&5
4241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4242 (exit $ac_status); } &&
4243 { ac_try
='test -z "$ac_c_werror_flag"
4244 || test ! -s conftest.err'
4245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4249 (exit $ac_status); }; } &&
4250 { ac_try
='test -s conftest.$ac_objext'
4251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4255 (exit $ac_status); }; }; then
4256 ac_cv_header_stdc
=yes
4258 echo "$as_me: failed program was:" >&5
4259 sed 's/^/| /' conftest.
$ac_ext >&5
4261 ac_cv_header_stdc
=no
4263 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4265 if test $ac_cv_header_stdc = yes; then
4266 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4267 cat >conftest.
$ac_ext <<_ACEOF
4270 cat confdefs.h
>>conftest.
$ac_ext
4271 cat >>conftest.
$ac_ext <<_ACEOF
4272 /* end confdefs.h. */
4276 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4277 $EGREP "memchr" >/dev
/null
2>&1; then
4280 ac_cv_header_stdc
=no
4286 if test $ac_cv_header_stdc = yes; then
4287 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4288 cat >conftest.
$ac_ext <<_ACEOF
4291 cat confdefs.h
>>conftest.
$ac_ext
4292 cat >>conftest.
$ac_ext <<_ACEOF
4293 /* end confdefs.h. */
4297 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4298 $EGREP "free" >/dev
/null
2>&1; then
4301 ac_cv_header_stdc
=no
4307 if test $ac_cv_header_stdc = yes; then
4308 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4309 if test "$cross_compiling" = yes; then
4312 cat >conftest.
$ac_ext <<_ACEOF
4315 cat confdefs.h
>>conftest.
$ac_ext
4316 cat >>conftest.
$ac_ext <<_ACEOF
4317 /* end confdefs.h. */
4319 #if ((' ' & 0x0FF) == 0x020)
4320 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4321 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4323 # define ISLOWER(c) \
4324 (('a' <= (c) && (c) <= 'i') \
4325 || ('j' <= (c) && (c) <= 'r') \
4326 || ('s' <= (c) && (c) <= 'z'))
4327 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4330 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4335 for (i = 0; i < 256; i++)
4336 if (XOR (islower (i), ISLOWER (i))
4337 || toupper (i) != TOUPPER (i))
4342 rm -f conftest
$ac_exeext
4343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4344 (eval $ac_link) 2>&5
4346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4347 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4352 (exit $ac_status); }; }; then
4355 echo "$as_me: program exited with status $ac_status" >&5
4356 echo "$as_me: failed program was:" >&5
4357 sed 's/^/| /' conftest.
$ac_ext >&5
4360 ac_cv_header_stdc
=no
4362 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4366 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4367 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4368 if test $ac_cv_header_stdc = yes; then
4370 cat >>confdefs.h
<<\_ACEOF
4371 #define STDC_HEADERS 1
4376 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4386 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4387 inttypes.h stdint.h unistd.h
4389 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4390 echo "$as_me:$LINENO: checking for $ac_header" >&5
4391 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4392 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4393 echo $ECHO_N "(cached) $ECHO_C" >&6
4395 cat >conftest.
$ac_ext <<_ACEOF
4398 cat confdefs.h
>>conftest.
$ac_ext
4399 cat >>conftest.
$ac_ext <<_ACEOF
4400 /* end confdefs.h. */
4401 $ac_includes_default
4403 #include <$ac_header>
4405 rm -f conftest.
$ac_objext
4406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4407 (eval $ac_compile) 2>conftest.er1
4409 grep -v '^ *+' conftest.er1
>conftest.err
4411 cat conftest.err
>&5
4412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4413 (exit $ac_status); } &&
4414 { ac_try
='test -z "$ac_c_werror_flag"
4415 || test ! -s conftest.err'
4416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4420 (exit $ac_status); }; } &&
4421 { ac_try
='test -s conftest.$ac_objext'
4422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4426 (exit $ac_status); }; }; then
4427 eval "$as_ac_Header=yes"
4429 echo "$as_me: failed program was:" >&5
4430 sed 's/^/| /' conftest.
$ac_ext >&5
4432 eval "$as_ac_Header=no"
4434 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4436 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4437 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4438 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4439 cat >>confdefs.h
<<_ACEOF
4440 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4449 for ac_header
in dlfcn.h
4451 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4452 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4453 echo "$as_me:$LINENO: checking for $ac_header" >&5
4454 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4455 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4456 echo $ECHO_N "(cached) $ECHO_C" >&6
4458 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4459 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4461 # Is the header compilable?
4462 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4463 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4464 cat >conftest.
$ac_ext <<_ACEOF
4467 cat confdefs.h
>>conftest.
$ac_ext
4468 cat >>conftest.
$ac_ext <<_ACEOF
4469 /* end confdefs.h. */
4470 $ac_includes_default
4471 #include <$ac_header>
4473 rm -f conftest.
$ac_objext
4474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4475 (eval $ac_compile) 2>conftest.er1
4477 grep -v '^ *+' conftest.er1
>conftest.err
4479 cat conftest.err
>&5
4480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4481 (exit $ac_status); } &&
4482 { ac_try
='test -z "$ac_c_werror_flag"
4483 || test ! -s conftest.err'
4484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4488 (exit $ac_status); }; } &&
4489 { ac_try
='test -s conftest.$ac_objext'
4490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4494 (exit $ac_status); }; }; then
4495 ac_header_compiler
=yes
4497 echo "$as_me: failed program was:" >&5
4498 sed 's/^/| /' conftest.
$ac_ext >&5
4500 ac_header_compiler
=no
4502 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4503 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4504 echo "${ECHO_T}$ac_header_compiler" >&6
4506 # Is the header present?
4507 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4508 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4509 cat >conftest.
$ac_ext <<_ACEOF
4512 cat confdefs.h
>>conftest.
$ac_ext
4513 cat >>conftest.
$ac_ext <<_ACEOF
4514 /* end confdefs.h. */
4515 #include <$ac_header>
4517 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4518 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4520 grep -v '^ *+' conftest.er1
>conftest.err
4522 cat conftest.err
>&5
4523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4524 (exit $ac_status); } >/dev
/null
; then
4525 if test -s conftest.err
; then
4526 ac_cpp_err
=$ac_c_preproc_warn_flag
4527 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4534 if test -z "$ac_cpp_err"; then
4535 ac_header_preproc
=yes
4537 echo "$as_me: failed program was:" >&5
4538 sed 's/^/| /' conftest.
$ac_ext >&5
4540 ac_header_preproc
=no
4542 rm -f conftest.err conftest.
$ac_ext
4543 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4544 echo "${ECHO_T}$ac_header_preproc" >&6
4546 # So? What about this header?
4547 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4549 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4550 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4551 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4552 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4553 ac_header_preproc
=yes
4556 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4557 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4558 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4559 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4560 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4561 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4562 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4563 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4564 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4565 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4566 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4567 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4570 ## -------------------------------------------------- ##
4571 ## Report this to courier-users@lists.sourceforge.net ##
4572 ## -------------------------------------------------- ##
4575 sed "s/^/$as_me: WARNING: /" >&2
4578 echo "$as_me:$LINENO: checking for $ac_header" >&5
4579 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4580 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4581 echo $ECHO_N "(cached) $ECHO_C" >&6
4583 eval "$as_ac_Header=\$ac_header_preproc"
4585 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4586 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4589 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4590 cat >>confdefs.h
<<_ACEOF
4591 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4599 ac_cpp
='$CXXCPP $CPPFLAGS'
4600 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4601 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4602 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4603 if test -n "$ac_tool_prefix"; then
4604 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
4606 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4607 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4608 echo "$as_me:$LINENO: checking for $ac_word" >&5
4609 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4610 if test "${ac_cv_prog_CXX+set}" = set; then
4611 echo $ECHO_N "(cached) $ECHO_C" >&6
4613 if test -n "$CXX"; then
4614 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
4616 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4620 test -z "$as_dir" && as_dir
=.
4621 for ac_exec_ext
in '' $ac_executable_extensions; do
4622 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4623 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
4624 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4633 if test -n "$CXX"; then
4634 echo "$as_me:$LINENO: result: $CXX" >&5
4635 echo "${ECHO_T}$CXX" >&6
4637 echo "$as_me:$LINENO: result: no" >&5
4638 echo "${ECHO_T}no" >&6
4641 test -n "$CXX" && break
4644 if test -z "$CXX"; then
4646 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
4648 # Extract the first word of "$ac_prog", so it can be a program name with args.
4649 set dummy
$ac_prog; ac_word
=$2
4650 echo "$as_me:$LINENO: checking for $ac_word" >&5
4651 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4652 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4653 echo $ECHO_N "(cached) $ECHO_C" >&6
4655 if test -n "$ac_ct_CXX"; then
4656 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
4658 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4662 test -z "$as_dir" && as_dir
=.
4663 for ac_exec_ext
in '' $ac_executable_extensions; do
4664 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4665 ac_cv_prog_ac_ct_CXX
="$ac_prog"
4666 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4674 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
4675 if test -n "$ac_ct_CXX"; then
4676 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4677 echo "${ECHO_T}$ac_ct_CXX" >&6
4679 echo "$as_me:$LINENO: result: no" >&5
4680 echo "${ECHO_T}no" >&6
4683 test -n "$ac_ct_CXX" && break
4685 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
4691 # Provide some information about the compiler.
4692 echo "$as_me:$LINENO:" \
4693 "checking for C++ compiler version" >&5
4694 ac_compiler
=`set X $ac_compile; echo $2`
4695 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4696 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
4698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4699 (exit $ac_status); }
4700 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4701 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
4703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4704 (exit $ac_status); }
4705 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4706 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
4708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4709 (exit $ac_status); }
4711 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4712 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
4713 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4714 echo $ECHO_N "(cached) $ECHO_C" >&6
4716 cat >conftest.
$ac_ext <<_ACEOF
4719 cat confdefs.h
>>conftest.
$ac_ext
4720 cat >>conftest.
$ac_ext <<_ACEOF
4721 /* end confdefs.h. */
4734 rm -f conftest.
$ac_objext
4735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4736 (eval $ac_compile) 2>conftest.er1
4738 grep -v '^ *+' conftest.er1
>conftest.err
4740 cat conftest.err
>&5
4741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4742 (exit $ac_status); } &&
4743 { ac_try
='test -z "$ac_cxx_werror_flag"
4744 || test ! -s conftest.err'
4745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4749 (exit $ac_status); }; } &&
4750 { ac_try
='test -s conftest.$ac_objext'
4751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4755 (exit $ac_status); }; }; then
4758 echo "$as_me: failed program was:" >&5
4759 sed 's/^/| /' conftest.
$ac_ext >&5
4763 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4764 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4767 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4768 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
4769 GXX
=`test $ac_compiler_gnu = yes && echo yes`
4770 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4771 ac_save_CXXFLAGS
=$CXXFLAGS
4773 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4774 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
4775 if test "${ac_cv_prog_cxx_g+set}" = set; then
4776 echo $ECHO_N "(cached) $ECHO_C" >&6
4778 cat >conftest.
$ac_ext <<_ACEOF
4781 cat confdefs.h
>>conftest.
$ac_ext
4782 cat >>conftest.
$ac_ext <<_ACEOF
4783 /* end confdefs.h. */
4793 rm -f conftest.
$ac_objext
4794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4795 (eval $ac_compile) 2>conftest.er1
4797 grep -v '^ *+' conftest.er1
>conftest.err
4799 cat conftest.err
>&5
4800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4801 (exit $ac_status); } &&
4802 { ac_try
='test -z "$ac_cxx_werror_flag"
4803 || test ! -s conftest.err'
4804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4808 (exit $ac_status); }; } &&
4809 { ac_try
='test -s conftest.$ac_objext'
4810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4814 (exit $ac_status); }; }; then
4815 ac_cv_prog_cxx_g
=yes
4817 echo "$as_me: failed program was:" >&5
4818 sed 's/^/| /' conftest.
$ac_ext >&5
4822 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4824 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4825 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
4826 if test "$ac_test_CXXFLAGS" = set; then
4827 CXXFLAGS
=$ac_save_CXXFLAGS
4828 elif test $ac_cv_prog_cxx_g = yes; then
4829 if test "$GXX" = yes; then
4835 if test "$GXX" = yes; then
4841 for ac_declaration
in \
4843 'extern "C" void std::exit (int) throw (); using std::exit;' \
4844 'extern "C" void std::exit (int); using std::exit;' \
4845 'extern "C" void exit (int) throw ();' \
4846 'extern "C" void exit (int);' \
4849 cat >conftest.
$ac_ext <<_ACEOF
4852 cat confdefs.h
>>conftest.
$ac_ext
4853 cat >>conftest.
$ac_ext <<_ACEOF
4854 /* end confdefs.h. */
4865 rm -f conftest.
$ac_objext
4866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4867 (eval $ac_compile) 2>conftest.er1
4869 grep -v '^ *+' conftest.er1
>conftest.err
4871 cat conftest.err
>&5
4872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4873 (exit $ac_status); } &&
4874 { ac_try
='test -z "$ac_cxx_werror_flag"
4875 || test ! -s conftest.err'
4876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4880 (exit $ac_status); }; } &&
4881 { ac_try
='test -s conftest.$ac_objext'
4882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4886 (exit $ac_status); }; }; then
4889 echo "$as_me: failed program was:" >&5
4890 sed 's/^/| /' conftest.
$ac_ext >&5
4894 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4895 cat >conftest.
$ac_ext <<_ACEOF
4898 cat confdefs.h
>>conftest.
$ac_ext
4899 cat >>conftest.
$ac_ext <<_ACEOF
4900 /* end confdefs.h. */
4910 rm -f conftest.
$ac_objext
4911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4912 (eval $ac_compile) 2>conftest.er1
4914 grep -v '^ *+' conftest.er1
>conftest.err
4916 cat conftest.err
>&5
4917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4918 (exit $ac_status); } &&
4919 { ac_try
='test -z "$ac_cxx_werror_flag"
4920 || test ! -s conftest.err'
4921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4925 (exit $ac_status); }; } &&
4926 { ac_try
='test -s conftest.$ac_objext'
4927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4931 (exit $ac_status); }; }; then
4934 echo "$as_me: failed program was:" >&5
4935 sed 's/^/| /' conftest.
$ac_ext >&5
4938 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4941 if test -n "$ac_declaration"; then
4942 echo '#ifdef __cplusplus' >>confdefs.h
4943 echo $ac_declaration >>confdefs.h
4944 echo '#endif' >>confdefs.h
4948 ac_cpp
='$CXXCPP $CPPFLAGS'
4949 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4950 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4951 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4953 depcc
="$CXX" am_compiler_list
=
4955 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4956 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
4957 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
4958 echo $ECHO_N "(cached) $ECHO_C" >&6
4960 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4961 # We make a subdir and do the tests there. Otherwise we can end up
4962 # making bogus files that we don't know about and never remove. For
4963 # instance it was reported that on HP-UX the gcc test will end up
4964 # making a dummy file named `D' -- because `-MD' means `put the output
4967 # Copy depcomp to subdir because otherwise we won't find it if we're
4968 # using a relative directory.
4969 cp "$am_depcomp" conftest.dir
4971 # We will build objects and dependencies in a subdirectory because
4972 # it helps to detect inapplicable dependency modes. For instance
4973 # both Tru64's cc and ICC support -MD to output dependencies as a
4974 # side effect of compilation, but ICC will put the dependencies in
4975 # the current directory while Tru64 will put them in the object
4979 am_cv_CXX_dependencies_compiler_type
=none
4980 if test "$am_compiler_list" = ""; then
4981 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4983 for depmode
in $am_compiler_list; do
4984 # Setup a source with many dependencies, because some compilers
4985 # like to wrap large dependency lists on column 80 (with \), and
4986 # we should not choose a depcomp mode which is confused by this.
4988 # We need to recreate these files for each test, as the compiler may
4989 # overwrite some of them when testing with obscure command lines.
4990 # This happens at least with the AIX C compiler.
4992 for i
in 1 2 3 4 5 6; do
4993 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4994 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4995 # Solaris 8's {/usr,}/bin/sh.
4996 touch sub
/conftst
$i.h
4998 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5002 # after this tag, mechanisms are not by side-effect, so they'll
5003 # only be used when explicitly requested
5004 if test "x$enable_dependency_tracking" = xyes
; then
5012 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5013 # mode. It turns out that the SunPro C++ compiler does not properly
5014 # handle `-M -o', and we need to detect this.
5015 if depmode
=$depmode \
5016 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
5017 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5018 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
5019 >/dev
/null
2>conftest.err
&&
5020 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5021 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
5022 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5023 # icc doesn't choke on unknown options, it will just issue warnings
5024 # or remarks (even with -Werror). So we grep stderr for any message
5025 # that says an option was ignored or not supported.
5026 # When given -MP, icc 7.0 and 7.1 complain thusly:
5027 # icc: Command line warning: ignoring option '-M'; no argument required
5028 # The diagnosis changed in icc 8.0:
5029 # icc: Command line remark: option '-MP' not supported
5030 if (grep 'ignoring option' conftest.err ||
5031 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5032 am_cv_CXX_dependencies_compiler_type
=$depmode
5041 am_cv_CXX_dependencies_compiler_type
=none
5045 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5046 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
5047 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5052 test "x$enable_dependency_tracking" != xno \
5053 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5054 am__fastdepCXX_TRUE
=
5055 am__fastdepCXX_FALSE
='#'
5057 am__fastdepCXX_TRUE
='#'
5058 am__fastdepCXX_FALSE
=
5064 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5065 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5066 (test "X$CXX" != "Xg++"))) ; then
5068 ac_cpp
='$CXXCPP $CPPFLAGS'
5069 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5070 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5071 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5072 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5073 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
5074 if test -z "$CXXCPP"; then
5075 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5076 echo $ECHO_N "(cached) $ECHO_C" >&6
5078 # Double quotes because CXXCPP needs to be expanded
5079 for CXXCPP
in "$CXX -E" "/lib/cpp"
5082 for ac_cxx_preproc_warn_flag
in '' yes
5084 # Use a header file that comes with gcc, so configuring glibc
5085 # with a fresh cross-compiler works.
5086 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5087 # <limits.h> exists even on freestanding compilers.
5088 # On the NeXT, cc -E runs the code through the compiler's parser,
5089 # not just through cpp. "Syntax error" is here to catch this case.
5090 cat >conftest.
$ac_ext <<_ACEOF
5093 cat confdefs.h
>>conftest.
$ac_ext
5094 cat >>conftest.
$ac_ext <<_ACEOF
5095 /* end confdefs.h. */
5097 # include <limits.h>
5099 # include <assert.h>
5103 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5104 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5106 grep -v '^ *+' conftest.er1
>conftest.err
5108 cat conftest.err
>&5
5109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5110 (exit $ac_status); } >/dev
/null
; then
5111 if test -s conftest.err
; then
5112 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5113 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5120 if test -z "$ac_cpp_err"; then
5123 echo "$as_me: failed program was:" >&5
5124 sed 's/^/| /' conftest.
$ac_ext >&5
5126 # Broken: fails on valid input.
5129 rm -f conftest.err conftest.
$ac_ext
5131 # OK, works on sane cases. Now check whether non-existent headers
5132 # can be detected and how.
5133 cat >conftest.
$ac_ext <<_ACEOF
5136 cat confdefs.h
>>conftest.
$ac_ext
5137 cat >>conftest.
$ac_ext <<_ACEOF
5138 /* end confdefs.h. */
5139 #include <ac_nonexistent.h>
5141 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5142 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5144 grep -v '^ *+' conftest.er1
>conftest.err
5146 cat conftest.err
>&5
5147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5148 (exit $ac_status); } >/dev
/null
; then
5149 if test -s conftest.err
; then
5150 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5151 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5158 if test -z "$ac_cpp_err"; then
5159 # Broken: success on invalid input.
5162 echo "$as_me: failed program was:" >&5
5163 sed 's/^/| /' conftest.
$ac_ext >&5
5165 # Passes both tests.
5169 rm -f conftest.err conftest.
$ac_ext
5172 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5173 rm -f conftest.err conftest.
$ac_ext
5174 if $ac_preproc_ok; then
5179 ac_cv_prog_CXXCPP
=$CXXCPP
5182 CXXCPP
=$ac_cv_prog_CXXCPP
5184 ac_cv_prog_CXXCPP
=$CXXCPP
5186 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5187 echo "${ECHO_T}$CXXCPP" >&6
5189 for ac_cxx_preproc_warn_flag
in '' yes
5191 # Use a header file that comes with gcc, so configuring glibc
5192 # with a fresh cross-compiler works.
5193 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5194 # <limits.h> exists even on freestanding compilers.
5195 # On the NeXT, cc -E runs the code through the compiler's parser,
5196 # not just through cpp. "Syntax error" is here to catch this case.
5197 cat >conftest.
$ac_ext <<_ACEOF
5200 cat confdefs.h
>>conftest.
$ac_ext
5201 cat >>conftest.
$ac_ext <<_ACEOF
5202 /* end confdefs.h. */
5204 # include <limits.h>
5206 # include <assert.h>
5210 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5211 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5213 grep -v '^ *+' conftest.er1
>conftest.err
5215 cat conftest.err
>&5
5216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5217 (exit $ac_status); } >/dev
/null
; then
5218 if test -s conftest.err
; then
5219 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5220 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5227 if test -z "$ac_cpp_err"; then
5230 echo "$as_me: failed program was:" >&5
5231 sed 's/^/| /' conftest.
$ac_ext >&5
5233 # Broken: fails on valid input.
5236 rm -f conftest.err conftest.
$ac_ext
5238 # OK, works on sane cases. Now check whether non-existent headers
5239 # can be detected and how.
5240 cat >conftest.
$ac_ext <<_ACEOF
5243 cat confdefs.h
>>conftest.
$ac_ext
5244 cat >>conftest.
$ac_ext <<_ACEOF
5245 /* end confdefs.h. */
5246 #include <ac_nonexistent.h>
5248 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5249 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5251 grep -v '^ *+' conftest.er1
>conftest.err
5253 cat conftest.err
>&5
5254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5255 (exit $ac_status); } >/dev
/null
; then
5256 if test -s conftest.err
; then
5257 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5258 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5265 if test -z "$ac_cpp_err"; then
5266 # Broken: success on invalid input.
5269 echo "$as_me: failed program was:" >&5
5270 sed 's/^/| /' conftest.
$ac_ext >&5
5272 # Passes both tests.
5276 rm -f conftest.err conftest.
$ac_ext
5279 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5280 rm -f conftest.err conftest.
$ac_ext
5281 if $ac_preproc_ok; then
5284 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5285 See \`config.log' for more details." >&5
5286 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5287 See \`config.log' for more details." >&2;}
5288 { (exit 1); exit 1; }; }
5292 ac_cpp
='$CXXCPP $CPPFLAGS'
5293 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5294 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5295 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5301 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5302 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5303 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
5304 if test -n "$ac_tool_prefix"; then
5305 for ac_prog
in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
5307 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5308 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5309 echo "$as_me:$LINENO: checking for $ac_word" >&5
5310 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5311 if test "${ac_cv_prog_F77+set}" = set; then
5312 echo $ECHO_N "(cached) $ECHO_C" >&6
5314 if test -n "$F77"; then
5315 ac_cv_prog_F77
="$F77" # Let the user override the test.
5317 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5321 test -z "$as_dir" && as_dir
=.
5322 for ac_exec_ext
in '' $ac_executable_extensions; do
5323 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5324 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
5325 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5334 if test -n "$F77"; then
5335 echo "$as_me:$LINENO: result: $F77" >&5
5336 echo "${ECHO_T}$F77" >&6
5338 echo "$as_me:$LINENO: result: no" >&5
5339 echo "${ECHO_T}no" >&6
5342 test -n "$F77" && break
5345 if test -z "$F77"; then
5347 for ac_prog
in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
5349 # Extract the first word of "$ac_prog", so it can be a program name with args.
5350 set dummy
$ac_prog; ac_word
=$2
5351 echo "$as_me:$LINENO: checking for $ac_word" >&5
5352 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5353 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5354 echo $ECHO_N "(cached) $ECHO_C" >&6
5356 if test -n "$ac_ct_F77"; then
5357 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
5359 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5363 test -z "$as_dir" && as_dir
=.
5364 for ac_exec_ext
in '' $ac_executable_extensions; do
5365 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5366 ac_cv_prog_ac_ct_F77
="$ac_prog"
5367 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5375 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
5376 if test -n "$ac_ct_F77"; then
5377 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5378 echo "${ECHO_T}$ac_ct_F77" >&6
5380 echo "$as_me:$LINENO: result: no" >&5
5381 echo "${ECHO_T}no" >&6
5384 test -n "$ac_ct_F77" && break
5391 # Provide some information about the compiler.
5392 echo "$as_me:5392:" \
5393 "checking for Fortran 77 compiler version" >&5
5394 ac_compiler
=`set X $ac_compile; echo $2`
5395 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5396 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
5398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5399 (exit $ac_status); }
5400 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5401 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
5403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5404 (exit $ac_status); }
5405 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5406 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
5408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5409 (exit $ac_status); }
5412 # If we don't use `.F' as extension, the preprocessor is not run on the
5413 # input file. (Note that this only needs to work for GNU compilers.)
5416 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5417 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
5418 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5419 echo $ECHO_N "(cached) $ECHO_C" >&6
5421 cat >conftest.
$ac_ext <<_ACEOF
5429 rm -f conftest.
$ac_objext
5430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5431 (eval $ac_compile) 2>conftest.er1
5433 grep -v '^ *+' conftest.er1
>conftest.err
5435 cat conftest.err
>&5
5436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5437 (exit $ac_status); } &&
5438 { ac_try
='test -z "$ac_f77_werror_flag"
5439 || test ! -s conftest.err'
5440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5444 (exit $ac_status); }; } &&
5445 { ac_try
='test -s conftest.$ac_objext'
5446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5450 (exit $ac_status); }; }; then
5453 echo "$as_me: failed program was:" >&5
5454 sed 's/^/| /' conftest.
$ac_ext >&5
5458 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5459 ac_cv_f77_compiler_gnu
=$ac_compiler_gnu
5462 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5463 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
5465 ac_test_FFLAGS
=${FFLAGS+set}
5466 ac_save_FFLAGS
=$FFLAGS
5468 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5469 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
5470 if test "${ac_cv_prog_f77_g+set}" = set; then
5471 echo $ECHO_N "(cached) $ECHO_C" >&6
5474 cat >conftest.
$ac_ext <<_ACEOF
5479 rm -f conftest.
$ac_objext
5480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5481 (eval $ac_compile) 2>conftest.er1
5483 grep -v '^ *+' conftest.er1
>conftest.err
5485 cat conftest.err
>&5
5486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5487 (exit $ac_status); } &&
5488 { ac_try
='test -z "$ac_f77_werror_flag"
5489 || test ! -s conftest.err'
5490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5494 (exit $ac_status); }; } &&
5495 { ac_try
='test -s conftest.$ac_objext'
5496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5500 (exit $ac_status); }; }; then
5501 ac_cv_prog_f77_g
=yes
5503 echo "$as_me: failed program was:" >&5
5504 sed 's/^/| /' conftest.
$ac_ext >&5
5508 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5511 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5512 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
5513 if test "$ac_test_FFLAGS" = set; then
5514 FFLAGS
=$ac_save_FFLAGS
5515 elif test $ac_cv_prog_f77_g = yes; then
5516 if test "x$ac_cv_f77_compiler_gnu" = xyes
; then
5522 if test "x$ac_cv_f77_compiler_gnu" = xyes
; then
5529 G77
=`test $ac_compiler_gnu = yes && echo yes`
5531 ac_cpp
='$CPP $CPPFLAGS'
5532 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5533 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5534 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5538 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5540 # find the maximum length of command line arguments
5541 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5542 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5543 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5544 echo $ECHO_N "(cached) $ECHO_C" >&6
5551 # On DJGPP, this test can blow up pretty badly due to problems in libc
5552 # (any single argument exceeding 2000 bytes causes a buffer overrun
5553 # during glob expansion). Even if it were fixed, the result of this
5554 # check would be larger than it should be.
5555 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5559 # Under GNU Hurd, this test is not required because there is
5560 # no limit to the length of command line arguments.
5561 # Libtool will interpret -1 as no limit whatsoever
5562 lt_cv_sys_max_cmd_len
=-1;
5566 # On Win9x/ME, this test blows up -- it succeeds, but takes
5567 # about 5 minutes as the teststring grows exponentially.
5568 # Worse, since 9x/ME are not pre-emptively multitasking,
5569 # you end up with a "frozen" computer, even though with patience
5570 # the test eventually succeeds (with a max line length of 256k).
5571 # Instead, let's just punt: use the minimum linelength reported by
5572 # all of the supported platforms: 8192 (on NT/2K/XP).
5573 lt_cv_sys_max_cmd_len
=8192;
5577 # On AmigaOS with pdksh, this test takes hours, literally.
5578 # So we just punt and use a minimum line length of 8192.
5579 lt_cv_sys_max_cmd_len
=8192;
5582 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5583 # This has been around since 386BSD, at least. Likely further.
5584 if test -x /sbin
/sysctl
; then
5585 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5586 elif test -x /usr
/sbin
/sysctl
; then
5587 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5589 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5591 # And add a safety zone
5592 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5593 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5597 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5598 lt_cv_sys_max_cmd_len
=196608
5602 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5603 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5604 # nice to cause kernel panics so lets avoid the loop below.
5605 # First set a reasonable default.
5606 lt_cv_sys_max_cmd_len
=16384
5608 if test -x /sbin
/sysconfig
; then
5609 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5610 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5615 lt_cv_sys_max_cmd_len
=102400
5617 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5618 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5619 if test -n "$kargmax"; then
5620 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5622 lt_cv_sys_max_cmd_len
=32768
5626 # If test is not a shell built-in, we'll probably end up computing a
5627 # maximum length that is only half of the actual maximum length, but
5629 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5630 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
5631 = "XX$teststring") >/dev
/null
2>&1 &&
5632 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
5633 lt_cv_sys_max_cmd_len
=$new_result &&
5634 test $i != 17 # 1/2 MB should be enough
5637 teststring
=$teststring$teststring
5640 # Add a significant safety factor because C++ compilers can tack on massive
5641 # amounts of additional arguments before passing them to the linker.
5642 # It appears as though 1/2 is a usable value.
5643 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5649 if test -n $lt_cv_sys_max_cmd_len ; then
5650 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5651 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5653 echo "$as_me:$LINENO: result: none" >&5
5654 echo "${ECHO_T}none" >&6
5660 # Check for command to grab the raw symbol name followed by C symbol from nm.
5661 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5662 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5663 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5664 echo $ECHO_N "(cached) $ECHO_C" >&6
5667 # These are sane defaults that work on at least a few old systems.
5668 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5670 # Character class describing NM global symbol codes.
5671 symcode
='[BCDEGRST]'
5673 # Regexp to match symbols that can be accessed directly from C.
5674 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
5676 # Transform an extracted symbol line into a proper C declaration
5677 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5679 # Transform an extracted symbol line into symbol name and symbol address
5680 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'"
5682 # Define system-specific variables.
5687 cygwin
* | mingw
* | pw32
*)
5688 symcode
='[ABCDGISTW]'
5690 hpux
*) # Its linker distinguishes data from code symbols
5691 if test "$host_cpu" = ia64
; then
5692 symcode
='[ABCDEGRST]'
5694 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5695 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'"
5698 if test "$host_cpu" = ia64
; then
5699 symcode
='[ABCDGIRSTW]'
5700 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5701 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'"
5705 symcode
='[BCDEGRST]'
5708 symcode
='[BCDEGQRST]'
5719 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
5727 # Handle CRLF in mingw tool chain
5731 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5735 # If we're using GNU nm, then use its standard symbol codes.
5736 case `$NM -V 2>&1` in
5737 *GNU
* |
*'with BFD'*)
5738 symcode
='[ABCDGIRSTW]' ;;
5741 # Try without a prefix undercore, then with it.
5742 for ac_symprfx
in "" "_"; do
5744 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5745 symxfrm
="\\1 $ac_symprfx\\2 \\2"
5747 # Write the raw and C identifiers.
5748 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5750 # Check to see that the pipe works correctly.
5754 cat > conftest.
$ac_ext <<EOF
5759 void nm_test_func(){}
5763 int main(){nm_test_var='a';nm_test_func();return(0);}
5766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5767 (eval $ac_compile) 2>&5
5769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5770 (exit $ac_status); }; then
5771 # Now try to grab the symbols.
5773 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5774 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
5776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5777 (exit $ac_status); } && test -s "$nlist"; then
5778 # Try sorting and uniquifying the output.
5779 if sort "$nlist" |
uniq > "$nlist"T
; then
5780 mv -f "$nlist"T
"$nlist"
5785 # Make sure that we snagged all the symbols we need.
5786 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
5787 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
5788 cat <<EOF > conftest.$ac_ext
5794 # Now generate the symbol file.
5795 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
5797 cat <<EOF >> conftest.$ac_ext
5798 #if defined (__STDC__) && __STDC__
5799 # define lt_ptr_t void *
5801 # define lt_ptr_t char *
5805 /* The mapping between symbol names and symbols. */
5810 lt_preloaded_symbols[] =
5813 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
5814 cat <<\EOF
>> conftest.
$ac_ext
5822 # Now try linking the two files.
5823 mv conftest.
$ac_objext conftstm.
$ac_objext
5824 lt_save_LIBS
="$LIBS"
5825 lt_save_CFLAGS
="$CFLAGS"
5826 LIBS
="conftstm.$ac_objext"
5827 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5829 (eval $ac_link) 2>&5
5831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5832 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
5835 LIBS
="$lt_save_LIBS"
5836 CFLAGS
="$lt_save_CFLAGS"
5838 echo "cannot find nm_test_func in $nlist" >&5
5841 echo "cannot find nm_test_var in $nlist" >&5
5844 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5847 echo "$progname: failed program was:" >&5
5848 cat conftest.
$ac_ext >&5
5850 rm -f conftest
* conftst
*
5852 # Do not use the global_symbol_pipe unless it works.
5853 if test "$pipe_works" = yes; then
5856 lt_cv_sys_global_symbol_pipe
=
5862 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5863 lt_cv_sys_global_symbol_to_cdecl
=
5865 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5866 echo "$as_me:$LINENO: result: failed" >&5
5867 echo "${ECHO_T}failed" >&6
5869 echo "$as_me:$LINENO: result: ok" >&5
5870 echo "${ECHO_T}ok" >&6
5873 echo "$as_me:$LINENO: checking for objdir" >&5
5874 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
5875 if test "${lt_cv_objdir+set}" = set; then
5876 echo $ECHO_N "(cached) $ECHO_C" >&6
5878 rm -f .libs
2>/dev
/null
5879 mkdir .libs
2>/dev
/null
5880 if test -d .libs
; then
5883 # MS-DOS does not allow filenames that begin with a dot.
5886 rmdir .libs
2>/dev
/null
5888 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5889 echo "${ECHO_T}$lt_cv_objdir" >&6
5890 objdir
=$lt_cv_objdir
5898 # AIX sometimes has problems with the GCC collect2 program. For some
5899 # reason, if we set the COLLECT_NAMES environment variable, the problems
5900 # vanish in a puff of smoke.
5901 if test "X${COLLECT_NAMES+set}" != Xset
; then
5903 export COLLECT_NAMES
5908 # Sed substitution that helps us do robust quoting. It backslashifies
5909 # metacharacters that are still active within double-quoted strings.
5910 Xsed
='sed -e 1s/^X//'
5911 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
5913 # Same as above, but do not quote variable references.
5914 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
5916 # Sed substitution to delay expansion of an escaped shell variable in a
5917 # double_quote_subst'ed string.
5918 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5920 # Sed substitution to avoid accidental globbing in evaled expressions
5921 no_glob_subst
='s/\*/\\\*/g'
5927 default_ofile
=libtool
5928 can_build_shared
=yes
5930 # All known linkers require a `.a' archive for static linking (except MSVC,
5931 # which needs '.lib').
5933 ltmain
="$ac_aux_dir/ltmain.sh"
5934 ofile
="$default_ofile"
5935 with_gnu_ld
="$lt_cv_prog_gnu_ld"
5937 if test -n "$ac_tool_prefix"; then
5938 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5939 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5940 echo "$as_me:$LINENO: checking for $ac_word" >&5
5941 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5942 if test "${ac_cv_prog_AR+set}" = set; then
5943 echo $ECHO_N "(cached) $ECHO_C" >&6
5945 if test -n "$AR"; then
5946 ac_cv_prog_AR
="$AR" # Let the user override the test.
5948 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5952 test -z "$as_dir" && as_dir
=.
5953 for ac_exec_ext
in '' $ac_executable_extensions; do
5954 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5955 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5956 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5965 if test -n "$AR"; then
5966 echo "$as_me:$LINENO: result: $AR" >&5
5967 echo "${ECHO_T}$AR" >&6
5969 echo "$as_me:$LINENO: result: no" >&5
5970 echo "${ECHO_T}no" >&6
5974 if test -z "$ac_cv_prog_AR"; then
5976 # Extract the first word of "ar", so it can be a program name with args.
5977 set dummy
ar; ac_word
=$2
5978 echo "$as_me:$LINENO: checking for $ac_word" >&5
5979 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5980 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5981 echo $ECHO_N "(cached) $ECHO_C" >&6
5983 if test -n "$ac_ct_AR"; then
5984 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5986 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5990 test -z "$as_dir" && as_dir
=.
5991 for ac_exec_ext
in '' $ac_executable_extensions; do
5992 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5993 ac_cv_prog_ac_ct_AR
="ar"
5994 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6000 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="false"
6003 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6004 if test -n "$ac_ct_AR"; then
6005 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6006 echo "${ECHO_T}$ac_ct_AR" >&6
6008 echo "$as_me:$LINENO: result: no" >&5
6009 echo "${ECHO_T}no" >&6
6017 if test -n "$ac_tool_prefix"; then
6018 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6019 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6020 echo "$as_me:$LINENO: checking for $ac_word" >&5
6021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6022 if test "${ac_cv_prog_RANLIB+set}" = set; then
6023 echo $ECHO_N "(cached) $ECHO_C" >&6
6025 if test -n "$RANLIB"; then
6026 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6032 test -z "$as_dir" && as_dir
=.
6033 for ac_exec_ext
in '' $ac_executable_extensions; do
6034 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6035 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6036 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6044 RANLIB
=$ac_cv_prog_RANLIB
6045 if test -n "$RANLIB"; then
6046 echo "$as_me:$LINENO: result: $RANLIB" >&5
6047 echo "${ECHO_T}$RANLIB" >&6
6049 echo "$as_me:$LINENO: result: no" >&5
6050 echo "${ECHO_T}no" >&6
6054 if test -z "$ac_cv_prog_RANLIB"; then
6055 ac_ct_RANLIB
=$RANLIB
6056 # Extract the first word of "ranlib", so it can be a program name with args.
6057 set dummy ranlib
; ac_word
=$2
6058 echo "$as_me:$LINENO: checking for $ac_word" >&5
6059 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6060 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6061 echo $ECHO_N "(cached) $ECHO_C" >&6
6063 if test -n "$ac_ct_RANLIB"; then
6064 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6066 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6070 test -z "$as_dir" && as_dir
=.
6071 for ac_exec_ext
in '' $ac_executable_extensions; do
6072 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6073 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6074 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6080 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
6083 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6084 if test -n "$ac_ct_RANLIB"; then
6085 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6086 echo "${ECHO_T}$ac_ct_RANLIB" >&6
6088 echo "$as_me:$LINENO: result: no" >&5
6089 echo "${ECHO_T}no" >&6
6092 RANLIB
=$ac_ct_RANLIB
6094 RANLIB
="$ac_cv_prog_RANLIB"
6097 if test -n "$ac_tool_prefix"; then
6098 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6099 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6100 echo "$as_me:$LINENO: checking for $ac_word" >&5
6101 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6102 if test "${ac_cv_prog_STRIP+set}" = set; then
6103 echo $ECHO_N "(cached) $ECHO_C" >&6
6105 if test -n "$STRIP"; then
6106 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6108 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6112 test -z "$as_dir" && as_dir
=.
6113 for ac_exec_ext
in '' $ac_executable_extensions; do
6114 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6115 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6116 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6124 STRIP
=$ac_cv_prog_STRIP
6125 if test -n "$STRIP"; then
6126 echo "$as_me:$LINENO: result: $STRIP" >&5
6127 echo "${ECHO_T}$STRIP" >&6
6129 echo "$as_me:$LINENO: result: no" >&5
6130 echo "${ECHO_T}no" >&6
6134 if test -z "$ac_cv_prog_STRIP"; then
6136 # Extract the first word of "strip", so it can be a program name with args.
6137 set dummy strip
; ac_word
=$2
6138 echo "$as_me:$LINENO: checking for $ac_word" >&5
6139 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6140 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6141 echo $ECHO_N "(cached) $ECHO_C" >&6
6143 if test -n "$ac_ct_STRIP"; then
6144 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6146 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6150 test -z "$as_dir" && as_dir
=.
6151 for ac_exec_ext
in '' $ac_executable_extensions; do
6152 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6153 ac_cv_prog_ac_ct_STRIP
="strip"
6154 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6160 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
6163 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6164 if test -n "$ac_ct_STRIP"; then
6165 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6166 echo "${ECHO_T}$ac_ct_STRIP" >&6
6168 echo "$as_me:$LINENO: result: no" >&5
6169 echo "${ECHO_T}no" >&6
6174 STRIP
="$ac_cv_prog_STRIP"
6179 old_CFLAGS
="$CFLAGS"
6181 # Set sane defaults for various variables
6182 test -z "$AR" && AR
=ar
6183 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6184 test -z "$AS" && AS
=as
6185 test -z "$CC" && CC
=cc
6186 test -z "$LTCC" && LTCC
=$CC
6187 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
6188 test -z "$DLLTOOL" && DLLTOOL
=dlltool
6189 test -z "$LD" && LD
=ld
6190 test -z "$LN_S" && LN_S
="ln -s"
6191 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6192 test -z "$NM" && NM
=nm
6193 test -z "$SED" && SED
=sed
6194 test -z "$OBJDUMP" && OBJDUMP
=objdump
6195 test -z "$RANLIB" && RANLIB
=:
6196 test -z "$STRIP" && STRIP
=:
6197 test -z "$ac_objext" && ac_objext
=o
6199 # Determine commands to create old-style static archives.
6200 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
6201 old_postinstall_cmds
='chmod 644 $oldlib'
6202 old_postuninstall_cmds
=
6204 if test -n "$RANLIB"; then
6207 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6210 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
6213 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6216 for cc_temp
in $compiler""; do
6218 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
6219 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
6224 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6227 # Only perform the check for file, if the check method requires it
6228 case $deplibs_check_method in
6230 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6231 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6232 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6233 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6234 echo $ECHO_N "(cached) $ECHO_C" >&6
6238 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6241 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6242 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6243 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6244 for ac_dir
in $ac_dummy; do
6246 test -z "$ac_dir" && ac_dir
=.
6247 if test -f $ac_dir/${ac_tool_prefix}file; then
6248 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6249 if test -n "$file_magic_test_file"; then
6250 case $deplibs_check_method in
6252 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6253 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6254 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6255 $EGREP "$file_magic_regex" > /dev
/null
; then
6260 *** Warning: the command libtool uses to detect shared libraries,
6261 *** $file_magic_cmd, produces output that libtool cannot recognize.
6262 *** The result is that libtool may fail to recognize shared libraries
6263 *** as such. This will affect the creation of libtool libraries that
6264 *** depend on shared libraries, but programs linked with such libtool
6265 *** libraries will work regardless of this problem. Nevertheless, you
6266 *** may want to report the problem to your system manager and/or to
6267 *** bug-libtool@gnu.org
6277 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6282 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6283 if test -n "$MAGIC_CMD"; then
6284 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6285 echo "${ECHO_T}$MAGIC_CMD" >&6
6287 echo "$as_me:$LINENO: result: no" >&5
6288 echo "${ECHO_T}no" >&6
6291 if test -z "$lt_cv_path_MAGIC_CMD"; then
6292 if test -n "$ac_tool_prefix"; then
6293 echo "$as_me:$LINENO: checking for file" >&5
6294 echo $ECHO_N "checking for file... $ECHO_C" >&6
6295 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6296 echo $ECHO_N "(cached) $ECHO_C" >&6
6300 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6303 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6304 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6305 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6306 for ac_dir
in $ac_dummy; do
6308 test -z "$ac_dir" && ac_dir
=.
6309 if test -f $ac_dir/file; then
6310 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
6311 if test -n "$file_magic_test_file"; then
6312 case $deplibs_check_method in
6314 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6315 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6316 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6317 $EGREP "$file_magic_regex" > /dev
/null
; then
6322 *** Warning: the command libtool uses to detect shared libraries,
6323 *** $file_magic_cmd, produces output that libtool cannot recognize.
6324 *** The result is that libtool may fail to recognize shared libraries
6325 *** as such. This will affect the creation of libtool libraries that
6326 *** depend on shared libraries, but programs linked with such libtool
6327 *** libraries will work regardless of this problem. Nevertheless, you
6328 *** may want to report the problem to your system manager and/or to
6329 *** bug-libtool@gnu.org
6339 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6344 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6345 if test -n "$MAGIC_CMD"; then
6346 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6347 echo "${ECHO_T}$MAGIC_CMD" >&6
6349 echo "$as_me:$LINENO: result: no" >&5
6350 echo "${ECHO_T}no" >&6
6365 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6366 if test "${enable_libtool_lock+set}" = set; then
6367 enableval
="$enable_libtool_lock"
6370 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6373 # Check whether --with-pic or --without-pic was given.
6374 if test "${with_pic+set}" = set; then
6380 test -z "$pic_mode" && pic_mode
=default
6382 # Use C for the default configuration in the libtool script
6386 ac_cpp
='$CPP $CPPFLAGS'
6387 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6388 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6389 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6392 # Source file extension for C test sources.
6395 # Object file extension for compiled C test sources.
6399 # Code to be used in simple compile tests
6400 lt_simple_compile_test_code
="int some_variable = 0;\n"
6402 # Code to be used in simple link tests
6403 lt_simple_link_test_code
='int main(){return(0);}\n'
6406 # If no C compiler was specified, use CC.
6409 # If no C compiler flags were specified, use CFLAGS.
6410 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
6412 # Allow CC to be a program name with arguments.
6416 # save warnings/boilerplate of simple test code
6417 ac_outfile
=conftest.
$ac_objext
6418 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
6419 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
6420 _lt_compiler_boilerplate
=`cat conftest.err`
6423 ac_outfile
=conftest.
$ac_objext
6424 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
6425 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
6426 _lt_linker_boilerplate
=`cat conftest.err`
6431 lt_prog_compiler_no_builtin_flag
=
6433 if test "$GCC" = yes; then
6434 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
6437 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6438 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6439 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6440 echo $ECHO_N "(cached) $ECHO_C" >&6
6442 lt_cv_prog_compiler_rtti_exceptions
=no
6443 ac_outfile
=conftest.
$ac_objext
6444 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6445 lt_compiler_flag
="-fno-rtti -fno-exceptions"
6446 # Insert the option either (1) after the last *FLAGS variable, or
6447 # (2) before a word containing "conftest.", or (3) at the end.
6448 # Note that $ac_compile itself does not contain backslashes and begins
6449 # with a dollar sign (not a hyphen), so the echo should work correctly.
6450 # The option is referenced via a variable to avoid confusing sed.
6451 lt_compile
=`echo "$ac_compile" | $SED \
6452 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6453 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6454 -e 's:$: $lt_compiler_flag:'`
6455 (eval echo "\"\$as_me:6455: $lt_compile\"" >&5)
6456 (eval "$lt_compile" 2>conftest.err
)
6458 cat conftest.err
>&5
6459 echo "$as_me:6459: \$? = $ac_status" >&5
6460 if (exit $ac_status) && test -s "$ac_outfile"; then
6461 # The compiler can only warn and ignore the option if not recognized
6462 # So say no if there are warnings other than the usual output.
6463 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
6464 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
6465 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
6466 lt_cv_prog_compiler_rtti_exceptions
=yes
6472 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6473 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6475 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
6476 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6483 lt_prog_compiler_wl
=
6484 lt_prog_compiler_pic
=
6485 lt_prog_compiler_static
=
6487 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6488 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6490 if test "$GCC" = yes; then
6491 lt_prog_compiler_wl
='-Wl,'
6492 lt_prog_compiler_static
='-static'
6496 # All AIX code is PIC.
6497 if test "$host_cpu" = ia64
; then
6498 # AIX 5 now supports IA64 processor
6499 lt_prog_compiler_static
='-Bstatic'
6504 # FIXME: we need at least 68020 code to build shared libraries, but
6505 # adding the `-m68020' flag to GCC prevents building anything better,
6507 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
6510 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
6511 # PIC is the default for these OSes.
6514 mingw
* | pw32
* | os2
*)
6515 # This hack is so that the source file can tell whether it is being
6516 # built for inclusion in a dll (and should export symbols for example).
6517 lt_prog_compiler_pic
='-DDLL_EXPORT'
6520 darwin
* | rhapsody
*)
6521 # PIC is the default on this platform
6522 # Common symbols not allowed in MH_DYLIB files
6523 lt_prog_compiler_pic
='-fno-common'
6527 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6528 # Instead, we relocate shared libraries at runtime.
6532 # Just because we use GCC doesn't mean we suddenly get shared libraries
6533 # on systems that don't support them.
6534 lt_prog_compiler_can_build_shared
=no
6539 if test -d /usr
/nec
; then
6540 lt_prog_compiler_pic
=-Kconform_pic
6545 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6552 lt_prog_compiler_pic
='-fPIC'
6558 lt_prog_compiler_pic
='-fPIC'
6562 # PORTME Check for flag to pass linker flags through the system compiler.
6565 lt_prog_compiler_wl
='-Wl,'
6566 if test "$host_cpu" = ia64
; then
6567 # AIX 5 now supports IA64 processor
6568 lt_prog_compiler_static
='-Bstatic'
6570 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
6574 # PIC is the default on this platform
6575 # Common symbols not allowed in MH_DYLIB files
6576 case $cc_basename in
6578 lt_prog_compiler_pic
='-qnocommon'
6579 lt_prog_compiler_wl
='-Wl,'
6584 mingw
* | pw32
* | os2
*)
6585 # This hack is so that the source file can tell whether it is being
6586 # built for inclusion in a dll (and should export symbols for example).
6587 lt_prog_compiler_pic
='-DDLL_EXPORT'
6590 hpux9
* | hpux10
* | hpux11
*)
6591 lt_prog_compiler_wl
='-Wl,'
6592 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6599 lt_prog_compiler_pic
='+Z'
6602 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6603 lt_prog_compiler_static
='${wl}-a ${wl}archive'
6606 irix5
* | irix6
* | nonstopux
*)
6607 lt_prog_compiler_wl
='-Wl,'
6608 # PIC (with -KPIC) is the default.
6609 lt_prog_compiler_static
='-non_shared'
6613 lt_prog_compiler_pic
='-KPIC'
6614 lt_prog_compiler_static
='-Bstatic'
6618 case $cc_basename in
6620 lt_prog_compiler_wl
='-Wl,'
6621 lt_prog_compiler_pic
='-KPIC'
6622 lt_prog_compiler_static
='-static'
6624 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
6625 # Portland Group compilers (*not* the Pentium gcc compiler,
6626 # which looks to be a dead project)
6627 lt_prog_compiler_wl
='-Wl,'
6628 lt_prog_compiler_pic
='-fpic'
6629 lt_prog_compiler_static
='-Bstatic'
6632 lt_prog_compiler_wl
='-Wl,'
6633 # All Alpha code is PIC.
6634 lt_prog_compiler_static
='-non_shared'
6639 osf3
* | osf4
* | osf5
*)
6640 lt_prog_compiler_wl
='-Wl,'
6641 # All OSF/1 code is PIC.
6642 lt_prog_compiler_static
='-non_shared'
6646 lt_prog_compiler_pic
='-KPIC'
6647 lt_prog_compiler_static
='-Bstatic'
6648 case $cc_basename in
6650 lt_prog_compiler_wl
='-Qoption ld ';;
6652 lt_prog_compiler_wl
='-Wl,';;
6657 lt_prog_compiler_wl
='-Qoption ld '
6658 lt_prog_compiler_pic
='-PIC'
6659 lt_prog_compiler_static
='-Bstatic'
6662 sysv4 | sysv4.2uw2
* | sysv4.3
*)
6663 lt_prog_compiler_wl
='-Wl,'
6664 lt_prog_compiler_pic
='-KPIC'
6665 lt_prog_compiler_static
='-Bstatic'
6669 if test -d /usr
/nec
;then
6670 lt_prog_compiler_pic
='-Kconform_pic'
6671 lt_prog_compiler_static
='-Bstatic'
6675 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
6676 lt_prog_compiler_wl
='-Wl,'
6677 lt_prog_compiler_pic
='-KPIC'
6678 lt_prog_compiler_static
='-Bstatic'
6682 lt_prog_compiler_wl
='-Wl,'
6683 lt_prog_compiler_can_build_shared
=no
6687 lt_prog_compiler_pic
='-pic'
6688 lt_prog_compiler_static
='-Bstatic'
6692 lt_prog_compiler_can_build_shared
=no
6697 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6698 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6701 # Check to make sure the PIC flag actually works.
6703 if test -n "$lt_prog_compiler_pic"; then
6705 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6706 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6707 if test "${lt_prog_compiler_pic_works+set}" = set; then
6708 echo $ECHO_N "(cached) $ECHO_C" >&6
6710 lt_prog_compiler_pic_works
=no
6711 ac_outfile
=conftest.
$ac_objext
6712 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6713 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
6714 # Insert the option either (1) after the last *FLAGS variable, or
6715 # (2) before a word containing "conftest.", or (3) at the end.
6716 # Note that $ac_compile itself does not contain backslashes and begins
6717 # with a dollar sign (not a hyphen), so the echo should work correctly.
6718 # The option is referenced via a variable to avoid confusing sed.
6719 lt_compile
=`echo "$ac_compile" | $SED \
6720 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6721 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6722 -e 's:$: $lt_compiler_flag:'`
6723 (eval echo "\"\$as_me:6723: $lt_compile\"" >&5)
6724 (eval "$lt_compile" 2>conftest.err
)
6726 cat conftest.err
>&5
6727 echo "$as_me:6727: \$? = $ac_status" >&5
6728 if (exit $ac_status) && test -s "$ac_outfile"; then
6729 # The compiler can only warn and ignore the option if not recognized
6730 # So say no if there are warnings other than the usual output.
6731 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
6732 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
6733 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
6734 lt_prog_compiler_pic_works
=yes
6740 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6741 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6743 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
6744 case $lt_prog_compiler_pic in
6746 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
6749 lt_prog_compiler_pic
=
6750 lt_prog_compiler_can_build_shared
=no
6755 # For platforms which do not support PIC, -DPIC is meaningless:
6757 lt_prog_compiler_pic
=
6760 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
6765 # Check to make sure the static flag actually works.
6767 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
6768 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
6769 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
6770 if test "${lt_prog_compiler_static_works+set}" = set; then
6771 echo $ECHO_N "(cached) $ECHO_C" >&6
6773 lt_prog_compiler_static_works
=no
6774 save_LDFLAGS
="$LDFLAGS"
6775 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
6776 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
6777 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
6778 # The linker can only warn and ignore the option if not recognized
6779 # So say no if there are warnings
6780 if test -s conftest.err
; then
6781 # Append any errors to the config.log.
6782 cat conftest.err
1>&5
6783 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
6784 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
6785 if diff conftest.exp conftest.er2
>/dev
/null
; then
6786 lt_prog_compiler_static_works
=yes
6789 lt_prog_compiler_static_works
=yes
6793 LDFLAGS
="$save_LDFLAGS"
6796 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6797 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6799 if test x
"$lt_prog_compiler_static_works" = xyes
; then
6802 lt_prog_compiler_static
=
6806 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6807 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6808 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6809 echo $ECHO_N "(cached) $ECHO_C" >&6
6811 lt_cv_prog_compiler_c_o
=no
6812 $rm -r conftest
2>/dev
/null
6816 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6818 lt_compiler_flag
="-o out/conftest2.$ac_objext"
6819 # Insert the option either (1) after the last *FLAGS variable, or
6820 # (2) before a word containing "conftest.", or (3) at the end.
6821 # Note that $ac_compile itself does not contain backslashes and begins
6822 # with a dollar sign (not a hyphen), so the echo should work correctly.
6823 lt_compile
=`echo "$ac_compile" | $SED \
6824 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6825 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6826 -e 's:$: $lt_compiler_flag:'`
6827 (eval echo "\"\$as_me:6827: $lt_compile\"" >&5)
6828 (eval "$lt_compile" 2>out
/conftest.err
)
6830 cat out
/conftest.err
>&5
6831 echo "$as_me:6831: \$? = $ac_status" >&5
6832 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
6834 # The compiler can only warn and ignore the option if not recognized
6835 # So say no if there are warnings
6836 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
6837 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
6838 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
6839 lt_cv_prog_compiler_c_o
=yes
6844 # SGI C++ compiler will create directory out/ii_files/ for
6845 # template instantiation
6846 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
6847 $rm out
/* && rmdir out
6853 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6854 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6857 hard_links
="nottested"
6858 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
6859 # do not overwrite the value of need_locks provided by the user
6860 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6861 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
6864 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
6866 ln conftest.a conftest.b
2>&5 || hard_links
=no
6867 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
6868 echo "$as_me:$LINENO: result: $hard_links" >&5
6869 echo "${ECHO_T}$hard_links" >&6
6870 if test "$hard_links" = no
; then
6871 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6872 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6879 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6880 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
6883 allow_undefined_flag
=
6884 enable_shared_with_static_runtimes
=no
6886 archive_expsym_cmds
=
6887 old_archive_From_new_cmds
=
6888 old_archive_from_expsyms_cmds
=
6889 export_dynamic_flag_spec
=
6890 whole_archive_flag_spec
=
6891 thread_safe_flag_spec
=
6892 hardcode_libdir_flag_spec
=
6893 hardcode_libdir_flag_spec_ld
=
6894 hardcode_libdir_separator
=
6897 hardcode_shlibpath_var
=unsupported
6898 link_all_deplibs
=unknown
6899 hardcode_automatic
=no
6902 always_export_symbols
=no
6903 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6904 # include_expsyms should be a list of space-separated symbols to be *always*
6905 # included in the symbol list
6907 # exclude_expsyms can be an extended regexp of symbols to exclude
6908 # it will be wrapped by ` (' and `)$', so one must not match beginning or
6909 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6910 # as well as any symbol that contains `d'.
6911 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
6912 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6913 # platforms (ab)use it in PIC code, but their linkers get confused if
6914 # the symbol is explicitly referenced. Since portable code cannot
6915 # rely on this symbol name, it's probably fine to never include it in
6916 # preloaded symbol tables.
6917 extract_expsyms_cmds
=
6918 # Just being paranoid about ensuring that cc_basename is set.
6919 for cc_temp
in $compiler""; do
6921 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
6922 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
6927 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6930 cygwin
* | mingw
* | pw32
*)
6931 # FIXME: the MSVC++ port hasn't been tested in a loooong time
6932 # When not using gcc, we currently assume that we are using
6933 # Microsoft Visual C++.
6934 if test "$GCC" != yes; then
6939 # we just hope/assume this is gcc and not c89 (= MSVC++)
6948 if test "$with_gnu_ld" = yes; then
6949 # If archive_cmds runs LD, not CC, wlarc should be empty
6952 # Set some defaults for GNU ld with shared library support. These
6953 # are reset later if shared libraries are not supported. Putting them
6954 # here allows them to be overridden if necessary.
6955 runpath_var
=LD_RUN_PATH
6956 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
6957 export_dynamic_flag_spec
='${wl}--export-dynamic'
6958 # ancient GNU ld didn't support --whole-archive et. al.
6959 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
6960 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6962 whole_archive_flag_spec
=
6964 supports_anon_versioning
=no
6965 case `$LD -v 2>/dev/null` in
6966 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
6967 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
6968 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
6969 *\
2.11.
*) ;; # other 2.11 versions
6970 *) supports_anon_versioning
=yes ;;
6973 # See if GNU ld supports shared libraries.
6975 aix3
* | aix4
* | aix5
*)
6976 # On AIX/PPC, the GNU linker is very broken
6977 if test "$host_cpu" != ia64
; then
6981 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
6982 *** to be unable to reliably create shared libraries on AIX.
6983 *** Therefore, libtool is disabling shared libraries support. If you
6984 *** really care for shared libraries, you may want to modify your PATH
6985 *** so that a non-GNU linker is found, and then restart.
6992 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)'
6993 hardcode_libdir_flag_spec
='-L$libdir'
6994 hardcode_minus_L
=yes
6996 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
6997 # that the semantics of dynamic libraries on AmigaOS, at least up
6998 # to version 4, is to share data among multiple programs linked
6999 # with the same dynamic library. Since this doesn't match the
7000 # behavior of shared libraries on other platforms, we can't use
7006 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7007 allow_undefined_flag
=unsupported
7008 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7009 # support --undefined. This deserves some investigation. FIXME
7010 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7016 cygwin
* | mingw
* | pw32
*)
7017 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7018 # as there is no search path for DLLs.
7019 hardcode_libdir_flag_spec
='-L$libdir'
7020 allow_undefined_flag
=unsupported
7021 always_export_symbols
=no
7022 enable_shared_with_static_runtimes
=yes
7023 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
7025 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
7026 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7027 # If the export-symbols file already is a .def file (1st line
7028 # is EXPORTS), use it as is; otherwise, prepend...
7029 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7030 cp $export_symbols $output_objdir/$soname.def;
7032 echo EXPORTS > $output_objdir/$soname.def;
7033 cat $export_symbols >> $output_objdir/$soname.def;
7035 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7043 hardcode_shlibpath_var
=no
7044 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7045 export_dynamic_flag_spec
='${wl}-E'
7046 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7047 # Instead, shared libraries are loaded at an image base (0x10000000 by
7048 # default) and relocated if they conflict, which is a slow very memory
7049 # consuming and fragmenting process. To avoid this, we pick a random,
7050 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7051 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7052 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7053 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'
7057 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7059 case $cc_basename,$host_cpu in
7060 pgcc
*) # Portland Group C compiler
7061 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'
7062 tmp_addflag
=' $pic_flag'
7064 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7065 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'
7066 tmp_addflag
=' $pic_flag -Mnomain' ;;
7067 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7068 tmp_addflag
=' -i_dynamic' ;;
7069 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7070 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7071 ifc
* | ifort
*) # Intel Fortran compiler
7072 tmp_addflag
=' -nofor_main' ;;
7074 archive_cmds
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7076 if test $supports_anon_versioning = yes; then
7077 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
7078 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7079 $echo "local: *; };" >> $output_objdir/$libname.ver~
7080 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7088 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7089 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7092 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7093 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7098 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
7102 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7103 *** create shared libraries on Solaris systems. Therefore, libtool
7104 *** is disabling shared libraries support. We urge you to upgrade GNU
7105 *** binutils to release 2.9.1 or newer. Another option is to modify
7106 *** your PATH or compiler configuration so that the native linker is
7107 *** used, and then restart.
7110 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7111 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7112 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7118 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7119 case `$LD -v 2>&1` in
7120 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
7124 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7125 *** reliably create shared libraries on SCO systems. Therefore, libtool
7126 *** is disabling shared libraries support. We urge you to upgrade GNU
7127 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7128 *** your PATH or compiler configuration so that the native linker is
7129 *** used, and then restart.
7134 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7135 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
7136 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
7137 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
7146 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7149 hardcode_shlibpath_var
=no
7153 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7154 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7155 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7162 if test "$ld_shlibs" = no
; then
7164 hardcode_libdir_flag_spec
=
7165 export_dynamic_flag_spec
=
7166 whole_archive_flag_spec
=
7169 # PORTME fill in a description of your system's linker (not GNU ld)
7172 allow_undefined_flag
=unsupported
7173 always_export_symbols
=yes
7174 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'
7175 # Note: this linker hardcodes the directories in LIBPATH if there
7176 # are no directories specified by -L.
7177 hardcode_minus_L
=yes
7178 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7179 # Neither direct hardcoding nor static linking is supported with a
7181 hardcode_direct
=unsupported
7186 if test "$host_cpu" = ia64
; then
7187 # On IA64, the linker does run time linking by default, so we don't
7188 # have to do anything special.
7189 aix_use_runtimelinking
=no
7190 exp_sym_flag
='-Bexport'
7193 # If we're using GNU nm, then we don't want the "-C" option.
7194 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7195 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
7196 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'
7198 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'
7200 aix_use_runtimelinking
=no
7202 # Test if we are trying to use run time linking or normal
7203 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7204 # need to do runtime linking.
7205 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
7206 for ld_flag
in $LDFLAGS; do
7207 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
7208 aix_use_runtimelinking
=yes
7215 exp_sym_flag
='-bexport'
7216 no_entry_flag
='-bnoentry'
7219 # When large executables or shared objects are built, AIX ld can
7220 # have problems creating the table of contents. If linking a library
7221 # or program results in "error TOC overflow" add -mminimal-toc to
7222 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7223 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7227 hardcode_libdir_separator
=':'
7228 link_all_deplibs
=yes
7230 if test "$GCC" = yes; then
7231 case $host_os in aix4.
[012]|aix4.
[012].
*)
7232 # We only want to do this on AIX 4.2 and lower, the check
7233 # below for broken collect2 doesn't work under 4.3+
7234 collect2name
=`${CC} -print-prog-name=collect2`
7235 if test -f "$collect2name" && \
7236 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
7238 # We have reworked collect2
7241 # We have old collect2
7242 hardcode_direct
=unsupported
7243 # It fails to find uninstalled libraries when the uninstalled
7244 # path is not listed in the libpath. Setting hardcode_minus_L
7245 # to unsupported forces relinking
7246 hardcode_minus_L
=yes
7247 hardcode_libdir_flag_spec
='-L$libdir'
7248 hardcode_libdir_separator
=
7252 shared_flag
='-shared'
7253 if test "$aix_use_runtimelinking" = yes; then
7254 shared_flag
="$shared_flag "'${wl}-G'
7258 if test "$host_cpu" = ia64
; then
7259 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7260 # chokes on -Wl,-G. The following line is correct:
7263 if test "$aix_use_runtimelinking" = yes; then
7264 shared_flag
='${wl}-G'
7266 shared_flag
='${wl}-bM:SRE'
7271 # It seems that -bexpall does not export symbols beginning with
7272 # underscore (_), so it is better to generate a list of symbols to export.
7273 always_export_symbols
=yes
7274 if test "$aix_use_runtimelinking" = yes; then
7275 # Warning - without using the other runtime loading flags (-brtl),
7276 # -berok will link without error, but may produce a broken library.
7277 allow_undefined_flag
='-berok'
7278 # Determine the default libpath from the value encoded in an empty executable.
7279 cat >conftest.
$ac_ext <<_ACEOF
7282 cat confdefs.h
>>conftest.
$ac_ext
7283 cat >>conftest.
$ac_ext <<_ACEOF
7284 /* end confdefs.h. */
7294 rm -f conftest.
$ac_objext conftest
$ac_exeext
7295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7296 (eval $ac_link) 2>conftest.er1
7298 grep -v '^ *+' conftest.er1
>conftest.err
7300 cat conftest.err
>&5
7301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7302 (exit $ac_status); } &&
7303 { ac_try
='test -z "$ac_c_werror_flag"
7304 || test ! -s conftest.err'
7305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7309 (exit $ac_status); }; } &&
7310 { ac_try
='test -s conftest$ac_exeext'
7311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7315 (exit $ac_status); }; }; then
7317 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7319 # Check for a 64-bit object if we didn't find anything.
7320 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; }
7323 echo "$as_me: failed program was:" >&5
7324 sed 's/^/| /' conftest.
$ac_ext >&5
7327 rm -f conftest.err conftest.
$ac_objext \
7328 conftest
$ac_exeext conftest.
$ac_ext
7329 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7331 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7332 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"
7334 if test "$host_cpu" = ia64
; then
7335 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
7336 allow_undefined_flag
="-z nodefs"
7337 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"
7339 # Determine the default libpath from the value encoded in an empty executable.
7340 cat >conftest.
$ac_ext <<_ACEOF
7343 cat confdefs.h
>>conftest.
$ac_ext
7344 cat >>conftest.
$ac_ext <<_ACEOF
7345 /* end confdefs.h. */
7355 rm -f conftest.
$ac_objext conftest
$ac_exeext
7356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7357 (eval $ac_link) 2>conftest.er1
7359 grep -v '^ *+' conftest.er1
>conftest.err
7361 cat conftest.err
>&5
7362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7363 (exit $ac_status); } &&
7364 { ac_try
='test -z "$ac_c_werror_flag"
7365 || test ! -s conftest.err'
7366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7370 (exit $ac_status); }; } &&
7371 { ac_try
='test -s conftest$ac_exeext'
7372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7376 (exit $ac_status); }; }; then
7378 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7380 # Check for a 64-bit object if we didn't find anything.
7381 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; }
7384 echo "$as_me: failed program was:" >&5
7385 sed 's/^/| /' conftest.
$ac_ext >&5
7388 rm -f conftest.err conftest.
$ac_objext \
7389 conftest
$ac_exeext conftest.
$ac_ext
7390 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7392 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7393 # Warning - without using the other run time loading flags,
7394 # -berok will link without error, but may produce a broken library.
7395 no_undefined_flag
=' ${wl}-bernotok'
7396 allow_undefined_flag
=' ${wl}-berok'
7397 # Exported symbols can be pulled into shared objects from archives
7398 whole_archive_flag_spec
='$convenience'
7399 archive_cmds_need_lc
=yes
7400 # This is similar to how AIX traditionally builds its shared libraries.
7401 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'
7407 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)'
7408 hardcode_libdir_flag_spec
='-L$libdir'
7409 hardcode_minus_L
=yes
7410 # see comment about different semantics on the GNU ld section
7415 export_dynamic_flag_spec
=-rdynamic
7418 cygwin
* | mingw
* | pw32
*)
7419 # When not using gcc, we currently assume that we are using
7420 # Microsoft Visual C++.
7421 # hardcode_libdir_flag_spec is actually meaningless, as there is
7422 # no search path for DLLs.
7423 hardcode_libdir_flag_spec
=' '
7424 allow_undefined_flag
=unsupported
7425 # Tell ltmain to make .lib files, not .a files.
7427 # Tell ltmain to make .dll files, not .so files.
7429 # FIXME: Setting linknames here is a bad hack.
7430 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
7431 # The linker will automatically build a .lib file if we build a DLL.
7432 old_archive_From_new_cmds
='true'
7433 # FIXME: Should let the user specify the lib program.
7434 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
7435 fix_srcfile_path
='`cygpath -w "$srcfile"`'
7436 enable_shared_with_static_runtimes
=yes
7439 darwin
* | rhapsody
*)
7441 rhapsody
* | darwin1.
[012])
7442 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
7445 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
7446 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7448 case ${MACOSX_DEPLOYMENT_TARGET} in
7450 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7453 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
7459 archive_cmds_need_lc
=no
7461 hardcode_automatic
=yes
7462 hardcode_shlibpath_var
=unsupported
7463 whole_archive_flag_spec
=''
7464 link_all_deplibs
=yes
7465 if test "$GCC" = yes ; then
7466 output_verbose_link_cmd
='echo'
7467 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7468 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7469 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7470 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}'
7471 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}'
7473 case $cc_basename in
7475 output_verbose_link_cmd
='echo'
7476 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
7477 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7478 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7479 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}'
7480 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}'
7490 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7491 hardcode_libdir_flag_spec
='-L$libdir'
7492 hardcode_shlibpath_var
=no
7499 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7500 # support. Future versions do this automatically, but an explicit c++rt0.o
7501 # does not break anything, and helps significantly (at the cost of a little
7504 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7505 hardcode_libdir_flag_spec
='-R$libdir'
7507 hardcode_shlibpath_var
=no
7510 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7512 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7514 hardcode_minus_L
=yes
7515 hardcode_shlibpath_var
=no
7518 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7519 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
7520 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7521 hardcode_libdir_flag_spec
='-R$libdir'
7523 hardcode_shlibpath_var
=no
7527 if test "$GCC" = yes; then
7528 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'
7530 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'
7532 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7533 hardcode_libdir_separator
=:
7536 # hardcode_minus_L: Not really in the search PATH,
7537 # but as the default location of the library.
7538 hardcode_minus_L
=yes
7539 export_dynamic_flag_spec
='${wl}-E'
7543 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7544 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7546 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7548 if test "$with_gnu_ld" = no
; then
7549 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7550 hardcode_libdir_separator
=:
7553 export_dynamic_flag_spec
='${wl}-E'
7555 # hardcode_minus_L: Not really in the search PATH,
7556 # but as the default location of the library.
7557 hardcode_minus_L
=yes
7562 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7565 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7568 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7571 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7577 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7580 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7583 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7587 if test "$with_gnu_ld" = no
; then
7588 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7589 hardcode_libdir_separator
=:
7593 hardcode_libdir_flag_spec_ld
='+b $libdir'
7595 hardcode_shlibpath_var
=no
7599 export_dynamic_flag_spec
='${wl}-E'
7601 # hardcode_minus_L: Not really in the search PATH,
7602 # but as the default location of the library.
7603 hardcode_minus_L
=yes
7609 irix5
* | irix6
* | nonstopux
*)
7610 if test "$GCC" = yes; then
7611 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'
7613 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'
7614 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
7616 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7617 hardcode_libdir_separator
=:
7618 link_all_deplibs
=yes
7622 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7623 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7625 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7627 hardcode_libdir_flag_spec
='-R$libdir'
7629 hardcode_shlibpath_var
=no
7633 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7635 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7636 hardcode_libdir_separator
=:
7637 hardcode_shlibpath_var
=no
7642 hardcode_shlibpath_var
=no
7643 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7644 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7645 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
7646 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7647 export_dynamic_flag_spec
='${wl}-E'
7650 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
7651 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7652 hardcode_libdir_flag_spec
='-R$libdir'
7655 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7656 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7663 hardcode_libdir_flag_spec
='-L$libdir'
7664 hardcode_minus_L
=yes
7665 allow_undefined_flag
=unsupported
7666 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'
7667 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7671 if test "$GCC" = yes; then
7672 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
7673 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'
7675 allow_undefined_flag
=' -expect_unresolved \*'
7676 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'
7678 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7679 hardcode_libdir_separator
=:
7682 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
7683 if test "$GCC" = yes; then
7684 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
7685 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'
7686 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7688 allow_undefined_flag
=' -expect_unresolved \*'
7689 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'
7690 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
7691 $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'
7693 # Both c and cxx compiler support -rpath directly
7694 hardcode_libdir_flag_spec
='-rpath $libdir'
7696 hardcode_libdir_separator
=:
7700 no_undefined_flag
=' -z text'
7701 if test "$GCC" = yes; then
7703 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7704 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7705 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
7708 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7709 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7710 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7712 hardcode_libdir_flag_spec
='-R$libdir'
7713 hardcode_shlibpath_var
=no
7715 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
7717 # The compiler driver will combine linker options so we
7718 # cannot just pass the convience library names through
7719 # without $wl, iff we do not link with $LD.
7720 # Luckily, gcc supports the same syntax we need for Sun Studio.
7721 # Supported since Solaris 2.6 (maybe 2.5.1?)
7724 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;;
7726 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' ;;
7729 link_all_deplibs
=yes
7733 if test "x$host_vendor" = xsequent
; then
7734 # Use $CC to link under sequent, because it throws in some extra .o
7735 # files that make .init and .fini sections work.
7736 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7738 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7740 hardcode_libdir_flag_spec
='-L$libdir'
7742 hardcode_minus_L
=yes
7743 hardcode_shlibpath_var
=no
7747 case $host_vendor in
7749 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7750 hardcode_direct
=yes # is this really true???
7753 ## LD is ld it makes a PLAMLIB
7754 ## CC just makes a GrossModule.
7755 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7756 reload_cmds
='$CC -r -o $output$reload_objs'
7760 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7761 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
7764 runpath_var
='LD_RUN_PATH'
7765 hardcode_shlibpath_var
=no
7769 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7770 hardcode_shlibpath_var
=no
7771 export_dynamic_flag_spec
='-Bexport'
7775 if test -d /usr
/nec
; then
7776 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7777 hardcode_shlibpath_var
=no
7778 runpath_var
=LD_RUN_PATH
7779 hardcode_runpath_var
=yes
7784 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
7785 no_undefined_flag
='${wl}-z,text'
7786 archive_cmds_need_lc
=no
7787 hardcode_shlibpath_var
=no
7788 runpath_var
='LD_RUN_PATH'
7790 if test "$GCC" = yes; then
7791 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7792 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7794 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7795 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7799 sysv5
* | sco3.2v5
* | sco5v6
*)
7800 # Note: We can NOT use -z defs as we might desire, because we do not
7801 # link with -lc, and that would cause any symbols used from libc to
7802 # always be unresolved, which means just about no library would
7803 # ever link correctly. If we're not using GNU ld we use -z text
7804 # though, which does catch some bad symbols but isn't as heavy-handed
7806 no_undefined_flag
='${wl}-z,text'
7807 allow_undefined_flag
='${wl}-z,nodefs'
7808 archive_cmds_need_lc
=no
7809 hardcode_shlibpath_var
=no
7810 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
7811 hardcode_libdir_separator
=':'
7812 link_all_deplibs
=yes
7813 export_dynamic_flag_spec
='${wl}-Bexport'
7814 runpath_var
='LD_RUN_PATH'
7816 if test "$GCC" = yes; then
7817 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
7818 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
7820 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
7821 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
7826 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7827 hardcode_libdir_flag_spec
='-L$libdir'
7828 hardcode_shlibpath_var
=no
7837 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7838 echo "${ECHO_T}$ld_shlibs" >&6
7839 test "$ld_shlibs" = no
&& can_build_shared
=no
7842 # Do we need to explicitly link libc?
7844 case "x$archive_cmds_need_lc" in
7846 # Assume -lc should be added
7847 archive_cmds_need_lc
=yes
7849 if test "$enable_shared" = yes && test "$GCC" = yes; then
7850 case $archive_cmds in
7852 # FIXME: we may have to deal with multi-command sequences.
7855 # Test whether the compiler implicitly links with -lc since on some
7856 # systems, -lgcc has to come before -lc. If gcc already passes -lc
7857 # to ld, don't add -lc before -lgcc.
7858 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7859 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
7861 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7864 (eval $ac_compile) 2>&5
7866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7867 (exit $ac_status); } 2>conftest.err
; then
7870 libobjs
=conftest.
$ac_objext
7872 wl
=$lt_prog_compiler_wl
7873 pic_flag
=$lt_prog_compiler_pic
7879 lt_save_allow_undefined_flag
=$allow_undefined_flag
7880 allow_undefined_flag
=
7881 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
7882 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
7884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7885 (exit $ac_status); }
7887 archive_cmds_need_lc
=no
7889 archive_cmds_need_lc
=yes
7891 allow_undefined_flag
=$lt_save_allow_undefined_flag
7893 cat conftest.err
1>&5
7896 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7897 echo "${ECHO_T}$archive_cmds_need_lc" >&6
7904 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7905 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
7907 libname_spec
='lib$name'
7915 shlibpath_overrides_runpath
=unknown
7917 dynamic_linker
="$host_os ld.so"
7918 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
7919 if test "$GCC" = yes; then
7920 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7921 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
7922 # if the path contains ";" then we assume it to be the separator
7923 # otherwise default to the standard path separator (i.e. ":") - it is
7924 # assumed that no part of a normal pathname contains ";" but that should
7925 # okay in the real world where ";" in dirpaths is itself problematic.
7926 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7928 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7931 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
7933 need_lib_prefix
=unknown
7934 hardcode_into_libs
=no
7936 # when you set need_version to no, make sure it does not cause -set_version
7937 # flags to be left without arguments
7938 need_version
=unknown
7943 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
7944 shlibpath_var
=LIBPATH
7946 # AIX 3 has no versioning support, so we append a major version to the name.
7947 soname_spec
='${libname}${release}${shared_ext}$major'
7954 hardcode_into_libs
=yes
7955 if test "$host_cpu" = ia64
; then
7956 # AIX 5 supports IA64
7957 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
7958 shlibpath_var
=LD_LIBRARY_PATH
7960 # With GCC up to 2.95.x, collect2 would create an import file
7961 # for dependence libraries. The import file would start with
7962 # the line `#! .'. This would cause the generated library to
7963 # depend on `.', always an invalid library. This was fixed in
7964 # development snapshots of GCC prior to 3.0.
7966 aix4 | aix4.
[01] | aix4.
[01].
*)
7967 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
7969 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
7976 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
7977 # soname into executable. Probably we can add versioning support to
7978 # collect2, so additional links can be useful in future.
7979 if test "$aix_use_runtimelinking" = yes; then
7980 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
7981 # instead of lib<name>.a to let people know that these are not
7982 # typical AIX shared libraries.
7983 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7985 # We preserve .a as extension for shared libraries through AIX4.2
7986 # and later when we are not doing run time linking.
7987 library_names_spec
='${libname}${release}.a $libname.a'
7988 soname_spec
='${libname}${release}${shared_ext}$major'
7990 shlibpath_var
=LIBPATH
7995 library_names_spec
='$libname.ixlibrary $libname.a'
7996 # Create ${libname}_ixlibrary.a entries in /sys/libs.
7997 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'
8001 library_names_spec
='${libname}${shared_ext}'
8002 dynamic_linker
="$host_os ld.so"
8003 shlibpath_var
=LIBRARY_PATH
8009 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8010 soname_spec
='${libname}${release}${shared_ext}$major'
8011 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8012 shlibpath_var
=LD_LIBRARY_PATH
8013 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8014 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8015 # the default ld.so.conf also contains /usr/contrib/lib and
8016 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8017 # libtool to hard-code these into programs
8020 cygwin
* | mingw
* | pw32
*)
8021 version_type
=windows
8026 case $GCC,$host_os in
8027 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
8028 library_names_spec
='$libname.dll.a'
8029 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8030 postinstall_cmds
='base_file=`basename \${file}`~
8031 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
8032 dldir=$destdir/`dirname \$dlpath`~
8033 test -d \$dldir || mkdir -p \$dldir~
8034 $install_prog $dir/$dlname \$dldir/$dlname~
8035 chmod a+x \$dldir/$dlname'
8036 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8037 dlpath=$dir/\$dldll~
8039 shlibpath_overrides_runpath
=yes
8043 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8044 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8045 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8048 # MinGW DLLs use traditional 'lib' prefix
8049 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8050 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8051 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
8052 # It is most probably a Windows format PATH printed by
8053 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8054 # path with ; separators, and with drive letters. We can handle the
8055 # drive letters (cygwin fileutils understands them), so leave them,
8056 # especially as we might pass files found there to a mingw objdump,
8057 # which wouldn't understand a cygwinified path. Ahh.
8058 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8060 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8064 # pw32 DLLs use 'pw' prefix rather than 'lib'
8065 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8071 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8074 dynamic_linker
='Win32 ld.exe'
8075 # FIXME: first we should search . and the directory the executable is in
8079 darwin
* | rhapsody
*)
8080 dynamic_linker
="$host_os dyld"
8084 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8085 soname_spec
='${libname}${release}${major}$shared_ext'
8086 shlibpath_overrides_runpath
=yes
8087 shlibpath_var
=DYLD_LIBRARY_PATH
8088 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8089 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
8090 if test "$GCC" = yes; then
8091 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"`
8093 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
8095 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8102 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8103 soname_spec
='${libname}${release}${shared_ext}$major'
8104 shlibpath_var
=LD_LIBRARY_PATH
8115 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8116 soname_spec
='${libname}${release}${shared_ext}$major'
8117 shlibpath_var
=LD_LIBRARY_PATH
8118 shlibpath_overrides_runpath
=no
8119 hardcode_into_libs
=yes
8120 dynamic_linker
='GNU ld.so'
8123 freebsd
* | dragonfly
*)
8124 # DragonFly does not have aout. When/if they implement a new
8125 # versioning mechanism, adjust this.
8126 if test -x /usr
/bin
/objformat
; then
8127 objformat
=`/usr/bin/objformat`
8130 freebsd
[123]*) objformat
=aout
;;
8134 version_type
=freebsd-
$objformat
8135 case $version_type in
8137 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8142 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8146 shlibpath_var
=LD_LIBRARY_PATH
8149 shlibpath_overrides_runpath
=yes
8151 freebsd3.
[01]* | freebsdelf3.
[01]*)
8152 shlibpath_overrides_runpath
=yes
8153 hardcode_into_libs
=yes
8155 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
8156 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
8157 shlibpath_overrides_runpath
=no
8158 hardcode_into_libs
=yes
8160 freebsd
*) # from 4.6 on
8161 shlibpath_overrides_runpath
=yes
8162 hardcode_into_libs
=yes
8171 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8172 soname_spec
='${libname}${release}${shared_ext}$major'
8173 shlibpath_var
=LD_LIBRARY_PATH
8174 hardcode_into_libs
=yes
8177 hpux9
* | hpux10
* | hpux11
*)
8178 # Give a soname corresponding to the major version so that dld.sl refuses to
8179 # link against other versions.
8186 hardcode_into_libs
=yes
8187 dynamic_linker
="$host_os dld.so"
8188 shlibpath_var
=LD_LIBRARY_PATH
8189 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8190 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8191 soname_spec
='${libname}${release}${shared_ext}$major'
8192 if test "X$HPUX_IA64_MODE" = X32
; then
8193 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8195 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8197 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8201 hardcode_into_libs
=yes
8202 dynamic_linker
="$host_os dld.sl"
8203 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8204 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8205 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8206 soname_spec
='${libname}${release}${shared_ext}$major'
8207 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8208 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8212 dynamic_linker
="$host_os dld.sl"
8213 shlibpath_var
=SHLIB_PATH
8214 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
8215 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8216 soname_spec
='${libname}${release}${shared_ext}$major'
8219 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8220 postinstall_cmds
='chmod 555 $lib'
8227 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8228 soname_spec
='${libname}${release}${shared_ext}$major'
8229 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
8230 shlibpath_var
=LD_LIBRARY_PATH
8231 shlibpath_overrides_runpath
=no
8232 hardcode_into_libs
=yes
8235 irix5
* | irix6
* | nonstopux
*)
8237 nonstopux
*) version_type
=nonstopux
;;
8239 if test "$lt_cv_prog_gnu_ld" = yes; then
8247 soname_spec
='${libname}${release}${shared_ext}$major'
8248 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8250 irix5
* | nonstopux
*)
8254 case $LD in # libtool.m4 will add one of these switches to LD
8255 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
8256 libsuff
= shlibsuff
= libmagic
=32-bit;;
8257 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
8258 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
8259 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
8260 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
8261 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
8265 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
8266 shlibpath_overrides_runpath
=no
8267 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8268 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
8269 hardcode_into_libs
=yes
8272 # No shared lib support for Linux oldld, aout, or coff.
8273 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
8277 # This must be Linux ELF.
8282 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8283 soname_spec
='${libname}${release}${shared_ext}$major'
8284 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8285 shlibpath_var
=LD_LIBRARY_PATH
8286 shlibpath_overrides_runpath
=no
8287 # This implies no fast_install, which is unacceptable.
8288 # Some rework will be needed to allow for fast_install
8289 # before this can be enabled.
8290 hardcode_into_libs
=yes
8292 # find out which ABI we are using
8295 x86_64
*|s390x
*|powerpc64
*)
8296 echo '#line 8296 "configure"' > conftest.
$ac_ext
8297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8298 (eval $ac_compile) 2>&5
8300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8301 (exit $ac_status); }; then
8302 case `/usr/bin/file conftest.$ac_objext` in
8305 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
8313 # Append ld.so.conf contents to the search path
8314 if test -f /etc
/ld.so.conf
; then
8315 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' ' '`
8316 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
8319 # We used to test for /lib/ld.so.1 and disable shared libraries on
8320 # powerpc, because MkLinux only supported shared libraries with the
8321 # GNU dynamic linker. Since this was broken with cross compilers,
8322 # most powerpc-linux boxes support dynamic linking these days and
8323 # people can always --disable-shared, the test was removed, and we
8324 # assume the GNU/Linux dynamic linker is in use.
8325 dynamic_linker
='GNU/Linux ld.so'
8332 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8333 soname_spec
='${libname}${release}${shared_ext}$major'
8334 shlibpath_var
=LD_LIBRARY_PATH
8335 shlibpath_overrides_runpath
=no
8336 hardcode_into_libs
=yes
8337 dynamic_linker
='GNU ld.so'
8344 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8345 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8346 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8347 dynamic_linker
='NetBSD (a.out) ld.so'
8349 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8350 soname_spec
='${libname}${release}${shared_ext}$major'
8351 dynamic_linker
='NetBSD ld.elf_so'
8353 shlibpath_var
=LD_LIBRARY_PATH
8354 shlibpath_overrides_runpath
=yes
8355 hardcode_into_libs
=yes
8360 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8361 shlibpath_var
=LD_LIBRARY_PATH
8362 shlibpath_overrides_runpath
=yes
8369 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8370 soname_spec
='${libname}${release}${shared_ext}$major'
8371 shlibpath_var
=LD_LIBRARY_PATH
8372 shlibpath_overrides_runpath
=yes
8377 sys_lib_dlsearch_path_spec
="/usr/lib"
8379 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
8381 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
8382 *) need_version
=no
;;
8384 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8385 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8386 shlibpath_var
=LD_LIBRARY_PATH
8387 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8389 openbsd2.
[89] | openbsd2.
[89].
*)
8390 shlibpath_overrides_runpath
=no
8393 shlibpath_overrides_runpath
=yes
8397 shlibpath_overrides_runpath
=yes
8402 libname_spec
='$name'
8405 library_names_spec
='$libname${shared_ext} $libname.a'
8406 dynamic_linker
='OS/2 ld.exe'
8407 shlibpath_var
=LIBPATH
8410 osf3
* | osf4
* | osf5
*)
8414 soname_spec
='${libname}${release}${shared_ext}$major'
8415 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8416 shlibpath_var
=LD_LIBRARY_PATH
8417 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
8418 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
8425 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8426 soname_spec
='${libname}${release}${shared_ext}$major'
8427 shlibpath_var
=LD_LIBRARY_PATH
8428 shlibpath_overrides_runpath
=yes
8429 hardcode_into_libs
=yes
8430 # ldd complains unless libraries are executable
8431 postinstall_cmds
='chmod +x $lib'
8436 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8437 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
8438 shlibpath_var
=LD_LIBRARY_PATH
8439 shlibpath_overrides_runpath
=yes
8440 if test "$with_gnu_ld" = yes; then
8448 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8449 soname_spec
='${libname}${release}${shared_ext}$major'
8450 shlibpath_var
=LD_LIBRARY_PATH
8451 case $host_vendor in
8453 shlibpath_overrides_runpath
=no
8455 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8456 runpath_var
=LD_RUN_PATH
8464 shlibpath_overrides_runpath
=no
8465 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
8471 if test -d /usr
/nec
;then
8473 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8474 soname_spec
='$libname${shared_ext}.$major'
8475 shlibpath_var
=LD_LIBRARY_PATH
8479 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
8480 version_type
=freebsd-elf
8483 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8484 soname_spec
='${libname}${release}${shared_ext}$major'
8485 shlibpath_var
=LD_LIBRARY_PATH
8486 hardcode_into_libs
=yes
8487 if test "$with_gnu_ld" = yes; then
8488 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
8489 shlibpath_overrides_runpath
=no
8491 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
8492 shlibpath_overrides_runpath
=yes
8495 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
8499 sys_lib_dlsearch_path_spec
='/usr/lib'
8504 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8505 soname_spec
='${libname}${release}${shared_ext}$major'
8506 shlibpath_var
=LD_LIBRARY_PATH
8513 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8514 echo "${ECHO_T}$dynamic_linker" >&6
8515 test "$dynamic_linker" = no
&& can_build_shared
=no
8517 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
8518 if test "$GCC" = yes; then
8519 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
8522 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
8523 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
8525 if test -n "$hardcode_libdir_flag_spec" || \
8526 test -n "$runpath_var" || \
8527 test "X$hardcode_automatic" = "Xyes" ; then
8529 # We can hardcode non-existant directories.
8530 if test "$hardcode_direct" != no
&&
8531 # If the only mechanism to avoid hardcoding is shlibpath_var, we
8532 # have to relink, otherwise we might link with an installed library
8533 # when we should be linking with a yet-to-be-installed one
8534 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
8535 test "$hardcode_minus_L" != no
; then
8536 # Linking always hardcodes the temporary library directory.
8537 hardcode_action
=relink
8539 # We can link without hardcoding, and we can hardcode nonexisting dirs.
8540 hardcode_action
=immediate
8543 # We cannot hardcode anything, or else we can only hardcode existing
8545 hardcode_action
=unsupported
8547 echo "$as_me:$LINENO: result: $hardcode_action" >&5
8548 echo "${ECHO_T}$hardcode_action" >&6
8550 if test "$hardcode_action" = relink
; then
8551 # Fast installation is not supported
8552 enable_fast_install
=no
8553 elif test "$shlibpath_overrides_runpath" = yes ||
8554 test "$enable_shared" = no
; then
8555 # Fast installation is not necessary
8556 enable_fast_install
=needless
8561 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
8562 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
8563 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
8564 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
8565 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
8566 echo "$as_me:$LINENO: result: yes" >&5
8567 echo "${ECHO_T}yes" >&6
8569 # FIXME - insert some real tests, host_os isn't really good enough
8572 if test -n "$STRIP" ; then
8573 striplib
="$STRIP -x"
8574 echo "$as_me:$LINENO: result: yes" >&5
8575 echo "${ECHO_T}yes" >&6
8577 echo "$as_me:$LINENO: result: no" >&5
8578 echo "${ECHO_T}no" >&6
8582 echo "$as_me:$LINENO: result: no" >&5
8583 echo "${ECHO_T}no" >&6
8588 if test "x$enable_dlopen" != xyes
; then
8589 enable_dlopen
=unknown
8590 enable_dlopen_self
=unknown
8591 enable_dlopen_self_static
=unknown
8598 lt_cv_dlopen
="load_add_on"
8600 lt_cv_dlopen_self
=yes
8604 lt_cv_dlopen
="LoadLibrary"
8609 lt_cv_dlopen
="dlopen"
8614 # if libdl is installed we need to link against it
8615 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8616 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8617 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8618 echo $ECHO_N "(cached) $ECHO_C" >&6
8620 ac_check_lib_save_LIBS
=$LIBS
8622 cat >conftest.
$ac_ext <<_ACEOF
8625 cat confdefs.h
>>conftest.
$ac_ext
8626 cat >>conftest.
$ac_ext <<_ACEOF
8627 /* end confdefs.h. */
8629 /* Override any gcc2 internal prototype to avoid an error. */
8633 /* We use char because int might match the return type of a gcc2
8634 builtin and then its argument prototype would still apply. */
8644 rm -f conftest.
$ac_objext conftest
$ac_exeext
8645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8646 (eval $ac_link) 2>conftest.er1
8648 grep -v '^ *+' conftest.er1
>conftest.err
8650 cat conftest.err
>&5
8651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8652 (exit $ac_status); } &&
8653 { ac_try
='test -z "$ac_c_werror_flag"
8654 || test ! -s conftest.err'
8655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8659 (exit $ac_status); }; } &&
8660 { ac_try
='test -s conftest$ac_exeext'
8661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8665 (exit $ac_status); }; }; then
8666 ac_cv_lib_dl_dlopen
=yes
8668 echo "$as_me: failed program was:" >&5
8669 sed 's/^/| /' conftest.
$ac_ext >&5
8671 ac_cv_lib_dl_dlopen
=no
8673 rm -f conftest.err conftest.
$ac_objext \
8674 conftest
$ac_exeext conftest.
$ac_ext
8675 LIBS
=$ac_check_lib_save_LIBS
8677 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8678 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8679 if test $ac_cv_lib_dl_dlopen = yes; then
8680 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
8685 lt_cv_dlopen_self
=yes
8692 echo "$as_me:$LINENO: checking for shl_load" >&5
8693 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
8694 if test "${ac_cv_func_shl_load+set}" = set; then
8695 echo $ECHO_N "(cached) $ECHO_C" >&6
8697 cat >conftest.
$ac_ext <<_ACEOF
8700 cat confdefs.h
>>conftest.
$ac_ext
8701 cat >>conftest.
$ac_ext <<_ACEOF
8702 /* end confdefs.h. */
8703 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
8704 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8705 #define shl_load innocuous_shl_load
8707 /* System header to define __stub macros and hopefully few prototypes,
8708 which can conflict with char shl_load (); below.
8709 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8710 <limits.h> exists even on freestanding compilers. */
8713 # include <limits.h>
8715 # include <assert.h>
8720 /* Override any gcc2 internal prototype to avoid an error. */
8725 /* We use char because int might match the return type of a gcc2
8726 builtin and then its argument prototype would still apply. */
8728 /* The GNU C library defines this for functions which it implements
8729 to always fail with ENOSYS. Some functions are actually named
8730 something starting with __ and the normal name is an alias. */
8731 #if defined (__stub_shl_load) || defined (__stub___shl_load)
8734 char (*f) () = shl_load;
8743 return f != shl_load;
8748 rm -f conftest.
$ac_objext conftest
$ac_exeext
8749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8750 (eval $ac_link) 2>conftest.er1
8752 grep -v '^ *+' conftest.er1
>conftest.err
8754 cat conftest.err
>&5
8755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8756 (exit $ac_status); } &&
8757 { ac_try
='test -z "$ac_c_werror_flag"
8758 || test ! -s conftest.err'
8759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8763 (exit $ac_status); }; } &&
8764 { ac_try
='test -s conftest$ac_exeext'
8765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8769 (exit $ac_status); }; }; then
8770 ac_cv_func_shl_load
=yes
8772 echo "$as_me: failed program was:" >&5
8773 sed 's/^/| /' conftest.
$ac_ext >&5
8775 ac_cv_func_shl_load
=no
8777 rm -f conftest.err conftest.
$ac_objext \
8778 conftest
$ac_exeext conftest.
$ac_ext
8780 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8781 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
8782 if test $ac_cv_func_shl_load = yes; then
8783 lt_cv_dlopen
="shl_load"
8785 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8786 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
8787 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8788 echo $ECHO_N "(cached) $ECHO_C" >&6
8790 ac_check_lib_save_LIBS
=$LIBS
8792 cat >conftest.
$ac_ext <<_ACEOF
8795 cat confdefs.h
>>conftest.
$ac_ext
8796 cat >>conftest.
$ac_ext <<_ACEOF
8797 /* end confdefs.h. */
8799 /* Override any gcc2 internal prototype to avoid an error. */
8803 /* We use char because int might match the return type of a gcc2
8804 builtin and then its argument prototype would still apply. */
8814 rm -f conftest.
$ac_objext conftest
$ac_exeext
8815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8816 (eval $ac_link) 2>conftest.er1
8818 grep -v '^ *+' conftest.er1
>conftest.err
8820 cat conftest.err
>&5
8821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8822 (exit $ac_status); } &&
8823 { ac_try
='test -z "$ac_c_werror_flag"
8824 || test ! -s conftest.err'
8825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8829 (exit $ac_status); }; } &&
8830 { ac_try
='test -s conftest$ac_exeext'
8831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8835 (exit $ac_status); }; }; then
8836 ac_cv_lib_dld_shl_load
=yes
8838 echo "$as_me: failed program was:" >&5
8839 sed 's/^/| /' conftest.
$ac_ext >&5
8841 ac_cv_lib_dld_shl_load
=no
8843 rm -f conftest.err conftest.
$ac_objext \
8844 conftest
$ac_exeext conftest.
$ac_ext
8845 LIBS
=$ac_check_lib_save_LIBS
8847 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8848 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
8849 if test $ac_cv_lib_dld_shl_load = yes; then
8850 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
8852 echo "$as_me:$LINENO: checking for dlopen" >&5
8853 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
8854 if test "${ac_cv_func_dlopen+set}" = set; then
8855 echo $ECHO_N "(cached) $ECHO_C" >&6
8857 cat >conftest.
$ac_ext <<_ACEOF
8860 cat confdefs.h
>>conftest.
$ac_ext
8861 cat >>conftest.
$ac_ext <<_ACEOF
8862 /* end confdefs.h. */
8863 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
8864 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8865 #define dlopen innocuous_dlopen
8867 /* System header to define __stub macros and hopefully few prototypes,
8868 which can conflict with char dlopen (); below.
8869 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8870 <limits.h> exists even on freestanding compilers. */
8873 # include <limits.h>
8875 # include <assert.h>
8880 /* Override any gcc2 internal prototype to avoid an error. */
8885 /* We use char because int might match the return type of a gcc2
8886 builtin and then its argument prototype would still apply. */
8888 /* The GNU C library defines this for functions which it implements
8889 to always fail with ENOSYS. Some functions are actually named
8890 something starting with __ and the normal name is an alias. */
8891 #if defined (__stub_dlopen) || defined (__stub___dlopen)
8894 char (*f) () = dlopen;
8908 rm -f conftest.
$ac_objext conftest
$ac_exeext
8909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8910 (eval $ac_link) 2>conftest.er1
8912 grep -v '^ *+' conftest.er1
>conftest.err
8914 cat conftest.err
>&5
8915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8916 (exit $ac_status); } &&
8917 { ac_try
='test -z "$ac_c_werror_flag"
8918 || test ! -s conftest.err'
8919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8923 (exit $ac_status); }; } &&
8924 { ac_try
='test -s conftest$ac_exeext'
8925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8929 (exit $ac_status); }; }; then
8930 ac_cv_func_dlopen
=yes
8932 echo "$as_me: failed program was:" >&5
8933 sed 's/^/| /' conftest.
$ac_ext >&5
8935 ac_cv_func_dlopen
=no
8937 rm -f conftest.err conftest.
$ac_objext \
8938 conftest
$ac_exeext conftest.
$ac_ext
8940 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8941 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
8942 if test $ac_cv_func_dlopen = yes; then
8943 lt_cv_dlopen
="dlopen"
8945 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8946 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8947 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8948 echo $ECHO_N "(cached) $ECHO_C" >&6
8950 ac_check_lib_save_LIBS
=$LIBS
8952 cat >conftest.
$ac_ext <<_ACEOF
8955 cat confdefs.h
>>conftest.
$ac_ext
8956 cat >>conftest.
$ac_ext <<_ACEOF
8957 /* end confdefs.h. */
8959 /* Override any gcc2 internal prototype to avoid an error. */
8963 /* We use char because int might match the return type of a gcc2
8964 builtin and then its argument prototype would still apply. */
8974 rm -f conftest.
$ac_objext conftest
$ac_exeext
8975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8976 (eval $ac_link) 2>conftest.er1
8978 grep -v '^ *+' conftest.er1
>conftest.err
8980 cat conftest.err
>&5
8981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8982 (exit $ac_status); } &&
8983 { ac_try
='test -z "$ac_c_werror_flag"
8984 || test ! -s conftest.err'
8985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8989 (exit $ac_status); }; } &&
8990 { ac_try
='test -s conftest$ac_exeext'
8991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8995 (exit $ac_status); }; }; then
8996 ac_cv_lib_dl_dlopen
=yes
8998 echo "$as_me: failed program was:" >&5
8999 sed 's/^/| /' conftest.
$ac_ext >&5
9001 ac_cv_lib_dl_dlopen
=no
9003 rm -f conftest.err conftest.
$ac_objext \
9004 conftest
$ac_exeext conftest.
$ac_ext
9005 LIBS
=$ac_check_lib_save_LIBS
9007 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9008 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9009 if test $ac_cv_lib_dl_dlopen = yes; then
9010 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9012 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9013 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
9014 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9015 echo $ECHO_N "(cached) $ECHO_C" >&6
9017 ac_check_lib_save_LIBS
=$LIBS
9019 cat >conftest.
$ac_ext <<_ACEOF
9022 cat confdefs.h
>>conftest.
$ac_ext
9023 cat >>conftest.
$ac_ext <<_ACEOF
9024 /* end confdefs.h. */
9026 /* Override any gcc2 internal prototype to avoid an error. */
9030 /* We use char because int might match the return type of a gcc2
9031 builtin and then its argument prototype would still apply. */
9041 rm -f conftest.
$ac_objext conftest
$ac_exeext
9042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9043 (eval $ac_link) 2>conftest.er1
9045 grep -v '^ *+' conftest.er1
>conftest.err
9047 cat conftest.err
>&5
9048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9049 (exit $ac_status); } &&
9050 { ac_try
='test -z "$ac_c_werror_flag"
9051 || test ! -s conftest.err'
9052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9056 (exit $ac_status); }; } &&
9057 { ac_try
='test -s conftest$ac_exeext'
9058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9062 (exit $ac_status); }; }; then
9063 ac_cv_lib_svld_dlopen
=yes
9065 echo "$as_me: failed program was:" >&5
9066 sed 's/^/| /' conftest.
$ac_ext >&5
9068 ac_cv_lib_svld_dlopen
=no
9070 rm -f conftest.err conftest.
$ac_objext \
9071 conftest
$ac_exeext conftest.
$ac_ext
9072 LIBS
=$ac_check_lib_save_LIBS
9074 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9075 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
9076 if test $ac_cv_lib_svld_dlopen = yes; then
9077 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9079 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9080 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
9081 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9082 echo $ECHO_N "(cached) $ECHO_C" >&6
9084 ac_check_lib_save_LIBS
=$LIBS
9086 cat >conftest.
$ac_ext <<_ACEOF
9089 cat confdefs.h
>>conftest.
$ac_ext
9090 cat >>conftest.
$ac_ext <<_ACEOF
9091 /* end confdefs.h. */
9093 /* Override any gcc2 internal prototype to avoid an error. */
9097 /* We use char because int might match the return type of a gcc2
9098 builtin and then its argument prototype would still apply. */
9108 rm -f conftest.
$ac_objext conftest
$ac_exeext
9109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9110 (eval $ac_link) 2>conftest.er1
9112 grep -v '^ *+' conftest.er1
>conftest.err
9114 cat conftest.err
>&5
9115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9116 (exit $ac_status); } &&
9117 { ac_try
='test -z "$ac_c_werror_flag"
9118 || test ! -s conftest.err'
9119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9123 (exit $ac_status); }; } &&
9124 { ac_try
='test -s conftest$ac_exeext'
9125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9129 (exit $ac_status); }; }; then
9130 ac_cv_lib_dld_dld_link
=yes
9132 echo "$as_me: failed program was:" >&5
9133 sed 's/^/| /' conftest.
$ac_ext >&5
9135 ac_cv_lib_dld_dld_link
=no
9137 rm -f conftest.err conftest.
$ac_objext \
9138 conftest
$ac_exeext conftest.
$ac_ext
9139 LIBS
=$ac_check_lib_save_LIBS
9141 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9142 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
9143 if test $ac_cv_lib_dld_dld_link = yes; then
9144 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
9165 if test "x$lt_cv_dlopen" != xno
; then
9171 case $lt_cv_dlopen in
9173 save_CPPFLAGS
="$CPPFLAGS"
9174 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
9176 save_LDFLAGS
="$LDFLAGS"
9177 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
9180 LIBS
="$lt_cv_dlopen_libs $LIBS"
9182 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9183 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
9184 if test "${lt_cv_dlopen_self+set}" = set; then
9185 echo $ECHO_N "(cached) $ECHO_C" >&6
9187 if test "$cross_compiling" = yes; then :
9188 lt_cv_dlopen_self
=cross
9190 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9191 lt_status
=$lt_dlunknown
9192 cat > conftest.
$ac_ext <<EOF
9193 #line 9193 "configure"
9194 #include "confdefs.h"
9203 # define LT_DLGLOBAL RTLD_GLOBAL
9206 # define LT_DLGLOBAL DL_GLOBAL
9208 # define LT_DLGLOBAL 0
9212 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9213 find out it does not work in some platform. */
9214 #ifndef LT_DLLAZY_OR_NOW
9216 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9219 # define LT_DLLAZY_OR_NOW DL_LAZY
9222 # define LT_DLLAZY_OR_NOW RTLD_NOW
9225 # define LT_DLLAZY_OR_NOW DL_NOW
9227 # define LT_DLLAZY_OR_NOW 0
9235 extern "C" void exit (int);
9238 void fnord() { int i=42;}
9241 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9242 int status = $lt_dlunknown;
9246 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9247 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9248 /* dlclose (self); */
9256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9257 (eval $ac_link) 2>&5
9259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9260 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9261 (.
/conftest
; exit; ) >&5 2>/dev
/null
9264 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
9265 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
9266 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
9269 # compilation failed
9270 lt_cv_dlopen_self
=no
9277 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9278 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
9280 if test "x$lt_cv_dlopen_self" = xyes
; then
9281 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
9282 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9283 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
9284 if test "${lt_cv_dlopen_self_static+set}" = set; then
9285 echo $ECHO_N "(cached) $ECHO_C" >&6
9287 if test "$cross_compiling" = yes; then :
9288 lt_cv_dlopen_self_static
=cross
9290 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9291 lt_status
=$lt_dlunknown
9292 cat > conftest.
$ac_ext <<EOF
9293 #line 9293 "configure"
9294 #include "confdefs.h"
9303 # define LT_DLGLOBAL RTLD_GLOBAL
9306 # define LT_DLGLOBAL DL_GLOBAL
9308 # define LT_DLGLOBAL 0
9312 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9313 find out it does not work in some platform. */
9314 #ifndef LT_DLLAZY_OR_NOW
9316 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9319 # define LT_DLLAZY_OR_NOW DL_LAZY
9322 # define LT_DLLAZY_OR_NOW RTLD_NOW
9325 # define LT_DLLAZY_OR_NOW DL_NOW
9327 # define LT_DLLAZY_OR_NOW 0
9335 extern "C" void exit (int);
9338 void fnord() { int i=42;}
9341 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9342 int status = $lt_dlunknown;
9346 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9347 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9348 /* dlclose (self); */
9356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9357 (eval $ac_link) 2>&5
9359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9360 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9361 (.
/conftest
; exit; ) >&5 2>/dev
/null
9364 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
9365 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
9366 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
9369 # compilation failed
9370 lt_cv_dlopen_self_static
=no
9377 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
9378 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
9381 CPPFLAGS
="$save_CPPFLAGS"
9382 LDFLAGS
="$save_LDFLAGS"
9387 case $lt_cv_dlopen_self in
9388 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
9389 *) enable_dlopen_self
=unknown
;;
9392 case $lt_cv_dlopen_self_static in
9393 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
9394 *) enable_dlopen_self_static
=unknown
;;
9399 # Report which library types will actually be built
9400 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9401 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
9402 echo "$as_me:$LINENO: result: $can_build_shared" >&5
9403 echo "${ECHO_T}$can_build_shared" >&6
9405 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9406 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
9407 test "$can_build_shared" = "no" && enable_shared
=no
9409 # On AIX, shared libraries and static libraries use the same namespace, and
9410 # are all built from PIC.
9413 test "$enable_shared" = yes && enable_static
=no
9414 if test -n "$RANLIB"; then
9415 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
9416 postinstall_cmds
='$RANLIB $lib'
9421 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
9422 test "$enable_shared" = yes && enable_static
=no
9426 echo "$as_me:$LINENO: result: $enable_shared" >&5
9427 echo "${ECHO_T}$enable_shared" >&6
9429 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9430 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
9431 # Make sure either enable_shared or enable_static is yes.
9432 test "$enable_shared" = yes || enable_static
=yes
9433 echo "$as_me:$LINENO: result: $enable_static" >&5
9434 echo "${ECHO_T}$enable_static" >&6
9436 # The else clause should only fire when bootstrapping the
9437 # libtool distribution, otherwise you forgot to ship ltmain.sh
9438 # with your package, and you will get complaints that there are
9439 # no rules to generate ltmain.sh.
9440 if test -f "$ltmain"; then
9441 # See if we are running on zsh, and set the options which allow our commands through
9442 # without removal of \ escapes.
9443 if test -n "${ZSH_VERSION+set}" ; then
9444 setopt NO_GLOB_SUBST
9446 # Now quote all the things that may contain metacharacters while being
9447 # careful not to overquote the AC_SUBSTed values. We take copies of the
9448 # variables and quote the copies for generation of the libtool script.
9449 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
9451 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
9452 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
9453 deplibs_check_method reload_flag reload_cmds need_locks \
9454 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
9455 lt_cv_sys_global_symbol_to_c_name_address \
9456 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
9457 old_postinstall_cmds old_postuninstall_cmds \
9461 lt_prog_compiler_wl \
9462 lt_prog_compiler_pic \
9463 lt_prog_compiler_static \
9464 lt_prog_compiler_no_builtin_flag \
9465 export_dynamic_flag_spec \
9466 thread_safe_flag_spec \
9467 whole_archive_flag_spec \
9468 enable_shared_with_static_runtimes \
9470 old_archive_from_new_cmds \
9475 compiler_lib_search_path \
9477 archive_expsym_cmds \
9479 postuninstall_cmds \
9480 old_archive_from_expsyms_cmds \
9481 allow_undefined_flag \
9483 export_symbols_cmds \
9484 hardcode_libdir_flag_spec \
9485 hardcode_libdir_flag_spec_ld \
9486 hardcode_libdir_separator \
9487 hardcode_automatic \
9489 module_expsym_cmds \
9490 lt_cv_prog_compiler_c_o \
9495 old_archive_cmds | \
9496 old_archive_from_new_cmds | \
9498 archive_expsym_cmds | \
9500 module_expsym_cmds | \
9501 old_archive_from_expsyms_cmds | \
9502 export_symbols_cmds | \
9503 extract_expsyms_cmds | reload_cmds | finish_cmds | \
9504 postinstall_cmds | postuninstall_cmds | \
9505 old_postinstall_cmds | old_postuninstall_cmds | \
9506 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
9507 # Double-quote double-evaled strings.
9508 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
9511 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
9517 *'\$0 --fallback-echo"')
9518 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
9523 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
9525 { echo "$as_me:$LINENO: creating $ofile" >&5
9526 echo "$as_me: creating $ofile" >&6;}
9528 cat <<__EOF__ >> "$cfgfile"
9531 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
9532 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
9533 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
9535 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
9536 # Free Software Foundation, Inc.
9538 # This file is part of GNU Libtool:
9539 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
9541 # This program is free software; you can redistribute it and/or modify
9542 # it under the terms of the GNU General Public License as published by
9543 # the Free Software Foundation; either version 2 of the License, or
9544 # (at your option) any later version.
9546 # This program is distributed in the hope that it will be useful, but
9547 # WITHOUT ANY WARRANTY; without even the implied warranty of
9548 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
9549 # General Public License for more details.
9551 # You should have received a copy of the GNU General Public License
9552 # along with this program; if not, write to the Free Software
9553 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
9555 # As a special exception to the GNU General Public License, if you
9556 # distribute this file as part of a program that contains a
9557 # configuration script generated by Autoconf, you may include it under
9558 # the same distribution terms that you use for the rest of that program.
9560 # A sed program that does not truncate output.
9563 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
9564 Xsed="$SED -e 1s/^X//"
9566 # The HP-UX ksh and POSIX shell print the target directory to stdout
9568 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
9570 # The names of the tagged configurations supported by this script.
9573 # ### BEGIN LIBTOOL CONFIG
9575 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
9577 # Shell to use when invoking shell scripts.
9580 # Whether or not to build shared libraries.
9581 build_libtool_libs=$enable_shared
9583 # Whether or not to build static libraries.
9584 build_old_libs=$enable_static
9586 # Whether or not to add -lc for building shared libraries.
9587 build_libtool_need_lc=$archive_cmds_need_lc
9589 # Whether or not to disallow shared libs when runtime libs are static
9590 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
9592 # Whether or not to optimize for fast installation.
9593 fast_install=$enable_fast_install
9596 host_alias=$host_alias
9601 build_alias=$build_alias
9605 # An echo program that does not interpret backslashes.
9610 AR_FLAGS=$lt_AR_FLAGS
9615 # LTCC compiler flags.
9616 LTCFLAGS=$lt_LTCFLAGS
9618 # A language-specific compiler.
9621 # Is the compiler the GNU C compiler?
9624 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
9625 gcc_ver=\`gcc -dumpversion\`
9630 # The linker used to build libraries.
9633 # Whether we need hard or soft links.
9636 # A BSD-compatible nm program.
9639 # A symbol stripping program
9642 # Used to examine libraries when file_magic_cmd begins "file"
9643 MAGIC_CMD=$MAGIC_CMD
9645 # Used on cygwin: DLL creation program.
9648 # Used on cygwin: object dumper.
9651 # Used on cygwin: assembler.
9654 # The name of the directory that contains temporary libtool files.
9657 # How to create reloadable object files.
9658 reload_flag=$lt_reload_flag
9659 reload_cmds=$lt_reload_cmds
9661 # How to pass a linker flag through the compiler.
9662 wl=$lt_lt_prog_compiler_wl
9664 # Object file suffix (normally "o").
9667 # Old archive suffix (normally "a").
9670 # Shared library suffix (normally ".so").
9671 shrext_cmds='$shrext_cmds'
9673 # Executable file suffix (normally "").
9676 # Additional compiler flags for building library objects.
9677 pic_flag=$lt_lt_prog_compiler_pic
9680 # What is the maximum length of a command?
9681 max_cmd_len=$lt_cv_sys_max_cmd_len
9683 # Does compiler simultaneously support -c and -o options?
9684 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
9686 # Must we lock files when doing compilation?
9687 need_locks=$lt_need_locks
9689 # Do we need the lib prefix for modules?
9690 need_lib_prefix=$need_lib_prefix
9692 # Do we need a version for libraries?
9693 need_version=$need_version
9695 # Whether dlopen is supported.
9696 dlopen_support=$enable_dlopen
9698 # Whether dlopen of programs is supported.
9699 dlopen_self=$enable_dlopen_self
9701 # Whether dlopen of statically linked programs is supported.
9702 dlopen_self_static=$enable_dlopen_self_static
9704 # Compiler flag to prevent dynamic linking.
9705 link_static_flag=$lt_lt_prog_compiler_static
9707 # Compiler flag to turn off builtin functions.
9708 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
9710 # Compiler flag to allow reflexive dlopens.
9711 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
9713 # Compiler flag to generate shared objects directly from archives.
9714 whole_archive_flag_spec=$lt_whole_archive_flag_spec
9716 # Compiler flag to generate thread-safe objects.
9717 thread_safe_flag_spec=$lt_thread_safe_flag_spec
9719 # Library versioning type.
9720 version_type=$version_type
9722 # Format of library name prefix.
9723 libname_spec=$lt_libname_spec
9725 # List of archive names. First name is the real one, the rest are links.
9726 # The last name is the one that the linker finds with -lNAME.
9727 library_names_spec=$lt_library_names_spec
9729 # The coded name of the library, if different from the real name.
9730 soname_spec=$lt_soname_spec
9732 # Commands used to build and install an old-style archive.
9734 old_archive_cmds=$lt_old_archive_cmds
9735 old_postinstall_cmds=$lt_old_postinstall_cmds
9736 old_postuninstall_cmds=$lt_old_postuninstall_cmds
9738 # Create an old-style archive from a shared archive.
9739 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
9741 # Create a temporary old-style archive to link instead of a shared archive.
9742 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
9744 # Commands used to build and install a shared archive.
9745 archive_cmds=$lt_archive_cmds
9746 archive_expsym_cmds=$lt_archive_expsym_cmds
9747 postinstall_cmds=$lt_postinstall_cmds
9748 postuninstall_cmds=$lt_postuninstall_cmds
9750 # Commands used to build a loadable module (assumed same as above if empty)
9751 module_cmds=$lt_module_cmds
9752 module_expsym_cmds=$lt_module_expsym_cmds
9754 # Commands to strip libraries.
9755 old_striplib=$lt_old_striplib
9756 striplib=$lt_striplib
9758 # Dependencies to place before the objects being linked to create a
9760 predep_objects=\`echo $lt_predep_objects | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
9762 # Dependencies to place after the objects being linked to create a
9764 postdep_objects=\`echo $lt_postdep_objects | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
9766 # Dependencies to place before the objects being linked to create a
9770 # Dependencies to place after the objects being linked to create a
9772 postdeps=$lt_postdeps
9774 # The library search path used internally by the compiler when linking
9776 compiler_lib_search_path=\`echo $lt_compiler_lib_search_path | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
9778 # Method to check whether dependent libraries are shared objects.
9779 deplibs_check_method=$lt_deplibs_check_method
9781 # Command to use when deplibs_check_method == file_magic.
9782 file_magic_cmd=$lt_file_magic_cmd
9784 # Flag that allows shared libraries with undefined symbols to be built.
9785 allow_undefined_flag=$lt_allow_undefined_flag
9787 # Flag that forces no undefined symbols.
9788 no_undefined_flag=$lt_no_undefined_flag
9790 # Commands used to finish a libtool library installation in a directory.
9791 finish_cmds=$lt_finish_cmds
9793 # Same as above, but a single script fragment to be evaled but not shown.
9794 finish_eval=$lt_finish_eval
9796 # Take the output of nm and produce a listing of raw symbols and C names.
9797 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
9799 # Transform the output of nm in a proper C declaration
9800 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
9802 # Transform the output of nm in a C name address pair
9803 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
9805 # This is the shared library runtime path variable.
9806 runpath_var=$runpath_var
9808 # This is the shared library path variable.
9809 shlibpath_var=$shlibpath_var
9811 # Is shlibpath searched before the hard-coded library search path?
9812 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
9814 # How to hardcode a shared library path into an executable.
9815 hardcode_action=$hardcode_action
9817 # Whether we should hardcode library paths into libraries.
9818 hardcode_into_libs=$hardcode_into_libs
9820 # Flag to hardcode \$libdir into a binary during linking.
9821 # This must work even if \$libdir does not exist.
9822 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
9824 # If ld is used when linking, flag to hardcode \$libdir into
9825 # a binary during linking. This must work even if \$libdir does
9827 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
9829 # Whether we need a single -rpath flag with a separated argument.
9830 hardcode_libdir_separator=$lt_hardcode_libdir_separator
9832 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
9834 hardcode_direct=$hardcode_direct
9836 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
9838 hardcode_minus_L=$hardcode_minus_L
9840 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
9841 # the resulting binary.
9842 hardcode_shlibpath_var=$hardcode_shlibpath_var
9844 # Set to yes if building a shared library automatically hardcodes DIR into the library
9845 # and all subsequent libraries and executables linked against it.
9846 hardcode_automatic=$hardcode_automatic
9848 # Variables whose values should be saved in libtool wrapper scripts and
9849 # restored at relink time.
9850 variables_saved_for_relink="$variables_saved_for_relink"
9852 # Whether libtool must link a program against all its dependency libraries.
9853 link_all_deplibs=$link_all_deplibs
9855 # Compile-time system search path for libraries
9856 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"\`
9858 # Run-time system search path for libraries
9859 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
9861 # Fix the shell variable \$srcfile for the compiler.
9862 fix_srcfile_path="$fix_srcfile_path"
9864 # Set to yes if exported symbols are required.
9865 always_export_symbols=$always_export_symbols
9867 # The commands to list exported symbols.
9868 export_symbols_cmds=$lt_export_symbols_cmds
9870 # The commands to extract the exported symbol list from a shared archive.
9871 extract_expsyms_cmds=$lt_extract_expsyms_cmds
9873 # Symbols that should not be listed in the preloaded symbols.
9874 exclude_expsyms=$lt_exclude_expsyms
9876 # Symbols that must always be exported.
9877 include_expsyms=$lt_include_expsyms
9879 # ### END LIBTOOL CONFIG
9886 cat <<\EOF
>> "$cfgfile"
9888 # AIX sometimes has problems with the GCC collect2 program. For some
9889 # reason, if we set the COLLECT_NAMES environment variable, the problems
9890 # vanish in a puff of smoke.
9891 if test "X${COLLECT_NAMES+set}" != Xset
; then
9893 export COLLECT_NAMES
9899 # We use sed instead of cat because bash on DJGPP gets confused if
9900 # if finds mixed CR/LF and LF-only lines. Since sed operates in
9901 # text mode, it properly converts lines to CR/LF. This bash problem
9902 # is reportedly fixed, but why not run on old versions too?
9903 sed '$q' "$ltmain" >> "$cfgfile" ||
(rm -f "$cfgfile"; exit 1)
9905 mv -f "$cfgfile" "$ofile" || \
9906 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
9910 # If there is no Makefile yet, we rely on a make rule to execute
9911 # `config.status --recheck' to rerun these tests and create the
9912 # libtool script then.
9913 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
9914 if test -f "$ltmain_in"; then
9915 test -f Makefile
&& make "$ltmain"
9921 ac_cpp
='$CPP $CPPFLAGS'
9922 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9923 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9924 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9929 # Check whether --with-tags or --without-tags was given.
9930 if test "${with_tags+set}" = set; then
9931 withval
="$with_tags"
9935 if test -f "$ltmain" && test -n "$tagnames"; then
9936 if test ! -f "${ofile}"; then
9937 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
9938 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
9941 if test -z "$LTCC"; then
9942 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
9943 if test -z "$LTCC"; then
9944 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
9945 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
9947 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
9948 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
9951 if test -z "$LTCFLAGS"; then
9952 eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
9955 # Extract list of available tagged configurations in $ofile.
9956 # Note that this assumes the entire list is on one line.
9957 available_tags
=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
9959 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9960 for tagname
in $tagnames; do
9962 # Check whether tagname contains only valid characters
9963 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
9965 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
9966 echo "$as_me: error: invalid tag name: $tagname" >&2;}
9967 { (exit 1); exit 1; }; }
9971 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev
/null
9973 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
9974 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
9975 { (exit 1); exit 1; }; }
9978 # Update the list of available tags.
9979 if test -n "$tagname"; then
9980 echo appending configuration tag
\"$tagname\" to
$ofile
9984 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
9985 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
9986 (test "X$CXX" != "Xg++"))) ; then
9988 ac_cpp
='$CXXCPP $CPPFLAGS'
9989 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9990 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9991 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
9996 archive_cmds_need_lc_CXX
=no
9997 allow_undefined_flag_CXX
=
9998 always_export_symbols_CXX
=no
9999 archive_expsym_cmds_CXX
=
10000 export_dynamic_flag_spec_CXX
=
10001 hardcode_direct_CXX
=no
10002 hardcode_libdir_flag_spec_CXX
=
10003 hardcode_libdir_flag_spec_ld_CXX
=
10004 hardcode_libdir_separator_CXX
=
10005 hardcode_minus_L_CXX
=no
10006 hardcode_shlibpath_var_CXX
=unsupported
10007 hardcode_automatic_CXX
=no
10009 module_expsym_cmds_CXX
=
10010 link_all_deplibs_CXX
=unknown
10011 old_archive_cmds_CXX
=$old_archive_cmds
10012 no_undefined_flag_CXX
=
10013 whole_archive_flag_spec_CXX
=
10014 enable_shared_with_static_runtimes_CXX
=no
10016 # Dependencies to place before and after the object being linked:
10017 predep_objects_CXX
=
10018 postdep_objects_CXX
=
10021 compiler_lib_search_path_CXX
=
10023 # Source file extension for C++ test sources.
10026 # Object file extension for compiled C++ test sources.
10030 # Code to be used in simple compile tests
10031 lt_simple_compile_test_code
="int some_variable = 0;\n"
10033 # Code to be used in simple link tests
10034 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }\n'
10036 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10038 # If no C compiler was specified, use CC.
10041 # If no C compiler flags were specified, use CFLAGS.
10042 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
10044 # Allow CC to be a program name with arguments.
10048 # save warnings/boilerplate of simple test code
10049 ac_outfile
=conftest.
$ac_objext
10050 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
10051 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
10052 _lt_compiler_boilerplate
=`cat conftest.err`
10055 ac_outfile
=conftest.
$ac_objext
10056 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
10057 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
10058 _lt_linker_boilerplate
=`cat conftest.err`
10062 # Allow CC to be a program name with arguments.
10067 lt_save_with_gnu_ld
=$with_gnu_ld
10068 lt_save_path_LD
=$lt_cv_path_LD
10069 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10070 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
10072 $as_unset lt_cv_prog_gnu_ld
10074 if test -n "${lt_cv_path_LDCXX+set}"; then
10075 lt_cv_path_LD
=$lt_cv_path_LDCXX
10077 $as_unset lt_cv_path_LD
10079 test -z "${LDCXX+set}" || LD
=$LDCXX
10083 for cc_temp
in $compiler""; do
10085 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
10086 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
10091 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10094 # We don't want -fno-exception wen compiling C++ code, so set the
10095 # no_builtin_flag separately
10096 if test "$GXX" = yes; then
10097 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
10099 lt_prog_compiler_no_builtin_flag_CXX
=
10102 if test "$GXX" = yes; then
10103 # Set up default GNU C++ configuration
10106 # Check whether --with-gnu-ld or --without-gnu-ld was given.
10107 if test "${with_gnu_ld+set}" = set; then
10108 withval
="$with_gnu_ld"
10109 test "$withval" = no || with_gnu_ld
=yes
10114 if test "$GCC" = yes; then
10115 # Check if gcc -print-prog-name=ld gives a path.
10116 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10117 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
10120 # gcc leaves a trailing carriage return which upsets mingw
10121 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10123 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
10126 # Accept absolute paths.
10128 re_direlt
='/[^/][^/]*/\.\./'
10129 # Canonicalize the pathname of ld
10130 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
10131 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
10132 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
10134 test -z "$LD" && LD
="$ac_prog"
10137 # If it fails, then pretend we aren't using GCC.
10141 # If it is relative, then search for the first ld in PATH.
10142 with_gnu_ld
=unknown
10145 elif test "$with_gnu_ld" = yes; then
10146 echo "$as_me:$LINENO: checking for GNU ld" >&5
10147 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
10149 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10150 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
10152 if test "${lt_cv_path_LD+set}" = set; then
10153 echo $ECHO_N "(cached) $ECHO_C" >&6
10155 if test -z "$LD"; then
10156 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
10157 for ac_dir
in $PATH; do
10159 test -z "$ac_dir" && ac_dir
=.
10160 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
10161 lt_cv_path_LD
="$ac_dir/$ac_prog"
10162 # Check to see if the program is GNU ld. I'd rather use --version,
10163 # but apparently some variants of GNU ld only accept -v.
10164 # Break only if it was the GNU/non-GNU ld that we prefer.
10165 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
10166 *GNU
* |
*'with BFD'*)
10167 test "$with_gnu_ld" != no
&& break
10170 test "$with_gnu_ld" != yes && break
10177 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
10181 LD
="$lt_cv_path_LD"
10182 if test -n "$LD"; then
10183 echo "$as_me:$LINENO: result: $LD" >&5
10184 echo "${ECHO_T}$LD" >&6
10186 echo "$as_me:$LINENO: result: no" >&5
10187 echo "${ECHO_T}no" >&6
10189 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10190 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10191 { (exit 1); exit 1; }; }
10192 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10193 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
10194 if test "${lt_cv_prog_gnu_ld+set}" = set; then
10195 echo $ECHO_N "(cached) $ECHO_C" >&6
10197 # I'd rather use --version here, but apparently some GNU lds only accept -v.
10198 case `$LD -v 2>&1 </dev/null` in
10199 *GNU
* |
*'with BFD'*)
10200 lt_cv_prog_gnu_ld
=yes
10203 lt_cv_prog_gnu_ld
=no
10207 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10208 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
10209 with_gnu_ld
=$lt_cv_prog_gnu_ld
10213 # Check if GNU C++ uses GNU ld as the underlying linker, since the
10214 # archiving commands below assume that GNU ld is being used.
10215 if test "$with_gnu_ld" = yes; then
10216 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10217 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'
10219 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
10220 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10222 # If archive_cmds runs LD, not CC, wlarc should be empty
10223 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
10224 # investigate it a little bit more. (MM)
10227 # ancient GNU ld didn't support --whole-archive et. al.
10228 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
10229 grep 'no-whole-archive' > /dev
/null
; then
10230 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10232 whole_archive_flag_spec_CXX
=
10238 # A generic and very simple default shared library creation
10239 # command for GNU C++ for the case where it uses the native
10240 # linker, instead of GNU ld. If possible, this setting should
10241 # overridden to take advantage of the native linker features on
10242 # the platform it is being used on.
10243 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10246 # Commands to make compiler produce verbose output that lists
10247 # what "hidden" libraries, object files and flags are used when
10248 # linking a shared library.
10249 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10257 # PORTME: fill in a description of your system's C++ link characteristics
10258 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10259 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
10263 # FIXME: insert proper C++ library support
10267 if test "$host_cpu" = ia64
; then
10268 # On IA64, the linker does run time linking by default, so we don't
10269 # have to do anything special.
10270 aix_use_runtimelinking
=no
10271 exp_sym_flag
='-Bexport'
10274 aix_use_runtimelinking
=no
10276 # Test if we are trying to use run time linking or normal
10277 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10278 # need to do runtime linking.
10279 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
10280 for ld_flag
in $LDFLAGS; do
10283 aix_use_runtimelinking
=yes
10291 exp_sym_flag
='-bexport'
10292 no_entry_flag
='-bnoentry'
10295 # When large executables or shared objects are built, AIX ld can
10296 # have problems creating the table of contents. If linking a library
10297 # or program results in "error TOC overflow" add -mminimal-toc to
10298 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10299 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10301 archive_cmds_CXX
=''
10302 hardcode_direct_CXX
=yes
10303 hardcode_libdir_separator_CXX
=':'
10304 link_all_deplibs_CXX
=yes
10306 if test "$GXX" = yes; then
10307 case $host_os in aix4.
[012]|aix4.
[012].
*)
10308 # We only want to do this on AIX 4.2 and lower, the check
10309 # below for broken collect2 doesn't work under 4.3+
10310 collect2name
=`${CC} -print-prog-name=collect2`
10311 if test -f "$collect2name" && \
10312 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
10314 # We have reworked collect2
10315 hardcode_direct_CXX
=yes
10317 # We have old collect2
10318 hardcode_direct_CXX
=unsupported
10319 # It fails to find uninstalled libraries when the uninstalled
10320 # path is not listed in the libpath. Setting hardcode_minus_L
10321 # to unsupported forces relinking
10322 hardcode_minus_L_CXX
=yes
10323 hardcode_libdir_flag_spec_CXX
='-L$libdir'
10324 hardcode_libdir_separator_CXX
=
10328 shared_flag
='-shared'
10329 if test "$aix_use_runtimelinking" = yes; then
10330 shared_flag
="$shared_flag "'${wl}-G'
10334 if test "$host_cpu" = ia64
; then
10335 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10336 # chokes on -Wl,-G. The following line is correct:
10339 if test "$aix_use_runtimelinking" = yes; then
10340 shared_flag
='${wl}-G'
10342 shared_flag
='${wl}-bM:SRE'
10347 # It seems that -bexpall does not export symbols beginning with
10348 # underscore (_), so it is better to generate a list of symbols to export.
10349 always_export_symbols_CXX
=yes
10350 if test "$aix_use_runtimelinking" = yes; then
10351 # Warning - without using the other runtime loading flags (-brtl),
10352 # -berok will link without error, but may produce a broken library.
10353 allow_undefined_flag_CXX
='-berok'
10354 # Determine the default libpath from the value encoded in an empty executable.
10355 cat >conftest.
$ac_ext <<_ACEOF
10358 cat confdefs.h
>>conftest.
$ac_ext
10359 cat >>conftest.
$ac_ext <<_ACEOF
10360 /* end confdefs.h. */
10370 rm -f conftest.
$ac_objext conftest
$ac_exeext
10371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10372 (eval $ac_link) 2>conftest.er1
10374 grep -v '^ *+' conftest.er1
>conftest.err
10376 cat conftest.err
>&5
10377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10378 (exit $ac_status); } &&
10379 { ac_try
='test -z "$ac_cxx_werror_flag"
10380 || test ! -s conftest.err'
10381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10382 (eval $ac_try) 2>&5
10384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10385 (exit $ac_status); }; } &&
10386 { ac_try
='test -s conftest$ac_exeext'
10387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10388 (eval $ac_try) 2>&5
10390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10391 (exit $ac_status); }; }; then
10393 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10395 # Check for a 64-bit object if we didn't find anything.
10396 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; }
10399 echo "$as_me: failed program was:" >&5
10400 sed 's/^/| /' conftest.
$ac_ext >&5
10403 rm -f conftest.err conftest.
$ac_objext \
10404 conftest
$ac_exeext conftest.
$ac_ext
10405 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10407 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
10409 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"
10411 if test "$host_cpu" = ia64
; then
10412 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
10413 allow_undefined_flag_CXX
="-z nodefs"
10414 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"
10416 # Determine the default libpath from the value encoded in an empty executable.
10417 cat >conftest.
$ac_ext <<_ACEOF
10420 cat confdefs.h
>>conftest.
$ac_ext
10421 cat >>conftest.
$ac_ext <<_ACEOF
10422 /* end confdefs.h. */
10432 rm -f conftest.
$ac_objext conftest
$ac_exeext
10433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10434 (eval $ac_link) 2>conftest.er1
10436 grep -v '^ *+' conftest.er1
>conftest.err
10438 cat conftest.err
>&5
10439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10440 (exit $ac_status); } &&
10441 { ac_try
='test -z "$ac_cxx_werror_flag"
10442 || test ! -s conftest.err'
10443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10444 (eval $ac_try) 2>&5
10446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10447 (exit $ac_status); }; } &&
10448 { ac_try
='test -s conftest$ac_exeext'
10449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10450 (eval $ac_try) 2>&5
10452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10453 (exit $ac_status); }; }; then
10455 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10457 # Check for a 64-bit object if we didn't find anything.
10458 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; }
10461 echo "$as_me: failed program was:" >&5
10462 sed 's/^/| /' conftest.
$ac_ext >&5
10465 rm -f conftest.err conftest.
$ac_objext \
10466 conftest
$ac_exeext conftest.
$ac_ext
10467 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10469 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
10470 # Warning - without using the other run time loading flags,
10471 # -berok will link without error, but may produce a broken library.
10472 no_undefined_flag_CXX
=' ${wl}-bernotok'
10473 allow_undefined_flag_CXX
=' ${wl}-berok'
10474 # Exported symbols can be pulled into shared objects from archives
10475 whole_archive_flag_spec_CXX
='$convenience'
10476 archive_cmds_need_lc_CXX
=yes
10477 # This is similar to how AIX traditionally builds its shared libraries.
10478 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'
10484 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
10485 allow_undefined_flag_CXX
=unsupported
10486 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10487 # support --undefined. This deserves some investigation. FIXME
10488 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10495 case $cc_basename in
10497 # FIXME: insert proper C++ library support
10503 cygwin
* | mingw
* | pw32
*)
10504 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
10505 # as there is no search path for DLLs.
10506 hardcode_libdir_flag_spec_CXX
='-L$libdir'
10507 allow_undefined_flag_CXX
=unsupported
10508 always_export_symbols_CXX
=no
10509 enable_shared_with_static_runtimes_CXX
=yes
10511 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
10512 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'
10513 # If the export-symbols file already is a .def file (1st line
10514 # is EXPORTS), use it as is; otherwise, prepend...
10515 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10516 cp $export_symbols $output_objdir/$soname.def;
10518 echo EXPORTS > $output_objdir/$soname.def;
10519 cat $export_symbols >> $output_objdir/$soname.def;
10521 $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'
10526 darwin
* | rhapsody
*)
10528 rhapsody
* | darwin1.
[012])
10529 allow_undefined_flag_CXX
='${wl}-undefined ${wl}suppress'
10532 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10533 allow_undefined_flag_CXX
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10535 case ${MACOSX_DEPLOYMENT_TARGET} in
10537 allow_undefined_flag_CXX
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10540 allow_undefined_flag_CXX
='${wl}-undefined ${wl}dynamic_lookup'
10546 archive_cmds_need_lc_CXX
=no
10547 hardcode_direct_CXX
=no
10548 hardcode_automatic_CXX
=yes
10549 hardcode_shlibpath_var_CXX
=unsupported
10550 whole_archive_flag_spec_CXX
=''
10551 link_all_deplibs_CXX
=yes
10553 if test "$GXX" = yes ; then
10554 lt_int_apple_cc_single_mod
=no
10555 output_verbose_link_cmd
='echo'
10556 if $CC -dumpspecs 2>&1 |
$EGREP 'single_module' >/dev
/null
; then
10557 lt_int_apple_cc_single_mod
=yes
10559 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
10560 archive_cmds_CXX
='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10562 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'
10564 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10565 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10566 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
10567 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}'
10569 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}'
10571 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}'
10573 case $cc_basename in
10575 output_verbose_link_cmd
='echo'
10576 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'
10577 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10578 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10579 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}'
10580 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}'
10590 case $cc_basename in
10592 # FIXME: insert proper C++ library support
10596 # Green Hills C++ Compiler
10597 # FIXME: insert proper C++ library support
10601 # FIXME: insert proper C++ library support
10607 # C++ shared libraries reported to be fairly broken before switch to ELF
10611 archive_cmds_need_lc_CXX
=no
10613 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
10614 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
10621 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
10622 hardcode_libdir_separator_CXX
=:
10623 export_dynamic_flag_spec_CXX
='${wl}-E'
10624 hardcode_direct_CXX
=yes
10625 hardcode_minus_L_CXX
=yes # Not in the search PATH,
10626 # but as the default
10627 # location of the library.
10629 case $cc_basename in
10631 # FIXME: insert proper C++ library support
10635 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'
10636 # Commands to make compiler produce verbose output that lists
10637 # what "hidden" libraries, object files and flags are used when
10638 # linking a shared library.
10640 # There doesn't appear to be a way to prevent this compiler from
10641 # explicitly linking system object files so we need to strip them
10642 # from the output so that they don't get included in the library
10644 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'
10647 if test "$GXX" = yes; then
10648 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'
10650 # FIXME: insert proper C++ library support
10657 if test $with_gnu_ld = no
; then
10658 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
10659 hardcode_libdir_separator_CXX
=:
10663 hardcode_libdir_flag_spec_ld_CXX
='+b $libdir'
10666 export_dynamic_flag_spec_CXX
='${wl}-E'
10672 hardcode_direct_CXX
=no
10673 hardcode_shlibpath_var_CXX
=no
10676 hardcode_direct_CXX
=yes
10677 hardcode_minus_L_CXX
=yes # Not in the search PATH,
10678 # but as the default
10679 # location of the library.
10683 case $cc_basename in
10685 # FIXME: insert proper C++ library support
10691 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10694 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10697 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10700 # Commands to make compiler produce verbose output that lists
10701 # what "hidden" libraries, object files and flags are used when
10702 # linking a shared library.
10704 # There doesn't appear to be a way to prevent this compiler from
10705 # explicitly linking system object files so we need to strip them
10706 # from the output so that they don't get included in the library
10708 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'
10711 if test "$GXX" = yes; then
10712 if test $with_gnu_ld = no
; then
10715 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10718 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10721 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'
10726 # FIXME: insert proper C++ library support
10733 hardcode_direct_CXX
=no
10734 hardcode_shlibpath_var_CXX
=no
10735 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10736 export_dynamic_flag_spec_CXX
='${wl}-E'
10737 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10738 # Instead, shared libraries are loaded at an image base (0x10000000 by
10739 # default) and relocated if they conflict, which is a slow very memory
10740 # consuming and fragmenting process. To avoid this, we pick a random,
10741 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10742 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10743 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'
10744 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'
10747 case $cc_basename in
10750 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'
10752 # Archives containing C++ object files must be created using
10753 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
10754 # necessary to make sure instantiated templates are included
10756 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
10759 if test "$GXX" = yes; then
10760 if test "$with_gnu_ld" = no
; then
10761 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'
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` -o $lib'
10766 link_all_deplibs_CXX
=yes
10769 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10770 hardcode_libdir_separator_CXX
=:
10773 case $cc_basename in
10775 # Kuck and Associates, Inc. (KAI) C++ Compiler
10777 # KCC will only create a shared library if the output file
10778 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10779 # to its proper name (with version) after linking.
10780 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'
10781 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'
10782 # Commands to make compiler produce verbose output that lists
10783 # what "hidden" libraries, object files and flags are used when
10784 # linking a shared library.
10786 # There doesn't appear to be a way to prevent this compiler from
10787 # explicitly linking system object files so we need to strip them
10788 # from the output so that they don't get included in the library
10790 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'
10792 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
10793 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10795 # Archives containing C++ object files must be created using
10796 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10797 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
10802 # version 8.0 and above of icpc choke on multiply defined symbols
10803 # if we add $predep_objects and $postdep_objects, however 7.1 and
10804 # earlier do not add the objects themselves.
10805 case `$CC -V 2>&1` in
10807 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10808 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'
10810 *) # Version 8.0 or newer
10813 ia64
*) tmp_idyn
=' -i_dynamic';;
10815 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10816 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'
10819 archive_cmds_need_lc_CXX
=no
10820 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10821 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10822 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10825 # Portland Group C++ compiler
10826 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
10827 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'
10829 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
10830 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10831 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'
10835 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10836 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'
10838 runpath_var
=LD_RUN_PATH
10839 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
10840 hardcode_libdir_separator_CXX
=:
10842 # Commands to make compiler produce verbose output that lists
10843 # what "hidden" libraries, object files and flags are used when
10844 # linking a shared library.
10846 # There doesn't appear to be a way to prevent this compiler from
10847 # explicitly linking system object files so we need to strip them
10848 # from the output so that they don't get included in the library
10850 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'
10855 # FIXME: insert proper C++ library support
10859 # FIXME: insert proper C++ library support
10863 case $cc_basename in
10865 # FIXME: insert proper C++ library support
10869 # FIXME: insert proper C++ library support
10875 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
10876 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10878 hardcode_libdir_flag_spec_CXX
='-R$libdir'
10879 hardcode_direct_CXX
=yes
10880 hardcode_shlibpath_var_CXX
=no
10882 # Workaround some broken pre-1.5 toolchains
10883 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
10886 # C++ shared libraries are fairly broken
10890 hardcode_direct_CXX
=yes
10891 hardcode_shlibpath_var_CXX
=no
10892 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10893 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10894 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10895 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
10896 export_dynamic_flag_spec_CXX
='${wl}-E'
10897 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10899 output_verbose_link_cmd
='echo'
10902 case $cc_basename in
10904 # Kuck and Associates, Inc. (KAI) C++ Compiler
10906 # KCC will only create a shared library if the output file
10907 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10908 # to its proper name (with version) after linking.
10909 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'
10911 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10912 hardcode_libdir_separator_CXX
=:
10914 # Archives containing C++ object files must be created using
10915 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10916 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
10920 # Rational C++ 2.4.1
10921 # FIXME: insert proper C++ library support
10925 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
10926 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'
10928 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10929 hardcode_libdir_separator_CXX
=:
10931 # Commands to make compiler produce verbose output that lists
10932 # what "hidden" libraries, object files and flags are used when
10933 # linking a shared library.
10935 # There doesn't appear to be a way to prevent this compiler from
10936 # explicitly linking system object files so we need to strip them
10937 # from the output so that they don't get included in the library
10939 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'
10942 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
10943 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
10944 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'
10946 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10947 hardcode_libdir_separator_CXX
=:
10949 # Commands to make compiler produce verbose output that lists
10950 # what "hidden" libraries, object files and flags are used when
10951 # linking a shared library.
10952 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10955 # FIXME: insert proper C++ library support
10962 case $cc_basename in
10964 # Kuck and Associates, Inc. (KAI) C++ Compiler
10966 # KCC will only create a shared library if the output file
10967 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10968 # to its proper name (with version) after linking.
10969 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'
10971 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10972 hardcode_libdir_separator_CXX
=:
10974 # Archives containing C++ object files must be created using
10975 # the KAI C++ compiler.
10976 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
10979 # Rational C++ 2.4.1
10980 # FIXME: insert proper C++ library support
10984 allow_undefined_flag_CXX
=' -expect_unresolved \*'
10985 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'
10986 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
10987 echo "-hidden">> $lib.exp~
10988 $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~
10991 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
10992 hardcode_libdir_separator_CXX
=:
10994 # Commands to make compiler produce verbose output that lists
10995 # what "hidden" libraries, object files and flags are used when
10996 # linking a shared library.
10998 # There doesn't appear to be a way to prevent this compiler from
10999 # explicitly linking system object files so we need to strip them
11000 # from the output so that they don't get included in the library
11002 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'
11005 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11006 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11007 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'
11009 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11010 hardcode_libdir_separator_CXX
=:
11012 # Commands to make compiler produce verbose output that lists
11013 # what "hidden" libraries, object files and flags are used when
11014 # linking a shared library.
11015 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11018 # FIXME: insert proper C++ library support
11025 # FIXME: insert proper C++ library support
11029 case $cc_basename in
11032 # FIXME: insert proper C++ library support
11037 # FIXME: insert proper C++ library support
11041 # FIXME: insert proper C++ library support
11047 case $cc_basename in
11049 # Sun C++ 4.2, 5.x and Centerline C++
11050 archive_cmds_need_lc_CXX
=yes
11051 no_undefined_flag_CXX
=' -zdefs'
11052 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11053 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11054 $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'
11056 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11057 hardcode_shlibpath_var_CXX
=no
11059 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11061 # The C++ compiler is used as linker so we must use $wl
11062 # flag to pass the commands to the underlying system
11063 # linker. We must also pass each convience library through
11064 # to the system linker between allextract/defaultextract.
11065 # The C++ compiler will combine linker options so we
11066 # cannot just pass the convience library names through
11068 # Supported since Solaris 2.6 (maybe 2.5.1?)
11069 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'
11072 link_all_deplibs_CXX
=yes
11074 output_verbose_link_cmd
='echo'
11076 # Archives containing C++ object files must be created using
11077 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11078 # necessary to make sure instantiated templates are included
11080 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11083 # Green Hills C++ Compiler
11084 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11086 # The C++ compiler must be used to create the archive.
11087 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
11090 # GNU C++ compiler with Solaris linker
11091 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11092 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
11093 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
11094 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11095 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11096 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11098 # Commands to make compiler produce verbose output that lists
11099 # what "hidden" libraries, object files and flags are used when
11100 # linking a shared library.
11101 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11103 # g++ 2.7 appears to require `-G' NOT `-shared' on this
11105 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11106 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11107 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11109 # Commands to make compiler produce verbose output that lists
11110 # what "hidden" libraries, object files and flags are used when
11111 # linking a shared library.
11112 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11115 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
11120 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11121 no_undefined_flag_CXX
='${wl}-z,text'
11122 archive_cmds_need_lc_CXX
=no
11123 hardcode_shlibpath_var_CXX
=no
11124 runpath_var
='LD_RUN_PATH'
11126 case $cc_basename in
11128 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11129 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11132 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11133 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11137 sysv5
* | sco3.2v5
* | sco5v6
*)
11138 # Note: We can NOT use -z defs as we might desire, because we do not
11139 # link with -lc, and that would cause any symbols used from libc to
11140 # always be unresolved, which means just about no library would
11141 # ever link correctly. If we're not using GNU ld we use -z text
11142 # though, which does catch some bad symbols but isn't as heavy-handed
11144 # For security reasons, it is highly recommended that you always
11145 # use absolute paths for naming shared libraries, and exclude the
11146 # DT_RUNPATH tag from executables and libraries. But doing so
11147 # requires that you compile everything twice, which is a pain.
11148 # So that behaviour is only enabled if SCOABSPATH is set to a
11149 # non-empty value in the environment. Most likely only useful for
11150 # creating official distributions of packages.
11151 # This is a hack until libtool officially supports absolute path
11152 # names for shared libraries.
11153 no_undefined_flag_CXX
='${wl}-z,text'
11154 allow_undefined_flag_CXX
='${wl}-z,nodefs'
11155 archive_cmds_need_lc_CXX
=no
11156 hardcode_shlibpath_var_CXX
=no
11157 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
11158 hardcode_libdir_separator_CXX
=':'
11159 link_all_deplibs_CXX
=yes
11160 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
11161 runpath_var
='LD_RUN_PATH'
11163 case $cc_basename in
11165 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11166 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11169 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11170 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11175 case $cc_basename in
11177 # NonStop-UX NCC 3.20
11178 # FIXME: insert proper C++ library support
11182 # FIXME: insert proper C++ library support
11188 # FIXME: insert proper C++ library support
11192 # FIXME: insert proper C++ library support
11196 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11197 echo "${ECHO_T}$ld_shlibs_CXX" >&6
11198 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
11204 cat > conftest.
$ac_ext <<EOF
11208 Foo (void) { a = 0; }
11214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11215 (eval $ac_compile) 2>&5
11217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11218 (exit $ac_status); }; then
11219 # Parse the compiler output and extract the necessary
11220 # objects, libraries and library flags.
11222 # Sentinel used to keep track of whether or not we are before
11223 # the conftest object file.
11224 pre_test_object_deps_done
=no
11226 # The `*' in the case matches for architectures that use `case' in
11227 # $output_verbose_cmd can trigger glob expansion during the loop
11228 # eval without this substitution.
11229 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
11231 for p
in `eval $output_verbose_link_cmd`; do
11235 # Some compilers place space between "-{L,R}" and the path.
11236 # Remove the space.
11237 if test $p = "-L" \
11238 ||
test $p = "-R"; then
11245 if test "$pre_test_object_deps_done" = no
; then
11248 # Internal compiler library paths should come after those
11249 # provided the user. The postdeps already come after the
11250 # user supplied libs so there is no need to process them.
11251 if test -z "$compiler_lib_search_path_CXX"; then
11252 compiler_lib_search_path_CXX
="${prev}${p}"
11254 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
11257 # The "-l" case would never come before the object being
11258 # linked, so don't bother handling this case.
11261 if test -z "$postdeps_CXX"; then
11262 postdeps_CXX
="${prev}${p}"
11264 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
11270 # This assumes that the test object file only shows up
11271 # once in the compiler output.
11272 if test "$p" = "conftest.$objext"; then
11273 pre_test_object_deps_done
=yes
11277 if test "$pre_test_object_deps_done" = no
; then
11278 if test -z "$predep_objects_CXX"; then
11279 predep_objects_CXX
="$p"
11281 predep_objects_CXX
="$predep_objects_CXX $p"
11284 if test -z "$postdep_objects_CXX"; then
11285 postdep_objects_CXX
="$p"
11287 postdep_objects_CXX
="$postdep_objects_CXX $p"
11292 *) ;; # Ignore the rest.
11300 echo "libtool.m4: error: problem compiling CXX test program"
11303 $rm -f confest.
$objext
11305 # PORTME: override above test on systems where it is broken
11308 # Interix 3.5 installs completely hosed .la files for C++, so rather than
11309 # hack all around it, let's just trust "g++" to DTRT.
11310 predep_objects_CXX
=
11311 postdep_objects_CXX
=
11316 case $cc_basename in
11318 # Adding this requires a known-good setup of shared libraries for
11319 # Sun compiler versions before 5.6, else PIC objects from an old
11320 # archive will be linked into the output, leading to subtle bugs.
11321 postdeps_CXX
='-lCstd -lCrun'
11328 case " $postdeps_CXX " in
11329 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
11332 lt_prog_compiler_wl_CXX
=
11333 lt_prog_compiler_pic_CXX
=
11334 lt_prog_compiler_static_CXX
=
11336 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11337 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
11339 # C++ specific cases for pic, static, wl, etc.
11340 if test "$GXX" = yes; then
11341 lt_prog_compiler_wl_CXX
='-Wl,'
11342 lt_prog_compiler_static_CXX
='-static'
11346 # All AIX code is PIC.
11347 if test "$host_cpu" = ia64
; then
11348 # AIX 5 now supports IA64 processor
11349 lt_prog_compiler_static_CXX
='-Bstatic'
11353 # FIXME: we need at least 68020 code to build shared libraries, but
11354 # adding the `-m68020' flag to GCC prevents building anything better,
11356 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
11358 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
11359 # PIC is the default for these OSes.
11361 mingw
* | os2
* | pw32
*)
11362 # This hack is so that the source file can tell whether it is being
11363 # built for inclusion in a dll (and should export symbols for example).
11364 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
11366 darwin
* | rhapsody
*)
11367 # PIC is the default on this platform
11368 # Common symbols not allowed in MH_DYLIB files
11369 lt_prog_compiler_pic_CXX
='-fno-common'
11372 # DJGPP does not support shared libraries at all
11373 lt_prog_compiler_pic_CXX
=
11376 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11377 # Instead, we relocate shared libraries at runtime.
11380 if test -d /usr
/nec
; then
11381 lt_prog_compiler_pic_CXX
=-Kconform_pic
11385 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11386 # not for PA HP-UX.
11391 lt_prog_compiler_pic_CXX
='-fPIC'
11396 lt_prog_compiler_pic_CXX
='-fPIC'
11402 # All AIX code is PIC.
11403 if test "$host_cpu" = ia64
; then
11404 # AIX 5 now supports IA64 processor
11405 lt_prog_compiler_static_CXX
='-Bstatic'
11407 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
11411 case $cc_basename in
11413 # Green Hills C++ Compiler
11414 # _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"
11419 # PIC is the default on this platform
11420 # Common symbols not allowed in MH_DYLIB files
11421 case $cc_basename in
11423 lt_prog_compiler_pic_CXX
='-qnocommon'
11424 lt_prog_compiler_wl_CXX
='-Wl,'
11429 case $cc_basename in
11431 lt_prog_compiler_pic_CXX
='-KPIC'
11434 # Green Hills C++ Compiler
11435 lt_prog_compiler_pic_CXX
='-pic'
11441 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
11442 # FreeBSD uses GNU C++
11444 hpux9
* | hpux10
* | hpux11
*)
11445 case $cc_basename in
11447 lt_prog_compiler_wl_CXX
='-Wl,'
11448 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
11449 if test "$host_cpu" != ia64
; then
11450 lt_prog_compiler_pic_CXX
='+Z'
11454 lt_prog_compiler_wl_CXX
='-Wl,'
11455 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
11461 lt_prog_compiler_pic_CXX
='+Z'
11470 # This is c89, which is MS Visual C++ (no shared libs)
11471 # Anyone wants to do a port?
11473 irix5
* | irix6
* | nonstopux
*)
11474 case $cc_basename in
11476 lt_prog_compiler_wl_CXX
='-Wl,'
11477 lt_prog_compiler_static_CXX
='-non_shared'
11478 # CC pic flag -KPIC is the default.
11485 case $cc_basename in
11488 lt_prog_compiler_wl_CXX
='--backend -Wl,'
11489 lt_prog_compiler_pic_CXX
='-fPIC'
11493 lt_prog_compiler_wl_CXX
='-Wl,'
11494 lt_prog_compiler_pic_CXX
='-KPIC'
11495 lt_prog_compiler_static_CXX
='-static'
11498 # Portland Group C++ compiler.
11499 lt_prog_compiler_wl_CXX
='-Wl,'
11500 lt_prog_compiler_pic_CXX
='-fpic'
11501 lt_prog_compiler_static_CXX
='-Bstatic'
11505 # Make sure the PIC flag is empty. It appears that all Alpha
11506 # Linux and Compaq Tru64 Unix objects are PIC.
11507 lt_prog_compiler_pic_CXX
=
11508 lt_prog_compiler_static_CXX
='-non_shared'
11519 case $cc_basename in
11521 lt_prog_compiler_pic_CXX
='-W c,exportall'
11529 osf3
* | osf4
* | osf5
*)
11530 case $cc_basename in
11532 lt_prog_compiler_wl_CXX
='--backend -Wl,'
11535 # Rational C++ 2.4.1
11536 lt_prog_compiler_pic_CXX
='-pic'
11539 # Digital/Compaq C++
11540 lt_prog_compiler_wl_CXX
='-Wl,'
11541 # Make sure the PIC flag is empty. It appears that all Alpha
11542 # Linux and Compaq Tru64 Unix objects are PIC.
11543 lt_prog_compiler_pic_CXX
=
11544 lt_prog_compiler_static_CXX
='-non_shared'
11553 case $cc_basename in
11555 # Sun C++ 4.2, 5.x and Centerline C++
11556 lt_prog_compiler_pic_CXX
='-KPIC'
11557 lt_prog_compiler_static_CXX
='-Bstatic'
11558 lt_prog_compiler_wl_CXX
='-Qoption ld '
11561 # Green Hills C++ Compiler
11562 lt_prog_compiler_pic_CXX
='-PIC'
11569 case $cc_basename in
11572 lt_prog_compiler_pic_CXX
='-pic'
11573 lt_prog_compiler_static_CXX
='-Bstatic'
11577 lt_prog_compiler_pic_CXX
='-pic'
11584 case $cc_basename in
11586 # NonStop-UX NCC 3.20
11587 lt_prog_compiler_pic_CXX
='-KPIC'
11593 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
11594 case $cc_basename in
11596 lt_prog_compiler_wl_CXX
='-Wl,'
11597 lt_prog_compiler_pic_CXX
='-KPIC'
11598 lt_prog_compiler_static_CXX
='-Bstatic'
11605 lt_prog_compiler_can_build_shared_CXX
=no
11610 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
11611 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
11614 # Check to make sure the PIC flag actually works.
11616 if test -n "$lt_prog_compiler_pic_CXX"; then
11618 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
11619 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
11620 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
11621 echo $ECHO_N "(cached) $ECHO_C" >&6
11623 lt_prog_compiler_pic_works_CXX
=no
11624 ac_outfile
=conftest.
$ac_objext
11625 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11626 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
11627 # Insert the option either (1) after the last *FLAGS variable, or
11628 # (2) before a word containing "conftest.", or (3) at the end.
11629 # Note that $ac_compile itself does not contain backslashes and begins
11630 # with a dollar sign (not a hyphen), so the echo should work correctly.
11631 # The option is referenced via a variable to avoid confusing sed.
11632 lt_compile
=`echo "$ac_compile" | $SED \
11633 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11634 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11635 -e 's:$: $lt_compiler_flag:'`
11636 (eval echo "\"\$as_me:11636: $lt_compile\"" >&5)
11637 (eval "$lt_compile" 2>conftest.err
)
11639 cat conftest.err
>&5
11640 echo "$as_me:11640: \$? = $ac_status" >&5
11641 if (exit $ac_status) && test -s "$ac_outfile"; then
11642 # The compiler can only warn and ignore the option if not recognized
11643 # So say no if there are warnings other than the usual output.
11644 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
11645 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11646 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
11647 lt_prog_compiler_pic_works_CXX
=yes
11653 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
11654 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
11656 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
11657 case $lt_prog_compiler_pic_CXX in
11659 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
11662 lt_prog_compiler_pic_CXX
=
11663 lt_prog_compiler_can_build_shared_CXX
=no
11668 # For platforms which do not support PIC, -DPIC is meaningless:
11670 lt_prog_compiler_pic_CXX
=
11673 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
11678 # Check to make sure the static flag actually works.
11680 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
11681 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11682 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
11683 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
11684 echo $ECHO_N "(cached) $ECHO_C" >&6
11686 lt_prog_compiler_static_works_CXX
=no
11687 save_LDFLAGS
="$LDFLAGS"
11688 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
11689 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
11690 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11691 # The linker can only warn and ignore the option if not recognized
11692 # So say no if there are warnings
11693 if test -s conftest.err
; then
11694 # Append any errors to the config.log.
11695 cat conftest.err
1>&5
11696 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
11697 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11698 if diff conftest.exp conftest.er2
>/dev
/null
; then
11699 lt_prog_compiler_static_works_CXX
=yes
11702 lt_prog_compiler_static_works_CXX
=yes
11706 LDFLAGS
="$save_LDFLAGS"
11709 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
11710 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
11712 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
11715 lt_prog_compiler_static_CXX
=
11719 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11720 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
11721 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
11722 echo $ECHO_N "(cached) $ECHO_C" >&6
11724 lt_cv_prog_compiler_c_o_CXX
=no
11725 $rm -r conftest
2>/dev
/null
11729 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11731 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11732 # Insert the option either (1) after the last *FLAGS variable, or
11733 # (2) before a word containing "conftest.", or (3) at the end.
11734 # Note that $ac_compile itself does not contain backslashes and begins
11735 # with a dollar sign (not a hyphen), so the echo should work correctly.
11736 lt_compile
=`echo "$ac_compile" | $SED \
11737 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11738 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11739 -e 's:$: $lt_compiler_flag:'`
11740 (eval echo "\"\$as_me:11740: $lt_compile\"" >&5)
11741 (eval "$lt_compile" 2>out
/conftest.err
)
11743 cat out
/conftest.err
>&5
11744 echo "$as_me:11744: \$? = $ac_status" >&5
11745 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
11747 # The compiler can only warn and ignore the option if not recognized
11748 # So say no if there are warnings
11749 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
11750 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
11751 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
11752 lt_cv_prog_compiler_c_o_CXX
=yes
11757 # SGI C++ compiler will create directory out/ii_files/ for
11758 # template instantiation
11759 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
11760 $rm out
/* && rmdir out
11766 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
11767 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
11770 hard_links
="nottested"
11771 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
11772 # do not overwrite the value of need_locks provided by the user
11773 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11774 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
11777 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11779 ln conftest.a conftest.b
2>&5 || hard_links
=no
11780 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11781 echo "$as_me:$LINENO: result: $hard_links" >&5
11782 echo "${ECHO_T}$hard_links" >&6
11783 if test "$hard_links" = no
; then
11784 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11785 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11792 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11793 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11795 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11798 # If we're using GNU nm, then we don't want the "-C" option.
11799 # -C means demangle to AIX nm, but means don't demangle with GNU nm
11800 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
11801 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'
11803 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'
11807 export_symbols_cmds_CXX
="$ltdll_cmds"
11810 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'
11813 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11817 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11818 echo "${ECHO_T}$ld_shlibs_CXX" >&6
11819 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
11822 # Do we need to explicitly link libc?
11824 case "x$archive_cmds_need_lc_CXX" in
11826 # Assume -lc should be added
11827 archive_cmds_need_lc_CXX
=yes
11829 if test "$enable_shared" = yes && test "$GCC" = yes; then
11830 case $archive_cmds_CXX in
11832 # FIXME: we may have to deal with multi-command sequences.
11835 # Test whether the compiler implicitly links with -lc since on some
11836 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11837 # to ld, don't add -lc before -lgcc.
11838 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11839 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
11841 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11844 (eval $ac_compile) 2>&5
11846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11847 (exit $ac_status); } 2>conftest.err
; then
11850 libobjs
=conftest.
$ac_objext
11852 wl
=$lt_prog_compiler_wl_CXX
11853 pic_flag
=$lt_prog_compiler_pic_CXX
11859 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
11860 allow_undefined_flag_CXX
=
11861 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
11862 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11865 (exit $ac_status); }
11867 archive_cmds_need_lc_CXX
=no
11869 archive_cmds_need_lc_CXX
=yes
11871 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
11873 cat conftest.err
1>&5
11876 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
11877 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
11884 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11885 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
11886 library_names_spec
=
11887 libname_spec
='lib$name'
11891 postuninstall_cmds
=
11895 shlibpath_overrides_runpath
=unknown
11897 dynamic_linker
="$host_os ld.so"
11898 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11899 if test "$GCC" = yes; then
11900 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11901 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
11902 # if the path contains ";" then we assume it to be the separator
11903 # otherwise default to the standard path separator (i.e. ":") - it is
11904 # assumed that no part of a normal pathname contains ";" but that should
11905 # okay in the real world where ";" in dirpaths is itself problematic.
11906 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11908 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11911 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11913 need_lib_prefix
=unknown
11914 hardcode_into_libs
=no
11916 # when you set need_version to no, make sure it does not cause -set_version
11917 # flags to be left without arguments
11918 need_version
=unknown
11923 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11924 shlibpath_var
=LIBPATH
11926 # AIX 3 has no versioning support, so we append a major version to the name.
11927 soname_spec
='${libname}${release}${shared_ext}$major'
11934 hardcode_into_libs
=yes
11935 if test "$host_cpu" = ia64
; then
11936 # AIX 5 supports IA64
11937 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11938 shlibpath_var
=LD_LIBRARY_PATH
11940 # With GCC up to 2.95.x, collect2 would create an import file
11941 # for dependence libraries. The import file would start with
11942 # the line `#! .'. This would cause the generated library to
11943 # depend on `.', always an invalid library. This was fixed in
11944 # development snapshots of GCC prior to 3.0.
11946 aix4 | aix4.
[01] | aix4.
[01].
*)
11947 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11949 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
11952 can_build_shared
=no
11956 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11957 # soname into executable. Probably we can add versioning support to
11958 # collect2, so additional links can be useful in future.
11959 if test "$aix_use_runtimelinking" = yes; then
11960 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11961 # instead of lib<name>.a to let people know that these are not
11962 # typical AIX shared libraries.
11963 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11965 # We preserve .a as extension for shared libraries through AIX4.2
11966 # and later when we are not doing run time linking.
11967 library_names_spec
='${libname}${release}.a $libname.a'
11968 soname_spec
='${libname}${release}${shared_ext}$major'
11970 shlibpath_var
=LIBPATH
11975 library_names_spec
='$libname.ixlibrary $libname.a'
11976 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11977 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'
11981 library_names_spec
='${libname}${shared_ext}'
11982 dynamic_linker
="$host_os ld.so"
11983 shlibpath_var
=LIBRARY_PATH
11989 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11990 soname_spec
='${libname}${release}${shared_ext}$major'
11991 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11992 shlibpath_var
=LD_LIBRARY_PATH
11993 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11994 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11995 # the default ld.so.conf also contains /usr/contrib/lib and
11996 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11997 # libtool to hard-code these into programs
12000 cygwin
* | mingw
* | pw32
*)
12001 version_type
=windows
12006 case $GCC,$host_os in
12007 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
12008 library_names_spec
='$libname.dll.a'
12009 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12010 postinstall_cmds
='base_file=`basename \${file}`~
12011 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
12012 dldir=$destdir/`dirname \$dlpath`~
12013 test -d \$dldir || mkdir -p \$dldir~
12014 $install_prog $dir/$dlname \$dldir/$dlname~
12015 chmod a+x \$dldir/$dlname'
12016 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12017 dlpath=$dir/\$dldll~
12019 shlibpath_overrides_runpath
=yes
12023 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12024 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12025 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
12028 # MinGW DLLs use traditional 'lib' prefix
12029 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12030 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12031 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
12032 # It is most probably a Windows format PATH printed by
12033 # mingw gcc, but we are running on Cygwin. Gcc prints its search
12034 # path with ; separators, and with drive letters. We can handle the
12035 # drive letters (cygwin fileutils understands them), so leave them,
12036 # especially as we might pass files found there to a mingw objdump,
12037 # which wouldn't understand a cygwinified path. Ahh.
12038 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12040 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12044 # pw32 DLLs use 'pw' prefix rather than 'lib'
12045 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12051 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12054 dynamic_linker
='Win32 ld.exe'
12055 # FIXME: first we should search . and the directory the executable is in
12059 darwin
* | rhapsody
*)
12060 dynamic_linker
="$host_os dyld"
12061 version_type
=darwin
12064 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12065 soname_spec
='${libname}${release}${major}$shared_ext'
12066 shlibpath_overrides_runpath
=yes
12067 shlibpath_var
=DYLD_LIBRARY_PATH
12068 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
12069 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
12070 if test "$GCC" = yes; then
12071 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"`
12073 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
12075 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12082 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12083 soname_spec
='${libname}${release}${shared_ext}$major'
12084 shlibpath_var
=LD_LIBRARY_PATH
12095 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12096 soname_spec
='${libname}${release}${shared_ext}$major'
12097 shlibpath_var
=LD_LIBRARY_PATH
12098 shlibpath_overrides_runpath
=no
12099 hardcode_into_libs
=yes
12100 dynamic_linker
='GNU ld.so'
12103 freebsd
* | dragonfly
*)
12104 # DragonFly does not have aout. When/if they implement a new
12105 # versioning mechanism, adjust this.
12106 if test -x /usr
/bin
/objformat
; then
12107 objformat
=`/usr/bin/objformat`
12110 freebsd
[123]*) objformat
=aout
;;
12111 *) objformat
=elf
;;
12114 version_type
=freebsd-
$objformat
12115 case $version_type in
12117 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12122 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12126 shlibpath_var
=LD_LIBRARY_PATH
12129 shlibpath_overrides_runpath
=yes
12131 freebsd3.
[01]* | freebsdelf3.
[01]*)
12132 shlibpath_overrides_runpath
=yes
12133 hardcode_into_libs
=yes
12135 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12136 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12137 shlibpath_overrides_runpath
=no
12138 hardcode_into_libs
=yes
12140 freebsd
*) # from 4.6 on
12141 shlibpath_overrides_runpath
=yes
12142 hardcode_into_libs
=yes
12151 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12152 soname_spec
='${libname}${release}${shared_ext}$major'
12153 shlibpath_var
=LD_LIBRARY_PATH
12154 hardcode_into_libs
=yes
12157 hpux9
* | hpux10
* | hpux11
*)
12158 # Give a soname corresponding to the major version so that dld.sl refuses to
12159 # link against other versions.
12166 hardcode_into_libs
=yes
12167 dynamic_linker
="$host_os dld.so"
12168 shlibpath_var
=LD_LIBRARY_PATH
12169 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12170 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12171 soname_spec
='${libname}${release}${shared_ext}$major'
12172 if test "X$HPUX_IA64_MODE" = X32
; then
12173 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12175 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12177 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12181 hardcode_into_libs
=yes
12182 dynamic_linker
="$host_os dld.sl"
12183 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12184 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12185 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12186 soname_spec
='${libname}${release}${shared_ext}$major'
12187 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12188 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12192 dynamic_linker
="$host_os dld.sl"
12193 shlibpath_var
=SHLIB_PATH
12194 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12195 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12196 soname_spec
='${libname}${release}${shared_ext}$major'
12199 # HP-UX runs *really* slowly unless shared libraries are mode 555.
12200 postinstall_cmds
='chmod 555 $lib'
12207 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12208 soname_spec
='${libname}${release}${shared_ext}$major'
12209 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12210 shlibpath_var
=LD_LIBRARY_PATH
12211 shlibpath_overrides_runpath
=no
12212 hardcode_into_libs
=yes
12215 irix5
* | irix6
* | nonstopux
*)
12217 nonstopux
*) version_type
=nonstopux
;;
12219 if test "$lt_cv_prog_gnu_ld" = yes; then
12227 soname_spec
='${libname}${release}${shared_ext}$major'
12228 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12230 irix5
* | nonstopux
*)
12231 libsuff
= shlibsuff
=
12234 case $LD in # libtool.m4 will add one of these switches to LD
12235 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12236 libsuff
= shlibsuff
= libmagic
=32-bit;;
12237 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12238 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12239 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12240 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12241 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12245 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12246 shlibpath_overrides_runpath
=no
12247 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12248 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
12249 hardcode_into_libs
=yes
12252 # No shared lib support for Linux oldld, aout, or coff.
12253 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12257 # This must be Linux ELF.
12262 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12263 soname_spec
='${libname}${release}${shared_ext}$major'
12264 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12265 shlibpath_var
=LD_LIBRARY_PATH
12266 shlibpath_overrides_runpath
=no
12267 # This implies no fast_install, which is unacceptable.
12268 # Some rework will be needed to allow for fast_install
12269 # before this can be enabled.
12270 hardcode_into_libs
=yes
12272 # find out which ABI we are using
12274 case "$host_cpu" in
12275 x86_64
*|s390x
*|powerpc64
*)
12276 echo '#line 12276 "configure"' > conftest.
$ac_ext
12277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12278 (eval $ac_compile) 2>&5
12280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12281 (exit $ac_status); }; then
12282 case `/usr/bin/file conftest.$ac_objext` in
12285 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
12293 # Append ld.so.conf contents to the search path
12294 if test -f /etc
/ld.so.conf
; then
12295 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' ' '`
12296 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
12299 # We used to test for /lib/ld.so.1 and disable shared libraries on
12300 # powerpc, because MkLinux only supported shared libraries with the
12301 # GNU dynamic linker. Since this was broken with cross compilers,
12302 # most powerpc-linux boxes support dynamic linking these days and
12303 # people can always --disable-shared, the test was removed, and we
12304 # assume the GNU/Linux dynamic linker is in use.
12305 dynamic_linker
='GNU/Linux ld.so'
12312 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12313 soname_spec
='${libname}${release}${shared_ext}$major'
12314 shlibpath_var
=LD_LIBRARY_PATH
12315 shlibpath_overrides_runpath
=no
12316 hardcode_into_libs
=yes
12317 dynamic_linker
='GNU ld.so'
12324 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
12325 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12326 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12327 dynamic_linker
='NetBSD (a.out) ld.so'
12329 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12330 soname_spec
='${libname}${release}${shared_ext}$major'
12331 dynamic_linker
='NetBSD ld.elf_so'
12333 shlibpath_var
=LD_LIBRARY_PATH
12334 shlibpath_overrides_runpath
=yes
12335 hardcode_into_libs
=yes
12340 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12341 shlibpath_var
=LD_LIBRARY_PATH
12342 shlibpath_overrides_runpath
=yes
12349 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12350 soname_spec
='${libname}${release}${shared_ext}$major'
12351 shlibpath_var
=LD_LIBRARY_PATH
12352 shlibpath_overrides_runpath
=yes
12357 sys_lib_dlsearch_path_spec
="/usr/lib"
12359 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12361 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
12362 *) need_version
=no
;;
12364 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12365 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12366 shlibpath_var
=LD_LIBRARY_PATH
12367 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12369 openbsd2.
[89] | openbsd2.
[89].
*)
12370 shlibpath_overrides_runpath
=no
12373 shlibpath_overrides_runpath
=yes
12377 shlibpath_overrides_runpath
=yes
12382 libname_spec
='$name'
12385 library_names_spec
='$libname${shared_ext} $libname.a'
12386 dynamic_linker
='OS/2 ld.exe'
12387 shlibpath_var
=LIBPATH
12390 osf3
* | osf4
* | osf5
*)
12394 soname_spec
='${libname}${release}${shared_ext}$major'
12395 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12396 shlibpath_var
=LD_LIBRARY_PATH
12397 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12398 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
12405 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12406 soname_spec
='${libname}${release}${shared_ext}$major'
12407 shlibpath_var
=LD_LIBRARY_PATH
12408 shlibpath_overrides_runpath
=yes
12409 hardcode_into_libs
=yes
12410 # ldd complains unless libraries are executable
12411 postinstall_cmds
='chmod +x $lib'
12416 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12417 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12418 shlibpath_var
=LD_LIBRARY_PATH
12419 shlibpath_overrides_runpath
=yes
12420 if test "$with_gnu_ld" = yes; then
12428 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12429 soname_spec
='${libname}${release}${shared_ext}$major'
12430 shlibpath_var
=LD_LIBRARY_PATH
12431 case $host_vendor in
12433 shlibpath_overrides_runpath
=no
12435 export_dynamic_flag_spec
='${wl}-Blargedynsym'
12436 runpath_var
=LD_RUN_PATH
12444 shlibpath_overrides_runpath
=no
12445 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12451 if test -d /usr
/nec
;then
12453 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12454 soname_spec
='$libname${shared_ext}.$major'
12455 shlibpath_var
=LD_LIBRARY_PATH
12459 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12460 version_type
=freebsd-elf
12463 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12464 soname_spec
='${libname}${release}${shared_ext}$major'
12465 shlibpath_var
=LD_LIBRARY_PATH
12466 hardcode_into_libs
=yes
12467 if test "$with_gnu_ld" = yes; then
12468 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12469 shlibpath_overrides_runpath
=no
12471 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12472 shlibpath_overrides_runpath
=yes
12475 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12479 sys_lib_dlsearch_path_spec
='/usr/lib'
12484 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12485 soname_spec
='${libname}${release}${shared_ext}$major'
12486 shlibpath_var
=LD_LIBRARY_PATH
12493 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12494 echo "${ECHO_T}$dynamic_linker" >&6
12495 test "$dynamic_linker" = no
&& can_build_shared
=no
12497 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12498 if test "$GCC" = yes; then
12499 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12502 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12503 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
12504 hardcode_action_CXX
=
12505 if test -n "$hardcode_libdir_flag_spec_CXX" || \
12506 test -n "$runpath_var_CXX" || \
12507 test "X$hardcode_automatic_CXX" = "Xyes" ; then
12509 # We can hardcode non-existant directories.
12510 if test "$hardcode_direct_CXX" != no
&&
12511 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12512 # have to relink, otherwise we might link with an installed library
12513 # when we should be linking with a yet-to-be-installed one
12514 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
12515 test "$hardcode_minus_L_CXX" != no
; then
12516 # Linking always hardcodes the temporary library directory.
12517 hardcode_action_CXX
=relink
12519 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12520 hardcode_action_CXX
=immediate
12523 # We cannot hardcode anything, or else we can only hardcode existing
12525 hardcode_action_CXX
=unsupported
12527 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
12528 echo "${ECHO_T}$hardcode_action_CXX" >&6
12530 if test "$hardcode_action_CXX" = relink
; then
12531 # Fast installation is not supported
12532 enable_fast_install
=no
12533 elif test "$shlibpath_overrides_runpath" = yes ||
12534 test "$enable_shared" = no
; then
12535 # Fast installation is not necessary
12536 enable_fast_install
=needless
12540 # The else clause should only fire when bootstrapping the
12541 # libtool distribution, otherwise you forgot to ship ltmain.sh
12542 # with your package, and you will get complaints that there are
12543 # no rules to generate ltmain.sh.
12544 if test -f "$ltmain"; then
12545 # See if we are running on zsh, and set the options which allow our commands through
12546 # without removal of \ escapes.
12547 if test -n "${ZSH_VERSION+set}" ; then
12548 setopt NO_GLOB_SUBST
12550 # Now quote all the things that may contain metacharacters while being
12551 # careful not to overquote the AC_SUBSTed values. We take copies of the
12552 # variables and quote the copies for generation of the libtool script.
12553 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
12555 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12556 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12557 deplibs_check_method reload_flag reload_cmds need_locks \
12558 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12559 lt_cv_sys_global_symbol_to_c_name_address \
12560 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12561 old_postinstall_cmds old_postuninstall_cmds \
12565 lt_prog_compiler_wl_CXX \
12566 lt_prog_compiler_pic_CXX \
12567 lt_prog_compiler_static_CXX \
12568 lt_prog_compiler_no_builtin_flag_CXX \
12569 export_dynamic_flag_spec_CXX \
12570 thread_safe_flag_spec_CXX \
12571 whole_archive_flag_spec_CXX \
12572 enable_shared_with_static_runtimes_CXX \
12573 old_archive_cmds_CXX \
12574 old_archive_from_new_cmds_CXX \
12575 predep_objects_CXX \
12576 postdep_objects_CXX \
12579 compiler_lib_search_path_CXX \
12581 archive_expsym_cmds_CXX \
12582 postinstall_cmds_CXX \
12583 postuninstall_cmds_CXX \
12584 old_archive_from_expsyms_cmds_CXX \
12585 allow_undefined_flag_CXX \
12586 no_undefined_flag_CXX \
12587 export_symbols_cmds_CXX \
12588 hardcode_libdir_flag_spec_CXX \
12589 hardcode_libdir_flag_spec_ld_CXX \
12590 hardcode_libdir_separator_CXX \
12591 hardcode_automatic_CXX \
12593 module_expsym_cmds_CXX \
12594 lt_cv_prog_compiler_c_o_CXX \
12595 exclude_expsyms_CXX \
12596 include_expsyms_CXX
; do
12599 old_archive_cmds_CXX | \
12600 old_archive_from_new_cmds_CXX | \
12601 archive_cmds_CXX | \
12602 archive_expsym_cmds_CXX | \
12603 module_cmds_CXX | \
12604 module_expsym_cmds_CXX | \
12605 old_archive_from_expsyms_cmds_CXX | \
12606 export_symbols_cmds_CXX | \
12607 extract_expsyms_cmds | reload_cmds | finish_cmds | \
12608 postinstall_cmds | postuninstall_cmds | \
12609 old_postinstall_cmds | old_postuninstall_cmds | \
12610 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
12611 # Double-quote double-evaled strings.
12612 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
12615 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
12621 *'\$0 --fallback-echo"')
12622 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12628 cat <<__EOF__ >> "$cfgfile"
12629 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
12631 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12633 # Shell to use when invoking shell scripts.
12636 # Whether or not to build shared libraries.
12637 build_libtool_libs=$enable_shared
12639 # Whether or not to build static libraries.
12640 build_old_libs=$enable_static
12642 # Whether or not to add -lc for building shared libraries.
12643 build_libtool_need_lc=$archive_cmds_need_lc_CXX
12645 # Whether or not to disallow shared libs when runtime libs are static
12646 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
12648 # Whether or not to optimize for fast installation.
12649 fast_install=$enable_fast_install
12652 host_alias=$host_alias
12656 # The build system.
12657 build_alias=$build_alias
12661 # An echo program that does not interpret backslashes.
12666 AR_FLAGS=$lt_AR_FLAGS
12671 # LTCC compiler flags.
12672 LTCFLAGS=$lt_LTCFLAGS
12674 # A language-specific compiler.
12675 CC=$lt_compiler_CXX
12677 # Is the compiler the GNU C compiler?
12680 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
12681 gcc_ver=\`gcc -dumpversion\`
12686 # The linker used to build libraries.
12689 # Whether we need hard or soft links.
12692 # A BSD-compatible nm program.
12695 # A symbol stripping program
12698 # Used to examine libraries when file_magic_cmd begins "file"
12699 MAGIC_CMD=$MAGIC_CMD
12701 # Used on cygwin: DLL creation program.
12704 # Used on cygwin: object dumper.
12707 # Used on cygwin: assembler.
12710 # The name of the directory that contains temporary libtool files.
12713 # How to create reloadable object files.
12714 reload_flag=$lt_reload_flag
12715 reload_cmds=$lt_reload_cmds
12717 # How to pass a linker flag through the compiler.
12718 wl=$lt_lt_prog_compiler_wl_CXX
12720 # Object file suffix (normally "o").
12721 objext="$ac_objext"
12723 # Old archive suffix (normally "a").
12726 # Shared library suffix (normally ".so").
12727 shrext_cmds='$shrext_cmds'
12729 # Executable file suffix (normally "").
12732 # Additional compiler flags for building library objects.
12733 pic_flag=$lt_lt_prog_compiler_pic_CXX
12736 # What is the maximum length of a command?
12737 max_cmd_len=$lt_cv_sys_max_cmd_len
12739 # Does compiler simultaneously support -c and -o options?
12740 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
12742 # Must we lock files when doing compilation?
12743 need_locks=$lt_need_locks
12745 # Do we need the lib prefix for modules?
12746 need_lib_prefix=$need_lib_prefix
12748 # Do we need a version for libraries?
12749 need_version=$need_version
12751 # Whether dlopen is supported.
12752 dlopen_support=$enable_dlopen
12754 # Whether dlopen of programs is supported.
12755 dlopen_self=$enable_dlopen_self
12757 # Whether dlopen of statically linked programs is supported.
12758 dlopen_self_static=$enable_dlopen_self_static
12760 # Compiler flag to prevent dynamic linking.
12761 link_static_flag=$lt_lt_prog_compiler_static_CXX
12763 # Compiler flag to turn off builtin functions.
12764 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
12766 # Compiler flag to allow reflexive dlopens.
12767 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
12769 # Compiler flag to generate shared objects directly from archives.
12770 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
12772 # Compiler flag to generate thread-safe objects.
12773 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
12775 # Library versioning type.
12776 version_type=$version_type
12778 # Format of library name prefix.
12779 libname_spec=$lt_libname_spec
12781 # List of archive names. First name is the real one, the rest are links.
12782 # The last name is the one that the linker finds with -lNAME.
12783 library_names_spec=$lt_library_names_spec
12785 # The coded name of the library, if different from the real name.
12786 soname_spec=$lt_soname_spec
12788 # Commands used to build and install an old-style archive.
12790 old_archive_cmds=$lt_old_archive_cmds_CXX
12791 old_postinstall_cmds=$lt_old_postinstall_cmds
12792 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12794 # Create an old-style archive from a shared archive.
12795 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
12797 # Create a temporary old-style archive to link instead of a shared archive.
12798 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
12800 # Commands used to build and install a shared archive.
12801 archive_cmds=$lt_archive_cmds_CXX
12802 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
12803 postinstall_cmds=$lt_postinstall_cmds
12804 postuninstall_cmds=$lt_postuninstall_cmds
12806 # Commands used to build a loadable module (assumed same as above if empty)
12807 module_cmds=$lt_module_cmds_CXX
12808 module_expsym_cmds=$lt_module_expsym_cmds_CXX
12810 # Commands to strip libraries.
12811 old_striplib=$lt_old_striplib
12812 striplib=$lt_striplib
12814 # Dependencies to place before the objects being linked to create a
12816 predep_objects=\`echo $lt_predep_objects_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
12818 # Dependencies to place after the objects being linked to create a
12820 postdep_objects=\`echo $lt_postdep_objects_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
12822 # Dependencies to place before the objects being linked to create a
12824 predeps=$lt_predeps_CXX
12826 # Dependencies to place after the objects being linked to create a
12828 postdeps=$lt_postdeps_CXX
12830 # The library search path used internally by the compiler when linking
12831 # a shared library.
12832 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"\`
12834 # Method to check whether dependent libraries are shared objects.
12835 deplibs_check_method=$lt_deplibs_check_method
12837 # Command to use when deplibs_check_method == file_magic.
12838 file_magic_cmd=$lt_file_magic_cmd
12840 # Flag that allows shared libraries with undefined symbols to be built.
12841 allow_undefined_flag=$lt_allow_undefined_flag_CXX
12843 # Flag that forces no undefined symbols.
12844 no_undefined_flag=$lt_no_undefined_flag_CXX
12846 # Commands used to finish a libtool library installation in a directory.
12847 finish_cmds=$lt_finish_cmds
12849 # Same as above, but a single script fragment to be evaled but not shown.
12850 finish_eval=$lt_finish_eval
12852 # Take the output of nm and produce a listing of raw symbols and C names.
12853 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12855 # Transform the output of nm in a proper C declaration
12856 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12858 # Transform the output of nm in a C name address pair
12859 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12861 # This is the shared library runtime path variable.
12862 runpath_var=$runpath_var
12864 # This is the shared library path variable.
12865 shlibpath_var=$shlibpath_var
12867 # Is shlibpath searched before the hard-coded library search path?
12868 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12870 # How to hardcode a shared library path into an executable.
12871 hardcode_action=$hardcode_action_CXX
12873 # Whether we should hardcode library paths into libraries.
12874 hardcode_into_libs=$hardcode_into_libs
12876 # Flag to hardcode \$libdir into a binary during linking.
12877 # This must work even if \$libdir does not exist.
12878 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
12880 # If ld is used when linking, flag to hardcode \$libdir into
12881 # a binary during linking. This must work even if \$libdir does
12883 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
12885 # Whether we need a single -rpath flag with a separated argument.
12886 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
12888 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
12889 # resulting binary.
12890 hardcode_direct=$hardcode_direct_CXX
12892 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
12893 # resulting binary.
12894 hardcode_minus_L=$hardcode_minus_L_CXX
12896 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
12897 # the resulting binary.
12898 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
12900 # Set to yes if building a shared library automatically hardcodes DIR into the library
12901 # and all subsequent libraries and executables linked against it.
12902 hardcode_automatic=$hardcode_automatic_CXX
12904 # Variables whose values should be saved in libtool wrapper scripts and
12905 # restored at relink time.
12906 variables_saved_for_relink="$variables_saved_for_relink"
12908 # Whether libtool must link a program against all its dependency libraries.
12909 link_all_deplibs=$link_all_deplibs_CXX
12911 # Compile-time system search path for libraries
12912 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"\`
12914 # Run-time system search path for libraries
12915 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12917 # Fix the shell variable \$srcfile for the compiler.
12918 fix_srcfile_path="$fix_srcfile_path_CXX"
12920 # Set to yes if exported symbols are required.
12921 always_export_symbols=$always_export_symbols_CXX
12923 # The commands to list exported symbols.
12924 export_symbols_cmds=$lt_export_symbols_cmds_CXX
12926 # The commands to extract the exported symbol list from a shared archive.
12927 extract_expsyms_cmds=$lt_extract_expsyms_cmds
12929 # Symbols that should not be listed in the preloaded symbols.
12930 exclude_expsyms=$lt_exclude_expsyms_CXX
12932 # Symbols that must always be exported.
12933 include_expsyms=$lt_include_expsyms_CXX
12935 # ### END LIBTOOL TAG CONFIG: $tagname
12941 # If there is no Makefile yet, we rely on a make rule to execute
12942 # `config.status --recheck' to rerun these tests and create the
12943 # libtool script then.
12944 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
12945 if test -f "$ltmain_in"; then
12946 test -f Makefile
&& make "$ltmain"
12952 ac_cpp
='$CPP $CPPFLAGS'
12953 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12954 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12955 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12961 with_gnu_ldcxx
=$with_gnu_ld
12962 with_gnu_ld
=$lt_save_with_gnu_ld
12963 lt_cv_path_LDCXX
=$lt_cv_path_LD
12964 lt_cv_path_LD
=$lt_save_path_LD
12965 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
12966 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
12974 if test -n "$F77" && test "X$F77" != "Xno"; then
12977 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
12978 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12979 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
12982 archive_cmds_need_lc_F77
=no
12983 allow_undefined_flag_F77
=
12984 always_export_symbols_F77
=no
12985 archive_expsym_cmds_F77
=
12986 export_dynamic_flag_spec_F77
=
12987 hardcode_direct_F77
=no
12988 hardcode_libdir_flag_spec_F77
=
12989 hardcode_libdir_flag_spec_ld_F77
=
12990 hardcode_libdir_separator_F77
=
12991 hardcode_minus_L_F77
=no
12992 hardcode_automatic_F77
=no
12994 module_expsym_cmds_F77
=
12995 link_all_deplibs_F77
=unknown
12996 old_archive_cmds_F77
=$old_archive_cmds
12997 no_undefined_flag_F77
=
12998 whole_archive_flag_spec_F77
=
12999 enable_shared_with_static_runtimes_F77
=no
13001 # Source file extension for f77 test sources.
13004 # Object file extension for compiled f77 test sources.
13008 # Code to be used in simple compile tests
13009 lt_simple_compile_test_code
=" subroutine t\n return\n end\n"
13011 # Code to be used in simple link tests
13012 lt_simple_link_test_code
=" program t\n end\n"
13014 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13016 # If no C compiler was specified, use CC.
13019 # If no C compiler flags were specified, use CFLAGS.
13020 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13022 # Allow CC to be a program name with arguments.
13026 # save warnings/boilerplate of simple test code
13027 ac_outfile
=conftest.
$ac_objext
13028 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
13029 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13030 _lt_compiler_boilerplate
=`cat conftest.err`
13033 ac_outfile
=conftest.
$ac_objext
13034 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
13035 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13036 _lt_linker_boilerplate
=`cat conftest.err`
13040 # Allow CC to be a program name with arguments.
13045 for cc_temp
in $compiler""; do
13047 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13048 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13053 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13056 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13057 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
13058 echo "$as_me:$LINENO: result: $can_build_shared" >&5
13059 echo "${ECHO_T}$can_build_shared" >&6
13061 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13062 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
13063 test "$can_build_shared" = "no" && enable_shared
=no
13065 # On AIX, shared libraries and static libraries use the same namespace, and
13066 # are all built from PIC.
13069 test "$enable_shared" = yes && enable_static
=no
13070 if test -n "$RANLIB"; then
13071 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13072 postinstall_cmds
='$RANLIB $lib'
13076 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13077 test "$enable_shared" = yes && enable_static
=no
13081 echo "$as_me:$LINENO: result: $enable_shared" >&5
13082 echo "${ECHO_T}$enable_shared" >&6
13084 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13085 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
13086 # Make sure either enable_shared or enable_static is yes.
13087 test "$enable_shared" = yes || enable_static
=yes
13088 echo "$as_me:$LINENO: result: $enable_static" >&5
13089 echo "${ECHO_T}$enable_static" >&6
13094 lt_prog_compiler_wl_F77
=
13095 lt_prog_compiler_pic_F77
=
13096 lt_prog_compiler_static_F77
=
13098 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13099 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
13101 if test "$GCC" = yes; then
13102 lt_prog_compiler_wl_F77
='-Wl,'
13103 lt_prog_compiler_static_F77
='-static'
13107 # All AIX code is PIC.
13108 if test "$host_cpu" = ia64
; then
13109 # AIX 5 now supports IA64 processor
13110 lt_prog_compiler_static_F77
='-Bstatic'
13115 # FIXME: we need at least 68020 code to build shared libraries, but
13116 # adding the `-m68020' flag to GCC prevents building anything better,
13118 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
13121 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13122 # PIC is the default for these OSes.
13125 mingw
* | pw32
* | os2
*)
13126 # This hack is so that the source file can tell whether it is being
13127 # built for inclusion in a dll (and should export symbols for example).
13128 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13131 darwin
* | rhapsody
*)
13132 # PIC is the default on this platform
13133 # Common symbols not allowed in MH_DYLIB files
13134 lt_prog_compiler_pic_F77
='-fno-common'
13138 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13139 # Instead, we relocate shared libraries at runtime.
13143 # Just because we use GCC doesn't mean we suddenly get shared libraries
13144 # on systems that don't support them.
13145 lt_prog_compiler_can_build_shared_F77
=no
13150 if test -d /usr
/nec
; then
13151 lt_prog_compiler_pic_F77
=-Kconform_pic
13156 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13157 # not for PA HP-UX.
13163 lt_prog_compiler_pic_F77
='-fPIC'
13169 lt_prog_compiler_pic_F77
='-fPIC'
13173 # PORTME Check for flag to pass linker flags through the system compiler.
13176 lt_prog_compiler_wl_F77
='-Wl,'
13177 if test "$host_cpu" = ia64
; then
13178 # AIX 5 now supports IA64 processor
13179 lt_prog_compiler_static_F77
='-Bstatic'
13181 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
13185 # PIC is the default on this platform
13186 # Common symbols not allowed in MH_DYLIB files
13187 case $cc_basename in
13189 lt_prog_compiler_pic_F77
='-qnocommon'
13190 lt_prog_compiler_wl_F77
='-Wl,'
13195 mingw
* | pw32
* | os2
*)
13196 # This hack is so that the source file can tell whether it is being
13197 # built for inclusion in a dll (and should export symbols for example).
13198 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13201 hpux9
* | hpux10
* | hpux11
*)
13202 lt_prog_compiler_wl_F77
='-Wl,'
13203 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13204 # not for PA HP-UX.
13210 lt_prog_compiler_pic_F77
='+Z'
13213 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13214 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
13217 irix5
* | irix6
* | nonstopux
*)
13218 lt_prog_compiler_wl_F77
='-Wl,'
13219 # PIC (with -KPIC) is the default.
13220 lt_prog_compiler_static_F77
='-non_shared'
13224 lt_prog_compiler_pic_F77
='-KPIC'
13225 lt_prog_compiler_static_F77
='-Bstatic'
13229 case $cc_basename in
13231 lt_prog_compiler_wl_F77
='-Wl,'
13232 lt_prog_compiler_pic_F77
='-KPIC'
13233 lt_prog_compiler_static_F77
='-static'
13235 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
13236 # Portland Group compilers (*not* the Pentium gcc compiler,
13237 # which looks to be a dead project)
13238 lt_prog_compiler_wl_F77
='-Wl,'
13239 lt_prog_compiler_pic_F77
='-fpic'
13240 lt_prog_compiler_static_F77
='-Bstatic'
13243 lt_prog_compiler_wl_F77
='-Wl,'
13244 # All Alpha code is PIC.
13245 lt_prog_compiler_static_F77
='-non_shared'
13250 osf3
* | osf4
* | osf5
*)
13251 lt_prog_compiler_wl_F77
='-Wl,'
13252 # All OSF/1 code is PIC.
13253 lt_prog_compiler_static_F77
='-non_shared'
13257 lt_prog_compiler_pic_F77
='-KPIC'
13258 lt_prog_compiler_static_F77
='-Bstatic'
13259 case $cc_basename in
13260 f77
* | f90
* | f95
*)
13261 lt_prog_compiler_wl_F77
='-Qoption ld ';;
13263 lt_prog_compiler_wl_F77
='-Wl,';;
13268 lt_prog_compiler_wl_F77
='-Qoption ld '
13269 lt_prog_compiler_pic_F77
='-PIC'
13270 lt_prog_compiler_static_F77
='-Bstatic'
13273 sysv4 | sysv4.2uw2
* | sysv4.3
*)
13274 lt_prog_compiler_wl_F77
='-Wl,'
13275 lt_prog_compiler_pic_F77
='-KPIC'
13276 lt_prog_compiler_static_F77
='-Bstatic'
13280 if test -d /usr
/nec
;then
13281 lt_prog_compiler_pic_F77
='-Kconform_pic'
13282 lt_prog_compiler_static_F77
='-Bstatic'
13286 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13287 lt_prog_compiler_wl_F77
='-Wl,'
13288 lt_prog_compiler_pic_F77
='-KPIC'
13289 lt_prog_compiler_static_F77
='-Bstatic'
13293 lt_prog_compiler_wl_F77
='-Wl,'
13294 lt_prog_compiler_can_build_shared_F77
=no
13298 lt_prog_compiler_pic_F77
='-pic'
13299 lt_prog_compiler_static_F77
='-Bstatic'
13303 lt_prog_compiler_can_build_shared_F77
=no
13308 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13309 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
13312 # Check to make sure the PIC flag actually works.
13314 if test -n "$lt_prog_compiler_pic_F77"; then
13316 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13317 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
13318 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13319 echo $ECHO_N "(cached) $ECHO_C" >&6
13321 lt_prog_compiler_pic_works_F77
=no
13322 ac_outfile
=conftest.
$ac_objext
13323 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13324 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
13325 # Insert the option either (1) after the last *FLAGS variable, or
13326 # (2) before a word containing "conftest.", or (3) at the end.
13327 # Note that $ac_compile itself does not contain backslashes and begins
13328 # with a dollar sign (not a hyphen), so the echo should work correctly.
13329 # The option is referenced via a variable to avoid confusing sed.
13330 lt_compile
=`echo "$ac_compile" | $SED \
13331 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13332 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13333 -e 's:$: $lt_compiler_flag:'`
13334 (eval echo "\"\$as_me:13334: $lt_compile\"" >&5)
13335 (eval "$lt_compile" 2>conftest.err
)
13337 cat conftest.err
>&5
13338 echo "$as_me:13338: \$? = $ac_status" >&5
13339 if (exit $ac_status) && test -s "$ac_outfile"; then
13340 # The compiler can only warn and ignore the option if not recognized
13341 # So say no if there are warnings other than the usual output.
13342 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
13343 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13344 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13345 lt_prog_compiler_pic_works_F77
=yes
13351 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13352 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
13354 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
13355 case $lt_prog_compiler_pic_F77 in
13357 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
13360 lt_prog_compiler_pic_F77
=
13361 lt_prog_compiler_can_build_shared_F77
=no
13366 # For platforms which do not support PIC, -DPIC is meaningless:
13368 lt_prog_compiler_pic_F77
=
13371 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
13376 # Check to make sure the static flag actually works.
13378 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
13379 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13380 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
13381 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
13382 echo $ECHO_N "(cached) $ECHO_C" >&6
13384 lt_prog_compiler_static_works_F77
=no
13385 save_LDFLAGS
="$LDFLAGS"
13386 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13387 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
13388 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13389 # The linker can only warn and ignore the option if not recognized
13390 # So say no if there are warnings
13391 if test -s conftest.err
; then
13392 # Append any errors to the config.log.
13393 cat conftest.err
1>&5
13394 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
13395 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13396 if diff conftest.exp conftest.er2
>/dev
/null
; then
13397 lt_prog_compiler_static_works_F77
=yes
13400 lt_prog_compiler_static_works_F77
=yes
13404 LDFLAGS
="$save_LDFLAGS"
13407 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
13408 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6
13410 if test x
"$lt_prog_compiler_static_works_F77" = xyes
; then
13413 lt_prog_compiler_static_F77
=
13417 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13418 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13419 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13420 echo $ECHO_N "(cached) $ECHO_C" >&6
13422 lt_cv_prog_compiler_c_o_F77
=no
13423 $rm -r conftest
2>/dev
/null
13427 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13429 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13430 # Insert the option either (1) after the last *FLAGS variable, or
13431 # (2) before a word containing "conftest.", or (3) at the end.
13432 # Note that $ac_compile itself does not contain backslashes and begins
13433 # with a dollar sign (not a hyphen), so the echo should work correctly.
13434 lt_compile
=`echo "$ac_compile" | $SED \
13435 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13436 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13437 -e 's:$: $lt_compiler_flag:'`
13438 (eval echo "\"\$as_me:13438: $lt_compile\"" >&5)
13439 (eval "$lt_compile" 2>out
/conftest.err
)
13441 cat out
/conftest.err
>&5
13442 echo "$as_me:13442: \$? = $ac_status" >&5
13443 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13445 # The compiler can only warn and ignore the option if not recognized
13446 # So say no if there are warnings
13447 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
13448 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13449 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13450 lt_cv_prog_compiler_c_o_F77
=yes
13455 # SGI C++ compiler will create directory out/ii_files/ for
13456 # template instantiation
13457 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
13458 $rm out
/* && rmdir out
13464 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13465 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
13468 hard_links
="nottested"
13469 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
13470 # do not overwrite the value of need_locks provided by the user
13471 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13472 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13475 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13477 ln conftest.a conftest.b
2>&5 || hard_links
=no
13478 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13479 echo "$as_me:$LINENO: result: $hard_links" >&5
13480 echo "${ECHO_T}$hard_links" >&6
13481 if test "$hard_links" = no
; then
13482 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13483 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13490 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13491 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13494 allow_undefined_flag_F77
=
13495 enable_shared_with_static_runtimes_F77
=no
13497 archive_expsym_cmds_F77
=
13498 old_archive_From_new_cmds_F77
=
13499 old_archive_from_expsyms_cmds_F77
=
13500 export_dynamic_flag_spec_F77
=
13501 whole_archive_flag_spec_F77
=
13502 thread_safe_flag_spec_F77
=
13503 hardcode_libdir_flag_spec_F77
=
13504 hardcode_libdir_flag_spec_ld_F77
=
13505 hardcode_libdir_separator_F77
=
13506 hardcode_direct_F77
=no
13507 hardcode_minus_L_F77
=no
13508 hardcode_shlibpath_var_F77
=unsupported
13509 link_all_deplibs_F77
=unknown
13510 hardcode_automatic_F77
=no
13512 module_expsym_cmds_F77
=
13513 always_export_symbols_F77
=no
13514 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13515 # include_expsyms should be a list of space-separated symbols to be *always*
13516 # included in the symbol list
13517 include_expsyms_F77
=
13518 # exclude_expsyms can be an extended regexp of symbols to exclude
13519 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13520 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13521 # as well as any symbol that contains `d'.
13522 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
13523 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13524 # platforms (ab)use it in PIC code, but their linkers get confused if
13525 # the symbol is explicitly referenced. Since portable code cannot
13526 # rely on this symbol name, it's probably fine to never include it in
13527 # preloaded symbol tables.
13528 extract_expsyms_cmds
=
13529 # Just being paranoid about ensuring that cc_basename is set.
13530 for cc_temp
in $compiler""; do
13532 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13533 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13538 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13541 cygwin
* | mingw
* | pw32
*)
13542 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13543 # When not using gcc, we currently assume that we are using
13544 # Microsoft Visual C++.
13545 if test "$GCC" != yes; then
13550 # we just hope/assume this is gcc and not c89 (= MSVC++)
13559 if test "$with_gnu_ld" = yes; then
13560 # If archive_cmds runs LD, not CC, wlarc should be empty
13563 # Set some defaults for GNU ld with shared library support. These
13564 # are reset later if shared libraries are not supported. Putting them
13565 # here allows them to be overridden if necessary.
13566 runpath_var
=LD_RUN_PATH
13567 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
13568 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
13569 # ancient GNU ld didn't support --whole-archive et. al.
13570 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
13571 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13573 whole_archive_flag_spec_F77
=
13575 supports_anon_versioning
=no
13576 case `$LD -v 2>/dev/null` in
13577 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
13578 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
13579 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
13580 *\
2.11.
*) ;; # other 2.11 versions
13581 *) supports_anon_versioning
=yes ;;
13584 # See if GNU ld supports shared libraries.
13586 aix3
* | aix4
* | aix5
*)
13587 # On AIX/PPC, the GNU linker is very broken
13588 if test "$host_cpu" != ia64
; then
13592 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
13593 *** to be unable to reliably create shared libraries on AIX.
13594 *** Therefore, libtool is disabling shared libraries support. If you
13595 *** really care for shared libraries, you may want to modify your PATH
13596 *** so that a non-GNU linker is found, and then restart.
13603 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)'
13604 hardcode_libdir_flag_spec_F77
='-L$libdir'
13605 hardcode_minus_L_F77
=yes
13607 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
13608 # that the semantics of dynamic libraries on AmigaOS, at least up
13609 # to version 4, is to share data among multiple programs linked
13610 # with the same dynamic library. Since this doesn't match the
13611 # behavior of shared libraries on other platforms, we can't use
13617 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13618 allow_undefined_flag_F77
=unsupported
13619 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13620 # support --undefined. This deserves some investigation. FIXME
13621 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13627 cygwin
* | mingw
* | pw32
*)
13628 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
13629 # as there is no search path for DLLs.
13630 hardcode_libdir_flag_spec_F77
='-L$libdir'
13631 allow_undefined_flag_F77
=unsupported
13632 always_export_symbols_F77
=no
13633 enable_shared_with_static_runtimes_F77
=yes
13634 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13636 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
13637 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13638 # If the export-symbols file already is a .def file (1st line
13639 # is EXPORTS), use it as is; otherwise, prepend...
13640 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13641 cp $export_symbols $output_objdir/$soname.def;
13643 echo EXPORTS > $output_objdir/$soname.def;
13644 cat $export_symbols >> $output_objdir/$soname.def;
13646 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13653 hardcode_direct_F77
=no
13654 hardcode_shlibpath_var_F77
=no
13655 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
13656 export_dynamic_flag_spec_F77
='${wl}-E'
13657 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13658 # Instead, shared libraries are loaded at an image base (0x10000000 by
13659 # default) and relocated if they conflict, which is a slow very memory
13660 # consuming and fragmenting process. To avoid this, we pick a random,
13661 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13662 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13663 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'
13664 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'
13668 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13670 case $cc_basename,$host_cpu in
13671 pgcc
*) # Portland Group C compiler
13672 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'
13673 tmp_addflag
=' $pic_flag'
13675 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
13676 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'
13677 tmp_addflag
=' $pic_flag -Mnomain' ;;
13678 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
13679 tmp_addflag
=' -i_dynamic' ;;
13680 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
13681 tmp_addflag
=' -i_dynamic -nofor_main' ;;
13682 ifc
* | ifort
*) # Intel Fortran compiler
13683 tmp_addflag
=' -nofor_main' ;;
13685 archive_cmds_F77
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13687 if test $supports_anon_versioning = yes; then
13688 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
13689 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13690 $echo "local: *; };" >> $output_objdir/$libname.ver~
13691 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13699 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
13700 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13703 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13704 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13709 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
13713 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13714 *** create shared libraries on Solaris systems. Therefore, libtool
13715 *** is disabling shared libraries support. We urge you to upgrade GNU
13716 *** binutils to release 2.9.1 or newer. Another option is to modify
13717 *** your PATH or compiler configuration so that the native linker is
13718 *** used, and then restart.
13721 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13722 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13723 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13729 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
13730 case `$LD -v 2>&1` in
13731 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
13735 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
13736 *** reliably create shared libraries on SCO systems. Therefore, libtool
13737 *** is disabling shared libraries support. We urge you to upgrade GNU
13738 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
13739 *** your PATH or compiler configuration so that the native linker is
13740 *** used, and then restart.
13745 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13746 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
13747 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
13748 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
13757 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13759 hardcode_direct_F77
=yes
13760 hardcode_shlibpath_var_F77
=no
13764 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13765 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13766 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13773 if test "$ld_shlibs_F77" = no
; then
13775 hardcode_libdir_flag_spec_F77
=
13776 export_dynamic_flag_spec_F77
=
13777 whole_archive_flag_spec_F77
=
13780 # PORTME fill in a description of your system's linker (not GNU ld)
13783 allow_undefined_flag_F77
=unsupported
13784 always_export_symbols_F77
=yes
13785 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'
13786 # Note: this linker hardcodes the directories in LIBPATH if there
13787 # are no directories specified by -L.
13788 hardcode_minus_L_F77
=yes
13789 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
13790 # Neither direct hardcoding nor static linking is supported with a
13792 hardcode_direct_F77
=unsupported
13797 if test "$host_cpu" = ia64
; then
13798 # On IA64, the linker does run time linking by default, so we don't
13799 # have to do anything special.
13800 aix_use_runtimelinking
=no
13801 exp_sym_flag
='-Bexport'
13804 # If we're using GNU nm, then we don't want the "-C" option.
13805 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13806 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
13807 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'
13809 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'
13811 aix_use_runtimelinking
=no
13813 # Test if we are trying to use run time linking or normal
13814 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13815 # need to do runtime linking.
13816 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
13817 for ld_flag
in $LDFLAGS; do
13818 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
13819 aix_use_runtimelinking
=yes
13826 exp_sym_flag
='-bexport'
13827 no_entry_flag
='-bnoentry'
13830 # When large executables or shared objects are built, AIX ld can
13831 # have problems creating the table of contents. If linking a library
13832 # or program results in "error TOC overflow" add -mminimal-toc to
13833 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13834 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13836 archive_cmds_F77
=''
13837 hardcode_direct_F77
=yes
13838 hardcode_libdir_separator_F77
=':'
13839 link_all_deplibs_F77
=yes
13841 if test "$GCC" = yes; then
13842 case $host_os in aix4.
[012]|aix4.
[012].
*)
13843 # We only want to do this on AIX 4.2 and lower, the check
13844 # below for broken collect2 doesn't work under 4.3+
13845 collect2name
=`${CC} -print-prog-name=collect2`
13846 if test -f "$collect2name" && \
13847 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
13849 # We have reworked collect2
13850 hardcode_direct_F77
=yes
13852 # We have old collect2
13853 hardcode_direct_F77
=unsupported
13854 # It fails to find uninstalled libraries when the uninstalled
13855 # path is not listed in the libpath. Setting hardcode_minus_L
13856 # to unsupported forces relinking
13857 hardcode_minus_L_F77
=yes
13858 hardcode_libdir_flag_spec_F77
='-L$libdir'
13859 hardcode_libdir_separator_F77
=
13863 shared_flag
='-shared'
13864 if test "$aix_use_runtimelinking" = yes; then
13865 shared_flag
="$shared_flag "'${wl}-G'
13869 if test "$host_cpu" = ia64
; then
13870 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13871 # chokes on -Wl,-G. The following line is correct:
13874 if test "$aix_use_runtimelinking" = yes; then
13875 shared_flag
='${wl}-G'
13877 shared_flag
='${wl}-bM:SRE'
13882 # It seems that -bexpall does not export symbols beginning with
13883 # underscore (_), so it is better to generate a list of symbols to export.
13884 always_export_symbols_F77
=yes
13885 if test "$aix_use_runtimelinking" = yes; then
13886 # Warning - without using the other runtime loading flags (-brtl),
13887 # -berok will link without error, but may produce a broken library.
13888 allow_undefined_flag_F77
='-berok'
13889 # Determine the default libpath from the value encoded in an empty executable.
13890 cat >conftest.
$ac_ext <<_ACEOF
13895 rm -f conftest.
$ac_objext conftest
$ac_exeext
13896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13897 (eval $ac_link) 2>conftest.er1
13899 grep -v '^ *+' conftest.er1
>conftest.err
13901 cat conftest.err
>&5
13902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13903 (exit $ac_status); } &&
13904 { ac_try
='test -z "$ac_f77_werror_flag"
13905 || test ! -s conftest.err'
13906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13907 (eval $ac_try) 2>&5
13909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13910 (exit $ac_status); }; } &&
13911 { ac_try
='test -s conftest$ac_exeext'
13912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13913 (eval $ac_try) 2>&5
13915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13916 (exit $ac_status); }; }; then
13918 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13920 # Check for a 64-bit object if we didn't find anything.
13921 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; }
13924 echo "$as_me: failed program was:" >&5
13925 sed 's/^/| /' conftest.
$ac_ext >&5
13928 rm -f conftest.err conftest.
$ac_objext \
13929 conftest
$ac_exeext conftest.
$ac_ext
13930 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13932 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
13933 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"
13935 if test "$host_cpu" = ia64
; then
13936 hardcode_libdir_flag_spec_F77
='${wl}-R $libdir:/usr/lib:/lib'
13937 allow_undefined_flag_F77
="-z nodefs"
13938 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"
13940 # Determine the default libpath from the value encoded in an empty executable.
13941 cat >conftest.
$ac_ext <<_ACEOF
13946 rm -f conftest.
$ac_objext conftest
$ac_exeext
13947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13948 (eval $ac_link) 2>conftest.er1
13950 grep -v '^ *+' conftest.er1
>conftest.err
13952 cat conftest.err
>&5
13953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13954 (exit $ac_status); } &&
13955 { ac_try
='test -z "$ac_f77_werror_flag"
13956 || test ! -s conftest.err'
13957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13958 (eval $ac_try) 2>&5
13960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13961 (exit $ac_status); }; } &&
13962 { ac_try
='test -s conftest$ac_exeext'
13963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13964 (eval $ac_try) 2>&5
13966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13967 (exit $ac_status); }; }; then
13969 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13971 # Check for a 64-bit object if we didn't find anything.
13972 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; }
13975 echo "$as_me: failed program was:" >&5
13976 sed 's/^/| /' conftest.
$ac_ext >&5
13979 rm -f conftest.err conftest.
$ac_objext \
13980 conftest
$ac_exeext conftest.
$ac_ext
13981 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13983 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
13984 # Warning - without using the other run time loading flags,
13985 # -berok will link without error, but may produce a broken library.
13986 no_undefined_flag_F77
=' ${wl}-bernotok'
13987 allow_undefined_flag_F77
=' ${wl}-berok'
13988 # Exported symbols can be pulled into shared objects from archives
13989 whole_archive_flag_spec_F77
='$convenience'
13990 archive_cmds_need_lc_F77
=yes
13991 # This is similar to how AIX traditionally builds its shared libraries.
13992 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'
13998 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)'
13999 hardcode_libdir_flag_spec_F77
='-L$libdir'
14000 hardcode_minus_L_F77
=yes
14001 # see comment about different semantics on the GNU ld section
14006 export_dynamic_flag_spec_F77
=-rdynamic
14009 cygwin
* | mingw
* | pw32
*)
14010 # When not using gcc, we currently assume that we are using
14011 # Microsoft Visual C++.
14012 # hardcode_libdir_flag_spec is actually meaningless, as there is
14013 # no search path for DLLs.
14014 hardcode_libdir_flag_spec_F77
=' '
14015 allow_undefined_flag_F77
=unsupported
14016 # Tell ltmain to make .lib files, not .a files.
14018 # Tell ltmain to make .dll files, not .so files.
14020 # FIXME: Setting linknames here is a bad hack.
14021 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
14022 # The linker will automatically build a .lib file if we build a DLL.
14023 old_archive_From_new_cmds_F77
='true'
14024 # FIXME: Should let the user specify the lib program.
14025 old_archive_cmds_F77
='lib /OUT:$oldlib$oldobjs$old_deplibs'
14026 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
14027 enable_shared_with_static_runtimes_F77
=yes
14030 darwin
* | rhapsody
*)
14032 rhapsody
* | darwin1.
[012])
14033 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
14036 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14037 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14039 case ${MACOSX_DEPLOYMENT_TARGET} in
14041 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14044 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
14050 archive_cmds_need_lc_F77
=no
14051 hardcode_direct_F77
=no
14052 hardcode_automatic_F77
=yes
14053 hardcode_shlibpath_var_F77
=unsupported
14054 whole_archive_flag_spec_F77
=''
14055 link_all_deplibs_F77
=yes
14056 if test "$GCC" = yes ; then
14057 output_verbose_link_cmd
='echo'
14058 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14059 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14060 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14061 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}'
14062 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}'
14064 case $cc_basename in
14066 output_verbose_link_cmd
='echo'
14067 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
14068 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14069 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14070 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}'
14071 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}'
14081 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14082 hardcode_libdir_flag_spec_F77
='-L$libdir'
14083 hardcode_shlibpath_var_F77
=no
14090 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14091 # support. Future versions do this automatically, but an explicit c++rt0.o
14092 # does not break anything, and helps significantly (at the cost of a little
14095 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14096 hardcode_libdir_flag_spec_F77
='-R$libdir'
14097 hardcode_direct_F77
=yes
14098 hardcode_shlibpath_var_F77
=no
14101 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14103 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14104 hardcode_direct_F77
=yes
14105 hardcode_minus_L_F77
=yes
14106 hardcode_shlibpath_var_F77
=no
14109 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14110 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
14111 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14112 hardcode_libdir_flag_spec_F77
='-R$libdir'
14113 hardcode_direct_F77
=yes
14114 hardcode_shlibpath_var_F77
=no
14118 if test "$GCC" = yes; then
14119 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'
14121 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'
14123 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14124 hardcode_libdir_separator_F77
=:
14125 hardcode_direct_F77
=yes
14127 # hardcode_minus_L: Not really in the search PATH,
14128 # but as the default location of the library.
14129 hardcode_minus_L_F77
=yes
14130 export_dynamic_flag_spec_F77
='${wl}-E'
14134 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14135 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14137 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14139 if test "$with_gnu_ld" = no
; then
14140 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14141 hardcode_libdir_separator_F77
=:
14143 hardcode_direct_F77
=yes
14144 export_dynamic_flag_spec_F77
='${wl}-E'
14146 # hardcode_minus_L: Not really in the search PATH,
14147 # but as the default location of the library.
14148 hardcode_minus_L_F77
=yes
14153 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14156 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14159 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14162 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14168 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14171 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14174 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14178 if test "$with_gnu_ld" = no
; then
14179 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14180 hardcode_libdir_separator_F77
=:
14184 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
14185 hardcode_direct_F77
=no
14186 hardcode_shlibpath_var_F77
=no
14189 hardcode_direct_F77
=yes
14190 export_dynamic_flag_spec_F77
='${wl}-E'
14192 # hardcode_minus_L: Not really in the search PATH,
14193 # but as the default location of the library.
14194 hardcode_minus_L_F77
=yes
14200 irix5
* | irix6
* | nonstopux
*)
14201 if test "$GCC" = yes; then
14202 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'
14204 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'
14205 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
14207 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14208 hardcode_libdir_separator_F77
=:
14209 link_all_deplibs_F77
=yes
14213 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14214 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14216 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14218 hardcode_libdir_flag_spec_F77
='-R$libdir'
14219 hardcode_direct_F77
=yes
14220 hardcode_shlibpath_var_F77
=no
14224 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14225 hardcode_direct_F77
=yes
14226 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14227 hardcode_libdir_separator_F77
=:
14228 hardcode_shlibpath_var_F77
=no
14232 hardcode_direct_F77
=yes
14233 hardcode_shlibpath_var_F77
=no
14234 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14235 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14236 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14237 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14238 export_dynamic_flag_spec_F77
='${wl}-E'
14241 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
14242 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14243 hardcode_libdir_flag_spec_F77
='-R$libdir'
14246 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14247 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14254 hardcode_libdir_flag_spec_F77
='-L$libdir'
14255 hardcode_minus_L_F77
=yes
14256 allow_undefined_flag_F77
=unsupported
14257 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'
14258 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14262 if test "$GCC" = yes; then
14263 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14264 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'
14266 allow_undefined_flag_F77
=' -expect_unresolved \*'
14267 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'
14269 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14270 hardcode_libdir_separator_F77
=:
14273 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
14274 if test "$GCC" = yes; then
14275 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14276 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'
14277 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14279 allow_undefined_flag_F77
=' -expect_unresolved \*'
14280 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'
14281 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~
14282 $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'
14284 # Both c and cxx compiler support -rpath directly
14285 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
14287 hardcode_libdir_separator_F77
=:
14291 no_undefined_flag_F77
=' -z text'
14292 if test "$GCC" = yes; then
14294 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14295 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14296 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
14299 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14300 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14301 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14303 hardcode_libdir_flag_spec_F77
='-R$libdir'
14304 hardcode_shlibpath_var_F77
=no
14306 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14308 # The compiler driver will combine linker options so we
14309 # cannot just pass the convience library names through
14310 # without $wl, iff we do not link with $LD.
14311 # Luckily, gcc supports the same syntax we need for Sun Studio.
14312 # Supported since Solaris 2.6 (maybe 2.5.1?)
14315 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract' ;;
14317 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' ;;
14320 link_all_deplibs_F77
=yes
14324 if test "x$host_vendor" = xsequent
; then
14325 # Use $CC to link under sequent, because it throws in some extra .o
14326 # files that make .init and .fini sections work.
14327 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14329 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14331 hardcode_libdir_flag_spec_F77
='-L$libdir'
14332 hardcode_direct_F77
=yes
14333 hardcode_minus_L_F77
=yes
14334 hardcode_shlibpath_var_F77
=no
14338 case $host_vendor in
14340 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14341 hardcode_direct_F77
=yes # is this really true???
14344 ## LD is ld it makes a PLAMLIB
14345 ## CC just makes a GrossModule.
14346 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14347 reload_cmds_F77
='$CC -r -o $output$reload_objs'
14348 hardcode_direct_F77
=no
14351 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14352 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
14355 runpath_var
='LD_RUN_PATH'
14356 hardcode_shlibpath_var_F77
=no
14360 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14361 hardcode_shlibpath_var_F77
=no
14362 export_dynamic_flag_spec_F77
='-Bexport'
14366 if test -d /usr
/nec
; then
14367 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14368 hardcode_shlibpath_var_F77
=no
14369 runpath_var
=LD_RUN_PATH
14370 hardcode_runpath_var
=yes
14375 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
14376 no_undefined_flag_F77
='${wl}-z,text'
14377 archive_cmds_need_lc_F77
=no
14378 hardcode_shlibpath_var_F77
=no
14379 runpath_var
='LD_RUN_PATH'
14381 if test "$GCC" = yes; then
14382 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14383 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14385 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14386 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14390 sysv5
* | sco3.2v5
* | sco5v6
*)
14391 # Note: We can NOT use -z defs as we might desire, because we do not
14392 # link with -lc, and that would cause any symbols used from libc to
14393 # always be unresolved, which means just about no library would
14394 # ever link correctly. If we're not using GNU ld we use -z text
14395 # though, which does catch some bad symbols but isn't as heavy-handed
14397 no_undefined_flag_F77
='${wl}-z,text'
14398 allow_undefined_flag_F77
='${wl}-z,nodefs'
14399 archive_cmds_need_lc_F77
=no
14400 hardcode_shlibpath_var_F77
=no
14401 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
14402 hardcode_libdir_separator_F77
=':'
14403 link_all_deplibs_F77
=yes
14404 export_dynamic_flag_spec_F77
='${wl}-Bexport'
14405 runpath_var
='LD_RUN_PATH'
14407 if test "$GCC" = yes; then
14408 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14409 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14411 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14412 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14417 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14418 hardcode_libdir_flag_spec_F77
='-L$libdir'
14419 hardcode_shlibpath_var_F77
=no
14428 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
14429 echo "${ECHO_T}$ld_shlibs_F77" >&6
14430 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
14433 # Do we need to explicitly link libc?
14435 case "x$archive_cmds_need_lc_F77" in
14437 # Assume -lc should be added
14438 archive_cmds_need_lc_F77
=yes
14440 if test "$enable_shared" = yes && test "$GCC" = yes; then
14441 case $archive_cmds_F77 in
14443 # FIXME: we may have to deal with multi-command sequences.
14446 # Test whether the compiler implicitly links with -lc since on some
14447 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14448 # to ld, don't add -lc before -lgcc.
14449 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14450 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
14452 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14455 (eval $ac_compile) 2>&5
14457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14458 (exit $ac_status); } 2>conftest.err
; then
14461 libobjs
=conftest.
$ac_objext
14463 wl
=$lt_prog_compiler_wl_F77
14464 pic_flag
=$lt_prog_compiler_pic_F77
14470 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
14471 allow_undefined_flag_F77
=
14472 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
14473 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14476 (exit $ac_status); }
14478 archive_cmds_need_lc_F77
=no
14480 archive_cmds_need_lc_F77
=yes
14482 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
14484 cat conftest.err
1>&5
14487 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
14488 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
14495 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14496 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14497 library_names_spec
=
14498 libname_spec
='lib$name'
14502 postuninstall_cmds
=
14506 shlibpath_overrides_runpath
=unknown
14508 dynamic_linker
="$host_os ld.so"
14509 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14510 if test "$GCC" = yes; then
14511 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14512 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
14513 # if the path contains ";" then we assume it to be the separator
14514 # otherwise default to the standard path separator (i.e. ":") - it is
14515 # assumed that no part of a normal pathname contains ";" but that should
14516 # okay in the real world where ";" in dirpaths is itself problematic.
14517 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14519 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14522 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
14524 need_lib_prefix
=unknown
14525 hardcode_into_libs
=no
14527 # when you set need_version to no, make sure it does not cause -set_version
14528 # flags to be left without arguments
14529 need_version
=unknown
14534 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14535 shlibpath_var
=LIBPATH
14537 # AIX 3 has no versioning support, so we append a major version to the name.
14538 soname_spec
='${libname}${release}${shared_ext}$major'
14545 hardcode_into_libs
=yes
14546 if test "$host_cpu" = ia64
; then
14547 # AIX 5 supports IA64
14548 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14549 shlibpath_var
=LD_LIBRARY_PATH
14551 # With GCC up to 2.95.x, collect2 would create an import file
14552 # for dependence libraries. The import file would start with
14553 # the line `#! .'. This would cause the generated library to
14554 # depend on `.', always an invalid library. This was fixed in
14555 # development snapshots of GCC prior to 3.0.
14557 aix4 | aix4.
[01] | aix4.
[01].
*)
14558 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14560 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
14563 can_build_shared
=no
14567 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14568 # soname into executable. Probably we can add versioning support to
14569 # collect2, so additional links can be useful in future.
14570 if test "$aix_use_runtimelinking" = yes; then
14571 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14572 # instead of lib<name>.a to let people know that these are not
14573 # typical AIX shared libraries.
14574 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14576 # We preserve .a as extension for shared libraries through AIX4.2
14577 # and later when we are not doing run time linking.
14578 library_names_spec
='${libname}${release}.a $libname.a'
14579 soname_spec
='${libname}${release}${shared_ext}$major'
14581 shlibpath_var
=LIBPATH
14586 library_names_spec
='$libname.ixlibrary $libname.a'
14587 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14588 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'
14592 library_names_spec
='${libname}${shared_ext}'
14593 dynamic_linker
="$host_os ld.so"
14594 shlibpath_var
=LIBRARY_PATH
14600 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14601 soname_spec
='${libname}${release}${shared_ext}$major'
14602 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14603 shlibpath_var
=LD_LIBRARY_PATH
14604 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14605 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14606 # the default ld.so.conf also contains /usr/contrib/lib and
14607 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14608 # libtool to hard-code these into programs
14611 cygwin
* | mingw
* | pw32
*)
14612 version_type
=windows
14617 case $GCC,$host_os in
14618 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
14619 library_names_spec
='$libname.dll.a'
14620 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14621 postinstall_cmds
='base_file=`basename \${file}`~
14622 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14623 dldir=$destdir/`dirname \$dlpath`~
14624 test -d \$dldir || mkdir -p \$dldir~
14625 $install_prog $dir/$dlname \$dldir/$dlname~
14626 chmod a+x \$dldir/$dlname'
14627 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14628 dlpath=$dir/\$dldll~
14630 shlibpath_overrides_runpath
=yes
14634 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14635 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14636 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
14639 # MinGW DLLs use traditional 'lib' prefix
14640 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14641 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14642 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
14643 # It is most probably a Windows format PATH printed by
14644 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14645 # path with ; separators, and with drive letters. We can handle the
14646 # drive letters (cygwin fileutils understands them), so leave them,
14647 # especially as we might pass files found there to a mingw objdump,
14648 # which wouldn't understand a cygwinified path. Ahh.
14649 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14651 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14655 # pw32 DLLs use 'pw' prefix rather than 'lib'
14656 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14662 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14665 dynamic_linker
='Win32 ld.exe'
14666 # FIXME: first we should search . and the directory the executable is in
14670 darwin
* | rhapsody
*)
14671 dynamic_linker
="$host_os dyld"
14672 version_type
=darwin
14675 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14676 soname_spec
='${libname}${release}${major}$shared_ext'
14677 shlibpath_overrides_runpath
=yes
14678 shlibpath_var
=DYLD_LIBRARY_PATH
14679 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14680 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14681 if test "$GCC" = yes; then
14682 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"`
14684 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
14686 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14693 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14694 soname_spec
='${libname}${release}${shared_ext}$major'
14695 shlibpath_var
=LD_LIBRARY_PATH
14706 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14707 soname_spec
='${libname}${release}${shared_ext}$major'
14708 shlibpath_var
=LD_LIBRARY_PATH
14709 shlibpath_overrides_runpath
=no
14710 hardcode_into_libs
=yes
14711 dynamic_linker
='GNU ld.so'
14714 freebsd
* | dragonfly
*)
14715 # DragonFly does not have aout. When/if they implement a new
14716 # versioning mechanism, adjust this.
14717 if test -x /usr
/bin
/objformat
; then
14718 objformat
=`/usr/bin/objformat`
14721 freebsd
[123]*) objformat
=aout
;;
14722 *) objformat
=elf
;;
14725 version_type
=freebsd-
$objformat
14726 case $version_type in
14728 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14733 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14737 shlibpath_var
=LD_LIBRARY_PATH
14740 shlibpath_overrides_runpath
=yes
14742 freebsd3.
[01]* | freebsdelf3.
[01]*)
14743 shlibpath_overrides_runpath
=yes
14744 hardcode_into_libs
=yes
14746 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14747 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14748 shlibpath_overrides_runpath
=no
14749 hardcode_into_libs
=yes
14751 freebsd
*) # from 4.6 on
14752 shlibpath_overrides_runpath
=yes
14753 hardcode_into_libs
=yes
14762 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14763 soname_spec
='${libname}${release}${shared_ext}$major'
14764 shlibpath_var
=LD_LIBRARY_PATH
14765 hardcode_into_libs
=yes
14768 hpux9
* | hpux10
* | hpux11
*)
14769 # Give a soname corresponding to the major version so that dld.sl refuses to
14770 # link against other versions.
14777 hardcode_into_libs
=yes
14778 dynamic_linker
="$host_os dld.so"
14779 shlibpath_var
=LD_LIBRARY_PATH
14780 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14781 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14782 soname_spec
='${libname}${release}${shared_ext}$major'
14783 if test "X$HPUX_IA64_MODE" = X32
; then
14784 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14786 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14788 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14792 hardcode_into_libs
=yes
14793 dynamic_linker
="$host_os dld.sl"
14794 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14795 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14796 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14797 soname_spec
='${libname}${release}${shared_ext}$major'
14798 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14799 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14803 dynamic_linker
="$host_os dld.sl"
14804 shlibpath_var
=SHLIB_PATH
14805 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14806 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14807 soname_spec
='${libname}${release}${shared_ext}$major'
14810 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14811 postinstall_cmds
='chmod 555 $lib'
14818 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14819 soname_spec
='${libname}${release}${shared_ext}$major'
14820 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14821 shlibpath_var
=LD_LIBRARY_PATH
14822 shlibpath_overrides_runpath
=no
14823 hardcode_into_libs
=yes
14826 irix5
* | irix6
* | nonstopux
*)
14828 nonstopux
*) version_type
=nonstopux
;;
14830 if test "$lt_cv_prog_gnu_ld" = yes; then
14838 soname_spec
='${libname}${release}${shared_ext}$major'
14839 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14841 irix5
* | nonstopux
*)
14842 libsuff
= shlibsuff
=
14845 case $LD in # libtool.m4 will add one of these switches to LD
14846 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14847 libsuff
= shlibsuff
= libmagic
=32-bit;;
14848 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14849 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14850 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14851 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14852 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14856 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14857 shlibpath_overrides_runpath
=no
14858 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14859 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14860 hardcode_into_libs
=yes
14863 # No shared lib support for Linux oldld, aout, or coff.
14864 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14868 # This must be Linux ELF.
14873 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14874 soname_spec
='${libname}${release}${shared_ext}$major'
14875 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14876 shlibpath_var
=LD_LIBRARY_PATH
14877 shlibpath_overrides_runpath
=no
14878 # This implies no fast_install, which is unacceptable.
14879 # Some rework will be needed to allow for fast_install
14880 # before this can be enabled.
14881 hardcode_into_libs
=yes
14883 # find out which ABI we are using
14885 case "$host_cpu" in
14886 x86_64
*|s390x
*|powerpc64
*)
14887 echo '#line 14887 "configure"' > conftest.
$ac_ext
14888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14889 (eval $ac_compile) 2>&5
14891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14892 (exit $ac_status); }; then
14893 case `/usr/bin/file conftest.$ac_objext` in
14896 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
14904 # Append ld.so.conf contents to the search path
14905 if test -f /etc
/ld.so.conf
; then
14906 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' ' '`
14907 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
14910 # We used to test for /lib/ld.so.1 and disable shared libraries on
14911 # powerpc, because MkLinux only supported shared libraries with the
14912 # GNU dynamic linker. Since this was broken with cross compilers,
14913 # most powerpc-linux boxes support dynamic linking these days and
14914 # people can always --disable-shared, the test was removed, and we
14915 # assume the GNU/Linux dynamic linker is in use.
14916 dynamic_linker
='GNU/Linux ld.so'
14923 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14924 soname_spec
='${libname}${release}${shared_ext}$major'
14925 shlibpath_var
=LD_LIBRARY_PATH
14926 shlibpath_overrides_runpath
=no
14927 hardcode_into_libs
=yes
14928 dynamic_linker
='GNU ld.so'
14935 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14936 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14937 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14938 dynamic_linker
='NetBSD (a.out) ld.so'
14940 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14941 soname_spec
='${libname}${release}${shared_ext}$major'
14942 dynamic_linker
='NetBSD ld.elf_so'
14944 shlibpath_var
=LD_LIBRARY_PATH
14945 shlibpath_overrides_runpath
=yes
14946 hardcode_into_libs
=yes
14951 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14952 shlibpath_var
=LD_LIBRARY_PATH
14953 shlibpath_overrides_runpath
=yes
14960 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14961 soname_spec
='${libname}${release}${shared_ext}$major'
14962 shlibpath_var
=LD_LIBRARY_PATH
14963 shlibpath_overrides_runpath
=yes
14968 sys_lib_dlsearch_path_spec
="/usr/lib"
14970 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14972 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
14973 *) need_version
=no
;;
14975 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14976 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14977 shlibpath_var
=LD_LIBRARY_PATH
14978 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14980 openbsd2.
[89] | openbsd2.
[89].
*)
14981 shlibpath_overrides_runpath
=no
14984 shlibpath_overrides_runpath
=yes
14988 shlibpath_overrides_runpath
=yes
14993 libname_spec
='$name'
14996 library_names_spec
='$libname${shared_ext} $libname.a'
14997 dynamic_linker
='OS/2 ld.exe'
14998 shlibpath_var
=LIBPATH
15001 osf3
* | osf4
* | osf5
*)
15005 soname_spec
='${libname}${release}${shared_ext}$major'
15006 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15007 shlibpath_var
=LD_LIBRARY_PATH
15008 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15009 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15016 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15017 soname_spec
='${libname}${release}${shared_ext}$major'
15018 shlibpath_var
=LD_LIBRARY_PATH
15019 shlibpath_overrides_runpath
=yes
15020 hardcode_into_libs
=yes
15021 # ldd complains unless libraries are executable
15022 postinstall_cmds
='chmod +x $lib'
15027 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15028 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15029 shlibpath_var
=LD_LIBRARY_PATH
15030 shlibpath_overrides_runpath
=yes
15031 if test "$with_gnu_ld" = yes; then
15039 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15040 soname_spec
='${libname}${release}${shared_ext}$major'
15041 shlibpath_var
=LD_LIBRARY_PATH
15042 case $host_vendor in
15044 shlibpath_overrides_runpath
=no
15046 export_dynamic_flag_spec
='${wl}-Blargedynsym'
15047 runpath_var
=LD_RUN_PATH
15055 shlibpath_overrides_runpath
=no
15056 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15062 if test -d /usr
/nec
;then
15064 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15065 soname_spec
='$libname${shared_ext}.$major'
15066 shlibpath_var
=LD_LIBRARY_PATH
15070 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15071 version_type
=freebsd-elf
15074 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15075 soname_spec
='${libname}${release}${shared_ext}$major'
15076 shlibpath_var
=LD_LIBRARY_PATH
15077 hardcode_into_libs
=yes
15078 if test "$with_gnu_ld" = yes; then
15079 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15080 shlibpath_overrides_runpath
=no
15082 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15083 shlibpath_overrides_runpath
=yes
15086 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15090 sys_lib_dlsearch_path_spec
='/usr/lib'
15095 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15096 soname_spec
='${libname}${release}${shared_ext}$major'
15097 shlibpath_var
=LD_LIBRARY_PATH
15104 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15105 echo "${ECHO_T}$dynamic_linker" >&6
15106 test "$dynamic_linker" = no
&& can_build_shared
=no
15108 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15109 if test "$GCC" = yes; then
15110 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15113 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15114 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
15115 hardcode_action_F77
=
15116 if test -n "$hardcode_libdir_flag_spec_F77" || \
15117 test -n "$runpath_var_F77" || \
15118 test "X$hardcode_automatic_F77" = "Xyes" ; then
15120 # We can hardcode non-existant directories.
15121 if test "$hardcode_direct_F77" != no
&&
15122 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15123 # have to relink, otherwise we might link with an installed library
15124 # when we should be linking with a yet-to-be-installed one
15125 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
15126 test "$hardcode_minus_L_F77" != no
; then
15127 # Linking always hardcodes the temporary library directory.
15128 hardcode_action_F77
=relink
15130 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15131 hardcode_action_F77
=immediate
15134 # We cannot hardcode anything, or else we can only hardcode existing
15136 hardcode_action_F77
=unsupported
15138 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15139 echo "${ECHO_T}$hardcode_action_F77" >&6
15141 if test "$hardcode_action_F77" = relink
; then
15142 # Fast installation is not supported
15143 enable_fast_install
=no
15144 elif test "$shlibpath_overrides_runpath" = yes ||
15145 test "$enable_shared" = no
; then
15146 # Fast installation is not necessary
15147 enable_fast_install
=needless
15151 # The else clause should only fire when bootstrapping the
15152 # libtool distribution, otherwise you forgot to ship ltmain.sh
15153 # with your package, and you will get complaints that there are
15154 # no rules to generate ltmain.sh.
15155 if test -f "$ltmain"; then
15156 # See if we are running on zsh, and set the options which allow our commands through
15157 # without removal of \ escapes.
15158 if test -n "${ZSH_VERSION+set}" ; then
15159 setopt NO_GLOB_SUBST
15161 # Now quote all the things that may contain metacharacters while being
15162 # careful not to overquote the AC_SUBSTed values. We take copies of the
15163 # variables and quote the copies for generation of the libtool script.
15164 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
15166 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15167 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15168 deplibs_check_method reload_flag reload_cmds need_locks \
15169 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15170 lt_cv_sys_global_symbol_to_c_name_address \
15171 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15172 old_postinstall_cmds old_postuninstall_cmds \
15176 lt_prog_compiler_wl_F77 \
15177 lt_prog_compiler_pic_F77 \
15178 lt_prog_compiler_static_F77 \
15179 lt_prog_compiler_no_builtin_flag_F77 \
15180 export_dynamic_flag_spec_F77 \
15181 thread_safe_flag_spec_F77 \
15182 whole_archive_flag_spec_F77 \
15183 enable_shared_with_static_runtimes_F77 \
15184 old_archive_cmds_F77 \
15185 old_archive_from_new_cmds_F77 \
15186 predep_objects_F77 \
15187 postdep_objects_F77 \
15190 compiler_lib_search_path_F77 \
15192 archive_expsym_cmds_F77 \
15193 postinstall_cmds_F77 \
15194 postuninstall_cmds_F77 \
15195 old_archive_from_expsyms_cmds_F77 \
15196 allow_undefined_flag_F77 \
15197 no_undefined_flag_F77 \
15198 export_symbols_cmds_F77 \
15199 hardcode_libdir_flag_spec_F77 \
15200 hardcode_libdir_flag_spec_ld_F77 \
15201 hardcode_libdir_separator_F77 \
15202 hardcode_automatic_F77 \
15204 module_expsym_cmds_F77 \
15205 lt_cv_prog_compiler_c_o_F77 \
15206 exclude_expsyms_F77 \
15207 include_expsyms_F77
; do
15210 old_archive_cmds_F77 | \
15211 old_archive_from_new_cmds_F77 | \
15212 archive_cmds_F77 | \
15213 archive_expsym_cmds_F77 | \
15214 module_cmds_F77 | \
15215 module_expsym_cmds_F77 | \
15216 old_archive_from_expsyms_cmds_F77 | \
15217 export_symbols_cmds_F77 | \
15218 extract_expsyms_cmds | reload_cmds | finish_cmds | \
15219 postinstall_cmds | postuninstall_cmds | \
15220 old_postinstall_cmds | old_postuninstall_cmds | \
15221 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
15222 # Double-quote double-evaled strings.
15223 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15226 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15232 *'\$0 --fallback-echo"')
15233 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15239 cat <<__EOF__ >> "$cfgfile"
15240 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
15242 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15244 # Shell to use when invoking shell scripts.
15247 # Whether or not to build shared libraries.
15248 build_libtool_libs=$enable_shared
15250 # Whether or not to build static libraries.
15251 build_old_libs=$enable_static
15253 # Whether or not to add -lc for building shared libraries.
15254 build_libtool_need_lc=$archive_cmds_need_lc_F77
15256 # Whether or not to disallow shared libs when runtime libs are static
15257 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
15259 # Whether or not to optimize for fast installation.
15260 fast_install=$enable_fast_install
15263 host_alias=$host_alias
15267 # The build system.
15268 build_alias=$build_alias
15272 # An echo program that does not interpret backslashes.
15277 AR_FLAGS=$lt_AR_FLAGS
15282 # LTCC compiler flags.
15283 LTCFLAGS=$lt_LTCFLAGS
15285 # A language-specific compiler.
15286 CC=$lt_compiler_F77
15288 # Is the compiler the GNU C compiler?
15291 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
15292 gcc_ver=\`gcc -dumpversion\`
15297 # The linker used to build libraries.
15300 # Whether we need hard or soft links.
15303 # A BSD-compatible nm program.
15306 # A symbol stripping program
15309 # Used to examine libraries when file_magic_cmd begins "file"
15310 MAGIC_CMD=$MAGIC_CMD
15312 # Used on cygwin: DLL creation program.
15315 # Used on cygwin: object dumper.
15318 # Used on cygwin: assembler.
15321 # The name of the directory that contains temporary libtool files.
15324 # How to create reloadable object files.
15325 reload_flag=$lt_reload_flag
15326 reload_cmds=$lt_reload_cmds
15328 # How to pass a linker flag through the compiler.
15329 wl=$lt_lt_prog_compiler_wl_F77
15331 # Object file suffix (normally "o").
15332 objext="$ac_objext"
15334 # Old archive suffix (normally "a").
15337 # Shared library suffix (normally ".so").
15338 shrext_cmds='$shrext_cmds'
15340 # Executable file suffix (normally "").
15343 # Additional compiler flags for building library objects.
15344 pic_flag=$lt_lt_prog_compiler_pic_F77
15347 # What is the maximum length of a command?
15348 max_cmd_len=$lt_cv_sys_max_cmd_len
15350 # Does compiler simultaneously support -c and -o options?
15351 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
15353 # Must we lock files when doing compilation?
15354 need_locks=$lt_need_locks
15356 # Do we need the lib prefix for modules?
15357 need_lib_prefix=$need_lib_prefix
15359 # Do we need a version for libraries?
15360 need_version=$need_version
15362 # Whether dlopen is supported.
15363 dlopen_support=$enable_dlopen
15365 # Whether dlopen of programs is supported.
15366 dlopen_self=$enable_dlopen_self
15368 # Whether dlopen of statically linked programs is supported.
15369 dlopen_self_static=$enable_dlopen_self_static
15371 # Compiler flag to prevent dynamic linking.
15372 link_static_flag=$lt_lt_prog_compiler_static_F77
15374 # Compiler flag to turn off builtin functions.
15375 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
15377 # Compiler flag to allow reflexive dlopens.
15378 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
15380 # Compiler flag to generate shared objects directly from archives.
15381 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
15383 # Compiler flag to generate thread-safe objects.
15384 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
15386 # Library versioning type.
15387 version_type=$version_type
15389 # Format of library name prefix.
15390 libname_spec=$lt_libname_spec
15392 # List of archive names. First name is the real one, the rest are links.
15393 # The last name is the one that the linker finds with -lNAME.
15394 library_names_spec=$lt_library_names_spec
15396 # The coded name of the library, if different from the real name.
15397 soname_spec=$lt_soname_spec
15399 # Commands used to build and install an old-style archive.
15401 old_archive_cmds=$lt_old_archive_cmds_F77
15402 old_postinstall_cmds=$lt_old_postinstall_cmds
15403 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15405 # Create an old-style archive from a shared archive.
15406 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
15408 # Create a temporary old-style archive to link instead of a shared archive.
15409 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
15411 # Commands used to build and install a shared archive.
15412 archive_cmds=$lt_archive_cmds_F77
15413 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
15414 postinstall_cmds=$lt_postinstall_cmds
15415 postuninstall_cmds=$lt_postuninstall_cmds
15417 # Commands used to build a loadable module (assumed same as above if empty)
15418 module_cmds=$lt_module_cmds_F77
15419 module_expsym_cmds=$lt_module_expsym_cmds_F77
15421 # Commands to strip libraries.
15422 old_striplib=$lt_old_striplib
15423 striplib=$lt_striplib
15425 # Dependencies to place before the objects being linked to create a
15427 predep_objects=\`echo $lt_predep_objects_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
15429 # Dependencies to place after the objects being linked to create a
15431 postdep_objects=\`echo $lt_postdep_objects_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
15433 # Dependencies to place before the objects being linked to create a
15435 predeps=$lt_predeps_F77
15437 # Dependencies to place after the objects being linked to create a
15439 postdeps=$lt_postdeps_F77
15441 # The library search path used internally by the compiler when linking
15442 # a shared library.
15443 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"\`
15445 # Method to check whether dependent libraries are shared objects.
15446 deplibs_check_method=$lt_deplibs_check_method
15448 # Command to use when deplibs_check_method == file_magic.
15449 file_magic_cmd=$lt_file_magic_cmd
15451 # Flag that allows shared libraries with undefined symbols to be built.
15452 allow_undefined_flag=$lt_allow_undefined_flag_F77
15454 # Flag that forces no undefined symbols.
15455 no_undefined_flag=$lt_no_undefined_flag_F77
15457 # Commands used to finish a libtool library installation in a directory.
15458 finish_cmds=$lt_finish_cmds
15460 # Same as above, but a single script fragment to be evaled but not shown.
15461 finish_eval=$lt_finish_eval
15463 # Take the output of nm and produce a listing of raw symbols and C names.
15464 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15466 # Transform the output of nm in a proper C declaration
15467 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15469 # Transform the output of nm in a C name address pair
15470 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15472 # This is the shared library runtime path variable.
15473 runpath_var=$runpath_var
15475 # This is the shared library path variable.
15476 shlibpath_var=$shlibpath_var
15478 # Is shlibpath searched before the hard-coded library search path?
15479 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15481 # How to hardcode a shared library path into an executable.
15482 hardcode_action=$hardcode_action_F77
15484 # Whether we should hardcode library paths into libraries.
15485 hardcode_into_libs=$hardcode_into_libs
15487 # Flag to hardcode \$libdir into a binary during linking.
15488 # This must work even if \$libdir does not exist.
15489 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
15491 # If ld is used when linking, flag to hardcode \$libdir into
15492 # a binary during linking. This must work even if \$libdir does
15494 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
15496 # Whether we need a single -rpath flag with a separated argument.
15497 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
15499 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
15500 # resulting binary.
15501 hardcode_direct=$hardcode_direct_F77
15503 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
15504 # resulting binary.
15505 hardcode_minus_L=$hardcode_minus_L_F77
15507 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
15508 # the resulting binary.
15509 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
15511 # Set to yes if building a shared library automatically hardcodes DIR into the library
15512 # and all subsequent libraries and executables linked against it.
15513 hardcode_automatic=$hardcode_automatic_F77
15515 # Variables whose values should be saved in libtool wrapper scripts and
15516 # restored at relink time.
15517 variables_saved_for_relink="$variables_saved_for_relink"
15519 # Whether libtool must link a program against all its dependency libraries.
15520 link_all_deplibs=$link_all_deplibs_F77
15522 # Compile-time system search path for libraries
15523 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"\`
15525 # Run-time system search path for libraries
15526 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15528 # Fix the shell variable \$srcfile for the compiler.
15529 fix_srcfile_path="$fix_srcfile_path_F77"
15531 # Set to yes if exported symbols are required.
15532 always_export_symbols=$always_export_symbols_F77
15534 # The commands to list exported symbols.
15535 export_symbols_cmds=$lt_export_symbols_cmds_F77
15537 # The commands to extract the exported symbol list from a shared archive.
15538 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15540 # Symbols that should not be listed in the preloaded symbols.
15541 exclude_expsyms=$lt_exclude_expsyms_F77
15543 # Symbols that must always be exported.
15544 include_expsyms=$lt_include_expsyms_F77
15546 # ### END LIBTOOL TAG CONFIG: $tagname
15552 # If there is no Makefile yet, we rely on a make rule to execute
15553 # `config.status --recheck' to rerun these tests and create the
15554 # libtool script then.
15555 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
15556 if test -f "$ltmain_in"; then
15557 test -f Makefile
&& make "$ltmain"
15563 ac_cpp
='$CPP $CPPFLAGS'
15564 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15565 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15566 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15576 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
15580 # Source file extension for Java test sources.
15583 # Object file extension for compiled Java test sources.
15587 # Code to be used in simple compile tests
15588 lt_simple_compile_test_code
="class foo {}\n"
15590 # Code to be used in simple link tests
15591 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }\n'
15593 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15595 # If no C compiler was specified, use CC.
15598 # If no C compiler flags were specified, use CFLAGS.
15599 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
15601 # Allow CC to be a program name with arguments.
15605 # save warnings/boilerplate of simple test code
15606 ac_outfile
=conftest.
$ac_objext
15607 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
15608 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
15609 _lt_compiler_boilerplate
=`cat conftest.err`
15612 ac_outfile
=conftest.
$ac_objext
15613 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
15614 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
15615 _lt_linker_boilerplate
=`cat conftest.err`
15619 # Allow CC to be a program name with arguments.
15624 for cc_temp
in $compiler""; do
15626 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
15627 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
15632 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15635 # GCJ did not exist at the time GCC didn't implicitly link libc in.
15636 archive_cmds_need_lc_GCJ
=no
15638 old_archive_cmds_GCJ
=$old_archive_cmds
15641 lt_prog_compiler_no_builtin_flag_GCJ
=
15643 if test "$GCC" = yes; then
15644 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
15647 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15648 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
15649 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15650 echo $ECHO_N "(cached) $ECHO_C" >&6
15652 lt_cv_prog_compiler_rtti_exceptions
=no
15653 ac_outfile
=conftest.
$ac_objext
15654 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15655 lt_compiler_flag
="-fno-rtti -fno-exceptions"
15656 # Insert the option either (1) after the last *FLAGS variable, or
15657 # (2) before a word containing "conftest.", or (3) at the end.
15658 # Note that $ac_compile itself does not contain backslashes and begins
15659 # with a dollar sign (not a hyphen), so the echo should work correctly.
15660 # The option is referenced via a variable to avoid confusing sed.
15661 lt_compile
=`echo "$ac_compile" | $SED \
15662 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15663 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15664 -e 's:$: $lt_compiler_flag:'`
15665 (eval echo "\"\$as_me:15665: $lt_compile\"" >&5)
15666 (eval "$lt_compile" 2>conftest.err
)
15668 cat conftest.err
>&5
15669 echo "$as_me:15669: \$? = $ac_status" >&5
15670 if (exit $ac_status) && test -s "$ac_outfile"; then
15671 # The compiler can only warn and ignore the option if not recognized
15672 # So say no if there are warnings other than the usual output.
15673 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
15674 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15675 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
15676 lt_cv_prog_compiler_rtti_exceptions
=yes
15682 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15683 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
15685 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
15686 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15693 lt_prog_compiler_wl_GCJ
=
15694 lt_prog_compiler_pic_GCJ
=
15695 lt_prog_compiler_static_GCJ
=
15697 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15698 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15700 if test "$GCC" = yes; then
15701 lt_prog_compiler_wl_GCJ
='-Wl,'
15702 lt_prog_compiler_static_GCJ
='-static'
15706 # All AIX code is PIC.
15707 if test "$host_cpu" = ia64
; then
15708 # AIX 5 now supports IA64 processor
15709 lt_prog_compiler_static_GCJ
='-Bstatic'
15714 # FIXME: we need at least 68020 code to build shared libraries, but
15715 # adding the `-m68020' flag to GCC prevents building anything better,
15717 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
15720 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
15721 # PIC is the default for these OSes.
15724 mingw
* | pw32
* | os2
*)
15725 # This hack is so that the source file can tell whether it is being
15726 # built for inclusion in a dll (and should export symbols for example).
15727 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
15730 darwin
* | rhapsody
*)
15731 # PIC is the default on this platform
15732 # Common symbols not allowed in MH_DYLIB files
15733 lt_prog_compiler_pic_GCJ
='-fno-common'
15737 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15738 # Instead, we relocate shared libraries at runtime.
15742 # Just because we use GCC doesn't mean we suddenly get shared libraries
15743 # on systems that don't support them.
15744 lt_prog_compiler_can_build_shared_GCJ
=no
15749 if test -d /usr
/nec
; then
15750 lt_prog_compiler_pic_GCJ
=-Kconform_pic
15755 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15756 # not for PA HP-UX.
15762 lt_prog_compiler_pic_GCJ
='-fPIC'
15768 lt_prog_compiler_pic_GCJ
='-fPIC'
15772 # PORTME Check for flag to pass linker flags through the system compiler.
15775 lt_prog_compiler_wl_GCJ
='-Wl,'
15776 if test "$host_cpu" = ia64
; then
15777 # AIX 5 now supports IA64 processor
15778 lt_prog_compiler_static_GCJ
='-Bstatic'
15780 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
15784 # PIC is the default on this platform
15785 # Common symbols not allowed in MH_DYLIB files
15786 case $cc_basename in
15788 lt_prog_compiler_pic_GCJ
='-qnocommon'
15789 lt_prog_compiler_wl_GCJ
='-Wl,'
15794 mingw
* | pw32
* | os2
*)
15795 # This hack is so that the source file can tell whether it is being
15796 # built for inclusion in a dll (and should export symbols for example).
15797 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
15800 hpux9
* | hpux10
* | hpux11
*)
15801 lt_prog_compiler_wl_GCJ
='-Wl,'
15802 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15803 # not for PA HP-UX.
15809 lt_prog_compiler_pic_GCJ
='+Z'
15812 # Is there a better lt_prog_compiler_static that works with the bundled CC?
15813 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
15816 irix5
* | irix6
* | nonstopux
*)
15817 lt_prog_compiler_wl_GCJ
='-Wl,'
15818 # PIC (with -KPIC) is the default.
15819 lt_prog_compiler_static_GCJ
='-non_shared'
15823 lt_prog_compiler_pic_GCJ
='-KPIC'
15824 lt_prog_compiler_static_GCJ
='-Bstatic'
15828 case $cc_basename in
15830 lt_prog_compiler_wl_GCJ
='-Wl,'
15831 lt_prog_compiler_pic_GCJ
='-KPIC'
15832 lt_prog_compiler_static_GCJ
='-static'
15834 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
15835 # Portland Group compilers (*not* the Pentium gcc compiler,
15836 # which looks to be a dead project)
15837 lt_prog_compiler_wl_GCJ
='-Wl,'
15838 lt_prog_compiler_pic_GCJ
='-fpic'
15839 lt_prog_compiler_static_GCJ
='-Bstatic'
15842 lt_prog_compiler_wl_GCJ
='-Wl,'
15843 # All Alpha code is PIC.
15844 lt_prog_compiler_static_GCJ
='-non_shared'
15849 osf3
* | osf4
* | osf5
*)
15850 lt_prog_compiler_wl_GCJ
='-Wl,'
15851 # All OSF/1 code is PIC.
15852 lt_prog_compiler_static_GCJ
='-non_shared'
15856 lt_prog_compiler_pic_GCJ
='-KPIC'
15857 lt_prog_compiler_static_GCJ
='-Bstatic'
15858 case $cc_basename in
15859 f77
* | f90
* | f95
*)
15860 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
15862 lt_prog_compiler_wl_GCJ
='-Wl,';;
15867 lt_prog_compiler_wl_GCJ
='-Qoption ld '
15868 lt_prog_compiler_pic_GCJ
='-PIC'
15869 lt_prog_compiler_static_GCJ
='-Bstatic'
15872 sysv4 | sysv4.2uw2
* | sysv4.3
*)
15873 lt_prog_compiler_wl_GCJ
='-Wl,'
15874 lt_prog_compiler_pic_GCJ
='-KPIC'
15875 lt_prog_compiler_static_GCJ
='-Bstatic'
15879 if test -d /usr
/nec
;then
15880 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
15881 lt_prog_compiler_static_GCJ
='-Bstatic'
15885 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
15886 lt_prog_compiler_wl_GCJ
='-Wl,'
15887 lt_prog_compiler_pic_GCJ
='-KPIC'
15888 lt_prog_compiler_static_GCJ
='-Bstatic'
15892 lt_prog_compiler_wl_GCJ
='-Wl,'
15893 lt_prog_compiler_can_build_shared_GCJ
=no
15897 lt_prog_compiler_pic_GCJ
='-pic'
15898 lt_prog_compiler_static_GCJ
='-Bstatic'
15902 lt_prog_compiler_can_build_shared_GCJ
=no
15907 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
15908 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
15911 # Check to make sure the PIC flag actually works.
15913 if test -n "$lt_prog_compiler_pic_GCJ"; then
15915 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
15916 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
15917 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
15918 echo $ECHO_N "(cached) $ECHO_C" >&6
15920 lt_prog_compiler_pic_works_GCJ
=no
15921 ac_outfile
=conftest.
$ac_objext
15922 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15923 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
15924 # Insert the option either (1) after the last *FLAGS variable, or
15925 # (2) before a word containing "conftest.", or (3) at the end.
15926 # Note that $ac_compile itself does not contain backslashes and begins
15927 # with a dollar sign (not a hyphen), so the echo should work correctly.
15928 # The option is referenced via a variable to avoid confusing sed.
15929 lt_compile
=`echo "$ac_compile" | $SED \
15930 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15931 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15932 -e 's:$: $lt_compiler_flag:'`
15933 (eval echo "\"\$as_me:15933: $lt_compile\"" >&5)
15934 (eval "$lt_compile" 2>conftest.err
)
15936 cat conftest.err
>&5
15937 echo "$as_me:15937: \$? = $ac_status" >&5
15938 if (exit $ac_status) && test -s "$ac_outfile"; then
15939 # The compiler can only warn and ignore the option if not recognized
15940 # So say no if there are warnings other than the usual output.
15941 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
15942 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15943 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
15944 lt_prog_compiler_pic_works_GCJ
=yes
15950 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
15951 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
15953 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
15954 case $lt_prog_compiler_pic_GCJ in
15956 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
15959 lt_prog_compiler_pic_GCJ
=
15960 lt_prog_compiler_can_build_shared_GCJ
=no
15965 # For platforms which do not support PIC, -DPIC is meaningless:
15967 lt_prog_compiler_pic_GCJ
=
15970 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
15975 # Check to make sure the static flag actually works.
15977 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
15978 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15979 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
15980 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
15981 echo $ECHO_N "(cached) $ECHO_C" >&6
15983 lt_prog_compiler_static_works_GCJ
=no
15984 save_LDFLAGS
="$LDFLAGS"
15985 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
15986 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
15987 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
15988 # The linker can only warn and ignore the option if not recognized
15989 # So say no if there are warnings
15990 if test -s conftest.err
; then
15991 # Append any errors to the config.log.
15992 cat conftest.err
1>&5
15993 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
15994 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15995 if diff conftest.exp conftest.er2
>/dev
/null
; then
15996 lt_prog_compiler_static_works_GCJ
=yes
15999 lt_prog_compiler_static_works_GCJ
=yes
16003 LDFLAGS
="$save_LDFLAGS"
16006 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
16007 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6
16009 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
16012 lt_prog_compiler_static_GCJ
=
16016 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16017 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
16018 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16019 echo $ECHO_N "(cached) $ECHO_C" >&6
16021 lt_cv_prog_compiler_c_o_GCJ
=no
16022 $rm -r conftest
2>/dev
/null
16026 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16028 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16029 # Insert the option either (1) after the last *FLAGS variable, or
16030 # (2) before a word containing "conftest.", or (3) at the end.
16031 # Note that $ac_compile itself does not contain backslashes and begins
16032 # with a dollar sign (not a hyphen), so the echo should work correctly.
16033 lt_compile
=`echo "$ac_compile" | $SED \
16034 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16035 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16036 -e 's:$: $lt_compiler_flag:'`
16037 (eval echo "\"\$as_me:16037: $lt_compile\"" >&5)
16038 (eval "$lt_compile" 2>out
/conftest.err
)
16040 cat out
/conftest.err
>&5
16041 echo "$as_me:16041: \$? = $ac_status" >&5
16042 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16044 # The compiler can only warn and ignore the option if not recognized
16045 # So say no if there are warnings
16046 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
16047 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16048 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16049 lt_cv_prog_compiler_c_o_GCJ
=yes
16054 # SGI C++ compiler will create directory out/ii_files/ for
16055 # template instantiation
16056 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
16057 $rm out
/* && rmdir out
16063 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16064 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
16067 hard_links
="nottested"
16068 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
16069 # do not overwrite the value of need_locks provided by the user
16070 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16071 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
16074 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16076 ln conftest.a conftest.b
2>&5 || hard_links
=no
16077 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16078 echo "$as_me:$LINENO: result: $hard_links" >&5
16079 echo "${ECHO_T}$hard_links" >&6
16080 if test "$hard_links" = no
; then
16081 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16082 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16089 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16090 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
16093 allow_undefined_flag_GCJ
=
16094 enable_shared_with_static_runtimes_GCJ
=no
16096 archive_expsym_cmds_GCJ
=
16097 old_archive_From_new_cmds_GCJ
=
16098 old_archive_from_expsyms_cmds_GCJ
=
16099 export_dynamic_flag_spec_GCJ
=
16100 whole_archive_flag_spec_GCJ
=
16101 thread_safe_flag_spec_GCJ
=
16102 hardcode_libdir_flag_spec_GCJ
=
16103 hardcode_libdir_flag_spec_ld_GCJ
=
16104 hardcode_libdir_separator_GCJ
=
16105 hardcode_direct_GCJ
=no
16106 hardcode_minus_L_GCJ
=no
16107 hardcode_shlibpath_var_GCJ
=unsupported
16108 link_all_deplibs_GCJ
=unknown
16109 hardcode_automatic_GCJ
=no
16111 module_expsym_cmds_GCJ
=
16112 always_export_symbols_GCJ
=no
16113 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16114 # include_expsyms should be a list of space-separated symbols to be *always*
16115 # included in the symbol list
16116 include_expsyms_GCJ
=
16117 # exclude_expsyms can be an extended regexp of symbols to exclude
16118 # it will be wrapped by ` (' and `)$', so one must not match beginning or
16119 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16120 # as well as any symbol that contains `d'.
16121 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
16122 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16123 # platforms (ab)use it in PIC code, but their linkers get confused if
16124 # the symbol is explicitly referenced. Since portable code cannot
16125 # rely on this symbol name, it's probably fine to never include it in
16126 # preloaded symbol tables.
16127 extract_expsyms_cmds
=
16128 # Just being paranoid about ensuring that cc_basename is set.
16129 for cc_temp
in $compiler""; do
16131 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16132 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16137 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16140 cygwin
* | mingw
* | pw32
*)
16141 # FIXME: the MSVC++ port hasn't been tested in a loooong time
16142 # When not using gcc, we currently assume that we are using
16143 # Microsoft Visual C++.
16144 if test "$GCC" != yes; then
16149 # we just hope/assume this is gcc and not c89 (= MSVC++)
16158 if test "$with_gnu_ld" = yes; then
16159 # If archive_cmds runs LD, not CC, wlarc should be empty
16162 # Set some defaults for GNU ld with shared library support. These
16163 # are reset later if shared libraries are not supported. Putting them
16164 # here allows them to be overridden if necessary.
16165 runpath_var
=LD_RUN_PATH
16166 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
16167 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
16168 # ancient GNU ld didn't support --whole-archive et. al.
16169 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
16170 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16172 whole_archive_flag_spec_GCJ
=
16174 supports_anon_versioning
=no
16175 case `$LD -v 2>/dev/null` in
16176 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
16177 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
16178 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
16179 *\
2.11.
*) ;; # other 2.11 versions
16180 *) supports_anon_versioning
=yes ;;
16183 # See if GNU ld supports shared libraries.
16185 aix3
* | aix4
* | aix5
*)
16186 # On AIX/PPC, the GNU linker is very broken
16187 if test "$host_cpu" != ia64
; then
16191 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
16192 *** to be unable to reliably create shared libraries on AIX.
16193 *** Therefore, libtool is disabling shared libraries support. If you
16194 *** really care for shared libraries, you may want to modify your PATH
16195 *** so that a non-GNU linker is found, and then restart.
16202 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)'
16203 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16204 hardcode_minus_L_GCJ
=yes
16206 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16207 # that the semantics of dynamic libraries on AmigaOS, at least up
16208 # to version 4, is to share data among multiple programs linked
16209 # with the same dynamic library. Since this doesn't match the
16210 # behavior of shared libraries on other platforms, we can't use
16216 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16217 allow_undefined_flag_GCJ
=unsupported
16218 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16219 # support --undefined. This deserves some investigation. FIXME
16220 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16226 cygwin
* | mingw
* | pw32
*)
16227 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
16228 # as there is no search path for DLLs.
16229 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16230 allow_undefined_flag_GCJ
=unsupported
16231 always_export_symbols_GCJ
=no
16232 enable_shared_with_static_runtimes_GCJ
=yes
16233 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
16235 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
16236 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16237 # If the export-symbols file already is a .def file (1st line
16238 # is EXPORTS), use it as is; otherwise, prepend...
16239 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16240 cp $export_symbols $output_objdir/$soname.def;
16242 echo EXPORTS > $output_objdir/$soname.def;
16243 cat $export_symbols >> $output_objdir/$soname.def;
16245 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16252 hardcode_direct_GCJ
=no
16253 hardcode_shlibpath_var_GCJ
=no
16254 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16255 export_dynamic_flag_spec_GCJ
='${wl}-E'
16256 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
16257 # Instead, shared libraries are loaded at an image base (0x10000000 by
16258 # default) and relocated if they conflict, which is a slow very memory
16259 # consuming and fragmenting process. To avoid this, we pick a random,
16260 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
16261 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
16262 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'
16263 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'
16267 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16269 case $cc_basename,$host_cpu in
16270 pgcc
*) # Portland Group C compiler
16271 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'
16272 tmp_addflag
=' $pic_flag'
16274 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
16275 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'
16276 tmp_addflag
=' $pic_flag -Mnomain' ;;
16277 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
16278 tmp_addflag
=' -i_dynamic' ;;
16279 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
16280 tmp_addflag
=' -i_dynamic -nofor_main' ;;
16281 ifc
* | ifort
*) # Intel Fortran compiler
16282 tmp_addflag
=' -nofor_main' ;;
16284 archive_cmds_GCJ
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16286 if test $supports_anon_versioning = yes; then
16287 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
16288 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16289 $echo "local: *; };" >> $output_objdir/$libname.ver~
16290 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16298 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16299 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16302 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16303 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16308 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
16312 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
16313 *** create shared libraries on Solaris systems. Therefore, libtool
16314 *** is disabling shared libraries support. We urge you to upgrade GNU
16315 *** binutils to release 2.9.1 or newer. Another option is to modify
16316 *** your PATH or compiler configuration so that the native linker is
16317 *** used, and then restart.
16320 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16321 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16322 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16328 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
16329 case `$LD -v 2>&1` in
16330 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
16334 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
16335 *** reliably create shared libraries on SCO systems. Therefore, libtool
16336 *** is disabling shared libraries support. We urge you to upgrade GNU
16337 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
16338 *** your PATH or compiler configuration so that the native linker is
16339 *** used, and then restart.
16344 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16345 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
16346 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
16347 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
16356 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16358 hardcode_direct_GCJ
=yes
16359 hardcode_shlibpath_var_GCJ
=no
16363 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16364 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16365 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16372 if test "$ld_shlibs_GCJ" = no
; then
16374 hardcode_libdir_flag_spec_GCJ
=
16375 export_dynamic_flag_spec_GCJ
=
16376 whole_archive_flag_spec_GCJ
=
16379 # PORTME fill in a description of your system's linker (not GNU ld)
16382 allow_undefined_flag_GCJ
=unsupported
16383 always_export_symbols_GCJ
=yes
16384 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'
16385 # Note: this linker hardcodes the directories in LIBPATH if there
16386 # are no directories specified by -L.
16387 hardcode_minus_L_GCJ
=yes
16388 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
16389 # Neither direct hardcoding nor static linking is supported with a
16391 hardcode_direct_GCJ
=unsupported
16396 if test "$host_cpu" = ia64
; then
16397 # On IA64, the linker does run time linking by default, so we don't
16398 # have to do anything special.
16399 aix_use_runtimelinking
=no
16400 exp_sym_flag
='-Bexport'
16403 # If we're using GNU nm, then we don't want the "-C" option.
16404 # -C means demangle to AIX nm, but means don't demangle with GNU nm
16405 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
16406 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'
16408 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'
16410 aix_use_runtimelinking
=no
16412 # Test if we are trying to use run time linking or normal
16413 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16414 # need to do runtime linking.
16415 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
16416 for ld_flag
in $LDFLAGS; do
16417 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
16418 aix_use_runtimelinking
=yes
16425 exp_sym_flag
='-bexport'
16426 no_entry_flag
='-bnoentry'
16429 # When large executables or shared objects are built, AIX ld can
16430 # have problems creating the table of contents. If linking a library
16431 # or program results in "error TOC overflow" add -mminimal-toc to
16432 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
16433 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16435 archive_cmds_GCJ
=''
16436 hardcode_direct_GCJ
=yes
16437 hardcode_libdir_separator_GCJ
=':'
16438 link_all_deplibs_GCJ
=yes
16440 if test "$GCC" = yes; then
16441 case $host_os in aix4.
[012]|aix4.
[012].
*)
16442 # We only want to do this on AIX 4.2 and lower, the check
16443 # below for broken collect2 doesn't work under 4.3+
16444 collect2name
=`${CC} -print-prog-name=collect2`
16445 if test -f "$collect2name" && \
16446 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
16448 # We have reworked collect2
16449 hardcode_direct_GCJ
=yes
16451 # We have old collect2
16452 hardcode_direct_GCJ
=unsupported
16453 # It fails to find uninstalled libraries when the uninstalled
16454 # path is not listed in the libpath. Setting hardcode_minus_L
16455 # to unsupported forces relinking
16456 hardcode_minus_L_GCJ
=yes
16457 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16458 hardcode_libdir_separator_GCJ
=
16462 shared_flag
='-shared'
16463 if test "$aix_use_runtimelinking" = yes; then
16464 shared_flag
="$shared_flag "'${wl}-G'
16468 if test "$host_cpu" = ia64
; then
16469 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16470 # chokes on -Wl,-G. The following line is correct:
16473 if test "$aix_use_runtimelinking" = yes; then
16474 shared_flag
='${wl}-G'
16476 shared_flag
='${wl}-bM:SRE'
16481 # It seems that -bexpall does not export symbols beginning with
16482 # underscore (_), so it is better to generate a list of symbols to export.
16483 always_export_symbols_GCJ
=yes
16484 if test "$aix_use_runtimelinking" = yes; then
16485 # Warning - without using the other runtime loading flags (-brtl),
16486 # -berok will link without error, but may produce a broken library.
16487 allow_undefined_flag_GCJ
='-berok'
16488 # Determine the default libpath from the value encoded in an empty executable.
16489 cat >conftest.
$ac_ext <<_ACEOF
16492 cat confdefs.h
>>conftest.
$ac_ext
16493 cat >>conftest.
$ac_ext <<_ACEOF
16494 /* end confdefs.h. */
16504 rm -f conftest.
$ac_objext conftest
$ac_exeext
16505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16506 (eval $ac_link) 2>conftest.er1
16508 grep -v '^ *+' conftest.er1
>conftest.err
16510 cat conftest.err
>&5
16511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16512 (exit $ac_status); } &&
16513 { ac_try
='test -z "$ac_c_werror_flag"
16514 || test ! -s conftest.err'
16515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16516 (eval $ac_try) 2>&5
16518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16519 (exit $ac_status); }; } &&
16520 { ac_try
='test -s conftest$ac_exeext'
16521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16522 (eval $ac_try) 2>&5
16524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16525 (exit $ac_status); }; }; then
16527 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16529 # Check for a 64-bit object if we didn't find anything.
16530 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; }
16533 echo "$as_me: failed program was:" >&5
16534 sed 's/^/| /' conftest.
$ac_ext >&5
16537 rm -f conftest.err conftest.
$ac_objext \
16538 conftest
$ac_exeext conftest.
$ac_ext
16539 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
16541 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
16542 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"
16544 if test "$host_cpu" = ia64
; then
16545 hardcode_libdir_flag_spec_GCJ
='${wl}-R $libdir:/usr/lib:/lib'
16546 allow_undefined_flag_GCJ
="-z nodefs"
16547 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"
16549 # Determine the default libpath from the value encoded in an empty executable.
16550 cat >conftest.
$ac_ext <<_ACEOF
16553 cat confdefs.h
>>conftest.
$ac_ext
16554 cat >>conftest.
$ac_ext <<_ACEOF
16555 /* end confdefs.h. */
16565 rm -f conftest.
$ac_objext conftest
$ac_exeext
16566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16567 (eval $ac_link) 2>conftest.er1
16569 grep -v '^ *+' conftest.er1
>conftest.err
16571 cat conftest.err
>&5
16572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16573 (exit $ac_status); } &&
16574 { ac_try
='test -z "$ac_c_werror_flag"
16575 || test ! -s conftest.err'
16576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16577 (eval $ac_try) 2>&5
16579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16580 (exit $ac_status); }; } &&
16581 { ac_try
='test -s conftest$ac_exeext'
16582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16583 (eval $ac_try) 2>&5
16585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16586 (exit $ac_status); }; }; then
16588 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16590 # Check for a 64-bit object if we didn't find anything.
16591 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; }
16594 echo "$as_me: failed program was:" >&5
16595 sed 's/^/| /' conftest.
$ac_ext >&5
16598 rm -f conftest.err conftest.
$ac_objext \
16599 conftest
$ac_exeext conftest.
$ac_ext
16600 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
16602 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
16603 # Warning - without using the other run time loading flags,
16604 # -berok will link without error, but may produce a broken library.
16605 no_undefined_flag_GCJ
=' ${wl}-bernotok'
16606 allow_undefined_flag_GCJ
=' ${wl}-berok'
16607 # Exported symbols can be pulled into shared objects from archives
16608 whole_archive_flag_spec_GCJ
='$convenience'
16609 archive_cmds_need_lc_GCJ
=yes
16610 # This is similar to how AIX traditionally builds its shared libraries.
16611 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'
16617 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)'
16618 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16619 hardcode_minus_L_GCJ
=yes
16620 # see comment about different semantics on the GNU ld section
16625 export_dynamic_flag_spec_GCJ
=-rdynamic
16628 cygwin
* | mingw
* | pw32
*)
16629 # When not using gcc, we currently assume that we are using
16630 # Microsoft Visual C++.
16631 # hardcode_libdir_flag_spec is actually meaningless, as there is
16632 # no search path for DLLs.
16633 hardcode_libdir_flag_spec_GCJ
=' '
16634 allow_undefined_flag_GCJ
=unsupported
16635 # Tell ltmain to make .lib files, not .a files.
16637 # Tell ltmain to make .dll files, not .so files.
16639 # FIXME: Setting linknames here is a bad hack.
16640 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
16641 # The linker will automatically build a .lib file if we build a DLL.
16642 old_archive_From_new_cmds_GCJ
='true'
16643 # FIXME: Should let the user specify the lib program.
16644 old_archive_cmds_GCJ
='lib /OUT:$oldlib$oldobjs$old_deplibs'
16645 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
16646 enable_shared_with_static_runtimes_GCJ
=yes
16649 darwin
* | rhapsody
*)
16651 rhapsody
* | darwin1.
[012])
16652 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
16655 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
16656 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16658 case ${MACOSX_DEPLOYMENT_TARGET} in
16660 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16663 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
16669 archive_cmds_need_lc_GCJ
=no
16670 hardcode_direct_GCJ
=no
16671 hardcode_automatic_GCJ
=yes
16672 hardcode_shlibpath_var_GCJ
=unsupported
16673 whole_archive_flag_spec_GCJ
=''
16674 link_all_deplibs_GCJ
=yes
16675 if test "$GCC" = yes ; then
16676 output_verbose_link_cmd
='echo'
16677 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16678 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16679 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16680 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}'
16681 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}'
16683 case $cc_basename in
16685 output_verbose_link_cmd
='echo'
16686 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
16687 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16688 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16689 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}'
16690 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}'
16700 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16701 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16702 hardcode_shlibpath_var_GCJ
=no
16709 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
16710 # support. Future versions do this automatically, but an explicit c++rt0.o
16711 # does not break anything, and helps significantly (at the cost of a little
16714 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
16715 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16716 hardcode_direct_GCJ
=yes
16717 hardcode_shlibpath_var_GCJ
=no
16720 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
16722 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16723 hardcode_direct_GCJ
=yes
16724 hardcode_minus_L_GCJ
=yes
16725 hardcode_shlibpath_var_GCJ
=no
16728 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16729 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
16730 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16731 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16732 hardcode_direct_GCJ
=yes
16733 hardcode_shlibpath_var_GCJ
=no
16737 if test "$GCC" = yes; then
16738 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'
16740 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'
16742 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16743 hardcode_libdir_separator_GCJ
=:
16744 hardcode_direct_GCJ
=yes
16746 # hardcode_minus_L: Not really in the search PATH,
16747 # but as the default location of the library.
16748 hardcode_minus_L_GCJ
=yes
16749 export_dynamic_flag_spec_GCJ
='${wl}-E'
16753 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
16754 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16756 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
16758 if test "$with_gnu_ld" = no
; then
16759 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16760 hardcode_libdir_separator_GCJ
=:
16762 hardcode_direct_GCJ
=yes
16763 export_dynamic_flag_spec_GCJ
='${wl}-E'
16765 # hardcode_minus_L: Not really in the search PATH,
16766 # but as the default location of the library.
16767 hardcode_minus_L_GCJ
=yes
16772 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
16775 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16778 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16781 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16787 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16790 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16793 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16797 if test "$with_gnu_ld" = no
; then
16798 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16799 hardcode_libdir_separator_GCJ
=:
16803 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
16804 hardcode_direct_GCJ
=no
16805 hardcode_shlibpath_var_GCJ
=no
16808 hardcode_direct_GCJ
=yes
16809 export_dynamic_flag_spec_GCJ
='${wl}-E'
16811 # hardcode_minus_L: Not really in the search PATH,
16812 # but as the default location of the library.
16813 hardcode_minus_L_GCJ
=yes
16819 irix5
* | irix6
* | nonstopux
*)
16820 if test "$GCC" = yes; then
16821 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'
16823 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'
16824 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
16826 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16827 hardcode_libdir_separator_GCJ
=:
16828 link_all_deplibs_GCJ
=yes
16832 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16833 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
16835 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
16837 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16838 hardcode_direct_GCJ
=yes
16839 hardcode_shlibpath_var_GCJ
=no
16843 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16844 hardcode_direct_GCJ
=yes
16845 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16846 hardcode_libdir_separator_GCJ
=:
16847 hardcode_shlibpath_var_GCJ
=no
16851 hardcode_direct_GCJ
=yes
16852 hardcode_shlibpath_var_GCJ
=no
16853 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16854 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16855 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
16856 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16857 export_dynamic_flag_spec_GCJ
='${wl}-E'
16860 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
16861 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16862 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16865 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16866 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16873 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16874 hardcode_minus_L_GCJ
=yes
16875 allow_undefined_flag_GCJ
=unsupported
16876 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'
16877 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16881 if test "$GCC" = yes; then
16882 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
16883 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'
16885 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
16886 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'
16888 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16889 hardcode_libdir_separator_GCJ
=:
16892 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
16893 if test "$GCC" = yes; then
16894 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
16895 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'
16896 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16898 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
16899 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'
16900 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~
16901 $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'
16903 # Both c and cxx compiler support -rpath directly
16904 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
16906 hardcode_libdir_separator_GCJ
=:
16910 no_undefined_flag_GCJ
=' -z text'
16911 if test "$GCC" = yes; then
16913 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16914 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16915 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16918 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16919 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16920 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16922 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16923 hardcode_shlibpath_var_GCJ
=no
16925 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
16927 # The compiler driver will combine linker options so we
16928 # cannot just pass the convience library names through
16929 # without $wl, iff we do not link with $LD.
16930 # Luckily, gcc supports the same syntax we need for Sun Studio.
16931 # Supported since Solaris 2.6 (maybe 2.5.1?)
16934 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract' ;;
16936 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' ;;
16939 link_all_deplibs_GCJ
=yes
16943 if test "x$host_vendor" = xsequent
; then
16944 # Use $CC to link under sequent, because it throws in some extra .o
16945 # files that make .init and .fini sections work.
16946 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16948 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16950 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16951 hardcode_direct_GCJ
=yes
16952 hardcode_minus_L_GCJ
=yes
16953 hardcode_shlibpath_var_GCJ
=no
16957 case $host_vendor in
16959 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16960 hardcode_direct_GCJ
=yes # is this really true???
16963 ## LD is ld it makes a PLAMLIB
16964 ## CC just makes a GrossModule.
16965 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16966 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
16967 hardcode_direct_GCJ
=no
16970 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16971 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
16974 runpath_var
='LD_RUN_PATH'
16975 hardcode_shlibpath_var_GCJ
=no
16979 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16980 hardcode_shlibpath_var_GCJ
=no
16981 export_dynamic_flag_spec_GCJ
='-Bexport'
16985 if test -d /usr
/nec
; then
16986 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16987 hardcode_shlibpath_var_GCJ
=no
16988 runpath_var
=LD_RUN_PATH
16989 hardcode_runpath_var
=yes
16994 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
16995 no_undefined_flag_GCJ
='${wl}-z,text'
16996 archive_cmds_need_lc_GCJ
=no
16997 hardcode_shlibpath_var_GCJ
=no
16998 runpath_var
='LD_RUN_PATH'
17000 if test "$GCC" = yes; then
17001 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17002 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17004 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17005 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17009 sysv5
* | sco3.2v5
* | sco5v6
*)
17010 # Note: We can NOT use -z defs as we might desire, because we do not
17011 # link with -lc, and that would cause any symbols used from libc to
17012 # always be unresolved, which means just about no library would
17013 # ever link correctly. If we're not using GNU ld we use -z text
17014 # though, which does catch some bad symbols but isn't as heavy-handed
17016 no_undefined_flag_GCJ
='${wl}-z,text'
17017 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
17018 archive_cmds_need_lc_GCJ
=no
17019 hardcode_shlibpath_var_GCJ
=no
17020 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
17021 hardcode_libdir_separator_GCJ
=':'
17022 link_all_deplibs_GCJ
=yes
17023 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
17024 runpath_var
='LD_RUN_PATH'
17026 if test "$GCC" = yes; then
17027 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17028 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17030 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17031 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17036 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17037 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17038 hardcode_shlibpath_var_GCJ
=no
17047 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17048 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
17049 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
17052 # Do we need to explicitly link libc?
17054 case "x$archive_cmds_need_lc_GCJ" in
17056 # Assume -lc should be added
17057 archive_cmds_need_lc_GCJ
=yes
17059 if test "$enable_shared" = yes && test "$GCC" = yes; then
17060 case $archive_cmds_GCJ in
17062 # FIXME: we may have to deal with multi-command sequences.
17065 # Test whether the compiler implicitly links with -lc since on some
17066 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17067 # to ld, don't add -lc before -lgcc.
17068 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17069 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
17071 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
17073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17074 (eval $ac_compile) 2>&5
17076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17077 (exit $ac_status); } 2>conftest.err
; then
17080 libobjs
=conftest.
$ac_objext
17082 wl
=$lt_prog_compiler_wl_GCJ
17083 pic_flag
=$lt_prog_compiler_pic_GCJ
17089 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
17090 allow_undefined_flag_GCJ
=
17091 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17092 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
17094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17095 (exit $ac_status); }
17097 archive_cmds_need_lc_GCJ
=no
17099 archive_cmds_need_lc_GCJ
=yes
17101 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
17103 cat conftest.err
1>&5
17106 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17107 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
17114 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17115 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
17116 library_names_spec
=
17117 libname_spec
='lib$name'
17121 postuninstall_cmds
=
17125 shlibpath_overrides_runpath
=unknown
17127 dynamic_linker
="$host_os ld.so"
17128 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
17129 if test "$GCC" = yes; then
17130 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17131 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
17132 # if the path contains ";" then we assume it to be the separator
17133 # otherwise default to the standard path separator (i.e. ":") - it is
17134 # assumed that no part of a normal pathname contains ";" but that should
17135 # okay in the real world where ";" in dirpaths is itself problematic.
17136 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17138 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17141 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
17143 need_lib_prefix
=unknown
17144 hardcode_into_libs
=no
17146 # when you set need_version to no, make sure it does not cause -set_version
17147 # flags to be left without arguments
17148 need_version
=unknown
17153 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
17154 shlibpath_var
=LIBPATH
17156 # AIX 3 has no versioning support, so we append a major version to the name.
17157 soname_spec
='${libname}${release}${shared_ext}$major'
17164 hardcode_into_libs
=yes
17165 if test "$host_cpu" = ia64
; then
17166 # AIX 5 supports IA64
17167 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17168 shlibpath_var
=LD_LIBRARY_PATH
17170 # With GCC up to 2.95.x, collect2 would create an import file
17171 # for dependence libraries. The import file would start with
17172 # the line `#! .'. This would cause the generated library to
17173 # depend on `.', always an invalid library. This was fixed in
17174 # development snapshots of GCC prior to 3.0.
17176 aix4 | aix4.
[01] | aix4.
[01].
*)
17177 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17179 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
17182 can_build_shared
=no
17186 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17187 # soname into executable. Probably we can add versioning support to
17188 # collect2, so additional links can be useful in future.
17189 if test "$aix_use_runtimelinking" = yes; then
17190 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17191 # instead of lib<name>.a to let people know that these are not
17192 # typical AIX shared libraries.
17193 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17195 # We preserve .a as extension for shared libraries through AIX4.2
17196 # and later when we are not doing run time linking.
17197 library_names_spec
='${libname}${release}.a $libname.a'
17198 soname_spec
='${libname}${release}${shared_ext}$major'
17200 shlibpath_var
=LIBPATH
17205 library_names_spec
='$libname.ixlibrary $libname.a'
17206 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17207 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'
17211 library_names_spec
='${libname}${shared_ext}'
17212 dynamic_linker
="$host_os ld.so"
17213 shlibpath_var
=LIBRARY_PATH
17219 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17220 soname_spec
='${libname}${release}${shared_ext}$major'
17221 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
17222 shlibpath_var
=LD_LIBRARY_PATH
17223 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17224 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
17225 # the default ld.so.conf also contains /usr/contrib/lib and
17226 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17227 # libtool to hard-code these into programs
17230 cygwin
* | mingw
* | pw32
*)
17231 version_type
=windows
17236 case $GCC,$host_os in
17237 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
17238 library_names_spec
='$libname.dll.a'
17239 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17240 postinstall_cmds
='base_file=`basename \${file}`~
17241 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17242 dldir=$destdir/`dirname \$dlpath`~
17243 test -d \$dldir || mkdir -p \$dldir~
17244 $install_prog $dir/$dlname \$dldir/$dlname~
17245 chmod a+x \$dldir/$dlname'
17246 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17247 dlpath=$dir/\$dldll~
17249 shlibpath_overrides_runpath
=yes
17253 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17254 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17255 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
17258 # MinGW DLLs use traditional 'lib' prefix
17259 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17260 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17261 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
17262 # It is most probably a Windows format PATH printed by
17263 # mingw gcc, but we are running on Cygwin. Gcc prints its search
17264 # path with ; separators, and with drive letters. We can handle the
17265 # drive letters (cygwin fileutils understands them), so leave them,
17266 # especially as we might pass files found there to a mingw objdump,
17267 # which wouldn't understand a cygwinified path. Ahh.
17268 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17270 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17274 # pw32 DLLs use 'pw' prefix rather than 'lib'
17275 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17281 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17284 dynamic_linker
='Win32 ld.exe'
17285 # FIXME: first we should search . and the directory the executable is in
17289 darwin
* | rhapsody
*)
17290 dynamic_linker
="$host_os dyld"
17291 version_type
=darwin
17294 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17295 soname_spec
='${libname}${release}${major}$shared_ext'
17296 shlibpath_overrides_runpath
=yes
17297 shlibpath_var
=DYLD_LIBRARY_PATH
17298 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
17299 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
17300 if test "$GCC" = yes; then
17301 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"`
17303 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
17305 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
17312 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17313 soname_spec
='${libname}${release}${shared_ext}$major'
17314 shlibpath_var
=LD_LIBRARY_PATH
17325 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17326 soname_spec
='${libname}${release}${shared_ext}$major'
17327 shlibpath_var
=LD_LIBRARY_PATH
17328 shlibpath_overrides_runpath
=no
17329 hardcode_into_libs
=yes
17330 dynamic_linker
='GNU ld.so'
17333 freebsd
* | dragonfly
*)
17334 # DragonFly does not have aout. When/if they implement a new
17335 # versioning mechanism, adjust this.
17336 if test -x /usr
/bin
/objformat
; then
17337 objformat
=`/usr/bin/objformat`
17340 freebsd
[123]*) objformat
=aout
;;
17341 *) objformat
=elf
;;
17344 version_type
=freebsd-
$objformat
17345 case $version_type in
17347 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17352 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17356 shlibpath_var
=LD_LIBRARY_PATH
17359 shlibpath_overrides_runpath
=yes
17361 freebsd3.
[01]* | freebsdelf3.
[01]*)
17362 shlibpath_overrides_runpath
=yes
17363 hardcode_into_libs
=yes
17365 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
17366 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
17367 shlibpath_overrides_runpath
=no
17368 hardcode_into_libs
=yes
17370 freebsd
*) # from 4.6 on
17371 shlibpath_overrides_runpath
=yes
17372 hardcode_into_libs
=yes
17381 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17382 soname_spec
='${libname}${release}${shared_ext}$major'
17383 shlibpath_var
=LD_LIBRARY_PATH
17384 hardcode_into_libs
=yes
17387 hpux9
* | hpux10
* | hpux11
*)
17388 # Give a soname corresponding to the major version so that dld.sl refuses to
17389 # link against other versions.
17396 hardcode_into_libs
=yes
17397 dynamic_linker
="$host_os dld.so"
17398 shlibpath_var
=LD_LIBRARY_PATH
17399 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17400 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17401 soname_spec
='${libname}${release}${shared_ext}$major'
17402 if test "X$HPUX_IA64_MODE" = X32
; then
17403 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17405 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
17407 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17411 hardcode_into_libs
=yes
17412 dynamic_linker
="$host_os dld.sl"
17413 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
17414 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17415 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17416 soname_spec
='${libname}${release}${shared_ext}$major'
17417 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17418 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17422 dynamic_linker
="$host_os dld.sl"
17423 shlibpath_var
=SHLIB_PATH
17424 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
17425 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17426 soname_spec
='${libname}${release}${shared_ext}$major'
17429 # HP-UX runs *really* slowly unless shared libraries are mode 555.
17430 postinstall_cmds
='chmod 555 $lib'
17437 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17438 soname_spec
='${libname}${release}${shared_ext}$major'
17439 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
17440 shlibpath_var
=LD_LIBRARY_PATH
17441 shlibpath_overrides_runpath
=no
17442 hardcode_into_libs
=yes
17445 irix5
* | irix6
* | nonstopux
*)
17447 nonstopux
*) version_type
=nonstopux
;;
17449 if test "$lt_cv_prog_gnu_ld" = yes; then
17457 soname_spec
='${libname}${release}${shared_ext}$major'
17458 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17460 irix5
* | nonstopux
*)
17461 libsuff
= shlibsuff
=
17464 case $LD in # libtool.m4 will add one of these switches to LD
17465 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
17466 libsuff
= shlibsuff
= libmagic
=32-bit;;
17467 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
17468 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
17469 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
17470 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
17471 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
17475 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
17476 shlibpath_overrides_runpath
=no
17477 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17478 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
17479 hardcode_into_libs
=yes
17482 # No shared lib support for Linux oldld, aout, or coff.
17483 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
17487 # This must be Linux ELF.
17492 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17493 soname_spec
='${libname}${release}${shared_ext}$major'
17494 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17495 shlibpath_var
=LD_LIBRARY_PATH
17496 shlibpath_overrides_runpath
=no
17497 # This implies no fast_install, which is unacceptable.
17498 # Some rework will be needed to allow for fast_install
17499 # before this can be enabled.
17500 hardcode_into_libs
=yes
17502 # find out which ABI we are using
17504 case "$host_cpu" in
17505 x86_64
*|s390x
*|powerpc64
*)
17506 echo '#line 17506 "configure"' > conftest.
$ac_ext
17507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17508 (eval $ac_compile) 2>&5
17510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17511 (exit $ac_status); }; then
17512 case `/usr/bin/file conftest.$ac_objext` in
17515 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
17523 # Append ld.so.conf contents to the search path
17524 if test -f /etc
/ld.so.conf
; then
17525 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' ' '`
17526 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
17529 # We used to test for /lib/ld.so.1 and disable shared libraries on
17530 # powerpc, because MkLinux only supported shared libraries with the
17531 # GNU dynamic linker. Since this was broken with cross compilers,
17532 # most powerpc-linux boxes support dynamic linking these days and
17533 # people can always --disable-shared, the test was removed, and we
17534 # assume the GNU/Linux dynamic linker is in use.
17535 dynamic_linker
='GNU/Linux ld.so'
17542 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17543 soname_spec
='${libname}${release}${shared_ext}$major'
17544 shlibpath_var
=LD_LIBRARY_PATH
17545 shlibpath_overrides_runpath
=no
17546 hardcode_into_libs
=yes
17547 dynamic_linker
='GNU ld.so'
17554 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17555 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17556 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17557 dynamic_linker
='NetBSD (a.out) ld.so'
17559 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17560 soname_spec
='${libname}${release}${shared_ext}$major'
17561 dynamic_linker
='NetBSD ld.elf_so'
17563 shlibpath_var
=LD_LIBRARY_PATH
17564 shlibpath_overrides_runpath
=yes
17565 hardcode_into_libs
=yes
17570 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17571 shlibpath_var
=LD_LIBRARY_PATH
17572 shlibpath_overrides_runpath
=yes
17579 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17580 soname_spec
='${libname}${release}${shared_ext}$major'
17581 shlibpath_var
=LD_LIBRARY_PATH
17582 shlibpath_overrides_runpath
=yes
17587 sys_lib_dlsearch_path_spec
="/usr/lib"
17589 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17591 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
17592 *) need_version
=no
;;
17594 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17595 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17596 shlibpath_var
=LD_LIBRARY_PATH
17597 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17599 openbsd2.
[89] | openbsd2.
[89].
*)
17600 shlibpath_overrides_runpath
=no
17603 shlibpath_overrides_runpath
=yes
17607 shlibpath_overrides_runpath
=yes
17612 libname_spec
='$name'
17615 library_names_spec
='$libname${shared_ext} $libname.a'
17616 dynamic_linker
='OS/2 ld.exe'
17617 shlibpath_var
=LIBPATH
17620 osf3
* | osf4
* | osf5
*)
17624 soname_spec
='${libname}${release}${shared_ext}$major'
17625 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17626 shlibpath_var
=LD_LIBRARY_PATH
17627 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17628 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
17635 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17636 soname_spec
='${libname}${release}${shared_ext}$major'
17637 shlibpath_var
=LD_LIBRARY_PATH
17638 shlibpath_overrides_runpath
=yes
17639 hardcode_into_libs
=yes
17640 # ldd complains unless libraries are executable
17641 postinstall_cmds
='chmod +x $lib'
17646 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17647 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17648 shlibpath_var
=LD_LIBRARY_PATH
17649 shlibpath_overrides_runpath
=yes
17650 if test "$with_gnu_ld" = yes; then
17658 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17659 soname_spec
='${libname}${release}${shared_ext}$major'
17660 shlibpath_var
=LD_LIBRARY_PATH
17661 case $host_vendor in
17663 shlibpath_overrides_runpath
=no
17665 export_dynamic_flag_spec
='${wl}-Blargedynsym'
17666 runpath_var
=LD_RUN_PATH
17674 shlibpath_overrides_runpath
=no
17675 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
17681 if test -d /usr
/nec
;then
17683 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17684 soname_spec
='$libname${shared_ext}.$major'
17685 shlibpath_var
=LD_LIBRARY_PATH
17689 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
17690 version_type
=freebsd-elf
17693 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17694 soname_spec
='${libname}${release}${shared_ext}$major'
17695 shlibpath_var
=LD_LIBRARY_PATH
17696 hardcode_into_libs
=yes
17697 if test "$with_gnu_ld" = yes; then
17698 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17699 shlibpath_overrides_runpath
=no
17701 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
17702 shlibpath_overrides_runpath
=yes
17705 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
17709 sys_lib_dlsearch_path_spec
='/usr/lib'
17714 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17715 soname_spec
='${libname}${release}${shared_ext}$major'
17716 shlibpath_var
=LD_LIBRARY_PATH
17723 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17724 echo "${ECHO_T}$dynamic_linker" >&6
17725 test "$dynamic_linker" = no
&& can_build_shared
=no
17727 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
17728 if test "$GCC" = yes; then
17729 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17732 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17733 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
17734 hardcode_action_GCJ
=
17735 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
17736 test -n "$runpath_var_GCJ" || \
17737 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
17739 # We can hardcode non-existant directories.
17740 if test "$hardcode_direct_GCJ" != no
&&
17741 # If the only mechanism to avoid hardcoding is shlibpath_var, we
17742 # have to relink, otherwise we might link with an installed library
17743 # when we should be linking with a yet-to-be-installed one
17744 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
17745 test "$hardcode_minus_L_GCJ" != no
; then
17746 # Linking always hardcodes the temporary library directory.
17747 hardcode_action_GCJ
=relink
17749 # We can link without hardcoding, and we can hardcode nonexisting dirs.
17750 hardcode_action_GCJ
=immediate
17753 # We cannot hardcode anything, or else we can only hardcode existing
17755 hardcode_action_GCJ
=unsupported
17757 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
17758 echo "${ECHO_T}$hardcode_action_GCJ" >&6
17760 if test "$hardcode_action_GCJ" = relink
; then
17761 # Fast installation is not supported
17762 enable_fast_install
=no
17763 elif test "$shlibpath_overrides_runpath" = yes ||
17764 test "$enable_shared" = no
; then
17765 # Fast installation is not necessary
17766 enable_fast_install
=needless
17770 # The else clause should only fire when bootstrapping the
17771 # libtool distribution, otherwise you forgot to ship ltmain.sh
17772 # with your package, and you will get complaints that there are
17773 # no rules to generate ltmain.sh.
17774 if test -f "$ltmain"; then
17775 # See if we are running on zsh, and set the options which allow our commands through
17776 # without removal of \ escapes.
17777 if test -n "${ZSH_VERSION+set}" ; then
17778 setopt NO_GLOB_SUBST
17780 # Now quote all the things that may contain metacharacters while being
17781 # careful not to overquote the AC_SUBSTed values. We take copies of the
17782 # variables and quote the copies for generation of the libtool script.
17783 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
17785 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17786 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17787 deplibs_check_method reload_flag reload_cmds need_locks \
17788 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17789 lt_cv_sys_global_symbol_to_c_name_address \
17790 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17791 old_postinstall_cmds old_postuninstall_cmds \
17795 lt_prog_compiler_wl_GCJ \
17796 lt_prog_compiler_pic_GCJ \
17797 lt_prog_compiler_static_GCJ \
17798 lt_prog_compiler_no_builtin_flag_GCJ \
17799 export_dynamic_flag_spec_GCJ \
17800 thread_safe_flag_spec_GCJ \
17801 whole_archive_flag_spec_GCJ \
17802 enable_shared_with_static_runtimes_GCJ \
17803 old_archive_cmds_GCJ \
17804 old_archive_from_new_cmds_GCJ \
17805 predep_objects_GCJ \
17806 postdep_objects_GCJ \
17809 compiler_lib_search_path_GCJ \
17811 archive_expsym_cmds_GCJ \
17812 postinstall_cmds_GCJ \
17813 postuninstall_cmds_GCJ \
17814 old_archive_from_expsyms_cmds_GCJ \
17815 allow_undefined_flag_GCJ \
17816 no_undefined_flag_GCJ \
17817 export_symbols_cmds_GCJ \
17818 hardcode_libdir_flag_spec_GCJ \
17819 hardcode_libdir_flag_spec_ld_GCJ \
17820 hardcode_libdir_separator_GCJ \
17821 hardcode_automatic_GCJ \
17823 module_expsym_cmds_GCJ \
17824 lt_cv_prog_compiler_c_o_GCJ \
17825 exclude_expsyms_GCJ \
17826 include_expsyms_GCJ
; do
17829 old_archive_cmds_GCJ | \
17830 old_archive_from_new_cmds_GCJ | \
17831 archive_cmds_GCJ | \
17832 archive_expsym_cmds_GCJ | \
17833 module_cmds_GCJ | \
17834 module_expsym_cmds_GCJ | \
17835 old_archive_from_expsyms_cmds_GCJ | \
17836 export_symbols_cmds_GCJ | \
17837 extract_expsyms_cmds | reload_cmds | finish_cmds | \
17838 postinstall_cmds | postuninstall_cmds | \
17839 old_postinstall_cmds | old_postuninstall_cmds | \
17840 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
17841 # Double-quote double-evaled strings.
17842 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17845 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17851 *'\$0 --fallback-echo"')
17852 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17858 cat <<__EOF__ >> "$cfgfile"
17859 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
17861 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17863 # Shell to use when invoking shell scripts.
17866 # Whether or not to build shared libraries.
17867 build_libtool_libs=$enable_shared
17869 # Whether or not to build static libraries.
17870 build_old_libs=$enable_static
17872 # Whether or not to add -lc for building shared libraries.
17873 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
17875 # Whether or not to disallow shared libs when runtime libs are static
17876 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
17878 # Whether or not to optimize for fast installation.
17879 fast_install=$enable_fast_install
17882 host_alias=$host_alias
17886 # The build system.
17887 build_alias=$build_alias
17891 # An echo program that does not interpret backslashes.
17896 AR_FLAGS=$lt_AR_FLAGS
17901 # LTCC compiler flags.
17902 LTCFLAGS=$lt_LTCFLAGS
17904 # A language-specific compiler.
17905 CC=$lt_compiler_GCJ
17907 # Is the compiler the GNU C compiler?
17910 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
17911 gcc_ver=\`gcc -dumpversion\`
17916 # The linker used to build libraries.
17919 # Whether we need hard or soft links.
17922 # A BSD-compatible nm program.
17925 # A symbol stripping program
17928 # Used to examine libraries when file_magic_cmd begins "file"
17929 MAGIC_CMD=$MAGIC_CMD
17931 # Used on cygwin: DLL creation program.
17934 # Used on cygwin: object dumper.
17937 # Used on cygwin: assembler.
17940 # The name of the directory that contains temporary libtool files.
17943 # How to create reloadable object files.
17944 reload_flag=$lt_reload_flag
17945 reload_cmds=$lt_reload_cmds
17947 # How to pass a linker flag through the compiler.
17948 wl=$lt_lt_prog_compiler_wl_GCJ
17950 # Object file suffix (normally "o").
17951 objext="$ac_objext"
17953 # Old archive suffix (normally "a").
17956 # Shared library suffix (normally ".so").
17957 shrext_cmds='$shrext_cmds'
17959 # Executable file suffix (normally "").
17962 # Additional compiler flags for building library objects.
17963 pic_flag=$lt_lt_prog_compiler_pic_GCJ
17966 # What is the maximum length of a command?
17967 max_cmd_len=$lt_cv_sys_max_cmd_len
17969 # Does compiler simultaneously support -c and -o options?
17970 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
17972 # Must we lock files when doing compilation?
17973 need_locks=$lt_need_locks
17975 # Do we need the lib prefix for modules?
17976 need_lib_prefix=$need_lib_prefix
17978 # Do we need a version for libraries?
17979 need_version=$need_version
17981 # Whether dlopen is supported.
17982 dlopen_support=$enable_dlopen
17984 # Whether dlopen of programs is supported.
17985 dlopen_self=$enable_dlopen_self
17987 # Whether dlopen of statically linked programs is supported.
17988 dlopen_self_static=$enable_dlopen_self_static
17990 # Compiler flag to prevent dynamic linking.
17991 link_static_flag=$lt_lt_prog_compiler_static_GCJ
17993 # Compiler flag to turn off builtin functions.
17994 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
17996 # Compiler flag to allow reflexive dlopens.
17997 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
17999 # Compiler flag to generate shared objects directly from archives.
18000 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
18002 # Compiler flag to generate thread-safe objects.
18003 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
18005 # Library versioning type.
18006 version_type=$version_type
18008 # Format of library name prefix.
18009 libname_spec=$lt_libname_spec
18011 # List of archive names. First name is the real one, the rest are links.
18012 # The last name is the one that the linker finds with -lNAME.
18013 library_names_spec=$lt_library_names_spec
18015 # The coded name of the library, if different from the real name.
18016 soname_spec=$lt_soname_spec
18018 # Commands used to build and install an old-style archive.
18020 old_archive_cmds=$lt_old_archive_cmds_GCJ
18021 old_postinstall_cmds=$lt_old_postinstall_cmds
18022 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18024 # Create an old-style archive from a shared archive.
18025 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
18027 # Create a temporary old-style archive to link instead of a shared archive.
18028 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
18030 # Commands used to build and install a shared archive.
18031 archive_cmds=$lt_archive_cmds_GCJ
18032 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
18033 postinstall_cmds=$lt_postinstall_cmds
18034 postuninstall_cmds=$lt_postuninstall_cmds
18036 # Commands used to build a loadable module (assumed same as above if empty)
18037 module_cmds=$lt_module_cmds_GCJ
18038 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
18040 # Commands to strip libraries.
18041 old_striplib=$lt_old_striplib
18042 striplib=$lt_striplib
18044 # Dependencies to place before the objects being linked to create a
18046 predep_objects=\`echo $lt_predep_objects_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
18048 # Dependencies to place after the objects being linked to create a
18050 postdep_objects=\`echo $lt_postdep_objects_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
18052 # Dependencies to place before the objects being linked to create a
18054 predeps=$lt_predeps_GCJ
18056 # Dependencies to place after the objects being linked to create a
18058 postdeps=$lt_postdeps_GCJ
18060 # The library search path used internally by the compiler when linking
18061 # a shared library.
18062 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"\`
18064 # Method to check whether dependent libraries are shared objects.
18065 deplibs_check_method=$lt_deplibs_check_method
18067 # Command to use when deplibs_check_method == file_magic.
18068 file_magic_cmd=$lt_file_magic_cmd
18070 # Flag that allows shared libraries with undefined symbols to be built.
18071 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
18073 # Flag that forces no undefined symbols.
18074 no_undefined_flag=$lt_no_undefined_flag_GCJ
18076 # Commands used to finish a libtool library installation in a directory.
18077 finish_cmds=$lt_finish_cmds
18079 # Same as above, but a single script fragment to be evaled but not shown.
18080 finish_eval=$lt_finish_eval
18082 # Take the output of nm and produce a listing of raw symbols and C names.
18083 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18085 # Transform the output of nm in a proper C declaration
18086 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18088 # Transform the output of nm in a C name address pair
18089 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18091 # This is the shared library runtime path variable.
18092 runpath_var=$runpath_var
18094 # This is the shared library path variable.
18095 shlibpath_var=$shlibpath_var
18097 # Is shlibpath searched before the hard-coded library search path?
18098 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18100 # How to hardcode a shared library path into an executable.
18101 hardcode_action=$hardcode_action_GCJ
18103 # Whether we should hardcode library paths into libraries.
18104 hardcode_into_libs=$hardcode_into_libs
18106 # Flag to hardcode \$libdir into a binary during linking.
18107 # This must work even if \$libdir does not exist.
18108 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
18110 # If ld is used when linking, flag to hardcode \$libdir into
18111 # a binary during linking. This must work even if \$libdir does
18113 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
18115 # Whether we need a single -rpath flag with a separated argument.
18116 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
18118 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18119 # resulting binary.
18120 hardcode_direct=$hardcode_direct_GCJ
18122 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18123 # resulting binary.
18124 hardcode_minus_L=$hardcode_minus_L_GCJ
18126 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18127 # the resulting binary.
18128 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
18130 # Set to yes if building a shared library automatically hardcodes DIR into the library
18131 # and all subsequent libraries and executables linked against it.
18132 hardcode_automatic=$hardcode_automatic_GCJ
18134 # Variables whose values should be saved in libtool wrapper scripts and
18135 # restored at relink time.
18136 variables_saved_for_relink="$variables_saved_for_relink"
18138 # Whether libtool must link a program against all its dependency libraries.
18139 link_all_deplibs=$link_all_deplibs_GCJ
18141 # Compile-time system search path for libraries
18142 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"\`
18144 # Run-time system search path for libraries
18145 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18147 # Fix the shell variable \$srcfile for the compiler.
18148 fix_srcfile_path="$fix_srcfile_path_GCJ"
18150 # Set to yes if exported symbols are required.
18151 always_export_symbols=$always_export_symbols_GCJ
18153 # The commands to list exported symbols.
18154 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
18156 # The commands to extract the exported symbol list from a shared archive.
18157 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18159 # Symbols that should not be listed in the preloaded symbols.
18160 exclude_expsyms=$lt_exclude_expsyms_GCJ
18162 # Symbols that must always be exported.
18163 include_expsyms=$lt_include_expsyms_GCJ
18165 # ### END LIBTOOL TAG CONFIG: $tagname
18171 # If there is no Makefile yet, we rely on a make rule to execute
18172 # `config.status --recheck' to rerun these tests and create the
18173 # libtool script then.
18174 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18175 if test -f "$ltmain_in"; then
18176 test -f Makefile
&& make "$ltmain"
18182 ac_cpp
='$CPP $CPPFLAGS'
18183 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18184 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18185 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18198 # Source file extension for RC test sources.
18201 # Object file extension for compiled RC test sources.
18205 # Code to be used in simple compile tests
18206 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
18208 # Code to be used in simple link tests
18209 lt_simple_link_test_code
="$lt_simple_compile_test_code"
18211 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18213 # If no C compiler was specified, use CC.
18216 # If no C compiler flags were specified, use CFLAGS.
18217 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
18219 # Allow CC to be a program name with arguments.
18223 # save warnings/boilerplate of simple test code
18224 ac_outfile
=conftest.
$ac_objext
18225 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
18226 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18227 _lt_compiler_boilerplate
=`cat conftest.err`
18230 ac_outfile
=conftest.
$ac_objext
18231 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
18232 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18233 _lt_linker_boilerplate
=`cat conftest.err`
18237 # Allow CC to be a program name with arguments.
18242 for cc_temp
in $compiler""; do
18244 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
18245 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
18250 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18252 lt_cv_prog_compiler_c_o_RC
=yes
18254 # The else clause should only fire when bootstrapping the
18255 # libtool distribution, otherwise you forgot to ship ltmain.sh
18256 # with your package, and you will get complaints that there are
18257 # no rules to generate ltmain.sh.
18258 if test -f "$ltmain"; then
18259 # See if we are running on zsh, and set the options which allow our commands through
18260 # without removal of \ escapes.
18261 if test -n "${ZSH_VERSION+set}" ; then
18262 setopt NO_GLOB_SUBST
18264 # Now quote all the things that may contain metacharacters while being
18265 # careful not to overquote the AC_SUBSTed values. We take copies of the
18266 # variables and quote the copies for generation of the libtool script.
18267 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18269 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18270 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18271 deplibs_check_method reload_flag reload_cmds need_locks \
18272 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18273 lt_cv_sys_global_symbol_to_c_name_address \
18274 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18275 old_postinstall_cmds old_postuninstall_cmds \
18279 lt_prog_compiler_wl_RC \
18280 lt_prog_compiler_pic_RC \
18281 lt_prog_compiler_static_RC \
18282 lt_prog_compiler_no_builtin_flag_RC \
18283 export_dynamic_flag_spec_RC \
18284 thread_safe_flag_spec_RC \
18285 whole_archive_flag_spec_RC \
18286 enable_shared_with_static_runtimes_RC \
18287 old_archive_cmds_RC \
18288 old_archive_from_new_cmds_RC \
18289 predep_objects_RC \
18290 postdep_objects_RC \
18293 compiler_lib_search_path_RC \
18295 archive_expsym_cmds_RC \
18296 postinstall_cmds_RC \
18297 postuninstall_cmds_RC \
18298 old_archive_from_expsyms_cmds_RC \
18299 allow_undefined_flag_RC \
18300 no_undefined_flag_RC \
18301 export_symbols_cmds_RC \
18302 hardcode_libdir_flag_spec_RC \
18303 hardcode_libdir_flag_spec_ld_RC \
18304 hardcode_libdir_separator_RC \
18305 hardcode_automatic_RC \
18307 module_expsym_cmds_RC \
18308 lt_cv_prog_compiler_c_o_RC \
18309 exclude_expsyms_RC \
18310 include_expsyms_RC
; do
18313 old_archive_cmds_RC | \
18314 old_archive_from_new_cmds_RC | \
18315 archive_cmds_RC | \
18316 archive_expsym_cmds_RC | \
18318 module_expsym_cmds_RC | \
18319 old_archive_from_expsyms_cmds_RC | \
18320 export_symbols_cmds_RC | \
18321 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18322 postinstall_cmds | postuninstall_cmds | \
18323 old_postinstall_cmds | old_postuninstall_cmds | \
18324 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18325 # Double-quote double-evaled strings.
18326 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18329 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18335 *'\$0 --fallback-echo"')
18336 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18342 cat <<__EOF__ >> "$cfgfile"
18343 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18345 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18347 # Shell to use when invoking shell scripts.
18350 # Whether or not to build shared libraries.
18351 build_libtool_libs=$enable_shared
18353 # Whether or not to build static libraries.
18354 build_old_libs=$enable_static
18356 # Whether or not to add -lc for building shared libraries.
18357 build_libtool_need_lc=$archive_cmds_need_lc_RC
18359 # Whether or not to disallow shared libs when runtime libs are static
18360 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
18362 # Whether or not to optimize for fast installation.
18363 fast_install=$enable_fast_install
18366 host_alias=$host_alias
18370 # The build system.
18371 build_alias=$build_alias
18375 # An echo program that does not interpret backslashes.
18380 AR_FLAGS=$lt_AR_FLAGS
18385 # LTCC compiler flags.
18386 LTCFLAGS=$lt_LTCFLAGS
18388 # A language-specific compiler.
18391 # Is the compiler the GNU C compiler?
18394 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
18395 gcc_ver=\`gcc -dumpversion\`
18400 # The linker used to build libraries.
18403 # Whether we need hard or soft links.
18406 # A BSD-compatible nm program.
18409 # A symbol stripping program
18412 # Used to examine libraries when file_magic_cmd begins "file"
18413 MAGIC_CMD=$MAGIC_CMD
18415 # Used on cygwin: DLL creation program.
18418 # Used on cygwin: object dumper.
18421 # Used on cygwin: assembler.
18424 # The name of the directory that contains temporary libtool files.
18427 # How to create reloadable object files.
18428 reload_flag=$lt_reload_flag
18429 reload_cmds=$lt_reload_cmds
18431 # How to pass a linker flag through the compiler.
18432 wl=$lt_lt_prog_compiler_wl_RC
18434 # Object file suffix (normally "o").
18435 objext="$ac_objext"
18437 # Old archive suffix (normally "a").
18440 # Shared library suffix (normally ".so").
18441 shrext_cmds='$shrext_cmds'
18443 # Executable file suffix (normally "").
18446 # Additional compiler flags for building library objects.
18447 pic_flag=$lt_lt_prog_compiler_pic_RC
18450 # What is the maximum length of a command?
18451 max_cmd_len=$lt_cv_sys_max_cmd_len
18453 # Does compiler simultaneously support -c and -o options?
18454 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
18456 # Must we lock files when doing compilation?
18457 need_locks=$lt_need_locks
18459 # Do we need the lib prefix for modules?
18460 need_lib_prefix=$need_lib_prefix
18462 # Do we need a version for libraries?
18463 need_version=$need_version
18465 # Whether dlopen is supported.
18466 dlopen_support=$enable_dlopen
18468 # Whether dlopen of programs is supported.
18469 dlopen_self=$enable_dlopen_self
18471 # Whether dlopen of statically linked programs is supported.
18472 dlopen_self_static=$enable_dlopen_self_static
18474 # Compiler flag to prevent dynamic linking.
18475 link_static_flag=$lt_lt_prog_compiler_static_RC
18477 # Compiler flag to turn off builtin functions.
18478 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
18480 # Compiler flag to allow reflexive dlopens.
18481 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
18483 # Compiler flag to generate shared objects directly from archives.
18484 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
18486 # Compiler flag to generate thread-safe objects.
18487 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
18489 # Library versioning type.
18490 version_type=$version_type
18492 # Format of library name prefix.
18493 libname_spec=$lt_libname_spec
18495 # List of archive names. First name is the real one, the rest are links.
18496 # The last name is the one that the linker finds with -lNAME.
18497 library_names_spec=$lt_library_names_spec
18499 # The coded name of the library, if different from the real name.
18500 soname_spec=$lt_soname_spec
18502 # Commands used to build and install an old-style archive.
18504 old_archive_cmds=$lt_old_archive_cmds_RC
18505 old_postinstall_cmds=$lt_old_postinstall_cmds
18506 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18508 # Create an old-style archive from a shared archive.
18509 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
18511 # Create a temporary old-style archive to link instead of a shared archive.
18512 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
18514 # Commands used to build and install a shared archive.
18515 archive_cmds=$lt_archive_cmds_RC
18516 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
18517 postinstall_cmds=$lt_postinstall_cmds
18518 postuninstall_cmds=$lt_postuninstall_cmds
18520 # Commands used to build a loadable module (assumed same as above if empty)
18521 module_cmds=$lt_module_cmds_RC
18522 module_expsym_cmds=$lt_module_expsym_cmds_RC
18524 # Commands to strip libraries.
18525 old_striplib=$lt_old_striplib
18526 striplib=$lt_striplib
18528 # Dependencies to place before the objects being linked to create a
18530 predep_objects=\`echo $lt_predep_objects_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
18532 # Dependencies to place after the objects being linked to create a
18534 postdep_objects=\`echo $lt_postdep_objects_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
18536 # Dependencies to place before the objects being linked to create a
18538 predeps=$lt_predeps_RC
18540 # Dependencies to place after the objects being linked to create a
18542 postdeps=$lt_postdeps_RC
18544 # The library search path used internally by the compiler when linking
18545 # a shared library.
18546 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"\`
18548 # Method to check whether dependent libraries are shared objects.
18549 deplibs_check_method=$lt_deplibs_check_method
18551 # Command to use when deplibs_check_method == file_magic.
18552 file_magic_cmd=$lt_file_magic_cmd
18554 # Flag that allows shared libraries with undefined symbols to be built.
18555 allow_undefined_flag=$lt_allow_undefined_flag_RC
18557 # Flag that forces no undefined symbols.
18558 no_undefined_flag=$lt_no_undefined_flag_RC
18560 # Commands used to finish a libtool library installation in a directory.
18561 finish_cmds=$lt_finish_cmds
18563 # Same as above, but a single script fragment to be evaled but not shown.
18564 finish_eval=$lt_finish_eval
18566 # Take the output of nm and produce a listing of raw symbols and C names.
18567 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18569 # Transform the output of nm in a proper C declaration
18570 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18572 # Transform the output of nm in a C name address pair
18573 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18575 # This is the shared library runtime path variable.
18576 runpath_var=$runpath_var
18578 # This is the shared library path variable.
18579 shlibpath_var=$shlibpath_var
18581 # Is shlibpath searched before the hard-coded library search path?
18582 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18584 # How to hardcode a shared library path into an executable.
18585 hardcode_action=$hardcode_action_RC
18587 # Whether we should hardcode library paths into libraries.
18588 hardcode_into_libs=$hardcode_into_libs
18590 # Flag to hardcode \$libdir into a binary during linking.
18591 # This must work even if \$libdir does not exist.
18592 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
18594 # If ld is used when linking, flag to hardcode \$libdir into
18595 # a binary during linking. This must work even if \$libdir does
18597 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
18599 # Whether we need a single -rpath flag with a separated argument.
18600 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
18602 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18603 # resulting binary.
18604 hardcode_direct=$hardcode_direct_RC
18606 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18607 # resulting binary.
18608 hardcode_minus_L=$hardcode_minus_L_RC
18610 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18611 # the resulting binary.
18612 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
18614 # Set to yes if building a shared library automatically hardcodes DIR into the library
18615 # and all subsequent libraries and executables linked against it.
18616 hardcode_automatic=$hardcode_automatic_RC
18618 # Variables whose values should be saved in libtool wrapper scripts and
18619 # restored at relink time.
18620 variables_saved_for_relink="$variables_saved_for_relink"
18622 # Whether libtool must link a program against all its dependency libraries.
18623 link_all_deplibs=$link_all_deplibs_RC
18625 # Compile-time system search path for libraries
18626 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"\`
18628 # Run-time system search path for libraries
18629 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18631 # Fix the shell variable \$srcfile for the compiler.
18632 fix_srcfile_path="$fix_srcfile_path_RC"
18634 # Set to yes if exported symbols are required.
18635 always_export_symbols=$always_export_symbols_RC
18637 # The commands to list exported symbols.
18638 export_symbols_cmds=$lt_export_symbols_cmds_RC
18640 # The commands to extract the exported symbol list from a shared archive.
18641 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18643 # Symbols that should not be listed in the preloaded symbols.
18644 exclude_expsyms=$lt_exclude_expsyms_RC
18646 # Symbols that must always be exported.
18647 include_expsyms=$lt_include_expsyms_RC
18649 # ### END LIBTOOL TAG CONFIG: $tagname
18655 # If there is no Makefile yet, we rely on a make rule to execute
18656 # `config.status --recheck' to rerun these tests and create the
18657 # libtool script then.
18658 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18659 if test -f "$ltmain_in"; then
18660 test -f Makefile
&& make "$ltmain"
18666 ac_cpp
='$CPP $CPPFLAGS'
18667 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18668 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18669 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18676 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
18677 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
18678 { (exit 1); exit 1; }; }
18682 # Append the new tag name to the list of available tags.
18683 if test -n "$tagname" ; then
18684 available_tags
="$available_tags $tagname"
18690 # Now substitute the updated list of available tags.
18691 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
18692 mv "${ofile}T" "$ofile"
18696 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
18697 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
18698 { (exit 1); exit 1; }; }
18704 # This can be used to rebuild libtool when needed
18705 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
18707 # Always use our own libtool.
18708 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
18710 # Prevent multiple expansion
18740 for ac_header
in errno.h fcntl.h sys
/fcntl.h sys
/ioctl.h sys
/file.h unistd.h sysexits.h
18742 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18743 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18744 echo "$as_me:$LINENO: checking for $ac_header" >&5
18745 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18746 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18747 echo $ECHO_N "(cached) $ECHO_C" >&6
18749 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18750 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18752 # Is the header compilable?
18753 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18754 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18755 cat >conftest.
$ac_ext <<_ACEOF
18758 cat confdefs.h
>>conftest.
$ac_ext
18759 cat >>conftest.
$ac_ext <<_ACEOF
18760 /* end confdefs.h. */
18761 $ac_includes_default
18762 #include <$ac_header>
18764 rm -f conftest.
$ac_objext
18765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18766 (eval $ac_compile) 2>conftest.er1
18768 grep -v '^ *+' conftest.er1
>conftest.err
18770 cat conftest.err
>&5
18771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18772 (exit $ac_status); } &&
18773 { ac_try
='test -z "$ac_c_werror_flag"
18774 || test ! -s conftest.err'
18775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18776 (eval $ac_try) 2>&5
18778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18779 (exit $ac_status); }; } &&
18780 { ac_try
='test -s conftest.$ac_objext'
18781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18782 (eval $ac_try) 2>&5
18784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18785 (exit $ac_status); }; }; then
18786 ac_header_compiler
=yes
18788 echo "$as_me: failed program was:" >&5
18789 sed 's/^/| /' conftest.
$ac_ext >&5
18791 ac_header_compiler
=no
18793 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18794 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18795 echo "${ECHO_T}$ac_header_compiler" >&6
18797 # Is the header present?
18798 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18799 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18800 cat >conftest.
$ac_ext <<_ACEOF
18803 cat confdefs.h
>>conftest.
$ac_ext
18804 cat >>conftest.
$ac_ext <<_ACEOF
18805 /* end confdefs.h. */
18806 #include <$ac_header>
18808 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18809 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18811 grep -v '^ *+' conftest.er1
>conftest.err
18813 cat conftest.err
>&5
18814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18815 (exit $ac_status); } >/dev
/null
; then
18816 if test -s conftest.err
; then
18817 ac_cpp_err
=$ac_c_preproc_warn_flag
18818 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
18825 if test -z "$ac_cpp_err"; then
18826 ac_header_preproc
=yes
18828 echo "$as_me: failed program was:" >&5
18829 sed 's/^/| /' conftest.
$ac_ext >&5
18831 ac_header_preproc
=no
18833 rm -f conftest.err conftest.
$ac_ext
18834 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18835 echo "${ECHO_T}$ac_header_preproc" >&6
18837 # So? What about this header?
18838 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18840 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18841 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18842 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18843 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18844 ac_header_preproc
=yes
18847 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18848 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18849 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18850 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18851 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18852 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18853 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18854 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18855 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18856 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18857 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18858 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18861 ## -------------------------------------------------- ##
18862 ## Report this to courier-users@lists.sourceforge.net ##
18863 ## -------------------------------------------------- ##
18866 sed "s/^/$as_me: WARNING: /" >&2
18869 echo "$as_me:$LINENO: checking for $ac_header" >&5
18870 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18871 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18872 echo $ECHO_N "(cached) $ECHO_C" >&6
18874 eval "$as_ac_Header=\$ac_header_preproc"
18876 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18877 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18880 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18881 cat >>confdefs.h
<<_ACEOF
18882 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18889 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
18890 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
18891 if test "${ac_cv_header_stdc+set}" = set; then
18892 echo $ECHO_N "(cached) $ECHO_C" >&6
18894 cat >conftest.
$ac_ext <<_ACEOF
18897 cat confdefs.h
>>conftest.
$ac_ext
18898 cat >>conftest.
$ac_ext <<_ACEOF
18899 /* end confdefs.h. */
18900 #include <stdlib.h>
18901 #include <stdarg.h>
18902 #include <string.h>
18913 rm -f conftest.
$ac_objext
18914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18915 (eval $ac_compile) 2>conftest.er1
18917 grep -v '^ *+' conftest.er1
>conftest.err
18919 cat conftest.err
>&5
18920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18921 (exit $ac_status); } &&
18922 { ac_try
='test -z "$ac_c_werror_flag"
18923 || test ! -s conftest.err'
18924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18925 (eval $ac_try) 2>&5
18927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18928 (exit $ac_status); }; } &&
18929 { ac_try
='test -s conftest.$ac_objext'
18930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18931 (eval $ac_try) 2>&5
18933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18934 (exit $ac_status); }; }; then
18935 ac_cv_header_stdc
=yes
18937 echo "$as_me: failed program was:" >&5
18938 sed 's/^/| /' conftest.
$ac_ext >&5
18940 ac_cv_header_stdc
=no
18942 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18944 if test $ac_cv_header_stdc = yes; then
18945 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18946 cat >conftest.
$ac_ext <<_ACEOF
18949 cat confdefs.h
>>conftest.
$ac_ext
18950 cat >>conftest.
$ac_ext <<_ACEOF
18951 /* end confdefs.h. */
18952 #include <string.h>
18955 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18956 $EGREP "memchr" >/dev
/null
2>&1; then
18959 ac_cv_header_stdc
=no
18965 if test $ac_cv_header_stdc = yes; then
18966 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18967 cat >conftest.
$ac_ext <<_ACEOF
18970 cat confdefs.h
>>conftest.
$ac_ext
18971 cat >>conftest.
$ac_ext <<_ACEOF
18972 /* end confdefs.h. */
18973 #include <stdlib.h>
18976 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18977 $EGREP "free" >/dev
/null
2>&1; then
18980 ac_cv_header_stdc
=no
18986 if test $ac_cv_header_stdc = yes; then
18987 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18988 if test "$cross_compiling" = yes; then
18991 cat >conftest.
$ac_ext <<_ACEOF
18994 cat confdefs.h
>>conftest.
$ac_ext
18995 cat >>conftest.
$ac_ext <<_ACEOF
18996 /* end confdefs.h. */
18998 #if ((' ' & 0x0FF) == 0x020)
18999 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19000 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19002 # define ISLOWER(c) \
19003 (('a' <= (c) && (c) <= 'i') \
19004 || ('j' <= (c) && (c) <= 'r') \
19005 || ('s' <= (c) && (c) <= 'z'))
19006 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19009 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19014 for (i = 0; i < 256; i++)
19015 if (XOR (islower (i), ISLOWER (i))
19016 || toupper (i) != TOUPPER (i))
19021 rm -f conftest
$ac_exeext
19022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19023 (eval $ac_link) 2>&5
19025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19026 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19028 (eval $ac_try) 2>&5
19030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19031 (exit $ac_status); }; }; then
19034 echo "$as_me: program exited with status $ac_status" >&5
19035 echo "$as_me: failed program was:" >&5
19036 sed 's/^/| /' conftest.
$ac_ext >&5
19038 ( exit $ac_status )
19039 ac_cv_header_stdc
=no
19041 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19045 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19046 echo "${ECHO_T}$ac_cv_header_stdc" >&6
19047 if test $ac_cv_header_stdc = yes; then
19049 cat >>confdefs.h
<<\_ACEOF
19050 #define STDC_HEADERS 1
19055 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
19056 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
19057 if test "${ac_cv_header_sys_wait_h+set}" = set; then
19058 echo $ECHO_N "(cached) $ECHO_C" >&6
19060 cat >conftest.
$ac_ext <<_ACEOF
19063 cat confdefs.h
>>conftest.
$ac_ext
19064 cat >>conftest.
$ac_ext <<_ACEOF
19065 /* end confdefs.h. */
19066 #include <sys/types.h>
19067 #include <sys/wait.h>
19068 #ifndef WEXITSTATUS
19069 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
19072 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
19080 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
19085 rm -f conftest.
$ac_objext
19086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19087 (eval $ac_compile) 2>conftest.er1
19089 grep -v '^ *+' conftest.er1
>conftest.err
19091 cat conftest.err
>&5
19092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19093 (exit $ac_status); } &&
19094 { ac_try
='test -z "$ac_c_werror_flag"
19095 || test ! -s conftest.err'
19096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19097 (eval $ac_try) 2>&5
19099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19100 (exit $ac_status); }; } &&
19101 { ac_try
='test -s conftest.$ac_objext'
19102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19103 (eval $ac_try) 2>&5
19105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19106 (exit $ac_status); }; }; then
19107 ac_cv_header_sys_wait_h
=yes
19109 echo "$as_me: failed program was:" >&5
19110 sed 's/^/| /' conftest.
$ac_ext >&5
19112 ac_cv_header_sys_wait_h
=no
19114 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19116 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
19117 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
19118 if test $ac_cv_header_sys_wait_h = yes; then
19120 cat >>confdefs.h
<<\_ACEOF
19121 #define HAVE_SYS_WAIT_H 1
19128 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19129 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
19130 if test "${ac_cv_c_const+set}" = set; then
19131 echo $ECHO_N "(cached) $ECHO_C" >&6
19133 cat >conftest.
$ac_ext <<_ACEOF
19136 cat confdefs.h
>>conftest.
$ac_ext
19137 cat >>conftest.
$ac_ext <<_ACEOF
19138 /* end confdefs.h. */
19143 /* FIXME: Include the comments suggested by Paul. */
19144 #ifndef __cplusplus
19145 /* Ultrix mips cc rejects this. */
19146 typedef int charset[2];
19148 /* SunOS 4.1.1 cc rejects this. */
19149 char const *const *ccp;
19151 /* NEC SVR4.0.2 mips cc rejects this. */
19152 struct point {int x, y;};
19153 static struct point const zero = {0,0};
19154 /* AIX XL C 1.02.0.0 rejects this.
19155 It does not let you subtract one const X* pointer from another in
19156 an arm of an if-expression whose if-part is not a constant
19158 const char *g = "string";
19159 ccp = &g + (g ? g-g : 0);
19160 /* HPUX 7.0 cc rejects these. */
19163 ccp = (char const *const *) p;
19164 { /* SCO 3.2v4 cc rejects this. */
19166 char const *s = 0 ? (char *) 0 : (char const *) 0;
19170 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19171 int x[] = {25, 17};
19172 const int *foo = &x[0];
19175 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19176 typedef const int *iptr;
19180 { /* AIX XL C 1.02.0.0 rejects this saying
19181 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19182 struct s { int j; const int *ap[3]; };
19183 struct s *b; b->j = 5;
19185 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19186 const int foo = 10;
19194 rm -f conftest.
$ac_objext
19195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19196 (eval $ac_compile) 2>conftest.er1
19198 grep -v '^ *+' conftest.er1
>conftest.err
19200 cat conftest.err
>&5
19201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19202 (exit $ac_status); } &&
19203 { ac_try
='test -z "$ac_c_werror_flag"
19204 || test ! -s conftest.err'
19205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19206 (eval $ac_try) 2>&5
19208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19209 (exit $ac_status); }; } &&
19210 { ac_try
='test -s conftest.$ac_objext'
19211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19212 (eval $ac_try) 2>&5
19214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19215 (exit $ac_status); }; }; then
19218 echo "$as_me: failed program was:" >&5
19219 sed 's/^/| /' conftest.
$ac_ext >&5
19223 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19225 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19226 echo "${ECHO_T}$ac_cv_c_const" >&6
19227 if test $ac_cv_c_const = no
; then
19229 cat >>confdefs.h
<<\_ACEOF
19235 echo "$as_me:$LINENO: checking for off_t" >&5
19236 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
19237 if test "${ac_cv_type_off_t+set}" = set; then
19238 echo $ECHO_N "(cached) $ECHO_C" >&6
19240 cat >conftest.
$ac_ext <<_ACEOF
19243 cat confdefs.h
>>conftest.
$ac_ext
19244 cat >>conftest.
$ac_ext <<_ACEOF
19245 /* end confdefs.h. */
19246 $ac_includes_default
19252 if (sizeof (off_t))
19258 rm -f conftest.
$ac_objext
19259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19260 (eval $ac_compile) 2>conftest.er1
19262 grep -v '^ *+' conftest.er1
>conftest.err
19264 cat conftest.err
>&5
19265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19266 (exit $ac_status); } &&
19267 { ac_try
='test -z "$ac_c_werror_flag"
19268 || test ! -s conftest.err'
19269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19270 (eval $ac_try) 2>&5
19272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19273 (exit $ac_status); }; } &&
19274 { ac_try
='test -s conftest.$ac_objext'
19275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19276 (eval $ac_try) 2>&5
19278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19279 (exit $ac_status); }; }; then
19280 ac_cv_type_off_t
=yes
19282 echo "$as_me: failed program was:" >&5
19283 sed 's/^/| /' conftest.
$ac_ext >&5
19285 ac_cv_type_off_t
=no
19287 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19289 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
19290 echo "${ECHO_T}$ac_cv_type_off_t" >&6
19291 if test $ac_cv_type_off_t = yes; then
19295 cat >>confdefs.h
<<_ACEOF
19301 echo "$as_me:$LINENO: checking for pid_t" >&5
19302 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
19303 if test "${ac_cv_type_pid_t+set}" = set; then
19304 echo $ECHO_N "(cached) $ECHO_C" >&6
19306 cat >conftest.
$ac_ext <<_ACEOF
19309 cat confdefs.h
>>conftest.
$ac_ext
19310 cat >>conftest.
$ac_ext <<_ACEOF
19311 /* end confdefs.h. */
19312 $ac_includes_default
19318 if (sizeof (pid_t))
19324 rm -f conftest.
$ac_objext
19325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19326 (eval $ac_compile) 2>conftest.er1
19328 grep -v '^ *+' conftest.er1
>conftest.err
19330 cat conftest.err
>&5
19331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19332 (exit $ac_status); } &&
19333 { ac_try
='test -z "$ac_c_werror_flag"
19334 || test ! -s conftest.err'
19335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19336 (eval $ac_try) 2>&5
19338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19339 (exit $ac_status); }; } &&
19340 { ac_try
='test -s conftest.$ac_objext'
19341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19342 (eval $ac_try) 2>&5
19344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19345 (exit $ac_status); }; }; then
19346 ac_cv_type_pid_t
=yes
19348 echo "$as_me: failed program was:" >&5
19349 sed 's/^/| /' conftest.
$ac_ext >&5
19351 ac_cv_type_pid_t
=no
19353 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19355 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
19356 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
19357 if test $ac_cv_type_pid_t = yes; then
19361 cat >>confdefs.h
<<_ACEOF
19367 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
19368 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
19369 if test "${ac_cv_type_signal+set}" = set; then
19370 echo $ECHO_N "(cached) $ECHO_C" >&6
19372 cat >conftest.
$ac_ext <<_ACEOF
19375 cat confdefs.h
>>conftest.
$ac_ext
19376 cat >>conftest.
$ac_ext <<_ACEOF
19377 /* end confdefs.h. */
19378 #include <sys/types.h>
19379 #include <signal.h>
19384 extern "C" void (*signal (int, void (*)(int)))(int);
19386 void (*signal ()) ();
19397 rm -f conftest.
$ac_objext
19398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19399 (eval $ac_compile) 2>conftest.er1
19401 grep -v '^ *+' conftest.er1
>conftest.err
19403 cat conftest.err
>&5
19404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19405 (exit $ac_status); } &&
19406 { ac_try
='test -z "$ac_c_werror_flag"
19407 || test ! -s conftest.err'
19408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19409 (eval $ac_try) 2>&5
19411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19412 (exit $ac_status); }; } &&
19413 { ac_try
='test -s conftest.$ac_objext'
19414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19415 (eval $ac_try) 2>&5
19417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19418 (exit $ac_status); }; }; then
19419 ac_cv_type_signal
=void
19421 echo "$as_me: failed program was:" >&5
19422 sed 's/^/| /' conftest.
$ac_ext >&5
19424 ac_cv_type_signal
=int
19426 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19428 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
19429 echo "${ECHO_T}$ac_cv_type_signal" >&6
19431 cat >>confdefs.h
<<_ACEOF
19432 #define RETSIGTYPE $ac_cv_type_signal
19437 echo "$as_me:$LINENO: checking for off64_t" >&5
19438 echo $ECHO_N "checking for off64_t... $ECHO_C" >&6
19439 if test "${liblock_cv_hasoff64t+set}" = set; then
19440 echo $ECHO_N "(cached) $ECHO_C" >&6
19442 liblock_cv_hasoff64t
="no"
19443 cat >conftest.
$ac_ext <<_ACEOF
19446 cat confdefs.h
>>conftest.
$ac_ext
19447 cat >>conftest.
$ac_ext <<_ACEOF
19448 /* end confdefs.h. */
19450 #include <sys/types.h>
19464 rm -f conftest.
$ac_objext
19465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19466 (eval $ac_compile) 2>conftest.er1
19468 grep -v '^ *+' conftest.er1
>conftest.err
19470 cat conftest.err
>&5
19471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19472 (exit $ac_status); } &&
19473 { ac_try
='test -z "$ac_c_werror_flag"
19474 || test ! -s conftest.err'
19475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19476 (eval $ac_try) 2>&5
19478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19479 (exit $ac_status); }; } &&
19480 { ac_try
='test -s conftest.$ac_objext'
19481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19482 (eval $ac_try) 2>&5
19484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19485 (exit $ac_status); }; }; then
19486 liblock_cv_hasoff64t
="yes"
19488 echo "$as_me: failed program was:" >&5
19489 sed 's/^/| /' conftest.
$ac_ext >&5
19492 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19496 echo "$as_me:$LINENO: result: $liblock_cv_hasoff64t" >&5
19497 echo "${ECHO_T}$liblock_cv_hasoff64t" >&6
19499 if test "$liblock_cv_hasoff64t" = "yes"
19501 LL_OFFSET_TYPE
=off64_t
19503 LL_OFFSET_TYPE
=off_t
19506 cat >>confdefs.h
<<_ACEOF
19507 #define LL_OFFSET_TYPE $LL_OFFSET_TYPE
19511 echo "$as_me:$LINENO: checking for flock_t" >&5
19512 echo $ECHO_N "checking for flock_t... $ECHO_C" >&6
19513 if test "${liblock_cv_hasflock_t+set}" = set; then
19514 echo $ECHO_N "(cached) $ECHO_C" >&6
19516 liblock_cv_hasflock_t
="no"
19517 cat >conftest.
$ac_ext <<_ACEOF
19520 cat confdefs.h
>>conftest.
$ac_ext
19521 cat >>conftest.
$ac_ext <<_ACEOF
19522 /* end confdefs.h. */
19525 #include "config.h"
19527 #include <sys/types.h>
19531 #if HAVE_SYS_FCNTL_H
19532 #include <sys/fcntl.h>
19545 rm -f conftest.
$ac_objext
19546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19547 (eval $ac_compile) 2>conftest.er1
19549 grep -v '^ *+' conftest.er1
>conftest.err
19551 cat conftest.err
>&5
19552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19553 (exit $ac_status); } &&
19554 { ac_try
='test -z "$ac_c_werror_flag"
19555 || test ! -s conftest.err'
19556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19557 (eval $ac_try) 2>&5
19559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19560 (exit $ac_status); }; } &&
19561 { ac_try
='test -s conftest.$ac_objext'
19562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19563 (eval $ac_try) 2>&5
19565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19566 (exit $ac_status); }; }; then
19567 liblock_cv_hasflock_t
="yes"
19569 echo "$as_me: failed program was:" >&5
19570 sed 's/^/| /' conftest.
$ac_ext >&5
19573 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19575 echo "$as_me:$LINENO: result: $liblock_cv_hasflock_t" >&5
19576 echo "${ECHO_T}$liblock_cv_hasflock_t" >&6
19578 if test "$liblock_cv_hasflock_t" = "yes"
19581 cat >>confdefs.h
<<_ACEOF
19582 #define HAS_FLOCK_T 1
19589 for ac_func
in setpgrp
19591 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19592 echo "$as_me:$LINENO: checking for $ac_func" >&5
19593 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19594 if eval "test \"\${$as_ac_var+set}\" = set"; then
19595 echo $ECHO_N "(cached) $ECHO_C" >&6
19597 cat >conftest.
$ac_ext <<_ACEOF
19600 cat confdefs.h
>>conftest.
$ac_ext
19601 cat >>conftest.
$ac_ext <<_ACEOF
19602 /* end confdefs.h. */
19603 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19604 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19605 #define $ac_func innocuous_$ac_func
19607 /* System header to define __stub macros and hopefully few prototypes,
19608 which can conflict with char $ac_func (); below.
19609 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19610 <limits.h> exists even on freestanding compilers. */
19613 # include <limits.h>
19615 # include <assert.h>
19620 /* Override any gcc2 internal prototype to avoid an error. */
19625 /* We use char because int might match the return type of a gcc2
19626 builtin and then its argument prototype would still apply. */
19628 /* The GNU C library defines this for functions which it implements
19629 to always fail with ENOSYS. Some functions are actually named
19630 something starting with __ and the normal name is an alias. */
19631 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19634 char (*f) () = $ac_func;
19643 return f != $ac_func;
19648 rm -f conftest.
$ac_objext conftest
$ac_exeext
19649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19650 (eval $ac_link) 2>conftest.er1
19652 grep -v '^ *+' conftest.er1
>conftest.err
19654 cat conftest.err
>&5
19655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19656 (exit $ac_status); } &&
19657 { ac_try
='test -z "$ac_c_werror_flag"
19658 || test ! -s conftest.err'
19659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19660 (eval $ac_try) 2>&5
19662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19663 (exit $ac_status); }; } &&
19664 { ac_try
='test -s conftest$ac_exeext'
19665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19666 (eval $ac_try) 2>&5
19668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19669 (exit $ac_status); }; }; then
19670 eval "$as_ac_var=yes"
19672 echo "$as_me: failed program was:" >&5
19673 sed 's/^/| /' conftest.
$ac_ext >&5
19675 eval "$as_ac_var=no"
19677 rm -f conftest.err conftest.
$ac_objext \
19678 conftest
$ac_exeext conftest.
$ac_ext
19680 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19681 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19682 if test `eval echo '${'$as_ac_var'}'` = yes; then
19683 cat >>confdefs.h
<<_ACEOF
19684 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19690 echo "$as_me:$LINENO: checking for setpgrp" >&5
19691 echo $ECHO_N "checking for setpgrp... $ECHO_C" >&6
19692 if test "${ac_cv_func_setpgrp+set}" = set; then
19693 echo $ECHO_N "(cached) $ECHO_C" >&6
19695 cat >conftest.
$ac_ext <<_ACEOF
19698 cat confdefs.h
>>conftest.
$ac_ext
19699 cat >>conftest.
$ac_ext <<_ACEOF
19700 /* end confdefs.h. */
19701 /* Define setpgrp to an innocuous variant, in case <limits.h> declares setpgrp.
19702 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19703 #define setpgrp innocuous_setpgrp
19705 /* System header to define __stub macros and hopefully few prototypes,
19706 which can conflict with char setpgrp (); below.
19707 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19708 <limits.h> exists even on freestanding compilers. */
19711 # include <limits.h>
19713 # include <assert.h>
19718 /* Override any gcc2 internal prototype to avoid an error. */
19723 /* We use char because int might match the return type of a gcc2
19724 builtin and then its argument prototype would still apply. */
19726 /* The GNU C library defines this for functions which it implements
19727 to always fail with ENOSYS. Some functions are actually named
19728 something starting with __ and the normal name is an alias. */
19729 #if defined (__stub_setpgrp) || defined (__stub___setpgrp)
19732 char (*f) () = setpgrp;
19741 return f != setpgrp;
19746 rm -f conftest.
$ac_objext conftest
$ac_exeext
19747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19748 (eval $ac_link) 2>conftest.er1
19750 grep -v '^ *+' conftest.er1
>conftest.err
19752 cat conftest.err
>&5
19753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19754 (exit $ac_status); } &&
19755 { ac_try
='test -z "$ac_c_werror_flag"
19756 || test ! -s conftest.err'
19757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19758 (eval $ac_try) 2>&5
19760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19761 (exit $ac_status); }; } &&
19762 { ac_try
='test -s conftest$ac_exeext'
19763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19764 (eval $ac_try) 2>&5
19766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19767 (exit $ac_status); }; }; then
19768 ac_cv_func_setpgrp
=yes
19770 echo "$as_me: failed program was:" >&5
19771 sed 's/^/| /' conftest.
$ac_ext >&5
19773 ac_cv_func_setpgrp
=no
19775 rm -f conftest.err conftest.
$ac_objext \
19776 conftest
$ac_exeext conftest.
$ac_ext
19778 echo "$as_me:$LINENO: result: $ac_cv_func_setpgrp" >&5
19779 echo "${ECHO_T}$ac_cv_func_setpgrp" >&6
19780 if test $ac_cv_func_setpgrp = yes; then
19782 echo "$as_me:$LINENO: checking whether setpgrp takes no argument" >&5
19783 echo $ECHO_N "checking whether setpgrp takes no argument... $ECHO_C" >&6
19784 if test "${ac_cv_func_setpgrp_void+set}" = set; then
19785 echo $ECHO_N "(cached) $ECHO_C" >&6
19787 if test "$cross_compiling" = yes; then
19788 { { echo "$as_me:$LINENO: error: cannot check setpgrp when cross compiling" >&5
19789 echo "$as_me: error: cannot check setpgrp when cross compiling" >&2;}
19790 { (exit 1); exit 1; }; }
19792 cat >conftest.
$ac_ext <<_ACEOF
19795 cat confdefs.h
>>conftest.
$ac_ext
19796 cat >>conftest.
$ac_ext <<_ACEOF
19797 /* end confdefs.h. */
19799 # include <unistd.h>
19805 /* If this system has a BSD-style setpgrp which takes arguments,
19806 setpgrp(1, 1) will fail with ESRCH and return -1, in that case
19807 exit successfully. */
19808 exit (setpgrp (1,1) == -1 ? 0 : 1);
19813 rm -f conftest
$ac_exeext
19814 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19815 (eval $ac_link) 2>&5
19817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19818 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19820 (eval $ac_try) 2>&5
19822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19823 (exit $ac_status); }; }; then
19824 ac_cv_func_setpgrp_void
=no
19826 echo "$as_me: program exited with status $ac_status" >&5
19827 echo "$as_me: failed program was:" >&5
19828 sed 's/^/| /' conftest.
$ac_ext >&5
19830 ( exit $ac_status )
19831 ac_cv_func_setpgrp_void
=yes
19833 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19836 echo "$as_me:$LINENO: result: $ac_cv_func_setpgrp_void" >&5
19837 echo "${ECHO_T}$ac_cv_func_setpgrp_void" >&6
19838 if test $ac_cv_func_setpgrp_void = yes; then
19840 cat >>confdefs.h
<<\_ACEOF
19841 #define SETPGRP_VOID 1
19851 echo "$as_me:$LINENO: checking for fcntl" >&5
19852 echo $ECHO_N "checking for fcntl... $ECHO_C" >&6
19853 if test "${liblock_cv_hasfcntl+set}" = set; then
19854 echo $ECHO_N "(cached) $ECHO_C" >&6
19856 liblock_cv_hasfcntl
="no"
19857 cat >conftest.
$ac_ext <<_ACEOF
19860 cat confdefs.h
>>conftest.
$ac_ext
19861 cat >>conftest.
$ac_ext <<_ACEOF
19862 /* end confdefs.h. */
19864 #define LL_OFFSET_TYPE $LL_OFFSET_TYPE
19865 #include "${srcdir}/lockfcntl.c"
19877 rm -f conftest.
$ac_objext conftest
$ac_exeext
19878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19879 (eval $ac_link) 2>conftest.er1
19881 grep -v '^ *+' conftest.er1
>conftest.err
19883 cat conftest.err
>&5
19884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19885 (exit $ac_status); } &&
19886 { ac_try
='test -z "$ac_c_werror_flag"
19887 || test ! -s conftest.err'
19888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19889 (eval $ac_try) 2>&5
19891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19892 (exit $ac_status); }; } &&
19893 { ac_try
='test -s conftest$ac_exeext'
19894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19895 (eval $ac_try) 2>&5
19897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19898 (exit $ac_status); }; }; then
19899 liblock_cv_hasfcntl
="yes"
19901 echo "$as_me: failed program was:" >&5
19902 sed 's/^/| /' conftest.
$ac_ext >&5
19905 rm -f conftest.err conftest.
$ac_objext \
19906 conftest
$ac_exeext conftest.
$ac_ext
19908 echo "$as_me:$LINENO: result: $liblock_cv_hasfcntl" >&5
19909 echo "${ECHO_T}$liblock_cv_hasfcntl" >&6
19910 if test "$liblock_cv_hasfcntl" = "yes"
19913 cat >>confdefs.h
<<_ACEOF
19914 #define HAS_FCNTL 1
19919 echo "$as_me:$LINENO: checking for flock" >&5
19920 echo $ECHO_N "checking for flock... $ECHO_C" >&6
19921 if test "${liblock_cv_hasflock+set}" = set; then
19922 echo $ECHO_N "(cached) $ECHO_C" >&6
19924 liblock_cv_hasflock
="no"
19925 cat >conftest.
$ac_ext <<_ACEOF
19928 cat confdefs.h
>>conftest.
$ac_ext
19929 cat >>conftest.
$ac_ext <<_ACEOF
19930 /* end confdefs.h. */
19932 #define LL_OFFSET_TYPE $LL_OFFSET_TYPE
19933 #include "${srcdir}/lockflock.c"
19945 rm -f conftest.
$ac_objext conftest
$ac_exeext
19946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19947 (eval $ac_link) 2>conftest.er1
19949 grep -v '^ *+' conftest.er1
>conftest.err
19951 cat conftest.err
>&5
19952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19953 (exit $ac_status); } &&
19954 { ac_try
='test -z "$ac_c_werror_flag"
19955 || test ! -s conftest.err'
19956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19957 (eval $ac_try) 2>&5
19959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19960 (exit $ac_status); }; } &&
19961 { ac_try
='test -s conftest$ac_exeext'
19962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19963 (eval $ac_try) 2>&5
19965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19966 (exit $ac_status); }; }; then
19967 liblock_cv_hasflock
="yes"
19969 echo "$as_me: failed program was:" >&5
19970 sed 's/^/| /' conftest.
$ac_ext >&5
19973 rm -f conftest.err conftest.
$ac_objext \
19974 conftest
$ac_exeext conftest.
$ac_ext
19976 echo "$as_me:$LINENO: result: $liblock_cv_hasflock" >&5
19977 echo "${ECHO_T}$liblock_cv_hasflock" >&6
19978 if test "$liblock_cv_hasflock" = "yes"
19981 cat >>confdefs.h
<<_ACEOF
19982 #define HAS_FLOCK 1
19987 echo "$as_me:$LINENO: checking for lockf" >&5
19988 echo $ECHO_N "checking for lockf... $ECHO_C" >&6
19989 if test "${liblock_cv_haslockf+set}" = set; then
19990 echo $ECHO_N "(cached) $ECHO_C" >&6
19992 liblock_cv_haslockf
="no"
19993 cat >conftest.
$ac_ext <<_ACEOF
19996 cat confdefs.h
>>conftest.
$ac_ext
19997 cat >>conftest.
$ac_ext <<_ACEOF
19998 /* end confdefs.h. */
20000 #define LL_OFFSET_TYPE $LL_OFFSET_TYPE
20001 #include "${srcdir}/locklockf.c"
20013 rm -f conftest.
$ac_objext conftest
$ac_exeext
20014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20015 (eval $ac_link) 2>conftest.er1
20017 grep -v '^ *+' conftest.er1
>conftest.err
20019 cat conftest.err
>&5
20020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20021 (exit $ac_status); } &&
20022 { ac_try
='test -z "$ac_c_werror_flag"
20023 || test ! -s conftest.err'
20024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20025 (eval $ac_try) 2>&5
20027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20028 (exit $ac_status); }; } &&
20029 { ac_try
='test -s conftest$ac_exeext'
20030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20031 (eval $ac_try) 2>&5
20033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20034 (exit $ac_status); }; }; then
20035 liblock_cv_haslockf
="yes"
20037 echo "$as_me: failed program was:" >&5
20038 sed 's/^/| /' conftest.
$ac_ext >&5
20041 rm -f conftest.err conftest.
$ac_objext \
20042 conftest
$ac_exeext conftest.
$ac_ext
20044 echo "$as_me:$LINENO: result: $liblock_cv_haslockf" >&5
20045 echo "${ECHO_T}$liblock_cv_haslockf" >&6
20046 if test "$liblock_cv_haslockf" = "yes"
20049 cat >>confdefs.h
<<_ACEOF
20050 #define HAS_LOCKF 1
20055 echo "$as_me:$LINENO: checking for locking method" >&5
20056 echo $ECHO_N "checking for locking method... $ECHO_C" >&6
20058 # Check whether --with-locking-method or --without-locking-method was given.
20059 if test "${with_locking_method+set}" = set; then
20060 withval
="$with_locking_method"
20061 lockmethod
="$withval"
20066 case x
$lockmethod in
20068 if test "$cross_compiling" = yes; then
20072 cat >conftest.
$ac_ext <<_ACEOF
20075 cat confdefs.h
>>conftest.
$ac_ext
20076 cat >>conftest.
$ac_ext <<_ACEOF
20077 /* end confdefs.h. */
20079 #define USE_FCNTL 1
20080 #define LL_OFFSET_TYPE $LL_OFFSET_TYPE
20081 #include "${srcdir}/locktest.c"
20084 rm -f conftest
$ac_exeext
20085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20086 (eval $ac_link) 2>&5
20088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20089 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20091 (eval $ac_try) 2>&5
20093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20094 (exit $ac_status); }; }; then
20097 echo "$as_me: program exited with status $ac_status" >&5
20098 echo "$as_me: failed program was:" >&5
20099 sed 's/^/| /' conftest.
$ac_ext >&5
20101 ( exit $ac_status )
20102 { { echo "$as_me:$LINENO: error: fcntl test failed." >&5
20103 echo "$as_me: error: fcntl test failed." >&2;}
20104 { (exit 1); exit 1; }; }
20106 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20110 if test "$cross_compiling" = yes; then
20111 { { echo "$as_me:$LINENO: error: --with-locking-method option required" >&5
20112 echo "$as_me: error: --with-locking-method option required" >&2;}
20113 { (exit 1); exit 1; }; }
20115 cat >conftest.
$ac_ext <<_ACEOF
20118 cat confdefs.h
>>conftest.
$ac_ext
20119 cat >>conftest.
$ac_ext <<_ACEOF
20120 /* end confdefs.h. */
20122 #define USE_FCNTL 1
20123 #define LL_OFFSET_TYPE $LL_OFFSET_TYPE
20124 #include "${srcdir}/locktest.c"
20127 rm -f conftest
$ac_exeext
20128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20129 (eval $ac_link) 2>&5
20131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20132 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20134 (eval $ac_try) 2>&5
20136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20137 (exit $ac_status); }; }; then
20140 echo "$as_me: program exited with status $ac_status" >&5
20141 echo "$as_me: failed program was:" >&5
20142 sed 's/^/| /' conftest.
$ac_ext >&5
20145 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20150 case x
$lockmethod in
20152 if test "$cross_compiling" = yes; then
20156 cat >conftest.
$ac_ext <<_ACEOF
20159 cat confdefs.h
>>conftest.
$ac_ext
20160 cat >>conftest.
$ac_ext <<_ACEOF
20161 /* end confdefs.h. */
20163 #define USE_LOCKF 1
20164 #define LL_OFFSET_TYPE $LL_OFFSET_TYPE
20165 #include "${srcdir}/locktest.c"
20168 rm -f conftest
$ac_exeext
20169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20170 (eval $ac_link) 2>&5
20172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20173 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20175 (eval $ac_try) 2>&5
20177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20178 (exit $ac_status); }; }; then
20181 echo "$as_me: program exited with status $ac_status" >&5
20182 echo "$as_me: failed program was:" >&5
20183 sed 's/^/| /' conftest.
$ac_ext >&5
20185 ( exit $ac_status )
20186 { { echo "$as_me:$LINENO: error: lockf test failed." >&5
20187 echo "$as_me: error: lockf test failed." >&2;}
20188 { (exit 1); exit 1; }; }
20190 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20194 if test "$cross_compiling" = yes; then
20195 { { echo "$as_me:$LINENO: error: --with-locking-method option required" >&5
20196 echo "$as_me: error: --with-locking-method option required" >&2;}
20197 { (exit 1); exit 1; }; }
20199 cat >conftest.
$ac_ext <<_ACEOF
20202 cat confdefs.h
>>conftest.
$ac_ext
20203 cat >>conftest.
$ac_ext <<_ACEOF
20204 /* end confdefs.h. */
20206 #define USE_LOCKF 1
20207 #define LL_OFFSET_TYPE $LL_OFFSET_TYPE
20208 #include "${srcdir}/locktest.c"
20211 rm -f conftest
$ac_exeext
20212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20213 (eval $ac_link) 2>&5
20215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20216 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20218 (eval $ac_try) 2>&5
20220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20221 (exit $ac_status); }; }; then
20224 echo "$as_me: program exited with status $ac_status" >&5
20225 echo "$as_me: failed program was:" >&5
20226 sed 's/^/| /' conftest.
$ac_ext >&5
20229 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20235 case x
$lockmethod in
20237 if test "$cross_compiling" = yes; then
20241 cat >conftest.
$ac_ext <<_ACEOF
20244 cat confdefs.h
>>conftest.
$ac_ext
20245 cat >>conftest.
$ac_ext <<_ACEOF
20246 /* end confdefs.h. */
20248 #define USE_FLOCK 1
20249 #define LL_OFFSET_TYPE $LL_OFFSET_TYPE
20250 #include "${srcdir}/locktest.c"
20253 rm -f conftest
$ac_exeext
20254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20255 (eval $ac_link) 2>&5
20257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20258 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20260 (eval $ac_try) 2>&5
20262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20263 (exit $ac_status); }; }; then
20266 echo "$as_me: program exited with status $ac_status" >&5
20267 echo "$as_me: failed program was:" >&5
20268 sed 's/^/| /' conftest.
$ac_ext >&5
20270 ( exit $ac_status )
20271 { { echo "$as_me:$LINENO: error: flock test failed." >&5
20272 echo "$as_me: error: flock test failed." >&2;}
20273 { (exit 1); exit 1; }; }
20275 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20279 if test "$cross_compiling" = yes; then
20280 { { echo "$as_me:$LINENO: error: --with-locking-method option required" >&5
20281 echo "$as_me: error: --with-locking-method option required" >&2;}
20282 { (exit 1); exit 1; }; }
20284 cat >conftest.
$ac_ext <<_ACEOF
20287 cat confdefs.h
>>conftest.
$ac_ext
20288 cat >>conftest.
$ac_ext <<_ACEOF
20289 /* end confdefs.h. */
20291 #define USE_FLOCK 1
20292 #define LL_OFFSET_TYPE $LL_OFFSET_TYPE
20293 #include "${srcdir}/locktest.c"
20296 rm -f conftest
$ac_exeext
20297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20298 (eval $ac_link) 2>&5
20300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20301 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20303 (eval $ac_try) 2>&5
20305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20306 (exit $ac_status); }; }; then
20309 echo "$as_me: program exited with status $ac_status" >&5
20310 echo "$as_me: failed program was:" >&5
20311 sed 's/^/| /' conftest.
$ac_ext >&5
20314 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20319 case x
$lockmethod in
20327 { { echo "$as_me:$LINENO: error: must specify --with-locking-method option" >&5
20328 echo "$as_me: error: must specify --with-locking-method option" >&2;}
20329 { (exit 1); exit 1; }; }
20333 echo "$as_me:$LINENO: result: $lockmethod" >&5
20334 echo "${ECHO_T}$lockmethod" >&6
20338 if test "$lockmethod" = "fcntl"; then
20340 USE_FCNTL_FALSE
='#'
20348 if test "$lockmethod" = "flock"; then
20350 USE_FLOCK_FALSE
='#'
20358 if test "$lockmethod" = "lockf"; then
20360 USE_LOCKF_FALSE
='#'
20369 if test -d ${srcdir}/..
/docbook
; then
20371 HAVE_SGML_FALSE
='#'
20379 cat >>confdefs.h
<<_ACEOF
20380 #define liblock_config_h 1
20384 ac_config_files
="$ac_config_files Makefile"
20385 cat >confcache
<<\_ACEOF
20386 # This file is a shell script that caches the results of configure
20387 # tests run on this system so they can be shared between configure
20388 # scripts and configure runs, see configure's option --config-cache.
20389 # It is not useful on other systems. If it contains results you don't
20390 # want to keep, you may remove or edit it.
20392 # config.status only pays attention to the cache file if you give it
20393 # the --recheck option to rerun configure.
20395 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20396 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20397 # following values.
20401 # The following way of writing the cache mishandles newlines in values,
20402 # but we know of no workaround that is simple, portable, and efficient.
20403 # So, don't put newlines in cache variables' values.
20404 # Ultrix sh set writes to stderr and can't be redirected directly,
20405 # and sets the high bit in the cache file unless we assign to the vars.
20408 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20410 # `set' does not quote correctly, so add quotes (double-quote
20411 # substitution turns \\\\ into \\, and sed turns \\ into \).
20414 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20417 # `set' quotes correctly as required by POSIX, so do not add quotes.
20419 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20426 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20428 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20430 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
20431 if test -w $cache_file; then
20432 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20433 cat confcache
>$cache_file
20435 echo "not updating unwritable cache $cache_file"
20440 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20441 # Let make expand exec_prefix.
20442 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20444 # VPATH may cause trouble with some makes, so we remove $(srcdir),
20445 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
20446 # trailing colons and then remove the whole line if VPATH becomes empty
20447 # (actually we leave an empty line to preserve line numbers).
20448 if test "x$srcdir" = x.
; then
20449 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
20450 s/:*\$(srcdir):*/:/;
20451 s/:*\${srcdir}:*/:/;
20453 s/^\([^=]*=[ ]*\):*/\1/;
20459 DEFS
=-DHAVE_CONFIG_H
20463 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
20464 # 1. Remove the extension, and $U if already installed.
20465 ac_i
=`echo "$ac_i" |
20466 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
20468 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
20469 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
20471 LIBOBJS
=$ac_libobjs
20473 LTLIBOBJS
=$ac_ltlibobjs
20476 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
20477 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
20478 Usually this means the macro was only invoked conditionally." >&5
20479 echo "$as_me: error: conditional \"AMDEP\" was never defined.
20480 Usually this means the macro was only invoked conditionally." >&2;}
20481 { (exit 1); exit 1; }; }
20483 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20484 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
20485 Usually this means the macro was only invoked conditionally." >&5
20486 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
20487 Usually this means the macro was only invoked conditionally." >&2;}
20488 { (exit 1); exit 1; }; }
20490 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
20491 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
20492 Usually this means the macro was only invoked conditionally." >&5
20493 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
20494 Usually this means the macro was only invoked conditionally." >&2;}
20495 { (exit 1); exit 1; }; }
20497 if test -z "${USE_FCNTL_TRUE}" && test -z "${USE_FCNTL_FALSE}"; then
20498 { { echo "$as_me:$LINENO: error: conditional \"USE_FCNTL\" was never defined.
20499 Usually this means the macro was only invoked conditionally." >&5
20500 echo "$as_me: error: conditional \"USE_FCNTL\" was never defined.
20501 Usually this means the macro was only invoked conditionally." >&2;}
20502 { (exit 1); exit 1; }; }
20504 if test -z "${USE_FLOCK_TRUE}" && test -z "${USE_FLOCK_FALSE}"; then
20505 { { echo "$as_me:$LINENO: error: conditional \"USE_FLOCK\" was never defined.
20506 Usually this means the macro was only invoked conditionally." >&5
20507 echo "$as_me: error: conditional \"USE_FLOCK\" was never defined.
20508 Usually this means the macro was only invoked conditionally." >&2;}
20509 { (exit 1); exit 1; }; }
20511 if test -z "${USE_LOCKF_TRUE}" && test -z "${USE_LOCKF_FALSE}"; then
20512 { { echo "$as_me:$LINENO: error: conditional \"USE_LOCKF\" was never defined.
20513 Usually this means the macro was only invoked conditionally." >&5
20514 echo "$as_me: error: conditional \"USE_LOCKF\" was never defined.
20515 Usually this means the macro was only invoked conditionally." >&2;}
20516 { (exit 1); exit 1; }; }
20518 if test -z "${HAVE_SGML_TRUE}" && test -z "${HAVE_SGML_FALSE}"; then
20519 { { echo "$as_me:$LINENO: error: conditional \"HAVE_SGML\" was never defined.
20520 Usually this means the macro was only invoked conditionally." >&5
20521 echo "$as_me: error: conditional \"HAVE_SGML\" was never defined.
20522 Usually this means the macro was only invoked conditionally." >&2;}
20523 { (exit 1); exit 1; }; }
20526 : ${CONFIG_STATUS=./config.status}
20527 ac_clean_files_save
=$ac_clean_files
20528 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
20529 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20530 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20531 cat >$CONFIG_STATUS <<_ACEOF
20533 # Generated by $as_me.
20534 # Run this file to recreate the current configuration.
20535 # Compiler output produced by configure, useful for debugging
20536 # configure, is in config.log if it exists.
20539 ac_cs_recheck=false
20541 SHELL=\${CONFIG_SHELL-$SHELL}
20544 cat >>$CONFIG_STATUS <<\_ACEOF
20545 ## --------------------- ##
20546 ## M4sh Initialization. ##
20547 ## --------------------- ##
20549 # Be Bourne compatible
20550 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20553 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20554 # is contrary to our usage. Disable this feature.
20555 alias -g '${1+"$@"}'='"$@"'
20556 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
20559 DUALCASE
=1; export DUALCASE
# for MKS sh
20561 # Support unset when possible.
20562 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
20569 # Work around bugs in pre-3.0 UWIN ksh.
20570 $as_unset ENV MAIL MAILPATH
20577 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20578 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20579 LC_TELEPHONE LC_TIME
20581 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20582 eval $as_var=C
; export $as_var
20588 # Required to use basename.
20589 if expr a
: '\(a\)' >/dev
/null
2>&1; then
20595 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
20596 as_basename
=basename
20602 # Name of the executable.
20603 as_me
=`$as_basename "$0" ||
20604 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20605 X"$0" : 'X\(//\)$' \| \
20606 X"$0" : 'X\(/\)$' \| \
20607 . : '\(.\)' 2>/dev/null ||
20609 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
20610 /^X\/\(\/\/\)$/{ s//\1/; q; }
20611 /^X\/\(\/\).*/{ s//\1/; q; }
20615 # PATH needs CR, and LINENO needs CR and PATH.
20616 # Avoid depending upon Character Ranges.
20617 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20618 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20619 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20620 as_cr_digits
='0123456789'
20621 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20623 # The user is always right.
20624 if test "${PATH_SEPARATOR+set}" != set; then
20625 echo "#! /bin/sh" >conf$$.sh
20626 echo "exit 0" >>conf$$.sh
20628 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
20637 as_lineno_1
=$LINENO
20638 as_lineno_2
=$LINENO
20639 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
20640 test "x$as_lineno_1" != "x$as_lineno_2" &&
20641 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
20642 # Find who we are. Look in the path if we contain no path at all
20645 *[\\/]* ) as_myself
=$0 ;;
20646 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20647 for as_dir
in $PATH
20650 test -z "$as_dir" && as_dir
=.
20651 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
20656 # We did not find ourselves, most probably we were run as `sh COMMAND'
20657 # in which case we are not to be found in the path.
20658 if test "x$as_myself" = x
; then
20661 if test ! -f "$as_myself"; then
20662 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
20663 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
20664 { (exit 1); exit 1; }; }
20666 case $CONFIG_SHELL in
20668 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20669 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
20672 test -z "$as_dir" && as_dir
=.
20673 for as_base
in sh bash ksh sh5
; do
20676 if ("$as_dir/$as_base" -c '
20677 as_lineno_1=$LINENO
20678 as_lineno_2=$LINENO
20679 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20680 test "x$as_lineno_1" != "x$as_lineno_2" &&
20681 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
20682 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
20683 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
20684 CONFIG_SHELL
=$as_dir/$as_base
20685 export CONFIG_SHELL
20686 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
20694 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20695 # uniformly replaced by the line number. The first 'sed' inserts a
20696 # line-number line before each line; the second 'sed' does the real
20697 # work. The second script uses 'N' to pair each line-number line
20698 # with the numbered line, and appends trailing '-' during
20699 # substitution so that $LINENO is not a special case at line end.
20700 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20701 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
20702 sed '=' <$as_myself |
20707 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
20710 s,^['$as_cr_digits']*\n,,
20711 ' >$as_me.lineno
&&
20712 chmod +x
$as_me.lineno ||
20713 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
20714 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
20715 { (exit 1); exit 1; }; }
20717 # Don't try to exec as it changes $[0], causing all sort of problems
20718 # (the dirname of $[0] is not the place where we might find the
20719 # original and so on. Autoconf is especially sensible to this).
20721 # Exit status is that of the last command.
20726 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
20727 *c
*,-n*) ECHO_N
= ECHO_C
='
20729 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
20730 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
20733 if expr a
: '\(a\)' >/dev
/null
2>&1; then
20739 rm -f conf$$ conf$$.exe conf$$.
file
20741 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20742 # We could just check for DJGPP; but this test a) works b) is more generic
20743 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
20744 if test -f conf$$.exe
; then
20745 # Don't use ln at all; we don't have any links
20750 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20755 rm -f conf$$ conf$$.exe conf$$.
file
20757 if mkdir
-p .
2>/dev
/null
; then
20760 test -d .
/-p && rmdir .
/-p
20764 as_executable_p
="test -f"
20766 # Sed expression to map a string onto a valid CPP name.
20767 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20769 # Sed expression to map a string onto a valid variable name.
20770 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20774 # We need space, tab and new line, in precisely that order.
20784 # Open the log real soon, to keep \$[0] and so on meaningful, and to
20785 # report actual input values of CONFIG_FILES etc. instead of their
20786 # values after options handling. Logging --version etc. is OK.
20790 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20791 ## Running $as_me. ##
20796 This file was extended by liblock $as_me 0.60, which was
20797 generated by GNU Autoconf 2.59. Invocation command line was
20799 CONFIG_FILES = $CONFIG_FILES
20800 CONFIG_HEADERS = $CONFIG_HEADERS
20801 CONFIG_LINKS = $CONFIG_LINKS
20802 CONFIG_COMMANDS = $CONFIG_COMMANDS
20806 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
20810 # Files that config.status was made for.
20811 if test -n "$ac_config_files"; then
20812 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
20815 if test -n "$ac_config_headers"; then
20816 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
20819 if test -n "$ac_config_links"; then
20820 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
20823 if test -n "$ac_config_commands"; then
20824 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
20827 cat >>$CONFIG_STATUS <<\_ACEOF
20830 \`$as_me' instantiates files from templates according to the
20831 current configuration.
20833 Usage: $0 [OPTIONS] [FILE]...
20835 -h, --help print this help, then exit
20836 -V, --version print version number, then exit
20837 -q, --quiet do not print progress messages
20838 -d, --debug don't remove temporary files
20839 --recheck update $as_me by reconfiguring in the same conditions
20840 --file=FILE[:TEMPLATE]
20841 instantiate the configuration file FILE
20842 --header=FILE[:TEMPLATE]
20843 instantiate the configuration header FILE
20845 Configuration files:
20848 Configuration headers:
20851 Configuration commands:
20854 Report bugs to <bug-autoconf@gnu.org>."
20857 cat >>$CONFIG_STATUS <<_ACEOF
20859 liblock config.status 0.60
20860 configured by $0, generated by GNU Autoconf 2.59,
20861 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
20863 Copyright (C) 2003 Free Software Foundation, Inc.
20864 This config.status script is free software; the Free Software Foundation
20865 gives unlimited permission to copy, distribute and modify it."
20870 cat >>$CONFIG_STATUS <<\_ACEOF
20871 # If no file are specified by the user, then we need to provide default
20872 # value. By we need to know if files were specified by the user.
20878 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
20879 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
20887 *) # This is not an option, so the user has probably given explicit
20890 ac_need_defaults
=false
;;
20894 # Handling of the options.
20896 cat >>$CONFIG_STATUS <<\_ACEOF
20897 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
20899 --version |
--vers* |
-V )
20900 echo "$ac_cs_version"; exit 0 ;;
20902 # Conflict between --help and --header
20903 { { echo "$as_me:$LINENO: error: ambiguous option: $1
20904 Try \`$0 --help' for more information." >&5
20905 echo "$as_me: error: ambiguous option: $1
20906 Try \`$0 --help' for more information." >&2;}
20907 { (exit 1); exit 1; }; };;
20908 --help |
--hel |
-h )
20909 echo "$ac_cs_usage"; exit 0 ;;
20910 --debug |
--d* |
-d )
20912 --file |
--fil |
--fi |
--f )
20914 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
20915 ac_need_defaults
=false
;;
20916 --header |
--heade |
--head |
--hea )
20918 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
20919 ac_need_defaults
=false
;;
20920 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
20921 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
20924 # This is an error.
20925 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
20926 Try \`$0 --help' for more information." >&5
20927 echo "$as_me: error: unrecognized option: $1
20928 Try \`$0 --help' for more information." >&2;}
20929 { (exit 1); exit 1; }; } ;;
20931 *) ac_config_targets
="$ac_config_targets $1" ;;
20937 ac_configure_extra_args
=
20939 if $ac_cs_silent; then
20941 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20945 cat >>$CONFIG_STATUS <<_ACEOF
20946 if \$ac_cs_recheck; then
20947 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20948 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20953 cat >>$CONFIG_STATUS <<_ACEOF
20955 # INIT-COMMANDS section.
20958 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20964 cat >>$CONFIG_STATUS <<\_ACEOF
20965 for ac_config_target
in $ac_config_targets
20967 case "$ac_config_target" in
20968 # Handling of arguments.
20969 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
20970 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
20971 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
20972 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
20973 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
20974 { (exit 1); exit 1; }; };;
20978 # If the user did not use the arguments to specify the items to instantiate,
20979 # then the envvar interface is used. Set only those that are not.
20980 # We use the long form for the default assignment because of an extremely
20981 # bizarre bug on SunOS 4.1.3.
20982 if $ac_need_defaults; then
20983 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
20984 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
20985 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
20988 # Have a temporary directory for convenience. Make it in the build tree
20989 # simply because there is no reason to put it here, and in addition,
20990 # creating and moving files from /tmp can sometimes cause problems.
20991 # Create a temporary directory, and hook for its removal unless debugging.
20994 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
20995 trap '{ (exit 1); exit 1; }' 1 2 13 15
20998 # Create a (secure) tmp directory for tmp files.
21001 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
21002 test -n "$tmp" && test -d "$tmp"
21005 tmp
=.
/confstat$$
-$RANDOM
21006 (umask 077 && mkdir
$tmp)
21009 echo "$me: cannot create a temporary directory in ." >&2
21010 { (exit 1); exit 1; }
21015 cat >>$CONFIG_STATUS <<_ACEOF
21018 # CONFIG_FILES section.
21021 # No need to generate the scripts if there are no CONFIG_FILES.
21022 # This happens for instance when ./config.status config.h
21023 if test -n "\$CONFIG_FILES"; then
21024 # Protect against being on the right side of a sed subst in config.status.
21025 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
21026 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
21027 s,@SHELL@,$SHELL,;t t
21028 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
21029 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
21030 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
21031 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
21032 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
21033 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
21034 s,@exec_prefix@,$exec_prefix,;t t
21035 s,@prefix@,$prefix,;t t
21036 s,@program_transform_name@,$program_transform_name,;t t
21037 s,@bindir@,$bindir,;t t
21038 s,@sbindir@,$sbindir,;t t
21039 s,@libexecdir@,$libexecdir,;t t
21040 s,@datadir@,$datadir,;t t
21041 s,@sysconfdir@,$sysconfdir,;t t
21042 s,@sharedstatedir@,$sharedstatedir,;t t
21043 s,@localstatedir@,$localstatedir,;t t
21044 s,@libdir@,$libdir,;t t
21045 s,@includedir@,$includedir,;t t
21046 s,@oldincludedir@,$oldincludedir,;t t
21047 s,@infodir@,$infodir,;t t
21048 s,@mandir@,$mandir,;t t
21049 s,@build_alias@,$build_alias,;t t
21050 s,@host_alias@,$host_alias,;t t
21051 s,@target_alias@,$target_alias,;t t
21052 s,@DEFS@,$DEFS,;t t
21053 s,@ECHO_C@,$ECHO_C,;t t
21054 s,@ECHO_N@,$ECHO_N,;t t
21055 s,@ECHO_T@,$ECHO_T,;t t
21056 s,@LIBS@,$LIBS,;t t
21057 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
21058 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
21059 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
21060 s,@CYGPATH_W@,$CYGPATH_W,;t t
21061 s,@PACKAGE@,$PACKAGE,;t t
21062 s,@VERSION@,$VERSION,;t t
21063 s,@ACLOCAL@,$ACLOCAL,;t t
21064 s,@AUTOCONF@,$AUTOCONF,;t t
21065 s,@AUTOMAKE@,$AUTOMAKE,;t t
21066 s,@AUTOHEADER@,$AUTOHEADER,;t t
21067 s,@MAKEINFO@,$MAKEINFO,;t t
21068 s,@install_sh@,$install_sh,;t t
21069 s,@STRIP@,$STRIP,;t t
21070 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
21071 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
21072 s,@mkdir_p@,$mkdir_p,;t t
21074 s,@SET_MAKE@,$SET_MAKE,;t t
21075 s,@am__leading_dot@,$am__leading_dot,;t t
21076 s,@AMTAR@,$AMTAR,;t t
21077 s,@am__tar@,$am__tar,;t t
21078 s,@am__untar@,$am__untar,;t t
21080 s,@CFLAGS@,$CFLAGS,;t t
21081 s,@LDFLAGS@,$LDFLAGS,;t t
21082 s,@CPPFLAGS@,$CPPFLAGS,;t t
21083 s,@ac_ct_CC@,$ac_ct_CC,;t t
21084 s,@EXEEXT@,$EXEEXT,;t t
21085 s,@OBJEXT@,$OBJEXT,;t t
21086 s,@DEPDIR@,$DEPDIR,;t t
21087 s,@am__include@,$am__include,;t t
21088 s,@am__quote@,$am__quote,;t t
21089 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
21090 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
21091 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
21092 s,@CCDEPMODE@,$CCDEPMODE,;t t
21093 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
21094 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
21095 s,@LN_S@,$LN_S,;t t
21096 s,@build@,$build,;t t
21097 s,@build_cpu@,$build_cpu,;t t
21098 s,@build_vendor@,$build_vendor,;t t
21099 s,@build_os@,$build_os,;t t
21100 s,@host@,$host,;t t
21101 s,@host_cpu@,$host_cpu,;t t
21102 s,@host_vendor@,$host_vendor,;t t
21103 s,@host_os@,$host_os,;t t
21105 s,@EGREP@,$EGREP,;t t
21106 s,@ECHO@,$ECHO,;t t
21108 s,@ac_ct_AR@,$ac_ct_AR,;t t
21109 s,@RANLIB@,$RANLIB,;t t
21110 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
21113 s,@CXXFLAGS@,$CXXFLAGS,;t t
21114 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
21115 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
21116 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
21117 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
21118 s,@CXXCPP@,$CXXCPP,;t t
21120 s,@FFLAGS@,$FFLAGS,;t t
21121 s,@ac_ct_F77@,$ac_ct_F77,;t t
21122 s,@LIBTOOL@,$LIBTOOL,;t t
21123 s,@USE_FCNTL_TRUE@,$USE_FCNTL_TRUE,;t t
21124 s,@USE_FCNTL_FALSE@,$USE_FCNTL_FALSE,;t t
21125 s,@USE_FLOCK_TRUE@,$USE_FLOCK_TRUE,;t t
21126 s,@USE_FLOCK_FALSE@,$USE_FLOCK_FALSE,;t t
21127 s,@USE_LOCKF_TRUE@,$USE_LOCKF_TRUE,;t t
21128 s,@USE_LOCKF_FALSE@,$USE_LOCKF_FALSE,;t t
21129 s,@HAVE_SGML_TRUE@,$HAVE_SGML_TRUE,;t t
21130 s,@HAVE_SGML_FALSE@,$HAVE_SGML_FALSE,;t t
21131 s,@LIBOBJS@,$LIBOBJS,;t t
21132 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
21137 cat >>$CONFIG_STATUS <<\_ACEOF
21138 # Split the substitutions into bite-sized pieces for seds with
21139 # small command number limits, like on Digital OSF/1 and HP-UX.
21140 ac_max_sed_lines
=48
21141 ac_sed_frag
=1 # Number of current file.
21142 ac_beg
=1 # First line for current file.
21143 ac_end
=$ac_max_sed_lines # Line after last line for current file.
21146 while $ac_more_lines; do
21147 if test $ac_beg -gt 1; then
21148 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
21150 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
21152 if test ! -s $tmp/subs.frag
; then
21153 ac_more_lines
=false
21155 # The purpose of the label and of the branching condition is to
21156 # speed up the sed processing (if there are no `@' at all, there
21157 # is no need to browse any of the substitutions).
21158 # These are the two extra sed commands mentioned above.
21160 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
21161 if test -z "$ac_sed_cmds"; then
21162 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
21164 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
21166 ac_sed_frag
=`expr $ac_sed_frag + 1`
21168 ac_end
=`expr $ac_end + $ac_max_sed_lines`
21171 if test -z "$ac_sed_cmds"; then
21174 fi # test -n "$CONFIG_FILES"
21177 cat >>$CONFIG_STATUS <<\_ACEOF
21178 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
21179 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21181 - |
*:- |
*:-:* ) # input from stdin
21183 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21184 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21185 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21186 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21187 * ) ac_file_in
=$ac_file.
in ;;
21190 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
21191 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
21192 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21193 X"$ac_file" : 'X\(//\)[^/]' \| \
21194 X"$ac_file" : 'X\(//\)$' \| \
21195 X"$ac_file" : 'X\(/\)' \| \
21196 . : '\(.\)' 2>/dev/null ||
21198 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21199 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21200 /^X\(\/\/\)$/{ s//\1/; q; }
21201 /^X\(\/\).*/{ s//\1/; q; }
21203 { if $as_mkdir_p; then
21208 while test ! -d "$as_dir"; do
21209 as_dirs
="$as_dir $as_dirs"
21210 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21211 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21212 X"$as_dir" : 'X\(//\)[^/]' \| \
21213 X"$as_dir" : 'X\(//\)$' \| \
21214 X"$as_dir" : 'X\(/\)' \| \
21215 . : '\(.\)' 2>/dev/null ||
21217 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21218 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21219 /^X\(\/\/\)$/{ s//\1/; q; }
21220 /^X\(\/\).*/{ s//\1/; q; }
21223 test ! -n "$as_dirs" || mkdir
$as_dirs
21224 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21225 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21226 { (exit 1); exit 1; }; }; }
21230 if test "$ac_dir" != .
; then
21231 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21232 # A "../" for each directory in $ac_dir_suffix.
21233 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21235 ac_dir_suffix
= ac_top_builddir
=
21239 .
) # No --srcdir option. We are building in place.
21241 if test -z "$ac_top_builddir"; then
21244 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
21246 [\\/]* | ?
:[\\/]* ) # Absolute path.
21247 ac_srcdir
=$srcdir$ac_dir_suffix;
21248 ac_top_srcdir
=$srcdir ;;
21249 *) # Relative path.
21250 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
21251 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
21254 # Do not use `cd foo && pwd` to compute absolute paths, because
21255 # the directories may not exist.
21257 .
) ac_abs_builddir
="$ac_dir";;
21260 .
) ac_abs_builddir
=`pwd`;;
21261 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
21262 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
21265 case $ac_abs_builddir in
21266 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21268 case ${ac_top_builddir}.
in
21269 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
21270 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21271 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
21274 case $ac_abs_builddir in
21275 .
) ac_abs_srcdir
=$ac_srcdir;;
21278 .
) ac_abs_srcdir
=$ac_abs_builddir;;
21279 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
21280 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
21283 case $ac_abs_builddir in
21284 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
21286 case $ac_top_srcdir in
21287 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
21288 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
21289 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
21295 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
21296 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
21299 if test x
"$ac_file" != x-
; then
21300 { echo "$as_me:$LINENO: creating $ac_file" >&5
21301 echo "$as_me: creating $ac_file" >&6;}
21304 # Let's still pretend it is `configure' which instantiates (i.e., don't
21305 # use $as_me), people would be surprised to read:
21306 # /* config.h. Generated by config.status. */
21307 if test x
"$ac_file" = x-
; then
21310 configure_input
="$ac_file. "
21312 configure_input
=$configure_input"Generated from `echo $ac_file_in |
21313 sed 's,.*/,,'` by configure."
21315 # First look for the input files in the build tree, otherwise in the
21317 ac_file_inputs
=`IFS=:
21318 for f in $ac_file_in; do
21320 -) echo $tmp/stdin ;;
21322 # Absolute (can't be DOS-style, as IFS=:)
21323 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21324 echo "$as_me: error: cannot find input file: $f" >&2;}
21325 { (exit 1); exit 1; }; }
21328 if test -f "$f"; then
21331 elif test -f "$srcdir/$f"; then
21336 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21337 echo "$as_me: error: cannot find input file: $f" >&2;}
21338 { (exit 1); exit 1; }; }
21341 done` ||
{ (exit 1); exit 1; }
21343 cat >>$CONFIG_STATUS <<_ACEOF
21347 cat >>$CONFIG_STATUS <<\_ACEOF
21349 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
21350 s
,@configure_input@
,$configure_input,;t t
21351 s
,@srcdir@
,$ac_srcdir,;t t
21352 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
21353 s
,@top_srcdir@
,$ac_top_srcdir,;t t
21354 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
21355 s
,@builddir@
,$ac_builddir,;t t
21356 s
,@abs_builddir@
,$ac_abs_builddir,;t t
21357 s
,@top_builddir@
,$ac_top_builddir,;t t
21358 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
21359 s
,@INSTALL@
,$ac_INSTALL,;t t
21360 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
21362 if test x"$ac_file" != x-; then
21363 mv $tmp/out $ac_file
21371 cat >>$CONFIG_STATUS <<\_ACEOF
21374 # CONFIG_HEADER section.
21377 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
21378 # NAME is the cpp macro being defined and VALUE is the value it is being given.
21380 # ac_d sets the value in "#define NAME VALUE" lines.
21381 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
21382 ac_dB
='[ ].*$,\1#\2'
21385 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21386 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21387 ac_uB
='$,\1#\2define\3'
21391 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
21392 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21394 - |
*:- |
*:-:* ) # input from stdin
21396 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21397 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21398 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21399 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21400 * ) ac_file_in
=$ac_file.
in ;;
21403 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
21404 echo "$as_me: creating $ac_file" >&6;}
21406 # First look for the input files in the build tree, otherwise in the
21408 ac_file_inputs
=`IFS=:
21409 for f in $ac_file_in; do
21411 -) echo $tmp/stdin ;;
21413 # Absolute (can't be DOS-style, as IFS=:)
21414 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21415 echo "$as_me: error: cannot find input file: $f" >&2;}
21416 { (exit 1); exit 1; }; }
21417 # Do quote $f, to prevent DOS paths from being IFS'd.
21420 if test -f "$f"; then
21423 elif test -f "$srcdir/$f"; then
21428 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21429 echo "$as_me: error: cannot find input file: $f" >&2;}
21430 { (exit 1); exit 1; }; }
21433 done` ||
{ (exit 1); exit 1; }
21434 # Remove the trailing spaces.
21435 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
21439 # Transform confdefs.h into two sed scripts, `conftest.defines' and
21440 # `conftest.undefs', that substitutes the proper values into
21441 # config.h.in to produce config.h. The first handles `#define'
21442 # templates, and the second `#undef' templates.
21443 # And first: Protect against being on the right side of a sed subst in
21444 # config.status. Protect against being in an unquoted here document
21445 # in config.status.
21446 rm -f conftest.defines conftest.undefs
21447 # Using a here document instead of a string reduces the quoting nightmare.
21448 # Putting comments in sed scripts is not portable.
21450 # `end' is used to avoid that the second main sed command (meant for
21451 # 0-ary CPP macros) applies to n-ary macro definitions.
21452 # See the Autoconf documentation for `clear'.
21453 cat >confdef2sed.
sed <<\_ACEOF
21458 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
21460 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
21463 # If some macros were called several times there might be several times
21464 # the same #defines, which is useless. Nevertheless, we may not want to
21465 # sort them, since we want the *last* AC-DEFINE to be honored.
21466 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
21467 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
21468 rm -f confdef2sed.sed
21470 # This sed command replaces #undef with comments. This is necessary, for
21471 # example, in the case of _POSIX_SOURCE, which is predefined and required
21472 # on some systems where configure will not decide to define it.
21473 cat >>conftest.undefs <<\_ACEOF
21474 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
21477 # Break up conftest.defines because some shells have a limit on the size
21478 # of here documents, and old seds have small limits too (100 cmds).
21479 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
21480 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
21481 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
21482 echo ' :' >>$CONFIG_STATUS
21483 rm -f conftest.tail
21484 while grep . conftest.defines >/dev/null
21486 # Write a limited-size here document to $tmp/defines.sed.
21487 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
21488 # Speed up: don't consider the non `#define' lines.
21489 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
21490 # Work around the forget-to-reset-the-flag bug.
21491 echo 't clr' >>$CONFIG_STATUS
21492 echo ': clr' >>$CONFIG_STATUS
21493 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
21495 sed -f $tmp/defines.sed $tmp/in >$tmp/out
21497 mv $tmp/out $tmp/in
21499 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
21500 rm -f conftest.defines
21501 mv conftest.
tail conftest.defines
21503 rm -f conftest.defines
21504 echo ' fi # grep' >>$CONFIG_STATUS
21505 echo >>$CONFIG_STATUS
21507 # Break up conftest.undefs because some shells have a limit on the size
21508 # of here documents, and old seds have small limits too (100 cmds).
21509 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
21510 rm -f conftest.
tail
21511 while grep . conftest.undefs
>/dev
/null
21513 # Write a limited-size here document to $tmp/undefs.sed.
21514 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
21515 # Speed up: don't consider the non
`#undef'
21516 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
21517 # Work around the forget-to-reset-the-flag bug.
21518 echo 't clr' >>$CONFIG_STATUS
21519 echo ': clr' >>$CONFIG_STATUS
21520 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
21522 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
21524 mv $tmp/out $tmp/in
21526 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
21527 rm -f conftest.undefs
21528 mv conftest.tail conftest.undefs
21530 rm -f conftest.undefs
21532 cat >>$CONFIG_STATUS <<\_ACEOF
21533 # Let's still pretend it is `configure
' which instantiates (i.e., don't
21534 # use $as_me), people would be surprised to read:
21535 # /* config.h. Generated by config.status. */
21536 if test x
"$ac_file" = x-
; then
21537 echo "/* Generated by configure. */" >$tmp/config.h
21539 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
21541 cat $tmp/in >>$tmp/config.h
21543 if test x
"$ac_file" != x-
; then
21544 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
21545 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21546 echo "$as_me: $ac_file is unchanged" >&6;}
21548 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
21549 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21550 X"$ac_file" : 'X\(//\)[^/]' \| \
21551 X"$ac_file" : 'X\(//\)$' \| \
21552 X"$ac_file" : 'X\(/\)' \| \
21553 . : '\(.\)' 2>/dev/null ||
21555 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21556 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21557 /^X\(\/\/\)$/{ s//\1/; q; }
21558 /^X\(\/\).*/{ s//\1/; q; }
21560 { if $as_mkdir_p; then
21565 while test ! -d "$as_dir"; do
21566 as_dirs
="$as_dir $as_dirs"
21567 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21568 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21569 X"$as_dir" : 'X\(//\)[^/]' \| \
21570 X"$as_dir" : 'X\(//\)$' \| \
21571 X"$as_dir" : 'X\(/\)' \| \
21572 . : '\(.\)' 2>/dev/null ||
21574 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21575 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21576 /^X\(\/\/\)$/{ s//\1/; q; }
21577 /^X\(\/\).*/{ s//\1/; q; }
21580 test ! -n "$as_dirs" || mkdir
$as_dirs
21581 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21582 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21583 { (exit 1); exit 1; }; }; }
21586 mv $tmp/config.h
$ac_file
21590 rm -f $tmp/config.h
21592 # Compute $ac_file's index in $config_headers.
21594 for _am_header
in $config_headers :; do
21595 case $_am_header in
21596 $ac_file |
$ac_file:* )
21599 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
21602 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
21603 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21604 X$ac_file : 'X\(//\)[^/]' \| \
21605 X$ac_file : 'X\(//\)$' \| \
21606 X$ac_file : 'X\(/\)' \| \
21607 . : '\(.\)' 2>/dev/null ||
21609 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21610 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21611 /^X\(\/\/\)$/{ s//\1/; q; }
21612 /^X\(\/\).*/{ s//\1/; q; }
21613 s/.*/./; q'`/stamp-h
$_am_stamp_count
21616 cat >>$CONFIG_STATUS <<\_ACEOF
21619 # CONFIG_COMMANDS section.
21621 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
21622 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
21623 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21624 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
21625 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21626 X"$ac_dest" : 'X\(//\)[^/]' \| \
21627 X"$ac_dest" : 'X\(//\)$' \| \
21628 X"$ac_dest" : 'X\(/\)' \| \
21629 . : '\(.\)' 2>/dev/null ||
21631 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21632 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21633 /^X\(\/\/\)$/{ s//\1/; q; }
21634 /^X\(\/\).*/{ s//\1/; q; }
21636 { if $as_mkdir_p; then
21641 while test ! -d "$as_dir"; do
21642 as_dirs
="$as_dir $as_dirs"
21643 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21644 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21645 X"$as_dir" : 'X\(//\)[^/]' \| \
21646 X"$as_dir" : 'X\(//\)$' \| \
21647 X"$as_dir" : 'X\(/\)' \| \
21648 . : '\(.\)' 2>/dev/null ||
21650 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21651 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21652 /^X\(\/\/\)$/{ s//\1/; q; }
21653 /^X\(\/\).*/{ s//\1/; q; }
21656 test ! -n "$as_dirs" || mkdir
$as_dirs
21657 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21658 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21659 { (exit 1); exit 1; }; }; }
21663 if test "$ac_dir" != .
; then
21664 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21665 # A "../" for each directory in $ac_dir_suffix.
21666 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21668 ac_dir_suffix
= ac_top_builddir
=
21672 .
) # No --srcdir option. We are building in place.
21674 if test -z "$ac_top_builddir"; then
21677 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
21679 [\\/]* | ?
:[\\/]* ) # Absolute path.
21680 ac_srcdir
=$srcdir$ac_dir_suffix;
21681 ac_top_srcdir
=$srcdir ;;
21682 *) # Relative path.
21683 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
21684 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
21687 # Do not use `cd foo && pwd` to compute absolute paths, because
21688 # the directories may not exist.
21690 .
) ac_abs_builddir
="$ac_dir";;
21693 .
) ac_abs_builddir
=`pwd`;;
21694 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
21695 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
21698 case $ac_abs_builddir in
21699 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21701 case ${ac_top_builddir}.
in
21702 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
21703 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21704 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
21707 case $ac_abs_builddir in
21708 .
) ac_abs_srcdir
=$ac_srcdir;;
21711 .
) ac_abs_srcdir
=$ac_abs_builddir;;
21712 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
21713 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
21716 case $ac_abs_builddir in
21717 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
21719 case $ac_top_srcdir in
21720 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
21721 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
21722 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
21727 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
21728 echo "$as_me: executing $ac_dest commands" >&6;}
21730 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
21731 # Strip MF so we end up with the name of the file.
21732 mf
=`echo "$mf" | sed -e 's/:.*$//'`
21733 # Check whether this is an Automake generated Makefile or not.
21734 # We used to match only the files named `Makefile.in', but
21735 # some people rename them; so instead we look at the file content.
21736 # Grep'ing the first line is not enough: some people post-process
21737 # each Makefile.in and add a new line on top of each file to say so.
21738 # So let's grep whole file.
21739 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
21740 dirpart
=`(dirname "$mf") 2>/dev/null ||
21741 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21742 X"$mf" : 'X\(//\)[^/]' \| \
21743 X"$mf" : 'X\(//\)$' \| \
21744 X"$mf" : 'X\(/\)' \| \
21745 . : '\(.\)' 2>/dev/null ||
21747 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21748 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21749 /^X\(\/\/\)$/{ s//\1/; q; }
21750 /^X\(\/\).*/{ s//\1/; q; }
21755 # Extract the definition of DEPDIR, am__include, and am__quote
21756 # from the Makefile without running `make'.
21757 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
21758 test -z "$DEPDIR" && continue
21759 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
21760 test -z "am__include" && continue
21761 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
21762 # When using ansi2knr, U may be empty or an underscore; expand it
21763 U
=`sed -n 's/^U = //p' < "$mf"`
21764 # Find all dependency output files, they are included files with
21765 # $(DEPDIR) in their names. We invoke sed twice because it is the
21766 # simplest approach to changing $(DEPDIR) to its actual value in the
21768 for file in `sed -n "
21769 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21770 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21771 # Make sure the directory exists.
21772 test -f "$dirpart/$file" && continue
21773 fdir
=`(dirname "$file") 2>/dev/null ||
21774 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21775 X"$file" : 'X\(//\)[^/]' \| \
21776 X"$file" : 'X\(//\)$' \| \
21777 X"$file" : 'X\(/\)' \| \
21778 . : '\(.\)' 2>/dev/null ||
21780 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21781 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21782 /^X\(\/\/\)$/{ s//\1/; q; }
21783 /^X\(\/\).*/{ s//\1/; q; }
21785 { if $as_mkdir_p; then
21786 mkdir
-p $dirpart/$fdir
21788 as_dir
=$dirpart/$fdir
21790 while test ! -d "$as_dir"; do
21791 as_dirs
="$as_dir $as_dirs"
21792 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21793 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21794 X"$as_dir" : 'X\(//\)[^/]' \| \
21795 X"$as_dir" : 'X\(//\)$' \| \
21796 X"$as_dir" : 'X\(/\)' \| \
21797 . : '\(.\)' 2>/dev/null ||
21799 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21800 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21801 /^X\(\/\/\)$/{ s//\1/; q; }
21802 /^X\(\/\).*/{ s//\1/; q; }
21805 test ! -n "$as_dirs" || mkdir
$as_dirs
21806 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
21807 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
21808 { (exit 1); exit 1; }; }; }
21810 # echo "creating $dirpart/$file"
21811 echo '# dummy' > "$dirpart/$file"
21819 cat >>$CONFIG_STATUS <<\_ACEOF
21821 { (exit 0); exit 0; }
21823 chmod +x
$CONFIG_STATUS
21824 ac_clean_files
=$ac_clean_files_save
21827 # configure is writing to config.log, and then calls config.status.
21828 # config.status does its own redirection, appending to config.log.
21829 # Unfortunately, on DOS this fails, as config.log is still kept open
21830 # by configure, so config.status won't be able to write to it; its
21831 # output is simply discarded. So we exec the FD to /dev/null,
21832 # effectively closing config.log, so it can be properly (re)opened and
21833 # appended to by config.status. When coming back to configure, we
21834 # need to make the FD available again.
21835 if test "$no_create" != yes; then
21837 ac_config_status_args
=
21838 test "$silent" = yes &&
21839 ac_config_status_args
="$ac_config_status_args --quiet"
21841 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
21843 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21844 # would make configure fail if this is the last instruction.
21845 $ac_cs_success ||
{ (exit 1); exit 1; }