2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for libsha1 1.21.
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
='libsha1'
425 PACKAGE_TARNAME
='libsha1'
426 PACKAGE_VERSION
='1.21'
427 PACKAGE_STRING
='libsha1 1.21'
428 PACKAGE_BUGREPORT
='courier-users@lists.sourceforge.net'
430 ac_unique_file
="hmac.c"
431 # Factoring default headers for most tests.
432 ac_includes_default
="\
435 # include <sys/types.h>
438 # include <sys/stat.h>
449 # if !STDC_HEADERS && HAVE_MEMORY_H
455 # include <strings.h>
458 # include <inttypes.h>
468 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar HMACC_TRUE HMACC_FALSE 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 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 libsha1 1.21 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 libsha1 1.21:";;
1028 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1029 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1030 --disable-dependency-tracking speeds up one-time build
1031 --enable-dependency-tracking do not reject slow dependency extractors
1032 --enable-shared[=PKGS
]
1033 build shared libraries
[default
=yes]
1034 --enable-static[=PKGS
]
1035 build static libraries
[default
=yes]
1036 --enable-fast-install[=PKGS
]
1037 optimize
for fast installation
[default
=yes]
1038 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1041 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1042 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1043 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1044 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1047 include additional configurations
[automatic
]
1048 --with-int32='type' use
'type' for an unsigned
32 bit integer
type
1049 ( default is
'unsigned')
1051 Some influential environment variables
:
1052 CC C compiler
command
1053 CFLAGS C compiler flags
1054 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1055 nonstandard directory
<lib dir
>
1056 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1057 headers
in a nonstandard directory
<include dir
>
1059 CXX C
++ compiler
command
1060 CXXFLAGS C
++ compiler flags
1061 CXXCPP C
++ preprocessor
1062 F77 Fortran
77 compiler
command
1063 FFLAGS Fortran
77 compiler flags
1065 Use these variables to override the choices made by
`configure' or to help
1066 it to find libraries and programs with nonstandard names/locations.
1068 Report bugs to <courier-users@lists.sourceforge.net>.
1072 if test "$ac_init_help" = "recursive"; then
1073 # If there are subdirs, report their specific --help.
1075 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1076 test -d $ac_dir || continue
1079 if test "$ac_dir" != .; then
1080 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1081 # A "../" for each directory in $ac_dir_suffix.
1082 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
1084 ac_dir_suffix= ac_top_builddir=
1088 .) # No --srcdir option. We are building in place.
1090 if test -z "$ac_top_builddir"; then
1093 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
1095 [\\/]* | ?:[\\/]* ) # Absolute path.
1096 ac_srcdir=$srcdir$ac_dir_suffix;
1097 ac_top_srcdir=$srcdir ;;
1099 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1100 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1103 # Do not use `cd foo
&& pwd` to compute absolute paths, because
1104 # the directories may not exist.
1106 .) ac_abs_builddir="$ac_dir";;
1109 .) ac_abs_builddir=`pwd`;;
1110 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1111 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1114 case $ac_abs_builddir in
1115 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1117 case ${ac_top_builddir}. in
1118 .) ac_abs_top_builddir=$ac_abs_builddir;;
1119 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1120 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1123 case $ac_abs_builddir in
1124 .) ac_abs_srcdir=$ac_srcdir;;
1127 .) ac_abs_srcdir=$ac_abs_builddir;;
1128 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1129 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1132 case $ac_abs_builddir in
1133 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1135 case $ac_top_srcdir in
1136 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1137 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1138 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1143 # Check for guested configure; otherwise get Cygnus style configure.
1144 if test -f $ac_srcdir/configure.gnu; then
1146 $SHELL $ac_srcdir/configure.gnu --help=recursive
1147 elif test -f $ac_srcdir/configure; then
1149 $SHELL $ac_srcdir/configure --help=recursive
1150 elif test -f $ac_srcdir/configure.ac ||
1151 test -f $ac_srcdir/configure.in; then
1153 $ac_configure --help
1155 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1161 test -n "$ac_init_help" && exit 0
1162 if $ac_init_version; then
1164 libsha1 configure 1.21
1165 generated by GNU Autoconf 2.59
1167 Copyright (C) 2003 Free Software Foundation, Inc.
1168 This configure script is free software; the Free Software Foundation
1169 gives unlimited permission to copy, distribute and modify it.
1175 This file contains any messages produced by compilers while
1176 running configure, to aid debugging if configure makes a mistake.
1178 It was created by libsha1 $as_me 1.21, which was
1179 generated by GNU Autoconf 2.59. Invocation command line was
1190 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1191 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1192 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1193 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1194 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1196 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1197 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1199 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1200 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1201 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1202 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1203 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1204 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1205 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1213 test -z "$as_dir" && as_dir=.
1214 echo "PATH: $as_dir"
1229 # Keep a trace of the command line.
1230 # Strip out --no-create and --no-recursion so they do not pile up.
1231 # Strip out --silent because we don't want to record it for future runs.
1232 # Also quote any args containing shell meta-characters.
1233 # Make two passes to allow for proper duplicate-argument suppression.
1238 ac_must_keep_next=false
1244 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1245 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1246 | -silent | --silent | --silen | --sile | --sil)
1248 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1249 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1252 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1254 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1255 if test $ac_must_keep_next = true; then
1256 ac_must_keep_next=false # Got value, back to normal.
1259 *=* | --config-cache | -C | -disable-* | --disable-* \
1260 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1261 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1262 | -with-* | --with-* | -without-* | --without-* | --x)
1263 case "$ac_configure_args0 " in
1264 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1267 -* ) ac_must_keep_next=true ;;
1270 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1271 # Get rid of the leading space.
1277 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1278 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1280 # When interrupted or exit'd, cleanup temporary files, and complete
1281 # config.log. We remove comments because anyway the quotes in there
1282 # would cause problems or look ugly.
1283 # WARNING: Be sure not to use single quotes in there, as some shells,
1284 # such as our DU 5.0 friend, will then `close
' the trap.
1285 trap 'exit_status
=$?
1286 # Save into config.log some information that might help in debugging.
1291 ## ---------------- ##
1292 ## Cache variables. ##
1293 ## ---------------- ##
1296 # The following way of writing the cache mishandles newlines in values,
1299 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1302 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1303 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1307 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1314 ## ----------------- ##
1315 ## Output variables. ##
1316 ## ----------------- ##
1319 for ac_var
in $ac_subst_vars
1321 eval ac_val
=$
`echo $ac_var`
1322 echo "$ac_var='"'"'$ac_val'"'"'"
1326 if test -n "$ac_subst_files"; then
1333 for ac_var
in $ac_subst_files
1335 eval ac_val
=$
`echo $ac_var`
1336 echo "$ac_var='"'"'$ac_val'"'"'"
1341 if test -s confdefs.h
; then
1348 sed "/^$/d" confdefs.h |
sort
1351 test "$ac_signal" != 0 &&
1352 echo "$as_me: caught signal $ac_signal"
1353 echo "$as_me: exit $exit_status"
1355 rm -f core
*.core
&&
1356 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1359 for ac_signal in 1 2 13 15; do
1360 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1364 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1365 rm -rf conftest* confdefs.h
1366 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1369 # Predefined preprocessor variables.
1371 cat >>confdefs.h <<_ACEOF
1372 #define PACKAGE_NAME "$PACKAGE_NAME"
1376 cat >>confdefs.h <<_ACEOF
1377 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1381 cat >>confdefs.h <<_ACEOF
1382 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1386 cat >>confdefs.h <<_ACEOF
1387 #define PACKAGE_STRING "$PACKAGE_STRING"
1391 cat >>confdefs.h <<_ACEOF
1392 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1396 # Let the site file select an alternate cache file if it wants to.
1397 # Prefer explicitly selected file to automatically selected ones.
1398 if test -z "$CONFIG_SITE"; then
1399 if test "x$prefix" != xNONE; then
1400 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1402 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1405 for ac_site_file in $CONFIG_SITE; do
1406 if test -r "$ac_site_file"; then
1407 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1408 echo "$as_me: loading site script $ac_site_file" >&6;}
1409 sed 's
/^
/|
/' "$ac_site_file" >&5
1414 if test -r "$cache_file"; then
1415 # Some versions of bash will fail to source /dev/null (special
1416 # files actually), so we avoid doing that.
1417 if test -f "$cache_file"; then
1418 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1419 echo "$as_me: loading cache $cache_file" >&6;}
1421 [\\/]* | ?:[\\/]* ) . $cache_file;;
1422 *) . ./$cache_file;;
1426 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1427 echo "$as_me: creating cache $cache_file" >&6;}
1431 # Check that the precious variables saved in the cache have kept the same
1433 ac_cache_corrupted=false
1434 for ac_var in `(set) 2>&1 |
1435 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1436 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1437 eval ac_new_set=\$ac_env_${ac_var}_set
1438 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1439 eval ac_new_val="\$ac_env_${ac_var}_value"
1440 case $ac_old_set,$ac_new_set in
1442 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1443 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1444 ac_cache_corrupted=: ;;
1446 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1447 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1448 ac_cache_corrupted=: ;;
1451 if test "x$ac_old_val" != "x$ac_new_val"; then
1452 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1453 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1454 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1455 echo "$as_me: former value: $ac_old_val" >&2;}
1456 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1457 echo "$as_me: current value: $ac_new_val" >&2;}
1458 ac_cache_corrupted=:
1461 # Pass precious variables to config.status.
1462 if test "$ac_new_set" = set; then
1464 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1465 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1466 *) ac_arg=$ac_var=$ac_new_val ;;
1468 case " $ac_configure_args " in
1469 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1470 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1474 if $ac_cache_corrupted; then
1475 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1476 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1477 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1478 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1479 { (exit 1); exit 1; }; }
1483 ac_cpp='$CPP $CPPFLAGS'
1484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1485 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1515 >confdefs.h # Kill PACKAGE_ macros
1518 ac_config_headers="$ac_config_headers config.h"
1520 am__api_version="1.9"
1522 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1523 if test -f $ac_dir/install-sh; then
1525 ac_install_sh="$ac_aux_dir/install-sh -c"
1527 elif test -f $ac_dir/install.sh; then
1529 ac_install_sh="$ac_aux_dir/install.sh -c"
1531 elif test -f $ac_dir/shtool; then
1533 ac_install_sh="$ac_aux_dir/shtool install -c"
1537 if test -z "$ac_aux_dir"; then
1538 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1539 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1540 { (exit 1); exit 1; }; }
1542 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1543 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1544 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1546 # Find a good install program. We prefer a C program (faster),
1547 # so one script is as good as another. But avoid the broken or
1548 # incompatible versions:
1549 # SysV /etc/install, /usr/sbin/install
1550 # SunOS /usr/etc/install
1551 # IRIX /sbin/install
1553 # AmigaOS /C/install, which installs bootblocks on floppy discs
1554 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1555 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1556 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1557 # OS/2's system install, which has a completely different semantic
1558 # ./install, which can be erroneously created by make from ./install.sh.
1559 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1560 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1561 if test -z "$INSTALL"; then
1562 if test "${ac_cv_path_install+set}" = set; then
1563 echo $ECHO_N "(cached) $ECHO_C" >&6
1565 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1569 test -z "$as_dir" && as_dir
=.
1570 # Account for people who put trailing slashes in PATH elements.
1572 .
/ | .
// |
/cC
/* | \
1573 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1574 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1577 # OSF1 and SCO ODT 3.0 have their own names for install.
1578 # Don't use installbsd from OSF since it installs stuff as root
1580 for ac_prog
in ginstall scoinst
install; do
1581 for ac_exec_ext
in '' $ac_executable_extensions; do
1582 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1583 if test $ac_prog = install &&
1584 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1585 # AIX install. It has an incompatible calling convention.
1587 elif test $ac_prog = install &&
1588 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1589 # program-specific install script used by HP pwplus--don't use.
1592 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1604 if test "${ac_cv_path_install+set}" = set; then
1605 INSTALL
=$ac_cv_path_install
1607 # As a last resort, use the slow shell script. We don't cache a
1608 # path for INSTALL within a source directory, because that will
1609 # break other packages using the cache if that directory is
1610 # removed, or if the path is relative.
1611 INSTALL
=$ac_install_sh
1614 echo "$as_me:$LINENO: result: $INSTALL" >&5
1615 echo "${ECHO_T}$INSTALL" >&6
1617 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1618 # It thinks the first close brace ends the variable substitution.
1619 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1621 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1623 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1625 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1626 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1629 echo timestamp
> conftest.
file
1630 # Do `set' in a subshell so we don't clobber the current shell's
1631 # arguments. Must try -L first in case configure is actually a
1632 # symlink; some systems play weird games with the mod time of symlinks
1633 # (eg FreeBSD returns the mod time of the symlink's containing
1636 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1637 if test "$*" = "X"; then
1639 set X
`ls -t $srcdir/configure conftest.file`
1642 if test "$*" != "X $srcdir/configure conftest.file" \
1643 && test "$*" != "X conftest.file $srcdir/configure"; then
1645 # If neither matched, then we have a broken ls. This can happen
1646 # if, for instance, CONFIG_SHELL is bash and it inherits a
1647 # broken ls alias from the environment. This has actually
1648 # happened. Such a system could not be considered "sane".
1649 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1650 alias in your environment" >&5
1651 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1652 alias in your environment" >&2;}
1653 { (exit 1); exit 1; }; }
1656 test "$2" = conftest.
file
1662 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1663 Check your system clock" >&5
1664 echo "$as_me: error: newly created file is older than distributed files!
1665 Check your system clock" >&2;}
1666 { (exit 1); exit 1; }; }
1668 echo "$as_me:$LINENO: result: yes" >&5
1669 echo "${ECHO_T}yes" >&6
1670 test "$program_prefix" != NONE
&&
1671 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1672 # Use a double $ so make ignores it.
1673 test "$program_suffix" != NONE
&&
1674 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1675 # Double any \ or $. echo might interpret backslashes.
1676 # By default was `s,x,x', remove it if useless.
1677 cat <<\_ACEOF
>conftest.
sed
1678 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1680 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1683 # expand $ac_aux_dir to an absolute path
1684 am_aux_dir
=`cd $ac_aux_dir && pwd`
1686 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1687 # Use eval to expand $SHELL
1688 if eval "$MISSING --run true"; then
1689 am_missing_run
="$MISSING --run "
1692 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1693 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1696 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1697 # We used to keeping the `.' as first argument, in order to
1698 # allow $(mkdir_p) to be used without argument. As in
1699 # $(mkdir_p) $(somedir)
1700 # where $(somedir) is conditionally defined. However this is wrong
1702 # 1. if the package is installed by a user who cannot write `.'
1703 # make install will fail,
1704 # 2. the above comment should most certainly read
1705 # $(mkdir_p) $(DESTDIR)$(somedir)
1706 # so it does not work when $(somedir) is undefined and
1707 # $(DESTDIR) is not.
1708 # To support the latter case, we have to write
1709 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1710 # so the `.' trick is pointless.
1711 mkdir_p
='mkdir -p --'
1713 # On NextStep and OpenStep, the `mkdir' command does not
1714 # recognize any option. It will interpret all options as
1715 # directories to create, and then abort because `.' already
1717 for d
in .
/-p .
/--version;
1719 test -d $d && rmdir $d
1721 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1722 if test -f "$ac_aux_dir/mkinstalldirs"; then
1723 mkdir_p
='$(mkinstalldirs)'
1725 mkdir_p
='$(install_sh) -d'
1729 for ac_prog
in gawk mawk nawk
awk
1731 # Extract the first word of "$ac_prog", so it can be a program name with args.
1732 set dummy
$ac_prog; ac_word
=$2
1733 echo "$as_me:$LINENO: checking for $ac_word" >&5
1734 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1735 if test "${ac_cv_prog_AWK+set}" = set; then
1736 echo $ECHO_N "(cached) $ECHO_C" >&6
1738 if test -n "$AWK"; then
1739 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1741 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1745 test -z "$as_dir" && as_dir
=.
1746 for ac_exec_ext
in '' $ac_executable_extensions; do
1747 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1748 ac_cv_prog_AWK
="$ac_prog"
1749 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1758 if test -n "$AWK"; then
1759 echo "$as_me:$LINENO: result: $AWK" >&5
1760 echo "${ECHO_T}$AWK" >&6
1762 echo "$as_me:$LINENO: result: no" >&5
1763 echo "${ECHO_T}no" >&6
1766 test -n "$AWK" && break
1769 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1770 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1771 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1772 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1773 echo $ECHO_N "(cached) $ECHO_C" >&6
1775 cat >conftest.
make <<\_ACEOF
1777 @
echo 'ac_maketemp="$(MAKE)"'
1779 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1780 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1781 if test -n "$ac_maketemp"; then
1782 eval ac_cv_prog_make_
${ac_make}_set
=yes
1784 eval ac_cv_prog_make_
${ac_make}_set
=no
1788 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1789 echo "$as_me:$LINENO: result: yes" >&5
1790 echo "${ECHO_T}yes" >&6
1793 echo "$as_me:$LINENO: result: no" >&5
1794 echo "${ECHO_T}no" >&6
1795 SET_MAKE
="MAKE=${MAKE-make}"
1798 rm -rf .tst
2>/dev
/null
1799 mkdir .tst
2>/dev
/null
1800 if test -d .tst
; then
1805 rmdir .tst
2>/dev
/null
1807 # test to see if srcdir already configured
1808 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1809 test -f $srcdir/config.status
; then
1810 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1811 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1812 { (exit 1); exit 1; }; }
1815 # test whether we have cygpath
1816 if test -z "$CYGPATH_W"; then
1817 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1818 CYGPATH_W
='cygpath -w'
1825 # Define the identity of the package.
1830 # Some tools Automake needs.
1832 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1835 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1838 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1841 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1844 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1846 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1848 # Installed binaries are usually stripped using `strip' when the user
1849 # run `make install-strip'. However `strip' might not be the right
1850 # tool to use in cross-compilation environments, therefore Automake
1851 # will honor the `STRIP' environment variable to overrule this program.
1852 if test "$cross_compiling" != no
; then
1853 if test -n "$ac_tool_prefix"; then
1854 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1855 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1856 echo "$as_me:$LINENO: checking for $ac_word" >&5
1857 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1858 if test "${ac_cv_prog_STRIP+set}" = set; then
1859 echo $ECHO_N "(cached) $ECHO_C" >&6
1861 if test -n "$STRIP"; then
1862 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1864 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1868 test -z "$as_dir" && as_dir
=.
1869 for ac_exec_ext
in '' $ac_executable_extensions; do
1870 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1871 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1872 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1880 STRIP
=$ac_cv_prog_STRIP
1881 if test -n "$STRIP"; then
1882 echo "$as_me:$LINENO: result: $STRIP" >&5
1883 echo "${ECHO_T}$STRIP" >&6
1885 echo "$as_me:$LINENO: result: no" >&5
1886 echo "${ECHO_T}no" >&6
1890 if test -z "$ac_cv_prog_STRIP"; then
1892 # Extract the first word of "strip", so it can be a program name with args.
1893 set dummy strip
; ac_word
=$2
1894 echo "$as_me:$LINENO: checking for $ac_word" >&5
1895 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1896 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1897 echo $ECHO_N "(cached) $ECHO_C" >&6
1899 if test -n "$ac_ct_STRIP"; then
1900 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1902 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1906 test -z "$as_dir" && as_dir
=.
1907 for ac_exec_ext
in '' $ac_executable_extensions; do
1908 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1909 ac_cv_prog_ac_ct_STRIP
="strip"
1910 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1916 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1919 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1920 if test -n "$ac_ct_STRIP"; then
1921 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1922 echo "${ECHO_T}$ac_ct_STRIP" >&6
1924 echo "$as_me:$LINENO: result: no" >&5
1925 echo "${ECHO_T}no" >&6
1930 STRIP
="$ac_cv_prog_STRIP"
1934 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1936 # We need awk for the "check" target. The system "awk" is bad on
1938 # Always define AMTAR for backward compatibility.
1940 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1942 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
1951 if test -d ${srcdir}/..
/libhmac
; then
1961 ac_cpp
='$CPP $CPPFLAGS'
1962 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1963 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1964 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1965 if test -n "$ac_tool_prefix"; then
1966 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1967 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1968 echo "$as_me:$LINENO: checking for $ac_word" >&5
1969 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1970 if test "${ac_cv_prog_CC+set}" = set; then
1971 echo $ECHO_N "(cached) $ECHO_C" >&6
1973 if test -n "$CC"; then
1974 ac_cv_prog_CC
="$CC" # Let the user override the test.
1976 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1980 test -z "$as_dir" && as_dir
=.
1981 for ac_exec_ext
in '' $ac_executable_extensions; do
1982 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1983 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1984 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1993 if test -n "$CC"; then
1994 echo "$as_me:$LINENO: result: $CC" >&5
1995 echo "${ECHO_T}$CC" >&6
1997 echo "$as_me:$LINENO: result: no" >&5
1998 echo "${ECHO_T}no" >&6
2002 if test -z "$ac_cv_prog_CC"; then
2004 # Extract the first word of "gcc", so it can be a program name with args.
2005 set dummy gcc
; ac_word
=$2
2006 echo "$as_me:$LINENO: checking for $ac_word" >&5
2007 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2008 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2009 echo $ECHO_N "(cached) $ECHO_C" >&6
2011 if test -n "$ac_ct_CC"; then
2012 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2014 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2018 test -z "$as_dir" && as_dir
=.
2019 for ac_exec_ext
in '' $ac_executable_extensions; do
2020 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2021 ac_cv_prog_ac_ct_CC
="gcc"
2022 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2030 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2031 if test -n "$ac_ct_CC"; then
2032 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2033 echo "${ECHO_T}$ac_ct_CC" >&6
2035 echo "$as_me:$LINENO: result: no" >&5
2036 echo "${ECHO_T}no" >&6
2044 if test -z "$CC"; then
2045 if test -n "$ac_tool_prefix"; then
2046 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2047 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2048 echo "$as_me:$LINENO: checking for $ac_word" >&5
2049 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2050 if test "${ac_cv_prog_CC+set}" = set; then
2051 echo $ECHO_N "(cached) $ECHO_C" >&6
2053 if test -n "$CC"; then
2054 ac_cv_prog_CC
="$CC" # Let the user override the test.
2056 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2060 test -z "$as_dir" && as_dir
=.
2061 for ac_exec_ext
in '' $ac_executable_extensions; do
2062 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2063 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2064 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2073 if test -n "$CC"; then
2074 echo "$as_me:$LINENO: result: $CC" >&5
2075 echo "${ECHO_T}$CC" >&6
2077 echo "$as_me:$LINENO: result: no" >&5
2078 echo "${ECHO_T}no" >&6
2082 if test -z "$ac_cv_prog_CC"; then
2084 # Extract the first word of "cc", so it can be a program name with args.
2085 set dummy cc
; ac_word
=$2
2086 echo "$as_me:$LINENO: checking for $ac_word" >&5
2087 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2088 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2089 echo $ECHO_N "(cached) $ECHO_C" >&6
2091 if test -n "$ac_ct_CC"; then
2092 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2094 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2098 test -z "$as_dir" && as_dir
=.
2099 for ac_exec_ext
in '' $ac_executable_extensions; do
2100 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2101 ac_cv_prog_ac_ct_CC
="cc"
2102 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2110 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2111 if test -n "$ac_ct_CC"; then
2112 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2113 echo "${ECHO_T}$ac_ct_CC" >&6
2115 echo "$as_me:$LINENO: result: no" >&5
2116 echo "${ECHO_T}no" >&6
2125 if test -z "$CC"; then
2126 # Extract the first word of "cc", so it can be a program name with args.
2127 set dummy cc
; ac_word
=$2
2128 echo "$as_me:$LINENO: checking for $ac_word" >&5
2129 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2130 if test "${ac_cv_prog_CC+set}" = set; then
2131 echo $ECHO_N "(cached) $ECHO_C" >&6
2133 if test -n "$CC"; then
2134 ac_cv_prog_CC
="$CC" # Let the user override the test.
2137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2141 test -z "$as_dir" && as_dir
=.
2142 for ac_exec_ext
in '' $ac_executable_extensions; do
2143 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2144 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2145 ac_prog_rejected
=yes
2149 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2155 if test $ac_prog_rejected = yes; then
2156 # We found a bogon in the path, so make sure we never use it.
2157 set dummy
$ac_cv_prog_CC
2159 if test $# != 0; then
2160 # We chose a different compiler from the bogus one.
2161 # However, it has the same basename, so the bogon will be chosen
2162 # first if we set CC to just the basename; use the full file name.
2164 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2170 if test -n "$CC"; then
2171 echo "$as_me:$LINENO: result: $CC" >&5
2172 echo "${ECHO_T}$CC" >&6
2174 echo "$as_me:$LINENO: result: no" >&5
2175 echo "${ECHO_T}no" >&6
2179 if test -z "$CC"; then
2180 if test -n "$ac_tool_prefix"; then
2183 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2184 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2185 echo "$as_me:$LINENO: checking for $ac_word" >&5
2186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2187 if test "${ac_cv_prog_CC+set}" = set; then
2188 echo $ECHO_N "(cached) $ECHO_C" >&6
2190 if test -n "$CC"; then
2191 ac_cv_prog_CC
="$CC" # Let the user override the test.
2193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2197 test -z "$as_dir" && as_dir
=.
2198 for ac_exec_ext
in '' $ac_executable_extensions; do
2199 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2200 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2201 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2210 if test -n "$CC"; then
2211 echo "$as_me:$LINENO: result: $CC" >&5
2212 echo "${ECHO_T}$CC" >&6
2214 echo "$as_me:$LINENO: result: no" >&5
2215 echo "${ECHO_T}no" >&6
2218 test -n "$CC" && break
2221 if test -z "$CC"; then
2225 # Extract the first word of "$ac_prog", so it can be a program name with args.
2226 set dummy
$ac_prog; ac_word
=$2
2227 echo "$as_me:$LINENO: checking for $ac_word" >&5
2228 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2229 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2230 echo $ECHO_N "(cached) $ECHO_C" >&6
2232 if test -n "$ac_ct_CC"; then
2233 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2235 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2239 test -z "$as_dir" && as_dir
=.
2240 for ac_exec_ext
in '' $ac_executable_extensions; do
2241 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2242 ac_cv_prog_ac_ct_CC
="$ac_prog"
2243 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2251 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2252 if test -n "$ac_ct_CC"; then
2253 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2254 echo "${ECHO_T}$ac_ct_CC" >&6
2256 echo "$as_me:$LINENO: result: no" >&5
2257 echo "${ECHO_T}no" >&6
2260 test -n "$ac_ct_CC" && break
2269 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2270 See \`config.log' for more details." >&5
2271 echo "$as_me: error: no acceptable C compiler found in \$PATH
2272 See \`config.log' for more details." >&2;}
2273 { (exit 1); exit 1; }; }
2275 # Provide some information about the compiler.
2276 echo "$as_me:$LINENO:" \
2277 "checking for C compiler version" >&5
2278 ac_compiler
=`set X $ac_compile; echo $2`
2279 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2280 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2283 (exit $ac_status); }
2284 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2285 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2288 (exit $ac_status); }
2289 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2290 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2293 (exit $ac_status); }
2295 cat >conftest.
$ac_ext <<_ACEOF
2298 cat confdefs.h
>>conftest.
$ac_ext
2299 cat >>conftest.
$ac_ext <<_ACEOF
2300 /* end confdefs.h. */
2310 ac_clean_files_save
=$ac_clean_files
2311 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2312 # Try to create an executable without -o first, disregard a.out.
2313 # It will help us diagnose broken compilers, and finding out an intuition
2315 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2316 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2317 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2318 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2319 (eval $ac_link_default) 2>&5
2321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2322 (exit $ac_status); }; then
2323 # Find the output, starting from the most likely. This scheme is
2324 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2327 # Be careful to initialize this variable, since it used to be cached.
2328 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2330 # b.out is created by i960 compilers.
2331 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2333 test -f "$ac_file" ||
continue
2335 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2338 # This is the source file.
2341 # We found the default executable, but exeext='' is most
2345 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2346 # FIXME: I believe we export ac_cv_exeext for Libtool,
2347 # but it would be cool to find out if it's true. Does anybody
2348 # maintain Libtool? --akim.
2356 echo "$as_me: failed program was:" >&5
2357 sed 's/^/| /' conftest.
$ac_ext >&5
2359 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2360 See \`config.log' for more details." >&5
2361 echo "$as_me: error: C compiler cannot create executables
2362 See \`config.log' for more details." >&2;}
2363 { (exit 77); exit 77; }; }
2366 ac_exeext
=$ac_cv_exeext
2367 echo "$as_me:$LINENO: result: $ac_file" >&5
2368 echo "${ECHO_T}$ac_file" >&6
2370 # Check the compiler produces executables we can run. If not, either
2371 # the compiler is broken, or we cross compile.
2372 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2373 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2374 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2375 # If not cross compiling, check that we can run a simple program.
2376 if test "$cross_compiling" != yes; then
2377 if { ac_try
='./$ac_file'
2378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2382 (exit $ac_status); }; }; then
2385 if test "$cross_compiling" = maybe
; then
2388 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2389 If you meant to cross compile, use \`--host'.
2390 See \`config.log' for more details." >&5
2391 echo "$as_me: error: cannot run C compiled programs.
2392 If you meant to cross compile, use \`--host'.
2393 See \`config.log' for more details." >&2;}
2394 { (exit 1); exit 1; }; }
2398 echo "$as_me:$LINENO: result: yes" >&5
2399 echo "${ECHO_T}yes" >&6
2401 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2402 ac_clean_files
=$ac_clean_files_save
2403 # Check the compiler produces executables we can run. If not, either
2404 # the compiler is broken, or we cross compile.
2405 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2406 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2407 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2408 echo "${ECHO_T}$cross_compiling" >&6
2410 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2411 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2413 (eval $ac_link) 2>&5
2415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2416 (exit $ac_status); }; then
2417 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2418 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2419 # work properly (i.e., refer to `conftest.exe'), while it won't with
2421 for ac_file
in conftest.exe conftest conftest.
*; do
2422 test -f "$ac_file" ||
continue
2424 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2425 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2432 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2433 See \`config.log' for more details." >&5
2434 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2435 See \`config.log' for more details." >&2;}
2436 { (exit 1); exit 1; }; }
2439 rm -f conftest
$ac_cv_exeext
2440 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2441 echo "${ECHO_T}$ac_cv_exeext" >&6
2443 rm -f conftest.
$ac_ext
2444 EXEEXT
=$ac_cv_exeext
2446 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2447 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2448 if test "${ac_cv_objext+set}" = set; then
2449 echo $ECHO_N "(cached) $ECHO_C" >&6
2451 cat >conftest.
$ac_ext <<_ACEOF
2454 cat confdefs.h
>>conftest.
$ac_ext
2455 cat >>conftest.
$ac_ext <<_ACEOF
2456 /* end confdefs.h. */
2466 rm -f conftest.o conftest.obj
2467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2468 (eval $ac_compile) 2>&5
2470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2471 (exit $ac_status); }; then
2472 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2474 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2475 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2480 echo "$as_me: failed program was:" >&5
2481 sed 's/^/| /' conftest.
$ac_ext >&5
2483 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2484 See \`config.log' for more details." >&5
2485 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2486 See \`config.log' for more details." >&2;}
2487 { (exit 1); exit 1; }; }
2490 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2492 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2493 echo "${ECHO_T}$ac_cv_objext" >&6
2494 OBJEXT
=$ac_cv_objext
2496 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2497 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2498 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2499 echo $ECHO_N "(cached) $ECHO_C" >&6
2501 cat >conftest.
$ac_ext <<_ACEOF
2504 cat confdefs.h
>>conftest.
$ac_ext
2505 cat >>conftest.
$ac_ext <<_ACEOF
2506 /* end confdefs.h. */
2519 rm -f conftest.
$ac_objext
2520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2521 (eval $ac_compile) 2>conftest.er1
2523 grep -v '^ *+' conftest.er1
>conftest.err
2525 cat conftest.err
>&5
2526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2527 (exit $ac_status); } &&
2528 { ac_try
='test -z "$ac_c_werror_flag"
2529 || test ! -s conftest.err'
2530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2534 (exit $ac_status); }; } &&
2535 { ac_try
='test -s conftest.$ac_objext'
2536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2540 (exit $ac_status); }; }; then
2543 echo "$as_me: failed program was:" >&5
2544 sed 's/^/| /' conftest.
$ac_ext >&5
2548 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2549 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2552 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2553 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2554 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2555 ac_test_CFLAGS
=${CFLAGS+set}
2556 ac_save_CFLAGS
=$CFLAGS
2558 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2559 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2560 if test "${ac_cv_prog_cc_g+set}" = set; then
2561 echo $ECHO_N "(cached) $ECHO_C" >&6
2563 cat >conftest.
$ac_ext <<_ACEOF
2566 cat confdefs.h
>>conftest.
$ac_ext
2567 cat >>conftest.
$ac_ext <<_ACEOF
2568 /* end confdefs.h. */
2578 rm -f conftest.
$ac_objext
2579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2580 (eval $ac_compile) 2>conftest.er1
2582 grep -v '^ *+' conftest.er1
>conftest.err
2584 cat conftest.err
>&5
2585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2586 (exit $ac_status); } &&
2587 { ac_try
='test -z "$ac_c_werror_flag"
2588 || test ! -s conftest.err'
2589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2593 (exit $ac_status); }; } &&
2594 { ac_try
='test -s conftest.$ac_objext'
2595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2599 (exit $ac_status); }; }; then
2602 echo "$as_me: failed program was:" >&5
2603 sed 's/^/| /' conftest.
$ac_ext >&5
2607 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2609 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2610 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2611 if test "$ac_test_CFLAGS" = set; then
2612 CFLAGS
=$ac_save_CFLAGS
2613 elif test $ac_cv_prog_cc_g = yes; then
2614 if test "$GCC" = yes; then
2620 if test "$GCC" = yes; then
2626 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2627 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2628 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2629 echo $ECHO_N "(cached) $ECHO_C" >&6
2631 ac_cv_prog_cc_stdc
=no
2633 cat >conftest.
$ac_ext <<_ACEOF
2636 cat confdefs.h
>>conftest.
$ac_ext
2637 cat >>conftest.
$ac_ext <<_ACEOF
2638 /* end confdefs.h. */
2641 #include <sys/types.h>
2642 #include <sys/stat.h>
2643 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2644 struct buf { int x; };
2645 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2646 static char *e (p, i)
2652 static char *f (char * (*g) (char **, int), char **p, ...)
2657 s = g (p, va_arg (v,int));
2662 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2663 function prototypes and stuff, but not '\xHH' hex character constants.
2664 These don't provoke an error unfortunately, instead are silently treated
2665 as 'x'. The following induces an error, until -std1 is added to get
2666 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2667 array size at least. It's necessary to write '\x00'==0 to get something
2668 that's true only with -std1. */
2669 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2671 int test (int i, double x);
2672 struct s1 {int (*f) (int a);};
2673 struct s2 {int (*f) (double a);};
2674 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2680 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2685 # Don't try gcc -ansi; that turns off useful extensions and
2686 # breaks some systems' header files.
2687 # AIX -qlanglvl=ansi
2688 # Ultrix and OSF/1 -std1
2689 # HP-UX 10.20 and later -Ae
2690 # HP-UX older versions -Aa -D_HPUX_SOURCE
2691 # SVR4 -Xc -D__EXTENSIONS__
2692 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2694 CC
="$ac_save_CC $ac_arg"
2695 rm -f conftest.
$ac_objext
2696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2697 (eval $ac_compile) 2>conftest.er1
2699 grep -v '^ *+' conftest.er1
>conftest.err
2701 cat conftest.err
>&5
2702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2703 (exit $ac_status); } &&
2704 { ac_try
='test -z "$ac_c_werror_flag"
2705 || test ! -s conftest.err'
2706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2710 (exit $ac_status); }; } &&
2711 { ac_try
='test -s conftest.$ac_objext'
2712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2716 (exit $ac_status); }; }; then
2717 ac_cv_prog_cc_stdc
=$ac_arg
2720 echo "$as_me: failed program was:" >&5
2721 sed 's/^/| /' conftest.
$ac_ext >&5
2724 rm -f conftest.err conftest.
$ac_objext
2726 rm -f conftest.
$ac_ext conftest.
$ac_objext
2731 case "x$ac_cv_prog_cc_stdc" in
2733 echo "$as_me:$LINENO: result: none needed" >&5
2734 echo "${ECHO_T}none needed" >&6 ;;
2736 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2737 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2738 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2741 # Some people use a C++ compiler to compile C. Since we use `exit',
2742 # in C++ we need to declare it. In case someone uses the same compiler
2743 # for both compiling C and C++ we need to have the C++ compiler decide
2744 # the declaration of exit, since it's the most demanding environment.
2745 cat >conftest.
$ac_ext <<_ACEOF
2750 rm -f conftest.
$ac_objext
2751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2752 (eval $ac_compile) 2>conftest.er1
2754 grep -v '^ *+' conftest.er1
>conftest.err
2756 cat conftest.err
>&5
2757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2758 (exit $ac_status); } &&
2759 { ac_try
='test -z "$ac_c_werror_flag"
2760 || test ! -s conftest.err'
2761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2765 (exit $ac_status); }; } &&
2766 { ac_try
='test -s conftest.$ac_objext'
2767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2771 (exit $ac_status); }; }; then
2772 for ac_declaration
in \
2774 'extern "C" void std::exit (int) throw (); using std::exit;' \
2775 'extern "C" void std::exit (int); using std::exit;' \
2776 'extern "C" void exit (int) throw ();' \
2777 'extern "C" void exit (int);' \
2780 cat >conftest.
$ac_ext <<_ACEOF
2783 cat confdefs.h
>>conftest.
$ac_ext
2784 cat >>conftest.
$ac_ext <<_ACEOF
2785 /* end confdefs.h. */
2796 rm -f conftest.
$ac_objext
2797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2798 (eval $ac_compile) 2>conftest.er1
2800 grep -v '^ *+' conftest.er1
>conftest.err
2802 cat conftest.err
>&5
2803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2804 (exit $ac_status); } &&
2805 { ac_try
='test -z "$ac_c_werror_flag"
2806 || test ! -s conftest.err'
2807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2811 (exit $ac_status); }; } &&
2812 { ac_try
='test -s conftest.$ac_objext'
2813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2817 (exit $ac_status); }; }; then
2820 echo "$as_me: failed program was:" >&5
2821 sed 's/^/| /' conftest.
$ac_ext >&5
2825 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2826 cat >conftest.
$ac_ext <<_ACEOF
2829 cat confdefs.h
>>conftest.
$ac_ext
2830 cat >>conftest.
$ac_ext <<_ACEOF
2831 /* end confdefs.h. */
2841 rm -f conftest.
$ac_objext
2842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2843 (eval $ac_compile) 2>conftest.er1
2845 grep -v '^ *+' conftest.er1
>conftest.err
2847 cat conftest.err
>&5
2848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2849 (exit $ac_status); } &&
2850 { ac_try
='test -z "$ac_c_werror_flag"
2851 || test ! -s conftest.err'
2852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2856 (exit $ac_status); }; } &&
2857 { ac_try
='test -s conftest.$ac_objext'
2858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2862 (exit $ac_status); }; }; then
2865 echo "$as_me: failed program was:" >&5
2866 sed 's/^/| /' conftest.
$ac_ext >&5
2869 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2872 if test -n "$ac_declaration"; then
2873 echo '#ifdef __cplusplus' >>confdefs.h
2874 echo $ac_declaration >>confdefs.h
2875 echo '#endif' >>confdefs.h
2879 echo "$as_me: failed program was:" >&5
2880 sed 's/^/| /' conftest.
$ac_ext >&5
2883 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2885 ac_cpp
='$CPP $CPPFLAGS'
2886 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2887 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2888 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2889 DEPDIR
="${am__leading_dot}deps"
2891 ac_config_commands
="$ac_config_commands depfiles"
2894 am_make
=${MAKE-make}
2895 cat > confinc
<< 'END'
2900 # If we don't find an include directive, just comment out the code.
2901 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2902 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2906 # First try GNU make style include.
2907 echo "include confinc" > confmf
2908 # We grep out `Entering directory' and `Leaving directory'
2909 # messages which can occur if `w' ends up in MAKEFLAGS.
2910 # In particular we don't look at `^make:' because GNU make might
2911 # be invoked under some other name (usually "gmake"), in which
2912 # case it prints its new name instead of `make'.
2913 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2918 # Now try BSD make style include.
2919 if test "$am__include" = "#"; then
2920 echo '.include "confinc"' > confmf
2921 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2922 am__include
=.include
2929 echo "$as_me:$LINENO: result: $_am_result" >&5
2930 echo "${ECHO_T}$_am_result" >&6
2931 rm -f confinc confmf
2933 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2934 if test "${enable_dependency_tracking+set}" = set; then
2935 enableval
="$enable_dependency_tracking"
2938 if test "x$enable_dependency_tracking" != xno
; then
2939 am_depcomp
="$ac_aux_dir/depcomp"
2944 if test "x$enable_dependency_tracking" != xno; then
2955 depcc
="$CC" am_compiler_list
=
2957 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2958 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2959 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2960 echo $ECHO_N "(cached) $ECHO_C" >&6
2962 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2963 # We make a subdir and do the tests there. Otherwise we can end up
2964 # making bogus files that we don't know about and never remove. For
2965 # instance it was reported that on HP-UX the gcc test will end up
2966 # making a dummy file named `D' -- because `-MD' means `put the output
2969 # Copy depcomp to subdir because otherwise we won't find it if we're
2970 # using a relative directory.
2971 cp "$am_depcomp" conftest.dir
2973 # We will build objects and dependencies in a subdirectory because
2974 # it helps to detect inapplicable dependency modes. For instance
2975 # both Tru64's cc and ICC support -MD to output dependencies as a
2976 # side effect of compilation, but ICC will put the dependencies in
2977 # the current directory while Tru64 will put them in the object
2981 am_cv_CC_dependencies_compiler_type
=none
2982 if test "$am_compiler_list" = ""; then
2983 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2985 for depmode
in $am_compiler_list; do
2986 # Setup a source with many dependencies, because some compilers
2987 # like to wrap large dependency lists on column 80 (with \), and
2988 # we should not choose a depcomp mode which is confused by this.
2990 # We need to recreate these files for each test, as the compiler may
2991 # overwrite some of them when testing with obscure command lines.
2992 # This happens at least with the AIX C compiler.
2994 for i
in 1 2 3 4 5 6; do
2995 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
2996 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2997 # Solaris 8's {/usr,}/bin/sh.
2998 touch sub
/conftst
$i.h
3000 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3004 # after this tag, mechanisms are not by side-effect, so they'll
3005 # only be used when explicitly requested
3006 if test "x$enable_dependency_tracking" = xyes
; then
3014 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3015 # mode. It turns out that the SunPro C++ compiler does not properly
3016 # handle `-M -o', and we need to detect this.
3017 if depmode
=$depmode \
3018 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3019 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3020 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3021 >/dev
/null
2>conftest.err
&&
3022 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3023 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3024 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3025 # icc doesn't choke on unknown options, it will just issue warnings
3026 # or remarks (even with -Werror). So we grep stderr for any message
3027 # that says an option was ignored or not supported.
3028 # When given -MP, icc 7.0 and 7.1 complain thusly:
3029 # icc: Command line warning: ignoring option '-M'; no argument required
3030 # The diagnosis changed in icc 8.0:
3031 # icc: Command line remark: option '-MP' not supported
3032 if (grep 'ignoring option' conftest.err ||
3033 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3034 am_cv_CC_dependencies_compiler_type
=$depmode
3043 am_cv_CC_dependencies_compiler_type
=none
3047 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3048 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3049 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3054 test "x$enable_dependency_tracking" != xno \
3055 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3057 am__fastdepCC_FALSE
='#'
3059 am__fastdepCC_TRUE
='#'
3060 am__fastdepCC_FALSE
=
3064 # Find a good install program. We prefer a C program (faster),
3065 # so one script is as good as another. But avoid the broken or
3066 # incompatible versions:
3067 # SysV /etc/install, /usr/sbin/install
3068 # SunOS /usr/etc/install
3069 # IRIX /sbin/install
3071 # AmigaOS /C/install, which installs bootblocks on floppy discs
3072 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3073 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3074 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3075 # OS/2's system install, which has a completely different semantic
3076 # ./install, which can be erroneously created by make from ./install.sh.
3077 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3078 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3079 if test -z "$INSTALL"; then
3080 if test "${ac_cv_path_install+set}" = set; then
3081 echo $ECHO_N "(cached) $ECHO_C" >&6
3083 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3087 test -z "$as_dir" && as_dir
=.
3088 # Account for people who put trailing slashes in PATH elements.
3090 .
/ | .
// |
/cC
/* | \
3091 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3092 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3095 # OSF1 and SCO ODT 3.0 have their own names for install.
3096 # Don't use installbsd from OSF since it installs stuff as root
3098 for ac_prog
in ginstall scoinst
install; do
3099 for ac_exec_ext
in '' $ac_executable_extensions; do
3100 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3101 if test $ac_prog = install &&
3102 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3103 # AIX install. It has an incompatible calling convention.
3105 elif test $ac_prog = install &&
3106 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3107 # program-specific install script used by HP pwplus--don't use.
3110 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3122 if test "${ac_cv_path_install+set}" = set; then
3123 INSTALL
=$ac_cv_path_install
3125 # As a last resort, use the slow shell script. We don't cache a
3126 # path for INSTALL within a source directory, because that will
3127 # break other packages using the cache if that directory is
3128 # removed, or if the path is relative.
3129 INSTALL
=$ac_install_sh
3132 echo "$as_me:$LINENO: result: $INSTALL" >&5
3133 echo "${ECHO_T}$INSTALL" >&6
3135 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3136 # It thinks the first close brace ends the variable substitution.
3137 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3139 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3141 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3143 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3144 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3146 if test "$LN_S" = "ln -s"; then
3147 echo "$as_me:$LINENO: result: yes" >&5
3148 echo "${ECHO_T}yes" >&6
3150 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3151 echo "${ECHO_T}no, using $LN_S" >&6
3154 # Check whether --enable-shared or --disable-shared was given.
3155 if test "${enable_shared+set}" = set; then
3156 enableval
="$enable_shared"
3157 p
=${PACKAGE-default}
3159 yes) enable_shared
=yes ;;
3160 no
) enable_shared
=no
;;
3163 # Look at the argument we got. We use all the common list separators.
3164 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3165 for pkg
in $enableval; do
3167 if test "X$pkg" = "X$p"; then
3178 # Check whether --enable-static or --disable-static was given.
3179 if test "${enable_static+set}" = set; then
3180 enableval
="$enable_static"
3181 p
=${PACKAGE-default}
3183 yes) enable_static
=yes ;;
3184 no
) enable_static
=no
;;
3187 # Look at the argument we got. We use all the common list separators.
3188 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3189 for pkg
in $enableval; do
3191 if test "X$pkg" = "X$p"; then
3202 # Check whether --enable-fast-install or --disable-fast-install was given.
3203 if test "${enable_fast_install+set}" = set; then
3204 enableval
="$enable_fast_install"
3205 p
=${PACKAGE-default}
3207 yes) enable_fast_install
=yes ;;
3208 no
) enable_fast_install
=no
;;
3210 enable_fast_install
=no
3211 # Look at the argument we got. We use all the common list separators.
3212 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3213 for pkg
in $enableval; do
3215 if test "X$pkg" = "X$p"; then
3216 enable_fast_install
=yes
3223 enable_fast_install
=yes
3226 # Make sure we can run config.sub.
3227 $ac_config_sub sun4
>/dev
/null
2>&1 ||
3228 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
3229 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
3230 { (exit 1); exit 1; }; }
3232 echo "$as_me:$LINENO: checking build system type" >&5
3233 echo $ECHO_N "checking build system type... $ECHO_C" >&6
3234 if test "${ac_cv_build+set}" = set; then
3235 echo $ECHO_N "(cached) $ECHO_C" >&6
3237 ac_cv_build_alias
=$build_alias
3238 test -z "$ac_cv_build_alias" &&
3239 ac_cv_build_alias
=`$ac_config_guess`
3240 test -z "$ac_cv_build_alias" &&
3241 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3242 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3243 { (exit 1); exit 1; }; }
3244 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
3245 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
3246 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
3247 { (exit 1); exit 1; }; }
3250 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3251 echo "${ECHO_T}$ac_cv_build" >&6
3253 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3254 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3255 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3258 echo "$as_me:$LINENO: checking host system type" >&5
3259 echo $ECHO_N "checking host system type... $ECHO_C" >&6
3260 if test "${ac_cv_host+set}" = set; then
3261 echo $ECHO_N "(cached) $ECHO_C" >&6
3263 ac_cv_host_alias
=$host_alias
3264 test -z "$ac_cv_host_alias" &&
3265 ac_cv_host_alias
=$ac_cv_build_alias
3266 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
3267 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
3268 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
3269 { (exit 1); exit 1; }; }
3272 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3273 echo "${ECHO_T}$ac_cv_host" >&6
3275 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3276 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3277 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3280 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3281 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3282 if test "${lt_cv_path_SED+set}" = set; then
3283 echo $ECHO_N "(cached) $ECHO_C" >&6
3285 # Loop through the user's path and test for sed and gsed.
3286 # Then use that list of sed's as ones to test for truncation.
3287 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3291 test -z "$as_dir" && as_dir
=.
3292 for lt_ac_prog
in sed gsed
; do
3293 for ac_exec_ext
in '' $ac_executable_extensions; do
3294 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3295 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3303 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3304 # along with /bin/sed that truncates output.
3305 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
3306 test ! -f $lt_ac_sed && continue
3307 cat /dev
/null
> conftest.
in
3309 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
3310 # Check for GNU sed and select it if it is found.
3311 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
3312 lt_cv_path_SED
=$lt_ac_sed
3316 cat conftest.
in conftest.
in >conftest.tmp
3317 mv conftest.tmp conftest.
in
3318 cp conftest.
in conftest.
nl
3320 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
3321 cmp -s conftest.out conftest.
nl ||
break
3322 # 10000 chars as input seems more than enough
3323 test $lt_ac_count -gt 10 && break
3324 lt_ac_count
=`expr $lt_ac_count + 1`
3325 if test $lt_ac_count -gt $lt_ac_max; then
3326 lt_ac_max
=$lt_ac_count
3327 lt_cv_path_SED
=$lt_ac_sed
3336 echo "$as_me:$LINENO: result: $SED" >&5
3337 echo "${ECHO_T}$SED" >&6
3339 echo "$as_me:$LINENO: checking for egrep" >&5
3340 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3341 if test "${ac_cv_prog_egrep+set}" = set; then
3342 echo $ECHO_N "(cached) $ECHO_C" >&6
3344 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3345 then ac_cv_prog_egrep
='grep -E'
3346 else ac_cv_prog_egrep
='egrep'
3349 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3350 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3351 EGREP
=$ac_cv_prog_egrep
3355 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3356 if test "${with_gnu_ld+set}" = set; then
3357 withval
="$with_gnu_ld"
3358 test "$withval" = no || with_gnu_ld
=yes
3363 if test "$GCC" = yes; then
3364 # Check if gcc -print-prog-name=ld gives a path.
3365 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3366 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
3369 # gcc leaves a trailing carriage return which upsets mingw
3370 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3372 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3375 # Accept absolute paths.
3377 re_direlt
='/[^/][^/]*/\.\./'
3378 # Canonicalize the pathname of ld
3379 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
3380 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
3381 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
3383 test -z "$LD" && LD
="$ac_prog"
3386 # If it fails, then pretend we aren't using GCC.
3390 # If it is relative, then search for the first ld in PATH.
3394 elif test "$with_gnu_ld" = yes; then
3395 echo "$as_me:$LINENO: checking for GNU ld" >&5
3396 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3398 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3399 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3401 if test "${lt_cv_path_LD+set}" = set; then
3402 echo $ECHO_N "(cached) $ECHO_C" >&6
3404 if test -z "$LD"; then
3405 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
3406 for ac_dir
in $PATH; do
3408 test -z "$ac_dir" && ac_dir
=.
3409 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3410 lt_cv_path_LD
="$ac_dir/$ac_prog"
3411 # Check to see if the program is GNU ld. I'd rather use --version,
3412 # but apparently some variants of GNU ld only accept -v.
3413 # Break only if it was the GNU/non-GNU ld that we prefer.
3414 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3415 *GNU
* |
*'with BFD'*)
3416 test "$with_gnu_ld" != no
&& break
3419 test "$with_gnu_ld" != yes && break
3426 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3431 if test -n "$LD"; then
3432 echo "$as_me:$LINENO: result: $LD" >&5
3433 echo "${ECHO_T}$LD" >&6
3435 echo "$as_me:$LINENO: result: no" >&5
3436 echo "${ECHO_T}no" >&6
3438 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3439 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3440 { (exit 1); exit 1; }; }
3441 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3442 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3443 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3444 echo $ECHO_N "(cached) $ECHO_C" >&6
3446 # I'd rather use --version here, but apparently some GNU lds only accept -v.
3447 case `$LD -v 2>&1 </dev/null` in
3448 *GNU
* |
*'with BFD'*)
3449 lt_cv_prog_gnu_ld
=yes
3452 lt_cv_prog_gnu_ld
=no
3456 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3457 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3458 with_gnu_ld
=$lt_cv_prog_gnu_ld
3461 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3462 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3463 if test "${lt_cv_ld_reload_flag+set}" = set; then
3464 echo $ECHO_N "(cached) $ECHO_C" >&6
3466 lt_cv_ld_reload_flag
='-r'
3468 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3469 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3470 reload_flag
=$lt_cv_ld_reload_flag
3471 case $reload_flag in
3473 *) reload_flag
=" $reload_flag" ;;
3475 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
3478 if test "$GCC" = yes; then
3479 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
3481 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
3486 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3487 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3488 if test "${lt_cv_path_NM+set}" = set; then
3489 echo $ECHO_N "(cached) $ECHO_C" >&6
3491 if test -n "$NM"; then
3492 # Let the user override the test.
3495 lt_nm_to_check
="${ac_tool_prefix}nm"
3496 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3497 lt_nm_to_check
="$lt_nm_to_check nm"
3499 for lt_tmp_nm
in $lt_nm_to_check; do
3500 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
3501 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
3503 test -z "$ac_dir" && ac_dir
=.
3504 tmp_nm
="$ac_dir/$lt_tmp_nm"
3505 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
3506 # Check to see if the nm accepts a BSD-compat flag.
3507 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3508 # nm: unknown option "B" ignored
3509 # Tru64's nm complains that /dev/null is an invalid object file
3510 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3511 */dev
/null
* |
*'Invalid file or object type'*)
3512 lt_cv_path_NM
="$tmp_nm -B"
3516 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3518 lt_cv_path_NM
="$tmp_nm -p"
3522 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3523 continue # so that we can try to find one that supports BSD flags
3532 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
3535 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
3536 echo "${ECHO_T}$lt_cv_path_NM" >&6
3539 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
3540 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
3541 if test "${lt_cv_deplibs_check_method+set}" = set; then
3542 echo $ECHO_N "(cached) $ECHO_C" >&6
3544 lt_cv_file_magic_cmd
='$MAGIC_CMD'
3545 lt_cv_file_magic_test_file
=
3546 lt_cv_deplibs_check_method
='unknown'
3547 # Need to set the preceding variable on all platforms that support
3548 # interlibrary dependencies.
3549 # 'none' -- dependencies not supported.
3550 # `unknown' -- same as none, but documents that we really don't know.
3551 # 'pass_all' -- all dependencies passed with no checks.
3552 # 'test_compile' -- check by making test program.
3553 # 'file_magic [[regex]]' -- check by looking for files in library path
3554 # which responds to the $file_magic_cmd with a given extended regex.
3555 # If you have `file' or equivalent on your system and you're not sure
3556 # whether `pass_all' will *always* work, you probably want this one.
3560 lt_cv_deplibs_check_method
=pass_all
3564 lt_cv_deplibs_check_method
=pass_all
3568 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3569 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3570 lt_cv_file_magic_test_file
=/shlib
/libc.so
3574 # func_win32_libid is a shell function defined in ltmain.sh
3575 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
3576 lt_cv_file_magic_cmd
='func_win32_libid'
3580 # Base MSYS/MinGW do not provide the 'file' command needed by
3581 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
3582 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
3583 lt_cv_file_magic_cmd
='$OBJDUMP -f'
3586 darwin
* | rhapsody
*)
3587 lt_cv_deplibs_check_method
=pass_all
3590 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
3591 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3594 # Not sure whether the presence of OpenBSD here was a mistake.
3595 # Let's accept both of them until this is cleared up.
3596 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
3597 lt_cv_file_magic_cmd
=/usr
/bin
/file
3598 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3602 lt_cv_deplibs_check_method
=pass_all
3607 lt_cv_deplibs_check_method
=pass_all
3610 hpux10.20
* | hpux11
*)
3611 lt_cv_file_magic_cmd
=/usr
/bin
/file
3614 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3615 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
3618 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]'
3619 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
3622 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3623 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
3629 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
3630 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
3633 irix5
* | irix6
* | nonstopux
*)
3635 *-32|
*"-32 ") libmagic
=32-bit;;
3636 *-n32|
*"-n32 ") libmagic
=N32
;;
3637 *-64|
*"-64 ") libmagic
=64-bit;;
3638 *) libmagic
=never-match
;;
3640 lt_cv_deplibs_check_method
=pass_all
3643 # This must be Linux ELF.
3645 lt_cv_deplibs_check_method
=pass_all
3649 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3650 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
3652 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
3657 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3658 lt_cv_file_magic_cmd
=/usr
/bin
/file
3659 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
3663 lt_cv_deplibs_check_method
=unknown
3667 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
3668 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
3670 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
3674 osf3
* | osf4
* | osf5
*)
3675 lt_cv_deplibs_check_method
=pass_all
3679 lt_cv_deplibs_check_method
=pass_all
3683 case $host_vendor in
3685 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]'
3686 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
3689 lt_cv_deplibs_check_method
=pass_all
3692 lt_cv_file_magic_cmd
='/bin/file'
3693 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
3696 lt_cv_file_magic_cmd
='/bin/file'
3697 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
3698 lt_cv_file_magic_test_file
=/lib
/libc.so
3701 lt_cv_deplibs_check_method
=pass_all
3704 lt_cv_deplibs_check_method
=pass_all
3709 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
3710 lt_cv_deplibs_check_method
=pass_all
3715 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3716 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3717 file_magic_cmd
=$lt_cv_file_magic_cmd
3718 deplibs_check_method
=$lt_cv_deplibs_check_method
3719 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
3724 # If no C compiler was specified, use CC.
3727 # If no C compiler flags were specified, use CFLAGS.
3728 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
3730 # Allow CC to be a program name with arguments.
3734 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
3735 if test "${enable_libtool_lock+set}" = set; then
3736 enableval
="$enable_libtool_lock"
3739 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
3741 # Some flags need to be propagated to the compiler or linker for good
3745 # Find out which ABI we are using.
3746 echo 'int i;' > conftest.
$ac_ext
3747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3748 (eval $ac_compile) 2>&5
3750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3751 (exit $ac_status); }; then
3752 case `/usr/bin/file conftest.$ac_objext` in
3764 # Find out which ABI we are using.
3765 echo '#line 3765 "configure"' > conftest.
$ac_ext
3766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3767 (eval $ac_compile) 2>&5
3769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3770 (exit $ac_status); }; then
3771 if test "$lt_cv_prog_gnu_ld" = yes; then
3772 case `/usr/bin/file conftest.$ac_objext` in
3774 LD
="${LD-ld} -melf32bsmip"
3777 LD
="${LD-ld} -melf32bmipn32"
3780 LD
="${LD-ld} -melf64bmip"
3784 case `/usr/bin/file conftest.$ac_objext` in
3800 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
3801 # Find out which ABI we are using.
3802 echo 'int i;' > conftest.
$ac_ext
3803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3804 (eval $ac_compile) 2>&5
3806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3807 (exit $ac_status); }; then
3808 case `/usr/bin/file conftest.o` in
3812 LD
="${LD-ld} -m elf_i386"
3814 ppc64-
*linux
*|powerpc64-
*linux
*)
3815 LD
="${LD-ld} -m elf32ppclinux"
3818 LD
="${LD-ld} -m elf_s390"
3821 LD
="${LD-ld} -m elf32_sparc"
3828 LD
="${LD-ld} -m elf_x86_64"
3830 ppc
*-*linux
*|powerpc
*-*linux
*)
3831 LD
="${LD-ld} -m elf64ppc"
3834 LD
="${LD-ld} -m elf64_s390"
3837 LD
="${LD-ld} -m elf64_sparc"
3847 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
3848 SAVE_CFLAGS
="$CFLAGS"
3849 CFLAGS
="$CFLAGS -belf"
3850 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
3851 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
3852 if test "${lt_cv_cc_needs_belf+set}" = set; then
3853 echo $ECHO_N "(cached) $ECHO_C" >&6
3856 ac_cpp
='$CPP $CPPFLAGS'
3857 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3858 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3859 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3861 cat >conftest.
$ac_ext <<_ACEOF
3864 cat confdefs.h
>>conftest.
$ac_ext
3865 cat >>conftest.
$ac_ext <<_ACEOF
3866 /* end confdefs.h. */
3876 rm -f conftest.
$ac_objext conftest
$ac_exeext
3877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3878 (eval $ac_link) 2>conftest.er1
3880 grep -v '^ *+' conftest.er1
>conftest.err
3882 cat conftest.err
>&5
3883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3884 (exit $ac_status); } &&
3885 { ac_try
='test -z "$ac_c_werror_flag"
3886 || test ! -s conftest.err'
3887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3891 (exit $ac_status); }; } &&
3892 { ac_try
='test -s conftest$ac_exeext'
3893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3897 (exit $ac_status); }; }; then
3898 lt_cv_cc_needs_belf
=yes
3900 echo "$as_me: failed program was:" >&5
3901 sed 's/^/| /' conftest.
$ac_ext >&5
3903 lt_cv_cc_needs_belf
=no
3905 rm -f conftest.err conftest.
$ac_objext \
3906 conftest
$ac_exeext conftest.
$ac_ext
3908 ac_cpp
='$CPP $CPPFLAGS'
3909 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3910 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3911 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3914 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
3915 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
3916 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
3917 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
3918 CFLAGS
="$SAVE_CFLAGS"
3922 # Find out which ABI we are using.
3923 echo 'int i;' > conftest.
$ac_ext
3924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3925 (eval $ac_compile) 2>&5
3927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3928 (exit $ac_status); }; then
3929 case `/usr/bin/file conftest.o` in
3931 case $lt_cv_prog_gnu_ld in
3932 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
3933 *) LD
="${LD-ld} -64" ;;
3944 need_locks
="$enable_libtool_lock"
3948 ac_cpp
='$CPP $CPPFLAGS'
3949 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3950 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3951 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3952 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3953 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3954 # On Suns, sometimes $CPP names a directory.
3955 if test -n "$CPP" && test -d "$CPP"; then
3958 if test -z "$CPP"; then
3959 if test "${ac_cv_prog_CPP+set}" = set; then
3960 echo $ECHO_N "(cached) $ECHO_C" >&6
3962 # Double quotes because CPP needs to be expanded
3963 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3966 for ac_c_preproc_warn_flag
in '' yes
3968 # Use a header file that comes with gcc, so configuring glibc
3969 # with a fresh cross-compiler works.
3970 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3971 # <limits.h> exists even on freestanding compilers.
3972 # On the NeXT, cc -E runs the code through the compiler's parser,
3973 # not just through cpp. "Syntax error" is here to catch this case.
3974 cat >conftest.
$ac_ext <<_ACEOF
3977 cat confdefs.h
>>conftest.
$ac_ext
3978 cat >>conftest.
$ac_ext <<_ACEOF
3979 /* end confdefs.h. */
3981 # include <limits.h>
3983 # include <assert.h>
3987 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3988 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3990 grep -v '^ *+' conftest.er1
>conftest.err
3992 cat conftest.err
>&5
3993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3994 (exit $ac_status); } >/dev
/null
; then
3995 if test -s conftest.err
; then
3996 ac_cpp_err
=$ac_c_preproc_warn_flag
3997 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4004 if test -z "$ac_cpp_err"; then
4007 echo "$as_me: failed program was:" >&5
4008 sed 's/^/| /' conftest.
$ac_ext >&5
4010 # Broken: fails on valid input.
4013 rm -f conftest.err conftest.
$ac_ext
4015 # OK, works on sane cases. Now check whether non-existent headers
4016 # can be detected and how.
4017 cat >conftest.
$ac_ext <<_ACEOF
4020 cat confdefs.h
>>conftest.
$ac_ext
4021 cat >>conftest.
$ac_ext <<_ACEOF
4022 /* end confdefs.h. */
4023 #include <ac_nonexistent.h>
4025 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4026 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4028 grep -v '^ *+' conftest.er1
>conftest.err
4030 cat conftest.err
>&5
4031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4032 (exit $ac_status); } >/dev
/null
; then
4033 if test -s conftest.err
; then
4034 ac_cpp_err
=$ac_c_preproc_warn_flag
4035 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4042 if test -z "$ac_cpp_err"; then
4043 # Broken: success on invalid input.
4046 echo "$as_me: failed program was:" >&5
4047 sed 's/^/| /' conftest.
$ac_ext >&5
4049 # Passes both tests.
4053 rm -f conftest.err conftest.
$ac_ext
4056 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4057 rm -f conftest.err conftest.
$ac_ext
4058 if $ac_preproc_ok; then
4070 echo "$as_me:$LINENO: result: $CPP" >&5
4071 echo "${ECHO_T}$CPP" >&6
4073 for ac_c_preproc_warn_flag
in '' yes
4075 # Use a header file that comes with gcc, so configuring glibc
4076 # with a fresh cross-compiler works.
4077 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4078 # <limits.h> exists even on freestanding compilers.
4079 # On the NeXT, cc -E runs the code through the compiler's parser,
4080 # not just through cpp. "Syntax error" is here to catch this case.
4081 cat >conftest.
$ac_ext <<_ACEOF
4084 cat confdefs.h
>>conftest.
$ac_ext
4085 cat >>conftest.
$ac_ext <<_ACEOF
4086 /* end confdefs.h. */
4088 # include <limits.h>
4090 # include <assert.h>
4094 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4095 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4097 grep -v '^ *+' conftest.er1
>conftest.err
4099 cat conftest.err
>&5
4100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4101 (exit $ac_status); } >/dev
/null
; then
4102 if test -s conftest.err
; then
4103 ac_cpp_err
=$ac_c_preproc_warn_flag
4104 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4111 if test -z "$ac_cpp_err"; then
4114 echo "$as_me: failed program was:" >&5
4115 sed 's/^/| /' conftest.
$ac_ext >&5
4117 # Broken: fails on valid input.
4120 rm -f conftest.err conftest.
$ac_ext
4122 # OK, works on sane cases. Now check whether non-existent headers
4123 # can be detected and how.
4124 cat >conftest.
$ac_ext <<_ACEOF
4127 cat confdefs.h
>>conftest.
$ac_ext
4128 cat >>conftest.
$ac_ext <<_ACEOF
4129 /* end confdefs.h. */
4130 #include <ac_nonexistent.h>
4132 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4133 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4135 grep -v '^ *+' conftest.er1
>conftest.err
4137 cat conftest.err
>&5
4138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4139 (exit $ac_status); } >/dev
/null
; then
4140 if test -s conftest.err
; then
4141 ac_cpp_err
=$ac_c_preproc_warn_flag
4142 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4149 if test -z "$ac_cpp_err"; then
4150 # Broken: success on invalid input.
4153 echo "$as_me: failed program was:" >&5
4154 sed 's/^/| /' conftest.
$ac_ext >&5
4156 # Passes both tests.
4160 rm -f conftest.err conftest.
$ac_ext
4163 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4164 rm -f conftest.err conftest.
$ac_ext
4165 if $ac_preproc_ok; then
4168 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4169 See \`config.log' for more details." >&5
4170 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4171 See \`config.log' for more details." >&2;}
4172 { (exit 1); exit 1; }; }
4176 ac_cpp
='$CPP $CPPFLAGS'
4177 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4178 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4179 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4182 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4183 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4184 if test "${ac_cv_header_stdc+set}" = set; then
4185 echo $ECHO_N "(cached) $ECHO_C" >&6
4187 cat >conftest.
$ac_ext <<_ACEOF
4190 cat confdefs.h
>>conftest.
$ac_ext
4191 cat >>conftest.
$ac_ext <<_ACEOF
4192 /* end confdefs.h. */
4206 rm -f conftest.
$ac_objext
4207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4208 (eval $ac_compile) 2>conftest.er1
4210 grep -v '^ *+' conftest.er1
>conftest.err
4212 cat conftest.err
>&5
4213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4214 (exit $ac_status); } &&
4215 { ac_try
='test -z "$ac_c_werror_flag"
4216 || test ! -s conftest.err'
4217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4221 (exit $ac_status); }; } &&
4222 { ac_try
='test -s conftest.$ac_objext'
4223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4227 (exit $ac_status); }; }; then
4228 ac_cv_header_stdc
=yes
4230 echo "$as_me: failed program was:" >&5
4231 sed 's/^/| /' conftest.
$ac_ext >&5
4233 ac_cv_header_stdc
=no
4235 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4237 if test $ac_cv_header_stdc = yes; then
4238 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4239 cat >conftest.
$ac_ext <<_ACEOF
4242 cat confdefs.h
>>conftest.
$ac_ext
4243 cat >>conftest.
$ac_ext <<_ACEOF
4244 /* end confdefs.h. */
4248 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4249 $EGREP "memchr" >/dev
/null
2>&1; then
4252 ac_cv_header_stdc
=no
4258 if test $ac_cv_header_stdc = yes; then
4259 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4260 cat >conftest.
$ac_ext <<_ACEOF
4263 cat confdefs.h
>>conftest.
$ac_ext
4264 cat >>conftest.
$ac_ext <<_ACEOF
4265 /* end confdefs.h. */
4269 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4270 $EGREP "free" >/dev
/null
2>&1; then
4273 ac_cv_header_stdc
=no
4279 if test $ac_cv_header_stdc = yes; then
4280 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4281 if test "$cross_compiling" = yes; then
4284 cat >conftest.
$ac_ext <<_ACEOF
4287 cat confdefs.h
>>conftest.
$ac_ext
4288 cat >>conftest.
$ac_ext <<_ACEOF
4289 /* end confdefs.h. */
4291 #if ((' ' & 0x0FF) == 0x020)
4292 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4293 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4295 # define ISLOWER(c) \
4296 (('a' <= (c) && (c) <= 'i') \
4297 || ('j' <= (c) && (c) <= 'r') \
4298 || ('s' <= (c) && (c) <= 'z'))
4299 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4302 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4307 for (i = 0; i < 256; i++)
4308 if (XOR (islower (i), ISLOWER (i))
4309 || toupper (i) != TOUPPER (i))
4314 rm -f conftest
$ac_exeext
4315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4316 (eval $ac_link) 2>&5
4318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4319 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4324 (exit $ac_status); }; }; then
4327 echo "$as_me: program exited with status $ac_status" >&5
4328 echo "$as_me: failed program was:" >&5
4329 sed 's/^/| /' conftest.
$ac_ext >&5
4332 ac_cv_header_stdc
=no
4334 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4338 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4339 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4340 if test $ac_cv_header_stdc = yes; then
4342 cat >>confdefs.h
<<\_ACEOF
4343 #define STDC_HEADERS 1
4348 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4358 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4359 inttypes.h stdint.h unistd.h
4361 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4362 echo "$as_me:$LINENO: checking for $ac_header" >&5
4363 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4364 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4365 echo $ECHO_N "(cached) $ECHO_C" >&6
4367 cat >conftest.
$ac_ext <<_ACEOF
4370 cat confdefs.h
>>conftest.
$ac_ext
4371 cat >>conftest.
$ac_ext <<_ACEOF
4372 /* end confdefs.h. */
4373 $ac_includes_default
4375 #include <$ac_header>
4377 rm -f conftest.
$ac_objext
4378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4379 (eval $ac_compile) 2>conftest.er1
4381 grep -v '^ *+' conftest.er1
>conftest.err
4383 cat conftest.err
>&5
4384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4385 (exit $ac_status); } &&
4386 { ac_try
='test -z "$ac_c_werror_flag"
4387 || test ! -s conftest.err'
4388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4392 (exit $ac_status); }; } &&
4393 { ac_try
='test -s conftest.$ac_objext'
4394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4398 (exit $ac_status); }; }; then
4399 eval "$as_ac_Header=yes"
4401 echo "$as_me: failed program was:" >&5
4402 sed 's/^/| /' conftest.
$ac_ext >&5
4404 eval "$as_ac_Header=no"
4406 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4408 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4409 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4410 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4411 cat >>confdefs.h
<<_ACEOF
4412 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4421 for ac_header
in dlfcn.h
4423 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4424 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4425 echo "$as_me:$LINENO: checking for $ac_header" >&5
4426 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4427 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4428 echo $ECHO_N "(cached) $ECHO_C" >&6
4430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4431 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4433 # Is the header compilable?
4434 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4435 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4436 cat >conftest.
$ac_ext <<_ACEOF
4439 cat confdefs.h
>>conftest.
$ac_ext
4440 cat >>conftest.
$ac_ext <<_ACEOF
4441 /* end confdefs.h. */
4442 $ac_includes_default
4443 #include <$ac_header>
4445 rm -f conftest.
$ac_objext
4446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4447 (eval $ac_compile) 2>conftest.er1
4449 grep -v '^ *+' conftest.er1
>conftest.err
4451 cat conftest.err
>&5
4452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4453 (exit $ac_status); } &&
4454 { ac_try
='test -z "$ac_c_werror_flag"
4455 || test ! -s conftest.err'
4456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4460 (exit $ac_status); }; } &&
4461 { ac_try
='test -s conftest.$ac_objext'
4462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4466 (exit $ac_status); }; }; then
4467 ac_header_compiler
=yes
4469 echo "$as_me: failed program was:" >&5
4470 sed 's/^/| /' conftest.
$ac_ext >&5
4472 ac_header_compiler
=no
4474 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4475 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4476 echo "${ECHO_T}$ac_header_compiler" >&6
4478 # Is the header present?
4479 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4480 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4481 cat >conftest.
$ac_ext <<_ACEOF
4484 cat confdefs.h
>>conftest.
$ac_ext
4485 cat >>conftest.
$ac_ext <<_ACEOF
4486 /* end confdefs.h. */
4487 #include <$ac_header>
4489 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4490 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4492 grep -v '^ *+' conftest.er1
>conftest.err
4494 cat conftest.err
>&5
4495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4496 (exit $ac_status); } >/dev
/null
; then
4497 if test -s conftest.err
; then
4498 ac_cpp_err
=$ac_c_preproc_warn_flag
4499 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4506 if test -z "$ac_cpp_err"; then
4507 ac_header_preproc
=yes
4509 echo "$as_me: failed program was:" >&5
4510 sed 's/^/| /' conftest.
$ac_ext >&5
4512 ac_header_preproc
=no
4514 rm -f conftest.err conftest.
$ac_ext
4515 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4516 echo "${ECHO_T}$ac_header_preproc" >&6
4518 # So? What about this header?
4519 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4521 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4522 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4523 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4524 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4525 ac_header_preproc
=yes
4528 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4529 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4530 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4531 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4532 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4533 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4534 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4535 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4536 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4537 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4538 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4539 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4542 ## -------------------------------------------------- ##
4543 ## Report this to courier-users@lists.sourceforge.net ##
4544 ## -------------------------------------------------- ##
4547 sed "s/^/$as_me: WARNING: /" >&2
4550 echo "$as_me:$LINENO: checking for $ac_header" >&5
4551 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4552 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4553 echo $ECHO_N "(cached) $ECHO_C" >&6
4555 eval "$as_ac_Header=\$ac_header_preproc"
4557 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4558 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4561 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4562 cat >>confdefs.h
<<_ACEOF
4563 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4571 ac_cpp
='$CXXCPP $CPPFLAGS'
4572 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4573 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4574 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4575 if test -n "$ac_tool_prefix"; then
4576 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
4578 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4579 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4580 echo "$as_me:$LINENO: checking for $ac_word" >&5
4581 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4582 if test "${ac_cv_prog_CXX+set}" = set; then
4583 echo $ECHO_N "(cached) $ECHO_C" >&6
4585 if test -n "$CXX"; then
4586 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
4588 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4592 test -z "$as_dir" && as_dir
=.
4593 for ac_exec_ext
in '' $ac_executable_extensions; do
4594 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4595 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
4596 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4605 if test -n "$CXX"; then
4606 echo "$as_me:$LINENO: result: $CXX" >&5
4607 echo "${ECHO_T}$CXX" >&6
4609 echo "$as_me:$LINENO: result: no" >&5
4610 echo "${ECHO_T}no" >&6
4613 test -n "$CXX" && break
4616 if test -z "$CXX"; then
4618 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
4620 # Extract the first word of "$ac_prog", so it can be a program name with args.
4621 set dummy
$ac_prog; ac_word
=$2
4622 echo "$as_me:$LINENO: checking for $ac_word" >&5
4623 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4624 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4625 echo $ECHO_N "(cached) $ECHO_C" >&6
4627 if test -n "$ac_ct_CXX"; then
4628 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
4630 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4634 test -z "$as_dir" && as_dir
=.
4635 for ac_exec_ext
in '' $ac_executable_extensions; do
4636 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4637 ac_cv_prog_ac_ct_CXX
="$ac_prog"
4638 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4646 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
4647 if test -n "$ac_ct_CXX"; then
4648 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4649 echo "${ECHO_T}$ac_ct_CXX" >&6
4651 echo "$as_me:$LINENO: result: no" >&5
4652 echo "${ECHO_T}no" >&6
4655 test -n "$ac_ct_CXX" && break
4657 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
4663 # Provide some information about the compiler.
4664 echo "$as_me:$LINENO:" \
4665 "checking for C++ compiler version" >&5
4666 ac_compiler
=`set X $ac_compile; echo $2`
4667 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4668 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
4670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4671 (exit $ac_status); }
4672 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4673 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
4675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4676 (exit $ac_status); }
4677 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4678 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
4680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4681 (exit $ac_status); }
4683 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4684 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
4685 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4686 echo $ECHO_N "(cached) $ECHO_C" >&6
4688 cat >conftest.
$ac_ext <<_ACEOF
4691 cat confdefs.h
>>conftest.
$ac_ext
4692 cat >>conftest.
$ac_ext <<_ACEOF
4693 /* end confdefs.h. */
4706 rm -f conftest.
$ac_objext
4707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4708 (eval $ac_compile) 2>conftest.er1
4710 grep -v '^ *+' conftest.er1
>conftest.err
4712 cat conftest.err
>&5
4713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4714 (exit $ac_status); } &&
4715 { ac_try
='test -z "$ac_cxx_werror_flag"
4716 || test ! -s conftest.err'
4717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4721 (exit $ac_status); }; } &&
4722 { ac_try
='test -s conftest.$ac_objext'
4723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4727 (exit $ac_status); }; }; then
4730 echo "$as_me: failed program was:" >&5
4731 sed 's/^/| /' conftest.
$ac_ext >&5
4735 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4736 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4739 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4740 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
4741 GXX
=`test $ac_compiler_gnu = yes && echo yes`
4742 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4743 ac_save_CXXFLAGS
=$CXXFLAGS
4745 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4746 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
4747 if test "${ac_cv_prog_cxx_g+set}" = set; then
4748 echo $ECHO_N "(cached) $ECHO_C" >&6
4750 cat >conftest.
$ac_ext <<_ACEOF
4753 cat confdefs.h
>>conftest.
$ac_ext
4754 cat >>conftest.
$ac_ext <<_ACEOF
4755 /* end confdefs.h. */
4765 rm -f conftest.
$ac_objext
4766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4767 (eval $ac_compile) 2>conftest.er1
4769 grep -v '^ *+' conftest.er1
>conftest.err
4771 cat conftest.err
>&5
4772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4773 (exit $ac_status); } &&
4774 { ac_try
='test -z "$ac_cxx_werror_flag"
4775 || test ! -s conftest.err'
4776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4780 (exit $ac_status); }; } &&
4781 { ac_try
='test -s conftest.$ac_objext'
4782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4786 (exit $ac_status); }; }; then
4787 ac_cv_prog_cxx_g
=yes
4789 echo "$as_me: failed program was:" >&5
4790 sed 's/^/| /' conftest.
$ac_ext >&5
4794 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4796 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4797 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
4798 if test "$ac_test_CXXFLAGS" = set; then
4799 CXXFLAGS
=$ac_save_CXXFLAGS
4800 elif test $ac_cv_prog_cxx_g = yes; then
4801 if test "$GXX" = yes; then
4807 if test "$GXX" = yes; then
4813 for ac_declaration
in \
4815 'extern "C" void std::exit (int) throw (); using std::exit;' \
4816 'extern "C" void std::exit (int); using std::exit;' \
4817 'extern "C" void exit (int) throw ();' \
4818 'extern "C" void exit (int);' \
4821 cat >conftest.
$ac_ext <<_ACEOF
4824 cat confdefs.h
>>conftest.
$ac_ext
4825 cat >>conftest.
$ac_ext <<_ACEOF
4826 /* end confdefs.h. */
4837 rm -f conftest.
$ac_objext
4838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4839 (eval $ac_compile) 2>conftest.er1
4841 grep -v '^ *+' conftest.er1
>conftest.err
4843 cat conftest.err
>&5
4844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4845 (exit $ac_status); } &&
4846 { ac_try
='test -z "$ac_cxx_werror_flag"
4847 || test ! -s conftest.err'
4848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4852 (exit $ac_status); }; } &&
4853 { ac_try
='test -s conftest.$ac_objext'
4854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4858 (exit $ac_status); }; }; then
4861 echo "$as_me: failed program was:" >&5
4862 sed 's/^/| /' conftest.
$ac_ext >&5
4866 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4867 cat >conftest.
$ac_ext <<_ACEOF
4870 cat confdefs.h
>>conftest.
$ac_ext
4871 cat >>conftest.
$ac_ext <<_ACEOF
4872 /* end confdefs.h. */
4882 rm -f conftest.
$ac_objext
4883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4884 (eval $ac_compile) 2>conftest.er1
4886 grep -v '^ *+' conftest.er1
>conftest.err
4888 cat conftest.err
>&5
4889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4890 (exit $ac_status); } &&
4891 { ac_try
='test -z "$ac_cxx_werror_flag"
4892 || test ! -s conftest.err'
4893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4897 (exit $ac_status); }; } &&
4898 { ac_try
='test -s conftest.$ac_objext'
4899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4903 (exit $ac_status); }; }; then
4906 echo "$as_me: failed program was:" >&5
4907 sed 's/^/| /' conftest.
$ac_ext >&5
4910 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4913 if test -n "$ac_declaration"; then
4914 echo '#ifdef __cplusplus' >>confdefs.h
4915 echo $ac_declaration >>confdefs.h
4916 echo '#endif' >>confdefs.h
4920 ac_cpp
='$CXXCPP $CPPFLAGS'
4921 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4922 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4923 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4925 depcc
="$CXX" am_compiler_list
=
4927 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4928 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
4929 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
4930 echo $ECHO_N "(cached) $ECHO_C" >&6
4932 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4933 # We make a subdir and do the tests there. Otherwise we can end up
4934 # making bogus files that we don't know about and never remove. For
4935 # instance it was reported that on HP-UX the gcc test will end up
4936 # making a dummy file named `D' -- because `-MD' means `put the output
4939 # Copy depcomp to subdir because otherwise we won't find it if we're
4940 # using a relative directory.
4941 cp "$am_depcomp" conftest.dir
4943 # We will build objects and dependencies in a subdirectory because
4944 # it helps to detect inapplicable dependency modes. For instance
4945 # both Tru64's cc and ICC support -MD to output dependencies as a
4946 # side effect of compilation, but ICC will put the dependencies in
4947 # the current directory while Tru64 will put them in the object
4951 am_cv_CXX_dependencies_compiler_type
=none
4952 if test "$am_compiler_list" = ""; then
4953 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4955 for depmode
in $am_compiler_list; do
4956 # Setup a source with many dependencies, because some compilers
4957 # like to wrap large dependency lists on column 80 (with \), and
4958 # we should not choose a depcomp mode which is confused by this.
4960 # We need to recreate these files for each test, as the compiler may
4961 # overwrite some of them when testing with obscure command lines.
4962 # This happens at least with the AIX C compiler.
4964 for i
in 1 2 3 4 5 6; do
4965 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4966 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4967 # Solaris 8's {/usr,}/bin/sh.
4968 touch sub
/conftst
$i.h
4970 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4974 # after this tag, mechanisms are not by side-effect, so they'll
4975 # only be used when explicitly requested
4976 if test "x$enable_dependency_tracking" = xyes
; then
4984 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4985 # mode. It turns out that the SunPro C++ compiler does not properly
4986 # handle `-M -o', and we need to detect this.
4987 if depmode
=$depmode \
4988 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
4989 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4990 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
4991 >/dev
/null
2>conftest.err
&&
4992 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4993 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
4994 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4995 # icc doesn't choke on unknown options, it will just issue warnings
4996 # or remarks (even with -Werror). So we grep stderr for any message
4997 # that says an option was ignored or not supported.
4998 # When given -MP, icc 7.0 and 7.1 complain thusly:
4999 # icc: Command line warning: ignoring option '-M'; no argument required
5000 # The diagnosis changed in icc 8.0:
5001 # icc: Command line remark: option '-MP' not supported
5002 if (grep 'ignoring option' conftest.err ||
5003 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5004 am_cv_CXX_dependencies_compiler_type
=$depmode
5013 am_cv_CXX_dependencies_compiler_type
=none
5017 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5018 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
5019 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5024 test "x$enable_dependency_tracking" != xno \
5025 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5026 am__fastdepCXX_TRUE
=
5027 am__fastdepCXX_FALSE
='#'
5029 am__fastdepCXX_TRUE
='#'
5030 am__fastdepCXX_FALSE
=
5036 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5037 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5038 (test "X$CXX" != "Xg++"))) ; then
5040 ac_cpp
='$CXXCPP $CPPFLAGS'
5041 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5042 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5043 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5044 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5045 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
5046 if test -z "$CXXCPP"; then
5047 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5048 echo $ECHO_N "(cached) $ECHO_C" >&6
5050 # Double quotes because CXXCPP needs to be expanded
5051 for CXXCPP
in "$CXX -E" "/lib/cpp"
5054 for ac_cxx_preproc_warn_flag
in '' yes
5056 # Use a header file that comes with gcc, so configuring glibc
5057 # with a fresh cross-compiler works.
5058 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5059 # <limits.h> exists even on freestanding compilers.
5060 # On the NeXT, cc -E runs the code through the compiler's parser,
5061 # not just through cpp. "Syntax error" is here to catch this case.
5062 cat >conftest.
$ac_ext <<_ACEOF
5065 cat confdefs.h
>>conftest.
$ac_ext
5066 cat >>conftest.
$ac_ext <<_ACEOF
5067 /* end confdefs.h. */
5069 # include <limits.h>
5071 # include <assert.h>
5075 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5076 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5078 grep -v '^ *+' conftest.er1
>conftest.err
5080 cat conftest.err
>&5
5081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5082 (exit $ac_status); } >/dev
/null
; then
5083 if test -s conftest.err
; then
5084 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5085 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5092 if test -z "$ac_cpp_err"; then
5095 echo "$as_me: failed program was:" >&5
5096 sed 's/^/| /' conftest.
$ac_ext >&5
5098 # Broken: fails on valid input.
5101 rm -f conftest.err conftest.
$ac_ext
5103 # OK, works on sane cases. Now check whether non-existent headers
5104 # can be detected and how.
5105 cat >conftest.
$ac_ext <<_ACEOF
5108 cat confdefs.h
>>conftest.
$ac_ext
5109 cat >>conftest.
$ac_ext <<_ACEOF
5110 /* end confdefs.h. */
5111 #include <ac_nonexistent.h>
5113 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5114 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5116 grep -v '^ *+' conftest.er1
>conftest.err
5118 cat conftest.err
>&5
5119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5120 (exit $ac_status); } >/dev
/null
; then
5121 if test -s conftest.err
; then
5122 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5123 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5130 if test -z "$ac_cpp_err"; then
5131 # Broken: success on invalid input.
5134 echo "$as_me: failed program was:" >&5
5135 sed 's/^/| /' conftest.
$ac_ext >&5
5137 # Passes both tests.
5141 rm -f conftest.err conftest.
$ac_ext
5144 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5145 rm -f conftest.err conftest.
$ac_ext
5146 if $ac_preproc_ok; then
5151 ac_cv_prog_CXXCPP
=$CXXCPP
5154 CXXCPP
=$ac_cv_prog_CXXCPP
5156 ac_cv_prog_CXXCPP
=$CXXCPP
5158 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5159 echo "${ECHO_T}$CXXCPP" >&6
5161 for ac_cxx_preproc_warn_flag
in '' yes
5163 # Use a header file that comes with gcc, so configuring glibc
5164 # with a fresh cross-compiler works.
5165 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5166 # <limits.h> exists even on freestanding compilers.
5167 # On the NeXT, cc -E runs the code through the compiler's parser,
5168 # not just through cpp. "Syntax error" is here to catch this case.
5169 cat >conftest.
$ac_ext <<_ACEOF
5172 cat confdefs.h
>>conftest.
$ac_ext
5173 cat >>conftest.
$ac_ext <<_ACEOF
5174 /* end confdefs.h. */
5176 # include <limits.h>
5178 # include <assert.h>
5182 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5183 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5185 grep -v '^ *+' conftest.er1
>conftest.err
5187 cat conftest.err
>&5
5188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5189 (exit $ac_status); } >/dev
/null
; then
5190 if test -s conftest.err
; then
5191 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5192 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5199 if test -z "$ac_cpp_err"; then
5202 echo "$as_me: failed program was:" >&5
5203 sed 's/^/| /' conftest.
$ac_ext >&5
5205 # Broken: fails on valid input.
5208 rm -f conftest.err conftest.
$ac_ext
5210 # OK, works on sane cases. Now check whether non-existent headers
5211 # can be detected and how.
5212 cat >conftest.
$ac_ext <<_ACEOF
5215 cat confdefs.h
>>conftest.
$ac_ext
5216 cat >>conftest.
$ac_ext <<_ACEOF
5217 /* end confdefs.h. */
5218 #include <ac_nonexistent.h>
5220 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5221 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5223 grep -v '^ *+' conftest.er1
>conftest.err
5225 cat conftest.err
>&5
5226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5227 (exit $ac_status); } >/dev
/null
; then
5228 if test -s conftest.err
; then
5229 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5230 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5237 if test -z "$ac_cpp_err"; then
5238 # Broken: success on invalid input.
5241 echo "$as_me: failed program was:" >&5
5242 sed 's/^/| /' conftest.
$ac_ext >&5
5244 # Passes both tests.
5248 rm -f conftest.err conftest.
$ac_ext
5251 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5252 rm -f conftest.err conftest.
$ac_ext
5253 if $ac_preproc_ok; then
5256 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5257 See \`config.log' for more details." >&5
5258 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5259 See \`config.log' for more details." >&2;}
5260 { (exit 1); exit 1; }; }
5264 ac_cpp
='$CXXCPP $CPPFLAGS'
5265 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5266 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5267 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5273 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5274 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5275 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
5276 if test -n "$ac_tool_prefix"; then
5277 for ac_prog
in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
5279 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5280 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5281 echo "$as_me:$LINENO: checking for $ac_word" >&5
5282 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5283 if test "${ac_cv_prog_F77+set}" = set; then
5284 echo $ECHO_N "(cached) $ECHO_C" >&6
5286 if test -n "$F77"; then
5287 ac_cv_prog_F77
="$F77" # Let the user override the test.
5289 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5293 test -z "$as_dir" && as_dir
=.
5294 for ac_exec_ext
in '' $ac_executable_extensions; do
5295 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5296 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
5297 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5306 if test -n "$F77"; then
5307 echo "$as_me:$LINENO: result: $F77" >&5
5308 echo "${ECHO_T}$F77" >&6
5310 echo "$as_me:$LINENO: result: no" >&5
5311 echo "${ECHO_T}no" >&6
5314 test -n "$F77" && break
5317 if test -z "$F77"; then
5319 for ac_prog
in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
5321 # Extract the first word of "$ac_prog", so it can be a program name with args.
5322 set dummy
$ac_prog; ac_word
=$2
5323 echo "$as_me:$LINENO: checking for $ac_word" >&5
5324 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5325 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5326 echo $ECHO_N "(cached) $ECHO_C" >&6
5328 if test -n "$ac_ct_F77"; then
5329 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
5331 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5335 test -z "$as_dir" && as_dir
=.
5336 for ac_exec_ext
in '' $ac_executable_extensions; do
5337 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5338 ac_cv_prog_ac_ct_F77
="$ac_prog"
5339 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5347 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
5348 if test -n "$ac_ct_F77"; then
5349 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5350 echo "${ECHO_T}$ac_ct_F77" >&6
5352 echo "$as_me:$LINENO: result: no" >&5
5353 echo "${ECHO_T}no" >&6
5356 test -n "$ac_ct_F77" && break
5363 # Provide some information about the compiler.
5364 echo "$as_me:5364:" \
5365 "checking for Fortran 77 compiler version" >&5
5366 ac_compiler
=`set X $ac_compile; echo $2`
5367 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5368 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
5370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5371 (exit $ac_status); }
5372 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5373 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
5375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5376 (exit $ac_status); }
5377 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5378 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
5380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5381 (exit $ac_status); }
5384 # If we don't use `.F' as extension, the preprocessor is not run on the
5385 # input file. (Note that this only needs to work for GNU compilers.)
5388 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5389 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
5390 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5391 echo $ECHO_N "(cached) $ECHO_C" >&6
5393 cat >conftest.
$ac_ext <<_ACEOF
5401 rm -f conftest.
$ac_objext
5402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5403 (eval $ac_compile) 2>conftest.er1
5405 grep -v '^ *+' conftest.er1
>conftest.err
5407 cat conftest.err
>&5
5408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5409 (exit $ac_status); } &&
5410 { ac_try
='test -z "$ac_f77_werror_flag"
5411 || test ! -s conftest.err'
5412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5416 (exit $ac_status); }; } &&
5417 { ac_try
='test -s conftest.$ac_objext'
5418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5422 (exit $ac_status); }; }; then
5425 echo "$as_me: failed program was:" >&5
5426 sed 's/^/| /' conftest.
$ac_ext >&5
5430 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5431 ac_cv_f77_compiler_gnu
=$ac_compiler_gnu
5434 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5435 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
5437 ac_test_FFLAGS
=${FFLAGS+set}
5438 ac_save_FFLAGS
=$FFLAGS
5440 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5441 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
5442 if test "${ac_cv_prog_f77_g+set}" = set; then
5443 echo $ECHO_N "(cached) $ECHO_C" >&6
5446 cat >conftest.
$ac_ext <<_ACEOF
5451 rm -f conftest.
$ac_objext
5452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5453 (eval $ac_compile) 2>conftest.er1
5455 grep -v '^ *+' conftest.er1
>conftest.err
5457 cat conftest.err
>&5
5458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5459 (exit $ac_status); } &&
5460 { ac_try
='test -z "$ac_f77_werror_flag"
5461 || test ! -s conftest.err'
5462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5466 (exit $ac_status); }; } &&
5467 { ac_try
='test -s conftest.$ac_objext'
5468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5472 (exit $ac_status); }; }; then
5473 ac_cv_prog_f77_g
=yes
5475 echo "$as_me: failed program was:" >&5
5476 sed 's/^/| /' conftest.
$ac_ext >&5
5480 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5483 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5484 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
5485 if test "$ac_test_FFLAGS" = set; then
5486 FFLAGS
=$ac_save_FFLAGS
5487 elif test $ac_cv_prog_f77_g = yes; then
5488 if test "x$ac_cv_f77_compiler_gnu" = xyes
; then
5494 if test "x$ac_cv_f77_compiler_gnu" = xyes
; then
5501 G77
=`test $ac_compiler_gnu = yes && echo yes`
5503 ac_cpp
='$CPP $CPPFLAGS'
5504 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5505 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5506 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5510 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5512 # find the maximum length of command line arguments
5513 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5514 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5515 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5516 echo $ECHO_N "(cached) $ECHO_C" >&6
5523 # On DJGPP, this test can blow up pretty badly due to problems in libc
5524 # (any single argument exceeding 2000 bytes causes a buffer overrun
5525 # during glob expansion). Even if it were fixed, the result of this
5526 # check would be larger than it should be.
5527 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5531 # Under GNU Hurd, this test is not required because there is
5532 # no limit to the length of command line arguments.
5533 # Libtool will interpret -1 as no limit whatsoever
5534 lt_cv_sys_max_cmd_len
=-1;
5538 # On Win9x/ME, this test blows up -- it succeeds, but takes
5539 # about 5 minutes as the teststring grows exponentially.
5540 # Worse, since 9x/ME are not pre-emptively multitasking,
5541 # you end up with a "frozen" computer, even though with patience
5542 # the test eventually succeeds (with a max line length of 256k).
5543 # Instead, let's just punt: use the minimum linelength reported by
5544 # all of the supported platforms: 8192 (on NT/2K/XP).
5545 lt_cv_sys_max_cmd_len
=8192;
5549 # On AmigaOS with pdksh, this test takes hours, literally.
5550 # So we just punt and use a minimum line length of 8192.
5551 lt_cv_sys_max_cmd_len
=8192;
5554 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5555 # This has been around since 386BSD, at least. Likely further.
5556 if test -x /sbin
/sysctl
; then
5557 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5558 elif test -x /usr
/sbin
/sysctl
; then
5559 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5561 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5563 # And add a safety zone
5564 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5565 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5569 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5570 lt_cv_sys_max_cmd_len
=196608
5574 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5575 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5576 # nice to cause kernel panics so lets avoid the loop below.
5577 # First set a reasonable default.
5578 lt_cv_sys_max_cmd_len
=16384
5580 if test -x /sbin
/sysconfig
; then
5581 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5582 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5587 lt_cv_sys_max_cmd_len
=102400
5589 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5590 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5591 if test -n "$kargmax"; then
5592 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5594 lt_cv_sys_max_cmd_len
=32768
5598 # If test is not a shell built-in, we'll probably end up computing a
5599 # maximum length that is only half of the actual maximum length, but
5601 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5602 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
5603 = "XX$teststring") >/dev
/null
2>&1 &&
5604 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
5605 lt_cv_sys_max_cmd_len
=$new_result &&
5606 test $i != 17 # 1/2 MB should be enough
5609 teststring
=$teststring$teststring
5612 # Add a significant safety factor because C++ compilers can tack on massive
5613 # amounts of additional arguments before passing them to the linker.
5614 # It appears as though 1/2 is a usable value.
5615 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5621 if test -n $lt_cv_sys_max_cmd_len ; then
5622 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5623 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5625 echo "$as_me:$LINENO: result: none" >&5
5626 echo "${ECHO_T}none" >&6
5632 # Check for command to grab the raw symbol name followed by C symbol from nm.
5633 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5634 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5635 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5636 echo $ECHO_N "(cached) $ECHO_C" >&6
5639 # These are sane defaults that work on at least a few old systems.
5640 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5642 # Character class describing NM global symbol codes.
5643 symcode
='[BCDEGRST]'
5645 # Regexp to match symbols that can be accessed directly from C.
5646 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
5648 # Transform an extracted symbol line into a proper C declaration
5649 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5651 # Transform an extracted symbol line into symbol name and symbol address
5652 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'"
5654 # Define system-specific variables.
5659 cygwin
* | mingw
* | pw32
*)
5660 symcode
='[ABCDGISTW]'
5662 hpux
*) # Its linker distinguishes data from code symbols
5663 if test "$host_cpu" = ia64
; then
5664 symcode
='[ABCDEGRST]'
5666 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5667 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'"
5670 if test "$host_cpu" = ia64
; then
5671 symcode
='[ABCDGIRSTW]'
5672 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5673 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'"
5677 symcode
='[BCDEGRST]'
5680 symcode
='[BCDEGQRST]'
5691 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
5699 # Handle CRLF in mingw tool chain
5703 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5707 # If we're using GNU nm, then use its standard symbol codes.
5708 case `$NM -V 2>&1` in
5709 *GNU
* |
*'with BFD'*)
5710 symcode
='[ABCDGIRSTW]' ;;
5713 # Try without a prefix undercore, then with it.
5714 for ac_symprfx
in "" "_"; do
5716 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5717 symxfrm
="\\1 $ac_symprfx\\2 \\2"
5719 # Write the raw and C identifiers.
5720 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5722 # Check to see that the pipe works correctly.
5726 cat > conftest.
$ac_ext <<EOF
5731 void nm_test_func(){}
5735 int main(){nm_test_var='a';nm_test_func();return(0);}
5738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5739 (eval $ac_compile) 2>&5
5741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5742 (exit $ac_status); }; then
5743 # Now try to grab the symbols.
5745 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5746 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
5748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5749 (exit $ac_status); } && test -s "$nlist"; then
5750 # Try sorting and uniquifying the output.
5751 if sort "$nlist" |
uniq > "$nlist"T
; then
5752 mv -f "$nlist"T
"$nlist"
5757 # Make sure that we snagged all the symbols we need.
5758 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
5759 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
5760 cat <<EOF > conftest.$ac_ext
5766 # Now generate the symbol file.
5767 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
5769 cat <<EOF >> conftest.$ac_ext
5770 #if defined (__STDC__) && __STDC__
5771 # define lt_ptr_t void *
5773 # define lt_ptr_t char *
5777 /* The mapping between symbol names and symbols. */
5782 lt_preloaded_symbols[] =
5785 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
5786 cat <<\EOF
>> conftest.
$ac_ext
5794 # Now try linking the two files.
5795 mv conftest.
$ac_objext conftstm.
$ac_objext
5796 lt_save_LIBS
="$LIBS"
5797 lt_save_CFLAGS
="$CFLAGS"
5798 LIBS
="conftstm.$ac_objext"
5799 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5801 (eval $ac_link) 2>&5
5803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5804 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
5807 LIBS
="$lt_save_LIBS"
5808 CFLAGS
="$lt_save_CFLAGS"
5810 echo "cannot find nm_test_func in $nlist" >&5
5813 echo "cannot find nm_test_var in $nlist" >&5
5816 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5819 echo "$progname: failed program was:" >&5
5820 cat conftest.
$ac_ext >&5
5822 rm -f conftest
* conftst
*
5824 # Do not use the global_symbol_pipe unless it works.
5825 if test "$pipe_works" = yes; then
5828 lt_cv_sys_global_symbol_pipe
=
5834 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5835 lt_cv_sys_global_symbol_to_cdecl
=
5837 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5838 echo "$as_me:$LINENO: result: failed" >&5
5839 echo "${ECHO_T}failed" >&6
5841 echo "$as_me:$LINENO: result: ok" >&5
5842 echo "${ECHO_T}ok" >&6
5845 echo "$as_me:$LINENO: checking for objdir" >&5
5846 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
5847 if test "${lt_cv_objdir+set}" = set; then
5848 echo $ECHO_N "(cached) $ECHO_C" >&6
5850 rm -f .libs
2>/dev
/null
5851 mkdir .libs
2>/dev
/null
5852 if test -d .libs
; then
5855 # MS-DOS does not allow filenames that begin with a dot.
5858 rmdir .libs
2>/dev
/null
5860 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5861 echo "${ECHO_T}$lt_cv_objdir" >&6
5862 objdir
=$lt_cv_objdir
5870 # AIX sometimes has problems with the GCC collect2 program. For some
5871 # reason, if we set the COLLECT_NAMES environment variable, the problems
5872 # vanish in a puff of smoke.
5873 if test "X${COLLECT_NAMES+set}" != Xset
; then
5875 export COLLECT_NAMES
5880 # Sed substitution that helps us do robust quoting. It backslashifies
5881 # metacharacters that are still active within double-quoted strings.
5882 Xsed
='sed -e 1s/^X//'
5883 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
5885 # Same as above, but do not quote variable references.
5886 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
5888 # Sed substitution to delay expansion of an escaped shell variable in a
5889 # double_quote_subst'ed string.
5890 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5892 # Sed substitution to avoid accidental globbing in evaled expressions
5893 no_glob_subst
='s/\*/\\\*/g'
5899 default_ofile
=libtool
5900 can_build_shared
=yes
5902 # All known linkers require a `.a' archive for static linking (except MSVC,
5903 # which needs '.lib').
5905 ltmain
="$ac_aux_dir/ltmain.sh"
5906 ofile
="$default_ofile"
5907 with_gnu_ld
="$lt_cv_prog_gnu_ld"
5909 if test -n "$ac_tool_prefix"; then
5910 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5911 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5912 echo "$as_me:$LINENO: checking for $ac_word" >&5
5913 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5914 if test "${ac_cv_prog_AR+set}" = set; then
5915 echo $ECHO_N "(cached) $ECHO_C" >&6
5917 if test -n "$AR"; then
5918 ac_cv_prog_AR
="$AR" # Let the user override the test.
5920 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5924 test -z "$as_dir" && as_dir
=.
5925 for ac_exec_ext
in '' $ac_executable_extensions; do
5926 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5927 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5928 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5937 if test -n "$AR"; then
5938 echo "$as_me:$LINENO: result: $AR" >&5
5939 echo "${ECHO_T}$AR" >&6
5941 echo "$as_me:$LINENO: result: no" >&5
5942 echo "${ECHO_T}no" >&6
5946 if test -z "$ac_cv_prog_AR"; then
5948 # Extract the first word of "ar", so it can be a program name with args.
5949 set dummy
ar; ac_word
=$2
5950 echo "$as_me:$LINENO: checking for $ac_word" >&5
5951 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5952 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5953 echo $ECHO_N "(cached) $ECHO_C" >&6
5955 if test -n "$ac_ct_AR"; then
5956 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5958 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5962 test -z "$as_dir" && as_dir
=.
5963 for ac_exec_ext
in '' $ac_executable_extensions; do
5964 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5965 ac_cv_prog_ac_ct_AR
="ar"
5966 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5972 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="false"
5975 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5976 if test -n "$ac_ct_AR"; then
5977 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5978 echo "${ECHO_T}$ac_ct_AR" >&6
5980 echo "$as_me:$LINENO: result: no" >&5
5981 echo "${ECHO_T}no" >&6
5989 if test -n "$ac_tool_prefix"; then
5990 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5991 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5992 echo "$as_me:$LINENO: checking for $ac_word" >&5
5993 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5994 if test "${ac_cv_prog_RANLIB+set}" = set; then
5995 echo $ECHO_N "(cached) $ECHO_C" >&6
5997 if test -n "$RANLIB"; then
5998 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6000 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6004 test -z "$as_dir" && as_dir
=.
6005 for ac_exec_ext
in '' $ac_executable_extensions; do
6006 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6007 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6008 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6016 RANLIB
=$ac_cv_prog_RANLIB
6017 if test -n "$RANLIB"; then
6018 echo "$as_me:$LINENO: result: $RANLIB" >&5
6019 echo "${ECHO_T}$RANLIB" >&6
6021 echo "$as_me:$LINENO: result: no" >&5
6022 echo "${ECHO_T}no" >&6
6026 if test -z "$ac_cv_prog_RANLIB"; then
6027 ac_ct_RANLIB
=$RANLIB
6028 # Extract the first word of "ranlib", so it can be a program name with args.
6029 set dummy ranlib
; ac_word
=$2
6030 echo "$as_me:$LINENO: checking for $ac_word" >&5
6031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6032 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6033 echo $ECHO_N "(cached) $ECHO_C" >&6
6035 if test -n "$ac_ct_RANLIB"; then
6036 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6038 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6042 test -z "$as_dir" && as_dir
=.
6043 for ac_exec_ext
in '' $ac_executable_extensions; do
6044 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6045 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6046 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6052 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
6055 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6056 if test -n "$ac_ct_RANLIB"; then
6057 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6058 echo "${ECHO_T}$ac_ct_RANLIB" >&6
6060 echo "$as_me:$LINENO: result: no" >&5
6061 echo "${ECHO_T}no" >&6
6064 RANLIB
=$ac_ct_RANLIB
6066 RANLIB
="$ac_cv_prog_RANLIB"
6069 if test -n "$ac_tool_prefix"; then
6070 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6071 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6072 echo "$as_me:$LINENO: checking for $ac_word" >&5
6073 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6074 if test "${ac_cv_prog_STRIP+set}" = set; then
6075 echo $ECHO_N "(cached) $ECHO_C" >&6
6077 if test -n "$STRIP"; then
6078 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6080 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6084 test -z "$as_dir" && as_dir
=.
6085 for ac_exec_ext
in '' $ac_executable_extensions; do
6086 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6087 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6088 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6096 STRIP
=$ac_cv_prog_STRIP
6097 if test -n "$STRIP"; then
6098 echo "$as_me:$LINENO: result: $STRIP" >&5
6099 echo "${ECHO_T}$STRIP" >&6
6101 echo "$as_me:$LINENO: result: no" >&5
6102 echo "${ECHO_T}no" >&6
6106 if test -z "$ac_cv_prog_STRIP"; then
6108 # Extract the first word of "strip", so it can be a program name with args.
6109 set dummy strip
; ac_word
=$2
6110 echo "$as_me:$LINENO: checking for $ac_word" >&5
6111 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6112 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6113 echo $ECHO_N "(cached) $ECHO_C" >&6
6115 if test -n "$ac_ct_STRIP"; then
6116 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6118 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6122 test -z "$as_dir" && as_dir
=.
6123 for ac_exec_ext
in '' $ac_executable_extensions; do
6124 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6125 ac_cv_prog_ac_ct_STRIP
="strip"
6126 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6132 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
6135 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6136 if test -n "$ac_ct_STRIP"; then
6137 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6138 echo "${ECHO_T}$ac_ct_STRIP" >&6
6140 echo "$as_me:$LINENO: result: no" >&5
6141 echo "${ECHO_T}no" >&6
6146 STRIP
="$ac_cv_prog_STRIP"
6151 old_CFLAGS
="$CFLAGS"
6153 # Set sane defaults for various variables
6154 test -z "$AR" && AR
=ar
6155 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6156 test -z "$AS" && AS
=as
6157 test -z "$CC" && CC
=cc
6158 test -z "$LTCC" && LTCC
=$CC
6159 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
6160 test -z "$DLLTOOL" && DLLTOOL
=dlltool
6161 test -z "$LD" && LD
=ld
6162 test -z "$LN_S" && LN_S
="ln -s"
6163 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6164 test -z "$NM" && NM
=nm
6165 test -z "$SED" && SED
=sed
6166 test -z "$OBJDUMP" && OBJDUMP
=objdump
6167 test -z "$RANLIB" && RANLIB
=:
6168 test -z "$STRIP" && STRIP
=:
6169 test -z "$ac_objext" && ac_objext
=o
6171 # Determine commands to create old-style static archives.
6172 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
6173 old_postinstall_cmds
='chmod 644 $oldlib'
6174 old_postuninstall_cmds
=
6176 if test -n "$RANLIB"; then
6179 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6182 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
6185 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6188 for cc_temp
in $compiler""; do
6190 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
6191 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
6196 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6199 # Only perform the check for file, if the check method requires it
6200 case $deplibs_check_method in
6202 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6203 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6204 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6205 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6206 echo $ECHO_N "(cached) $ECHO_C" >&6
6210 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6213 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6214 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6215 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6216 for ac_dir
in $ac_dummy; do
6218 test -z "$ac_dir" && ac_dir
=.
6219 if test -f $ac_dir/${ac_tool_prefix}file; then
6220 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6221 if test -n "$file_magic_test_file"; then
6222 case $deplibs_check_method in
6224 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6225 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6226 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6227 $EGREP "$file_magic_regex" > /dev
/null
; then
6232 *** Warning: the command libtool uses to detect shared libraries,
6233 *** $file_magic_cmd, produces output that libtool cannot recognize.
6234 *** The result is that libtool may fail to recognize shared libraries
6235 *** as such. This will affect the creation of libtool libraries that
6236 *** depend on shared libraries, but programs linked with such libtool
6237 *** libraries will work regardless of this problem. Nevertheless, you
6238 *** may want to report the problem to your system manager and/or to
6239 *** bug-libtool@gnu.org
6249 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6254 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6255 if test -n "$MAGIC_CMD"; then
6256 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6257 echo "${ECHO_T}$MAGIC_CMD" >&6
6259 echo "$as_me:$LINENO: result: no" >&5
6260 echo "${ECHO_T}no" >&6
6263 if test -z "$lt_cv_path_MAGIC_CMD"; then
6264 if test -n "$ac_tool_prefix"; then
6265 echo "$as_me:$LINENO: checking for file" >&5
6266 echo $ECHO_N "checking for file... $ECHO_C" >&6
6267 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6268 echo $ECHO_N "(cached) $ECHO_C" >&6
6272 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6275 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6276 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6277 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6278 for ac_dir
in $ac_dummy; do
6280 test -z "$ac_dir" && ac_dir
=.
6281 if test -f $ac_dir/file; then
6282 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
6283 if test -n "$file_magic_test_file"; then
6284 case $deplibs_check_method in
6286 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6287 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6288 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6289 $EGREP "$file_magic_regex" > /dev
/null
; then
6294 *** Warning: the command libtool uses to detect shared libraries,
6295 *** $file_magic_cmd, produces output that libtool cannot recognize.
6296 *** The result is that libtool may fail to recognize shared libraries
6297 *** as such. This will affect the creation of libtool libraries that
6298 *** depend on shared libraries, but programs linked with such libtool
6299 *** libraries will work regardless of this problem. Nevertheless, you
6300 *** may want to report the problem to your system manager and/or to
6301 *** bug-libtool@gnu.org
6311 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6316 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6317 if test -n "$MAGIC_CMD"; then
6318 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6319 echo "${ECHO_T}$MAGIC_CMD" >&6
6321 echo "$as_me:$LINENO: result: no" >&5
6322 echo "${ECHO_T}no" >&6
6337 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6338 if test "${enable_libtool_lock+set}" = set; then
6339 enableval
="$enable_libtool_lock"
6342 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6345 # Check whether --with-pic or --without-pic was given.
6346 if test "${with_pic+set}" = set; then
6352 test -z "$pic_mode" && pic_mode
=default
6354 # Use C for the default configuration in the libtool script
6358 ac_cpp
='$CPP $CPPFLAGS'
6359 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6360 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6361 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6364 # Source file extension for C test sources.
6367 # Object file extension for compiled C test sources.
6371 # Code to be used in simple compile tests
6372 lt_simple_compile_test_code
="int some_variable = 0;\n"
6374 # Code to be used in simple link tests
6375 lt_simple_link_test_code
='int main(){return(0);}\n'
6378 # If no C compiler was specified, use CC.
6381 # If no C compiler flags were specified, use CFLAGS.
6382 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
6384 # Allow CC to be a program name with arguments.
6388 # save warnings/boilerplate of simple test code
6389 ac_outfile
=conftest.
$ac_objext
6390 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
6391 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
6392 _lt_compiler_boilerplate
=`cat conftest.err`
6395 ac_outfile
=conftest.
$ac_objext
6396 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
6397 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
6398 _lt_linker_boilerplate
=`cat conftest.err`
6403 lt_prog_compiler_no_builtin_flag
=
6405 if test "$GCC" = yes; then
6406 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
6409 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6410 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6411 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6412 echo $ECHO_N "(cached) $ECHO_C" >&6
6414 lt_cv_prog_compiler_rtti_exceptions
=no
6415 ac_outfile
=conftest.
$ac_objext
6416 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6417 lt_compiler_flag
="-fno-rtti -fno-exceptions"
6418 # Insert the option either (1) after the last *FLAGS variable, or
6419 # (2) before a word containing "conftest.", or (3) at the end.
6420 # Note that $ac_compile itself does not contain backslashes and begins
6421 # with a dollar sign (not a hyphen), so the echo should work correctly.
6422 # The option is referenced via a variable to avoid confusing sed.
6423 lt_compile
=`echo "$ac_compile" | $SED \
6424 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6425 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6426 -e 's:$: $lt_compiler_flag:'`
6427 (eval echo "\"\$as_me:6427: $lt_compile\"" >&5)
6428 (eval "$lt_compile" 2>conftest.err
)
6430 cat conftest.err
>&5
6431 echo "$as_me:6431: \$? = $ac_status" >&5
6432 if (exit $ac_status) && test -s "$ac_outfile"; then
6433 # The compiler can only warn and ignore the option if not recognized
6434 # So say no if there are warnings other than the usual output.
6435 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
6436 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
6437 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
6438 lt_cv_prog_compiler_rtti_exceptions
=yes
6444 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6445 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6447 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
6448 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6455 lt_prog_compiler_wl
=
6456 lt_prog_compiler_pic
=
6457 lt_prog_compiler_static
=
6459 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6460 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6462 if test "$GCC" = yes; then
6463 lt_prog_compiler_wl
='-Wl,'
6464 lt_prog_compiler_static
='-static'
6468 # All AIX code is PIC.
6469 if test "$host_cpu" = ia64
; then
6470 # AIX 5 now supports IA64 processor
6471 lt_prog_compiler_static
='-Bstatic'
6476 # FIXME: we need at least 68020 code to build shared libraries, but
6477 # adding the `-m68020' flag to GCC prevents building anything better,
6479 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
6482 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
6483 # PIC is the default for these OSes.
6486 mingw
* | pw32
* | os2
*)
6487 # This hack is so that the source file can tell whether it is being
6488 # built for inclusion in a dll (and should export symbols for example).
6489 lt_prog_compiler_pic
='-DDLL_EXPORT'
6492 darwin
* | rhapsody
*)
6493 # PIC is the default on this platform
6494 # Common symbols not allowed in MH_DYLIB files
6495 lt_prog_compiler_pic
='-fno-common'
6499 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6500 # Instead, we relocate shared libraries at runtime.
6504 # Just because we use GCC doesn't mean we suddenly get shared libraries
6505 # on systems that don't support them.
6506 lt_prog_compiler_can_build_shared
=no
6511 if test -d /usr
/nec
; then
6512 lt_prog_compiler_pic
=-Kconform_pic
6517 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6524 lt_prog_compiler_pic
='-fPIC'
6530 lt_prog_compiler_pic
='-fPIC'
6534 # PORTME Check for flag to pass linker flags through the system compiler.
6537 lt_prog_compiler_wl
='-Wl,'
6538 if test "$host_cpu" = ia64
; then
6539 # AIX 5 now supports IA64 processor
6540 lt_prog_compiler_static
='-Bstatic'
6542 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
6546 # PIC is the default on this platform
6547 # Common symbols not allowed in MH_DYLIB files
6548 case $cc_basename in
6550 lt_prog_compiler_pic
='-qnocommon'
6551 lt_prog_compiler_wl
='-Wl,'
6556 mingw
* | pw32
* | os2
*)
6557 # This hack is so that the source file can tell whether it is being
6558 # built for inclusion in a dll (and should export symbols for example).
6559 lt_prog_compiler_pic
='-DDLL_EXPORT'
6562 hpux9
* | hpux10
* | hpux11
*)
6563 lt_prog_compiler_wl
='-Wl,'
6564 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6571 lt_prog_compiler_pic
='+Z'
6574 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6575 lt_prog_compiler_static
='${wl}-a ${wl}archive'
6578 irix5
* | irix6
* | nonstopux
*)
6579 lt_prog_compiler_wl
='-Wl,'
6580 # PIC (with -KPIC) is the default.
6581 lt_prog_compiler_static
='-non_shared'
6585 lt_prog_compiler_pic
='-KPIC'
6586 lt_prog_compiler_static
='-Bstatic'
6590 case $cc_basename in
6592 lt_prog_compiler_wl
='-Wl,'
6593 lt_prog_compiler_pic
='-KPIC'
6594 lt_prog_compiler_static
='-static'
6596 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
6597 # Portland Group compilers (*not* the Pentium gcc compiler,
6598 # which looks to be a dead project)
6599 lt_prog_compiler_wl
='-Wl,'
6600 lt_prog_compiler_pic
='-fpic'
6601 lt_prog_compiler_static
='-Bstatic'
6604 lt_prog_compiler_wl
='-Wl,'
6605 # All Alpha code is PIC.
6606 lt_prog_compiler_static
='-non_shared'
6611 osf3
* | osf4
* | osf5
*)
6612 lt_prog_compiler_wl
='-Wl,'
6613 # All OSF/1 code is PIC.
6614 lt_prog_compiler_static
='-non_shared'
6618 lt_prog_compiler_pic
='-KPIC'
6619 lt_prog_compiler_static
='-Bstatic'
6620 case $cc_basename in
6622 lt_prog_compiler_wl
='-Qoption ld ';;
6624 lt_prog_compiler_wl
='-Wl,';;
6629 lt_prog_compiler_wl
='-Qoption ld '
6630 lt_prog_compiler_pic
='-PIC'
6631 lt_prog_compiler_static
='-Bstatic'
6634 sysv4 | sysv4.2uw2
* | sysv4.3
*)
6635 lt_prog_compiler_wl
='-Wl,'
6636 lt_prog_compiler_pic
='-KPIC'
6637 lt_prog_compiler_static
='-Bstatic'
6641 if test -d /usr
/nec
;then
6642 lt_prog_compiler_pic
='-Kconform_pic'
6643 lt_prog_compiler_static
='-Bstatic'
6647 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
6648 lt_prog_compiler_wl
='-Wl,'
6649 lt_prog_compiler_pic
='-KPIC'
6650 lt_prog_compiler_static
='-Bstatic'
6654 lt_prog_compiler_wl
='-Wl,'
6655 lt_prog_compiler_can_build_shared
=no
6659 lt_prog_compiler_pic
='-pic'
6660 lt_prog_compiler_static
='-Bstatic'
6664 lt_prog_compiler_can_build_shared
=no
6669 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6670 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6673 # Check to make sure the PIC flag actually works.
6675 if test -n "$lt_prog_compiler_pic"; then
6677 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6678 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6679 if test "${lt_prog_compiler_pic_works+set}" = set; then
6680 echo $ECHO_N "(cached) $ECHO_C" >&6
6682 lt_prog_compiler_pic_works
=no
6683 ac_outfile
=conftest.
$ac_objext
6684 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6685 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
6686 # Insert the option either (1) after the last *FLAGS variable, or
6687 # (2) before a word containing "conftest.", or (3) at the end.
6688 # Note that $ac_compile itself does not contain backslashes and begins
6689 # with a dollar sign (not a hyphen), so the echo should work correctly.
6690 # The option is referenced via a variable to avoid confusing sed.
6691 lt_compile
=`echo "$ac_compile" | $SED \
6692 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6693 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6694 -e 's:$: $lt_compiler_flag:'`
6695 (eval echo "\"\$as_me:6695: $lt_compile\"" >&5)
6696 (eval "$lt_compile" 2>conftest.err
)
6698 cat conftest.err
>&5
6699 echo "$as_me:6699: \$? = $ac_status" >&5
6700 if (exit $ac_status) && test -s "$ac_outfile"; then
6701 # The compiler can only warn and ignore the option if not recognized
6702 # So say no if there are warnings other than the usual output.
6703 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
6704 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
6705 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
6706 lt_prog_compiler_pic_works
=yes
6712 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6713 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6715 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
6716 case $lt_prog_compiler_pic in
6718 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
6721 lt_prog_compiler_pic
=
6722 lt_prog_compiler_can_build_shared
=no
6727 # For platforms which do not support PIC, -DPIC is meaningless:
6729 lt_prog_compiler_pic
=
6732 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
6737 # Check to make sure the static flag actually works.
6739 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
6740 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
6741 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
6742 if test "${lt_prog_compiler_static_works+set}" = set; then
6743 echo $ECHO_N "(cached) $ECHO_C" >&6
6745 lt_prog_compiler_static_works
=no
6746 save_LDFLAGS
="$LDFLAGS"
6747 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
6748 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
6749 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
6750 # The linker can only warn and ignore the option if not recognized
6751 # So say no if there are warnings
6752 if test -s conftest.err
; then
6753 # Append any errors to the config.log.
6754 cat conftest.err
1>&5
6755 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
6756 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
6757 if diff conftest.exp conftest.er2
>/dev
/null
; then
6758 lt_prog_compiler_static_works
=yes
6761 lt_prog_compiler_static_works
=yes
6765 LDFLAGS
="$save_LDFLAGS"
6768 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6769 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6771 if test x
"$lt_prog_compiler_static_works" = xyes
; then
6774 lt_prog_compiler_static
=
6778 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6779 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6780 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6781 echo $ECHO_N "(cached) $ECHO_C" >&6
6783 lt_cv_prog_compiler_c_o
=no
6784 $rm -r conftest
2>/dev
/null
6788 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6790 lt_compiler_flag
="-o out/conftest2.$ac_objext"
6791 # Insert the option either (1) after the last *FLAGS variable, or
6792 # (2) before a word containing "conftest.", or (3) at the end.
6793 # Note that $ac_compile itself does not contain backslashes and begins
6794 # with a dollar sign (not a hyphen), so the echo should work correctly.
6795 lt_compile
=`echo "$ac_compile" | $SED \
6796 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6797 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6798 -e 's:$: $lt_compiler_flag:'`
6799 (eval echo "\"\$as_me:6799: $lt_compile\"" >&5)
6800 (eval "$lt_compile" 2>out
/conftest.err
)
6802 cat out
/conftest.err
>&5
6803 echo "$as_me:6803: \$? = $ac_status" >&5
6804 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
6806 # The compiler can only warn and ignore the option if not recognized
6807 # So say no if there are warnings
6808 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
6809 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
6810 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
6811 lt_cv_prog_compiler_c_o
=yes
6816 # SGI C++ compiler will create directory out/ii_files/ for
6817 # template instantiation
6818 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
6819 $rm out
/* && rmdir out
6825 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6826 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6829 hard_links
="nottested"
6830 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
6831 # do not overwrite the value of need_locks provided by the user
6832 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6833 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
6836 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
6838 ln conftest.a conftest.b
2>&5 || hard_links
=no
6839 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
6840 echo "$as_me:$LINENO: result: $hard_links" >&5
6841 echo "${ECHO_T}$hard_links" >&6
6842 if test "$hard_links" = no
; then
6843 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6844 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6851 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6852 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
6855 allow_undefined_flag
=
6856 enable_shared_with_static_runtimes
=no
6858 archive_expsym_cmds
=
6859 old_archive_From_new_cmds
=
6860 old_archive_from_expsyms_cmds
=
6861 export_dynamic_flag_spec
=
6862 whole_archive_flag_spec
=
6863 thread_safe_flag_spec
=
6864 hardcode_libdir_flag_spec
=
6865 hardcode_libdir_flag_spec_ld
=
6866 hardcode_libdir_separator
=
6869 hardcode_shlibpath_var
=unsupported
6870 link_all_deplibs
=unknown
6871 hardcode_automatic
=no
6874 always_export_symbols
=no
6875 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6876 # include_expsyms should be a list of space-separated symbols to be *always*
6877 # included in the symbol list
6879 # exclude_expsyms can be an extended regexp of symbols to exclude
6880 # it will be wrapped by ` (' and `)$', so one must not match beginning or
6881 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6882 # as well as any symbol that contains `d'.
6883 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
6884 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6885 # platforms (ab)use it in PIC code, but their linkers get confused if
6886 # the symbol is explicitly referenced. Since portable code cannot
6887 # rely on this symbol name, it's probably fine to never include it in
6888 # preloaded symbol tables.
6889 extract_expsyms_cmds
=
6890 # Just being paranoid about ensuring that cc_basename is set.
6891 for cc_temp
in $compiler""; do
6893 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
6894 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
6899 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6902 cygwin
* | mingw
* | pw32
*)
6903 # FIXME: the MSVC++ port hasn't been tested in a loooong time
6904 # When not using gcc, we currently assume that we are using
6905 # Microsoft Visual C++.
6906 if test "$GCC" != yes; then
6911 # we just hope/assume this is gcc and not c89 (= MSVC++)
6920 if test "$with_gnu_ld" = yes; then
6921 # If archive_cmds runs LD, not CC, wlarc should be empty
6924 # Set some defaults for GNU ld with shared library support. These
6925 # are reset later if shared libraries are not supported. Putting them
6926 # here allows them to be overridden if necessary.
6927 runpath_var
=LD_RUN_PATH
6928 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
6929 export_dynamic_flag_spec
='${wl}--export-dynamic'
6930 # ancient GNU ld didn't support --whole-archive et. al.
6931 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
6932 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6934 whole_archive_flag_spec
=
6936 supports_anon_versioning
=no
6937 case `$LD -v 2>/dev/null` in
6938 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
6939 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
6940 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
6941 *\
2.11.
*) ;; # other 2.11 versions
6942 *) supports_anon_versioning
=yes ;;
6945 # See if GNU ld supports shared libraries.
6947 aix3
* | aix4
* | aix5
*)
6948 # On AIX/PPC, the GNU linker is very broken
6949 if test "$host_cpu" != ia64
; then
6953 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
6954 *** to be unable to reliably create shared libraries on AIX.
6955 *** Therefore, libtool is disabling shared libraries support. If you
6956 *** really care for shared libraries, you may want to modify your PATH
6957 *** so that a non-GNU linker is found, and then restart.
6964 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)'
6965 hardcode_libdir_flag_spec
='-L$libdir'
6966 hardcode_minus_L
=yes
6968 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
6969 # that the semantics of dynamic libraries on AmigaOS, at least up
6970 # to version 4, is to share data among multiple programs linked
6971 # with the same dynamic library. Since this doesn't match the
6972 # behavior of shared libraries on other platforms, we can't use
6978 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
6979 allow_undefined_flag
=unsupported
6980 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
6981 # support --undefined. This deserves some investigation. FIXME
6982 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6988 cygwin
* | mingw
* | pw32
*)
6989 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
6990 # as there is no search path for DLLs.
6991 hardcode_libdir_flag_spec
='-L$libdir'
6992 allow_undefined_flag
=unsupported
6993 always_export_symbols
=no
6994 enable_shared_with_static_runtimes
=yes
6995 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
6997 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
6998 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
6999 # If the export-symbols file already is a .def file (1st line
7000 # is EXPORTS), use it as is; otherwise, prepend...
7001 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7002 cp $export_symbols $output_objdir/$soname.def;
7004 echo EXPORTS > $output_objdir/$soname.def;
7005 cat $export_symbols >> $output_objdir/$soname.def;
7007 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7015 hardcode_shlibpath_var
=no
7016 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7017 export_dynamic_flag_spec
='${wl}-E'
7018 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7019 # Instead, shared libraries are loaded at an image base (0x10000000 by
7020 # default) and relocated if they conflict, which is a slow very memory
7021 # consuming and fragmenting process. To avoid this, we pick a random,
7022 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7023 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7024 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7025 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'
7029 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7031 case $cc_basename,$host_cpu in
7032 pgcc
*) # Portland Group C compiler
7033 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'
7034 tmp_addflag
=' $pic_flag'
7036 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7037 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'
7038 tmp_addflag
=' $pic_flag -Mnomain' ;;
7039 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7040 tmp_addflag
=' -i_dynamic' ;;
7041 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7042 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7043 ifc
* | ifort
*) # Intel Fortran compiler
7044 tmp_addflag
=' -nofor_main' ;;
7046 archive_cmds
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7048 if test $supports_anon_versioning = yes; then
7049 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
7050 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7051 $echo "local: *; };" >> $output_objdir/$libname.ver~
7052 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7060 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7061 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7064 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7065 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7070 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
7074 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7075 *** create shared libraries on Solaris systems. Therefore, libtool
7076 *** is disabling shared libraries support. We urge you to upgrade GNU
7077 *** binutils to release 2.9.1 or newer. Another option is to modify
7078 *** your PATH or compiler configuration so that the native linker is
7079 *** used, and then restart.
7082 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7083 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7084 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7090 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7091 case `$LD -v 2>&1` in
7092 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
7096 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7097 *** reliably create shared libraries on SCO systems. Therefore, libtool
7098 *** is disabling shared libraries support. We urge you to upgrade GNU
7099 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7100 *** your PATH or compiler configuration so that the native linker is
7101 *** used, and then restart.
7106 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7107 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
7108 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
7109 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
7118 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7121 hardcode_shlibpath_var
=no
7125 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7126 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7127 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7134 if test "$ld_shlibs" = no
; then
7136 hardcode_libdir_flag_spec
=
7137 export_dynamic_flag_spec
=
7138 whole_archive_flag_spec
=
7141 # PORTME fill in a description of your system's linker (not GNU ld)
7144 allow_undefined_flag
=unsupported
7145 always_export_symbols
=yes
7146 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'
7147 # Note: this linker hardcodes the directories in LIBPATH if there
7148 # are no directories specified by -L.
7149 hardcode_minus_L
=yes
7150 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7151 # Neither direct hardcoding nor static linking is supported with a
7153 hardcode_direct
=unsupported
7158 if test "$host_cpu" = ia64
; then
7159 # On IA64, the linker does run time linking by default, so we don't
7160 # have to do anything special.
7161 aix_use_runtimelinking
=no
7162 exp_sym_flag
='-Bexport'
7165 # If we're using GNU nm, then we don't want the "-C" option.
7166 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7167 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
7168 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'
7170 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'
7172 aix_use_runtimelinking
=no
7174 # Test if we are trying to use run time linking or normal
7175 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7176 # need to do runtime linking.
7177 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
7178 for ld_flag
in $LDFLAGS; do
7179 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
7180 aix_use_runtimelinking
=yes
7187 exp_sym_flag
='-bexport'
7188 no_entry_flag
='-bnoentry'
7191 # When large executables or shared objects are built, AIX ld can
7192 # have problems creating the table of contents. If linking a library
7193 # or program results in "error TOC overflow" add -mminimal-toc to
7194 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7195 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7199 hardcode_libdir_separator
=':'
7200 link_all_deplibs
=yes
7202 if test "$GCC" = yes; then
7203 case $host_os in aix4.
[012]|aix4.
[012].
*)
7204 # We only want to do this on AIX 4.2 and lower, the check
7205 # below for broken collect2 doesn't work under 4.3+
7206 collect2name
=`${CC} -print-prog-name=collect2`
7207 if test -f "$collect2name" && \
7208 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
7210 # We have reworked collect2
7213 # We have old collect2
7214 hardcode_direct
=unsupported
7215 # It fails to find uninstalled libraries when the uninstalled
7216 # path is not listed in the libpath. Setting hardcode_minus_L
7217 # to unsupported forces relinking
7218 hardcode_minus_L
=yes
7219 hardcode_libdir_flag_spec
='-L$libdir'
7220 hardcode_libdir_separator
=
7224 shared_flag
='-shared'
7225 if test "$aix_use_runtimelinking" = yes; then
7226 shared_flag
="$shared_flag "'${wl}-G'
7230 if test "$host_cpu" = ia64
; then
7231 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7232 # chokes on -Wl,-G. The following line is correct:
7235 if test "$aix_use_runtimelinking" = yes; then
7236 shared_flag
='${wl}-G'
7238 shared_flag
='${wl}-bM:SRE'
7243 # It seems that -bexpall does not export symbols beginning with
7244 # underscore (_), so it is better to generate a list of symbols to export.
7245 always_export_symbols
=yes
7246 if test "$aix_use_runtimelinking" = yes; then
7247 # Warning - without using the other runtime loading flags (-brtl),
7248 # -berok will link without error, but may produce a broken library.
7249 allow_undefined_flag
='-berok'
7250 # Determine the default libpath from the value encoded in an empty executable.
7251 cat >conftest.
$ac_ext <<_ACEOF
7254 cat confdefs.h
>>conftest.
$ac_ext
7255 cat >>conftest.
$ac_ext <<_ACEOF
7256 /* end confdefs.h. */
7266 rm -f conftest.
$ac_objext conftest
$ac_exeext
7267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7268 (eval $ac_link) 2>conftest.er1
7270 grep -v '^ *+' conftest.er1
>conftest.err
7272 cat conftest.err
>&5
7273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7274 (exit $ac_status); } &&
7275 { ac_try
='test -z "$ac_c_werror_flag"
7276 || test ! -s conftest.err'
7277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7281 (exit $ac_status); }; } &&
7282 { ac_try
='test -s conftest$ac_exeext'
7283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7287 (exit $ac_status); }; }; then
7289 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7291 # Check for a 64-bit object if we didn't find anything.
7292 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; }
7295 echo "$as_me: failed program was:" >&5
7296 sed 's/^/| /' conftest.
$ac_ext >&5
7299 rm -f conftest.err conftest.
$ac_objext \
7300 conftest
$ac_exeext conftest.
$ac_ext
7301 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7303 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7304 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"
7306 if test "$host_cpu" = ia64
; then
7307 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
7308 allow_undefined_flag
="-z nodefs"
7309 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"
7311 # Determine the default libpath from the value encoded in an empty executable.
7312 cat >conftest.
$ac_ext <<_ACEOF
7315 cat confdefs.h
>>conftest.
$ac_ext
7316 cat >>conftest.
$ac_ext <<_ACEOF
7317 /* end confdefs.h. */
7327 rm -f conftest.
$ac_objext conftest
$ac_exeext
7328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7329 (eval $ac_link) 2>conftest.er1
7331 grep -v '^ *+' conftest.er1
>conftest.err
7333 cat conftest.err
>&5
7334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7335 (exit $ac_status); } &&
7336 { ac_try
='test -z "$ac_c_werror_flag"
7337 || test ! -s conftest.err'
7338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7342 (exit $ac_status); }; } &&
7343 { ac_try
='test -s conftest$ac_exeext'
7344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7348 (exit $ac_status); }; }; then
7350 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7352 # Check for a 64-bit object if we didn't find anything.
7353 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; }
7356 echo "$as_me: failed program was:" >&5
7357 sed 's/^/| /' conftest.
$ac_ext >&5
7360 rm -f conftest.err conftest.
$ac_objext \
7361 conftest
$ac_exeext conftest.
$ac_ext
7362 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7364 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7365 # Warning - without using the other run time loading flags,
7366 # -berok will link without error, but may produce a broken library.
7367 no_undefined_flag
=' ${wl}-bernotok'
7368 allow_undefined_flag
=' ${wl}-berok'
7369 # Exported symbols can be pulled into shared objects from archives
7370 whole_archive_flag_spec
='$convenience'
7371 archive_cmds_need_lc
=yes
7372 # This is similar to how AIX traditionally builds its shared libraries.
7373 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'
7379 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)'
7380 hardcode_libdir_flag_spec
='-L$libdir'
7381 hardcode_minus_L
=yes
7382 # see comment about different semantics on the GNU ld section
7387 export_dynamic_flag_spec
=-rdynamic
7390 cygwin
* | mingw
* | pw32
*)
7391 # When not using gcc, we currently assume that we are using
7392 # Microsoft Visual C++.
7393 # hardcode_libdir_flag_spec is actually meaningless, as there is
7394 # no search path for DLLs.
7395 hardcode_libdir_flag_spec
=' '
7396 allow_undefined_flag
=unsupported
7397 # Tell ltmain to make .lib files, not .a files.
7399 # Tell ltmain to make .dll files, not .so files.
7401 # FIXME: Setting linknames here is a bad hack.
7402 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
7403 # The linker will automatically build a .lib file if we build a DLL.
7404 old_archive_From_new_cmds
='true'
7405 # FIXME: Should let the user specify the lib program.
7406 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
7407 fix_srcfile_path
='`cygpath -w "$srcfile"`'
7408 enable_shared_with_static_runtimes
=yes
7411 darwin
* | rhapsody
*)
7413 rhapsody
* | darwin1.
[012])
7414 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
7417 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
7418 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7420 case ${MACOSX_DEPLOYMENT_TARGET} in
7422 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7425 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
7431 archive_cmds_need_lc
=no
7433 hardcode_automatic
=yes
7434 hardcode_shlibpath_var
=unsupported
7435 whole_archive_flag_spec
=''
7436 link_all_deplibs
=yes
7437 if test "$GCC" = yes ; then
7438 output_verbose_link_cmd
='echo'
7439 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7440 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7441 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7442 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}'
7443 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}'
7445 case $cc_basename in
7447 output_verbose_link_cmd
='echo'
7448 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
7449 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7450 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7451 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}'
7452 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}'
7462 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7463 hardcode_libdir_flag_spec
='-L$libdir'
7464 hardcode_shlibpath_var
=no
7471 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7472 # support. Future versions do this automatically, but an explicit c++rt0.o
7473 # does not break anything, and helps significantly (at the cost of a little
7476 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7477 hardcode_libdir_flag_spec
='-R$libdir'
7479 hardcode_shlibpath_var
=no
7482 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7484 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7486 hardcode_minus_L
=yes
7487 hardcode_shlibpath_var
=no
7490 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7491 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
7492 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7493 hardcode_libdir_flag_spec
='-R$libdir'
7495 hardcode_shlibpath_var
=no
7499 if test "$GCC" = yes; then
7500 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'
7502 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'
7504 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7505 hardcode_libdir_separator
=:
7508 # hardcode_minus_L: Not really in the search PATH,
7509 # but as the default location of the library.
7510 hardcode_minus_L
=yes
7511 export_dynamic_flag_spec
='${wl}-E'
7515 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7516 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7518 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7520 if test "$with_gnu_ld" = no
; then
7521 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7522 hardcode_libdir_separator
=:
7525 export_dynamic_flag_spec
='${wl}-E'
7527 # hardcode_minus_L: Not really in the search PATH,
7528 # but as the default location of the library.
7529 hardcode_minus_L
=yes
7534 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7537 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7540 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7543 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7549 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7552 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7555 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7559 if test "$with_gnu_ld" = no
; then
7560 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7561 hardcode_libdir_separator
=:
7565 hardcode_libdir_flag_spec_ld
='+b $libdir'
7567 hardcode_shlibpath_var
=no
7571 export_dynamic_flag_spec
='${wl}-E'
7573 # hardcode_minus_L: Not really in the search PATH,
7574 # but as the default location of the library.
7575 hardcode_minus_L
=yes
7581 irix5
* | irix6
* | nonstopux
*)
7582 if test "$GCC" = yes; then
7583 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'
7585 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'
7586 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
7588 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7589 hardcode_libdir_separator
=:
7590 link_all_deplibs
=yes
7594 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7595 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7597 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7599 hardcode_libdir_flag_spec
='-R$libdir'
7601 hardcode_shlibpath_var
=no
7605 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7607 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7608 hardcode_libdir_separator
=:
7609 hardcode_shlibpath_var
=no
7614 hardcode_shlibpath_var
=no
7615 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7616 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7617 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
7618 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7619 export_dynamic_flag_spec
='${wl}-E'
7622 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
7623 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7624 hardcode_libdir_flag_spec
='-R$libdir'
7627 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7628 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7635 hardcode_libdir_flag_spec
='-L$libdir'
7636 hardcode_minus_L
=yes
7637 allow_undefined_flag
=unsupported
7638 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'
7639 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7643 if test "$GCC" = yes; then
7644 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
7645 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
7647 allow_undefined_flag
=' -expect_unresolved \*'
7648 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'
7650 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7651 hardcode_libdir_separator
=:
7654 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
7655 if test "$GCC" = yes; then
7656 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
7657 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'
7658 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7660 allow_undefined_flag
=' -expect_unresolved \*'
7661 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'
7662 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
7663 $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'
7665 # Both c and cxx compiler support -rpath directly
7666 hardcode_libdir_flag_spec
='-rpath $libdir'
7668 hardcode_libdir_separator
=:
7672 no_undefined_flag
=' -z text'
7673 if test "$GCC" = yes; then
7675 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7676 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7677 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
7680 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7681 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7682 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7684 hardcode_libdir_flag_spec
='-R$libdir'
7685 hardcode_shlibpath_var
=no
7687 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
7689 # The compiler driver will combine linker options so we
7690 # cannot just pass the convience library names through
7691 # without $wl, iff we do not link with $LD.
7692 # Luckily, gcc supports the same syntax we need for Sun Studio.
7693 # Supported since Solaris 2.6 (maybe 2.5.1?)
7696 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;;
7698 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' ;;
7701 link_all_deplibs
=yes
7705 if test "x$host_vendor" = xsequent
; then
7706 # Use $CC to link under sequent, because it throws in some extra .o
7707 # files that make .init and .fini sections work.
7708 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7710 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7712 hardcode_libdir_flag_spec
='-L$libdir'
7714 hardcode_minus_L
=yes
7715 hardcode_shlibpath_var
=no
7719 case $host_vendor in
7721 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7722 hardcode_direct
=yes # is this really true???
7725 ## LD is ld it makes a PLAMLIB
7726 ## CC just makes a GrossModule.
7727 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7728 reload_cmds
='$CC -r -o $output$reload_objs'
7732 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7733 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
7736 runpath_var
='LD_RUN_PATH'
7737 hardcode_shlibpath_var
=no
7741 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7742 hardcode_shlibpath_var
=no
7743 export_dynamic_flag_spec
='-Bexport'
7747 if test -d /usr
/nec
; then
7748 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7749 hardcode_shlibpath_var
=no
7750 runpath_var
=LD_RUN_PATH
7751 hardcode_runpath_var
=yes
7756 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
7757 no_undefined_flag
='${wl}-z,text'
7758 archive_cmds_need_lc
=no
7759 hardcode_shlibpath_var
=no
7760 runpath_var
='LD_RUN_PATH'
7762 if test "$GCC" = yes; then
7763 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7764 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7766 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7767 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7771 sysv5
* | sco3.2v5
* | sco5v6
*)
7772 # Note: We can NOT use -z defs as we might desire, because we do not
7773 # link with -lc, and that would cause any symbols used from libc to
7774 # always be unresolved, which means just about no library would
7775 # ever link correctly. If we're not using GNU ld we use -z text
7776 # though, which does catch some bad symbols but isn't as heavy-handed
7778 no_undefined_flag
='${wl}-z,text'
7779 allow_undefined_flag
='${wl}-z,nodefs'
7780 archive_cmds_need_lc
=no
7781 hardcode_shlibpath_var
=no
7782 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
7783 hardcode_libdir_separator
=':'
7784 link_all_deplibs
=yes
7785 export_dynamic_flag_spec
='${wl}-Bexport'
7786 runpath_var
='LD_RUN_PATH'
7788 if test "$GCC" = yes; then
7789 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
7790 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
7792 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
7793 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
7798 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7799 hardcode_libdir_flag_spec
='-L$libdir'
7800 hardcode_shlibpath_var
=no
7809 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7810 echo "${ECHO_T}$ld_shlibs" >&6
7811 test "$ld_shlibs" = no
&& can_build_shared
=no
7814 # Do we need to explicitly link libc?
7816 case "x$archive_cmds_need_lc" in
7818 # Assume -lc should be added
7819 archive_cmds_need_lc
=yes
7821 if test "$enable_shared" = yes && test "$GCC" = yes; then
7822 case $archive_cmds in
7824 # FIXME: we may have to deal with multi-command sequences.
7827 # Test whether the compiler implicitly links with -lc since on some
7828 # systems, -lgcc has to come before -lc. If gcc already passes -lc
7829 # to ld, don't add -lc before -lgcc.
7830 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7831 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
7833 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7836 (eval $ac_compile) 2>&5
7838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7839 (exit $ac_status); } 2>conftest.err
; then
7842 libobjs
=conftest.
$ac_objext
7844 wl
=$lt_prog_compiler_wl
7845 pic_flag
=$lt_prog_compiler_pic
7851 lt_save_allow_undefined_flag
=$allow_undefined_flag
7852 allow_undefined_flag
=
7853 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
7854 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
7856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7857 (exit $ac_status); }
7859 archive_cmds_need_lc
=no
7861 archive_cmds_need_lc
=yes
7863 allow_undefined_flag
=$lt_save_allow_undefined_flag
7865 cat conftest.err
1>&5
7868 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7869 echo "${ECHO_T}$archive_cmds_need_lc" >&6
7876 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7877 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
7879 libname_spec
='lib$name'
7887 shlibpath_overrides_runpath
=unknown
7889 dynamic_linker
="$host_os ld.so"
7890 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
7891 if test "$GCC" = yes; then
7892 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7893 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
7894 # if the path contains ";" then we assume it to be the separator
7895 # otherwise default to the standard path separator (i.e. ":") - it is
7896 # assumed that no part of a normal pathname contains ";" but that should
7897 # okay in the real world where ";" in dirpaths is itself problematic.
7898 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7900 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7903 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
7905 need_lib_prefix
=unknown
7906 hardcode_into_libs
=no
7908 # when you set need_version to no, make sure it does not cause -set_version
7909 # flags to be left without arguments
7910 need_version
=unknown
7915 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
7916 shlibpath_var
=LIBPATH
7918 # AIX 3 has no versioning support, so we append a major version to the name.
7919 soname_spec
='${libname}${release}${shared_ext}$major'
7926 hardcode_into_libs
=yes
7927 if test "$host_cpu" = ia64
; then
7928 # AIX 5 supports IA64
7929 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
7930 shlibpath_var
=LD_LIBRARY_PATH
7932 # With GCC up to 2.95.x, collect2 would create an import file
7933 # for dependence libraries. The import file would start with
7934 # the line `#! .'. This would cause the generated library to
7935 # depend on `.', always an invalid library. This was fixed in
7936 # development snapshots of GCC prior to 3.0.
7938 aix4 | aix4.
[01] | aix4.
[01].
*)
7939 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
7941 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
7948 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
7949 # soname into executable. Probably we can add versioning support to
7950 # collect2, so additional links can be useful in future.
7951 if test "$aix_use_runtimelinking" = yes; then
7952 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
7953 # instead of lib<name>.a to let people know that these are not
7954 # typical AIX shared libraries.
7955 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7957 # We preserve .a as extension for shared libraries through AIX4.2
7958 # and later when we are not doing run time linking.
7959 library_names_spec
='${libname}${release}.a $libname.a'
7960 soname_spec
='${libname}${release}${shared_ext}$major'
7962 shlibpath_var
=LIBPATH
7967 library_names_spec
='$libname.ixlibrary $libname.a'
7968 # Create ${libname}_ixlibrary.a entries in /sys/libs.
7969 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'
7973 library_names_spec
='${libname}${shared_ext}'
7974 dynamic_linker
="$host_os ld.so"
7975 shlibpath_var
=LIBRARY_PATH
7981 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7982 soname_spec
='${libname}${release}${shared_ext}$major'
7983 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
7984 shlibpath_var
=LD_LIBRARY_PATH
7985 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
7986 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
7987 # the default ld.so.conf also contains /usr/contrib/lib and
7988 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
7989 # libtool to hard-code these into programs
7992 cygwin
* | mingw
* | pw32
*)
7993 version_type
=windows
7998 case $GCC,$host_os in
7999 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
8000 library_names_spec
='$libname.dll.a'
8001 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8002 postinstall_cmds
='base_file=`basename \${file}`~
8003 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
8004 dldir=$destdir/`dirname \$dlpath`~
8005 test -d \$dldir || mkdir -p \$dldir~
8006 $install_prog $dir/$dlname \$dldir/$dlname~
8007 chmod a+x \$dldir/$dlname'
8008 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8009 dlpath=$dir/\$dldll~
8011 shlibpath_overrides_runpath
=yes
8015 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8016 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8017 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8020 # MinGW DLLs use traditional 'lib' prefix
8021 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8022 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8023 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
8024 # It is most probably a Windows format PATH printed by
8025 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8026 # path with ; separators, and with drive letters. We can handle the
8027 # drive letters (cygwin fileutils understands them), so leave them,
8028 # especially as we might pass files found there to a mingw objdump,
8029 # which wouldn't understand a cygwinified path. Ahh.
8030 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8032 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8036 # pw32 DLLs use 'pw' prefix rather than 'lib'
8037 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8043 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8046 dynamic_linker
='Win32 ld.exe'
8047 # FIXME: first we should search . and the directory the executable is in
8051 darwin
* | rhapsody
*)
8052 dynamic_linker
="$host_os dyld"
8056 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8057 soname_spec
='${libname}${release}${major}$shared_ext'
8058 shlibpath_overrides_runpath
=yes
8059 shlibpath_var
=DYLD_LIBRARY_PATH
8060 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8061 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
8062 if test "$GCC" = yes; then
8063 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"`
8065 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
8067 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8074 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8075 soname_spec
='${libname}${release}${shared_ext}$major'
8076 shlibpath_var
=LD_LIBRARY_PATH
8087 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8088 soname_spec
='${libname}${release}${shared_ext}$major'
8089 shlibpath_var
=LD_LIBRARY_PATH
8090 shlibpath_overrides_runpath
=no
8091 hardcode_into_libs
=yes
8092 dynamic_linker
='GNU ld.so'
8095 freebsd
* | dragonfly
*)
8096 # DragonFly does not have aout. When/if they implement a new
8097 # versioning mechanism, adjust this.
8098 if test -x /usr
/bin
/objformat
; then
8099 objformat
=`/usr/bin/objformat`
8102 freebsd
[123]*) objformat
=aout
;;
8106 version_type
=freebsd-
$objformat
8107 case $version_type in
8109 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8114 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8118 shlibpath_var
=LD_LIBRARY_PATH
8121 shlibpath_overrides_runpath
=yes
8123 freebsd3.
[01]* | freebsdelf3.
[01]*)
8124 shlibpath_overrides_runpath
=yes
8125 hardcode_into_libs
=yes
8127 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
8128 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
8129 shlibpath_overrides_runpath
=no
8130 hardcode_into_libs
=yes
8132 freebsd
*) # from 4.6 on
8133 shlibpath_overrides_runpath
=yes
8134 hardcode_into_libs
=yes
8143 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8144 soname_spec
='${libname}${release}${shared_ext}$major'
8145 shlibpath_var
=LD_LIBRARY_PATH
8146 hardcode_into_libs
=yes
8149 hpux9
* | hpux10
* | hpux11
*)
8150 # Give a soname corresponding to the major version so that dld.sl refuses to
8151 # link against other versions.
8158 hardcode_into_libs
=yes
8159 dynamic_linker
="$host_os dld.so"
8160 shlibpath_var
=LD_LIBRARY_PATH
8161 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8162 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8163 soname_spec
='${libname}${release}${shared_ext}$major'
8164 if test "X$HPUX_IA64_MODE" = X32
; then
8165 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8167 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8169 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8173 hardcode_into_libs
=yes
8174 dynamic_linker
="$host_os dld.sl"
8175 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8176 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8177 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8178 soname_spec
='${libname}${release}${shared_ext}$major'
8179 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8180 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8184 dynamic_linker
="$host_os dld.sl"
8185 shlibpath_var
=SHLIB_PATH
8186 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
8187 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8188 soname_spec
='${libname}${release}${shared_ext}$major'
8191 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8192 postinstall_cmds
='chmod 555 $lib'
8199 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8200 soname_spec
='${libname}${release}${shared_ext}$major'
8201 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
8202 shlibpath_var
=LD_LIBRARY_PATH
8203 shlibpath_overrides_runpath
=no
8204 hardcode_into_libs
=yes
8207 irix5
* | irix6
* | nonstopux
*)
8209 nonstopux
*) version_type
=nonstopux
;;
8211 if test "$lt_cv_prog_gnu_ld" = yes; then
8219 soname_spec
='${libname}${release}${shared_ext}$major'
8220 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8222 irix5
* | nonstopux
*)
8226 case $LD in # libtool.m4 will add one of these switches to LD
8227 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
8228 libsuff
= shlibsuff
= libmagic
=32-bit;;
8229 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
8230 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
8231 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
8232 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
8233 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
8237 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
8238 shlibpath_overrides_runpath
=no
8239 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8240 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
8241 hardcode_into_libs
=yes
8244 # No shared lib support for Linux oldld, aout, or coff.
8245 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
8249 # This must be Linux ELF.
8254 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8255 soname_spec
='${libname}${release}${shared_ext}$major'
8256 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8257 shlibpath_var
=LD_LIBRARY_PATH
8258 shlibpath_overrides_runpath
=no
8259 # This implies no fast_install, which is unacceptable.
8260 # Some rework will be needed to allow for fast_install
8261 # before this can be enabled.
8262 hardcode_into_libs
=yes
8264 # find out which ABI we are using
8267 x86_64
*|s390x
*|powerpc64
*)
8268 echo '#line 8268 "configure"' > conftest.
$ac_ext
8269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8270 (eval $ac_compile) 2>&5
8272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8273 (exit $ac_status); }; then
8274 case `/usr/bin/file conftest.$ac_objext` in
8277 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
8285 # Append ld.so.conf contents to the search path
8286 if test -f /etc
/ld.so.conf
; then
8287 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' ' '`
8288 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
8291 # We used to test for /lib/ld.so.1 and disable shared libraries on
8292 # powerpc, because MkLinux only supported shared libraries with the
8293 # GNU dynamic linker. Since this was broken with cross compilers,
8294 # most powerpc-linux boxes support dynamic linking these days and
8295 # people can always --disable-shared, the test was removed, and we
8296 # assume the GNU/Linux dynamic linker is in use.
8297 dynamic_linker
='GNU/Linux ld.so'
8304 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8305 soname_spec
='${libname}${release}${shared_ext}$major'
8306 shlibpath_var
=LD_LIBRARY_PATH
8307 shlibpath_overrides_runpath
=no
8308 hardcode_into_libs
=yes
8309 dynamic_linker
='GNU ld.so'
8316 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8317 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8318 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8319 dynamic_linker
='NetBSD (a.out) ld.so'
8321 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8322 soname_spec
='${libname}${release}${shared_ext}$major'
8323 dynamic_linker
='NetBSD ld.elf_so'
8325 shlibpath_var
=LD_LIBRARY_PATH
8326 shlibpath_overrides_runpath
=yes
8327 hardcode_into_libs
=yes
8332 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8333 shlibpath_var
=LD_LIBRARY_PATH
8334 shlibpath_overrides_runpath
=yes
8341 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8342 soname_spec
='${libname}${release}${shared_ext}$major'
8343 shlibpath_var
=LD_LIBRARY_PATH
8344 shlibpath_overrides_runpath
=yes
8349 sys_lib_dlsearch_path_spec
="/usr/lib"
8351 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
8353 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
8354 *) need_version
=no
;;
8356 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8357 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8358 shlibpath_var
=LD_LIBRARY_PATH
8359 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8361 openbsd2.
[89] | openbsd2.
[89].
*)
8362 shlibpath_overrides_runpath
=no
8365 shlibpath_overrides_runpath
=yes
8369 shlibpath_overrides_runpath
=yes
8374 libname_spec
='$name'
8377 library_names_spec
='$libname${shared_ext} $libname.a'
8378 dynamic_linker
='OS/2 ld.exe'
8379 shlibpath_var
=LIBPATH
8382 osf3
* | osf4
* | osf5
*)
8386 soname_spec
='${libname}${release}${shared_ext}$major'
8387 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8388 shlibpath_var
=LD_LIBRARY_PATH
8389 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
8390 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
8397 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8398 soname_spec
='${libname}${release}${shared_ext}$major'
8399 shlibpath_var
=LD_LIBRARY_PATH
8400 shlibpath_overrides_runpath
=yes
8401 hardcode_into_libs
=yes
8402 # ldd complains unless libraries are executable
8403 postinstall_cmds
='chmod +x $lib'
8408 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8409 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
8410 shlibpath_var
=LD_LIBRARY_PATH
8411 shlibpath_overrides_runpath
=yes
8412 if test "$with_gnu_ld" = yes; then
8420 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8421 soname_spec
='${libname}${release}${shared_ext}$major'
8422 shlibpath_var
=LD_LIBRARY_PATH
8423 case $host_vendor in
8425 shlibpath_overrides_runpath
=no
8427 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8428 runpath_var
=LD_RUN_PATH
8436 shlibpath_overrides_runpath
=no
8437 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
8443 if test -d /usr
/nec
;then
8445 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8446 soname_spec
='$libname${shared_ext}.$major'
8447 shlibpath_var
=LD_LIBRARY_PATH
8451 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
8452 version_type
=freebsd-elf
8455 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8456 soname_spec
='${libname}${release}${shared_ext}$major'
8457 shlibpath_var
=LD_LIBRARY_PATH
8458 hardcode_into_libs
=yes
8459 if test "$with_gnu_ld" = yes; then
8460 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
8461 shlibpath_overrides_runpath
=no
8463 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
8464 shlibpath_overrides_runpath
=yes
8467 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
8471 sys_lib_dlsearch_path_spec
='/usr/lib'
8476 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8477 soname_spec
='${libname}${release}${shared_ext}$major'
8478 shlibpath_var
=LD_LIBRARY_PATH
8485 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8486 echo "${ECHO_T}$dynamic_linker" >&6
8487 test "$dynamic_linker" = no
&& can_build_shared
=no
8489 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
8490 if test "$GCC" = yes; then
8491 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
8494 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
8495 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
8497 if test -n "$hardcode_libdir_flag_spec" || \
8498 test -n "$runpath_var" || \
8499 test "X$hardcode_automatic" = "Xyes" ; then
8501 # We can hardcode non-existant directories.
8502 if test "$hardcode_direct" != no
&&
8503 # If the only mechanism to avoid hardcoding is shlibpath_var, we
8504 # have to relink, otherwise we might link with an installed library
8505 # when we should be linking with a yet-to-be-installed one
8506 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
8507 test "$hardcode_minus_L" != no
; then
8508 # Linking always hardcodes the temporary library directory.
8509 hardcode_action
=relink
8511 # We can link without hardcoding, and we can hardcode nonexisting dirs.
8512 hardcode_action
=immediate
8515 # We cannot hardcode anything, or else we can only hardcode existing
8517 hardcode_action
=unsupported
8519 echo "$as_me:$LINENO: result: $hardcode_action" >&5
8520 echo "${ECHO_T}$hardcode_action" >&6
8522 if test "$hardcode_action" = relink
; then
8523 # Fast installation is not supported
8524 enable_fast_install
=no
8525 elif test "$shlibpath_overrides_runpath" = yes ||
8526 test "$enable_shared" = no
; then
8527 # Fast installation is not necessary
8528 enable_fast_install
=needless
8533 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
8534 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
8535 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
8536 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
8537 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
8538 echo "$as_me:$LINENO: result: yes" >&5
8539 echo "${ECHO_T}yes" >&6
8541 # FIXME - insert some real tests, host_os isn't really good enough
8544 if test -n "$STRIP" ; then
8545 striplib
="$STRIP -x"
8546 echo "$as_me:$LINENO: result: yes" >&5
8547 echo "${ECHO_T}yes" >&6
8549 echo "$as_me:$LINENO: result: no" >&5
8550 echo "${ECHO_T}no" >&6
8554 echo "$as_me:$LINENO: result: no" >&5
8555 echo "${ECHO_T}no" >&6
8560 if test "x$enable_dlopen" != xyes
; then
8561 enable_dlopen
=unknown
8562 enable_dlopen_self
=unknown
8563 enable_dlopen_self_static
=unknown
8570 lt_cv_dlopen
="load_add_on"
8572 lt_cv_dlopen_self
=yes
8576 lt_cv_dlopen
="LoadLibrary"
8581 lt_cv_dlopen
="dlopen"
8586 # if libdl is installed we need to link against it
8587 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8588 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8589 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8590 echo $ECHO_N "(cached) $ECHO_C" >&6
8592 ac_check_lib_save_LIBS
=$LIBS
8594 cat >conftest.
$ac_ext <<_ACEOF
8597 cat confdefs.h
>>conftest.
$ac_ext
8598 cat >>conftest.
$ac_ext <<_ACEOF
8599 /* end confdefs.h. */
8601 /* Override any gcc2 internal prototype to avoid an error. */
8605 /* We use char because int might match the return type of a gcc2
8606 builtin and then its argument prototype would still apply. */
8616 rm -f conftest.
$ac_objext conftest
$ac_exeext
8617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8618 (eval $ac_link) 2>conftest.er1
8620 grep -v '^ *+' conftest.er1
>conftest.err
8622 cat conftest.err
>&5
8623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8624 (exit $ac_status); } &&
8625 { ac_try
='test -z "$ac_c_werror_flag"
8626 || test ! -s conftest.err'
8627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8631 (exit $ac_status); }; } &&
8632 { ac_try
='test -s conftest$ac_exeext'
8633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8637 (exit $ac_status); }; }; then
8638 ac_cv_lib_dl_dlopen
=yes
8640 echo "$as_me: failed program was:" >&5
8641 sed 's/^/| /' conftest.
$ac_ext >&5
8643 ac_cv_lib_dl_dlopen
=no
8645 rm -f conftest.err conftest.
$ac_objext \
8646 conftest
$ac_exeext conftest.
$ac_ext
8647 LIBS
=$ac_check_lib_save_LIBS
8649 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8650 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8651 if test $ac_cv_lib_dl_dlopen = yes; then
8652 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
8657 lt_cv_dlopen_self
=yes
8664 echo "$as_me:$LINENO: checking for shl_load" >&5
8665 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
8666 if test "${ac_cv_func_shl_load+set}" = set; then
8667 echo $ECHO_N "(cached) $ECHO_C" >&6
8669 cat >conftest.
$ac_ext <<_ACEOF
8672 cat confdefs.h
>>conftest.
$ac_ext
8673 cat >>conftest.
$ac_ext <<_ACEOF
8674 /* end confdefs.h. */
8675 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
8676 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8677 #define shl_load innocuous_shl_load
8679 /* System header to define __stub macros and hopefully few prototypes,
8680 which can conflict with char shl_load (); below.
8681 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8682 <limits.h> exists even on freestanding compilers. */
8685 # include <limits.h>
8687 # include <assert.h>
8692 /* Override any gcc2 internal prototype to avoid an error. */
8697 /* We use char because int might match the return type of a gcc2
8698 builtin and then its argument prototype would still apply. */
8700 /* The GNU C library defines this for functions which it implements
8701 to always fail with ENOSYS. Some functions are actually named
8702 something starting with __ and the normal name is an alias. */
8703 #if defined (__stub_shl_load) || defined (__stub___shl_load)
8706 char (*f) () = shl_load;
8715 return f != shl_load;
8720 rm -f conftest.
$ac_objext conftest
$ac_exeext
8721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8722 (eval $ac_link) 2>conftest.er1
8724 grep -v '^ *+' conftest.er1
>conftest.err
8726 cat conftest.err
>&5
8727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8728 (exit $ac_status); } &&
8729 { ac_try
='test -z "$ac_c_werror_flag"
8730 || test ! -s conftest.err'
8731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8735 (exit $ac_status); }; } &&
8736 { ac_try
='test -s conftest$ac_exeext'
8737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8741 (exit $ac_status); }; }; then
8742 ac_cv_func_shl_load
=yes
8744 echo "$as_me: failed program was:" >&5
8745 sed 's/^/| /' conftest.
$ac_ext >&5
8747 ac_cv_func_shl_load
=no
8749 rm -f conftest.err conftest.
$ac_objext \
8750 conftest
$ac_exeext conftest.
$ac_ext
8752 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8753 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
8754 if test $ac_cv_func_shl_load = yes; then
8755 lt_cv_dlopen
="shl_load"
8757 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8758 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
8759 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8760 echo $ECHO_N "(cached) $ECHO_C" >&6
8762 ac_check_lib_save_LIBS
=$LIBS
8764 cat >conftest.
$ac_ext <<_ACEOF
8767 cat confdefs.h
>>conftest.
$ac_ext
8768 cat >>conftest.
$ac_ext <<_ACEOF
8769 /* end confdefs.h. */
8771 /* Override any gcc2 internal prototype to avoid an error. */
8775 /* We use char because int might match the return type of a gcc2
8776 builtin and then its argument prototype would still apply. */
8786 rm -f conftest.
$ac_objext conftest
$ac_exeext
8787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8788 (eval $ac_link) 2>conftest.er1
8790 grep -v '^ *+' conftest.er1
>conftest.err
8792 cat conftest.err
>&5
8793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8794 (exit $ac_status); } &&
8795 { ac_try
='test -z "$ac_c_werror_flag"
8796 || test ! -s conftest.err'
8797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8801 (exit $ac_status); }; } &&
8802 { ac_try
='test -s conftest$ac_exeext'
8803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8807 (exit $ac_status); }; }; then
8808 ac_cv_lib_dld_shl_load
=yes
8810 echo "$as_me: failed program was:" >&5
8811 sed 's/^/| /' conftest.
$ac_ext >&5
8813 ac_cv_lib_dld_shl_load
=no
8815 rm -f conftest.err conftest.
$ac_objext \
8816 conftest
$ac_exeext conftest.
$ac_ext
8817 LIBS
=$ac_check_lib_save_LIBS
8819 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8820 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
8821 if test $ac_cv_lib_dld_shl_load = yes; then
8822 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
8824 echo "$as_me:$LINENO: checking for dlopen" >&5
8825 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
8826 if test "${ac_cv_func_dlopen+set}" = set; then
8827 echo $ECHO_N "(cached) $ECHO_C" >&6
8829 cat >conftest.
$ac_ext <<_ACEOF
8832 cat confdefs.h
>>conftest.
$ac_ext
8833 cat >>conftest.
$ac_ext <<_ACEOF
8834 /* end confdefs.h. */
8835 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
8836 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8837 #define dlopen innocuous_dlopen
8839 /* System header to define __stub macros and hopefully few prototypes,
8840 which can conflict with char dlopen (); below.
8841 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8842 <limits.h> exists even on freestanding compilers. */
8845 # include <limits.h>
8847 # include <assert.h>
8852 /* Override any gcc2 internal prototype to avoid an error. */
8857 /* We use char because int might match the return type of a gcc2
8858 builtin and then its argument prototype would still apply. */
8860 /* The GNU C library defines this for functions which it implements
8861 to always fail with ENOSYS. Some functions are actually named
8862 something starting with __ and the normal name is an alias. */
8863 #if defined (__stub_dlopen) || defined (__stub___dlopen)
8866 char (*f) () = dlopen;
8880 rm -f conftest.
$ac_objext conftest
$ac_exeext
8881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8882 (eval $ac_link) 2>conftest.er1
8884 grep -v '^ *+' conftest.er1
>conftest.err
8886 cat conftest.err
>&5
8887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8888 (exit $ac_status); } &&
8889 { ac_try
='test -z "$ac_c_werror_flag"
8890 || test ! -s conftest.err'
8891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8895 (exit $ac_status); }; } &&
8896 { ac_try
='test -s conftest$ac_exeext'
8897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8901 (exit $ac_status); }; }; then
8902 ac_cv_func_dlopen
=yes
8904 echo "$as_me: failed program was:" >&5
8905 sed 's/^/| /' conftest.
$ac_ext >&5
8907 ac_cv_func_dlopen
=no
8909 rm -f conftest.err conftest.
$ac_objext \
8910 conftest
$ac_exeext conftest.
$ac_ext
8912 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8913 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
8914 if test $ac_cv_func_dlopen = yes; then
8915 lt_cv_dlopen
="dlopen"
8917 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8918 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8919 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8920 echo $ECHO_N "(cached) $ECHO_C" >&6
8922 ac_check_lib_save_LIBS
=$LIBS
8924 cat >conftest.
$ac_ext <<_ACEOF
8927 cat confdefs.h
>>conftest.
$ac_ext
8928 cat >>conftest.
$ac_ext <<_ACEOF
8929 /* end confdefs.h. */
8931 /* Override any gcc2 internal prototype to avoid an error. */
8935 /* We use char because int might match the return type of a gcc2
8936 builtin and then its argument prototype would still apply. */
8946 rm -f conftest.
$ac_objext conftest
$ac_exeext
8947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8948 (eval $ac_link) 2>conftest.er1
8950 grep -v '^ *+' conftest.er1
>conftest.err
8952 cat conftest.err
>&5
8953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8954 (exit $ac_status); } &&
8955 { ac_try
='test -z "$ac_c_werror_flag"
8956 || test ! -s conftest.err'
8957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8961 (exit $ac_status); }; } &&
8962 { ac_try
='test -s conftest$ac_exeext'
8963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8967 (exit $ac_status); }; }; then
8968 ac_cv_lib_dl_dlopen
=yes
8970 echo "$as_me: failed program was:" >&5
8971 sed 's/^/| /' conftest.
$ac_ext >&5
8973 ac_cv_lib_dl_dlopen
=no
8975 rm -f conftest.err conftest.
$ac_objext \
8976 conftest
$ac_exeext conftest.
$ac_ext
8977 LIBS
=$ac_check_lib_save_LIBS
8979 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8980 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8981 if test $ac_cv_lib_dl_dlopen = yes; then
8982 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
8984 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
8985 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
8986 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
8987 echo $ECHO_N "(cached) $ECHO_C" >&6
8989 ac_check_lib_save_LIBS
=$LIBS
8991 cat >conftest.
$ac_ext <<_ACEOF
8994 cat confdefs.h
>>conftest.
$ac_ext
8995 cat >>conftest.
$ac_ext <<_ACEOF
8996 /* end confdefs.h. */
8998 /* Override any gcc2 internal prototype to avoid an error. */
9002 /* We use char because int might match the return type of a gcc2
9003 builtin and then its argument prototype would still apply. */
9013 rm -f conftest.
$ac_objext conftest
$ac_exeext
9014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9015 (eval $ac_link) 2>conftest.er1
9017 grep -v '^ *+' conftest.er1
>conftest.err
9019 cat conftest.err
>&5
9020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9021 (exit $ac_status); } &&
9022 { ac_try
='test -z "$ac_c_werror_flag"
9023 || test ! -s conftest.err'
9024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9028 (exit $ac_status); }; } &&
9029 { ac_try
='test -s conftest$ac_exeext'
9030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9034 (exit $ac_status); }; }; then
9035 ac_cv_lib_svld_dlopen
=yes
9037 echo "$as_me: failed program was:" >&5
9038 sed 's/^/| /' conftest.
$ac_ext >&5
9040 ac_cv_lib_svld_dlopen
=no
9042 rm -f conftest.err conftest.
$ac_objext \
9043 conftest
$ac_exeext conftest.
$ac_ext
9044 LIBS
=$ac_check_lib_save_LIBS
9046 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9047 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
9048 if test $ac_cv_lib_svld_dlopen = yes; then
9049 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9051 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9052 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
9053 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9054 echo $ECHO_N "(cached) $ECHO_C" >&6
9056 ac_check_lib_save_LIBS
=$LIBS
9058 cat >conftest.
$ac_ext <<_ACEOF
9061 cat confdefs.h
>>conftest.
$ac_ext
9062 cat >>conftest.
$ac_ext <<_ACEOF
9063 /* end confdefs.h. */
9065 /* Override any gcc2 internal prototype to avoid an error. */
9069 /* We use char because int might match the return type of a gcc2
9070 builtin and then its argument prototype would still apply. */
9080 rm -f conftest.
$ac_objext conftest
$ac_exeext
9081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9082 (eval $ac_link) 2>conftest.er1
9084 grep -v '^ *+' conftest.er1
>conftest.err
9086 cat conftest.err
>&5
9087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9088 (exit $ac_status); } &&
9089 { ac_try
='test -z "$ac_c_werror_flag"
9090 || test ! -s conftest.err'
9091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9095 (exit $ac_status); }; } &&
9096 { ac_try
='test -s conftest$ac_exeext'
9097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9101 (exit $ac_status); }; }; then
9102 ac_cv_lib_dld_dld_link
=yes
9104 echo "$as_me: failed program was:" >&5
9105 sed 's/^/| /' conftest.
$ac_ext >&5
9107 ac_cv_lib_dld_dld_link
=no
9109 rm -f conftest.err conftest.
$ac_objext \
9110 conftest
$ac_exeext conftest.
$ac_ext
9111 LIBS
=$ac_check_lib_save_LIBS
9113 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9114 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
9115 if test $ac_cv_lib_dld_dld_link = yes; then
9116 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
9137 if test "x$lt_cv_dlopen" != xno
; then
9143 case $lt_cv_dlopen in
9145 save_CPPFLAGS
="$CPPFLAGS"
9146 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
9148 save_LDFLAGS
="$LDFLAGS"
9149 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
9152 LIBS
="$lt_cv_dlopen_libs $LIBS"
9154 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9155 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
9156 if test "${lt_cv_dlopen_self+set}" = set; then
9157 echo $ECHO_N "(cached) $ECHO_C" >&6
9159 if test "$cross_compiling" = yes; then :
9160 lt_cv_dlopen_self
=cross
9162 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9163 lt_status
=$lt_dlunknown
9164 cat > conftest.
$ac_ext <<EOF
9165 #line 9165 "configure"
9166 #include "confdefs.h"
9175 # define LT_DLGLOBAL RTLD_GLOBAL
9178 # define LT_DLGLOBAL DL_GLOBAL
9180 # define LT_DLGLOBAL 0
9184 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9185 find out it does not work in some platform. */
9186 #ifndef LT_DLLAZY_OR_NOW
9188 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9191 # define LT_DLLAZY_OR_NOW DL_LAZY
9194 # define LT_DLLAZY_OR_NOW RTLD_NOW
9197 # define LT_DLLAZY_OR_NOW DL_NOW
9199 # define LT_DLLAZY_OR_NOW 0
9207 extern "C" void exit (int);
9210 void fnord() { int i=42;}
9213 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9214 int status = $lt_dlunknown;
9218 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9219 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9220 /* dlclose (self); */
9228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9229 (eval $ac_link) 2>&5
9231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9232 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9233 (.
/conftest
; exit; ) >&5 2>/dev
/null
9236 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
9237 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
9238 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
9241 # compilation failed
9242 lt_cv_dlopen_self
=no
9249 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9250 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
9252 if test "x$lt_cv_dlopen_self" = xyes
; then
9253 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
9254 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9255 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
9256 if test "${lt_cv_dlopen_self_static+set}" = set; then
9257 echo $ECHO_N "(cached) $ECHO_C" >&6
9259 if test "$cross_compiling" = yes; then :
9260 lt_cv_dlopen_self_static
=cross
9262 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9263 lt_status
=$lt_dlunknown
9264 cat > conftest.
$ac_ext <<EOF
9265 #line 9265 "configure"
9266 #include "confdefs.h"
9275 # define LT_DLGLOBAL RTLD_GLOBAL
9278 # define LT_DLGLOBAL DL_GLOBAL
9280 # define LT_DLGLOBAL 0
9284 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9285 find out it does not work in some platform. */
9286 #ifndef LT_DLLAZY_OR_NOW
9288 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9291 # define LT_DLLAZY_OR_NOW DL_LAZY
9294 # define LT_DLLAZY_OR_NOW RTLD_NOW
9297 # define LT_DLLAZY_OR_NOW DL_NOW
9299 # define LT_DLLAZY_OR_NOW 0
9307 extern "C" void exit (int);
9310 void fnord() { int i=42;}
9313 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9314 int status = $lt_dlunknown;
9318 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9319 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9320 /* dlclose (self); */
9328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9329 (eval $ac_link) 2>&5
9331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9332 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9333 (.
/conftest
; exit; ) >&5 2>/dev
/null
9336 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
9337 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
9338 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
9341 # compilation failed
9342 lt_cv_dlopen_self_static
=no
9349 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
9350 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
9353 CPPFLAGS
="$save_CPPFLAGS"
9354 LDFLAGS
="$save_LDFLAGS"
9359 case $lt_cv_dlopen_self in
9360 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
9361 *) enable_dlopen_self
=unknown
;;
9364 case $lt_cv_dlopen_self_static in
9365 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
9366 *) enable_dlopen_self_static
=unknown
;;
9371 # Report which library types will actually be built
9372 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9373 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
9374 echo "$as_me:$LINENO: result: $can_build_shared" >&5
9375 echo "${ECHO_T}$can_build_shared" >&6
9377 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9378 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
9379 test "$can_build_shared" = "no" && enable_shared
=no
9381 # On AIX, shared libraries and static libraries use the same namespace, and
9382 # are all built from PIC.
9385 test "$enable_shared" = yes && enable_static
=no
9386 if test -n "$RANLIB"; then
9387 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
9388 postinstall_cmds
='$RANLIB $lib'
9393 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
9394 test "$enable_shared" = yes && enable_static
=no
9398 echo "$as_me:$LINENO: result: $enable_shared" >&5
9399 echo "${ECHO_T}$enable_shared" >&6
9401 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9402 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
9403 # Make sure either enable_shared or enable_static is yes.
9404 test "$enable_shared" = yes || enable_static
=yes
9405 echo "$as_me:$LINENO: result: $enable_static" >&5
9406 echo "${ECHO_T}$enable_static" >&6
9408 # The else clause should only fire when bootstrapping the
9409 # libtool distribution, otherwise you forgot to ship ltmain.sh
9410 # with your package, and you will get complaints that there are
9411 # no rules to generate ltmain.sh.
9412 if test -f "$ltmain"; then
9413 # See if we are running on zsh, and set the options which allow our commands through
9414 # without removal of \ escapes.
9415 if test -n "${ZSH_VERSION+set}" ; then
9416 setopt NO_GLOB_SUBST
9418 # Now quote all the things that may contain metacharacters while being
9419 # careful not to overquote the AC_SUBSTed values. We take copies of the
9420 # variables and quote the copies for generation of the libtool script.
9421 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
9423 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
9424 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
9425 deplibs_check_method reload_flag reload_cmds need_locks \
9426 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
9427 lt_cv_sys_global_symbol_to_c_name_address \
9428 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
9429 old_postinstall_cmds old_postuninstall_cmds \
9433 lt_prog_compiler_wl \
9434 lt_prog_compiler_pic \
9435 lt_prog_compiler_static \
9436 lt_prog_compiler_no_builtin_flag \
9437 export_dynamic_flag_spec \
9438 thread_safe_flag_spec \
9439 whole_archive_flag_spec \
9440 enable_shared_with_static_runtimes \
9442 old_archive_from_new_cmds \
9447 compiler_lib_search_path \
9449 archive_expsym_cmds \
9451 postuninstall_cmds \
9452 old_archive_from_expsyms_cmds \
9453 allow_undefined_flag \
9455 export_symbols_cmds \
9456 hardcode_libdir_flag_spec \
9457 hardcode_libdir_flag_spec_ld \
9458 hardcode_libdir_separator \
9459 hardcode_automatic \
9461 module_expsym_cmds \
9462 lt_cv_prog_compiler_c_o \
9467 old_archive_cmds | \
9468 old_archive_from_new_cmds | \
9470 archive_expsym_cmds | \
9472 module_expsym_cmds | \
9473 old_archive_from_expsyms_cmds | \
9474 export_symbols_cmds | \
9475 extract_expsyms_cmds | reload_cmds | finish_cmds | \
9476 postinstall_cmds | postuninstall_cmds | \
9477 old_postinstall_cmds | old_postuninstall_cmds | \
9478 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
9479 # Double-quote double-evaled strings.
9480 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
9483 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
9489 *'\$0 --fallback-echo"')
9490 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
9495 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
9497 { echo "$as_me:$LINENO: creating $ofile" >&5
9498 echo "$as_me: creating $ofile" >&6;}
9500 cat <<__EOF__ >> "$cfgfile"
9503 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
9504 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
9505 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
9507 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
9508 # Free Software Foundation, Inc.
9510 # This file is part of GNU Libtool:
9511 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
9513 # This program is free software; you can redistribute it and/or modify
9514 # it under the terms of the GNU General Public License as published by
9515 # the Free Software Foundation; either version 2 of the License, or
9516 # (at your option) any later version.
9518 # This program is distributed in the hope that it will be useful, but
9519 # WITHOUT ANY WARRANTY; without even the implied warranty of
9520 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
9521 # General Public License for more details.
9523 # You should have received a copy of the GNU General Public License
9524 # along with this program; if not, write to the Free Software
9525 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
9527 # As a special exception to the GNU General Public License, if you
9528 # distribute this file as part of a program that contains a
9529 # configuration script generated by Autoconf, you may include it under
9530 # the same distribution terms that you use for the rest of that program.
9532 # A sed program that does not truncate output.
9535 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
9536 Xsed="$SED -e 1s/^X//"
9538 # The HP-UX ksh and POSIX shell print the target directory to stdout
9540 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
9542 # The names of the tagged configurations supported by this script.
9545 # ### BEGIN LIBTOOL CONFIG
9547 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
9549 # Shell to use when invoking shell scripts.
9552 # Whether or not to build shared libraries.
9553 build_libtool_libs=$enable_shared
9555 # Whether or not to build static libraries.
9556 build_old_libs=$enable_static
9558 # Whether or not to add -lc for building shared libraries.
9559 build_libtool_need_lc=$archive_cmds_need_lc
9561 # Whether or not to disallow shared libs when runtime libs are static
9562 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
9564 # Whether or not to optimize for fast installation.
9565 fast_install=$enable_fast_install
9568 host_alias=$host_alias
9573 build_alias=$build_alias
9577 # An echo program that does not interpret backslashes.
9582 AR_FLAGS=$lt_AR_FLAGS
9587 # LTCC compiler flags.
9588 LTCFLAGS=$lt_LTCFLAGS
9590 # A language-specific compiler.
9593 # Is the compiler the GNU C compiler?
9596 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
9597 gcc_ver=\`gcc -dumpversion\`
9602 # The linker used to build libraries.
9605 # Whether we need hard or soft links.
9608 # A BSD-compatible nm program.
9611 # A symbol stripping program
9614 # Used to examine libraries when file_magic_cmd begins "file"
9615 MAGIC_CMD=$MAGIC_CMD
9617 # Used on cygwin: DLL creation program.
9620 # Used on cygwin: object dumper.
9623 # Used on cygwin: assembler.
9626 # The name of the directory that contains temporary libtool files.
9629 # How to create reloadable object files.
9630 reload_flag=$lt_reload_flag
9631 reload_cmds=$lt_reload_cmds
9633 # How to pass a linker flag through the compiler.
9634 wl=$lt_lt_prog_compiler_wl
9636 # Object file suffix (normally "o").
9639 # Old archive suffix (normally "a").
9642 # Shared library suffix (normally ".so").
9643 shrext_cmds='$shrext_cmds'
9645 # Executable file suffix (normally "").
9648 # Additional compiler flags for building library objects.
9649 pic_flag=$lt_lt_prog_compiler_pic
9652 # What is the maximum length of a command?
9653 max_cmd_len=$lt_cv_sys_max_cmd_len
9655 # Does compiler simultaneously support -c and -o options?
9656 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
9658 # Must we lock files when doing compilation?
9659 need_locks=$lt_need_locks
9661 # Do we need the lib prefix for modules?
9662 need_lib_prefix=$need_lib_prefix
9664 # Do we need a version for libraries?
9665 need_version=$need_version
9667 # Whether dlopen is supported.
9668 dlopen_support=$enable_dlopen
9670 # Whether dlopen of programs is supported.
9671 dlopen_self=$enable_dlopen_self
9673 # Whether dlopen of statically linked programs is supported.
9674 dlopen_self_static=$enable_dlopen_self_static
9676 # Compiler flag to prevent dynamic linking.
9677 link_static_flag=$lt_lt_prog_compiler_static
9679 # Compiler flag to turn off builtin functions.
9680 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
9682 # Compiler flag to allow reflexive dlopens.
9683 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
9685 # Compiler flag to generate shared objects directly from archives.
9686 whole_archive_flag_spec=$lt_whole_archive_flag_spec
9688 # Compiler flag to generate thread-safe objects.
9689 thread_safe_flag_spec=$lt_thread_safe_flag_spec
9691 # Library versioning type.
9692 version_type=$version_type
9694 # Format of library name prefix.
9695 libname_spec=$lt_libname_spec
9697 # List of archive names. First name is the real one, the rest are links.
9698 # The last name is the one that the linker finds with -lNAME.
9699 library_names_spec=$lt_library_names_spec
9701 # The coded name of the library, if different from the real name.
9702 soname_spec=$lt_soname_spec
9704 # Commands used to build and install an old-style archive.
9706 old_archive_cmds=$lt_old_archive_cmds
9707 old_postinstall_cmds=$lt_old_postinstall_cmds
9708 old_postuninstall_cmds=$lt_old_postuninstall_cmds
9710 # Create an old-style archive from a shared archive.
9711 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
9713 # Create a temporary old-style archive to link instead of a shared archive.
9714 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
9716 # Commands used to build and install a shared archive.
9717 archive_cmds=$lt_archive_cmds
9718 archive_expsym_cmds=$lt_archive_expsym_cmds
9719 postinstall_cmds=$lt_postinstall_cmds
9720 postuninstall_cmds=$lt_postuninstall_cmds
9722 # Commands used to build a loadable module (assumed same as above if empty)
9723 module_cmds=$lt_module_cmds
9724 module_expsym_cmds=$lt_module_expsym_cmds
9726 # Commands to strip libraries.
9727 old_striplib=$lt_old_striplib
9728 striplib=$lt_striplib
9730 # Dependencies to place before the objects being linked to create a
9732 predep_objects=\`echo $lt_predep_objects | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
9734 # Dependencies to place after the objects being linked to create a
9736 postdep_objects=\`echo $lt_postdep_objects | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
9738 # Dependencies to place before the objects being linked to create a
9742 # Dependencies to place after the objects being linked to create a
9744 postdeps=$lt_postdeps
9746 # The library search path used internally by the compiler when linking
9748 compiler_lib_search_path=\`echo $lt_compiler_lib_search_path | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
9750 # Method to check whether dependent libraries are shared objects.
9751 deplibs_check_method=$lt_deplibs_check_method
9753 # Command to use when deplibs_check_method == file_magic.
9754 file_magic_cmd=$lt_file_magic_cmd
9756 # Flag that allows shared libraries with undefined symbols to be built.
9757 allow_undefined_flag=$lt_allow_undefined_flag
9759 # Flag that forces no undefined symbols.
9760 no_undefined_flag=$lt_no_undefined_flag
9762 # Commands used to finish a libtool library installation in a directory.
9763 finish_cmds=$lt_finish_cmds
9765 # Same as above, but a single script fragment to be evaled but not shown.
9766 finish_eval=$lt_finish_eval
9768 # Take the output of nm and produce a listing of raw symbols and C names.
9769 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
9771 # Transform the output of nm in a proper C declaration
9772 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
9774 # Transform the output of nm in a C name address pair
9775 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
9777 # This is the shared library runtime path variable.
9778 runpath_var=$runpath_var
9780 # This is the shared library path variable.
9781 shlibpath_var=$shlibpath_var
9783 # Is shlibpath searched before the hard-coded library search path?
9784 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
9786 # How to hardcode a shared library path into an executable.
9787 hardcode_action=$hardcode_action
9789 # Whether we should hardcode library paths into libraries.
9790 hardcode_into_libs=$hardcode_into_libs
9792 # Flag to hardcode \$libdir into a binary during linking.
9793 # This must work even if \$libdir does not exist.
9794 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
9796 # If ld is used when linking, flag to hardcode \$libdir into
9797 # a binary during linking. This must work even if \$libdir does
9799 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
9801 # Whether we need a single -rpath flag with a separated argument.
9802 hardcode_libdir_separator=$lt_hardcode_libdir_separator
9804 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
9806 hardcode_direct=$hardcode_direct
9808 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
9810 hardcode_minus_L=$hardcode_minus_L
9812 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
9813 # the resulting binary.
9814 hardcode_shlibpath_var=$hardcode_shlibpath_var
9816 # Set to yes if building a shared library automatically hardcodes DIR into the library
9817 # and all subsequent libraries and executables linked against it.
9818 hardcode_automatic=$hardcode_automatic
9820 # Variables whose values should be saved in libtool wrapper scripts and
9821 # restored at relink time.
9822 variables_saved_for_relink="$variables_saved_for_relink"
9824 # Whether libtool must link a program against all its dependency libraries.
9825 link_all_deplibs=$link_all_deplibs
9827 # Compile-time system search path for libraries
9828 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"\`
9830 # Run-time system search path for libraries
9831 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
9833 # Fix the shell variable \$srcfile for the compiler.
9834 fix_srcfile_path="$fix_srcfile_path"
9836 # Set to yes if exported symbols are required.
9837 always_export_symbols=$always_export_symbols
9839 # The commands to list exported symbols.
9840 export_symbols_cmds=$lt_export_symbols_cmds
9842 # The commands to extract the exported symbol list from a shared archive.
9843 extract_expsyms_cmds=$lt_extract_expsyms_cmds
9845 # Symbols that should not be listed in the preloaded symbols.
9846 exclude_expsyms=$lt_exclude_expsyms
9848 # Symbols that must always be exported.
9849 include_expsyms=$lt_include_expsyms
9851 # ### END LIBTOOL CONFIG
9858 cat <<\EOF
>> "$cfgfile"
9860 # AIX sometimes has problems with the GCC collect2 program. For some
9861 # reason, if we set the COLLECT_NAMES environment variable, the problems
9862 # vanish in a puff of smoke.
9863 if test "X${COLLECT_NAMES+set}" != Xset
; then
9865 export COLLECT_NAMES
9871 # We use sed instead of cat because bash on DJGPP gets confused if
9872 # if finds mixed CR/LF and LF-only lines. Since sed operates in
9873 # text mode, it properly converts lines to CR/LF. This bash problem
9874 # is reportedly fixed, but why not run on old versions too?
9875 sed '$q' "$ltmain" >> "$cfgfile" ||
(rm -f "$cfgfile"; exit 1)
9877 mv -f "$cfgfile" "$ofile" || \
9878 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
9882 # If there is no Makefile yet, we rely on a make rule to execute
9883 # `config.status --recheck' to rerun these tests and create the
9884 # libtool script then.
9885 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
9886 if test -f "$ltmain_in"; then
9887 test -f Makefile
&& make "$ltmain"
9893 ac_cpp
='$CPP $CPPFLAGS'
9894 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9895 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9896 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9901 # Check whether --with-tags or --without-tags was given.
9902 if test "${with_tags+set}" = set; then
9903 withval
="$with_tags"
9907 if test -f "$ltmain" && test -n "$tagnames"; then
9908 if test ! -f "${ofile}"; then
9909 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
9910 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
9913 if test -z "$LTCC"; then
9914 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
9915 if test -z "$LTCC"; then
9916 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
9917 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
9919 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
9920 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
9923 if test -z "$LTCFLAGS"; then
9924 eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
9927 # Extract list of available tagged configurations in $ofile.
9928 # Note that this assumes the entire list is on one line.
9929 available_tags
=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
9931 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9932 for tagname
in $tagnames; do
9934 # Check whether tagname contains only valid characters
9935 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
9937 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
9938 echo "$as_me: error: invalid tag name: $tagname" >&2;}
9939 { (exit 1); exit 1; }; }
9943 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev
/null
9945 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
9946 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
9947 { (exit 1); exit 1; }; }
9950 # Update the list of available tags.
9951 if test -n "$tagname"; then
9952 echo appending configuration tag
\"$tagname\" to
$ofile
9956 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
9957 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
9958 (test "X$CXX" != "Xg++"))) ; then
9960 ac_cpp
='$CXXCPP $CPPFLAGS'
9961 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9962 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9963 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
9968 archive_cmds_need_lc_CXX
=no
9969 allow_undefined_flag_CXX
=
9970 always_export_symbols_CXX
=no
9971 archive_expsym_cmds_CXX
=
9972 export_dynamic_flag_spec_CXX
=
9973 hardcode_direct_CXX
=no
9974 hardcode_libdir_flag_spec_CXX
=
9975 hardcode_libdir_flag_spec_ld_CXX
=
9976 hardcode_libdir_separator_CXX
=
9977 hardcode_minus_L_CXX
=no
9978 hardcode_shlibpath_var_CXX
=unsupported
9979 hardcode_automatic_CXX
=no
9981 module_expsym_cmds_CXX
=
9982 link_all_deplibs_CXX
=unknown
9983 old_archive_cmds_CXX
=$old_archive_cmds
9984 no_undefined_flag_CXX
=
9985 whole_archive_flag_spec_CXX
=
9986 enable_shared_with_static_runtimes_CXX
=no
9988 # Dependencies to place before and after the object being linked:
9990 postdep_objects_CXX
=
9993 compiler_lib_search_path_CXX
=
9995 # Source file extension for C++ test sources.
9998 # Object file extension for compiled C++ test sources.
10002 # Code to be used in simple compile tests
10003 lt_simple_compile_test_code
="int some_variable = 0;\n"
10005 # Code to be used in simple link tests
10006 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }\n'
10008 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10010 # If no C compiler was specified, use CC.
10013 # If no C compiler flags were specified, use CFLAGS.
10014 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
10016 # Allow CC to be a program name with arguments.
10020 # save warnings/boilerplate of simple test code
10021 ac_outfile
=conftest.
$ac_objext
10022 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
10023 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
10024 _lt_compiler_boilerplate
=`cat conftest.err`
10027 ac_outfile
=conftest.
$ac_objext
10028 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
10029 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
10030 _lt_linker_boilerplate
=`cat conftest.err`
10034 # Allow CC to be a program name with arguments.
10039 lt_save_with_gnu_ld
=$with_gnu_ld
10040 lt_save_path_LD
=$lt_cv_path_LD
10041 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10042 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
10044 $as_unset lt_cv_prog_gnu_ld
10046 if test -n "${lt_cv_path_LDCXX+set}"; then
10047 lt_cv_path_LD
=$lt_cv_path_LDCXX
10049 $as_unset lt_cv_path_LD
10051 test -z "${LDCXX+set}" || LD
=$LDCXX
10055 for cc_temp
in $compiler""; do
10057 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
10058 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
10063 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10066 # We don't want -fno-exception wen compiling C++ code, so set the
10067 # no_builtin_flag separately
10068 if test "$GXX" = yes; then
10069 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
10071 lt_prog_compiler_no_builtin_flag_CXX
=
10074 if test "$GXX" = yes; then
10075 # Set up default GNU C++ configuration
10078 # Check whether --with-gnu-ld or --without-gnu-ld was given.
10079 if test "${with_gnu_ld+set}" = set; then
10080 withval
="$with_gnu_ld"
10081 test "$withval" = no || with_gnu_ld
=yes
10086 if test "$GCC" = yes; then
10087 # Check if gcc -print-prog-name=ld gives a path.
10088 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10089 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
10092 # gcc leaves a trailing carriage return which upsets mingw
10093 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10095 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
10098 # Accept absolute paths.
10100 re_direlt
='/[^/][^/]*/\.\./'
10101 # Canonicalize the pathname of ld
10102 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
10103 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
10104 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
10106 test -z "$LD" && LD
="$ac_prog"
10109 # If it fails, then pretend we aren't using GCC.
10113 # If it is relative, then search for the first ld in PATH.
10114 with_gnu_ld
=unknown
10117 elif test "$with_gnu_ld" = yes; then
10118 echo "$as_me:$LINENO: checking for GNU ld" >&5
10119 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
10121 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10122 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
10124 if test "${lt_cv_path_LD+set}" = set; then
10125 echo $ECHO_N "(cached) $ECHO_C" >&6
10127 if test -z "$LD"; then
10128 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
10129 for ac_dir
in $PATH; do
10131 test -z "$ac_dir" && ac_dir
=.
10132 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
10133 lt_cv_path_LD
="$ac_dir/$ac_prog"
10134 # Check to see if the program is GNU ld. I'd rather use --version,
10135 # but apparently some variants of GNU ld only accept -v.
10136 # Break only if it was the GNU/non-GNU ld that we prefer.
10137 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
10138 *GNU
* |
*'with BFD'*)
10139 test "$with_gnu_ld" != no
&& break
10142 test "$with_gnu_ld" != yes && break
10149 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
10153 LD
="$lt_cv_path_LD"
10154 if test -n "$LD"; then
10155 echo "$as_me:$LINENO: result: $LD" >&5
10156 echo "${ECHO_T}$LD" >&6
10158 echo "$as_me:$LINENO: result: no" >&5
10159 echo "${ECHO_T}no" >&6
10161 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10162 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10163 { (exit 1); exit 1; }; }
10164 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10165 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
10166 if test "${lt_cv_prog_gnu_ld+set}" = set; then
10167 echo $ECHO_N "(cached) $ECHO_C" >&6
10169 # I'd rather use --version here, but apparently some GNU lds only accept -v.
10170 case `$LD -v 2>&1 </dev/null` in
10171 *GNU
* |
*'with BFD'*)
10172 lt_cv_prog_gnu_ld
=yes
10175 lt_cv_prog_gnu_ld
=no
10179 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10180 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
10181 with_gnu_ld
=$lt_cv_prog_gnu_ld
10185 # Check if GNU C++ uses GNU ld as the underlying linker, since the
10186 # archiving commands below assume that GNU ld is being used.
10187 if test "$with_gnu_ld" = yes; then
10188 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10189 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'
10191 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
10192 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10194 # If archive_cmds runs LD, not CC, wlarc should be empty
10195 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
10196 # investigate it a little bit more. (MM)
10199 # ancient GNU ld didn't support --whole-archive et. al.
10200 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
10201 grep 'no-whole-archive' > /dev
/null
; then
10202 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10204 whole_archive_flag_spec_CXX
=
10210 # A generic and very simple default shared library creation
10211 # command for GNU C++ for the case where it uses the native
10212 # linker, instead of GNU ld. If possible, this setting should
10213 # overridden to take advantage of the native linker features on
10214 # the platform it is being used on.
10215 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10218 # Commands to make compiler produce verbose output that lists
10219 # what "hidden" libraries, object files and flags are used when
10220 # linking a shared library.
10221 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10229 # PORTME: fill in a description of your system's C++ link characteristics
10230 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10231 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
10235 # FIXME: insert proper C++ library support
10239 if test "$host_cpu" = ia64
; then
10240 # On IA64, the linker does run time linking by default, so we don't
10241 # have to do anything special.
10242 aix_use_runtimelinking
=no
10243 exp_sym_flag
='-Bexport'
10246 aix_use_runtimelinking
=no
10248 # Test if we are trying to use run time linking or normal
10249 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10250 # need to do runtime linking.
10251 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
10252 for ld_flag
in $LDFLAGS; do
10255 aix_use_runtimelinking
=yes
10263 exp_sym_flag
='-bexport'
10264 no_entry_flag
='-bnoentry'
10267 # When large executables or shared objects are built, AIX ld can
10268 # have problems creating the table of contents. If linking a library
10269 # or program results in "error TOC overflow" add -mminimal-toc to
10270 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10271 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10273 archive_cmds_CXX
=''
10274 hardcode_direct_CXX
=yes
10275 hardcode_libdir_separator_CXX
=':'
10276 link_all_deplibs_CXX
=yes
10278 if test "$GXX" = yes; then
10279 case $host_os in aix4.
[012]|aix4.
[012].
*)
10280 # We only want to do this on AIX 4.2 and lower, the check
10281 # below for broken collect2 doesn't work under 4.3+
10282 collect2name
=`${CC} -print-prog-name=collect2`
10283 if test -f "$collect2name" && \
10284 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
10286 # We have reworked collect2
10287 hardcode_direct_CXX
=yes
10289 # We have old collect2
10290 hardcode_direct_CXX
=unsupported
10291 # It fails to find uninstalled libraries when the uninstalled
10292 # path is not listed in the libpath. Setting hardcode_minus_L
10293 # to unsupported forces relinking
10294 hardcode_minus_L_CXX
=yes
10295 hardcode_libdir_flag_spec_CXX
='-L$libdir'
10296 hardcode_libdir_separator_CXX
=
10300 shared_flag
='-shared'
10301 if test "$aix_use_runtimelinking" = yes; then
10302 shared_flag
="$shared_flag "'${wl}-G'
10306 if test "$host_cpu" = ia64
; then
10307 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10308 # chokes on -Wl,-G. The following line is correct:
10311 if test "$aix_use_runtimelinking" = yes; then
10312 shared_flag
='${wl}-G'
10314 shared_flag
='${wl}-bM:SRE'
10319 # It seems that -bexpall does not export symbols beginning with
10320 # underscore (_), so it is better to generate a list of symbols to export.
10321 always_export_symbols_CXX
=yes
10322 if test "$aix_use_runtimelinking" = yes; then
10323 # Warning - without using the other runtime loading flags (-brtl),
10324 # -berok will link without error, but may produce a broken library.
10325 allow_undefined_flag_CXX
='-berok'
10326 # Determine the default libpath from the value encoded in an empty executable.
10327 cat >conftest.
$ac_ext <<_ACEOF
10330 cat confdefs.h
>>conftest.
$ac_ext
10331 cat >>conftest.
$ac_ext <<_ACEOF
10332 /* end confdefs.h. */
10342 rm -f conftest.
$ac_objext conftest
$ac_exeext
10343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10344 (eval $ac_link) 2>conftest.er1
10346 grep -v '^ *+' conftest.er1
>conftest.err
10348 cat conftest.err
>&5
10349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10350 (exit $ac_status); } &&
10351 { ac_try
='test -z "$ac_cxx_werror_flag"
10352 || test ! -s conftest.err'
10353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10354 (eval $ac_try) 2>&5
10356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10357 (exit $ac_status); }; } &&
10358 { ac_try
='test -s conftest$ac_exeext'
10359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10360 (eval $ac_try) 2>&5
10362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10363 (exit $ac_status); }; }; then
10365 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10367 # Check for a 64-bit object if we didn't find anything.
10368 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; }
10371 echo "$as_me: failed program was:" >&5
10372 sed 's/^/| /' conftest.
$ac_ext >&5
10375 rm -f conftest.err conftest.
$ac_objext \
10376 conftest
$ac_exeext conftest.
$ac_ext
10377 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10379 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
10381 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"
10383 if test "$host_cpu" = ia64
; then
10384 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
10385 allow_undefined_flag_CXX
="-z nodefs"
10386 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"
10388 # Determine the default libpath from the value encoded in an empty executable.
10389 cat >conftest.
$ac_ext <<_ACEOF
10392 cat confdefs.h
>>conftest.
$ac_ext
10393 cat >>conftest.
$ac_ext <<_ACEOF
10394 /* end confdefs.h. */
10404 rm -f conftest.
$ac_objext conftest
$ac_exeext
10405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10406 (eval $ac_link) 2>conftest.er1
10408 grep -v '^ *+' conftest.er1
>conftest.err
10410 cat conftest.err
>&5
10411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10412 (exit $ac_status); } &&
10413 { ac_try
='test -z "$ac_cxx_werror_flag"
10414 || test ! -s conftest.err'
10415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10416 (eval $ac_try) 2>&5
10418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10419 (exit $ac_status); }; } &&
10420 { ac_try
='test -s conftest$ac_exeext'
10421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10422 (eval $ac_try) 2>&5
10424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10425 (exit $ac_status); }; }; then
10427 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10429 # Check for a 64-bit object if we didn't find anything.
10430 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; }
10433 echo "$as_me: failed program was:" >&5
10434 sed 's/^/| /' conftest.
$ac_ext >&5
10437 rm -f conftest.err conftest.
$ac_objext \
10438 conftest
$ac_exeext conftest.
$ac_ext
10439 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10441 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
10442 # Warning - without using the other run time loading flags,
10443 # -berok will link without error, but may produce a broken library.
10444 no_undefined_flag_CXX
=' ${wl}-bernotok'
10445 allow_undefined_flag_CXX
=' ${wl}-berok'
10446 # Exported symbols can be pulled into shared objects from archives
10447 whole_archive_flag_spec_CXX
='$convenience'
10448 archive_cmds_need_lc_CXX
=yes
10449 # This is similar to how AIX traditionally builds its shared libraries.
10450 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'
10456 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
10457 allow_undefined_flag_CXX
=unsupported
10458 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10459 # support --undefined. This deserves some investigation. FIXME
10460 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10467 case $cc_basename in
10469 # FIXME: insert proper C++ library support
10475 cygwin
* | mingw
* | pw32
*)
10476 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
10477 # as there is no search path for DLLs.
10478 hardcode_libdir_flag_spec_CXX
='-L$libdir'
10479 allow_undefined_flag_CXX
=unsupported
10480 always_export_symbols_CXX
=no
10481 enable_shared_with_static_runtimes_CXX
=yes
10483 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
10484 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'
10485 # If the export-symbols file already is a .def file (1st line
10486 # is EXPORTS), use it as is; otherwise, prepend...
10487 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10488 cp $export_symbols $output_objdir/$soname.def;
10490 echo EXPORTS > $output_objdir/$soname.def;
10491 cat $export_symbols >> $output_objdir/$soname.def;
10493 $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'
10498 darwin
* | rhapsody
*)
10500 rhapsody
* | darwin1.
[012])
10501 allow_undefined_flag_CXX
='${wl}-undefined ${wl}suppress'
10504 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10505 allow_undefined_flag_CXX
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10507 case ${MACOSX_DEPLOYMENT_TARGET} in
10509 allow_undefined_flag_CXX
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10512 allow_undefined_flag_CXX
='${wl}-undefined ${wl}dynamic_lookup'
10518 archive_cmds_need_lc_CXX
=no
10519 hardcode_direct_CXX
=no
10520 hardcode_automatic_CXX
=yes
10521 hardcode_shlibpath_var_CXX
=unsupported
10522 whole_archive_flag_spec_CXX
=''
10523 link_all_deplibs_CXX
=yes
10525 if test "$GXX" = yes ; then
10526 lt_int_apple_cc_single_mod
=no
10527 output_verbose_link_cmd
='echo'
10528 if $CC -dumpspecs 2>&1 |
$EGREP 'single_module' >/dev
/null
; then
10529 lt_int_apple_cc_single_mod
=yes
10531 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
10532 archive_cmds_CXX
='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10534 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'
10536 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10537 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10538 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
10539 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}'
10541 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}'
10543 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}'
10545 case $cc_basename in
10547 output_verbose_link_cmd
='echo'
10548 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'
10549 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10550 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10551 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}'
10552 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}'
10562 case $cc_basename in
10564 # FIXME: insert proper C++ library support
10568 # Green Hills C++ Compiler
10569 # FIXME: insert proper C++ library support
10573 # FIXME: insert proper C++ library support
10579 # C++ shared libraries reported to be fairly broken before switch to ELF
10583 archive_cmds_need_lc_CXX
=no
10585 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
10586 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
10593 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
10594 hardcode_libdir_separator_CXX
=:
10595 export_dynamic_flag_spec_CXX
='${wl}-E'
10596 hardcode_direct_CXX
=yes
10597 hardcode_minus_L_CXX
=yes # Not in the search PATH,
10598 # but as the default
10599 # location of the library.
10601 case $cc_basename in
10603 # FIXME: insert proper C++ library support
10607 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'
10608 # Commands to make compiler produce verbose output that lists
10609 # what "hidden" libraries, object files and flags are used when
10610 # linking a shared library.
10612 # There doesn't appear to be a way to prevent this compiler from
10613 # explicitly linking system object files so we need to strip them
10614 # from the output so that they don't get included in the library
10616 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'
10619 if test "$GXX" = yes; then
10620 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'
10622 # FIXME: insert proper C++ library support
10629 if test $with_gnu_ld = no
; then
10630 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
10631 hardcode_libdir_separator_CXX
=:
10635 hardcode_libdir_flag_spec_ld_CXX
='+b $libdir'
10638 export_dynamic_flag_spec_CXX
='${wl}-E'
10644 hardcode_direct_CXX
=no
10645 hardcode_shlibpath_var_CXX
=no
10648 hardcode_direct_CXX
=yes
10649 hardcode_minus_L_CXX
=yes # Not in the search PATH,
10650 # but as the default
10651 # location of the library.
10655 case $cc_basename in
10657 # FIXME: insert proper C++ library support
10663 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10666 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10669 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10672 # Commands to make compiler produce verbose output that lists
10673 # what "hidden" libraries, object files and flags are used when
10674 # linking a shared library.
10676 # There doesn't appear to be a way to prevent this compiler from
10677 # explicitly linking system object files so we need to strip them
10678 # from the output so that they don't get included in the library
10680 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'
10683 if test "$GXX" = yes; then
10684 if test $with_gnu_ld = no
; then
10687 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10690 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10693 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'
10698 # FIXME: insert proper C++ library support
10705 hardcode_direct_CXX
=no
10706 hardcode_shlibpath_var_CXX
=no
10707 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10708 export_dynamic_flag_spec_CXX
='${wl}-E'
10709 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10710 # Instead, shared libraries are loaded at an image base (0x10000000 by
10711 # default) and relocated if they conflict, which is a slow very memory
10712 # consuming and fragmenting process. To avoid this, we pick a random,
10713 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10714 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10715 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'
10716 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'
10719 case $cc_basename in
10722 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'
10724 # Archives containing C++ object files must be created using
10725 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
10726 # necessary to make sure instantiated templates are included
10728 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
10731 if test "$GXX" = yes; then
10732 if test "$with_gnu_ld" = no
; then
10733 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'
10735 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'
10738 link_all_deplibs_CXX
=yes
10741 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10742 hardcode_libdir_separator_CXX
=:
10745 case $cc_basename in
10747 # Kuck and Associates, Inc. (KAI) C++ Compiler
10749 # KCC will only create a shared library if the output file
10750 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10751 # to its proper name (with version) after linking.
10752 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'
10753 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'
10754 # Commands to make compiler produce verbose output that lists
10755 # what "hidden" libraries, object files and flags are used when
10756 # linking a shared library.
10758 # There doesn't appear to be a way to prevent this compiler from
10759 # explicitly linking system object files so we need to strip them
10760 # from the output so that they don't get included in the library
10762 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'
10764 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
10765 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10767 # Archives containing C++ object files must be created using
10768 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10769 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
10774 # version 8.0 and above of icpc choke on multiply defined symbols
10775 # if we add $predep_objects and $postdep_objects, however 7.1 and
10776 # earlier do not add the objects themselves.
10777 case `$CC -V 2>&1` in
10779 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10780 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'
10782 *) # Version 8.0 or newer
10785 ia64
*) tmp_idyn
=' -i_dynamic';;
10787 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10788 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'
10791 archive_cmds_need_lc_CXX
=no
10792 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10793 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10794 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10797 # Portland Group C++ compiler
10798 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
10799 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'
10801 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
10802 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10803 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'
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 -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
10810 runpath_var
=LD_RUN_PATH
10811 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
10812 hardcode_libdir_separator_CXX
=:
10814 # Commands to make compiler produce verbose output that lists
10815 # what "hidden" libraries, object files and flags are used when
10816 # linking a shared library.
10818 # There doesn't appear to be a way to prevent this compiler from
10819 # explicitly linking system object files so we need to strip them
10820 # from the output so that they don't get included in the library
10822 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'
10827 # FIXME: insert proper C++ library support
10831 # FIXME: insert proper C++ library support
10835 case $cc_basename in
10837 # FIXME: insert proper C++ library support
10841 # FIXME: insert proper C++ library support
10847 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
10848 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10850 hardcode_libdir_flag_spec_CXX
='-R$libdir'
10851 hardcode_direct_CXX
=yes
10852 hardcode_shlibpath_var_CXX
=no
10854 # Workaround some broken pre-1.5 toolchains
10855 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
10858 # C++ shared libraries are fairly broken
10862 hardcode_direct_CXX
=yes
10863 hardcode_shlibpath_var_CXX
=no
10864 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10865 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10866 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10867 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
10868 export_dynamic_flag_spec_CXX
='${wl}-E'
10869 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10871 output_verbose_link_cmd
='echo'
10874 case $cc_basename in
10876 # Kuck and Associates, Inc. (KAI) C++ Compiler
10878 # KCC will only create a shared library if the output file
10879 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10880 # to its proper name (with version) after linking.
10881 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'
10883 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10884 hardcode_libdir_separator_CXX
=:
10886 # Archives containing C++ object files must be created using
10887 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10888 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
10892 # Rational C++ 2.4.1
10893 # FIXME: insert proper C++ library support
10897 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
10898 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'
10900 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10901 hardcode_libdir_separator_CXX
=:
10903 # Commands to make compiler produce verbose output that lists
10904 # what "hidden" libraries, object files and flags are used when
10905 # linking a shared library.
10907 # There doesn't appear to be a way to prevent this compiler from
10908 # explicitly linking system object files so we need to strip them
10909 # from the output so that they don't get included in the library
10911 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'
10914 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
10915 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
10916 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'
10918 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10919 hardcode_libdir_separator_CXX
=:
10921 # Commands to make compiler produce verbose output that lists
10922 # what "hidden" libraries, object files and flags are used when
10923 # linking a shared library.
10924 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10927 # FIXME: insert proper C++ library support
10934 case $cc_basename in
10936 # Kuck and Associates, Inc. (KAI) C++ Compiler
10938 # KCC will only create a shared library if the output file
10939 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10940 # to its proper name (with version) after linking.
10941 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'
10943 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10944 hardcode_libdir_separator_CXX
=:
10946 # Archives containing C++ object files must be created using
10947 # the KAI C++ compiler.
10948 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
10951 # Rational C++ 2.4.1
10952 # FIXME: insert proper C++ library support
10956 allow_undefined_flag_CXX
=' -expect_unresolved \*'
10957 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'
10958 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
10959 echo "-hidden">> $lib.exp~
10960 $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~
10963 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
10964 hardcode_libdir_separator_CXX
=:
10966 # Commands to make compiler produce verbose output that lists
10967 # what "hidden" libraries, object files and flags are used when
10968 # linking a shared library.
10970 # There doesn't appear to be a way to prevent this compiler from
10971 # explicitly linking system object files so we need to strip them
10972 # from the output so that they don't get included in the library
10974 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'
10977 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
10978 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
10979 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'
10981 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10982 hardcode_libdir_separator_CXX
=:
10984 # Commands to make compiler produce verbose output that lists
10985 # what "hidden" libraries, object files and flags are used when
10986 # linking a shared library.
10987 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10990 # FIXME: insert proper C++ library support
10997 # FIXME: insert proper C++ library support
11001 case $cc_basename in
11004 # FIXME: insert proper C++ library support
11009 # FIXME: insert proper C++ library support
11013 # FIXME: insert proper C++ library support
11019 case $cc_basename in
11021 # Sun C++ 4.2, 5.x and Centerline C++
11022 archive_cmds_need_lc_CXX
=yes
11023 no_undefined_flag_CXX
=' -zdefs'
11024 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11025 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11026 $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'
11028 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11029 hardcode_shlibpath_var_CXX
=no
11031 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11033 # The C++ compiler is used as linker so we must use $wl
11034 # flag to pass the commands to the underlying system
11035 # linker. We must also pass each convience library through
11036 # to the system linker between allextract/defaultextract.
11037 # The C++ compiler will combine linker options so we
11038 # cannot just pass the convience library names through
11040 # Supported since Solaris 2.6 (maybe 2.5.1?)
11041 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'
11044 link_all_deplibs_CXX
=yes
11046 output_verbose_link_cmd
='echo'
11048 # Archives containing C++ object files must be created using
11049 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11050 # necessary to make sure instantiated templates are included
11052 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11055 # Green Hills C++ Compiler
11056 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11058 # The C++ compiler must be used to create the archive.
11059 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
11062 # GNU C++ compiler with Solaris linker
11063 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11064 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
11065 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
11066 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11067 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11068 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11070 # Commands to make compiler produce verbose output that lists
11071 # what "hidden" libraries, object files and flags are used when
11072 # linking a shared library.
11073 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11075 # g++ 2.7 appears to require `-G' NOT `-shared' on this
11077 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11078 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11079 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11081 # Commands to make compiler produce verbose output that lists
11082 # what "hidden" libraries, object files and flags are used when
11083 # linking a shared library.
11084 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11087 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
11092 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11093 no_undefined_flag_CXX
='${wl}-z,text'
11094 archive_cmds_need_lc_CXX
=no
11095 hardcode_shlibpath_var_CXX
=no
11096 runpath_var
='LD_RUN_PATH'
11098 case $cc_basename in
11100 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11101 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11104 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11105 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11109 sysv5
* | sco3.2v5
* | sco5v6
*)
11110 # Note: We can NOT use -z defs as we might desire, because we do not
11111 # link with -lc, and that would cause any symbols used from libc to
11112 # always be unresolved, which means just about no library would
11113 # ever link correctly. If we're not using GNU ld we use -z text
11114 # though, which does catch some bad symbols but isn't as heavy-handed
11116 # For security reasons, it is highly recommended that you always
11117 # use absolute paths for naming shared libraries, and exclude the
11118 # DT_RUNPATH tag from executables and libraries. But doing so
11119 # requires that you compile everything twice, which is a pain.
11120 # So that behaviour is only enabled if SCOABSPATH is set to a
11121 # non-empty value in the environment. Most likely only useful for
11122 # creating official distributions of packages.
11123 # This is a hack until libtool officially supports absolute path
11124 # names for shared libraries.
11125 no_undefined_flag_CXX
='${wl}-z,text'
11126 allow_undefined_flag_CXX
='${wl}-z,nodefs'
11127 archive_cmds_need_lc_CXX
=no
11128 hardcode_shlibpath_var_CXX
=no
11129 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
11130 hardcode_libdir_separator_CXX
=':'
11131 link_all_deplibs_CXX
=yes
11132 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
11133 runpath_var
='LD_RUN_PATH'
11135 case $cc_basename in
11137 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11138 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11141 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11142 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11147 case $cc_basename in
11149 # NonStop-UX NCC 3.20
11150 # FIXME: insert proper C++ library support
11154 # FIXME: insert proper C++ library support
11160 # FIXME: insert proper C++ library support
11164 # FIXME: insert proper C++ library support
11168 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11169 echo "${ECHO_T}$ld_shlibs_CXX" >&6
11170 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
11176 cat > conftest.
$ac_ext <<EOF
11180 Foo (void) { a = 0; }
11186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11187 (eval $ac_compile) 2>&5
11189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11190 (exit $ac_status); }; then
11191 # Parse the compiler output and extract the necessary
11192 # objects, libraries and library flags.
11194 # Sentinel used to keep track of whether or not we are before
11195 # the conftest object file.
11196 pre_test_object_deps_done
=no
11198 # The `*' in the case matches for architectures that use `case' in
11199 # $output_verbose_cmd can trigger glob expansion during the loop
11200 # eval without this substitution.
11201 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
11203 for p
in `eval $output_verbose_link_cmd`; do
11207 # Some compilers place space between "-{L,R}" and the path.
11208 # Remove the space.
11209 if test $p = "-L" \
11210 ||
test $p = "-R"; then
11217 if test "$pre_test_object_deps_done" = no
; then
11220 # Internal compiler library paths should come after those
11221 # provided the user. The postdeps already come after the
11222 # user supplied libs so there is no need to process them.
11223 if test -z "$compiler_lib_search_path_CXX"; then
11224 compiler_lib_search_path_CXX
="${prev}${p}"
11226 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
11229 # The "-l" case would never come before the object being
11230 # linked, so don't bother handling this case.
11233 if test -z "$postdeps_CXX"; then
11234 postdeps_CXX
="${prev}${p}"
11236 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
11242 # This assumes that the test object file only shows up
11243 # once in the compiler output.
11244 if test "$p" = "conftest.$objext"; then
11245 pre_test_object_deps_done
=yes
11249 if test "$pre_test_object_deps_done" = no
; then
11250 if test -z "$predep_objects_CXX"; then
11251 predep_objects_CXX
="$p"
11253 predep_objects_CXX
="$predep_objects_CXX $p"
11256 if test -z "$postdep_objects_CXX"; then
11257 postdep_objects_CXX
="$p"
11259 postdep_objects_CXX
="$postdep_objects_CXX $p"
11264 *) ;; # Ignore the rest.
11272 echo "libtool.m4: error: problem compiling CXX test program"
11275 $rm -f confest.
$objext
11277 # PORTME: override above test on systems where it is broken
11280 # Interix 3.5 installs completely hosed .la files for C++, so rather than
11281 # hack all around it, let's just trust "g++" to DTRT.
11282 predep_objects_CXX
=
11283 postdep_objects_CXX
=
11288 case $cc_basename in
11290 # Adding this requires a known-good setup of shared libraries for
11291 # Sun compiler versions before 5.6, else PIC objects from an old
11292 # archive will be linked into the output, leading to subtle bugs.
11293 postdeps_CXX
='-lCstd -lCrun'
11300 case " $postdeps_CXX " in
11301 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
11304 lt_prog_compiler_wl_CXX
=
11305 lt_prog_compiler_pic_CXX
=
11306 lt_prog_compiler_static_CXX
=
11308 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11309 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
11311 # C++ specific cases for pic, static, wl, etc.
11312 if test "$GXX" = yes; then
11313 lt_prog_compiler_wl_CXX
='-Wl,'
11314 lt_prog_compiler_static_CXX
='-static'
11318 # All AIX code is PIC.
11319 if test "$host_cpu" = ia64
; then
11320 # AIX 5 now supports IA64 processor
11321 lt_prog_compiler_static_CXX
='-Bstatic'
11325 # FIXME: we need at least 68020 code to build shared libraries, but
11326 # adding the `-m68020' flag to GCC prevents building anything better,
11328 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
11330 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
11331 # PIC is the default for these OSes.
11333 mingw
* | os2
* | pw32
*)
11334 # This hack is so that the source file can tell whether it is being
11335 # built for inclusion in a dll (and should export symbols for example).
11336 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
11338 darwin
* | rhapsody
*)
11339 # PIC is the default on this platform
11340 # Common symbols not allowed in MH_DYLIB files
11341 lt_prog_compiler_pic_CXX
='-fno-common'
11344 # DJGPP does not support shared libraries at all
11345 lt_prog_compiler_pic_CXX
=
11348 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11349 # Instead, we relocate shared libraries at runtime.
11352 if test -d /usr
/nec
; then
11353 lt_prog_compiler_pic_CXX
=-Kconform_pic
11357 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11358 # not for PA HP-UX.
11363 lt_prog_compiler_pic_CXX
='-fPIC'
11368 lt_prog_compiler_pic_CXX
='-fPIC'
11374 # All AIX code is PIC.
11375 if test "$host_cpu" = ia64
; then
11376 # AIX 5 now supports IA64 processor
11377 lt_prog_compiler_static_CXX
='-Bstatic'
11379 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
11383 case $cc_basename in
11385 # Green Hills C++ Compiler
11386 # _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"
11391 # PIC is the default on this platform
11392 # Common symbols not allowed in MH_DYLIB files
11393 case $cc_basename in
11395 lt_prog_compiler_pic_CXX
='-qnocommon'
11396 lt_prog_compiler_wl_CXX
='-Wl,'
11401 case $cc_basename in
11403 lt_prog_compiler_pic_CXX
='-KPIC'
11406 # Green Hills C++ Compiler
11407 lt_prog_compiler_pic_CXX
='-pic'
11413 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
11414 # FreeBSD uses GNU C++
11416 hpux9
* | hpux10
* | hpux11
*)
11417 case $cc_basename in
11419 lt_prog_compiler_wl_CXX
='-Wl,'
11420 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
11421 if test "$host_cpu" != ia64
; then
11422 lt_prog_compiler_pic_CXX
='+Z'
11426 lt_prog_compiler_wl_CXX
='-Wl,'
11427 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
11433 lt_prog_compiler_pic_CXX
='+Z'
11442 # This is c89, which is MS Visual C++ (no shared libs)
11443 # Anyone wants to do a port?
11445 irix5
* | irix6
* | nonstopux
*)
11446 case $cc_basename in
11448 lt_prog_compiler_wl_CXX
='-Wl,'
11449 lt_prog_compiler_static_CXX
='-non_shared'
11450 # CC pic flag -KPIC is the default.
11457 case $cc_basename in
11460 lt_prog_compiler_wl_CXX
='--backend -Wl,'
11461 lt_prog_compiler_pic_CXX
='-fPIC'
11465 lt_prog_compiler_wl_CXX
='-Wl,'
11466 lt_prog_compiler_pic_CXX
='-KPIC'
11467 lt_prog_compiler_static_CXX
='-static'
11470 # Portland Group C++ compiler.
11471 lt_prog_compiler_wl_CXX
='-Wl,'
11472 lt_prog_compiler_pic_CXX
='-fpic'
11473 lt_prog_compiler_static_CXX
='-Bstatic'
11477 # Make sure the PIC flag is empty. It appears that all Alpha
11478 # Linux and Compaq Tru64 Unix objects are PIC.
11479 lt_prog_compiler_pic_CXX
=
11480 lt_prog_compiler_static_CXX
='-non_shared'
11491 case $cc_basename in
11493 lt_prog_compiler_pic_CXX
='-W c,exportall'
11501 osf3
* | osf4
* | osf5
*)
11502 case $cc_basename in
11504 lt_prog_compiler_wl_CXX
='--backend -Wl,'
11507 # Rational C++ 2.4.1
11508 lt_prog_compiler_pic_CXX
='-pic'
11511 # Digital/Compaq C++
11512 lt_prog_compiler_wl_CXX
='-Wl,'
11513 # Make sure the PIC flag is empty. It appears that all Alpha
11514 # Linux and Compaq Tru64 Unix objects are PIC.
11515 lt_prog_compiler_pic_CXX
=
11516 lt_prog_compiler_static_CXX
='-non_shared'
11525 case $cc_basename in
11527 # Sun C++ 4.2, 5.x and Centerline C++
11528 lt_prog_compiler_pic_CXX
='-KPIC'
11529 lt_prog_compiler_static_CXX
='-Bstatic'
11530 lt_prog_compiler_wl_CXX
='-Qoption ld '
11533 # Green Hills C++ Compiler
11534 lt_prog_compiler_pic_CXX
='-PIC'
11541 case $cc_basename in
11544 lt_prog_compiler_pic_CXX
='-pic'
11545 lt_prog_compiler_static_CXX
='-Bstatic'
11549 lt_prog_compiler_pic_CXX
='-pic'
11556 case $cc_basename in
11558 # NonStop-UX NCC 3.20
11559 lt_prog_compiler_pic_CXX
='-KPIC'
11565 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
11566 case $cc_basename in
11568 lt_prog_compiler_wl_CXX
='-Wl,'
11569 lt_prog_compiler_pic_CXX
='-KPIC'
11570 lt_prog_compiler_static_CXX
='-Bstatic'
11577 lt_prog_compiler_can_build_shared_CXX
=no
11582 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
11583 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
11586 # Check to make sure the PIC flag actually works.
11588 if test -n "$lt_prog_compiler_pic_CXX"; then
11590 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
11591 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
11592 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
11593 echo $ECHO_N "(cached) $ECHO_C" >&6
11595 lt_prog_compiler_pic_works_CXX
=no
11596 ac_outfile
=conftest.
$ac_objext
11597 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11598 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
11599 # Insert the option either (1) after the last *FLAGS variable, or
11600 # (2) before a word containing "conftest.", or (3) at the end.
11601 # Note that $ac_compile itself does not contain backslashes and begins
11602 # with a dollar sign (not a hyphen), so the echo should work correctly.
11603 # The option is referenced via a variable to avoid confusing sed.
11604 lt_compile
=`echo "$ac_compile" | $SED \
11605 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11606 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11607 -e 's:$: $lt_compiler_flag:'`
11608 (eval echo "\"\$as_me:11608: $lt_compile\"" >&5)
11609 (eval "$lt_compile" 2>conftest.err
)
11611 cat conftest.err
>&5
11612 echo "$as_me:11612: \$? = $ac_status" >&5
11613 if (exit $ac_status) && test -s "$ac_outfile"; then
11614 # The compiler can only warn and ignore the option if not recognized
11615 # So say no if there are warnings other than the usual output.
11616 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
11617 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11618 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
11619 lt_prog_compiler_pic_works_CXX
=yes
11625 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
11626 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
11628 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
11629 case $lt_prog_compiler_pic_CXX in
11631 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
11634 lt_prog_compiler_pic_CXX
=
11635 lt_prog_compiler_can_build_shared_CXX
=no
11640 # For platforms which do not support PIC, -DPIC is meaningless:
11642 lt_prog_compiler_pic_CXX
=
11645 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
11650 # Check to make sure the static flag actually works.
11652 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
11653 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11654 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
11655 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
11656 echo $ECHO_N "(cached) $ECHO_C" >&6
11658 lt_prog_compiler_static_works_CXX
=no
11659 save_LDFLAGS
="$LDFLAGS"
11660 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
11661 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
11662 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11663 # The linker can only warn and ignore the option if not recognized
11664 # So say no if there are warnings
11665 if test -s conftest.err
; then
11666 # Append any errors to the config.log.
11667 cat conftest.err
1>&5
11668 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
11669 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11670 if diff conftest.exp conftest.er2
>/dev
/null
; then
11671 lt_prog_compiler_static_works_CXX
=yes
11674 lt_prog_compiler_static_works_CXX
=yes
11678 LDFLAGS
="$save_LDFLAGS"
11681 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
11682 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
11684 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
11687 lt_prog_compiler_static_CXX
=
11691 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11692 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
11693 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
11694 echo $ECHO_N "(cached) $ECHO_C" >&6
11696 lt_cv_prog_compiler_c_o_CXX
=no
11697 $rm -r conftest
2>/dev
/null
11701 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11703 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11704 # Insert the option either (1) after the last *FLAGS variable, or
11705 # (2) before a word containing "conftest.", or (3) at the end.
11706 # Note that $ac_compile itself does not contain backslashes and begins
11707 # with a dollar sign (not a hyphen), so the echo should work correctly.
11708 lt_compile
=`echo "$ac_compile" | $SED \
11709 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11710 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11711 -e 's:$: $lt_compiler_flag:'`
11712 (eval echo "\"\$as_me:11712: $lt_compile\"" >&5)
11713 (eval "$lt_compile" 2>out
/conftest.err
)
11715 cat out
/conftest.err
>&5
11716 echo "$as_me:11716: \$? = $ac_status" >&5
11717 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
11719 # The compiler can only warn and ignore the option if not recognized
11720 # So say no if there are warnings
11721 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
11722 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
11723 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
11724 lt_cv_prog_compiler_c_o_CXX
=yes
11729 # SGI C++ compiler will create directory out/ii_files/ for
11730 # template instantiation
11731 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
11732 $rm out
/* && rmdir out
11738 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
11739 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
11742 hard_links
="nottested"
11743 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
11744 # do not overwrite the value of need_locks provided by the user
11745 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11746 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
11749 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11751 ln conftest.a conftest.b
2>&5 || hard_links
=no
11752 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11753 echo "$as_me:$LINENO: result: $hard_links" >&5
11754 echo "${ECHO_T}$hard_links" >&6
11755 if test "$hard_links" = no
; then
11756 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11757 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11764 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11765 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11767 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11770 # If we're using GNU nm, then we don't want the "-C" option.
11771 # -C means demangle to AIX nm, but means don't demangle with GNU nm
11772 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
11773 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'
11775 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'
11779 export_symbols_cmds_CXX
="$ltdll_cmds"
11782 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'
11785 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11789 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11790 echo "${ECHO_T}$ld_shlibs_CXX" >&6
11791 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
11794 # Do we need to explicitly link libc?
11796 case "x$archive_cmds_need_lc_CXX" in
11798 # Assume -lc should be added
11799 archive_cmds_need_lc_CXX
=yes
11801 if test "$enable_shared" = yes && test "$GCC" = yes; then
11802 case $archive_cmds_CXX in
11804 # FIXME: we may have to deal with multi-command sequences.
11807 # Test whether the compiler implicitly links with -lc since on some
11808 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11809 # to ld, don't add -lc before -lgcc.
11810 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11811 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
11813 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11816 (eval $ac_compile) 2>&5
11818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11819 (exit $ac_status); } 2>conftest.err
; then
11822 libobjs
=conftest.
$ac_objext
11824 wl
=$lt_prog_compiler_wl_CXX
11825 pic_flag
=$lt_prog_compiler_pic_CXX
11831 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
11832 allow_undefined_flag_CXX
=
11833 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
11834 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11837 (exit $ac_status); }
11839 archive_cmds_need_lc_CXX
=no
11841 archive_cmds_need_lc_CXX
=yes
11843 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
11845 cat conftest.err
1>&5
11848 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
11849 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
11856 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11857 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
11858 library_names_spec
=
11859 libname_spec
='lib$name'
11863 postuninstall_cmds
=
11867 shlibpath_overrides_runpath
=unknown
11869 dynamic_linker
="$host_os ld.so"
11870 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11871 if test "$GCC" = yes; then
11872 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11873 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
11874 # if the path contains ";" then we assume it to be the separator
11875 # otherwise default to the standard path separator (i.e. ":") - it is
11876 # assumed that no part of a normal pathname contains ";" but that should
11877 # okay in the real world where ";" in dirpaths is itself problematic.
11878 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11880 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11883 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11885 need_lib_prefix
=unknown
11886 hardcode_into_libs
=no
11888 # when you set need_version to no, make sure it does not cause -set_version
11889 # flags to be left without arguments
11890 need_version
=unknown
11895 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11896 shlibpath_var
=LIBPATH
11898 # AIX 3 has no versioning support, so we append a major version to the name.
11899 soname_spec
='${libname}${release}${shared_ext}$major'
11906 hardcode_into_libs
=yes
11907 if test "$host_cpu" = ia64
; then
11908 # AIX 5 supports IA64
11909 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11910 shlibpath_var
=LD_LIBRARY_PATH
11912 # With GCC up to 2.95.x, collect2 would create an import file
11913 # for dependence libraries. The import file would start with
11914 # the line `#! .'. This would cause the generated library to
11915 # depend on `.', always an invalid library. This was fixed in
11916 # development snapshots of GCC prior to 3.0.
11918 aix4 | aix4.
[01] | aix4.
[01].
*)
11919 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11921 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
11924 can_build_shared
=no
11928 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11929 # soname into executable. Probably we can add versioning support to
11930 # collect2, so additional links can be useful in future.
11931 if test "$aix_use_runtimelinking" = yes; then
11932 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11933 # instead of lib<name>.a to let people know that these are not
11934 # typical AIX shared libraries.
11935 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11937 # We preserve .a as extension for shared libraries through AIX4.2
11938 # and later when we are not doing run time linking.
11939 library_names_spec
='${libname}${release}.a $libname.a'
11940 soname_spec
='${libname}${release}${shared_ext}$major'
11942 shlibpath_var
=LIBPATH
11947 library_names_spec
='$libname.ixlibrary $libname.a'
11948 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11949 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'
11953 library_names_spec
='${libname}${shared_ext}'
11954 dynamic_linker
="$host_os ld.so"
11955 shlibpath_var
=LIBRARY_PATH
11961 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11962 soname_spec
='${libname}${release}${shared_ext}$major'
11963 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11964 shlibpath_var
=LD_LIBRARY_PATH
11965 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11966 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11967 # the default ld.so.conf also contains /usr/contrib/lib and
11968 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11969 # libtool to hard-code these into programs
11972 cygwin
* | mingw
* | pw32
*)
11973 version_type
=windows
11978 case $GCC,$host_os in
11979 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
11980 library_names_spec
='$libname.dll.a'
11981 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11982 postinstall_cmds
='base_file=`basename \${file}`~
11983 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
11984 dldir=$destdir/`dirname \$dlpath`~
11985 test -d \$dldir || mkdir -p \$dldir~
11986 $install_prog $dir/$dlname \$dldir/$dlname~
11987 chmod a+x \$dldir/$dlname'
11988 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11989 dlpath=$dir/\$dldll~
11991 shlibpath_overrides_runpath
=yes
11995 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11996 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11997 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
12000 # MinGW DLLs use traditional 'lib' prefix
12001 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12002 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12003 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
12004 # It is most probably a Windows format PATH printed by
12005 # mingw gcc, but we are running on Cygwin. Gcc prints its search
12006 # path with ; separators, and with drive letters. We can handle the
12007 # drive letters (cygwin fileutils understands them), so leave them,
12008 # especially as we might pass files found there to a mingw objdump,
12009 # which wouldn't understand a cygwinified path. Ahh.
12010 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12012 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12016 # pw32 DLLs use 'pw' prefix rather than 'lib'
12017 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12023 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12026 dynamic_linker
='Win32 ld.exe'
12027 # FIXME: first we should search . and the directory the executable is in
12031 darwin
* | rhapsody
*)
12032 dynamic_linker
="$host_os dyld"
12033 version_type
=darwin
12036 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12037 soname_spec
='${libname}${release}${major}$shared_ext'
12038 shlibpath_overrides_runpath
=yes
12039 shlibpath_var
=DYLD_LIBRARY_PATH
12040 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
12041 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
12042 if test "$GCC" = yes; then
12043 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"`
12045 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
12047 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12054 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12055 soname_spec
='${libname}${release}${shared_ext}$major'
12056 shlibpath_var
=LD_LIBRARY_PATH
12067 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12068 soname_spec
='${libname}${release}${shared_ext}$major'
12069 shlibpath_var
=LD_LIBRARY_PATH
12070 shlibpath_overrides_runpath
=no
12071 hardcode_into_libs
=yes
12072 dynamic_linker
='GNU ld.so'
12075 freebsd
* | dragonfly
*)
12076 # DragonFly does not have aout. When/if they implement a new
12077 # versioning mechanism, adjust this.
12078 if test -x /usr
/bin
/objformat
; then
12079 objformat
=`/usr/bin/objformat`
12082 freebsd
[123]*) objformat
=aout
;;
12083 *) objformat
=elf
;;
12086 version_type
=freebsd-
$objformat
12087 case $version_type in
12089 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12094 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12098 shlibpath_var
=LD_LIBRARY_PATH
12101 shlibpath_overrides_runpath
=yes
12103 freebsd3.
[01]* | freebsdelf3.
[01]*)
12104 shlibpath_overrides_runpath
=yes
12105 hardcode_into_libs
=yes
12107 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12108 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12109 shlibpath_overrides_runpath
=no
12110 hardcode_into_libs
=yes
12112 freebsd
*) # from 4.6 on
12113 shlibpath_overrides_runpath
=yes
12114 hardcode_into_libs
=yes
12123 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12124 soname_spec
='${libname}${release}${shared_ext}$major'
12125 shlibpath_var
=LD_LIBRARY_PATH
12126 hardcode_into_libs
=yes
12129 hpux9
* | hpux10
* | hpux11
*)
12130 # Give a soname corresponding to the major version so that dld.sl refuses to
12131 # link against other versions.
12138 hardcode_into_libs
=yes
12139 dynamic_linker
="$host_os dld.so"
12140 shlibpath_var
=LD_LIBRARY_PATH
12141 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12142 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12143 soname_spec
='${libname}${release}${shared_ext}$major'
12144 if test "X$HPUX_IA64_MODE" = X32
; then
12145 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12147 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12149 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12153 hardcode_into_libs
=yes
12154 dynamic_linker
="$host_os dld.sl"
12155 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12156 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12157 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12158 soname_spec
='${libname}${release}${shared_ext}$major'
12159 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12160 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12164 dynamic_linker
="$host_os dld.sl"
12165 shlibpath_var
=SHLIB_PATH
12166 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12167 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12168 soname_spec
='${libname}${release}${shared_ext}$major'
12171 # HP-UX runs *really* slowly unless shared libraries are mode 555.
12172 postinstall_cmds
='chmod 555 $lib'
12179 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12180 soname_spec
='${libname}${release}${shared_ext}$major'
12181 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12182 shlibpath_var
=LD_LIBRARY_PATH
12183 shlibpath_overrides_runpath
=no
12184 hardcode_into_libs
=yes
12187 irix5
* | irix6
* | nonstopux
*)
12189 nonstopux
*) version_type
=nonstopux
;;
12191 if test "$lt_cv_prog_gnu_ld" = yes; then
12199 soname_spec
='${libname}${release}${shared_ext}$major'
12200 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12202 irix5
* | nonstopux
*)
12203 libsuff
= shlibsuff
=
12206 case $LD in # libtool.m4 will add one of these switches to LD
12207 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12208 libsuff
= shlibsuff
= libmagic
=32-bit;;
12209 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12210 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12211 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12212 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12213 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12217 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12218 shlibpath_overrides_runpath
=no
12219 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12220 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
12221 hardcode_into_libs
=yes
12224 # No shared lib support for Linux oldld, aout, or coff.
12225 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12229 # This must be Linux ELF.
12234 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12235 soname_spec
='${libname}${release}${shared_ext}$major'
12236 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12237 shlibpath_var
=LD_LIBRARY_PATH
12238 shlibpath_overrides_runpath
=no
12239 # This implies no fast_install, which is unacceptable.
12240 # Some rework will be needed to allow for fast_install
12241 # before this can be enabled.
12242 hardcode_into_libs
=yes
12244 # find out which ABI we are using
12246 case "$host_cpu" in
12247 x86_64
*|s390x
*|powerpc64
*)
12248 echo '#line 12248 "configure"' > conftest.
$ac_ext
12249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12250 (eval $ac_compile) 2>&5
12252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12253 (exit $ac_status); }; then
12254 case `/usr/bin/file conftest.$ac_objext` in
12257 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
12265 # Append ld.so.conf contents to the search path
12266 if test -f /etc
/ld.so.conf
; then
12267 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' ' '`
12268 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
12271 # We used to test for /lib/ld.so.1 and disable shared libraries on
12272 # powerpc, because MkLinux only supported shared libraries with the
12273 # GNU dynamic linker. Since this was broken with cross compilers,
12274 # most powerpc-linux boxes support dynamic linking these days and
12275 # people can always --disable-shared, the test was removed, and we
12276 # assume the GNU/Linux dynamic linker is in use.
12277 dynamic_linker
='GNU/Linux ld.so'
12284 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12285 soname_spec
='${libname}${release}${shared_ext}$major'
12286 shlibpath_var
=LD_LIBRARY_PATH
12287 shlibpath_overrides_runpath
=no
12288 hardcode_into_libs
=yes
12289 dynamic_linker
='GNU ld.so'
12296 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
12297 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12298 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12299 dynamic_linker
='NetBSD (a.out) ld.so'
12301 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12302 soname_spec
='${libname}${release}${shared_ext}$major'
12303 dynamic_linker
='NetBSD ld.elf_so'
12305 shlibpath_var
=LD_LIBRARY_PATH
12306 shlibpath_overrides_runpath
=yes
12307 hardcode_into_libs
=yes
12312 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12313 shlibpath_var
=LD_LIBRARY_PATH
12314 shlibpath_overrides_runpath
=yes
12321 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12322 soname_spec
='${libname}${release}${shared_ext}$major'
12323 shlibpath_var
=LD_LIBRARY_PATH
12324 shlibpath_overrides_runpath
=yes
12329 sys_lib_dlsearch_path_spec
="/usr/lib"
12331 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12333 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
12334 *) need_version
=no
;;
12336 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12337 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12338 shlibpath_var
=LD_LIBRARY_PATH
12339 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12341 openbsd2.
[89] | openbsd2.
[89].
*)
12342 shlibpath_overrides_runpath
=no
12345 shlibpath_overrides_runpath
=yes
12349 shlibpath_overrides_runpath
=yes
12354 libname_spec
='$name'
12357 library_names_spec
='$libname${shared_ext} $libname.a'
12358 dynamic_linker
='OS/2 ld.exe'
12359 shlibpath_var
=LIBPATH
12362 osf3
* | osf4
* | osf5
*)
12366 soname_spec
='${libname}${release}${shared_ext}$major'
12367 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12368 shlibpath_var
=LD_LIBRARY_PATH
12369 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12370 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
12377 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12378 soname_spec
='${libname}${release}${shared_ext}$major'
12379 shlibpath_var
=LD_LIBRARY_PATH
12380 shlibpath_overrides_runpath
=yes
12381 hardcode_into_libs
=yes
12382 # ldd complains unless libraries are executable
12383 postinstall_cmds
='chmod +x $lib'
12388 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12389 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12390 shlibpath_var
=LD_LIBRARY_PATH
12391 shlibpath_overrides_runpath
=yes
12392 if test "$with_gnu_ld" = yes; then
12400 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12401 soname_spec
='${libname}${release}${shared_ext}$major'
12402 shlibpath_var
=LD_LIBRARY_PATH
12403 case $host_vendor in
12405 shlibpath_overrides_runpath
=no
12407 export_dynamic_flag_spec
='${wl}-Blargedynsym'
12408 runpath_var
=LD_RUN_PATH
12416 shlibpath_overrides_runpath
=no
12417 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12423 if test -d /usr
/nec
;then
12425 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12426 soname_spec
='$libname${shared_ext}.$major'
12427 shlibpath_var
=LD_LIBRARY_PATH
12431 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12432 version_type
=freebsd-elf
12435 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12436 soname_spec
='${libname}${release}${shared_ext}$major'
12437 shlibpath_var
=LD_LIBRARY_PATH
12438 hardcode_into_libs
=yes
12439 if test "$with_gnu_ld" = yes; then
12440 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12441 shlibpath_overrides_runpath
=no
12443 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12444 shlibpath_overrides_runpath
=yes
12447 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12451 sys_lib_dlsearch_path_spec
='/usr/lib'
12456 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12457 soname_spec
='${libname}${release}${shared_ext}$major'
12458 shlibpath_var
=LD_LIBRARY_PATH
12465 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12466 echo "${ECHO_T}$dynamic_linker" >&6
12467 test "$dynamic_linker" = no
&& can_build_shared
=no
12469 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12470 if test "$GCC" = yes; then
12471 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12474 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12475 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
12476 hardcode_action_CXX
=
12477 if test -n "$hardcode_libdir_flag_spec_CXX" || \
12478 test -n "$runpath_var_CXX" || \
12479 test "X$hardcode_automatic_CXX" = "Xyes" ; then
12481 # We can hardcode non-existant directories.
12482 if test "$hardcode_direct_CXX" != no
&&
12483 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12484 # have to relink, otherwise we might link with an installed library
12485 # when we should be linking with a yet-to-be-installed one
12486 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
12487 test "$hardcode_minus_L_CXX" != no
; then
12488 # Linking always hardcodes the temporary library directory.
12489 hardcode_action_CXX
=relink
12491 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12492 hardcode_action_CXX
=immediate
12495 # We cannot hardcode anything, or else we can only hardcode existing
12497 hardcode_action_CXX
=unsupported
12499 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
12500 echo "${ECHO_T}$hardcode_action_CXX" >&6
12502 if test "$hardcode_action_CXX" = relink
; then
12503 # Fast installation is not supported
12504 enable_fast_install
=no
12505 elif test "$shlibpath_overrides_runpath" = yes ||
12506 test "$enable_shared" = no
; then
12507 # Fast installation is not necessary
12508 enable_fast_install
=needless
12512 # The else clause should only fire when bootstrapping the
12513 # libtool distribution, otherwise you forgot to ship ltmain.sh
12514 # with your package, and you will get complaints that there are
12515 # no rules to generate ltmain.sh.
12516 if test -f "$ltmain"; then
12517 # See if we are running on zsh, and set the options which allow our commands through
12518 # without removal of \ escapes.
12519 if test -n "${ZSH_VERSION+set}" ; then
12520 setopt NO_GLOB_SUBST
12522 # Now quote all the things that may contain metacharacters while being
12523 # careful not to overquote the AC_SUBSTed values. We take copies of the
12524 # variables and quote the copies for generation of the libtool script.
12525 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
12527 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12528 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12529 deplibs_check_method reload_flag reload_cmds need_locks \
12530 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12531 lt_cv_sys_global_symbol_to_c_name_address \
12532 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12533 old_postinstall_cmds old_postuninstall_cmds \
12537 lt_prog_compiler_wl_CXX \
12538 lt_prog_compiler_pic_CXX \
12539 lt_prog_compiler_static_CXX \
12540 lt_prog_compiler_no_builtin_flag_CXX \
12541 export_dynamic_flag_spec_CXX \
12542 thread_safe_flag_spec_CXX \
12543 whole_archive_flag_spec_CXX \
12544 enable_shared_with_static_runtimes_CXX \
12545 old_archive_cmds_CXX \
12546 old_archive_from_new_cmds_CXX \
12547 predep_objects_CXX \
12548 postdep_objects_CXX \
12551 compiler_lib_search_path_CXX \
12553 archive_expsym_cmds_CXX \
12554 postinstall_cmds_CXX \
12555 postuninstall_cmds_CXX \
12556 old_archive_from_expsyms_cmds_CXX \
12557 allow_undefined_flag_CXX \
12558 no_undefined_flag_CXX \
12559 export_symbols_cmds_CXX \
12560 hardcode_libdir_flag_spec_CXX \
12561 hardcode_libdir_flag_spec_ld_CXX \
12562 hardcode_libdir_separator_CXX \
12563 hardcode_automatic_CXX \
12565 module_expsym_cmds_CXX \
12566 lt_cv_prog_compiler_c_o_CXX \
12567 exclude_expsyms_CXX \
12568 include_expsyms_CXX
; do
12571 old_archive_cmds_CXX | \
12572 old_archive_from_new_cmds_CXX | \
12573 archive_cmds_CXX | \
12574 archive_expsym_cmds_CXX | \
12575 module_cmds_CXX | \
12576 module_expsym_cmds_CXX | \
12577 old_archive_from_expsyms_cmds_CXX | \
12578 export_symbols_cmds_CXX | \
12579 extract_expsyms_cmds | reload_cmds | finish_cmds | \
12580 postinstall_cmds | postuninstall_cmds | \
12581 old_postinstall_cmds | old_postuninstall_cmds | \
12582 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
12583 # Double-quote double-evaled strings.
12584 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
12587 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
12593 *'\$0 --fallback-echo"')
12594 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12600 cat <<__EOF__ >> "$cfgfile"
12601 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
12603 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12605 # Shell to use when invoking shell scripts.
12608 # Whether or not to build shared libraries.
12609 build_libtool_libs=$enable_shared
12611 # Whether or not to build static libraries.
12612 build_old_libs=$enable_static
12614 # Whether or not to add -lc for building shared libraries.
12615 build_libtool_need_lc=$archive_cmds_need_lc_CXX
12617 # Whether or not to disallow shared libs when runtime libs are static
12618 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
12620 # Whether or not to optimize for fast installation.
12621 fast_install=$enable_fast_install
12624 host_alias=$host_alias
12628 # The build system.
12629 build_alias=$build_alias
12633 # An echo program that does not interpret backslashes.
12638 AR_FLAGS=$lt_AR_FLAGS
12643 # LTCC compiler flags.
12644 LTCFLAGS=$lt_LTCFLAGS
12646 # A language-specific compiler.
12647 CC=$lt_compiler_CXX
12649 # Is the compiler the GNU C compiler?
12652 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
12653 gcc_ver=\`gcc -dumpversion\`
12658 # The linker used to build libraries.
12661 # Whether we need hard or soft links.
12664 # A BSD-compatible nm program.
12667 # A symbol stripping program
12670 # Used to examine libraries when file_magic_cmd begins "file"
12671 MAGIC_CMD=$MAGIC_CMD
12673 # Used on cygwin: DLL creation program.
12676 # Used on cygwin: object dumper.
12679 # Used on cygwin: assembler.
12682 # The name of the directory that contains temporary libtool files.
12685 # How to create reloadable object files.
12686 reload_flag=$lt_reload_flag
12687 reload_cmds=$lt_reload_cmds
12689 # How to pass a linker flag through the compiler.
12690 wl=$lt_lt_prog_compiler_wl_CXX
12692 # Object file suffix (normally "o").
12693 objext="$ac_objext"
12695 # Old archive suffix (normally "a").
12698 # Shared library suffix (normally ".so").
12699 shrext_cmds='$shrext_cmds'
12701 # Executable file suffix (normally "").
12704 # Additional compiler flags for building library objects.
12705 pic_flag=$lt_lt_prog_compiler_pic_CXX
12708 # What is the maximum length of a command?
12709 max_cmd_len=$lt_cv_sys_max_cmd_len
12711 # Does compiler simultaneously support -c and -o options?
12712 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
12714 # Must we lock files when doing compilation?
12715 need_locks=$lt_need_locks
12717 # Do we need the lib prefix for modules?
12718 need_lib_prefix=$need_lib_prefix
12720 # Do we need a version for libraries?
12721 need_version=$need_version
12723 # Whether dlopen is supported.
12724 dlopen_support=$enable_dlopen
12726 # Whether dlopen of programs is supported.
12727 dlopen_self=$enable_dlopen_self
12729 # Whether dlopen of statically linked programs is supported.
12730 dlopen_self_static=$enable_dlopen_self_static
12732 # Compiler flag to prevent dynamic linking.
12733 link_static_flag=$lt_lt_prog_compiler_static_CXX
12735 # Compiler flag to turn off builtin functions.
12736 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
12738 # Compiler flag to allow reflexive dlopens.
12739 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
12741 # Compiler flag to generate shared objects directly from archives.
12742 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
12744 # Compiler flag to generate thread-safe objects.
12745 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
12747 # Library versioning type.
12748 version_type=$version_type
12750 # Format of library name prefix.
12751 libname_spec=$lt_libname_spec
12753 # List of archive names. First name is the real one, the rest are links.
12754 # The last name is the one that the linker finds with -lNAME.
12755 library_names_spec=$lt_library_names_spec
12757 # The coded name of the library, if different from the real name.
12758 soname_spec=$lt_soname_spec
12760 # Commands used to build and install an old-style archive.
12762 old_archive_cmds=$lt_old_archive_cmds_CXX
12763 old_postinstall_cmds=$lt_old_postinstall_cmds
12764 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12766 # Create an old-style archive from a shared archive.
12767 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
12769 # Create a temporary old-style archive to link instead of a shared archive.
12770 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
12772 # Commands used to build and install a shared archive.
12773 archive_cmds=$lt_archive_cmds_CXX
12774 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
12775 postinstall_cmds=$lt_postinstall_cmds
12776 postuninstall_cmds=$lt_postuninstall_cmds
12778 # Commands used to build a loadable module (assumed same as above if empty)
12779 module_cmds=$lt_module_cmds_CXX
12780 module_expsym_cmds=$lt_module_expsym_cmds_CXX
12782 # Commands to strip libraries.
12783 old_striplib=$lt_old_striplib
12784 striplib=$lt_striplib
12786 # Dependencies to place before the objects being linked to create a
12788 predep_objects=\`echo $lt_predep_objects_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
12790 # Dependencies to place after the objects being linked to create a
12792 postdep_objects=\`echo $lt_postdep_objects_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
12794 # Dependencies to place before the objects being linked to create a
12796 predeps=$lt_predeps_CXX
12798 # Dependencies to place after the objects being linked to create a
12800 postdeps=$lt_postdeps_CXX
12802 # The library search path used internally by the compiler when linking
12803 # a shared library.
12804 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"\`
12806 # Method to check whether dependent libraries are shared objects.
12807 deplibs_check_method=$lt_deplibs_check_method
12809 # Command to use when deplibs_check_method == file_magic.
12810 file_magic_cmd=$lt_file_magic_cmd
12812 # Flag that allows shared libraries with undefined symbols to be built.
12813 allow_undefined_flag=$lt_allow_undefined_flag_CXX
12815 # Flag that forces no undefined symbols.
12816 no_undefined_flag=$lt_no_undefined_flag_CXX
12818 # Commands used to finish a libtool library installation in a directory.
12819 finish_cmds=$lt_finish_cmds
12821 # Same as above, but a single script fragment to be evaled but not shown.
12822 finish_eval=$lt_finish_eval
12824 # Take the output of nm and produce a listing of raw symbols and C names.
12825 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12827 # Transform the output of nm in a proper C declaration
12828 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12830 # Transform the output of nm in a C name address pair
12831 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12833 # This is the shared library runtime path variable.
12834 runpath_var=$runpath_var
12836 # This is the shared library path variable.
12837 shlibpath_var=$shlibpath_var
12839 # Is shlibpath searched before the hard-coded library search path?
12840 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12842 # How to hardcode a shared library path into an executable.
12843 hardcode_action=$hardcode_action_CXX
12845 # Whether we should hardcode library paths into libraries.
12846 hardcode_into_libs=$hardcode_into_libs
12848 # Flag to hardcode \$libdir into a binary during linking.
12849 # This must work even if \$libdir does not exist.
12850 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
12852 # If ld is used when linking, flag to hardcode \$libdir into
12853 # a binary during linking. This must work even if \$libdir does
12855 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
12857 # Whether we need a single -rpath flag with a separated argument.
12858 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
12860 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
12861 # resulting binary.
12862 hardcode_direct=$hardcode_direct_CXX
12864 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
12865 # resulting binary.
12866 hardcode_minus_L=$hardcode_minus_L_CXX
12868 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
12869 # the resulting binary.
12870 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
12872 # Set to yes if building a shared library automatically hardcodes DIR into the library
12873 # and all subsequent libraries and executables linked against it.
12874 hardcode_automatic=$hardcode_automatic_CXX
12876 # Variables whose values should be saved in libtool wrapper scripts and
12877 # restored at relink time.
12878 variables_saved_for_relink="$variables_saved_for_relink"
12880 # Whether libtool must link a program against all its dependency libraries.
12881 link_all_deplibs=$link_all_deplibs_CXX
12883 # Compile-time system search path for libraries
12884 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"\`
12886 # Run-time system search path for libraries
12887 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12889 # Fix the shell variable \$srcfile for the compiler.
12890 fix_srcfile_path="$fix_srcfile_path_CXX"
12892 # Set to yes if exported symbols are required.
12893 always_export_symbols=$always_export_symbols_CXX
12895 # The commands to list exported symbols.
12896 export_symbols_cmds=$lt_export_symbols_cmds_CXX
12898 # The commands to extract the exported symbol list from a shared archive.
12899 extract_expsyms_cmds=$lt_extract_expsyms_cmds
12901 # Symbols that should not be listed in the preloaded symbols.
12902 exclude_expsyms=$lt_exclude_expsyms_CXX
12904 # Symbols that must always be exported.
12905 include_expsyms=$lt_include_expsyms_CXX
12907 # ### END LIBTOOL TAG CONFIG: $tagname
12913 # If there is no Makefile yet, we rely on a make rule to execute
12914 # `config.status --recheck' to rerun these tests and create the
12915 # libtool script then.
12916 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
12917 if test -f "$ltmain_in"; then
12918 test -f Makefile
&& make "$ltmain"
12924 ac_cpp
='$CPP $CPPFLAGS'
12925 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12926 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12927 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12933 with_gnu_ldcxx
=$with_gnu_ld
12934 with_gnu_ld
=$lt_save_with_gnu_ld
12935 lt_cv_path_LDCXX
=$lt_cv_path_LD
12936 lt_cv_path_LD
=$lt_save_path_LD
12937 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
12938 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
12946 if test -n "$F77" && test "X$F77" != "Xno"; then
12949 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
12950 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12951 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
12954 archive_cmds_need_lc_F77
=no
12955 allow_undefined_flag_F77
=
12956 always_export_symbols_F77
=no
12957 archive_expsym_cmds_F77
=
12958 export_dynamic_flag_spec_F77
=
12959 hardcode_direct_F77
=no
12960 hardcode_libdir_flag_spec_F77
=
12961 hardcode_libdir_flag_spec_ld_F77
=
12962 hardcode_libdir_separator_F77
=
12963 hardcode_minus_L_F77
=no
12964 hardcode_automatic_F77
=no
12966 module_expsym_cmds_F77
=
12967 link_all_deplibs_F77
=unknown
12968 old_archive_cmds_F77
=$old_archive_cmds
12969 no_undefined_flag_F77
=
12970 whole_archive_flag_spec_F77
=
12971 enable_shared_with_static_runtimes_F77
=no
12973 # Source file extension for f77 test sources.
12976 # Object file extension for compiled f77 test sources.
12980 # Code to be used in simple compile tests
12981 lt_simple_compile_test_code
=" subroutine t\n return\n end\n"
12983 # Code to be used in simple link tests
12984 lt_simple_link_test_code
=" program t\n end\n"
12986 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12988 # If no C compiler was specified, use CC.
12991 # If no C compiler flags were specified, use CFLAGS.
12992 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12994 # Allow CC to be a program name with arguments.
12998 # save warnings/boilerplate of simple test code
12999 ac_outfile
=conftest.
$ac_objext
13000 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
13001 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13002 _lt_compiler_boilerplate
=`cat conftest.err`
13005 ac_outfile
=conftest.
$ac_objext
13006 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
13007 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13008 _lt_linker_boilerplate
=`cat conftest.err`
13012 # Allow CC to be a program name with arguments.
13017 for cc_temp
in $compiler""; do
13019 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13020 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13025 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13028 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13029 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
13030 echo "$as_me:$LINENO: result: $can_build_shared" >&5
13031 echo "${ECHO_T}$can_build_shared" >&6
13033 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13034 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
13035 test "$can_build_shared" = "no" && enable_shared
=no
13037 # On AIX, shared libraries and static libraries use the same namespace, and
13038 # are all built from PIC.
13041 test "$enable_shared" = yes && enable_static
=no
13042 if test -n "$RANLIB"; then
13043 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13044 postinstall_cmds
='$RANLIB $lib'
13048 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13049 test "$enable_shared" = yes && enable_static
=no
13053 echo "$as_me:$LINENO: result: $enable_shared" >&5
13054 echo "${ECHO_T}$enable_shared" >&6
13056 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13057 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
13058 # Make sure either enable_shared or enable_static is yes.
13059 test "$enable_shared" = yes || enable_static
=yes
13060 echo "$as_me:$LINENO: result: $enable_static" >&5
13061 echo "${ECHO_T}$enable_static" >&6
13066 lt_prog_compiler_wl_F77
=
13067 lt_prog_compiler_pic_F77
=
13068 lt_prog_compiler_static_F77
=
13070 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13071 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
13073 if test "$GCC" = yes; then
13074 lt_prog_compiler_wl_F77
='-Wl,'
13075 lt_prog_compiler_static_F77
='-static'
13079 # All AIX code is PIC.
13080 if test "$host_cpu" = ia64
; then
13081 # AIX 5 now supports IA64 processor
13082 lt_prog_compiler_static_F77
='-Bstatic'
13087 # FIXME: we need at least 68020 code to build shared libraries, but
13088 # adding the `-m68020' flag to GCC prevents building anything better,
13090 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
13093 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13094 # PIC is the default for these OSes.
13097 mingw
* | pw32
* | os2
*)
13098 # This hack is so that the source file can tell whether it is being
13099 # built for inclusion in a dll (and should export symbols for example).
13100 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13103 darwin
* | rhapsody
*)
13104 # PIC is the default on this platform
13105 # Common symbols not allowed in MH_DYLIB files
13106 lt_prog_compiler_pic_F77
='-fno-common'
13110 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13111 # Instead, we relocate shared libraries at runtime.
13115 # Just because we use GCC doesn't mean we suddenly get shared libraries
13116 # on systems that don't support them.
13117 lt_prog_compiler_can_build_shared_F77
=no
13122 if test -d /usr
/nec
; then
13123 lt_prog_compiler_pic_F77
=-Kconform_pic
13128 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13129 # not for PA HP-UX.
13135 lt_prog_compiler_pic_F77
='-fPIC'
13141 lt_prog_compiler_pic_F77
='-fPIC'
13145 # PORTME Check for flag to pass linker flags through the system compiler.
13148 lt_prog_compiler_wl_F77
='-Wl,'
13149 if test "$host_cpu" = ia64
; then
13150 # AIX 5 now supports IA64 processor
13151 lt_prog_compiler_static_F77
='-Bstatic'
13153 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
13157 # PIC is the default on this platform
13158 # Common symbols not allowed in MH_DYLIB files
13159 case $cc_basename in
13161 lt_prog_compiler_pic_F77
='-qnocommon'
13162 lt_prog_compiler_wl_F77
='-Wl,'
13167 mingw
* | pw32
* | os2
*)
13168 # This hack is so that the source file can tell whether it is being
13169 # built for inclusion in a dll (and should export symbols for example).
13170 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13173 hpux9
* | hpux10
* | hpux11
*)
13174 lt_prog_compiler_wl_F77
='-Wl,'
13175 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13176 # not for PA HP-UX.
13182 lt_prog_compiler_pic_F77
='+Z'
13185 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13186 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
13189 irix5
* | irix6
* | nonstopux
*)
13190 lt_prog_compiler_wl_F77
='-Wl,'
13191 # PIC (with -KPIC) is the default.
13192 lt_prog_compiler_static_F77
='-non_shared'
13196 lt_prog_compiler_pic_F77
='-KPIC'
13197 lt_prog_compiler_static_F77
='-Bstatic'
13201 case $cc_basename in
13203 lt_prog_compiler_wl_F77
='-Wl,'
13204 lt_prog_compiler_pic_F77
='-KPIC'
13205 lt_prog_compiler_static_F77
='-static'
13207 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
13208 # Portland Group compilers (*not* the Pentium gcc compiler,
13209 # which looks to be a dead project)
13210 lt_prog_compiler_wl_F77
='-Wl,'
13211 lt_prog_compiler_pic_F77
='-fpic'
13212 lt_prog_compiler_static_F77
='-Bstatic'
13215 lt_prog_compiler_wl_F77
='-Wl,'
13216 # All Alpha code is PIC.
13217 lt_prog_compiler_static_F77
='-non_shared'
13222 osf3
* | osf4
* | osf5
*)
13223 lt_prog_compiler_wl_F77
='-Wl,'
13224 # All OSF/1 code is PIC.
13225 lt_prog_compiler_static_F77
='-non_shared'
13229 lt_prog_compiler_pic_F77
='-KPIC'
13230 lt_prog_compiler_static_F77
='-Bstatic'
13231 case $cc_basename in
13232 f77
* | f90
* | f95
*)
13233 lt_prog_compiler_wl_F77
='-Qoption ld ';;
13235 lt_prog_compiler_wl_F77
='-Wl,';;
13240 lt_prog_compiler_wl_F77
='-Qoption ld '
13241 lt_prog_compiler_pic_F77
='-PIC'
13242 lt_prog_compiler_static_F77
='-Bstatic'
13245 sysv4 | sysv4.2uw2
* | sysv4.3
*)
13246 lt_prog_compiler_wl_F77
='-Wl,'
13247 lt_prog_compiler_pic_F77
='-KPIC'
13248 lt_prog_compiler_static_F77
='-Bstatic'
13252 if test -d /usr
/nec
;then
13253 lt_prog_compiler_pic_F77
='-Kconform_pic'
13254 lt_prog_compiler_static_F77
='-Bstatic'
13258 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13259 lt_prog_compiler_wl_F77
='-Wl,'
13260 lt_prog_compiler_pic_F77
='-KPIC'
13261 lt_prog_compiler_static_F77
='-Bstatic'
13265 lt_prog_compiler_wl_F77
='-Wl,'
13266 lt_prog_compiler_can_build_shared_F77
=no
13270 lt_prog_compiler_pic_F77
='-pic'
13271 lt_prog_compiler_static_F77
='-Bstatic'
13275 lt_prog_compiler_can_build_shared_F77
=no
13280 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13281 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
13284 # Check to make sure the PIC flag actually works.
13286 if test -n "$lt_prog_compiler_pic_F77"; then
13288 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13289 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
13290 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13291 echo $ECHO_N "(cached) $ECHO_C" >&6
13293 lt_prog_compiler_pic_works_F77
=no
13294 ac_outfile
=conftest.
$ac_objext
13295 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13296 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
13297 # Insert the option either (1) after the last *FLAGS variable, or
13298 # (2) before a word containing "conftest.", or (3) at the end.
13299 # Note that $ac_compile itself does not contain backslashes and begins
13300 # with a dollar sign (not a hyphen), so the echo should work correctly.
13301 # The option is referenced via a variable to avoid confusing sed.
13302 lt_compile
=`echo "$ac_compile" | $SED \
13303 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13304 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13305 -e 's:$: $lt_compiler_flag:'`
13306 (eval echo "\"\$as_me:13306: $lt_compile\"" >&5)
13307 (eval "$lt_compile" 2>conftest.err
)
13309 cat conftest.err
>&5
13310 echo "$as_me:13310: \$? = $ac_status" >&5
13311 if (exit $ac_status) && test -s "$ac_outfile"; then
13312 # The compiler can only warn and ignore the option if not recognized
13313 # So say no if there are warnings other than the usual output.
13314 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
13315 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13316 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13317 lt_prog_compiler_pic_works_F77
=yes
13323 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13324 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
13326 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
13327 case $lt_prog_compiler_pic_F77 in
13329 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
13332 lt_prog_compiler_pic_F77
=
13333 lt_prog_compiler_can_build_shared_F77
=no
13338 # For platforms which do not support PIC, -DPIC is meaningless:
13340 lt_prog_compiler_pic_F77
=
13343 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
13348 # Check to make sure the static flag actually works.
13350 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
13351 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13352 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
13353 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
13354 echo $ECHO_N "(cached) $ECHO_C" >&6
13356 lt_prog_compiler_static_works_F77
=no
13357 save_LDFLAGS
="$LDFLAGS"
13358 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13359 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
13360 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13361 # The linker can only warn and ignore the option if not recognized
13362 # So say no if there are warnings
13363 if test -s conftest.err
; then
13364 # Append any errors to the config.log.
13365 cat conftest.err
1>&5
13366 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
13367 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13368 if diff conftest.exp conftest.er2
>/dev
/null
; then
13369 lt_prog_compiler_static_works_F77
=yes
13372 lt_prog_compiler_static_works_F77
=yes
13376 LDFLAGS
="$save_LDFLAGS"
13379 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
13380 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6
13382 if test x
"$lt_prog_compiler_static_works_F77" = xyes
; then
13385 lt_prog_compiler_static_F77
=
13389 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13390 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13391 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13392 echo $ECHO_N "(cached) $ECHO_C" >&6
13394 lt_cv_prog_compiler_c_o_F77
=no
13395 $rm -r conftest
2>/dev
/null
13399 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13401 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13402 # Insert the option either (1) after the last *FLAGS variable, or
13403 # (2) before a word containing "conftest.", or (3) at the end.
13404 # Note that $ac_compile itself does not contain backslashes and begins
13405 # with a dollar sign (not a hyphen), so the echo should work correctly.
13406 lt_compile
=`echo "$ac_compile" | $SED \
13407 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13408 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13409 -e 's:$: $lt_compiler_flag:'`
13410 (eval echo "\"\$as_me:13410: $lt_compile\"" >&5)
13411 (eval "$lt_compile" 2>out
/conftest.err
)
13413 cat out
/conftest.err
>&5
13414 echo "$as_me:13414: \$? = $ac_status" >&5
13415 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13417 # The compiler can only warn and ignore the option if not recognized
13418 # So say no if there are warnings
13419 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
13420 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13421 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13422 lt_cv_prog_compiler_c_o_F77
=yes
13427 # SGI C++ compiler will create directory out/ii_files/ for
13428 # template instantiation
13429 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
13430 $rm out
/* && rmdir out
13436 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13437 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
13440 hard_links
="nottested"
13441 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
13442 # do not overwrite the value of need_locks provided by the user
13443 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13444 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13447 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13449 ln conftest.a conftest.b
2>&5 || hard_links
=no
13450 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13451 echo "$as_me:$LINENO: result: $hard_links" >&5
13452 echo "${ECHO_T}$hard_links" >&6
13453 if test "$hard_links" = no
; then
13454 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13455 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13462 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13463 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13466 allow_undefined_flag_F77
=
13467 enable_shared_with_static_runtimes_F77
=no
13469 archive_expsym_cmds_F77
=
13470 old_archive_From_new_cmds_F77
=
13471 old_archive_from_expsyms_cmds_F77
=
13472 export_dynamic_flag_spec_F77
=
13473 whole_archive_flag_spec_F77
=
13474 thread_safe_flag_spec_F77
=
13475 hardcode_libdir_flag_spec_F77
=
13476 hardcode_libdir_flag_spec_ld_F77
=
13477 hardcode_libdir_separator_F77
=
13478 hardcode_direct_F77
=no
13479 hardcode_minus_L_F77
=no
13480 hardcode_shlibpath_var_F77
=unsupported
13481 link_all_deplibs_F77
=unknown
13482 hardcode_automatic_F77
=no
13484 module_expsym_cmds_F77
=
13485 always_export_symbols_F77
=no
13486 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13487 # include_expsyms should be a list of space-separated symbols to be *always*
13488 # included in the symbol list
13489 include_expsyms_F77
=
13490 # exclude_expsyms can be an extended regexp of symbols to exclude
13491 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13492 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13493 # as well as any symbol that contains `d'.
13494 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
13495 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13496 # platforms (ab)use it in PIC code, but their linkers get confused if
13497 # the symbol is explicitly referenced. Since portable code cannot
13498 # rely on this symbol name, it's probably fine to never include it in
13499 # preloaded symbol tables.
13500 extract_expsyms_cmds
=
13501 # Just being paranoid about ensuring that cc_basename is set.
13502 for cc_temp
in $compiler""; do
13504 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13505 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13510 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13513 cygwin
* | mingw
* | pw32
*)
13514 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13515 # When not using gcc, we currently assume that we are using
13516 # Microsoft Visual C++.
13517 if test "$GCC" != yes; then
13522 # we just hope/assume this is gcc and not c89 (= MSVC++)
13531 if test "$with_gnu_ld" = yes; then
13532 # If archive_cmds runs LD, not CC, wlarc should be empty
13535 # Set some defaults for GNU ld with shared library support. These
13536 # are reset later if shared libraries are not supported. Putting them
13537 # here allows them to be overridden if necessary.
13538 runpath_var
=LD_RUN_PATH
13539 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
13540 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
13541 # ancient GNU ld didn't support --whole-archive et. al.
13542 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
13543 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13545 whole_archive_flag_spec_F77
=
13547 supports_anon_versioning
=no
13548 case `$LD -v 2>/dev/null` in
13549 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
13550 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
13551 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
13552 *\
2.11.
*) ;; # other 2.11 versions
13553 *) supports_anon_versioning
=yes ;;
13556 # See if GNU ld supports shared libraries.
13558 aix3
* | aix4
* | aix5
*)
13559 # On AIX/PPC, the GNU linker is very broken
13560 if test "$host_cpu" != ia64
; then
13564 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
13565 *** to be unable to reliably create shared libraries on AIX.
13566 *** Therefore, libtool is disabling shared libraries support. If you
13567 *** really care for shared libraries, you may want to modify your PATH
13568 *** so that a non-GNU linker is found, and then restart.
13575 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)'
13576 hardcode_libdir_flag_spec_F77
='-L$libdir'
13577 hardcode_minus_L_F77
=yes
13579 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
13580 # that the semantics of dynamic libraries on AmigaOS, at least up
13581 # to version 4, is to share data among multiple programs linked
13582 # with the same dynamic library. Since this doesn't match the
13583 # behavior of shared libraries on other platforms, we can't use
13589 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13590 allow_undefined_flag_F77
=unsupported
13591 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13592 # support --undefined. This deserves some investigation. FIXME
13593 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13599 cygwin
* | mingw
* | pw32
*)
13600 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
13601 # as there is no search path for DLLs.
13602 hardcode_libdir_flag_spec_F77
='-L$libdir'
13603 allow_undefined_flag_F77
=unsupported
13604 always_export_symbols_F77
=no
13605 enable_shared_with_static_runtimes_F77
=yes
13606 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13608 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
13609 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13610 # If the export-symbols file already is a .def file (1st line
13611 # is EXPORTS), use it as is; otherwise, prepend...
13612 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13613 cp $export_symbols $output_objdir/$soname.def;
13615 echo EXPORTS > $output_objdir/$soname.def;
13616 cat $export_symbols >> $output_objdir/$soname.def;
13618 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13625 hardcode_direct_F77
=no
13626 hardcode_shlibpath_var_F77
=no
13627 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
13628 export_dynamic_flag_spec_F77
='${wl}-E'
13629 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13630 # Instead, shared libraries are loaded at an image base (0x10000000 by
13631 # default) and relocated if they conflict, which is a slow very memory
13632 # consuming and fragmenting process. To avoid this, we pick a random,
13633 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13634 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13635 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'
13636 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'
13640 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13642 case $cc_basename,$host_cpu in
13643 pgcc
*) # Portland Group C compiler
13644 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'
13645 tmp_addflag
=' $pic_flag'
13647 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
13648 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'
13649 tmp_addflag
=' $pic_flag -Mnomain' ;;
13650 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
13651 tmp_addflag
=' -i_dynamic' ;;
13652 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
13653 tmp_addflag
=' -i_dynamic -nofor_main' ;;
13654 ifc
* | ifort
*) # Intel Fortran compiler
13655 tmp_addflag
=' -nofor_main' ;;
13657 archive_cmds_F77
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13659 if test $supports_anon_versioning = yes; then
13660 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
13661 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13662 $echo "local: *; };" >> $output_objdir/$libname.ver~
13663 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13671 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
13672 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13675 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13676 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13681 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
13685 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13686 *** create shared libraries on Solaris systems. Therefore, libtool
13687 *** is disabling shared libraries support. We urge you to upgrade GNU
13688 *** binutils to release 2.9.1 or newer. Another option is to modify
13689 *** your PATH or compiler configuration so that the native linker is
13690 *** used, and then restart.
13693 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13694 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13695 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13701 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
13702 case `$LD -v 2>&1` in
13703 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
13707 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
13708 *** reliably create shared libraries on SCO systems. Therefore, libtool
13709 *** is disabling shared libraries support. We urge you to upgrade GNU
13710 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
13711 *** your PATH or compiler configuration so that the native linker is
13712 *** used, and then restart.
13717 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13718 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
13719 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
13720 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
13729 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13731 hardcode_direct_F77
=yes
13732 hardcode_shlibpath_var_F77
=no
13736 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13737 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13738 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13745 if test "$ld_shlibs_F77" = no
; then
13747 hardcode_libdir_flag_spec_F77
=
13748 export_dynamic_flag_spec_F77
=
13749 whole_archive_flag_spec_F77
=
13752 # PORTME fill in a description of your system's linker (not GNU ld)
13755 allow_undefined_flag_F77
=unsupported
13756 always_export_symbols_F77
=yes
13757 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'
13758 # Note: this linker hardcodes the directories in LIBPATH if there
13759 # are no directories specified by -L.
13760 hardcode_minus_L_F77
=yes
13761 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
13762 # Neither direct hardcoding nor static linking is supported with a
13764 hardcode_direct_F77
=unsupported
13769 if test "$host_cpu" = ia64
; then
13770 # On IA64, the linker does run time linking by default, so we don't
13771 # have to do anything special.
13772 aix_use_runtimelinking
=no
13773 exp_sym_flag
='-Bexport'
13776 # If we're using GNU nm, then we don't want the "-C" option.
13777 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13778 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
13779 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'
13781 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'
13783 aix_use_runtimelinking
=no
13785 # Test if we are trying to use run time linking or normal
13786 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13787 # need to do runtime linking.
13788 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
13789 for ld_flag
in $LDFLAGS; do
13790 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
13791 aix_use_runtimelinking
=yes
13798 exp_sym_flag
='-bexport'
13799 no_entry_flag
='-bnoentry'
13802 # When large executables or shared objects are built, AIX ld can
13803 # have problems creating the table of contents. If linking a library
13804 # or program results in "error TOC overflow" add -mminimal-toc to
13805 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13806 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13808 archive_cmds_F77
=''
13809 hardcode_direct_F77
=yes
13810 hardcode_libdir_separator_F77
=':'
13811 link_all_deplibs_F77
=yes
13813 if test "$GCC" = yes; then
13814 case $host_os in aix4.
[012]|aix4.
[012].
*)
13815 # We only want to do this on AIX 4.2 and lower, the check
13816 # below for broken collect2 doesn't work under 4.3+
13817 collect2name
=`${CC} -print-prog-name=collect2`
13818 if test -f "$collect2name" && \
13819 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
13821 # We have reworked collect2
13822 hardcode_direct_F77
=yes
13824 # We have old collect2
13825 hardcode_direct_F77
=unsupported
13826 # It fails to find uninstalled libraries when the uninstalled
13827 # path is not listed in the libpath. Setting hardcode_minus_L
13828 # to unsupported forces relinking
13829 hardcode_minus_L_F77
=yes
13830 hardcode_libdir_flag_spec_F77
='-L$libdir'
13831 hardcode_libdir_separator_F77
=
13835 shared_flag
='-shared'
13836 if test "$aix_use_runtimelinking" = yes; then
13837 shared_flag
="$shared_flag "'${wl}-G'
13841 if test "$host_cpu" = ia64
; then
13842 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13843 # chokes on -Wl,-G. The following line is correct:
13846 if test "$aix_use_runtimelinking" = yes; then
13847 shared_flag
='${wl}-G'
13849 shared_flag
='${wl}-bM:SRE'
13854 # It seems that -bexpall does not export symbols beginning with
13855 # underscore (_), so it is better to generate a list of symbols to export.
13856 always_export_symbols_F77
=yes
13857 if test "$aix_use_runtimelinking" = yes; then
13858 # Warning - without using the other runtime loading flags (-brtl),
13859 # -berok will link without error, but may produce a broken library.
13860 allow_undefined_flag_F77
='-berok'
13861 # Determine the default libpath from the value encoded in an empty executable.
13862 cat >conftest.
$ac_ext <<_ACEOF
13867 rm -f conftest.
$ac_objext conftest
$ac_exeext
13868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13869 (eval $ac_link) 2>conftest.er1
13871 grep -v '^ *+' conftest.er1
>conftest.err
13873 cat conftest.err
>&5
13874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13875 (exit $ac_status); } &&
13876 { ac_try
='test -z "$ac_f77_werror_flag"
13877 || test ! -s conftest.err'
13878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13879 (eval $ac_try) 2>&5
13881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13882 (exit $ac_status); }; } &&
13883 { ac_try
='test -s conftest$ac_exeext'
13884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13885 (eval $ac_try) 2>&5
13887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13888 (exit $ac_status); }; }; then
13890 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13892 # Check for a 64-bit object if we didn't find anything.
13893 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; }
13896 echo "$as_me: failed program was:" >&5
13897 sed 's/^/| /' conftest.
$ac_ext >&5
13900 rm -f conftest.err conftest.
$ac_objext \
13901 conftest
$ac_exeext conftest.
$ac_ext
13902 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13904 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
13905 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"
13907 if test "$host_cpu" = ia64
; then
13908 hardcode_libdir_flag_spec_F77
='${wl}-R $libdir:/usr/lib:/lib'
13909 allow_undefined_flag_F77
="-z nodefs"
13910 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"
13912 # Determine the default libpath from the value encoded in an empty executable.
13913 cat >conftest.
$ac_ext <<_ACEOF
13918 rm -f conftest.
$ac_objext conftest
$ac_exeext
13919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13920 (eval $ac_link) 2>conftest.er1
13922 grep -v '^ *+' conftest.er1
>conftest.err
13924 cat conftest.err
>&5
13925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13926 (exit $ac_status); } &&
13927 { ac_try
='test -z "$ac_f77_werror_flag"
13928 || test ! -s conftest.err'
13929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13930 (eval $ac_try) 2>&5
13932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13933 (exit $ac_status); }; } &&
13934 { ac_try
='test -s conftest$ac_exeext'
13935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13936 (eval $ac_try) 2>&5
13938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13939 (exit $ac_status); }; }; then
13941 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13943 # Check for a 64-bit object if we didn't find anything.
13944 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; }
13947 echo "$as_me: failed program was:" >&5
13948 sed 's/^/| /' conftest.
$ac_ext >&5
13951 rm -f conftest.err conftest.
$ac_objext \
13952 conftest
$ac_exeext conftest.
$ac_ext
13953 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13955 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
13956 # Warning - without using the other run time loading flags,
13957 # -berok will link without error, but may produce a broken library.
13958 no_undefined_flag_F77
=' ${wl}-bernotok'
13959 allow_undefined_flag_F77
=' ${wl}-berok'
13960 # Exported symbols can be pulled into shared objects from archives
13961 whole_archive_flag_spec_F77
='$convenience'
13962 archive_cmds_need_lc_F77
=yes
13963 # This is similar to how AIX traditionally builds its shared libraries.
13964 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'
13970 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)'
13971 hardcode_libdir_flag_spec_F77
='-L$libdir'
13972 hardcode_minus_L_F77
=yes
13973 # see comment about different semantics on the GNU ld section
13978 export_dynamic_flag_spec_F77
=-rdynamic
13981 cygwin
* | mingw
* | pw32
*)
13982 # When not using gcc, we currently assume that we are using
13983 # Microsoft Visual C++.
13984 # hardcode_libdir_flag_spec is actually meaningless, as there is
13985 # no search path for DLLs.
13986 hardcode_libdir_flag_spec_F77
=' '
13987 allow_undefined_flag_F77
=unsupported
13988 # Tell ltmain to make .lib files, not .a files.
13990 # Tell ltmain to make .dll files, not .so files.
13992 # FIXME: Setting linknames here is a bad hack.
13993 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
13994 # The linker will automatically build a .lib file if we build a DLL.
13995 old_archive_From_new_cmds_F77
='true'
13996 # FIXME: Should let the user specify the lib program.
13997 old_archive_cmds_F77
='lib /OUT:$oldlib$oldobjs$old_deplibs'
13998 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
13999 enable_shared_with_static_runtimes_F77
=yes
14002 darwin
* | rhapsody
*)
14004 rhapsody
* | darwin1.
[012])
14005 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
14008 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14009 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14011 case ${MACOSX_DEPLOYMENT_TARGET} in
14013 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14016 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
14022 archive_cmds_need_lc_F77
=no
14023 hardcode_direct_F77
=no
14024 hardcode_automatic_F77
=yes
14025 hardcode_shlibpath_var_F77
=unsupported
14026 whole_archive_flag_spec_F77
=''
14027 link_all_deplibs_F77
=yes
14028 if test "$GCC" = yes ; then
14029 output_verbose_link_cmd
='echo'
14030 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14031 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14032 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14033 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}'
14034 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}'
14036 case $cc_basename in
14038 output_verbose_link_cmd
='echo'
14039 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
14040 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14041 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14042 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}'
14043 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}'
14053 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14054 hardcode_libdir_flag_spec_F77
='-L$libdir'
14055 hardcode_shlibpath_var_F77
=no
14062 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14063 # support. Future versions do this automatically, but an explicit c++rt0.o
14064 # does not break anything, and helps significantly (at the cost of a little
14067 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14068 hardcode_libdir_flag_spec_F77
='-R$libdir'
14069 hardcode_direct_F77
=yes
14070 hardcode_shlibpath_var_F77
=no
14073 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14075 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14076 hardcode_direct_F77
=yes
14077 hardcode_minus_L_F77
=yes
14078 hardcode_shlibpath_var_F77
=no
14081 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14082 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
14083 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14084 hardcode_libdir_flag_spec_F77
='-R$libdir'
14085 hardcode_direct_F77
=yes
14086 hardcode_shlibpath_var_F77
=no
14090 if test "$GCC" = yes; then
14091 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'
14093 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'
14095 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14096 hardcode_libdir_separator_F77
=:
14097 hardcode_direct_F77
=yes
14099 # hardcode_minus_L: Not really in the search PATH,
14100 # but as the default location of the library.
14101 hardcode_minus_L_F77
=yes
14102 export_dynamic_flag_spec_F77
='${wl}-E'
14106 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14107 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14109 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14111 if test "$with_gnu_ld" = no
; then
14112 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14113 hardcode_libdir_separator_F77
=:
14115 hardcode_direct_F77
=yes
14116 export_dynamic_flag_spec_F77
='${wl}-E'
14118 # hardcode_minus_L: Not really in the search PATH,
14119 # but as the default location of the library.
14120 hardcode_minus_L_F77
=yes
14125 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14128 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14131 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14134 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14140 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14143 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14146 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14150 if test "$with_gnu_ld" = no
; then
14151 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14152 hardcode_libdir_separator_F77
=:
14156 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
14157 hardcode_direct_F77
=no
14158 hardcode_shlibpath_var_F77
=no
14161 hardcode_direct_F77
=yes
14162 export_dynamic_flag_spec_F77
='${wl}-E'
14164 # hardcode_minus_L: Not really in the search PATH,
14165 # but as the default location of the library.
14166 hardcode_minus_L_F77
=yes
14172 irix5
* | irix6
* | nonstopux
*)
14173 if test "$GCC" = yes; then
14174 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'
14176 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'
14177 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
14179 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14180 hardcode_libdir_separator_F77
=:
14181 link_all_deplibs_F77
=yes
14185 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14186 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14188 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14190 hardcode_libdir_flag_spec_F77
='-R$libdir'
14191 hardcode_direct_F77
=yes
14192 hardcode_shlibpath_var_F77
=no
14196 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14197 hardcode_direct_F77
=yes
14198 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14199 hardcode_libdir_separator_F77
=:
14200 hardcode_shlibpath_var_F77
=no
14204 hardcode_direct_F77
=yes
14205 hardcode_shlibpath_var_F77
=no
14206 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14207 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14208 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14209 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14210 export_dynamic_flag_spec_F77
='${wl}-E'
14213 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
14214 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14215 hardcode_libdir_flag_spec_F77
='-R$libdir'
14218 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14219 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14226 hardcode_libdir_flag_spec_F77
='-L$libdir'
14227 hardcode_minus_L_F77
=yes
14228 allow_undefined_flag_F77
=unsupported
14229 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'
14230 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14234 if test "$GCC" = yes; then
14235 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14236 archive_cmds_F77
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14238 allow_undefined_flag_F77
=' -expect_unresolved \*'
14239 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'
14241 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14242 hardcode_libdir_separator_F77
=:
14245 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
14246 if test "$GCC" = yes; then
14247 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14248 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'
14249 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14251 allow_undefined_flag_F77
=' -expect_unresolved \*'
14252 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'
14253 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~
14254 $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'
14256 # Both c and cxx compiler support -rpath directly
14257 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
14259 hardcode_libdir_separator_F77
=:
14263 no_undefined_flag_F77
=' -z text'
14264 if test "$GCC" = yes; then
14266 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14267 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14268 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
14271 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14272 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14273 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14275 hardcode_libdir_flag_spec_F77
='-R$libdir'
14276 hardcode_shlibpath_var_F77
=no
14278 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14280 # The compiler driver will combine linker options so we
14281 # cannot just pass the convience library names through
14282 # without $wl, iff we do not link with $LD.
14283 # Luckily, gcc supports the same syntax we need for Sun Studio.
14284 # Supported since Solaris 2.6 (maybe 2.5.1?)
14287 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract' ;;
14289 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' ;;
14292 link_all_deplibs_F77
=yes
14296 if test "x$host_vendor" = xsequent
; then
14297 # Use $CC to link under sequent, because it throws in some extra .o
14298 # files that make .init and .fini sections work.
14299 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14301 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14303 hardcode_libdir_flag_spec_F77
='-L$libdir'
14304 hardcode_direct_F77
=yes
14305 hardcode_minus_L_F77
=yes
14306 hardcode_shlibpath_var_F77
=no
14310 case $host_vendor in
14312 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14313 hardcode_direct_F77
=yes # is this really true???
14316 ## LD is ld it makes a PLAMLIB
14317 ## CC just makes a GrossModule.
14318 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14319 reload_cmds_F77
='$CC -r -o $output$reload_objs'
14320 hardcode_direct_F77
=no
14323 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14324 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
14327 runpath_var
='LD_RUN_PATH'
14328 hardcode_shlibpath_var_F77
=no
14332 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14333 hardcode_shlibpath_var_F77
=no
14334 export_dynamic_flag_spec_F77
='-Bexport'
14338 if test -d /usr
/nec
; then
14339 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14340 hardcode_shlibpath_var_F77
=no
14341 runpath_var
=LD_RUN_PATH
14342 hardcode_runpath_var
=yes
14347 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
14348 no_undefined_flag_F77
='${wl}-z,text'
14349 archive_cmds_need_lc_F77
=no
14350 hardcode_shlibpath_var_F77
=no
14351 runpath_var
='LD_RUN_PATH'
14353 if test "$GCC" = yes; then
14354 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14355 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14357 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14358 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14362 sysv5
* | sco3.2v5
* | sco5v6
*)
14363 # Note: We can NOT use -z defs as we might desire, because we do not
14364 # link with -lc, and that would cause any symbols used from libc to
14365 # always be unresolved, which means just about no library would
14366 # ever link correctly. If we're not using GNU ld we use -z text
14367 # though, which does catch some bad symbols but isn't as heavy-handed
14369 no_undefined_flag_F77
='${wl}-z,text'
14370 allow_undefined_flag_F77
='${wl}-z,nodefs'
14371 archive_cmds_need_lc_F77
=no
14372 hardcode_shlibpath_var_F77
=no
14373 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
14374 hardcode_libdir_separator_F77
=':'
14375 link_all_deplibs_F77
=yes
14376 export_dynamic_flag_spec_F77
='${wl}-Bexport'
14377 runpath_var
='LD_RUN_PATH'
14379 if test "$GCC" = yes; then
14380 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14381 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14383 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14384 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14389 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14390 hardcode_libdir_flag_spec_F77
='-L$libdir'
14391 hardcode_shlibpath_var_F77
=no
14400 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
14401 echo "${ECHO_T}$ld_shlibs_F77" >&6
14402 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
14405 # Do we need to explicitly link libc?
14407 case "x$archive_cmds_need_lc_F77" in
14409 # Assume -lc should be added
14410 archive_cmds_need_lc_F77
=yes
14412 if test "$enable_shared" = yes && test "$GCC" = yes; then
14413 case $archive_cmds_F77 in
14415 # FIXME: we may have to deal with multi-command sequences.
14418 # Test whether the compiler implicitly links with -lc since on some
14419 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14420 # to ld, don't add -lc before -lgcc.
14421 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14422 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
14424 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14427 (eval $ac_compile) 2>&5
14429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14430 (exit $ac_status); } 2>conftest.err
; then
14433 libobjs
=conftest.
$ac_objext
14435 wl
=$lt_prog_compiler_wl_F77
14436 pic_flag
=$lt_prog_compiler_pic_F77
14442 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
14443 allow_undefined_flag_F77
=
14444 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
14445 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14448 (exit $ac_status); }
14450 archive_cmds_need_lc_F77
=no
14452 archive_cmds_need_lc_F77
=yes
14454 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
14456 cat conftest.err
1>&5
14459 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
14460 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
14467 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14468 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14469 library_names_spec
=
14470 libname_spec
='lib$name'
14474 postuninstall_cmds
=
14478 shlibpath_overrides_runpath
=unknown
14480 dynamic_linker
="$host_os ld.so"
14481 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14482 if test "$GCC" = yes; then
14483 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14484 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
14485 # if the path contains ";" then we assume it to be the separator
14486 # otherwise default to the standard path separator (i.e. ":") - it is
14487 # assumed that no part of a normal pathname contains ";" but that should
14488 # okay in the real world where ";" in dirpaths is itself problematic.
14489 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14491 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14494 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
14496 need_lib_prefix
=unknown
14497 hardcode_into_libs
=no
14499 # when you set need_version to no, make sure it does not cause -set_version
14500 # flags to be left without arguments
14501 need_version
=unknown
14506 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14507 shlibpath_var
=LIBPATH
14509 # AIX 3 has no versioning support, so we append a major version to the name.
14510 soname_spec
='${libname}${release}${shared_ext}$major'
14517 hardcode_into_libs
=yes
14518 if test "$host_cpu" = ia64
; then
14519 # AIX 5 supports IA64
14520 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14521 shlibpath_var
=LD_LIBRARY_PATH
14523 # With GCC up to 2.95.x, collect2 would create an import file
14524 # for dependence libraries. The import file would start with
14525 # the line `#! .'. This would cause the generated library to
14526 # depend on `.', always an invalid library. This was fixed in
14527 # development snapshots of GCC prior to 3.0.
14529 aix4 | aix4.
[01] | aix4.
[01].
*)
14530 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14532 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
14535 can_build_shared
=no
14539 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14540 # soname into executable. Probably we can add versioning support to
14541 # collect2, so additional links can be useful in future.
14542 if test "$aix_use_runtimelinking" = yes; then
14543 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14544 # instead of lib<name>.a to let people know that these are not
14545 # typical AIX shared libraries.
14546 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14548 # We preserve .a as extension for shared libraries through AIX4.2
14549 # and later when we are not doing run time linking.
14550 library_names_spec
='${libname}${release}.a $libname.a'
14551 soname_spec
='${libname}${release}${shared_ext}$major'
14553 shlibpath_var
=LIBPATH
14558 library_names_spec
='$libname.ixlibrary $libname.a'
14559 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14560 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'
14564 library_names_spec
='${libname}${shared_ext}'
14565 dynamic_linker
="$host_os ld.so"
14566 shlibpath_var
=LIBRARY_PATH
14572 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14573 soname_spec
='${libname}${release}${shared_ext}$major'
14574 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14575 shlibpath_var
=LD_LIBRARY_PATH
14576 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14577 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14578 # the default ld.so.conf also contains /usr/contrib/lib and
14579 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14580 # libtool to hard-code these into programs
14583 cygwin
* | mingw
* | pw32
*)
14584 version_type
=windows
14589 case $GCC,$host_os in
14590 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
14591 library_names_spec
='$libname.dll.a'
14592 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14593 postinstall_cmds
='base_file=`basename \${file}`~
14594 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14595 dldir=$destdir/`dirname \$dlpath`~
14596 test -d \$dldir || mkdir -p \$dldir~
14597 $install_prog $dir/$dlname \$dldir/$dlname~
14598 chmod a+x \$dldir/$dlname'
14599 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14600 dlpath=$dir/\$dldll~
14602 shlibpath_overrides_runpath
=yes
14606 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14607 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14608 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
14611 # MinGW DLLs use traditional 'lib' prefix
14612 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14613 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14614 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
14615 # It is most probably a Windows format PATH printed by
14616 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14617 # path with ; separators, and with drive letters. We can handle the
14618 # drive letters (cygwin fileutils understands them), so leave them,
14619 # especially as we might pass files found there to a mingw objdump,
14620 # which wouldn't understand a cygwinified path. Ahh.
14621 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14623 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14627 # pw32 DLLs use 'pw' prefix rather than 'lib'
14628 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14634 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14637 dynamic_linker
='Win32 ld.exe'
14638 # FIXME: first we should search . and the directory the executable is in
14642 darwin
* | rhapsody
*)
14643 dynamic_linker
="$host_os dyld"
14644 version_type
=darwin
14647 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14648 soname_spec
='${libname}${release}${major}$shared_ext'
14649 shlibpath_overrides_runpath
=yes
14650 shlibpath_var
=DYLD_LIBRARY_PATH
14651 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14652 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14653 if test "$GCC" = yes; then
14654 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"`
14656 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
14658 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14665 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14666 soname_spec
='${libname}${release}${shared_ext}$major'
14667 shlibpath_var
=LD_LIBRARY_PATH
14678 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14679 soname_spec
='${libname}${release}${shared_ext}$major'
14680 shlibpath_var
=LD_LIBRARY_PATH
14681 shlibpath_overrides_runpath
=no
14682 hardcode_into_libs
=yes
14683 dynamic_linker
='GNU ld.so'
14686 freebsd
* | dragonfly
*)
14687 # DragonFly does not have aout. When/if they implement a new
14688 # versioning mechanism, adjust this.
14689 if test -x /usr
/bin
/objformat
; then
14690 objformat
=`/usr/bin/objformat`
14693 freebsd
[123]*) objformat
=aout
;;
14694 *) objformat
=elf
;;
14697 version_type
=freebsd-
$objformat
14698 case $version_type in
14700 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14705 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14709 shlibpath_var
=LD_LIBRARY_PATH
14712 shlibpath_overrides_runpath
=yes
14714 freebsd3.
[01]* | freebsdelf3.
[01]*)
14715 shlibpath_overrides_runpath
=yes
14716 hardcode_into_libs
=yes
14718 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14719 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14720 shlibpath_overrides_runpath
=no
14721 hardcode_into_libs
=yes
14723 freebsd
*) # from 4.6 on
14724 shlibpath_overrides_runpath
=yes
14725 hardcode_into_libs
=yes
14734 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14735 soname_spec
='${libname}${release}${shared_ext}$major'
14736 shlibpath_var
=LD_LIBRARY_PATH
14737 hardcode_into_libs
=yes
14740 hpux9
* | hpux10
* | hpux11
*)
14741 # Give a soname corresponding to the major version so that dld.sl refuses to
14742 # link against other versions.
14749 hardcode_into_libs
=yes
14750 dynamic_linker
="$host_os dld.so"
14751 shlibpath_var
=LD_LIBRARY_PATH
14752 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14753 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14754 soname_spec
='${libname}${release}${shared_ext}$major'
14755 if test "X$HPUX_IA64_MODE" = X32
; then
14756 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14758 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14760 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14764 hardcode_into_libs
=yes
14765 dynamic_linker
="$host_os dld.sl"
14766 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14767 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14768 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14769 soname_spec
='${libname}${release}${shared_ext}$major'
14770 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14771 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14775 dynamic_linker
="$host_os dld.sl"
14776 shlibpath_var
=SHLIB_PATH
14777 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14778 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14779 soname_spec
='${libname}${release}${shared_ext}$major'
14782 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14783 postinstall_cmds
='chmod 555 $lib'
14790 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14791 soname_spec
='${libname}${release}${shared_ext}$major'
14792 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14793 shlibpath_var
=LD_LIBRARY_PATH
14794 shlibpath_overrides_runpath
=no
14795 hardcode_into_libs
=yes
14798 irix5
* | irix6
* | nonstopux
*)
14800 nonstopux
*) version_type
=nonstopux
;;
14802 if test "$lt_cv_prog_gnu_ld" = yes; then
14810 soname_spec
='${libname}${release}${shared_ext}$major'
14811 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14813 irix5
* | nonstopux
*)
14814 libsuff
= shlibsuff
=
14817 case $LD in # libtool.m4 will add one of these switches to LD
14818 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14819 libsuff
= shlibsuff
= libmagic
=32-bit;;
14820 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14821 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14822 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14823 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14824 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14828 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14829 shlibpath_overrides_runpath
=no
14830 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14831 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14832 hardcode_into_libs
=yes
14835 # No shared lib support for Linux oldld, aout, or coff.
14836 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14840 # This must be Linux ELF.
14845 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14846 soname_spec
='${libname}${release}${shared_ext}$major'
14847 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14848 shlibpath_var
=LD_LIBRARY_PATH
14849 shlibpath_overrides_runpath
=no
14850 # This implies no fast_install, which is unacceptable.
14851 # Some rework will be needed to allow for fast_install
14852 # before this can be enabled.
14853 hardcode_into_libs
=yes
14855 # find out which ABI we are using
14857 case "$host_cpu" in
14858 x86_64
*|s390x
*|powerpc64
*)
14859 echo '#line 14859 "configure"' > conftest.
$ac_ext
14860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14861 (eval $ac_compile) 2>&5
14863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14864 (exit $ac_status); }; then
14865 case `/usr/bin/file conftest.$ac_objext` in
14868 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
14876 # Append ld.so.conf contents to the search path
14877 if test -f /etc
/ld.so.conf
; then
14878 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' ' '`
14879 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
14882 # We used to test for /lib/ld.so.1 and disable shared libraries on
14883 # powerpc, because MkLinux only supported shared libraries with the
14884 # GNU dynamic linker. Since this was broken with cross compilers,
14885 # most powerpc-linux boxes support dynamic linking these days and
14886 # people can always --disable-shared, the test was removed, and we
14887 # assume the GNU/Linux dynamic linker is in use.
14888 dynamic_linker
='GNU/Linux ld.so'
14895 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14896 soname_spec
='${libname}${release}${shared_ext}$major'
14897 shlibpath_var
=LD_LIBRARY_PATH
14898 shlibpath_overrides_runpath
=no
14899 hardcode_into_libs
=yes
14900 dynamic_linker
='GNU ld.so'
14907 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14908 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14909 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14910 dynamic_linker
='NetBSD (a.out) ld.so'
14912 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14913 soname_spec
='${libname}${release}${shared_ext}$major'
14914 dynamic_linker
='NetBSD ld.elf_so'
14916 shlibpath_var
=LD_LIBRARY_PATH
14917 shlibpath_overrides_runpath
=yes
14918 hardcode_into_libs
=yes
14923 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14924 shlibpath_var
=LD_LIBRARY_PATH
14925 shlibpath_overrides_runpath
=yes
14932 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14933 soname_spec
='${libname}${release}${shared_ext}$major'
14934 shlibpath_var
=LD_LIBRARY_PATH
14935 shlibpath_overrides_runpath
=yes
14940 sys_lib_dlsearch_path_spec
="/usr/lib"
14942 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14944 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
14945 *) need_version
=no
;;
14947 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14948 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14949 shlibpath_var
=LD_LIBRARY_PATH
14950 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14952 openbsd2.
[89] | openbsd2.
[89].
*)
14953 shlibpath_overrides_runpath
=no
14956 shlibpath_overrides_runpath
=yes
14960 shlibpath_overrides_runpath
=yes
14965 libname_spec
='$name'
14968 library_names_spec
='$libname${shared_ext} $libname.a'
14969 dynamic_linker
='OS/2 ld.exe'
14970 shlibpath_var
=LIBPATH
14973 osf3
* | osf4
* | osf5
*)
14977 soname_spec
='${libname}${release}${shared_ext}$major'
14978 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14979 shlibpath_var
=LD_LIBRARY_PATH
14980 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14981 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
14988 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14989 soname_spec
='${libname}${release}${shared_ext}$major'
14990 shlibpath_var
=LD_LIBRARY_PATH
14991 shlibpath_overrides_runpath
=yes
14992 hardcode_into_libs
=yes
14993 # ldd complains unless libraries are executable
14994 postinstall_cmds
='chmod +x $lib'
14999 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15000 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15001 shlibpath_var
=LD_LIBRARY_PATH
15002 shlibpath_overrides_runpath
=yes
15003 if test "$with_gnu_ld" = yes; then
15011 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15012 soname_spec
='${libname}${release}${shared_ext}$major'
15013 shlibpath_var
=LD_LIBRARY_PATH
15014 case $host_vendor in
15016 shlibpath_overrides_runpath
=no
15018 export_dynamic_flag_spec
='${wl}-Blargedynsym'
15019 runpath_var
=LD_RUN_PATH
15027 shlibpath_overrides_runpath
=no
15028 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15034 if test -d /usr
/nec
;then
15036 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15037 soname_spec
='$libname${shared_ext}.$major'
15038 shlibpath_var
=LD_LIBRARY_PATH
15042 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15043 version_type
=freebsd-elf
15046 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15047 soname_spec
='${libname}${release}${shared_ext}$major'
15048 shlibpath_var
=LD_LIBRARY_PATH
15049 hardcode_into_libs
=yes
15050 if test "$with_gnu_ld" = yes; then
15051 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15052 shlibpath_overrides_runpath
=no
15054 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15055 shlibpath_overrides_runpath
=yes
15058 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15062 sys_lib_dlsearch_path_spec
='/usr/lib'
15067 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15068 soname_spec
='${libname}${release}${shared_ext}$major'
15069 shlibpath_var
=LD_LIBRARY_PATH
15076 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15077 echo "${ECHO_T}$dynamic_linker" >&6
15078 test "$dynamic_linker" = no
&& can_build_shared
=no
15080 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15081 if test "$GCC" = yes; then
15082 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15085 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15086 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
15087 hardcode_action_F77
=
15088 if test -n "$hardcode_libdir_flag_spec_F77" || \
15089 test -n "$runpath_var_F77" || \
15090 test "X$hardcode_automatic_F77" = "Xyes" ; then
15092 # We can hardcode non-existant directories.
15093 if test "$hardcode_direct_F77" != no
&&
15094 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15095 # have to relink, otherwise we might link with an installed library
15096 # when we should be linking with a yet-to-be-installed one
15097 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
15098 test "$hardcode_minus_L_F77" != no
; then
15099 # Linking always hardcodes the temporary library directory.
15100 hardcode_action_F77
=relink
15102 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15103 hardcode_action_F77
=immediate
15106 # We cannot hardcode anything, or else we can only hardcode existing
15108 hardcode_action_F77
=unsupported
15110 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15111 echo "${ECHO_T}$hardcode_action_F77" >&6
15113 if test "$hardcode_action_F77" = relink
; then
15114 # Fast installation is not supported
15115 enable_fast_install
=no
15116 elif test "$shlibpath_overrides_runpath" = yes ||
15117 test "$enable_shared" = no
; then
15118 # Fast installation is not necessary
15119 enable_fast_install
=needless
15123 # The else clause should only fire when bootstrapping the
15124 # libtool distribution, otherwise you forgot to ship ltmain.sh
15125 # with your package, and you will get complaints that there are
15126 # no rules to generate ltmain.sh.
15127 if test -f "$ltmain"; then
15128 # See if we are running on zsh, and set the options which allow our commands through
15129 # without removal of \ escapes.
15130 if test -n "${ZSH_VERSION+set}" ; then
15131 setopt NO_GLOB_SUBST
15133 # Now quote all the things that may contain metacharacters while being
15134 # careful not to overquote the AC_SUBSTed values. We take copies of the
15135 # variables and quote the copies for generation of the libtool script.
15136 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
15138 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15139 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15140 deplibs_check_method reload_flag reload_cmds need_locks \
15141 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15142 lt_cv_sys_global_symbol_to_c_name_address \
15143 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15144 old_postinstall_cmds old_postuninstall_cmds \
15148 lt_prog_compiler_wl_F77 \
15149 lt_prog_compiler_pic_F77 \
15150 lt_prog_compiler_static_F77 \
15151 lt_prog_compiler_no_builtin_flag_F77 \
15152 export_dynamic_flag_spec_F77 \
15153 thread_safe_flag_spec_F77 \
15154 whole_archive_flag_spec_F77 \
15155 enable_shared_with_static_runtimes_F77 \
15156 old_archive_cmds_F77 \
15157 old_archive_from_new_cmds_F77 \
15158 predep_objects_F77 \
15159 postdep_objects_F77 \
15162 compiler_lib_search_path_F77 \
15164 archive_expsym_cmds_F77 \
15165 postinstall_cmds_F77 \
15166 postuninstall_cmds_F77 \
15167 old_archive_from_expsyms_cmds_F77 \
15168 allow_undefined_flag_F77 \
15169 no_undefined_flag_F77 \
15170 export_symbols_cmds_F77 \
15171 hardcode_libdir_flag_spec_F77 \
15172 hardcode_libdir_flag_spec_ld_F77 \
15173 hardcode_libdir_separator_F77 \
15174 hardcode_automatic_F77 \
15176 module_expsym_cmds_F77 \
15177 lt_cv_prog_compiler_c_o_F77 \
15178 exclude_expsyms_F77 \
15179 include_expsyms_F77
; do
15182 old_archive_cmds_F77 | \
15183 old_archive_from_new_cmds_F77 | \
15184 archive_cmds_F77 | \
15185 archive_expsym_cmds_F77 | \
15186 module_cmds_F77 | \
15187 module_expsym_cmds_F77 | \
15188 old_archive_from_expsyms_cmds_F77 | \
15189 export_symbols_cmds_F77 | \
15190 extract_expsyms_cmds | reload_cmds | finish_cmds | \
15191 postinstall_cmds | postuninstall_cmds | \
15192 old_postinstall_cmds | old_postuninstall_cmds | \
15193 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
15194 # Double-quote double-evaled strings.
15195 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15198 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15204 *'\$0 --fallback-echo"')
15205 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15211 cat <<__EOF__ >> "$cfgfile"
15212 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
15214 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15216 # Shell to use when invoking shell scripts.
15219 # Whether or not to build shared libraries.
15220 build_libtool_libs=$enable_shared
15222 # Whether or not to build static libraries.
15223 build_old_libs=$enable_static
15225 # Whether or not to add -lc for building shared libraries.
15226 build_libtool_need_lc=$archive_cmds_need_lc_F77
15228 # Whether or not to disallow shared libs when runtime libs are static
15229 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
15231 # Whether or not to optimize for fast installation.
15232 fast_install=$enable_fast_install
15235 host_alias=$host_alias
15239 # The build system.
15240 build_alias=$build_alias
15244 # An echo program that does not interpret backslashes.
15249 AR_FLAGS=$lt_AR_FLAGS
15254 # LTCC compiler flags.
15255 LTCFLAGS=$lt_LTCFLAGS
15257 # A language-specific compiler.
15258 CC=$lt_compiler_F77
15260 # Is the compiler the GNU C compiler?
15263 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
15264 gcc_ver=\`gcc -dumpversion\`
15269 # The linker used to build libraries.
15272 # Whether we need hard or soft links.
15275 # A BSD-compatible nm program.
15278 # A symbol stripping program
15281 # Used to examine libraries when file_magic_cmd begins "file"
15282 MAGIC_CMD=$MAGIC_CMD
15284 # Used on cygwin: DLL creation program.
15287 # Used on cygwin: object dumper.
15290 # Used on cygwin: assembler.
15293 # The name of the directory that contains temporary libtool files.
15296 # How to create reloadable object files.
15297 reload_flag=$lt_reload_flag
15298 reload_cmds=$lt_reload_cmds
15300 # How to pass a linker flag through the compiler.
15301 wl=$lt_lt_prog_compiler_wl_F77
15303 # Object file suffix (normally "o").
15304 objext="$ac_objext"
15306 # Old archive suffix (normally "a").
15309 # Shared library suffix (normally ".so").
15310 shrext_cmds='$shrext_cmds'
15312 # Executable file suffix (normally "").
15315 # Additional compiler flags for building library objects.
15316 pic_flag=$lt_lt_prog_compiler_pic_F77
15319 # What is the maximum length of a command?
15320 max_cmd_len=$lt_cv_sys_max_cmd_len
15322 # Does compiler simultaneously support -c and -o options?
15323 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
15325 # Must we lock files when doing compilation?
15326 need_locks=$lt_need_locks
15328 # Do we need the lib prefix for modules?
15329 need_lib_prefix=$need_lib_prefix
15331 # Do we need a version for libraries?
15332 need_version=$need_version
15334 # Whether dlopen is supported.
15335 dlopen_support=$enable_dlopen
15337 # Whether dlopen of programs is supported.
15338 dlopen_self=$enable_dlopen_self
15340 # Whether dlopen of statically linked programs is supported.
15341 dlopen_self_static=$enable_dlopen_self_static
15343 # Compiler flag to prevent dynamic linking.
15344 link_static_flag=$lt_lt_prog_compiler_static_F77
15346 # Compiler flag to turn off builtin functions.
15347 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
15349 # Compiler flag to allow reflexive dlopens.
15350 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
15352 # Compiler flag to generate shared objects directly from archives.
15353 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
15355 # Compiler flag to generate thread-safe objects.
15356 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
15358 # Library versioning type.
15359 version_type=$version_type
15361 # Format of library name prefix.
15362 libname_spec=$lt_libname_spec
15364 # List of archive names. First name is the real one, the rest are links.
15365 # The last name is the one that the linker finds with -lNAME.
15366 library_names_spec=$lt_library_names_spec
15368 # The coded name of the library, if different from the real name.
15369 soname_spec=$lt_soname_spec
15371 # Commands used to build and install an old-style archive.
15373 old_archive_cmds=$lt_old_archive_cmds_F77
15374 old_postinstall_cmds=$lt_old_postinstall_cmds
15375 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15377 # Create an old-style archive from a shared archive.
15378 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
15380 # Create a temporary old-style archive to link instead of a shared archive.
15381 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
15383 # Commands used to build and install a shared archive.
15384 archive_cmds=$lt_archive_cmds_F77
15385 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
15386 postinstall_cmds=$lt_postinstall_cmds
15387 postuninstall_cmds=$lt_postuninstall_cmds
15389 # Commands used to build a loadable module (assumed same as above if empty)
15390 module_cmds=$lt_module_cmds_F77
15391 module_expsym_cmds=$lt_module_expsym_cmds_F77
15393 # Commands to strip libraries.
15394 old_striplib=$lt_old_striplib
15395 striplib=$lt_striplib
15397 # Dependencies to place before the objects being linked to create a
15399 predep_objects=\`echo $lt_predep_objects_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
15401 # Dependencies to place after the objects being linked to create a
15403 postdep_objects=\`echo $lt_postdep_objects_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
15405 # Dependencies to place before the objects being linked to create a
15407 predeps=$lt_predeps_F77
15409 # Dependencies to place after the objects being linked to create a
15411 postdeps=$lt_postdeps_F77
15413 # The library search path used internally by the compiler when linking
15414 # a shared library.
15415 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"\`
15417 # Method to check whether dependent libraries are shared objects.
15418 deplibs_check_method=$lt_deplibs_check_method
15420 # Command to use when deplibs_check_method == file_magic.
15421 file_magic_cmd=$lt_file_magic_cmd
15423 # Flag that allows shared libraries with undefined symbols to be built.
15424 allow_undefined_flag=$lt_allow_undefined_flag_F77
15426 # Flag that forces no undefined symbols.
15427 no_undefined_flag=$lt_no_undefined_flag_F77
15429 # Commands used to finish a libtool library installation in a directory.
15430 finish_cmds=$lt_finish_cmds
15432 # Same as above, but a single script fragment to be evaled but not shown.
15433 finish_eval=$lt_finish_eval
15435 # Take the output of nm and produce a listing of raw symbols and C names.
15436 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15438 # Transform the output of nm in a proper C declaration
15439 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15441 # Transform the output of nm in a C name address pair
15442 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15444 # This is the shared library runtime path variable.
15445 runpath_var=$runpath_var
15447 # This is the shared library path variable.
15448 shlibpath_var=$shlibpath_var
15450 # Is shlibpath searched before the hard-coded library search path?
15451 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15453 # How to hardcode a shared library path into an executable.
15454 hardcode_action=$hardcode_action_F77
15456 # Whether we should hardcode library paths into libraries.
15457 hardcode_into_libs=$hardcode_into_libs
15459 # Flag to hardcode \$libdir into a binary during linking.
15460 # This must work even if \$libdir does not exist.
15461 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
15463 # If ld is used when linking, flag to hardcode \$libdir into
15464 # a binary during linking. This must work even if \$libdir does
15466 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
15468 # Whether we need a single -rpath flag with a separated argument.
15469 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
15471 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
15472 # resulting binary.
15473 hardcode_direct=$hardcode_direct_F77
15475 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
15476 # resulting binary.
15477 hardcode_minus_L=$hardcode_minus_L_F77
15479 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
15480 # the resulting binary.
15481 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
15483 # Set to yes if building a shared library automatically hardcodes DIR into the library
15484 # and all subsequent libraries and executables linked against it.
15485 hardcode_automatic=$hardcode_automatic_F77
15487 # Variables whose values should be saved in libtool wrapper scripts and
15488 # restored at relink time.
15489 variables_saved_for_relink="$variables_saved_for_relink"
15491 # Whether libtool must link a program against all its dependency libraries.
15492 link_all_deplibs=$link_all_deplibs_F77
15494 # Compile-time system search path for libraries
15495 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"\`
15497 # Run-time system search path for libraries
15498 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15500 # Fix the shell variable \$srcfile for the compiler.
15501 fix_srcfile_path="$fix_srcfile_path_F77"
15503 # Set to yes if exported symbols are required.
15504 always_export_symbols=$always_export_symbols_F77
15506 # The commands to list exported symbols.
15507 export_symbols_cmds=$lt_export_symbols_cmds_F77
15509 # The commands to extract the exported symbol list from a shared archive.
15510 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15512 # Symbols that should not be listed in the preloaded symbols.
15513 exclude_expsyms=$lt_exclude_expsyms_F77
15515 # Symbols that must always be exported.
15516 include_expsyms=$lt_include_expsyms_F77
15518 # ### END LIBTOOL TAG CONFIG: $tagname
15524 # If there is no Makefile yet, we rely on a make rule to execute
15525 # `config.status --recheck' to rerun these tests and create the
15526 # libtool script then.
15527 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
15528 if test -f "$ltmain_in"; then
15529 test -f Makefile
&& make "$ltmain"
15535 ac_cpp
='$CPP $CPPFLAGS'
15536 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15537 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15538 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15548 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
15552 # Source file extension for Java test sources.
15555 # Object file extension for compiled Java test sources.
15559 # Code to be used in simple compile tests
15560 lt_simple_compile_test_code
="class foo {}\n"
15562 # Code to be used in simple link tests
15563 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }\n'
15565 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15567 # If no C compiler was specified, use CC.
15570 # If no C compiler flags were specified, use CFLAGS.
15571 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
15573 # Allow CC to be a program name with arguments.
15577 # save warnings/boilerplate of simple test code
15578 ac_outfile
=conftest.
$ac_objext
15579 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
15580 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
15581 _lt_compiler_boilerplate
=`cat conftest.err`
15584 ac_outfile
=conftest.
$ac_objext
15585 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
15586 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
15587 _lt_linker_boilerplate
=`cat conftest.err`
15591 # Allow CC to be a program name with arguments.
15596 for cc_temp
in $compiler""; do
15598 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
15599 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
15604 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15607 # GCJ did not exist at the time GCC didn't implicitly link libc in.
15608 archive_cmds_need_lc_GCJ
=no
15610 old_archive_cmds_GCJ
=$old_archive_cmds
15613 lt_prog_compiler_no_builtin_flag_GCJ
=
15615 if test "$GCC" = yes; then
15616 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
15619 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15620 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
15621 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15622 echo $ECHO_N "(cached) $ECHO_C" >&6
15624 lt_cv_prog_compiler_rtti_exceptions
=no
15625 ac_outfile
=conftest.
$ac_objext
15626 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15627 lt_compiler_flag
="-fno-rtti -fno-exceptions"
15628 # Insert the option either (1) after the last *FLAGS variable, or
15629 # (2) before a word containing "conftest.", or (3) at the end.
15630 # Note that $ac_compile itself does not contain backslashes and begins
15631 # with a dollar sign (not a hyphen), so the echo should work correctly.
15632 # The option is referenced via a variable to avoid confusing sed.
15633 lt_compile
=`echo "$ac_compile" | $SED \
15634 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15635 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15636 -e 's:$: $lt_compiler_flag:'`
15637 (eval echo "\"\$as_me:15637: $lt_compile\"" >&5)
15638 (eval "$lt_compile" 2>conftest.err
)
15640 cat conftest.err
>&5
15641 echo "$as_me:15641: \$? = $ac_status" >&5
15642 if (exit $ac_status) && test -s "$ac_outfile"; then
15643 # The compiler can only warn and ignore the option if not recognized
15644 # So say no if there are warnings other than the usual output.
15645 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
15646 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15647 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
15648 lt_cv_prog_compiler_rtti_exceptions
=yes
15654 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15655 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
15657 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
15658 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15665 lt_prog_compiler_wl_GCJ
=
15666 lt_prog_compiler_pic_GCJ
=
15667 lt_prog_compiler_static_GCJ
=
15669 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15670 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15672 if test "$GCC" = yes; then
15673 lt_prog_compiler_wl_GCJ
='-Wl,'
15674 lt_prog_compiler_static_GCJ
='-static'
15678 # All AIX code is PIC.
15679 if test "$host_cpu" = ia64
; then
15680 # AIX 5 now supports IA64 processor
15681 lt_prog_compiler_static_GCJ
='-Bstatic'
15686 # FIXME: we need at least 68020 code to build shared libraries, but
15687 # adding the `-m68020' flag to GCC prevents building anything better,
15689 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
15692 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
15693 # PIC is the default for these OSes.
15696 mingw
* | pw32
* | os2
*)
15697 # This hack is so that the source file can tell whether it is being
15698 # built for inclusion in a dll (and should export symbols for example).
15699 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
15702 darwin
* | rhapsody
*)
15703 # PIC is the default on this platform
15704 # Common symbols not allowed in MH_DYLIB files
15705 lt_prog_compiler_pic_GCJ
='-fno-common'
15709 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15710 # Instead, we relocate shared libraries at runtime.
15714 # Just because we use GCC doesn't mean we suddenly get shared libraries
15715 # on systems that don't support them.
15716 lt_prog_compiler_can_build_shared_GCJ
=no
15721 if test -d /usr
/nec
; then
15722 lt_prog_compiler_pic_GCJ
=-Kconform_pic
15727 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15728 # not for PA HP-UX.
15734 lt_prog_compiler_pic_GCJ
='-fPIC'
15740 lt_prog_compiler_pic_GCJ
='-fPIC'
15744 # PORTME Check for flag to pass linker flags through the system compiler.
15747 lt_prog_compiler_wl_GCJ
='-Wl,'
15748 if test "$host_cpu" = ia64
; then
15749 # AIX 5 now supports IA64 processor
15750 lt_prog_compiler_static_GCJ
='-Bstatic'
15752 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
15756 # PIC is the default on this platform
15757 # Common symbols not allowed in MH_DYLIB files
15758 case $cc_basename in
15760 lt_prog_compiler_pic_GCJ
='-qnocommon'
15761 lt_prog_compiler_wl_GCJ
='-Wl,'
15766 mingw
* | pw32
* | os2
*)
15767 # This hack is so that the source file can tell whether it is being
15768 # built for inclusion in a dll (and should export symbols for example).
15769 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
15772 hpux9
* | hpux10
* | hpux11
*)
15773 lt_prog_compiler_wl_GCJ
='-Wl,'
15774 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15775 # not for PA HP-UX.
15781 lt_prog_compiler_pic_GCJ
='+Z'
15784 # Is there a better lt_prog_compiler_static that works with the bundled CC?
15785 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
15788 irix5
* | irix6
* | nonstopux
*)
15789 lt_prog_compiler_wl_GCJ
='-Wl,'
15790 # PIC (with -KPIC) is the default.
15791 lt_prog_compiler_static_GCJ
='-non_shared'
15795 lt_prog_compiler_pic_GCJ
='-KPIC'
15796 lt_prog_compiler_static_GCJ
='-Bstatic'
15800 case $cc_basename in
15802 lt_prog_compiler_wl_GCJ
='-Wl,'
15803 lt_prog_compiler_pic_GCJ
='-KPIC'
15804 lt_prog_compiler_static_GCJ
='-static'
15806 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
15807 # Portland Group compilers (*not* the Pentium gcc compiler,
15808 # which looks to be a dead project)
15809 lt_prog_compiler_wl_GCJ
='-Wl,'
15810 lt_prog_compiler_pic_GCJ
='-fpic'
15811 lt_prog_compiler_static_GCJ
='-Bstatic'
15814 lt_prog_compiler_wl_GCJ
='-Wl,'
15815 # All Alpha code is PIC.
15816 lt_prog_compiler_static_GCJ
='-non_shared'
15821 osf3
* | osf4
* | osf5
*)
15822 lt_prog_compiler_wl_GCJ
='-Wl,'
15823 # All OSF/1 code is PIC.
15824 lt_prog_compiler_static_GCJ
='-non_shared'
15828 lt_prog_compiler_pic_GCJ
='-KPIC'
15829 lt_prog_compiler_static_GCJ
='-Bstatic'
15830 case $cc_basename in
15831 f77
* | f90
* | f95
*)
15832 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
15834 lt_prog_compiler_wl_GCJ
='-Wl,';;
15839 lt_prog_compiler_wl_GCJ
='-Qoption ld '
15840 lt_prog_compiler_pic_GCJ
='-PIC'
15841 lt_prog_compiler_static_GCJ
='-Bstatic'
15844 sysv4 | sysv4.2uw2
* | sysv4.3
*)
15845 lt_prog_compiler_wl_GCJ
='-Wl,'
15846 lt_prog_compiler_pic_GCJ
='-KPIC'
15847 lt_prog_compiler_static_GCJ
='-Bstatic'
15851 if test -d /usr
/nec
;then
15852 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
15853 lt_prog_compiler_static_GCJ
='-Bstatic'
15857 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
15858 lt_prog_compiler_wl_GCJ
='-Wl,'
15859 lt_prog_compiler_pic_GCJ
='-KPIC'
15860 lt_prog_compiler_static_GCJ
='-Bstatic'
15864 lt_prog_compiler_wl_GCJ
='-Wl,'
15865 lt_prog_compiler_can_build_shared_GCJ
=no
15869 lt_prog_compiler_pic_GCJ
='-pic'
15870 lt_prog_compiler_static_GCJ
='-Bstatic'
15874 lt_prog_compiler_can_build_shared_GCJ
=no
15879 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
15880 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
15883 # Check to make sure the PIC flag actually works.
15885 if test -n "$lt_prog_compiler_pic_GCJ"; then
15887 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
15888 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
15889 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
15890 echo $ECHO_N "(cached) $ECHO_C" >&6
15892 lt_prog_compiler_pic_works_GCJ
=no
15893 ac_outfile
=conftest.
$ac_objext
15894 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15895 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
15896 # Insert the option either (1) after the last *FLAGS variable, or
15897 # (2) before a word containing "conftest.", or (3) at the end.
15898 # Note that $ac_compile itself does not contain backslashes and begins
15899 # with a dollar sign (not a hyphen), so the echo should work correctly.
15900 # The option is referenced via a variable to avoid confusing sed.
15901 lt_compile
=`echo "$ac_compile" | $SED \
15902 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15903 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15904 -e 's:$: $lt_compiler_flag:'`
15905 (eval echo "\"\$as_me:15905: $lt_compile\"" >&5)
15906 (eval "$lt_compile" 2>conftest.err
)
15908 cat conftest.err
>&5
15909 echo "$as_me:15909: \$? = $ac_status" >&5
15910 if (exit $ac_status) && test -s "$ac_outfile"; then
15911 # The compiler can only warn and ignore the option if not recognized
15912 # So say no if there are warnings other than the usual output.
15913 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
15914 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15915 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
15916 lt_prog_compiler_pic_works_GCJ
=yes
15922 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
15923 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
15925 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
15926 case $lt_prog_compiler_pic_GCJ in
15928 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
15931 lt_prog_compiler_pic_GCJ
=
15932 lt_prog_compiler_can_build_shared_GCJ
=no
15937 # For platforms which do not support PIC, -DPIC is meaningless:
15939 lt_prog_compiler_pic_GCJ
=
15942 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
15947 # Check to make sure the static flag actually works.
15949 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
15950 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15951 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
15952 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
15953 echo $ECHO_N "(cached) $ECHO_C" >&6
15955 lt_prog_compiler_static_works_GCJ
=no
15956 save_LDFLAGS
="$LDFLAGS"
15957 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
15958 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
15959 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
15960 # The linker can only warn and ignore the option if not recognized
15961 # So say no if there are warnings
15962 if test -s conftest.err
; then
15963 # Append any errors to the config.log.
15964 cat conftest.err
1>&5
15965 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
15966 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15967 if diff conftest.exp conftest.er2
>/dev
/null
; then
15968 lt_prog_compiler_static_works_GCJ
=yes
15971 lt_prog_compiler_static_works_GCJ
=yes
15975 LDFLAGS
="$save_LDFLAGS"
15978 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
15979 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6
15981 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
15984 lt_prog_compiler_static_GCJ
=
15988 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15989 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
15990 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
15991 echo $ECHO_N "(cached) $ECHO_C" >&6
15993 lt_cv_prog_compiler_c_o_GCJ
=no
15994 $rm -r conftest
2>/dev
/null
15998 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16000 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16001 # Insert the option either (1) after the last *FLAGS variable, or
16002 # (2) before a word containing "conftest.", or (3) at the end.
16003 # Note that $ac_compile itself does not contain backslashes and begins
16004 # with a dollar sign (not a hyphen), so the echo should work correctly.
16005 lt_compile
=`echo "$ac_compile" | $SED \
16006 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16007 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16008 -e 's:$: $lt_compiler_flag:'`
16009 (eval echo "\"\$as_me:16009: $lt_compile\"" >&5)
16010 (eval "$lt_compile" 2>out
/conftest.err
)
16012 cat out
/conftest.err
>&5
16013 echo "$as_me:16013: \$? = $ac_status" >&5
16014 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16016 # The compiler can only warn and ignore the option if not recognized
16017 # So say no if there are warnings
16018 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
16019 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16020 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16021 lt_cv_prog_compiler_c_o_GCJ
=yes
16026 # SGI C++ compiler will create directory out/ii_files/ for
16027 # template instantiation
16028 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
16029 $rm out
/* && rmdir out
16035 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16036 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
16039 hard_links
="nottested"
16040 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
16041 # do not overwrite the value of need_locks provided by the user
16042 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16043 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
16046 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16048 ln conftest.a conftest.b
2>&5 || hard_links
=no
16049 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16050 echo "$as_me:$LINENO: result: $hard_links" >&5
16051 echo "${ECHO_T}$hard_links" >&6
16052 if test "$hard_links" = no
; then
16053 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16054 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16061 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16062 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
16065 allow_undefined_flag_GCJ
=
16066 enable_shared_with_static_runtimes_GCJ
=no
16068 archive_expsym_cmds_GCJ
=
16069 old_archive_From_new_cmds_GCJ
=
16070 old_archive_from_expsyms_cmds_GCJ
=
16071 export_dynamic_flag_spec_GCJ
=
16072 whole_archive_flag_spec_GCJ
=
16073 thread_safe_flag_spec_GCJ
=
16074 hardcode_libdir_flag_spec_GCJ
=
16075 hardcode_libdir_flag_spec_ld_GCJ
=
16076 hardcode_libdir_separator_GCJ
=
16077 hardcode_direct_GCJ
=no
16078 hardcode_minus_L_GCJ
=no
16079 hardcode_shlibpath_var_GCJ
=unsupported
16080 link_all_deplibs_GCJ
=unknown
16081 hardcode_automatic_GCJ
=no
16083 module_expsym_cmds_GCJ
=
16084 always_export_symbols_GCJ
=no
16085 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16086 # include_expsyms should be a list of space-separated symbols to be *always*
16087 # included in the symbol list
16088 include_expsyms_GCJ
=
16089 # exclude_expsyms can be an extended regexp of symbols to exclude
16090 # it will be wrapped by ` (' and `)$', so one must not match beginning or
16091 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16092 # as well as any symbol that contains `d'.
16093 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
16094 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16095 # platforms (ab)use it in PIC code, but their linkers get confused if
16096 # the symbol is explicitly referenced. Since portable code cannot
16097 # rely on this symbol name, it's probably fine to never include it in
16098 # preloaded symbol tables.
16099 extract_expsyms_cmds
=
16100 # Just being paranoid about ensuring that cc_basename is set.
16101 for cc_temp
in $compiler""; do
16103 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16104 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16109 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16112 cygwin
* | mingw
* | pw32
*)
16113 # FIXME: the MSVC++ port hasn't been tested in a loooong time
16114 # When not using gcc, we currently assume that we are using
16115 # Microsoft Visual C++.
16116 if test "$GCC" != yes; then
16121 # we just hope/assume this is gcc and not c89 (= MSVC++)
16130 if test "$with_gnu_ld" = yes; then
16131 # If archive_cmds runs LD, not CC, wlarc should be empty
16134 # Set some defaults for GNU ld with shared library support. These
16135 # are reset later if shared libraries are not supported. Putting them
16136 # here allows them to be overridden if necessary.
16137 runpath_var
=LD_RUN_PATH
16138 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
16139 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
16140 # ancient GNU ld didn't support --whole-archive et. al.
16141 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
16142 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16144 whole_archive_flag_spec_GCJ
=
16146 supports_anon_versioning
=no
16147 case `$LD -v 2>/dev/null` in
16148 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
16149 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
16150 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
16151 *\
2.11.
*) ;; # other 2.11 versions
16152 *) supports_anon_versioning
=yes ;;
16155 # See if GNU ld supports shared libraries.
16157 aix3
* | aix4
* | aix5
*)
16158 # On AIX/PPC, the GNU linker is very broken
16159 if test "$host_cpu" != ia64
; then
16163 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
16164 *** to be unable to reliably create shared libraries on AIX.
16165 *** Therefore, libtool is disabling shared libraries support. If you
16166 *** really care for shared libraries, you may want to modify your PATH
16167 *** so that a non-GNU linker is found, and then restart.
16174 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)'
16175 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16176 hardcode_minus_L_GCJ
=yes
16178 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16179 # that the semantics of dynamic libraries on AmigaOS, at least up
16180 # to version 4, is to share data among multiple programs linked
16181 # with the same dynamic library. Since this doesn't match the
16182 # behavior of shared libraries on other platforms, we can't use
16188 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16189 allow_undefined_flag_GCJ
=unsupported
16190 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16191 # support --undefined. This deserves some investigation. FIXME
16192 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16198 cygwin
* | mingw
* | pw32
*)
16199 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
16200 # as there is no search path for DLLs.
16201 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16202 allow_undefined_flag_GCJ
=unsupported
16203 always_export_symbols_GCJ
=no
16204 enable_shared_with_static_runtimes_GCJ
=yes
16205 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
16207 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
16208 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16209 # If the export-symbols file already is a .def file (1st line
16210 # is EXPORTS), use it as is; otherwise, prepend...
16211 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16212 cp $export_symbols $output_objdir/$soname.def;
16214 echo EXPORTS > $output_objdir/$soname.def;
16215 cat $export_symbols >> $output_objdir/$soname.def;
16217 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16224 hardcode_direct_GCJ
=no
16225 hardcode_shlibpath_var_GCJ
=no
16226 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16227 export_dynamic_flag_spec_GCJ
='${wl}-E'
16228 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
16229 # Instead, shared libraries are loaded at an image base (0x10000000 by
16230 # default) and relocated if they conflict, which is a slow very memory
16231 # consuming and fragmenting process. To avoid this, we pick a random,
16232 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
16233 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
16234 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'
16235 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'
16239 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16241 case $cc_basename,$host_cpu in
16242 pgcc
*) # Portland Group C compiler
16243 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'
16244 tmp_addflag
=' $pic_flag'
16246 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
16247 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'
16248 tmp_addflag
=' $pic_flag -Mnomain' ;;
16249 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
16250 tmp_addflag
=' -i_dynamic' ;;
16251 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
16252 tmp_addflag
=' -i_dynamic -nofor_main' ;;
16253 ifc
* | ifort
*) # Intel Fortran compiler
16254 tmp_addflag
=' -nofor_main' ;;
16256 archive_cmds_GCJ
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16258 if test $supports_anon_versioning = yes; then
16259 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
16260 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16261 $echo "local: *; };" >> $output_objdir/$libname.ver~
16262 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16270 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16271 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16274 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16275 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16280 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
16284 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
16285 *** create shared libraries on Solaris systems. Therefore, libtool
16286 *** is disabling shared libraries support. We urge you to upgrade GNU
16287 *** binutils to release 2.9.1 or newer. Another option is to modify
16288 *** your PATH or compiler configuration so that the native linker is
16289 *** used, and then restart.
16292 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16293 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16294 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16300 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
16301 case `$LD -v 2>&1` in
16302 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
16306 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
16307 *** reliably create shared libraries on SCO systems. Therefore, libtool
16308 *** is disabling shared libraries support. We urge you to upgrade GNU
16309 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
16310 *** your PATH or compiler configuration so that the native linker is
16311 *** used, and then restart.
16316 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16317 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
16318 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
16319 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
16328 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16330 hardcode_direct_GCJ
=yes
16331 hardcode_shlibpath_var_GCJ
=no
16335 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16336 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16337 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16344 if test "$ld_shlibs_GCJ" = no
; then
16346 hardcode_libdir_flag_spec_GCJ
=
16347 export_dynamic_flag_spec_GCJ
=
16348 whole_archive_flag_spec_GCJ
=
16351 # PORTME fill in a description of your system's linker (not GNU ld)
16354 allow_undefined_flag_GCJ
=unsupported
16355 always_export_symbols_GCJ
=yes
16356 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'
16357 # Note: this linker hardcodes the directories in LIBPATH if there
16358 # are no directories specified by -L.
16359 hardcode_minus_L_GCJ
=yes
16360 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
16361 # Neither direct hardcoding nor static linking is supported with a
16363 hardcode_direct_GCJ
=unsupported
16368 if test "$host_cpu" = ia64
; then
16369 # On IA64, the linker does run time linking by default, so we don't
16370 # have to do anything special.
16371 aix_use_runtimelinking
=no
16372 exp_sym_flag
='-Bexport'
16375 # If we're using GNU nm, then we don't want the "-C" option.
16376 # -C means demangle to AIX nm, but means don't demangle with GNU nm
16377 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
16378 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'
16380 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'
16382 aix_use_runtimelinking
=no
16384 # Test if we are trying to use run time linking or normal
16385 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16386 # need to do runtime linking.
16387 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
16388 for ld_flag
in $LDFLAGS; do
16389 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
16390 aix_use_runtimelinking
=yes
16397 exp_sym_flag
='-bexport'
16398 no_entry_flag
='-bnoentry'
16401 # When large executables or shared objects are built, AIX ld can
16402 # have problems creating the table of contents. If linking a library
16403 # or program results in "error TOC overflow" add -mminimal-toc to
16404 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
16405 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16407 archive_cmds_GCJ
=''
16408 hardcode_direct_GCJ
=yes
16409 hardcode_libdir_separator_GCJ
=':'
16410 link_all_deplibs_GCJ
=yes
16412 if test "$GCC" = yes; then
16413 case $host_os in aix4.
[012]|aix4.
[012].
*)
16414 # We only want to do this on AIX 4.2 and lower, the check
16415 # below for broken collect2 doesn't work under 4.3+
16416 collect2name
=`${CC} -print-prog-name=collect2`
16417 if test -f "$collect2name" && \
16418 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
16420 # We have reworked collect2
16421 hardcode_direct_GCJ
=yes
16423 # We have old collect2
16424 hardcode_direct_GCJ
=unsupported
16425 # It fails to find uninstalled libraries when the uninstalled
16426 # path is not listed in the libpath. Setting hardcode_minus_L
16427 # to unsupported forces relinking
16428 hardcode_minus_L_GCJ
=yes
16429 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16430 hardcode_libdir_separator_GCJ
=
16434 shared_flag
='-shared'
16435 if test "$aix_use_runtimelinking" = yes; then
16436 shared_flag
="$shared_flag "'${wl}-G'
16440 if test "$host_cpu" = ia64
; then
16441 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16442 # chokes on -Wl,-G. The following line is correct:
16445 if test "$aix_use_runtimelinking" = yes; then
16446 shared_flag
='${wl}-G'
16448 shared_flag
='${wl}-bM:SRE'
16453 # It seems that -bexpall does not export symbols beginning with
16454 # underscore (_), so it is better to generate a list of symbols to export.
16455 always_export_symbols_GCJ
=yes
16456 if test "$aix_use_runtimelinking" = yes; then
16457 # Warning - without using the other runtime loading flags (-brtl),
16458 # -berok will link without error, but may produce a broken library.
16459 allow_undefined_flag_GCJ
='-berok'
16460 # Determine the default libpath from the value encoded in an empty executable.
16461 cat >conftest.
$ac_ext <<_ACEOF
16464 cat confdefs.h
>>conftest.
$ac_ext
16465 cat >>conftest.
$ac_ext <<_ACEOF
16466 /* end confdefs.h. */
16476 rm -f conftest.
$ac_objext conftest
$ac_exeext
16477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16478 (eval $ac_link) 2>conftest.er1
16480 grep -v '^ *+' conftest.er1
>conftest.err
16482 cat conftest.err
>&5
16483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16484 (exit $ac_status); } &&
16485 { ac_try
='test -z "$ac_c_werror_flag"
16486 || test ! -s conftest.err'
16487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16488 (eval $ac_try) 2>&5
16490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16491 (exit $ac_status); }; } &&
16492 { ac_try
='test -s conftest$ac_exeext'
16493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16494 (eval $ac_try) 2>&5
16496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16497 (exit $ac_status); }; }; then
16499 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16501 # Check for a 64-bit object if we didn't find anything.
16502 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; }
16505 echo "$as_me: failed program was:" >&5
16506 sed 's/^/| /' conftest.
$ac_ext >&5
16509 rm -f conftest.err conftest.
$ac_objext \
16510 conftest
$ac_exeext conftest.
$ac_ext
16511 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
16513 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
16514 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"
16516 if test "$host_cpu" = ia64
; then
16517 hardcode_libdir_flag_spec_GCJ
='${wl}-R $libdir:/usr/lib:/lib'
16518 allow_undefined_flag_GCJ
="-z nodefs"
16519 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"
16521 # Determine the default libpath from the value encoded in an empty executable.
16522 cat >conftest.
$ac_ext <<_ACEOF
16525 cat confdefs.h
>>conftest.
$ac_ext
16526 cat >>conftest.
$ac_ext <<_ACEOF
16527 /* end confdefs.h. */
16537 rm -f conftest.
$ac_objext conftest
$ac_exeext
16538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16539 (eval $ac_link) 2>conftest.er1
16541 grep -v '^ *+' conftest.er1
>conftest.err
16543 cat conftest.err
>&5
16544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16545 (exit $ac_status); } &&
16546 { ac_try
='test -z "$ac_c_werror_flag"
16547 || test ! -s conftest.err'
16548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16549 (eval $ac_try) 2>&5
16551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16552 (exit $ac_status); }; } &&
16553 { ac_try
='test -s conftest$ac_exeext'
16554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16555 (eval $ac_try) 2>&5
16557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16558 (exit $ac_status); }; }; then
16560 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16562 # Check for a 64-bit object if we didn't find anything.
16563 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; }
16566 echo "$as_me: failed program was:" >&5
16567 sed 's/^/| /' conftest.
$ac_ext >&5
16570 rm -f conftest.err conftest.
$ac_objext \
16571 conftest
$ac_exeext conftest.
$ac_ext
16572 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
16574 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
16575 # Warning - without using the other run time loading flags,
16576 # -berok will link without error, but may produce a broken library.
16577 no_undefined_flag_GCJ
=' ${wl}-bernotok'
16578 allow_undefined_flag_GCJ
=' ${wl}-berok'
16579 # Exported symbols can be pulled into shared objects from archives
16580 whole_archive_flag_spec_GCJ
='$convenience'
16581 archive_cmds_need_lc_GCJ
=yes
16582 # This is similar to how AIX traditionally builds its shared libraries.
16583 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'
16589 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)'
16590 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16591 hardcode_minus_L_GCJ
=yes
16592 # see comment about different semantics on the GNU ld section
16597 export_dynamic_flag_spec_GCJ
=-rdynamic
16600 cygwin
* | mingw
* | pw32
*)
16601 # When not using gcc, we currently assume that we are using
16602 # Microsoft Visual C++.
16603 # hardcode_libdir_flag_spec is actually meaningless, as there is
16604 # no search path for DLLs.
16605 hardcode_libdir_flag_spec_GCJ
=' '
16606 allow_undefined_flag_GCJ
=unsupported
16607 # Tell ltmain to make .lib files, not .a files.
16609 # Tell ltmain to make .dll files, not .so files.
16611 # FIXME: Setting linknames here is a bad hack.
16612 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
16613 # The linker will automatically build a .lib file if we build a DLL.
16614 old_archive_From_new_cmds_GCJ
='true'
16615 # FIXME: Should let the user specify the lib program.
16616 old_archive_cmds_GCJ
='lib /OUT:$oldlib$oldobjs$old_deplibs'
16617 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
16618 enable_shared_with_static_runtimes_GCJ
=yes
16621 darwin
* | rhapsody
*)
16623 rhapsody
* | darwin1.
[012])
16624 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
16627 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
16628 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16630 case ${MACOSX_DEPLOYMENT_TARGET} in
16632 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16635 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
16641 archive_cmds_need_lc_GCJ
=no
16642 hardcode_direct_GCJ
=no
16643 hardcode_automatic_GCJ
=yes
16644 hardcode_shlibpath_var_GCJ
=unsupported
16645 whole_archive_flag_spec_GCJ
=''
16646 link_all_deplibs_GCJ
=yes
16647 if test "$GCC" = yes ; then
16648 output_verbose_link_cmd
='echo'
16649 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16650 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16651 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16652 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}'
16653 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}'
16655 case $cc_basename in
16657 output_verbose_link_cmd
='echo'
16658 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
16659 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16660 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16661 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}'
16662 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}'
16672 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16673 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16674 hardcode_shlibpath_var_GCJ
=no
16681 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
16682 # support. Future versions do this automatically, but an explicit c++rt0.o
16683 # does not break anything, and helps significantly (at the cost of a little
16686 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
16687 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16688 hardcode_direct_GCJ
=yes
16689 hardcode_shlibpath_var_GCJ
=no
16692 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
16694 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16695 hardcode_direct_GCJ
=yes
16696 hardcode_minus_L_GCJ
=yes
16697 hardcode_shlibpath_var_GCJ
=no
16700 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16701 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
16702 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16703 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16704 hardcode_direct_GCJ
=yes
16705 hardcode_shlibpath_var_GCJ
=no
16709 if test "$GCC" = yes; then
16710 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'
16712 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'
16714 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16715 hardcode_libdir_separator_GCJ
=:
16716 hardcode_direct_GCJ
=yes
16718 # hardcode_minus_L: Not really in the search PATH,
16719 # but as the default location of the library.
16720 hardcode_minus_L_GCJ
=yes
16721 export_dynamic_flag_spec_GCJ
='${wl}-E'
16725 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
16726 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16728 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
16730 if test "$with_gnu_ld" = no
; then
16731 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16732 hardcode_libdir_separator_GCJ
=:
16734 hardcode_direct_GCJ
=yes
16735 export_dynamic_flag_spec_GCJ
='${wl}-E'
16737 # hardcode_minus_L: Not really in the search PATH,
16738 # but as the default location of the library.
16739 hardcode_minus_L_GCJ
=yes
16744 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
16747 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16750 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16753 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16759 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16762 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16765 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16769 if test "$with_gnu_ld" = no
; then
16770 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16771 hardcode_libdir_separator_GCJ
=:
16775 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
16776 hardcode_direct_GCJ
=no
16777 hardcode_shlibpath_var_GCJ
=no
16780 hardcode_direct_GCJ
=yes
16781 export_dynamic_flag_spec_GCJ
='${wl}-E'
16783 # hardcode_minus_L: Not really in the search PATH,
16784 # but as the default location of the library.
16785 hardcode_minus_L_GCJ
=yes
16791 irix5
* | irix6
* | nonstopux
*)
16792 if test "$GCC" = yes; then
16793 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'
16795 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'
16796 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
16798 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16799 hardcode_libdir_separator_GCJ
=:
16800 link_all_deplibs_GCJ
=yes
16804 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16805 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
16807 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
16809 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16810 hardcode_direct_GCJ
=yes
16811 hardcode_shlibpath_var_GCJ
=no
16815 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16816 hardcode_direct_GCJ
=yes
16817 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16818 hardcode_libdir_separator_GCJ
=:
16819 hardcode_shlibpath_var_GCJ
=no
16823 hardcode_direct_GCJ
=yes
16824 hardcode_shlibpath_var_GCJ
=no
16825 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16826 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16827 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
16828 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16829 export_dynamic_flag_spec_GCJ
='${wl}-E'
16832 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
16833 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16834 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16837 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16838 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16845 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16846 hardcode_minus_L_GCJ
=yes
16847 allow_undefined_flag_GCJ
=unsupported
16848 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'
16849 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16853 if test "$GCC" = yes; then
16854 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
16855 archive_cmds_GCJ
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16857 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
16858 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'
16860 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16861 hardcode_libdir_separator_GCJ
=:
16864 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
16865 if test "$GCC" = yes; then
16866 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
16867 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'
16868 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16870 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
16871 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'
16872 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~
16873 $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'
16875 # Both c and cxx compiler support -rpath directly
16876 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
16878 hardcode_libdir_separator_GCJ
=:
16882 no_undefined_flag_GCJ
=' -z text'
16883 if test "$GCC" = yes; then
16885 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16886 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16887 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16890 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16891 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16892 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16894 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16895 hardcode_shlibpath_var_GCJ
=no
16897 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
16899 # The compiler driver will combine linker options so we
16900 # cannot just pass the convience library names through
16901 # without $wl, iff we do not link with $LD.
16902 # Luckily, gcc supports the same syntax we need for Sun Studio.
16903 # Supported since Solaris 2.6 (maybe 2.5.1?)
16906 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract' ;;
16908 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' ;;
16911 link_all_deplibs_GCJ
=yes
16915 if test "x$host_vendor" = xsequent
; then
16916 # Use $CC to link under sequent, because it throws in some extra .o
16917 # files that make .init and .fini sections work.
16918 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16920 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16922 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16923 hardcode_direct_GCJ
=yes
16924 hardcode_minus_L_GCJ
=yes
16925 hardcode_shlibpath_var_GCJ
=no
16929 case $host_vendor in
16931 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16932 hardcode_direct_GCJ
=yes # is this really true???
16935 ## LD is ld it makes a PLAMLIB
16936 ## CC just makes a GrossModule.
16937 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16938 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
16939 hardcode_direct_GCJ
=no
16942 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16943 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
16946 runpath_var
='LD_RUN_PATH'
16947 hardcode_shlibpath_var_GCJ
=no
16951 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16952 hardcode_shlibpath_var_GCJ
=no
16953 export_dynamic_flag_spec_GCJ
='-Bexport'
16957 if test -d /usr
/nec
; then
16958 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16959 hardcode_shlibpath_var_GCJ
=no
16960 runpath_var
=LD_RUN_PATH
16961 hardcode_runpath_var
=yes
16966 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
16967 no_undefined_flag_GCJ
='${wl}-z,text'
16968 archive_cmds_need_lc_GCJ
=no
16969 hardcode_shlibpath_var_GCJ
=no
16970 runpath_var
='LD_RUN_PATH'
16972 if test "$GCC" = yes; then
16973 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16974 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16976 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16977 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16981 sysv5
* | sco3.2v5
* | sco5v6
*)
16982 # Note: We can NOT use -z defs as we might desire, because we do not
16983 # link with -lc, and that would cause any symbols used from libc to
16984 # always be unresolved, which means just about no library would
16985 # ever link correctly. If we're not using GNU ld we use -z text
16986 # though, which does catch some bad symbols but isn't as heavy-handed
16988 no_undefined_flag_GCJ
='${wl}-z,text'
16989 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
16990 archive_cmds_need_lc_GCJ
=no
16991 hardcode_shlibpath_var_GCJ
=no
16992 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
16993 hardcode_libdir_separator_GCJ
=':'
16994 link_all_deplibs_GCJ
=yes
16995 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
16996 runpath_var
='LD_RUN_PATH'
16998 if test "$GCC" = yes; then
16999 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17000 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17002 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17003 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17008 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17009 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17010 hardcode_shlibpath_var_GCJ
=no
17019 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17020 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
17021 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
17024 # Do we need to explicitly link libc?
17026 case "x$archive_cmds_need_lc_GCJ" in
17028 # Assume -lc should be added
17029 archive_cmds_need_lc_GCJ
=yes
17031 if test "$enable_shared" = yes && test "$GCC" = yes; then
17032 case $archive_cmds_GCJ in
17034 # FIXME: we may have to deal with multi-command sequences.
17037 # Test whether the compiler implicitly links with -lc since on some
17038 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17039 # to ld, don't add -lc before -lgcc.
17040 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17041 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
17043 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
17045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17046 (eval $ac_compile) 2>&5
17048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17049 (exit $ac_status); } 2>conftest.err
; then
17052 libobjs
=conftest.
$ac_objext
17054 wl
=$lt_prog_compiler_wl_GCJ
17055 pic_flag
=$lt_prog_compiler_pic_GCJ
17061 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
17062 allow_undefined_flag_GCJ
=
17063 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17064 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
17066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17067 (exit $ac_status); }
17069 archive_cmds_need_lc_GCJ
=no
17071 archive_cmds_need_lc_GCJ
=yes
17073 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
17075 cat conftest.err
1>&5
17078 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17079 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
17086 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17087 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
17088 library_names_spec
=
17089 libname_spec
='lib$name'
17093 postuninstall_cmds
=
17097 shlibpath_overrides_runpath
=unknown
17099 dynamic_linker
="$host_os ld.so"
17100 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
17101 if test "$GCC" = yes; then
17102 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17103 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
17104 # if the path contains ";" then we assume it to be the separator
17105 # otherwise default to the standard path separator (i.e. ":") - it is
17106 # assumed that no part of a normal pathname contains ";" but that should
17107 # okay in the real world where ";" in dirpaths is itself problematic.
17108 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17110 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17113 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
17115 need_lib_prefix
=unknown
17116 hardcode_into_libs
=no
17118 # when you set need_version to no, make sure it does not cause -set_version
17119 # flags to be left without arguments
17120 need_version
=unknown
17125 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
17126 shlibpath_var
=LIBPATH
17128 # AIX 3 has no versioning support, so we append a major version to the name.
17129 soname_spec
='${libname}${release}${shared_ext}$major'
17136 hardcode_into_libs
=yes
17137 if test "$host_cpu" = ia64
; then
17138 # AIX 5 supports IA64
17139 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17140 shlibpath_var
=LD_LIBRARY_PATH
17142 # With GCC up to 2.95.x, collect2 would create an import file
17143 # for dependence libraries. The import file would start with
17144 # the line `#! .'. This would cause the generated library to
17145 # depend on `.', always an invalid library. This was fixed in
17146 # development snapshots of GCC prior to 3.0.
17148 aix4 | aix4.
[01] | aix4.
[01].
*)
17149 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17151 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
17154 can_build_shared
=no
17158 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17159 # soname into executable. Probably we can add versioning support to
17160 # collect2, so additional links can be useful in future.
17161 if test "$aix_use_runtimelinking" = yes; then
17162 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17163 # instead of lib<name>.a to let people know that these are not
17164 # typical AIX shared libraries.
17165 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17167 # We preserve .a as extension for shared libraries through AIX4.2
17168 # and later when we are not doing run time linking.
17169 library_names_spec
='${libname}${release}.a $libname.a'
17170 soname_spec
='${libname}${release}${shared_ext}$major'
17172 shlibpath_var
=LIBPATH
17177 library_names_spec
='$libname.ixlibrary $libname.a'
17178 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17179 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'
17183 library_names_spec
='${libname}${shared_ext}'
17184 dynamic_linker
="$host_os ld.so"
17185 shlibpath_var
=LIBRARY_PATH
17191 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17192 soname_spec
='${libname}${release}${shared_ext}$major'
17193 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
17194 shlibpath_var
=LD_LIBRARY_PATH
17195 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17196 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
17197 # the default ld.so.conf also contains /usr/contrib/lib and
17198 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17199 # libtool to hard-code these into programs
17202 cygwin
* | mingw
* | pw32
*)
17203 version_type
=windows
17208 case $GCC,$host_os in
17209 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
17210 library_names_spec
='$libname.dll.a'
17211 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17212 postinstall_cmds
='base_file=`basename \${file}`~
17213 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17214 dldir=$destdir/`dirname \$dlpath`~
17215 test -d \$dldir || mkdir -p \$dldir~
17216 $install_prog $dir/$dlname \$dldir/$dlname~
17217 chmod a+x \$dldir/$dlname'
17218 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17219 dlpath=$dir/\$dldll~
17221 shlibpath_overrides_runpath
=yes
17225 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17226 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17227 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
17230 # MinGW DLLs use traditional 'lib' prefix
17231 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17232 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17233 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
17234 # It is most probably a Windows format PATH printed by
17235 # mingw gcc, but we are running on Cygwin. Gcc prints its search
17236 # path with ; separators, and with drive letters. We can handle the
17237 # drive letters (cygwin fileutils understands them), so leave them,
17238 # especially as we might pass files found there to a mingw objdump,
17239 # which wouldn't understand a cygwinified path. Ahh.
17240 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17242 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17246 # pw32 DLLs use 'pw' prefix rather than 'lib'
17247 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17253 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17256 dynamic_linker
='Win32 ld.exe'
17257 # FIXME: first we should search . and the directory the executable is in
17261 darwin
* | rhapsody
*)
17262 dynamic_linker
="$host_os dyld"
17263 version_type
=darwin
17266 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17267 soname_spec
='${libname}${release}${major}$shared_ext'
17268 shlibpath_overrides_runpath
=yes
17269 shlibpath_var
=DYLD_LIBRARY_PATH
17270 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
17271 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
17272 if test "$GCC" = yes; then
17273 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"`
17275 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
17277 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
17284 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17285 soname_spec
='${libname}${release}${shared_ext}$major'
17286 shlibpath_var
=LD_LIBRARY_PATH
17297 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17298 soname_spec
='${libname}${release}${shared_ext}$major'
17299 shlibpath_var
=LD_LIBRARY_PATH
17300 shlibpath_overrides_runpath
=no
17301 hardcode_into_libs
=yes
17302 dynamic_linker
='GNU ld.so'
17305 freebsd
* | dragonfly
*)
17306 # DragonFly does not have aout. When/if they implement a new
17307 # versioning mechanism, adjust this.
17308 if test -x /usr
/bin
/objformat
; then
17309 objformat
=`/usr/bin/objformat`
17312 freebsd
[123]*) objformat
=aout
;;
17313 *) objformat
=elf
;;
17316 version_type
=freebsd-
$objformat
17317 case $version_type in
17319 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17324 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17328 shlibpath_var
=LD_LIBRARY_PATH
17331 shlibpath_overrides_runpath
=yes
17333 freebsd3.
[01]* | freebsdelf3.
[01]*)
17334 shlibpath_overrides_runpath
=yes
17335 hardcode_into_libs
=yes
17337 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
17338 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
17339 shlibpath_overrides_runpath
=no
17340 hardcode_into_libs
=yes
17342 freebsd
*) # from 4.6 on
17343 shlibpath_overrides_runpath
=yes
17344 hardcode_into_libs
=yes
17353 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17354 soname_spec
='${libname}${release}${shared_ext}$major'
17355 shlibpath_var
=LD_LIBRARY_PATH
17356 hardcode_into_libs
=yes
17359 hpux9
* | hpux10
* | hpux11
*)
17360 # Give a soname corresponding to the major version so that dld.sl refuses to
17361 # link against other versions.
17368 hardcode_into_libs
=yes
17369 dynamic_linker
="$host_os dld.so"
17370 shlibpath_var
=LD_LIBRARY_PATH
17371 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17372 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17373 soname_spec
='${libname}${release}${shared_ext}$major'
17374 if test "X$HPUX_IA64_MODE" = X32
; then
17375 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17377 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
17379 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17383 hardcode_into_libs
=yes
17384 dynamic_linker
="$host_os dld.sl"
17385 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
17386 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17387 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17388 soname_spec
='${libname}${release}${shared_ext}$major'
17389 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17390 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17394 dynamic_linker
="$host_os dld.sl"
17395 shlibpath_var
=SHLIB_PATH
17396 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
17397 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17398 soname_spec
='${libname}${release}${shared_ext}$major'
17401 # HP-UX runs *really* slowly unless shared libraries are mode 555.
17402 postinstall_cmds
='chmod 555 $lib'
17409 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17410 soname_spec
='${libname}${release}${shared_ext}$major'
17411 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
17412 shlibpath_var
=LD_LIBRARY_PATH
17413 shlibpath_overrides_runpath
=no
17414 hardcode_into_libs
=yes
17417 irix5
* | irix6
* | nonstopux
*)
17419 nonstopux
*) version_type
=nonstopux
;;
17421 if test "$lt_cv_prog_gnu_ld" = yes; then
17429 soname_spec
='${libname}${release}${shared_ext}$major'
17430 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17432 irix5
* | nonstopux
*)
17433 libsuff
= shlibsuff
=
17436 case $LD in # libtool.m4 will add one of these switches to LD
17437 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
17438 libsuff
= shlibsuff
= libmagic
=32-bit;;
17439 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
17440 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
17441 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
17442 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
17443 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
17447 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
17448 shlibpath_overrides_runpath
=no
17449 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17450 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
17451 hardcode_into_libs
=yes
17454 # No shared lib support for Linux oldld, aout, or coff.
17455 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
17459 # This must be Linux ELF.
17464 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17465 soname_spec
='${libname}${release}${shared_ext}$major'
17466 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17467 shlibpath_var
=LD_LIBRARY_PATH
17468 shlibpath_overrides_runpath
=no
17469 # This implies no fast_install, which is unacceptable.
17470 # Some rework will be needed to allow for fast_install
17471 # before this can be enabled.
17472 hardcode_into_libs
=yes
17474 # find out which ABI we are using
17476 case "$host_cpu" in
17477 x86_64
*|s390x
*|powerpc64
*)
17478 echo '#line 17478 "configure"' > conftest.
$ac_ext
17479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17480 (eval $ac_compile) 2>&5
17482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17483 (exit $ac_status); }; then
17484 case `/usr/bin/file conftest.$ac_objext` in
17487 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
17495 # Append ld.so.conf contents to the search path
17496 if test -f /etc
/ld.so.conf
; then
17497 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' ' '`
17498 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
17501 # We used to test for /lib/ld.so.1 and disable shared libraries on
17502 # powerpc, because MkLinux only supported shared libraries with the
17503 # GNU dynamic linker. Since this was broken with cross compilers,
17504 # most powerpc-linux boxes support dynamic linking these days and
17505 # people can always --disable-shared, the test was removed, and we
17506 # assume the GNU/Linux dynamic linker is in use.
17507 dynamic_linker
='GNU/Linux ld.so'
17514 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17515 soname_spec
='${libname}${release}${shared_ext}$major'
17516 shlibpath_var
=LD_LIBRARY_PATH
17517 shlibpath_overrides_runpath
=no
17518 hardcode_into_libs
=yes
17519 dynamic_linker
='GNU ld.so'
17526 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17527 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17528 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17529 dynamic_linker
='NetBSD (a.out) ld.so'
17531 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17532 soname_spec
='${libname}${release}${shared_ext}$major'
17533 dynamic_linker
='NetBSD ld.elf_so'
17535 shlibpath_var
=LD_LIBRARY_PATH
17536 shlibpath_overrides_runpath
=yes
17537 hardcode_into_libs
=yes
17542 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17543 shlibpath_var
=LD_LIBRARY_PATH
17544 shlibpath_overrides_runpath
=yes
17551 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17552 soname_spec
='${libname}${release}${shared_ext}$major'
17553 shlibpath_var
=LD_LIBRARY_PATH
17554 shlibpath_overrides_runpath
=yes
17559 sys_lib_dlsearch_path_spec
="/usr/lib"
17561 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17563 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
17564 *) need_version
=no
;;
17566 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17567 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17568 shlibpath_var
=LD_LIBRARY_PATH
17569 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17571 openbsd2.
[89] | openbsd2.
[89].
*)
17572 shlibpath_overrides_runpath
=no
17575 shlibpath_overrides_runpath
=yes
17579 shlibpath_overrides_runpath
=yes
17584 libname_spec
='$name'
17587 library_names_spec
='$libname${shared_ext} $libname.a'
17588 dynamic_linker
='OS/2 ld.exe'
17589 shlibpath_var
=LIBPATH
17592 osf3
* | osf4
* | osf5
*)
17596 soname_spec
='${libname}${release}${shared_ext}$major'
17597 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17598 shlibpath_var
=LD_LIBRARY_PATH
17599 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17600 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
17607 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17608 soname_spec
='${libname}${release}${shared_ext}$major'
17609 shlibpath_var
=LD_LIBRARY_PATH
17610 shlibpath_overrides_runpath
=yes
17611 hardcode_into_libs
=yes
17612 # ldd complains unless libraries are executable
17613 postinstall_cmds
='chmod +x $lib'
17618 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17619 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17620 shlibpath_var
=LD_LIBRARY_PATH
17621 shlibpath_overrides_runpath
=yes
17622 if test "$with_gnu_ld" = yes; then
17630 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17631 soname_spec
='${libname}${release}${shared_ext}$major'
17632 shlibpath_var
=LD_LIBRARY_PATH
17633 case $host_vendor in
17635 shlibpath_overrides_runpath
=no
17637 export_dynamic_flag_spec
='${wl}-Blargedynsym'
17638 runpath_var
=LD_RUN_PATH
17646 shlibpath_overrides_runpath
=no
17647 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
17653 if test -d /usr
/nec
;then
17655 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17656 soname_spec
='$libname${shared_ext}.$major'
17657 shlibpath_var
=LD_LIBRARY_PATH
17661 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
17662 version_type
=freebsd-elf
17665 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17666 soname_spec
='${libname}${release}${shared_ext}$major'
17667 shlibpath_var
=LD_LIBRARY_PATH
17668 hardcode_into_libs
=yes
17669 if test "$with_gnu_ld" = yes; then
17670 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17671 shlibpath_overrides_runpath
=no
17673 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
17674 shlibpath_overrides_runpath
=yes
17677 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
17681 sys_lib_dlsearch_path_spec
='/usr/lib'
17686 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17687 soname_spec
='${libname}${release}${shared_ext}$major'
17688 shlibpath_var
=LD_LIBRARY_PATH
17695 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17696 echo "${ECHO_T}$dynamic_linker" >&6
17697 test "$dynamic_linker" = no
&& can_build_shared
=no
17699 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
17700 if test "$GCC" = yes; then
17701 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17704 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17705 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
17706 hardcode_action_GCJ
=
17707 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
17708 test -n "$runpath_var_GCJ" || \
17709 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
17711 # We can hardcode non-existant directories.
17712 if test "$hardcode_direct_GCJ" != no
&&
17713 # If the only mechanism to avoid hardcoding is shlibpath_var, we
17714 # have to relink, otherwise we might link with an installed library
17715 # when we should be linking with a yet-to-be-installed one
17716 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
17717 test "$hardcode_minus_L_GCJ" != no
; then
17718 # Linking always hardcodes the temporary library directory.
17719 hardcode_action_GCJ
=relink
17721 # We can link without hardcoding, and we can hardcode nonexisting dirs.
17722 hardcode_action_GCJ
=immediate
17725 # We cannot hardcode anything, or else we can only hardcode existing
17727 hardcode_action_GCJ
=unsupported
17729 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
17730 echo "${ECHO_T}$hardcode_action_GCJ" >&6
17732 if test "$hardcode_action_GCJ" = relink
; then
17733 # Fast installation is not supported
17734 enable_fast_install
=no
17735 elif test "$shlibpath_overrides_runpath" = yes ||
17736 test "$enable_shared" = no
; then
17737 # Fast installation is not necessary
17738 enable_fast_install
=needless
17742 # The else clause should only fire when bootstrapping the
17743 # libtool distribution, otherwise you forgot to ship ltmain.sh
17744 # with your package, and you will get complaints that there are
17745 # no rules to generate ltmain.sh.
17746 if test -f "$ltmain"; then
17747 # See if we are running on zsh, and set the options which allow our commands through
17748 # without removal of \ escapes.
17749 if test -n "${ZSH_VERSION+set}" ; then
17750 setopt NO_GLOB_SUBST
17752 # Now quote all the things that may contain metacharacters while being
17753 # careful not to overquote the AC_SUBSTed values. We take copies of the
17754 # variables and quote the copies for generation of the libtool script.
17755 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
17757 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17758 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17759 deplibs_check_method reload_flag reload_cmds need_locks \
17760 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17761 lt_cv_sys_global_symbol_to_c_name_address \
17762 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17763 old_postinstall_cmds old_postuninstall_cmds \
17767 lt_prog_compiler_wl_GCJ \
17768 lt_prog_compiler_pic_GCJ \
17769 lt_prog_compiler_static_GCJ \
17770 lt_prog_compiler_no_builtin_flag_GCJ \
17771 export_dynamic_flag_spec_GCJ \
17772 thread_safe_flag_spec_GCJ \
17773 whole_archive_flag_spec_GCJ \
17774 enable_shared_with_static_runtimes_GCJ \
17775 old_archive_cmds_GCJ \
17776 old_archive_from_new_cmds_GCJ \
17777 predep_objects_GCJ \
17778 postdep_objects_GCJ \
17781 compiler_lib_search_path_GCJ \
17783 archive_expsym_cmds_GCJ \
17784 postinstall_cmds_GCJ \
17785 postuninstall_cmds_GCJ \
17786 old_archive_from_expsyms_cmds_GCJ \
17787 allow_undefined_flag_GCJ \
17788 no_undefined_flag_GCJ \
17789 export_symbols_cmds_GCJ \
17790 hardcode_libdir_flag_spec_GCJ \
17791 hardcode_libdir_flag_spec_ld_GCJ \
17792 hardcode_libdir_separator_GCJ \
17793 hardcode_automatic_GCJ \
17795 module_expsym_cmds_GCJ \
17796 lt_cv_prog_compiler_c_o_GCJ \
17797 exclude_expsyms_GCJ \
17798 include_expsyms_GCJ
; do
17801 old_archive_cmds_GCJ | \
17802 old_archive_from_new_cmds_GCJ | \
17803 archive_cmds_GCJ | \
17804 archive_expsym_cmds_GCJ | \
17805 module_cmds_GCJ | \
17806 module_expsym_cmds_GCJ | \
17807 old_archive_from_expsyms_cmds_GCJ | \
17808 export_symbols_cmds_GCJ | \
17809 extract_expsyms_cmds | reload_cmds | finish_cmds | \
17810 postinstall_cmds | postuninstall_cmds | \
17811 old_postinstall_cmds | old_postuninstall_cmds | \
17812 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
17813 # Double-quote double-evaled strings.
17814 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17817 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17823 *'\$0 --fallback-echo"')
17824 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17830 cat <<__EOF__ >> "$cfgfile"
17831 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
17833 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17835 # Shell to use when invoking shell scripts.
17838 # Whether or not to build shared libraries.
17839 build_libtool_libs=$enable_shared
17841 # Whether or not to build static libraries.
17842 build_old_libs=$enable_static
17844 # Whether or not to add -lc for building shared libraries.
17845 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
17847 # Whether or not to disallow shared libs when runtime libs are static
17848 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
17850 # Whether or not to optimize for fast installation.
17851 fast_install=$enable_fast_install
17854 host_alias=$host_alias
17858 # The build system.
17859 build_alias=$build_alias
17863 # An echo program that does not interpret backslashes.
17868 AR_FLAGS=$lt_AR_FLAGS
17873 # LTCC compiler flags.
17874 LTCFLAGS=$lt_LTCFLAGS
17876 # A language-specific compiler.
17877 CC=$lt_compiler_GCJ
17879 # Is the compiler the GNU C compiler?
17882 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
17883 gcc_ver=\`gcc -dumpversion\`
17888 # The linker used to build libraries.
17891 # Whether we need hard or soft links.
17894 # A BSD-compatible nm program.
17897 # A symbol stripping program
17900 # Used to examine libraries when file_magic_cmd begins "file"
17901 MAGIC_CMD=$MAGIC_CMD
17903 # Used on cygwin: DLL creation program.
17906 # Used on cygwin: object dumper.
17909 # Used on cygwin: assembler.
17912 # The name of the directory that contains temporary libtool files.
17915 # How to create reloadable object files.
17916 reload_flag=$lt_reload_flag
17917 reload_cmds=$lt_reload_cmds
17919 # How to pass a linker flag through the compiler.
17920 wl=$lt_lt_prog_compiler_wl_GCJ
17922 # Object file suffix (normally "o").
17923 objext="$ac_objext"
17925 # Old archive suffix (normally "a").
17928 # Shared library suffix (normally ".so").
17929 shrext_cmds='$shrext_cmds'
17931 # Executable file suffix (normally "").
17934 # Additional compiler flags for building library objects.
17935 pic_flag=$lt_lt_prog_compiler_pic_GCJ
17938 # What is the maximum length of a command?
17939 max_cmd_len=$lt_cv_sys_max_cmd_len
17941 # Does compiler simultaneously support -c and -o options?
17942 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
17944 # Must we lock files when doing compilation?
17945 need_locks=$lt_need_locks
17947 # Do we need the lib prefix for modules?
17948 need_lib_prefix=$need_lib_prefix
17950 # Do we need a version for libraries?
17951 need_version=$need_version
17953 # Whether dlopen is supported.
17954 dlopen_support=$enable_dlopen
17956 # Whether dlopen of programs is supported.
17957 dlopen_self=$enable_dlopen_self
17959 # Whether dlopen of statically linked programs is supported.
17960 dlopen_self_static=$enable_dlopen_self_static
17962 # Compiler flag to prevent dynamic linking.
17963 link_static_flag=$lt_lt_prog_compiler_static_GCJ
17965 # Compiler flag to turn off builtin functions.
17966 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
17968 # Compiler flag to allow reflexive dlopens.
17969 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
17971 # Compiler flag to generate shared objects directly from archives.
17972 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
17974 # Compiler flag to generate thread-safe objects.
17975 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
17977 # Library versioning type.
17978 version_type=$version_type
17980 # Format of library name prefix.
17981 libname_spec=$lt_libname_spec
17983 # List of archive names. First name is the real one, the rest are links.
17984 # The last name is the one that the linker finds with -lNAME.
17985 library_names_spec=$lt_library_names_spec
17987 # The coded name of the library, if different from the real name.
17988 soname_spec=$lt_soname_spec
17990 # Commands used to build and install an old-style archive.
17992 old_archive_cmds=$lt_old_archive_cmds_GCJ
17993 old_postinstall_cmds=$lt_old_postinstall_cmds
17994 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17996 # Create an old-style archive from a shared archive.
17997 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
17999 # Create a temporary old-style archive to link instead of a shared archive.
18000 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
18002 # Commands used to build and install a shared archive.
18003 archive_cmds=$lt_archive_cmds_GCJ
18004 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
18005 postinstall_cmds=$lt_postinstall_cmds
18006 postuninstall_cmds=$lt_postuninstall_cmds
18008 # Commands used to build a loadable module (assumed same as above if empty)
18009 module_cmds=$lt_module_cmds_GCJ
18010 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
18012 # Commands to strip libraries.
18013 old_striplib=$lt_old_striplib
18014 striplib=$lt_striplib
18016 # Dependencies to place before the objects being linked to create a
18018 predep_objects=\`echo $lt_predep_objects_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
18020 # Dependencies to place after the objects being linked to create a
18022 postdep_objects=\`echo $lt_postdep_objects_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
18024 # Dependencies to place before the objects being linked to create a
18026 predeps=$lt_predeps_GCJ
18028 # Dependencies to place after the objects being linked to create a
18030 postdeps=$lt_postdeps_GCJ
18032 # The library search path used internally by the compiler when linking
18033 # a shared library.
18034 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"\`
18036 # Method to check whether dependent libraries are shared objects.
18037 deplibs_check_method=$lt_deplibs_check_method
18039 # Command to use when deplibs_check_method == file_magic.
18040 file_magic_cmd=$lt_file_magic_cmd
18042 # Flag that allows shared libraries with undefined symbols to be built.
18043 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
18045 # Flag that forces no undefined symbols.
18046 no_undefined_flag=$lt_no_undefined_flag_GCJ
18048 # Commands used to finish a libtool library installation in a directory.
18049 finish_cmds=$lt_finish_cmds
18051 # Same as above, but a single script fragment to be evaled but not shown.
18052 finish_eval=$lt_finish_eval
18054 # Take the output of nm and produce a listing of raw symbols and C names.
18055 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18057 # Transform the output of nm in a proper C declaration
18058 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18060 # Transform the output of nm in a C name address pair
18061 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18063 # This is the shared library runtime path variable.
18064 runpath_var=$runpath_var
18066 # This is the shared library path variable.
18067 shlibpath_var=$shlibpath_var
18069 # Is shlibpath searched before the hard-coded library search path?
18070 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18072 # How to hardcode a shared library path into an executable.
18073 hardcode_action=$hardcode_action_GCJ
18075 # Whether we should hardcode library paths into libraries.
18076 hardcode_into_libs=$hardcode_into_libs
18078 # Flag to hardcode \$libdir into a binary during linking.
18079 # This must work even if \$libdir does not exist.
18080 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
18082 # If ld is used when linking, flag to hardcode \$libdir into
18083 # a binary during linking. This must work even if \$libdir does
18085 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
18087 # Whether we need a single -rpath flag with a separated argument.
18088 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
18090 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18091 # resulting binary.
18092 hardcode_direct=$hardcode_direct_GCJ
18094 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18095 # resulting binary.
18096 hardcode_minus_L=$hardcode_minus_L_GCJ
18098 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18099 # the resulting binary.
18100 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
18102 # Set to yes if building a shared library automatically hardcodes DIR into the library
18103 # and all subsequent libraries and executables linked against it.
18104 hardcode_automatic=$hardcode_automatic_GCJ
18106 # Variables whose values should be saved in libtool wrapper scripts and
18107 # restored at relink time.
18108 variables_saved_for_relink="$variables_saved_for_relink"
18110 # Whether libtool must link a program against all its dependency libraries.
18111 link_all_deplibs=$link_all_deplibs_GCJ
18113 # Compile-time system search path for libraries
18114 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"\`
18116 # Run-time system search path for libraries
18117 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18119 # Fix the shell variable \$srcfile for the compiler.
18120 fix_srcfile_path="$fix_srcfile_path_GCJ"
18122 # Set to yes if exported symbols are required.
18123 always_export_symbols=$always_export_symbols_GCJ
18125 # The commands to list exported symbols.
18126 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
18128 # The commands to extract the exported symbol list from a shared archive.
18129 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18131 # Symbols that should not be listed in the preloaded symbols.
18132 exclude_expsyms=$lt_exclude_expsyms_GCJ
18134 # Symbols that must always be exported.
18135 include_expsyms=$lt_include_expsyms_GCJ
18137 # ### END LIBTOOL TAG CONFIG: $tagname
18143 # If there is no Makefile yet, we rely on a make rule to execute
18144 # `config.status --recheck' to rerun these tests and create the
18145 # libtool script then.
18146 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18147 if test -f "$ltmain_in"; then
18148 test -f Makefile
&& make "$ltmain"
18154 ac_cpp
='$CPP $CPPFLAGS'
18155 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18156 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18157 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18170 # Source file extension for RC test sources.
18173 # Object file extension for compiled RC test sources.
18177 # Code to be used in simple compile tests
18178 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
18180 # Code to be used in simple link tests
18181 lt_simple_link_test_code
="$lt_simple_compile_test_code"
18183 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18185 # If no C compiler was specified, use CC.
18188 # If no C compiler flags were specified, use CFLAGS.
18189 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
18191 # Allow CC to be a program name with arguments.
18195 # save warnings/boilerplate of simple test code
18196 ac_outfile
=conftest.
$ac_objext
18197 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
18198 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18199 _lt_compiler_boilerplate
=`cat conftest.err`
18202 ac_outfile
=conftest.
$ac_objext
18203 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
18204 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18205 _lt_linker_boilerplate
=`cat conftest.err`
18209 # Allow CC to be a program name with arguments.
18214 for cc_temp
in $compiler""; do
18216 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
18217 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
18222 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18224 lt_cv_prog_compiler_c_o_RC
=yes
18226 # The else clause should only fire when bootstrapping the
18227 # libtool distribution, otherwise you forgot to ship ltmain.sh
18228 # with your package, and you will get complaints that there are
18229 # no rules to generate ltmain.sh.
18230 if test -f "$ltmain"; then
18231 # See if we are running on zsh, and set the options which allow our commands through
18232 # without removal of \ escapes.
18233 if test -n "${ZSH_VERSION+set}" ; then
18234 setopt NO_GLOB_SUBST
18236 # Now quote all the things that may contain metacharacters while being
18237 # careful not to overquote the AC_SUBSTed values. We take copies of the
18238 # variables and quote the copies for generation of the libtool script.
18239 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18241 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18242 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18243 deplibs_check_method reload_flag reload_cmds need_locks \
18244 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18245 lt_cv_sys_global_symbol_to_c_name_address \
18246 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18247 old_postinstall_cmds old_postuninstall_cmds \
18251 lt_prog_compiler_wl_RC \
18252 lt_prog_compiler_pic_RC \
18253 lt_prog_compiler_static_RC \
18254 lt_prog_compiler_no_builtin_flag_RC \
18255 export_dynamic_flag_spec_RC \
18256 thread_safe_flag_spec_RC \
18257 whole_archive_flag_spec_RC \
18258 enable_shared_with_static_runtimes_RC \
18259 old_archive_cmds_RC \
18260 old_archive_from_new_cmds_RC \
18261 predep_objects_RC \
18262 postdep_objects_RC \
18265 compiler_lib_search_path_RC \
18267 archive_expsym_cmds_RC \
18268 postinstall_cmds_RC \
18269 postuninstall_cmds_RC \
18270 old_archive_from_expsyms_cmds_RC \
18271 allow_undefined_flag_RC \
18272 no_undefined_flag_RC \
18273 export_symbols_cmds_RC \
18274 hardcode_libdir_flag_spec_RC \
18275 hardcode_libdir_flag_spec_ld_RC \
18276 hardcode_libdir_separator_RC \
18277 hardcode_automatic_RC \
18279 module_expsym_cmds_RC \
18280 lt_cv_prog_compiler_c_o_RC \
18281 exclude_expsyms_RC \
18282 include_expsyms_RC
; do
18285 old_archive_cmds_RC | \
18286 old_archive_from_new_cmds_RC | \
18287 archive_cmds_RC | \
18288 archive_expsym_cmds_RC | \
18290 module_expsym_cmds_RC | \
18291 old_archive_from_expsyms_cmds_RC | \
18292 export_symbols_cmds_RC | \
18293 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18294 postinstall_cmds | postuninstall_cmds | \
18295 old_postinstall_cmds | old_postuninstall_cmds | \
18296 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18297 # Double-quote double-evaled strings.
18298 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18301 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18307 *'\$0 --fallback-echo"')
18308 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18314 cat <<__EOF__ >> "$cfgfile"
18315 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18317 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18319 # Shell to use when invoking shell scripts.
18322 # Whether or not to build shared libraries.
18323 build_libtool_libs=$enable_shared
18325 # Whether or not to build static libraries.
18326 build_old_libs=$enable_static
18328 # Whether or not to add -lc for building shared libraries.
18329 build_libtool_need_lc=$archive_cmds_need_lc_RC
18331 # Whether or not to disallow shared libs when runtime libs are static
18332 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
18334 # Whether or not to optimize for fast installation.
18335 fast_install=$enable_fast_install
18338 host_alias=$host_alias
18342 # The build system.
18343 build_alias=$build_alias
18347 # An echo program that does not interpret backslashes.
18352 AR_FLAGS=$lt_AR_FLAGS
18357 # LTCC compiler flags.
18358 LTCFLAGS=$lt_LTCFLAGS
18360 # A language-specific compiler.
18363 # Is the compiler the GNU C compiler?
18366 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
18367 gcc_ver=\`gcc -dumpversion\`
18372 # The linker used to build libraries.
18375 # Whether we need hard or soft links.
18378 # A BSD-compatible nm program.
18381 # A symbol stripping program
18384 # Used to examine libraries when file_magic_cmd begins "file"
18385 MAGIC_CMD=$MAGIC_CMD
18387 # Used on cygwin: DLL creation program.
18390 # Used on cygwin: object dumper.
18393 # Used on cygwin: assembler.
18396 # The name of the directory that contains temporary libtool files.
18399 # How to create reloadable object files.
18400 reload_flag=$lt_reload_flag
18401 reload_cmds=$lt_reload_cmds
18403 # How to pass a linker flag through the compiler.
18404 wl=$lt_lt_prog_compiler_wl_RC
18406 # Object file suffix (normally "o").
18407 objext="$ac_objext"
18409 # Old archive suffix (normally "a").
18412 # Shared library suffix (normally ".so").
18413 shrext_cmds='$shrext_cmds'
18415 # Executable file suffix (normally "").
18418 # Additional compiler flags for building library objects.
18419 pic_flag=$lt_lt_prog_compiler_pic_RC
18422 # What is the maximum length of a command?
18423 max_cmd_len=$lt_cv_sys_max_cmd_len
18425 # Does compiler simultaneously support -c and -o options?
18426 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
18428 # Must we lock files when doing compilation?
18429 need_locks=$lt_need_locks
18431 # Do we need the lib prefix for modules?
18432 need_lib_prefix=$need_lib_prefix
18434 # Do we need a version for libraries?
18435 need_version=$need_version
18437 # Whether dlopen is supported.
18438 dlopen_support=$enable_dlopen
18440 # Whether dlopen of programs is supported.
18441 dlopen_self=$enable_dlopen_self
18443 # Whether dlopen of statically linked programs is supported.
18444 dlopen_self_static=$enable_dlopen_self_static
18446 # Compiler flag to prevent dynamic linking.
18447 link_static_flag=$lt_lt_prog_compiler_static_RC
18449 # Compiler flag to turn off builtin functions.
18450 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
18452 # Compiler flag to allow reflexive dlopens.
18453 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
18455 # Compiler flag to generate shared objects directly from archives.
18456 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
18458 # Compiler flag to generate thread-safe objects.
18459 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
18461 # Library versioning type.
18462 version_type=$version_type
18464 # Format of library name prefix.
18465 libname_spec=$lt_libname_spec
18467 # List of archive names. First name is the real one, the rest are links.
18468 # The last name is the one that the linker finds with -lNAME.
18469 library_names_spec=$lt_library_names_spec
18471 # The coded name of the library, if different from the real name.
18472 soname_spec=$lt_soname_spec
18474 # Commands used to build and install an old-style archive.
18476 old_archive_cmds=$lt_old_archive_cmds_RC
18477 old_postinstall_cmds=$lt_old_postinstall_cmds
18478 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18480 # Create an old-style archive from a shared archive.
18481 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
18483 # Create a temporary old-style archive to link instead of a shared archive.
18484 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
18486 # Commands used to build and install a shared archive.
18487 archive_cmds=$lt_archive_cmds_RC
18488 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
18489 postinstall_cmds=$lt_postinstall_cmds
18490 postuninstall_cmds=$lt_postuninstall_cmds
18492 # Commands used to build a loadable module (assumed same as above if empty)
18493 module_cmds=$lt_module_cmds_RC
18494 module_expsym_cmds=$lt_module_expsym_cmds_RC
18496 # Commands to strip libraries.
18497 old_striplib=$lt_old_striplib
18498 striplib=$lt_striplib
18500 # Dependencies to place before the objects being linked to create a
18502 predep_objects=\`echo $lt_predep_objects_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
18504 # Dependencies to place after the objects being linked to create a
18506 postdep_objects=\`echo $lt_postdep_objects_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
18508 # Dependencies to place before the objects being linked to create a
18510 predeps=$lt_predeps_RC
18512 # Dependencies to place after the objects being linked to create a
18514 postdeps=$lt_postdeps_RC
18516 # The library search path used internally by the compiler when linking
18517 # a shared library.
18518 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"\`
18520 # Method to check whether dependent libraries are shared objects.
18521 deplibs_check_method=$lt_deplibs_check_method
18523 # Command to use when deplibs_check_method == file_magic.
18524 file_magic_cmd=$lt_file_magic_cmd
18526 # Flag that allows shared libraries with undefined symbols to be built.
18527 allow_undefined_flag=$lt_allow_undefined_flag_RC
18529 # Flag that forces no undefined symbols.
18530 no_undefined_flag=$lt_no_undefined_flag_RC
18532 # Commands used to finish a libtool library installation in a directory.
18533 finish_cmds=$lt_finish_cmds
18535 # Same as above, but a single script fragment to be evaled but not shown.
18536 finish_eval=$lt_finish_eval
18538 # Take the output of nm and produce a listing of raw symbols and C names.
18539 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18541 # Transform the output of nm in a proper C declaration
18542 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18544 # Transform the output of nm in a C name address pair
18545 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18547 # This is the shared library runtime path variable.
18548 runpath_var=$runpath_var
18550 # This is the shared library path variable.
18551 shlibpath_var=$shlibpath_var
18553 # Is shlibpath searched before the hard-coded library search path?
18554 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18556 # How to hardcode a shared library path into an executable.
18557 hardcode_action=$hardcode_action_RC
18559 # Whether we should hardcode library paths into libraries.
18560 hardcode_into_libs=$hardcode_into_libs
18562 # Flag to hardcode \$libdir into a binary during linking.
18563 # This must work even if \$libdir does not exist.
18564 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
18566 # If ld is used when linking, flag to hardcode \$libdir into
18567 # a binary during linking. This must work even if \$libdir does
18569 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
18571 # Whether we need a single -rpath flag with a separated argument.
18572 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
18574 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18575 # resulting binary.
18576 hardcode_direct=$hardcode_direct_RC
18578 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18579 # resulting binary.
18580 hardcode_minus_L=$hardcode_minus_L_RC
18582 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18583 # the resulting binary.
18584 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
18586 # Set to yes if building a shared library automatically hardcodes DIR into the library
18587 # and all subsequent libraries and executables linked against it.
18588 hardcode_automatic=$hardcode_automatic_RC
18590 # Variables whose values should be saved in libtool wrapper scripts and
18591 # restored at relink time.
18592 variables_saved_for_relink="$variables_saved_for_relink"
18594 # Whether libtool must link a program against all its dependency libraries.
18595 link_all_deplibs=$link_all_deplibs_RC
18597 # Compile-time system search path for libraries
18598 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"\`
18600 # Run-time system search path for libraries
18601 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18603 # Fix the shell variable \$srcfile for the compiler.
18604 fix_srcfile_path="$fix_srcfile_path_RC"
18606 # Set to yes if exported symbols are required.
18607 always_export_symbols=$always_export_symbols_RC
18609 # The commands to list exported symbols.
18610 export_symbols_cmds=$lt_export_symbols_cmds_RC
18612 # The commands to extract the exported symbol list from a shared archive.
18613 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18615 # Symbols that should not be listed in the preloaded symbols.
18616 exclude_expsyms=$lt_exclude_expsyms_RC
18618 # Symbols that must always be exported.
18619 include_expsyms=$lt_include_expsyms_RC
18621 # ### END LIBTOOL TAG CONFIG: $tagname
18627 # If there is no Makefile yet, we rely on a make rule to execute
18628 # `config.status --recheck' to rerun these tests and create the
18629 # libtool script then.
18630 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18631 if test -f "$ltmain_in"; then
18632 test -f Makefile
&& make "$ltmain"
18638 ac_cpp
='$CPP $CPPFLAGS'
18639 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18640 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18641 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18648 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
18649 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
18650 { (exit 1); exit 1; }; }
18654 # Append the new tag name to the list of available tags.
18655 if test -n "$tagname" ; then
18656 available_tags
="$available_tags $tagname"
18662 # Now substitute the updated list of available tags.
18663 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
18664 mv "${ofile}T" "$ofile"
18668 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
18669 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
18670 { (exit 1); exit 1; }; }
18676 # This can be used to rebuild libtool when needed
18677 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
18679 # Always use our own libtool.
18680 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
18682 # Prevent multiple expansion
18704 if test "$GCC" = yes
18706 CFLAGS
="-Wall $CFLAGS"
18708 CFLAGS
="$CFLAGS -I$srcdir/.. -I.."
18713 for ac_header
in sys
/types.h
18715 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18716 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18717 echo "$as_me:$LINENO: checking for $ac_header" >&5
18718 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18719 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18720 echo $ECHO_N "(cached) $ECHO_C" >&6
18722 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18723 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18725 # Is the header compilable?
18726 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18727 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18728 cat >conftest.
$ac_ext <<_ACEOF
18731 cat confdefs.h
>>conftest.
$ac_ext
18732 cat >>conftest.
$ac_ext <<_ACEOF
18733 /* end confdefs.h. */
18734 $ac_includes_default
18735 #include <$ac_header>
18737 rm -f conftest.
$ac_objext
18738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18739 (eval $ac_compile) 2>conftest.er1
18741 grep -v '^ *+' conftest.er1
>conftest.err
18743 cat conftest.err
>&5
18744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18745 (exit $ac_status); } &&
18746 { ac_try
='test -z "$ac_c_werror_flag"
18747 || test ! -s conftest.err'
18748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18749 (eval $ac_try) 2>&5
18751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18752 (exit $ac_status); }; } &&
18753 { ac_try
='test -s conftest.$ac_objext'
18754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18755 (eval $ac_try) 2>&5
18757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18758 (exit $ac_status); }; }; then
18759 ac_header_compiler
=yes
18761 echo "$as_me: failed program was:" >&5
18762 sed 's/^/| /' conftest.
$ac_ext >&5
18764 ac_header_compiler
=no
18766 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18767 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18768 echo "${ECHO_T}$ac_header_compiler" >&6
18770 # Is the header present?
18771 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18772 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18773 cat >conftest.
$ac_ext <<_ACEOF
18776 cat confdefs.h
>>conftest.
$ac_ext
18777 cat >>conftest.
$ac_ext <<_ACEOF
18778 /* end confdefs.h. */
18779 #include <$ac_header>
18781 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18782 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18784 grep -v '^ *+' conftest.er1
>conftest.err
18786 cat conftest.err
>&5
18787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18788 (exit $ac_status); } >/dev
/null
; then
18789 if test -s conftest.err
; then
18790 ac_cpp_err
=$ac_c_preproc_warn_flag
18791 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
18798 if test -z "$ac_cpp_err"; then
18799 ac_header_preproc
=yes
18801 echo "$as_me: failed program was:" >&5
18802 sed 's/^/| /' conftest.
$ac_ext >&5
18804 ac_header_preproc
=no
18806 rm -f conftest.err conftest.
$ac_ext
18807 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18808 echo "${ECHO_T}$ac_header_preproc" >&6
18810 # So? What about this header?
18811 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18813 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18814 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18815 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18816 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18817 ac_header_preproc
=yes
18820 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18821 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18822 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18823 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18824 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18825 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18826 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18827 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18828 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18829 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18830 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18831 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18834 ## -------------------------------------------------- ##
18835 ## Report this to courier-users@lists.sourceforge.net ##
18836 ## -------------------------------------------------- ##
18839 sed "s/^/$as_me: WARNING: /" >&2
18842 echo "$as_me:$LINENO: checking for $ac_header" >&5
18843 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18844 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18845 echo $ECHO_N "(cached) $ECHO_C" >&6
18847 eval "$as_ac_Header=\$ac_header_preproc"
18849 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18850 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18853 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18854 cat >>confdefs.h
<<_ACEOF
18855 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18864 # Check whether --with-int32 or --without-int32 was given.
18865 if test "${with_int32+set}" = set; then
18866 withval
="$with_int32"
18871 echo "$as_me:$LINENO: checking for uint32_t" >&5
18872 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
18874 cat >conftest.
$ac_ext <<_ACEOF
18877 cat confdefs.h
>>conftest.
$ac_ext
18878 cat >>conftest.
$ac_ext <<_ACEOF
18879 /* end confdefs.h. */
18881 #if HAVE_SYS_TYPES_H
18882 #include <sys/types.h>
18895 rm -f conftest.
$ac_objext
18896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18897 (eval $ac_compile) 2>conftest.er1
18899 grep -v '^ *+' conftest.er1
>conftest.err
18901 cat conftest.err
>&5
18902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18903 (exit $ac_status); } &&
18904 { ac_try
='test -z "$ac_c_werror_flag"
18905 || test ! -s conftest.err'
18906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18907 (eval $ac_try) 2>&5
18909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18910 (exit $ac_status); }; } &&
18911 { ac_try
='test -s conftest.$ac_objext'
18912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18913 (eval $ac_try) 2>&5
18915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18916 (exit $ac_status); }; }; then
18917 echo "$as_me:$LINENO: result: yes" >&5
18918 echo "${ECHO_T}yes" >&6 ; int32
="uint32_t"
18920 echo "$as_me: failed program was:" >&5
18921 sed 's/^/| /' conftest.
$ac_ext >&5
18925 echo "$as_me:$LINENO: result: no" >&5
18926 echo "${ECHO_T}no" >&6
18927 echo "$as_me:$LINENO: checking for u_int_32_t" >&5
18928 echo $ECHO_N "checking for u_int_32_t... $ECHO_C" >&6
18930 cat >conftest.
$ac_ext <<_ACEOF
18933 cat confdefs.h
>>conftest.
$ac_ext
18934 cat >>conftest.
$ac_ext <<_ACEOF
18935 /* end confdefs.h. */
18937 #if HAVE_SYS_TYPES_H
18938 #include <sys/types.h>
18951 rm -f conftest.
$ac_objext
18952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18953 (eval $ac_compile) 2>conftest.er1
18955 grep -v '^ *+' conftest.er1
>conftest.err
18957 cat conftest.err
>&5
18958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18959 (exit $ac_status); } &&
18960 { ac_try
='test -z "$ac_c_werror_flag"
18961 || test ! -s conftest.err'
18962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18963 (eval $ac_try) 2>&5
18965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18966 (exit $ac_status); }; } &&
18967 { ac_try
='test -s conftest.$ac_objext'
18968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18969 (eval $ac_try) 2>&5
18971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18972 (exit $ac_status); }; }; then
18973 echo "$as_me:$LINENO: result: yes" >&5
18974 echo "${ECHO_T}yes" >&6; int32
="u_int32_t"
18976 echo "$as_me: failed program was:" >&5
18977 sed 's/^/| /' conftest.
$ac_ext >&5
18981 echo "$as_me:$LINENO: result: no" >&5
18982 echo "${ECHO_T}no" >&6
18984 echo "$as_me:$LINENO: checking for unsigned" >&5
18985 echo $ECHO_N "checking for unsigned... $ECHO_C" >&6
18986 if test "${ac_cv_type_unsigned+set}" = set; then
18987 echo $ECHO_N "(cached) $ECHO_C" >&6
18989 cat >conftest.
$ac_ext <<_ACEOF
18992 cat confdefs.h
>>conftest.
$ac_ext
18993 cat >>conftest.
$ac_ext <<_ACEOF
18994 /* end confdefs.h. */
18995 $ac_includes_default
18999 if ((unsigned *) 0)
19001 if (sizeof (unsigned))
19007 rm -f conftest.
$ac_objext
19008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19009 (eval $ac_compile) 2>conftest.er1
19011 grep -v '^ *+' conftest.er1
>conftest.err
19013 cat conftest.err
>&5
19014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19015 (exit $ac_status); } &&
19016 { ac_try
='test -z "$ac_c_werror_flag"
19017 || test ! -s conftest.err'
19018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19019 (eval $ac_try) 2>&5
19021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19022 (exit $ac_status); }; } &&
19023 { ac_try
='test -s conftest.$ac_objext'
19024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19025 (eval $ac_try) 2>&5
19027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19028 (exit $ac_status); }; }; then
19029 ac_cv_type_unsigned
=yes
19031 echo "$as_me: failed program was:" >&5
19032 sed 's/^/| /' conftest.
$ac_ext >&5
19034 ac_cv_type_unsigned
=no
19036 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19038 echo "$as_me:$LINENO: result: $ac_cv_type_unsigned" >&5
19039 echo "${ECHO_T}$ac_cv_type_unsigned" >&6
19041 echo "$as_me:$LINENO: checking size of unsigned" >&5
19042 echo $ECHO_N "checking size of unsigned... $ECHO_C" >&6
19043 if test "${ac_cv_sizeof_unsigned+set}" = set; then
19044 echo $ECHO_N "(cached) $ECHO_C" >&6
19046 if test "$ac_cv_type_unsigned" = yes; then
19047 # The cast to unsigned long works around a bug in the HP C Compiler
19048 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19049 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19050 # This bug is HP SR number 8606223364.
19051 if test "$cross_compiling" = yes; then
19052 # Depending upon the size, compute the lo and hi bounds.
19053 cat >conftest.
$ac_ext <<_ACEOF
19056 cat confdefs.h
>>conftest.
$ac_ext
19057 cat >>conftest.
$ac_ext <<_ACEOF
19058 /* end confdefs.h. */
19059 $ac_includes_default
19063 static int test_array [1 - 2 * !(((long) (sizeof (unsigned))) >= 0)];
19070 rm -f conftest.
$ac_objext
19071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19072 (eval $ac_compile) 2>conftest.er1
19074 grep -v '^ *+' conftest.er1
>conftest.err
19076 cat conftest.err
>&5
19077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19078 (exit $ac_status); } &&
19079 { ac_try
='test -z "$ac_c_werror_flag"
19080 || test ! -s conftest.err'
19081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19082 (eval $ac_try) 2>&5
19084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19085 (exit $ac_status); }; } &&
19086 { ac_try
='test -s conftest.$ac_objext'
19087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19088 (eval $ac_try) 2>&5
19090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19091 (exit $ac_status); }; }; then
19094 cat >conftest.
$ac_ext <<_ACEOF
19097 cat confdefs.h
>>conftest.
$ac_ext
19098 cat >>conftest.
$ac_ext <<_ACEOF
19099 /* end confdefs.h. */
19100 $ac_includes_default
19104 static int test_array [1 - 2 * !(((long) (sizeof (unsigned))) <= $ac_mid)];
19111 rm -f conftest.
$ac_objext
19112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19113 (eval $ac_compile) 2>conftest.er1
19115 grep -v '^ *+' conftest.er1
>conftest.err
19117 cat conftest.err
>&5
19118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19119 (exit $ac_status); } &&
19120 { ac_try
='test -z "$ac_c_werror_flag"
19121 || test ! -s conftest.err'
19122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19123 (eval $ac_try) 2>&5
19125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19126 (exit $ac_status); }; } &&
19127 { ac_try
='test -s conftest.$ac_objext'
19128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19129 (eval $ac_try) 2>&5
19131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19132 (exit $ac_status); }; }; then
19133 ac_hi
=$ac_mid; break
19135 echo "$as_me: failed program was:" >&5
19136 sed 's/^/| /' conftest.
$ac_ext >&5
19138 ac_lo
=`expr $ac_mid + 1`
19139 if test $ac_lo -le $ac_mid; then
19143 ac_mid
=`expr 2 '*' $ac_mid + 1`
19145 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19148 echo "$as_me: failed program was:" >&5
19149 sed 's/^/| /' conftest.
$ac_ext >&5
19151 cat >conftest.
$ac_ext <<_ACEOF
19154 cat confdefs.h
>>conftest.
$ac_ext
19155 cat >>conftest.
$ac_ext <<_ACEOF
19156 /* end confdefs.h. */
19157 $ac_includes_default
19161 static int test_array [1 - 2 * !(((long) (sizeof (unsigned))) < 0)];
19168 rm -f conftest.
$ac_objext
19169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19170 (eval $ac_compile) 2>conftest.er1
19172 grep -v '^ *+' conftest.er1
>conftest.err
19174 cat conftest.err
>&5
19175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19176 (exit $ac_status); } &&
19177 { ac_try
='test -z "$ac_c_werror_flag"
19178 || test ! -s conftest.err'
19179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19180 (eval $ac_try) 2>&5
19182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19183 (exit $ac_status); }; } &&
19184 { ac_try
='test -s conftest.$ac_objext'
19185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19186 (eval $ac_try) 2>&5
19188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19189 (exit $ac_status); }; }; then
19192 cat >conftest.
$ac_ext <<_ACEOF
19195 cat confdefs.h
>>conftest.
$ac_ext
19196 cat >>conftest.
$ac_ext <<_ACEOF
19197 /* end confdefs.h. */
19198 $ac_includes_default
19202 static int test_array [1 - 2 * !(((long) (sizeof (unsigned))) >= $ac_mid)];
19209 rm -f conftest.
$ac_objext
19210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19211 (eval $ac_compile) 2>conftest.er1
19213 grep -v '^ *+' conftest.er1
>conftest.err
19215 cat conftest.err
>&5
19216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19217 (exit $ac_status); } &&
19218 { ac_try
='test -z "$ac_c_werror_flag"
19219 || test ! -s conftest.err'
19220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19221 (eval $ac_try) 2>&5
19223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19224 (exit $ac_status); }; } &&
19225 { ac_try
='test -s conftest.$ac_objext'
19226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19227 (eval $ac_try) 2>&5
19229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19230 (exit $ac_status); }; }; then
19231 ac_lo
=$ac_mid; break
19233 echo "$as_me: failed program was:" >&5
19234 sed 's/^/| /' conftest.
$ac_ext >&5
19236 ac_hi
=`expr '(' $ac_mid ')' - 1`
19237 if test $ac_mid -le $ac_hi; then
19241 ac_mid
=`expr 2 '*' $ac_mid`
19243 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19246 echo "$as_me: failed program was:" >&5
19247 sed 's/^/| /' conftest.
$ac_ext >&5
19251 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19253 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19254 # Binary search between lo and hi bounds.
19255 while test "x$ac_lo" != "x$ac_hi"; do
19256 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19257 cat >conftest.
$ac_ext <<_ACEOF
19260 cat confdefs.h
>>conftest.
$ac_ext
19261 cat >>conftest.
$ac_ext <<_ACEOF
19262 /* end confdefs.h. */
19263 $ac_includes_default
19267 static int test_array [1 - 2 * !(((long) (sizeof (unsigned))) <= $ac_mid)];
19274 rm -f conftest.
$ac_objext
19275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19276 (eval $ac_compile) 2>conftest.er1
19278 grep -v '^ *+' conftest.er1
>conftest.err
19280 cat conftest.err
>&5
19281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19282 (exit $ac_status); } &&
19283 { ac_try
='test -z "$ac_c_werror_flag"
19284 || test ! -s conftest.err'
19285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19286 (eval $ac_try) 2>&5
19288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19289 (exit $ac_status); }; } &&
19290 { ac_try
='test -s conftest.$ac_objext'
19291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19292 (eval $ac_try) 2>&5
19294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19295 (exit $ac_status); }; }; then
19298 echo "$as_me: failed program was:" >&5
19299 sed 's/^/| /' conftest.
$ac_ext >&5
19301 ac_lo
=`expr '(' $ac_mid ')' + 1`
19303 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19306 ?
*) ac_cv_sizeof_unsigned
=$ac_lo;;
19307 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned), 77
19308 See \`config.log' for more details." >&5
19309 echo "$as_me: error: cannot compute sizeof (unsigned), 77
19310 See \`config.log' for more details." >&2;}
19311 { (exit 1); exit 1; }; } ;;
19314 if test "$cross_compiling" = yes; then
19315 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19316 See \`config.log' for more details." >&5
19317 echo "$as_me: error: cannot run test program while cross compiling
19318 See \`config.log' for more details." >&2;}
19319 { (exit 1); exit 1; }; }
19321 cat >conftest.
$ac_ext <<_ACEOF
19324 cat confdefs.h
>>conftest.
$ac_ext
19325 cat >>conftest.
$ac_ext <<_ACEOF
19326 /* end confdefs.h. */
19327 $ac_includes_default
19328 long longval () { return (long) (sizeof (unsigned)); }
19329 unsigned long ulongval () { return (long) (sizeof (unsigned)); }
19331 #include <stdlib.h>
19336 FILE *f = fopen ("conftest.val", "w");
19339 if (((long) (sizeof (unsigned))) < 0)
19341 long i = longval ();
19342 if (i != ((long) (sizeof (unsigned))))
19344 fprintf (f, "%ld\n", i);
19348 unsigned long i = ulongval ();
19349 if (i != ((long) (sizeof (unsigned))))
19351 fprintf (f, "%lu\n", i);
19353 exit (ferror (f) || fclose (f) != 0);
19359 rm -f conftest
$ac_exeext
19360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19361 (eval $ac_link) 2>&5
19363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19364 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19366 (eval $ac_try) 2>&5
19368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19369 (exit $ac_status); }; }; then
19370 ac_cv_sizeof_unsigned
=`cat conftest.val`
19372 echo "$as_me: program exited with status $ac_status" >&5
19373 echo "$as_me: failed program was:" >&5
19374 sed 's/^/| /' conftest.
$ac_ext >&5
19376 ( exit $ac_status )
19377 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned), 77
19378 See \`config.log' for more details." >&5
19379 echo "$as_me: error: cannot compute sizeof (unsigned), 77
19380 See \`config.log' for more details." >&2;}
19381 { (exit 1); exit 1; }; }
19383 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19388 ac_cv_sizeof_unsigned
=0
19391 echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned" >&5
19392 echo "${ECHO_T}$ac_cv_sizeof_unsigned" >&6
19393 cat >>confdefs.h
<<_ACEOF
19394 #define SIZEOF_UNSIGNED $ac_cv_sizeof_unsigned
19398 if test "$ac_cv_sizeof_unsigned" != 4
19400 echo "$as_me:$LINENO: checking for unsigned long" >&5
19401 echo $ECHO_N "checking for unsigned long... $ECHO_C" >&6
19402 if test "${ac_cv_type_unsigned_long+set}" = set; then
19403 echo $ECHO_N "(cached) $ECHO_C" >&6
19405 cat >conftest.
$ac_ext <<_ACEOF
19408 cat confdefs.h
>>conftest.
$ac_ext
19409 cat >>conftest.
$ac_ext <<_ACEOF
19410 /* end confdefs.h. */
19411 $ac_includes_default
19415 if ((unsigned long *) 0)
19417 if (sizeof (unsigned long))
19423 rm -f conftest.
$ac_objext
19424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19425 (eval $ac_compile) 2>conftest.er1
19427 grep -v '^ *+' conftest.er1
>conftest.err
19429 cat conftest.err
>&5
19430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19431 (exit $ac_status); } &&
19432 { ac_try
='test -z "$ac_c_werror_flag"
19433 || test ! -s conftest.err'
19434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19435 (eval $ac_try) 2>&5
19437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19438 (exit $ac_status); }; } &&
19439 { ac_try
='test -s conftest.$ac_objext'
19440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19441 (eval $ac_try) 2>&5
19443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19444 (exit $ac_status); }; }; then
19445 ac_cv_type_unsigned_long
=yes
19447 echo "$as_me: failed program was:" >&5
19448 sed 's/^/| /' conftest.
$ac_ext >&5
19450 ac_cv_type_unsigned_long
=no
19452 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19454 echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long" >&5
19455 echo "${ECHO_T}$ac_cv_type_unsigned_long" >&6
19457 echo "$as_me:$LINENO: checking size of unsigned long" >&5
19458 echo $ECHO_N "checking size of unsigned long... $ECHO_C" >&6
19459 if test "${ac_cv_sizeof_unsigned_long+set}" = set; then
19460 echo $ECHO_N "(cached) $ECHO_C" >&6
19462 if test "$ac_cv_type_unsigned_long" = yes; then
19463 # The cast to unsigned long works around a bug in the HP C Compiler
19464 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19465 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19466 # This bug is HP SR number 8606223364.
19467 if test "$cross_compiling" = yes; then
19468 # Depending upon the size, compute the lo and hi bounds.
19469 cat >conftest.
$ac_ext <<_ACEOF
19472 cat confdefs.h
>>conftest.
$ac_ext
19473 cat >>conftest.
$ac_ext <<_ACEOF
19474 /* end confdefs.h. */
19475 $ac_includes_default
19479 static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) >= 0)];
19486 rm -f conftest.
$ac_objext
19487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19488 (eval $ac_compile) 2>conftest.er1
19490 grep -v '^ *+' conftest.er1
>conftest.err
19492 cat conftest.err
>&5
19493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19494 (exit $ac_status); } &&
19495 { ac_try
='test -z "$ac_c_werror_flag"
19496 || test ! -s conftest.err'
19497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19498 (eval $ac_try) 2>&5
19500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19501 (exit $ac_status); }; } &&
19502 { ac_try
='test -s conftest.$ac_objext'
19503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19504 (eval $ac_try) 2>&5
19506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19507 (exit $ac_status); }; }; then
19510 cat >conftest.
$ac_ext <<_ACEOF
19513 cat confdefs.h
>>conftest.
$ac_ext
19514 cat >>conftest.
$ac_ext <<_ACEOF
19515 /* end confdefs.h. */
19516 $ac_includes_default
19520 static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) <= $ac_mid)];
19527 rm -f conftest.
$ac_objext
19528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19529 (eval $ac_compile) 2>conftest.er1
19531 grep -v '^ *+' conftest.er1
>conftest.err
19533 cat conftest.err
>&5
19534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19535 (exit $ac_status); } &&
19536 { ac_try
='test -z "$ac_c_werror_flag"
19537 || test ! -s conftest.err'
19538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19539 (eval $ac_try) 2>&5
19541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19542 (exit $ac_status); }; } &&
19543 { ac_try
='test -s conftest.$ac_objext'
19544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19545 (eval $ac_try) 2>&5
19547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19548 (exit $ac_status); }; }; then
19549 ac_hi
=$ac_mid; break
19551 echo "$as_me: failed program was:" >&5
19552 sed 's/^/| /' conftest.
$ac_ext >&5
19554 ac_lo
=`expr $ac_mid + 1`
19555 if test $ac_lo -le $ac_mid; then
19559 ac_mid
=`expr 2 '*' $ac_mid + 1`
19561 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19564 echo "$as_me: failed program was:" >&5
19565 sed 's/^/| /' conftest.
$ac_ext >&5
19567 cat >conftest.
$ac_ext <<_ACEOF
19570 cat confdefs.h
>>conftest.
$ac_ext
19571 cat >>conftest.
$ac_ext <<_ACEOF
19572 /* end confdefs.h. */
19573 $ac_includes_default
19577 static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) < 0)];
19584 rm -f conftest.
$ac_objext
19585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19586 (eval $ac_compile) 2>conftest.er1
19588 grep -v '^ *+' conftest.er1
>conftest.err
19590 cat conftest.err
>&5
19591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19592 (exit $ac_status); } &&
19593 { ac_try
='test -z "$ac_c_werror_flag"
19594 || test ! -s conftest.err'
19595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19596 (eval $ac_try) 2>&5
19598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19599 (exit $ac_status); }; } &&
19600 { ac_try
='test -s conftest.$ac_objext'
19601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19602 (eval $ac_try) 2>&5
19604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19605 (exit $ac_status); }; }; then
19608 cat >conftest.
$ac_ext <<_ACEOF
19611 cat confdefs.h
>>conftest.
$ac_ext
19612 cat >>conftest.
$ac_ext <<_ACEOF
19613 /* end confdefs.h. */
19614 $ac_includes_default
19618 static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) >= $ac_mid)];
19625 rm -f conftest.
$ac_objext
19626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19627 (eval $ac_compile) 2>conftest.er1
19629 grep -v '^ *+' conftest.er1
>conftest.err
19631 cat conftest.err
>&5
19632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19633 (exit $ac_status); } &&
19634 { ac_try
='test -z "$ac_c_werror_flag"
19635 || test ! -s conftest.err'
19636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19637 (eval $ac_try) 2>&5
19639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19640 (exit $ac_status); }; } &&
19641 { ac_try
='test -s conftest.$ac_objext'
19642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19643 (eval $ac_try) 2>&5
19645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19646 (exit $ac_status); }; }; then
19647 ac_lo
=$ac_mid; break
19649 echo "$as_me: failed program was:" >&5
19650 sed 's/^/| /' conftest.
$ac_ext >&5
19652 ac_hi
=`expr '(' $ac_mid ')' - 1`
19653 if test $ac_mid -le $ac_hi; then
19657 ac_mid
=`expr 2 '*' $ac_mid`
19659 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19662 echo "$as_me: failed program was:" >&5
19663 sed 's/^/| /' conftest.
$ac_ext >&5
19667 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19669 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19670 # Binary search between lo and hi bounds.
19671 while test "x$ac_lo" != "x$ac_hi"; do
19672 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19673 cat >conftest.
$ac_ext <<_ACEOF
19676 cat confdefs.h
>>conftest.
$ac_ext
19677 cat >>conftest.
$ac_ext <<_ACEOF
19678 /* end confdefs.h. */
19679 $ac_includes_default
19683 static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) <= $ac_mid)];
19690 rm -f conftest.
$ac_objext
19691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19692 (eval $ac_compile) 2>conftest.er1
19694 grep -v '^ *+' conftest.er1
>conftest.err
19696 cat conftest.err
>&5
19697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19698 (exit $ac_status); } &&
19699 { ac_try
='test -z "$ac_c_werror_flag"
19700 || test ! -s conftest.err'
19701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19702 (eval $ac_try) 2>&5
19704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19705 (exit $ac_status); }; } &&
19706 { ac_try
='test -s conftest.$ac_objext'
19707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19708 (eval $ac_try) 2>&5
19710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19711 (exit $ac_status); }; }; then
19714 echo "$as_me: failed program was:" >&5
19715 sed 's/^/| /' conftest.
$ac_ext >&5
19717 ac_lo
=`expr '(' $ac_mid ')' + 1`
19719 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19722 ?
*) ac_cv_sizeof_unsigned_long
=$ac_lo;;
19723 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long), 77
19724 See \`config.log' for more details." >&5
19725 echo "$as_me: error: cannot compute sizeof (unsigned long), 77
19726 See \`config.log' for more details." >&2;}
19727 { (exit 1); exit 1; }; } ;;
19730 if test "$cross_compiling" = yes; then
19731 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19732 See \`config.log' for more details." >&5
19733 echo "$as_me: error: cannot run test program while cross compiling
19734 See \`config.log' for more details." >&2;}
19735 { (exit 1); exit 1; }; }
19737 cat >conftest.
$ac_ext <<_ACEOF
19740 cat confdefs.h
>>conftest.
$ac_ext
19741 cat >>conftest.
$ac_ext <<_ACEOF
19742 /* end confdefs.h. */
19743 $ac_includes_default
19744 long longval () { return (long) (sizeof (unsigned long)); }
19745 unsigned long ulongval () { return (long) (sizeof (unsigned long)); }
19747 #include <stdlib.h>
19752 FILE *f = fopen ("conftest.val", "w");
19755 if (((long) (sizeof (unsigned long))) < 0)
19757 long i = longval ();
19758 if (i != ((long) (sizeof (unsigned long))))
19760 fprintf (f, "%ld\n", i);
19764 unsigned long i = ulongval ();
19765 if (i != ((long) (sizeof (unsigned long))))
19767 fprintf (f, "%lu\n", i);
19769 exit (ferror (f) || fclose (f) != 0);
19775 rm -f conftest
$ac_exeext
19776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19777 (eval $ac_link) 2>&5
19779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19780 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19782 (eval $ac_try) 2>&5
19784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19785 (exit $ac_status); }; }; then
19786 ac_cv_sizeof_unsigned_long
=`cat conftest.val`
19788 echo "$as_me: program exited with status $ac_status" >&5
19789 echo "$as_me: failed program was:" >&5
19790 sed 's/^/| /' conftest.
$ac_ext >&5
19792 ( exit $ac_status )
19793 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long), 77
19794 See \`config.log' for more details." >&5
19795 echo "$as_me: error: cannot compute sizeof (unsigned long), 77
19796 See \`config.log' for more details." >&2;}
19797 { (exit 1); exit 1; }; }
19799 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19804 ac_cv_sizeof_unsigned_long
=0
19807 echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long" >&5
19808 echo "${ECHO_T}$ac_cv_sizeof_unsigned_long" >&6
19809 cat >>confdefs.h
<<_ACEOF
19810 #define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
19814 if test "$ac_cv_sizeof_unsigned_long" != 4
19816 echo "$as_me:$LINENO: checking for unsigned short" >&5
19817 echo $ECHO_N "checking for unsigned short... $ECHO_C" >&6
19818 if test "${ac_cv_type_unsigned_short+set}" = set; then
19819 echo $ECHO_N "(cached) $ECHO_C" >&6
19821 cat >conftest.
$ac_ext <<_ACEOF
19824 cat confdefs.h
>>conftest.
$ac_ext
19825 cat >>conftest.
$ac_ext <<_ACEOF
19826 /* end confdefs.h. */
19827 $ac_includes_default
19831 if ((unsigned short *) 0)
19833 if (sizeof (unsigned short))
19839 rm -f conftest.
$ac_objext
19840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19841 (eval $ac_compile) 2>conftest.er1
19843 grep -v '^ *+' conftest.er1
>conftest.err
19845 cat conftest.err
>&5
19846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19847 (exit $ac_status); } &&
19848 { ac_try
='test -z "$ac_c_werror_flag"
19849 || test ! -s conftest.err'
19850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19851 (eval $ac_try) 2>&5
19853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19854 (exit $ac_status); }; } &&
19855 { ac_try
='test -s conftest.$ac_objext'
19856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19857 (eval $ac_try) 2>&5
19859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19860 (exit $ac_status); }; }; then
19861 ac_cv_type_unsigned_short
=yes
19863 echo "$as_me: failed program was:" >&5
19864 sed 's/^/| /' conftest.
$ac_ext >&5
19866 ac_cv_type_unsigned_short
=no
19868 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19870 echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_short" >&5
19871 echo "${ECHO_T}$ac_cv_type_unsigned_short" >&6
19873 echo "$as_me:$LINENO: checking size of unsigned short" >&5
19874 echo $ECHO_N "checking size of unsigned short... $ECHO_C" >&6
19875 if test "${ac_cv_sizeof_unsigned_short+set}" = set; then
19876 echo $ECHO_N "(cached) $ECHO_C" >&6
19878 if test "$ac_cv_type_unsigned_short" = yes; then
19879 # The cast to unsigned long works around a bug in the HP C Compiler
19880 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19881 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19882 # This bug is HP SR number 8606223364.
19883 if test "$cross_compiling" = yes; then
19884 # Depending upon the size, compute the lo and hi bounds.
19885 cat >conftest.
$ac_ext <<_ACEOF
19888 cat confdefs.h
>>conftest.
$ac_ext
19889 cat >>conftest.
$ac_ext <<_ACEOF
19890 /* end confdefs.h. */
19891 $ac_includes_default
19895 static int test_array [1 - 2 * !(((long) (sizeof (unsigned short))) >= 0)];
19902 rm -f conftest.
$ac_objext
19903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19904 (eval $ac_compile) 2>conftest.er1
19906 grep -v '^ *+' conftest.er1
>conftest.err
19908 cat conftest.err
>&5
19909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19910 (exit $ac_status); } &&
19911 { ac_try
='test -z "$ac_c_werror_flag"
19912 || test ! -s conftest.err'
19913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19914 (eval $ac_try) 2>&5
19916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19917 (exit $ac_status); }; } &&
19918 { ac_try
='test -s conftest.$ac_objext'
19919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19920 (eval $ac_try) 2>&5
19922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19923 (exit $ac_status); }; }; then
19926 cat >conftest.
$ac_ext <<_ACEOF
19929 cat confdefs.h
>>conftest.
$ac_ext
19930 cat >>conftest.
$ac_ext <<_ACEOF
19931 /* end confdefs.h. */
19932 $ac_includes_default
19936 static int test_array [1 - 2 * !(((long) (sizeof (unsigned short))) <= $ac_mid)];
19943 rm -f conftest.
$ac_objext
19944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19945 (eval $ac_compile) 2>conftest.er1
19947 grep -v '^ *+' conftest.er1
>conftest.err
19949 cat conftest.err
>&5
19950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19951 (exit $ac_status); } &&
19952 { ac_try
='test -z "$ac_c_werror_flag"
19953 || test ! -s conftest.err'
19954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19955 (eval $ac_try) 2>&5
19957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19958 (exit $ac_status); }; } &&
19959 { ac_try
='test -s conftest.$ac_objext'
19960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19961 (eval $ac_try) 2>&5
19963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19964 (exit $ac_status); }; }; then
19965 ac_hi
=$ac_mid; break
19967 echo "$as_me: failed program was:" >&5
19968 sed 's/^/| /' conftest.
$ac_ext >&5
19970 ac_lo
=`expr $ac_mid + 1`
19971 if test $ac_lo -le $ac_mid; then
19975 ac_mid
=`expr 2 '*' $ac_mid + 1`
19977 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19980 echo "$as_me: failed program was:" >&5
19981 sed 's/^/| /' conftest.
$ac_ext >&5
19983 cat >conftest.
$ac_ext <<_ACEOF
19986 cat confdefs.h
>>conftest.
$ac_ext
19987 cat >>conftest.
$ac_ext <<_ACEOF
19988 /* end confdefs.h. */
19989 $ac_includes_default
19993 static int test_array [1 - 2 * !(((long) (sizeof (unsigned short))) < 0)];
20000 rm -f conftest.
$ac_objext
20001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20002 (eval $ac_compile) 2>conftest.er1
20004 grep -v '^ *+' conftest.er1
>conftest.err
20006 cat conftest.err
>&5
20007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20008 (exit $ac_status); } &&
20009 { ac_try
='test -z "$ac_c_werror_flag"
20010 || test ! -s conftest.err'
20011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20012 (eval $ac_try) 2>&5
20014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20015 (exit $ac_status); }; } &&
20016 { ac_try
='test -s conftest.$ac_objext'
20017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20018 (eval $ac_try) 2>&5
20020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20021 (exit $ac_status); }; }; then
20024 cat >conftest.
$ac_ext <<_ACEOF
20027 cat confdefs.h
>>conftest.
$ac_ext
20028 cat >>conftest.
$ac_ext <<_ACEOF
20029 /* end confdefs.h. */
20030 $ac_includes_default
20034 static int test_array [1 - 2 * !(((long) (sizeof (unsigned short))) >= $ac_mid)];
20041 rm -f conftest.
$ac_objext
20042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20043 (eval $ac_compile) 2>conftest.er1
20045 grep -v '^ *+' conftest.er1
>conftest.err
20047 cat conftest.err
>&5
20048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20049 (exit $ac_status); } &&
20050 { ac_try
='test -z "$ac_c_werror_flag"
20051 || test ! -s conftest.err'
20052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20053 (eval $ac_try) 2>&5
20055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20056 (exit $ac_status); }; } &&
20057 { ac_try
='test -s conftest.$ac_objext'
20058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20059 (eval $ac_try) 2>&5
20061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20062 (exit $ac_status); }; }; then
20063 ac_lo
=$ac_mid; break
20065 echo "$as_me: failed program was:" >&5
20066 sed 's/^/| /' conftest.
$ac_ext >&5
20068 ac_hi
=`expr '(' $ac_mid ')' - 1`
20069 if test $ac_mid -le $ac_hi; then
20073 ac_mid
=`expr 2 '*' $ac_mid`
20075 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20078 echo "$as_me: failed program was:" >&5
20079 sed 's/^/| /' conftest.
$ac_ext >&5
20083 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20085 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20086 # Binary search between lo and hi bounds.
20087 while test "x$ac_lo" != "x$ac_hi"; do
20088 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20089 cat >conftest.
$ac_ext <<_ACEOF
20092 cat confdefs.h
>>conftest.
$ac_ext
20093 cat >>conftest.
$ac_ext <<_ACEOF
20094 /* end confdefs.h. */
20095 $ac_includes_default
20099 static int test_array [1 - 2 * !(((long) (sizeof (unsigned short))) <= $ac_mid)];
20106 rm -f conftest.
$ac_objext
20107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20108 (eval $ac_compile) 2>conftest.er1
20110 grep -v '^ *+' conftest.er1
>conftest.err
20112 cat conftest.err
>&5
20113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20114 (exit $ac_status); } &&
20115 { ac_try
='test -z "$ac_c_werror_flag"
20116 || test ! -s conftest.err'
20117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20118 (eval $ac_try) 2>&5
20120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20121 (exit $ac_status); }; } &&
20122 { ac_try
='test -s conftest.$ac_objext'
20123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20124 (eval $ac_try) 2>&5
20126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20127 (exit $ac_status); }; }; then
20130 echo "$as_me: failed program was:" >&5
20131 sed 's/^/| /' conftest.
$ac_ext >&5
20133 ac_lo
=`expr '(' $ac_mid ')' + 1`
20135 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20138 ?
*) ac_cv_sizeof_unsigned_short
=$ac_lo;;
20139 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned short), 77
20140 See \`config.log' for more details." >&5
20141 echo "$as_me: error: cannot compute sizeof (unsigned short), 77
20142 See \`config.log' for more details." >&2;}
20143 { (exit 1); exit 1; }; } ;;
20146 if test "$cross_compiling" = yes; then
20147 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20148 See \`config.log' for more details." >&5
20149 echo "$as_me: error: cannot run test program while cross compiling
20150 See \`config.log' for more details." >&2;}
20151 { (exit 1); exit 1; }; }
20153 cat >conftest.
$ac_ext <<_ACEOF
20156 cat confdefs.h
>>conftest.
$ac_ext
20157 cat >>conftest.
$ac_ext <<_ACEOF
20158 /* end confdefs.h. */
20159 $ac_includes_default
20160 long longval () { return (long) (sizeof (unsigned short)); }
20161 unsigned long ulongval () { return (long) (sizeof (unsigned short)); }
20163 #include <stdlib.h>
20168 FILE *f = fopen ("conftest.val", "w");
20171 if (((long) (sizeof (unsigned short))) < 0)
20173 long i = longval ();
20174 if (i != ((long) (sizeof (unsigned short))))
20176 fprintf (f, "%ld\n", i);
20180 unsigned long i = ulongval ();
20181 if (i != ((long) (sizeof (unsigned short))))
20183 fprintf (f, "%lu\n", i);
20185 exit (ferror (f) || fclose (f) != 0);
20191 rm -f conftest
$ac_exeext
20192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20193 (eval $ac_link) 2>&5
20195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20196 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20198 (eval $ac_try) 2>&5
20200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20201 (exit $ac_status); }; }; then
20202 ac_cv_sizeof_unsigned_short
=`cat conftest.val`
20204 echo "$as_me: program exited with status $ac_status" >&5
20205 echo "$as_me: failed program was:" >&5
20206 sed 's/^/| /' conftest.
$ac_ext >&5
20208 ( exit $ac_status )
20209 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned short), 77
20210 See \`config.log' for more details." >&5
20211 echo "$as_me: error: cannot compute sizeof (unsigned short), 77
20212 See \`config.log' for more details." >&2;}
20213 { (exit 1); exit 1; }; }
20215 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20220 ac_cv_sizeof_unsigned_short
=0
20223 echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_short" >&5
20224 echo "${ECHO_T}$ac_cv_sizeof_unsigned_short" >&6
20225 cat >>confdefs.h
<<_ACEOF
20226 #define SIZEOF_UNSIGNED_SHORT $ac_cv_sizeof_unsigned_short
20230 if test "$ac_cv_sizeof_unsigned_short" != 4
20232 { { echo "$as_me:$LINENO: error: --with-int32 option is required" >&5
20233 echo "$as_me: error: --with-int32 option is required" >&2;}
20234 { (exit 1); exit 1; }; }
20236 int32
="unsigned short"
20238 int32
="unsigned long"
20245 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20248 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20255 cat >>confdefs.h
<<_ACEOF
20256 #define SHA1_WORD $UINT32
20260 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
20261 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
20262 if test "${ac_cv_c_const+set}" = set; then
20263 echo $ECHO_N "(cached) $ECHO_C" >&6
20265 cat >conftest.
$ac_ext <<_ACEOF
20268 cat confdefs.h
>>conftest.
$ac_ext
20269 cat >>conftest.
$ac_ext <<_ACEOF
20270 /* end confdefs.h. */
20275 /* FIXME: Include the comments suggested by Paul. */
20276 #ifndef __cplusplus
20277 /* Ultrix mips cc rejects this. */
20278 typedef int charset[2];
20280 /* SunOS 4.1.1 cc rejects this. */
20281 char const *const *ccp;
20283 /* NEC SVR4.0.2 mips cc rejects this. */
20284 struct point {int x, y;};
20285 static struct point const zero = {0,0};
20286 /* AIX XL C 1.02.0.0 rejects this.
20287 It does not let you subtract one const X* pointer from another in
20288 an arm of an if-expression whose if-part is not a constant
20290 const char *g = "string";
20291 ccp = &g + (g ? g-g : 0);
20292 /* HPUX 7.0 cc rejects these. */
20295 ccp = (char const *const *) p;
20296 { /* SCO 3.2v4 cc rejects this. */
20298 char const *s = 0 ? (char *) 0 : (char const *) 0;
20302 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20303 int x[] = {25, 17};
20304 const int *foo = &x[0];
20307 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20308 typedef const int *iptr;
20312 { /* AIX XL C 1.02.0.0 rejects this saying
20313 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20314 struct s { int j; const int *ap[3]; };
20315 struct s *b; b->j = 5;
20317 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20318 const int foo = 10;
20326 rm -f conftest.
$ac_objext
20327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20328 (eval $ac_compile) 2>conftest.er1
20330 grep -v '^ *+' conftest.er1
>conftest.err
20332 cat conftest.err
>&5
20333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20334 (exit $ac_status); } &&
20335 { ac_try
='test -z "$ac_c_werror_flag"
20336 || test ! -s conftest.err'
20337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20338 (eval $ac_try) 2>&5
20340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20341 (exit $ac_status); }; } &&
20342 { ac_try
='test -s conftest.$ac_objext'
20343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20344 (eval $ac_try) 2>&5
20346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20347 (exit $ac_status); }; }; then
20350 echo "$as_me: failed program was:" >&5
20351 sed 's/^/| /' conftest.
$ac_ext >&5
20355 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20357 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20358 echo "${ECHO_T}$ac_cv_c_const" >&6
20359 if test $ac_cv_c_const = no
; then
20361 cat >>confdefs.h
<<\_ACEOF
20368 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
20369 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
20370 if test "${ac_cv_header_stdc+set}" = set; then
20371 echo $ECHO_N "(cached) $ECHO_C" >&6
20373 cat >conftest.
$ac_ext <<_ACEOF
20376 cat confdefs.h
>>conftest.
$ac_ext
20377 cat >>conftest.
$ac_ext <<_ACEOF
20378 /* end confdefs.h. */
20379 #include <stdlib.h>
20380 #include <stdarg.h>
20381 #include <string.h>
20392 rm -f conftest.
$ac_objext
20393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20394 (eval $ac_compile) 2>conftest.er1
20396 grep -v '^ *+' conftest.er1
>conftest.err
20398 cat conftest.err
>&5
20399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20400 (exit $ac_status); } &&
20401 { ac_try
='test -z "$ac_c_werror_flag"
20402 || test ! -s conftest.err'
20403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20404 (eval $ac_try) 2>&5
20406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20407 (exit $ac_status); }; } &&
20408 { ac_try
='test -s conftest.$ac_objext'
20409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20410 (eval $ac_try) 2>&5
20412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20413 (exit $ac_status); }; }; then
20414 ac_cv_header_stdc
=yes
20416 echo "$as_me: failed program was:" >&5
20417 sed 's/^/| /' conftest.
$ac_ext >&5
20419 ac_cv_header_stdc
=no
20421 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20423 if test $ac_cv_header_stdc = yes; then
20424 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20425 cat >conftest.
$ac_ext <<_ACEOF
20428 cat confdefs.h
>>conftest.
$ac_ext
20429 cat >>conftest.
$ac_ext <<_ACEOF
20430 /* end confdefs.h. */
20431 #include <string.h>
20434 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20435 $EGREP "memchr" >/dev
/null
2>&1; then
20438 ac_cv_header_stdc
=no
20444 if test $ac_cv_header_stdc = yes; then
20445 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
20446 cat >conftest.
$ac_ext <<_ACEOF
20449 cat confdefs.h
>>conftest.
$ac_ext
20450 cat >>conftest.
$ac_ext <<_ACEOF
20451 /* end confdefs.h. */
20452 #include <stdlib.h>
20455 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20456 $EGREP "free" >/dev
/null
2>&1; then
20459 ac_cv_header_stdc
=no
20465 if test $ac_cv_header_stdc = yes; then
20466 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20467 if test "$cross_compiling" = yes; then
20470 cat >conftest.
$ac_ext <<_ACEOF
20473 cat confdefs.h
>>conftest.
$ac_ext
20474 cat >>conftest.
$ac_ext <<_ACEOF
20475 /* end confdefs.h. */
20477 #if ((' ' & 0x0FF) == 0x020)
20478 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20479 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20481 # define ISLOWER(c) \
20482 (('a' <= (c) && (c) <= 'i') \
20483 || ('j' <= (c) && (c) <= 'r') \
20484 || ('s' <= (c) && (c) <= 'z'))
20485 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20488 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20493 for (i = 0; i < 256; i++)
20494 if (XOR (islower (i), ISLOWER (i))
20495 || toupper (i) != TOUPPER (i))
20500 rm -f conftest
$ac_exeext
20501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20502 (eval $ac_link) 2>&5
20504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20505 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20507 (eval $ac_try) 2>&5
20509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20510 (exit $ac_status); }; }; then
20513 echo "$as_me: program exited with status $ac_status" >&5
20514 echo "$as_me: failed program was:" >&5
20515 sed 's/^/| /' conftest.
$ac_ext >&5
20517 ( exit $ac_status )
20518 ac_cv_header_stdc
=no
20520 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20524 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
20525 echo "${ECHO_T}$ac_cv_header_stdc" >&6
20526 if test $ac_cv_header_stdc = yes; then
20528 cat >>confdefs.h
<<\_ACEOF
20529 #define STDC_HEADERS 1
20535 ac_config_files
="$ac_config_files Makefile"
20536 cat >confcache
<<\_ACEOF
20537 # This file is a shell script that caches the results of configure
20538 # tests run on this system so they can be shared between configure
20539 # scripts and configure runs, see configure's option --config-cache.
20540 # It is not useful on other systems. If it contains results you don't
20541 # want to keep, you may remove or edit it.
20543 # config.status only pays attention to the cache file if you give it
20544 # the --recheck option to rerun configure.
20546 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20547 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20548 # following values.
20552 # The following way of writing the cache mishandles newlines in values,
20553 # but we know of no workaround that is simple, portable, and efficient.
20554 # So, don't put newlines in cache variables' values.
20555 # Ultrix sh set writes to stderr and can't be redirected directly,
20556 # and sets the high bit in the cache file unless we assign to the vars.
20559 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20561 # `set' does not quote correctly, so add quotes (double-quote
20562 # substitution turns \\\\ into \\, and sed turns \\ into \).
20565 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20568 # `set' quotes correctly as required by POSIX, so do not add quotes.
20570 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20577 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20579 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20581 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
20582 if test -w $cache_file; then
20583 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20584 cat confcache
>$cache_file
20586 echo "not updating unwritable cache $cache_file"
20591 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20592 # Let make expand exec_prefix.
20593 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20595 # VPATH may cause trouble with some makes, so we remove $(srcdir),
20596 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
20597 # trailing colons and then remove the whole line if VPATH becomes empty
20598 # (actually we leave an empty line to preserve line numbers).
20599 if test "x$srcdir" = x.
; then
20600 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
20601 s/:*\$(srcdir):*/:/;
20602 s/:*\${srcdir}:*/:/;
20604 s/^\([^=]*=[ ]*\):*/\1/;
20610 DEFS
=-DHAVE_CONFIG_H
20614 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
20615 # 1. Remove the extension, and $U if already installed.
20616 ac_i
=`echo "$ac_i" |
20617 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
20619 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
20620 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
20622 LIBOBJS
=$ac_libobjs
20624 LTLIBOBJS
=$ac_ltlibobjs
20627 if test -z "${HMACC_TRUE}" && test -z "${HMACC_FALSE}"; then
20628 { { echo "$as_me:$LINENO: error: conditional \"HMACC\" was never defined.
20629 Usually this means the macro was only invoked conditionally." >&5
20630 echo "$as_me: error: conditional \"HMACC\" was never defined.
20631 Usually this means the macro was only invoked conditionally." >&2;}
20632 { (exit 1); exit 1; }; }
20634 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
20635 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
20636 Usually this means the macro was only invoked conditionally." >&5
20637 echo "$as_me: error: conditional \"AMDEP\" was never defined.
20638 Usually this means the macro was only invoked conditionally." >&2;}
20639 { (exit 1); exit 1; }; }
20641 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20642 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
20643 Usually this means the macro was only invoked conditionally." >&5
20644 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
20645 Usually this means the macro was only invoked conditionally." >&2;}
20646 { (exit 1); exit 1; }; }
20648 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
20649 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
20650 Usually this means the macro was only invoked conditionally." >&5
20651 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
20652 Usually this means the macro was only invoked conditionally." >&2;}
20653 { (exit 1); exit 1; }; }
20656 : ${CONFIG_STATUS=./config.status}
20657 ac_clean_files_save
=$ac_clean_files
20658 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
20659 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20660 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20661 cat >$CONFIG_STATUS <<_ACEOF
20663 # Generated by $as_me.
20664 # Run this file to recreate the current configuration.
20665 # Compiler output produced by configure, useful for debugging
20666 # configure, is in config.log if it exists.
20669 ac_cs_recheck=false
20671 SHELL=\${CONFIG_SHELL-$SHELL}
20674 cat >>$CONFIG_STATUS <<\_ACEOF
20675 ## --------------------- ##
20676 ## M4sh Initialization. ##
20677 ## --------------------- ##
20679 # Be Bourne compatible
20680 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20683 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20684 # is contrary to our usage. Disable this feature.
20685 alias -g '${1+"$@"}'='"$@"'
20686 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
20689 DUALCASE
=1; export DUALCASE
# for MKS sh
20691 # Support unset when possible.
20692 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
20699 # Work around bugs in pre-3.0 UWIN ksh.
20700 $as_unset ENV MAIL MAILPATH
20707 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20708 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20709 LC_TELEPHONE LC_TIME
20711 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20712 eval $as_var=C
; export $as_var
20718 # Required to use basename.
20719 if expr a
: '\(a\)' >/dev
/null
2>&1; then
20725 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
20726 as_basename
=basename
20732 # Name of the executable.
20733 as_me
=`$as_basename "$0" ||
20734 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20735 X"$0" : 'X\(//\)$' \| \
20736 X"$0" : 'X\(/\)$' \| \
20737 . : '\(.\)' 2>/dev/null ||
20739 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
20740 /^X\/\(\/\/\)$/{ s//\1/; q; }
20741 /^X\/\(\/\).*/{ s//\1/; q; }
20745 # PATH needs CR, and LINENO needs CR and PATH.
20746 # Avoid depending upon Character Ranges.
20747 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20748 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20749 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20750 as_cr_digits
='0123456789'
20751 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20753 # The user is always right.
20754 if test "${PATH_SEPARATOR+set}" != set; then
20755 echo "#! /bin/sh" >conf$$.sh
20756 echo "exit 0" >>conf$$.sh
20758 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
20767 as_lineno_1
=$LINENO
20768 as_lineno_2
=$LINENO
20769 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
20770 test "x$as_lineno_1" != "x$as_lineno_2" &&
20771 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
20772 # Find who we are. Look in the path if we contain no path at all
20775 *[\\/]* ) as_myself
=$0 ;;
20776 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20777 for as_dir
in $PATH
20780 test -z "$as_dir" && as_dir
=.
20781 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
20786 # We did not find ourselves, most probably we were run as `sh COMMAND'
20787 # in which case we are not to be found in the path.
20788 if test "x$as_myself" = x
; then
20791 if test ! -f "$as_myself"; then
20792 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
20793 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
20794 { (exit 1); exit 1; }; }
20796 case $CONFIG_SHELL in
20798 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20799 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
20802 test -z "$as_dir" && as_dir
=.
20803 for as_base
in sh bash ksh sh5
; do
20806 if ("$as_dir/$as_base" -c '
20807 as_lineno_1=$LINENO
20808 as_lineno_2=$LINENO
20809 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20810 test "x$as_lineno_1" != "x$as_lineno_2" &&
20811 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
20812 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
20813 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
20814 CONFIG_SHELL
=$as_dir/$as_base
20815 export CONFIG_SHELL
20816 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
20824 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20825 # uniformly replaced by the line number. The first 'sed' inserts a
20826 # line-number line before each line; the second 'sed' does the real
20827 # work. The second script uses 'N' to pair each line-number line
20828 # with the numbered line, and appends trailing '-' during
20829 # substitution so that $LINENO is not a special case at line end.
20830 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20831 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
20832 sed '=' <$as_myself |
20837 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
20840 s,^['$as_cr_digits']*\n,,
20841 ' >$as_me.lineno
&&
20842 chmod +x
$as_me.lineno ||
20843 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
20844 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
20845 { (exit 1); exit 1; }; }
20847 # Don't try to exec as it changes $[0], causing all sort of problems
20848 # (the dirname of $[0] is not the place where we might find the
20849 # original and so on. Autoconf is especially sensible to this).
20851 # Exit status is that of the last command.
20856 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
20857 *c
*,-n*) ECHO_N
= ECHO_C
='
20859 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
20860 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
20863 if expr a
: '\(a\)' >/dev
/null
2>&1; then
20869 rm -f conf$$ conf$$.exe conf$$.
file
20871 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20872 # We could just check for DJGPP; but this test a) works b) is more generic
20873 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
20874 if test -f conf$$.exe
; then
20875 # Don't use ln at all; we don't have any links
20880 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20885 rm -f conf$$ conf$$.exe conf$$.
file
20887 if mkdir
-p .
2>/dev
/null
; then
20890 test -d .
/-p && rmdir .
/-p
20894 as_executable_p
="test -f"
20896 # Sed expression to map a string onto a valid CPP name.
20897 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20899 # Sed expression to map a string onto a valid variable name.
20900 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20904 # We need space, tab and new line, in precisely that order.
20914 # Open the log real soon, to keep \$[0] and so on meaningful, and to
20915 # report actual input values of CONFIG_FILES etc. instead of their
20916 # values after options handling. Logging --version etc. is OK.
20920 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20921 ## Running $as_me. ##
20926 This file was extended by libsha1 $as_me 1.21, which was
20927 generated by GNU Autoconf 2.59. Invocation command line was
20929 CONFIG_FILES = $CONFIG_FILES
20930 CONFIG_HEADERS = $CONFIG_HEADERS
20931 CONFIG_LINKS = $CONFIG_LINKS
20932 CONFIG_COMMANDS = $CONFIG_COMMANDS
20936 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
20940 # Files that config.status was made for.
20941 if test -n "$ac_config_files"; then
20942 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
20945 if test -n "$ac_config_headers"; then
20946 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
20949 if test -n "$ac_config_links"; then
20950 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
20953 if test -n "$ac_config_commands"; then
20954 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
20957 cat >>$CONFIG_STATUS <<\_ACEOF
20960 \`$as_me' instantiates files from templates according to the
20961 current configuration.
20963 Usage: $0 [OPTIONS] [FILE]...
20965 -h, --help print this help, then exit
20966 -V, --version print version number, then exit
20967 -q, --quiet do not print progress messages
20968 -d, --debug don't remove temporary files
20969 --recheck update $as_me by reconfiguring in the same conditions
20970 --file=FILE[:TEMPLATE]
20971 instantiate the configuration file FILE
20972 --header=FILE[:TEMPLATE]
20973 instantiate the configuration header FILE
20975 Configuration files:
20978 Configuration headers:
20981 Configuration commands:
20984 Report bugs to <bug-autoconf@gnu.org>."
20987 cat >>$CONFIG_STATUS <<_ACEOF
20989 libsha1 config.status 1.21
20990 configured by $0, generated by GNU Autoconf 2.59,
20991 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
20993 Copyright (C) 2003 Free Software Foundation, Inc.
20994 This config.status script is free software; the Free Software Foundation
20995 gives unlimited permission to copy, distribute and modify it."
21000 cat >>$CONFIG_STATUS <<\_ACEOF
21001 # If no file are specified by the user, then we need to provide default
21002 # value. By we need to know if files were specified by the user.
21008 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
21009 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
21017 *) # This is not an option, so the user has probably given explicit
21020 ac_need_defaults
=false
;;
21024 # Handling of the options.
21026 cat >>$CONFIG_STATUS <<\_ACEOF
21027 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
21029 --version |
--vers* |
-V )
21030 echo "$ac_cs_version"; exit 0 ;;
21032 # Conflict between --help and --header
21033 { { echo "$as_me:$LINENO: error: ambiguous option: $1
21034 Try \`$0 --help' for more information." >&5
21035 echo "$as_me: error: ambiguous option: $1
21036 Try \`$0 --help' for more information." >&2;}
21037 { (exit 1); exit 1; }; };;
21038 --help |
--hel |
-h )
21039 echo "$ac_cs_usage"; exit 0 ;;
21040 --debug |
--d* |
-d )
21042 --file |
--fil |
--fi |
--f )
21044 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
21045 ac_need_defaults
=false
;;
21046 --header |
--heade |
--head |
--hea )
21048 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
21049 ac_need_defaults
=false
;;
21050 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
21051 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
21054 # This is an error.
21055 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
21056 Try \`$0 --help' for more information." >&5
21057 echo "$as_me: error: unrecognized option: $1
21058 Try \`$0 --help' for more information." >&2;}
21059 { (exit 1); exit 1; }; } ;;
21061 *) ac_config_targets
="$ac_config_targets $1" ;;
21067 ac_configure_extra_args
=
21069 if $ac_cs_silent; then
21071 ac_configure_extra_args
="$ac_configure_extra_args --silent"
21075 cat >>$CONFIG_STATUS <<_ACEOF
21076 if \$ac_cs_recheck; then
21077 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21078 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21083 cat >>$CONFIG_STATUS <<_ACEOF
21085 # INIT-COMMANDS section.
21088 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
21094 cat >>$CONFIG_STATUS <<\_ACEOF
21095 for ac_config_target
in $ac_config_targets
21097 case "$ac_config_target" in
21098 # Handling of arguments.
21099 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
21100 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
21101 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
21102 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21103 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21104 { (exit 1); exit 1; }; };;
21108 # If the user did not use the arguments to specify the items to instantiate,
21109 # then the envvar interface is used. Set only those that are not.
21110 # We use the long form for the default assignment because of an extremely
21111 # bizarre bug on SunOS 4.1.3.
21112 if $ac_need_defaults; then
21113 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
21114 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
21115 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
21118 # Have a temporary directory for convenience. Make it in the build tree
21119 # simply because there is no reason to put it here, and in addition,
21120 # creating and moving files from /tmp can sometimes cause problems.
21121 # Create a temporary directory, and hook for its removal unless debugging.
21124 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
21125 trap '{ (exit 1); exit 1; }' 1 2 13 15
21128 # Create a (secure) tmp directory for tmp files.
21131 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
21132 test -n "$tmp" && test -d "$tmp"
21135 tmp
=.
/confstat$$
-$RANDOM
21136 (umask 077 && mkdir
$tmp)
21139 echo "$me: cannot create a temporary directory in ." >&2
21140 { (exit 1); exit 1; }
21145 cat >>$CONFIG_STATUS <<_ACEOF
21148 # CONFIG_FILES section.
21151 # No need to generate the scripts if there are no CONFIG_FILES.
21152 # This happens for instance when ./config.status config.h
21153 if test -n "\$CONFIG_FILES"; then
21154 # Protect against being on the right side of a sed subst in config.status.
21155 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
21156 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
21157 s,@SHELL@,$SHELL,;t t
21158 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
21159 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
21160 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
21161 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
21162 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
21163 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
21164 s,@exec_prefix@,$exec_prefix,;t t
21165 s,@prefix@,$prefix,;t t
21166 s,@program_transform_name@,$program_transform_name,;t t
21167 s,@bindir@,$bindir,;t t
21168 s,@sbindir@,$sbindir,;t t
21169 s,@libexecdir@,$libexecdir,;t t
21170 s,@datadir@,$datadir,;t t
21171 s,@sysconfdir@,$sysconfdir,;t t
21172 s,@sharedstatedir@,$sharedstatedir,;t t
21173 s,@localstatedir@,$localstatedir,;t t
21174 s,@libdir@,$libdir,;t t
21175 s,@includedir@,$includedir,;t t
21176 s,@oldincludedir@,$oldincludedir,;t t
21177 s,@infodir@,$infodir,;t t
21178 s,@mandir@,$mandir,;t t
21179 s,@build_alias@,$build_alias,;t t
21180 s,@host_alias@,$host_alias,;t t
21181 s,@target_alias@,$target_alias,;t t
21182 s,@DEFS@,$DEFS,;t t
21183 s,@ECHO_C@,$ECHO_C,;t t
21184 s,@ECHO_N@,$ECHO_N,;t t
21185 s,@ECHO_T@,$ECHO_T,;t t
21186 s,@LIBS@,$LIBS,;t t
21187 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
21188 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
21189 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
21190 s,@CYGPATH_W@,$CYGPATH_W,;t t
21191 s,@PACKAGE@,$PACKAGE,;t t
21192 s,@VERSION@,$VERSION,;t t
21193 s,@ACLOCAL@,$ACLOCAL,;t t
21194 s,@AUTOCONF@,$AUTOCONF,;t t
21195 s,@AUTOMAKE@,$AUTOMAKE,;t t
21196 s,@AUTOHEADER@,$AUTOHEADER,;t t
21197 s,@MAKEINFO@,$MAKEINFO,;t t
21198 s,@install_sh@,$install_sh,;t t
21199 s,@STRIP@,$STRIP,;t t
21200 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
21201 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
21202 s,@mkdir_p@,$mkdir_p,;t t
21204 s,@SET_MAKE@,$SET_MAKE,;t t
21205 s,@am__leading_dot@,$am__leading_dot,;t t
21206 s,@AMTAR@,$AMTAR,;t t
21207 s,@am__tar@,$am__tar,;t t
21208 s,@am__untar@,$am__untar,;t t
21209 s,@HMACC_TRUE@,$HMACC_TRUE,;t t
21210 s,@HMACC_FALSE@,$HMACC_FALSE,;t t
21212 s,@CFLAGS@,$CFLAGS,;t t
21213 s,@LDFLAGS@,$LDFLAGS,;t t
21214 s,@CPPFLAGS@,$CPPFLAGS,;t t
21215 s,@ac_ct_CC@,$ac_ct_CC,;t t
21216 s,@EXEEXT@,$EXEEXT,;t t
21217 s,@OBJEXT@,$OBJEXT,;t t
21218 s,@DEPDIR@,$DEPDIR,;t t
21219 s,@am__include@,$am__include,;t t
21220 s,@am__quote@,$am__quote,;t t
21221 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
21222 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
21223 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
21224 s,@CCDEPMODE@,$CCDEPMODE,;t t
21225 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
21226 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
21227 s,@LN_S@,$LN_S,;t t
21228 s,@build@,$build,;t t
21229 s,@build_cpu@,$build_cpu,;t t
21230 s,@build_vendor@,$build_vendor,;t t
21231 s,@build_os@,$build_os,;t t
21232 s,@host@,$host,;t t
21233 s,@host_cpu@,$host_cpu,;t t
21234 s,@host_vendor@,$host_vendor,;t t
21235 s,@host_os@,$host_os,;t t
21237 s,@EGREP@,$EGREP,;t t
21238 s,@ECHO@,$ECHO,;t t
21240 s,@ac_ct_AR@,$ac_ct_AR,;t t
21241 s,@RANLIB@,$RANLIB,;t t
21242 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
21245 s,@CXXFLAGS@,$CXXFLAGS,;t t
21246 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
21247 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
21248 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
21249 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
21250 s,@CXXCPP@,$CXXCPP,;t t
21252 s,@FFLAGS@,$FFLAGS,;t t
21253 s,@ac_ct_F77@,$ac_ct_F77,;t t
21254 s,@LIBTOOL@,$LIBTOOL,;t t
21255 s,@LIBOBJS@,$LIBOBJS,;t t
21256 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
21261 cat >>$CONFIG_STATUS <<\_ACEOF
21262 # Split the substitutions into bite-sized pieces for seds with
21263 # small command number limits, like on Digital OSF/1 and HP-UX.
21264 ac_max_sed_lines
=48
21265 ac_sed_frag
=1 # Number of current file.
21266 ac_beg
=1 # First line for current file.
21267 ac_end
=$ac_max_sed_lines # Line after last line for current file.
21270 while $ac_more_lines; do
21271 if test $ac_beg -gt 1; then
21272 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
21274 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
21276 if test ! -s $tmp/subs.frag
; then
21277 ac_more_lines
=false
21279 # The purpose of the label and of the branching condition is to
21280 # speed up the sed processing (if there are no `@' at all, there
21281 # is no need to browse any of the substitutions).
21282 # These are the two extra sed commands mentioned above.
21284 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
21285 if test -z "$ac_sed_cmds"; then
21286 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
21288 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
21290 ac_sed_frag
=`expr $ac_sed_frag + 1`
21292 ac_end
=`expr $ac_end + $ac_max_sed_lines`
21295 if test -z "$ac_sed_cmds"; then
21298 fi # test -n "$CONFIG_FILES"
21301 cat >>$CONFIG_STATUS <<\_ACEOF
21302 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
21303 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21305 - |
*:- |
*:-:* ) # input from stdin
21307 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21308 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21309 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21310 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21311 * ) ac_file_in
=$ac_file.
in ;;
21314 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
21315 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
21316 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21317 X"$ac_file" : 'X\(//\)[^/]' \| \
21318 X"$ac_file" : 'X\(//\)$' \| \
21319 X"$ac_file" : 'X\(/\)' \| \
21320 . : '\(.\)' 2>/dev/null ||
21322 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21323 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21324 /^X\(\/\/\)$/{ s//\1/; q; }
21325 /^X\(\/\).*/{ s//\1/; q; }
21327 { if $as_mkdir_p; then
21332 while test ! -d "$as_dir"; do
21333 as_dirs
="$as_dir $as_dirs"
21334 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21335 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21336 X"$as_dir" : 'X\(//\)[^/]' \| \
21337 X"$as_dir" : 'X\(//\)$' \| \
21338 X"$as_dir" : 'X\(/\)' \| \
21339 . : '\(.\)' 2>/dev/null ||
21341 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21342 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21343 /^X\(\/\/\)$/{ s//\1/; q; }
21344 /^X\(\/\).*/{ s//\1/; q; }
21347 test ! -n "$as_dirs" || mkdir
$as_dirs
21348 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21349 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21350 { (exit 1); exit 1; }; }; }
21354 if test "$ac_dir" != .
; then
21355 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21356 # A "../" for each directory in $ac_dir_suffix.
21357 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21359 ac_dir_suffix
= ac_top_builddir
=
21363 .
) # No --srcdir option. We are building in place.
21365 if test -z "$ac_top_builddir"; then
21368 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
21370 [\\/]* | ?
:[\\/]* ) # Absolute path.
21371 ac_srcdir
=$srcdir$ac_dir_suffix;
21372 ac_top_srcdir
=$srcdir ;;
21373 *) # Relative path.
21374 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
21375 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
21378 # Do not use `cd foo && pwd` to compute absolute paths, because
21379 # the directories may not exist.
21381 .
) ac_abs_builddir
="$ac_dir";;
21384 .
) ac_abs_builddir
=`pwd`;;
21385 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
21386 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
21389 case $ac_abs_builddir in
21390 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21392 case ${ac_top_builddir}.
in
21393 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
21394 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21395 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
21398 case $ac_abs_builddir in
21399 .
) ac_abs_srcdir
=$ac_srcdir;;
21402 .
) ac_abs_srcdir
=$ac_abs_builddir;;
21403 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
21404 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
21407 case $ac_abs_builddir in
21408 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
21410 case $ac_top_srcdir in
21411 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
21412 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
21413 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
21419 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
21420 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
21423 if test x
"$ac_file" != x-
; then
21424 { echo "$as_me:$LINENO: creating $ac_file" >&5
21425 echo "$as_me: creating $ac_file" >&6;}
21428 # Let's still pretend it is `configure' which instantiates (i.e., don't
21429 # use $as_me), people would be surprised to read:
21430 # /* config.h. Generated by config.status. */
21431 if test x
"$ac_file" = x-
; then
21434 configure_input
="$ac_file. "
21436 configure_input
=$configure_input"Generated from `echo $ac_file_in |
21437 sed 's,.*/,,'` by configure."
21439 # First look for the input files in the build tree, otherwise in the
21441 ac_file_inputs
=`IFS=:
21442 for f in $ac_file_in; do
21444 -) echo $tmp/stdin ;;
21446 # Absolute (can't be DOS-style, as IFS=:)
21447 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21448 echo "$as_me: error: cannot find input file: $f" >&2;}
21449 { (exit 1); exit 1; }; }
21452 if test -f "$f"; then
21455 elif test -f "$srcdir/$f"; then
21460 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21461 echo "$as_me: error: cannot find input file: $f" >&2;}
21462 { (exit 1); exit 1; }; }
21465 done` ||
{ (exit 1); exit 1; }
21467 cat >>$CONFIG_STATUS <<_ACEOF
21471 cat >>$CONFIG_STATUS <<\_ACEOF
21473 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
21474 s
,@configure_input@
,$configure_input,;t t
21475 s
,@srcdir@
,$ac_srcdir,;t t
21476 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
21477 s
,@top_srcdir@
,$ac_top_srcdir,;t t
21478 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
21479 s
,@builddir@
,$ac_builddir,;t t
21480 s
,@abs_builddir@
,$ac_abs_builddir,;t t
21481 s
,@top_builddir@
,$ac_top_builddir,;t t
21482 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
21483 s
,@INSTALL@
,$ac_INSTALL,;t t
21484 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
21486 if test x"$ac_file" != x-; then
21487 mv $tmp/out $ac_file
21495 cat >>$CONFIG_STATUS <<\_ACEOF
21498 # CONFIG_HEADER section.
21501 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
21502 # NAME is the cpp macro being defined and VALUE is the value it is being given.
21504 # ac_d sets the value in "#define NAME VALUE" lines.
21505 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
21506 ac_dB
='[ ].*$,\1#\2'
21509 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21510 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21511 ac_uB
='$,\1#\2define\3'
21515 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
21516 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21518 - |
*:- |
*:-:* ) # input from stdin
21520 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21521 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21522 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21523 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21524 * ) ac_file_in
=$ac_file.
in ;;
21527 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
21528 echo "$as_me: creating $ac_file" >&6;}
21530 # First look for the input files in the build tree, otherwise in the
21532 ac_file_inputs
=`IFS=:
21533 for f in $ac_file_in; do
21535 -) echo $tmp/stdin ;;
21537 # Absolute (can't be DOS-style, as IFS=:)
21538 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21539 echo "$as_me: error: cannot find input file: $f" >&2;}
21540 { (exit 1); exit 1; }; }
21541 # Do quote $f, to prevent DOS paths from being IFS'd.
21544 if test -f "$f"; then
21547 elif test -f "$srcdir/$f"; then
21552 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21553 echo "$as_me: error: cannot find input file: $f" >&2;}
21554 { (exit 1); exit 1; }; }
21557 done` ||
{ (exit 1); exit 1; }
21558 # Remove the trailing spaces.
21559 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
21563 # Transform confdefs.h into two sed scripts, `conftest.defines' and
21564 # `conftest.undefs', that substitutes the proper values into
21565 # config.h.in to produce config.h. The first handles `#define'
21566 # templates, and the second `#undef' templates.
21567 # And first: Protect against being on the right side of a sed subst in
21568 # config.status. Protect against being in an unquoted here document
21569 # in config.status.
21570 rm -f conftest.defines conftest.undefs
21571 # Using a here document instead of a string reduces the quoting nightmare.
21572 # Putting comments in sed scripts is not portable.
21574 # `end' is used to avoid that the second main sed command (meant for
21575 # 0-ary CPP macros) applies to n-ary macro definitions.
21576 # See the Autoconf documentation for `clear'.
21577 cat >confdef2sed.
sed <<\_ACEOF
21582 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
21584 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
21587 # If some macros were called several times there might be several times
21588 # the same #defines, which is useless. Nevertheless, we may not want to
21589 # sort them, since we want the *last* AC-DEFINE to be honored.
21590 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
21591 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
21592 rm -f confdef2sed.sed
21594 # This sed command replaces #undef with comments. This is necessary, for
21595 # example, in the case of _POSIX_SOURCE, which is predefined and required
21596 # on some systems where configure will not decide to define it.
21597 cat >>conftest.undefs <<\_ACEOF
21598 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
21601 # Break up conftest.defines because some shells have a limit on the size
21602 # of here documents, and old seds have small limits too (100 cmds).
21603 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
21604 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
21605 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
21606 echo ' :' >>$CONFIG_STATUS
21607 rm -f conftest.tail
21608 while grep . conftest.defines >/dev/null
21610 # Write a limited-size here document to $tmp/defines.sed.
21611 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
21612 # Speed up: don't consider the non `#define' lines.
21613 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
21614 # Work around the forget-to-reset-the-flag bug.
21615 echo 't clr' >>$CONFIG_STATUS
21616 echo ': clr' >>$CONFIG_STATUS
21617 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
21619 sed -f $tmp/defines.sed $tmp/in >$tmp/out
21621 mv $tmp/out $tmp/in
21623 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
21624 rm -f conftest.defines
21625 mv conftest.
tail conftest.defines
21627 rm -f conftest.defines
21628 echo ' fi # grep' >>$CONFIG_STATUS
21629 echo >>$CONFIG_STATUS
21631 # Break up conftest.undefs because some shells have a limit on the size
21632 # of here documents, and old seds have small limits too (100 cmds).
21633 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
21634 rm -f conftest.
tail
21635 while grep . conftest.undefs
>/dev
/null
21637 # Write a limited-size here document to $tmp/undefs.sed.
21638 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
21639 # Speed up: don't consider the non
`#undef'
21640 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
21641 # Work around the forget-to-reset-the-flag bug.
21642 echo 't clr' >>$CONFIG_STATUS
21643 echo ': clr' >>$CONFIG_STATUS
21644 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
21646 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
21648 mv $tmp/out $tmp/in
21650 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
21651 rm -f conftest.undefs
21652 mv conftest.tail conftest.undefs
21654 rm -f conftest.undefs
21656 cat >>$CONFIG_STATUS <<\_ACEOF
21657 # Let's still pretend it is `configure
' which instantiates (i.e., don't
21658 # use $as_me), people would be surprised to read:
21659 # /* config.h. Generated by config.status. */
21660 if test x
"$ac_file" = x-
; then
21661 echo "/* Generated by configure. */" >$tmp/config.h
21663 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
21665 cat $tmp/in >>$tmp/config.h
21667 if test x
"$ac_file" != x-
; then
21668 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
21669 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21670 echo "$as_me: $ac_file is unchanged" >&6;}
21672 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
21673 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21674 X"$ac_file" : 'X\(//\)[^/]' \| \
21675 X"$ac_file" : 'X\(//\)$' \| \
21676 X"$ac_file" : 'X\(/\)' \| \
21677 . : '\(.\)' 2>/dev/null ||
21679 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21680 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21681 /^X\(\/\/\)$/{ s//\1/; q; }
21682 /^X\(\/\).*/{ s//\1/; q; }
21684 { if $as_mkdir_p; then
21689 while test ! -d "$as_dir"; do
21690 as_dirs
="$as_dir $as_dirs"
21691 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21692 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21693 X"$as_dir" : 'X\(//\)[^/]' \| \
21694 X"$as_dir" : 'X\(//\)$' \| \
21695 X"$as_dir" : 'X\(/\)' \| \
21696 . : '\(.\)' 2>/dev/null ||
21698 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21699 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21700 /^X\(\/\/\)$/{ s//\1/; q; }
21701 /^X\(\/\).*/{ s//\1/; q; }
21704 test ! -n "$as_dirs" || mkdir
$as_dirs
21705 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21706 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21707 { (exit 1); exit 1; }; }; }
21710 mv $tmp/config.h
$ac_file
21714 rm -f $tmp/config.h
21716 # Compute $ac_file's index in $config_headers.
21718 for _am_header
in $config_headers :; do
21719 case $_am_header in
21720 $ac_file |
$ac_file:* )
21723 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
21726 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
21727 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21728 X$ac_file : 'X\(//\)[^/]' \| \
21729 X$ac_file : 'X\(//\)$' \| \
21730 X$ac_file : 'X\(/\)' \| \
21731 . : '\(.\)' 2>/dev/null ||
21733 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21734 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21735 /^X\(\/\/\)$/{ s//\1/; q; }
21736 /^X\(\/\).*/{ s//\1/; q; }
21737 s/.*/./; q'`/stamp-h
$_am_stamp_count
21740 cat >>$CONFIG_STATUS <<\_ACEOF
21743 # CONFIG_COMMANDS section.
21745 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
21746 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
21747 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21748 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
21749 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21750 X"$ac_dest" : 'X\(//\)[^/]' \| \
21751 X"$ac_dest" : 'X\(//\)$' \| \
21752 X"$ac_dest" : 'X\(/\)' \| \
21753 . : '\(.\)' 2>/dev/null ||
21755 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21756 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21757 /^X\(\/\/\)$/{ s//\1/; q; }
21758 /^X\(\/\).*/{ s//\1/; q; }
21760 { if $as_mkdir_p; then
21765 while test ! -d "$as_dir"; do
21766 as_dirs
="$as_dir $as_dirs"
21767 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21768 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21769 X"$as_dir" : 'X\(//\)[^/]' \| \
21770 X"$as_dir" : 'X\(//\)$' \| \
21771 X"$as_dir" : 'X\(/\)' \| \
21772 . : '\(.\)' 2>/dev/null ||
21774 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21775 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21776 /^X\(\/\/\)$/{ s//\1/; q; }
21777 /^X\(\/\).*/{ s//\1/; q; }
21780 test ! -n "$as_dirs" || mkdir
$as_dirs
21781 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21782 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21783 { (exit 1); exit 1; }; }; }
21787 if test "$ac_dir" != .
; then
21788 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21789 # A "../" for each directory in $ac_dir_suffix.
21790 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21792 ac_dir_suffix
= ac_top_builddir
=
21796 .
) # No --srcdir option. We are building in place.
21798 if test -z "$ac_top_builddir"; then
21801 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
21803 [\\/]* | ?
:[\\/]* ) # Absolute path.
21804 ac_srcdir
=$srcdir$ac_dir_suffix;
21805 ac_top_srcdir
=$srcdir ;;
21806 *) # Relative path.
21807 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
21808 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
21811 # Do not use `cd foo && pwd` to compute absolute paths, because
21812 # the directories may not exist.
21814 .
) ac_abs_builddir
="$ac_dir";;
21817 .
) ac_abs_builddir
=`pwd`;;
21818 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
21819 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
21822 case $ac_abs_builddir in
21823 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21825 case ${ac_top_builddir}.
in
21826 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
21827 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21828 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
21831 case $ac_abs_builddir in
21832 .
) ac_abs_srcdir
=$ac_srcdir;;
21835 .
) ac_abs_srcdir
=$ac_abs_builddir;;
21836 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
21837 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
21840 case $ac_abs_builddir in
21841 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
21843 case $ac_top_srcdir in
21844 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
21845 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
21846 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
21851 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
21852 echo "$as_me: executing $ac_dest commands" >&6;}
21854 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
21855 # Strip MF so we end up with the name of the file.
21856 mf
=`echo "$mf" | sed -e 's/:.*$//'`
21857 # Check whether this is an Automake generated Makefile or not.
21858 # We used to match only the files named `Makefile.in', but
21859 # some people rename them; so instead we look at the file content.
21860 # Grep'ing the first line is not enough: some people post-process
21861 # each Makefile.in and add a new line on top of each file to say so.
21862 # So let's grep whole file.
21863 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
21864 dirpart
=`(dirname "$mf") 2>/dev/null ||
21865 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21866 X"$mf" : 'X\(//\)[^/]' \| \
21867 X"$mf" : 'X\(//\)$' \| \
21868 X"$mf" : 'X\(/\)' \| \
21869 . : '\(.\)' 2>/dev/null ||
21871 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21872 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21873 /^X\(\/\/\)$/{ s//\1/; q; }
21874 /^X\(\/\).*/{ s//\1/; q; }
21879 # Extract the definition of DEPDIR, am__include, and am__quote
21880 # from the Makefile without running `make'.
21881 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
21882 test -z "$DEPDIR" && continue
21883 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
21884 test -z "am__include" && continue
21885 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
21886 # When using ansi2knr, U may be empty or an underscore; expand it
21887 U
=`sed -n 's/^U = //p' < "$mf"`
21888 # Find all dependency output files, they are included files with
21889 # $(DEPDIR) in their names. We invoke sed twice because it is the
21890 # simplest approach to changing $(DEPDIR) to its actual value in the
21892 for file in `sed -n "
21893 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21894 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21895 # Make sure the directory exists.
21896 test -f "$dirpart/$file" && continue
21897 fdir
=`(dirname "$file") 2>/dev/null ||
21898 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21899 X"$file" : 'X\(//\)[^/]' \| \
21900 X"$file" : 'X\(//\)$' \| \
21901 X"$file" : 'X\(/\)' \| \
21902 . : '\(.\)' 2>/dev/null ||
21904 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21905 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21906 /^X\(\/\/\)$/{ s//\1/; q; }
21907 /^X\(\/\).*/{ s//\1/; q; }
21909 { if $as_mkdir_p; then
21910 mkdir
-p $dirpart/$fdir
21912 as_dir
=$dirpart/$fdir
21914 while test ! -d "$as_dir"; do
21915 as_dirs
="$as_dir $as_dirs"
21916 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21917 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21918 X"$as_dir" : 'X\(//\)[^/]' \| \
21919 X"$as_dir" : 'X\(//\)$' \| \
21920 X"$as_dir" : 'X\(/\)' \| \
21921 . : '\(.\)' 2>/dev/null ||
21923 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21924 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21925 /^X\(\/\/\)$/{ s//\1/; q; }
21926 /^X\(\/\).*/{ s//\1/; q; }
21929 test ! -n "$as_dirs" || mkdir
$as_dirs
21930 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
21931 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
21932 { (exit 1); exit 1; }; }; }
21934 # echo "creating $dirpart/$file"
21935 echo '# dummy' > "$dirpart/$file"
21943 cat >>$CONFIG_STATUS <<\_ACEOF
21945 { (exit 0); exit 0; }
21947 chmod +x
$CONFIG_STATUS
21948 ac_clean_files
=$ac_clean_files_save
21951 # configure is writing to config.log, and then calls config.status.
21952 # config.status does its own redirection, appending to config.log.
21953 # Unfortunately, on DOS this fails, as config.log is still kept open
21954 # by configure, so config.status won't be able to write to it; its
21955 # output is simply discarded. So we exec the FD to /dev/null,
21956 # effectively closing config.log, so it can be properly (re)opened and
21957 # appended to by config.status. When coming back to configure, we
21958 # need to make the FD available again.
21959 if test "$no_create" != yes; then
21961 ac_config_status_args
=
21962 test "$silent" = yes &&
21963 ac_config_status_args
="$ac_config_status_args --quiet"
21965 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
21967 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21968 # would make configure fail if this is the last instruction.
21969 $ac_cs_success ||
{ (exit 1); exit 1; }