2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for libmd5 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
='libmd5'
425 PACKAGE_TARNAME
='libmd5'
426 PACKAGE_VERSION
='1.21'
427 PACKAGE_STRING
='libmd5 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 LN_S 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 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 libmd5 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 libmd5 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 libmd5 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 libmd5 $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
1960 for ac_prog
in gawk mawk nawk
awk
1962 # Extract the first word of "$ac_prog", so it can be a program name with args.
1963 set dummy
$ac_prog; ac_word
=$2
1964 echo "$as_me:$LINENO: checking for $ac_word" >&5
1965 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1966 if test "${ac_cv_prog_AWK+set}" = set; then
1967 echo $ECHO_N "(cached) $ECHO_C" >&6
1969 if test -n "$AWK"; then
1970 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1972 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1976 test -z "$as_dir" && as_dir
=.
1977 for ac_exec_ext
in '' $ac_executable_extensions; do
1978 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1979 ac_cv_prog_AWK
="$ac_prog"
1980 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1989 if test -n "$AWK"; then
1990 echo "$as_me:$LINENO: result: $AWK" >&5
1991 echo "${ECHO_T}$AWK" >&6
1993 echo "$as_me:$LINENO: result: no" >&5
1994 echo "${ECHO_T}no" >&6
1997 test -n "$AWK" && break
2000 # Find a good install program. We prefer a C program (faster),
2001 # so one script is as good as another. But avoid the broken or
2002 # incompatible versions:
2003 # SysV /etc/install, /usr/sbin/install
2004 # SunOS /usr/etc/install
2005 # IRIX /sbin/install
2007 # AmigaOS /C/install, which installs bootblocks on floppy discs
2008 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2009 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2010 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2011 # OS/2's system install, which has a completely different semantic
2012 # ./install, which can be erroneously created by make from ./install.sh.
2013 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2014 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2015 if test -z "$INSTALL"; then
2016 if test "${ac_cv_path_install+set}" = set; then
2017 echo $ECHO_N "(cached) $ECHO_C" >&6
2019 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2023 test -z "$as_dir" && as_dir
=.
2024 # Account for people who put trailing slashes in PATH elements.
2026 .
/ | .
// |
/cC
/* | \
2027 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2028 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2031 # OSF1 and SCO ODT 3.0 have their own names for install.
2032 # Don't use installbsd from OSF since it installs stuff as root
2034 for ac_prog
in ginstall scoinst
install; do
2035 for ac_exec_ext
in '' $ac_executable_extensions; do
2036 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2037 if test $ac_prog = install &&
2038 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2039 # AIX install. It has an incompatible calling convention.
2041 elif test $ac_prog = install &&
2042 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2043 # program-specific install script used by HP pwplus--don't use.
2046 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2058 if test "${ac_cv_path_install+set}" = set; then
2059 INSTALL
=$ac_cv_path_install
2061 # As a last resort, use the slow shell script. We don't cache a
2062 # path for INSTALL within a source directory, because that will
2063 # break other packages using the cache if that directory is
2064 # removed, or if the path is relative.
2065 INSTALL
=$ac_install_sh
2068 echo "$as_me:$LINENO: result: $INSTALL" >&5
2069 echo "${ECHO_T}$INSTALL" >&6
2071 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2072 # It thinks the first close brace ends the variable substitution.
2073 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2075 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2077 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2079 echo "$as_me:$LINENO: checking whether ln -s works" >&5
2080 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
2082 if test "$LN_S" = "ln -s"; then
2083 echo "$as_me:$LINENO: result: yes" >&5
2084 echo "${ECHO_T}yes" >&6
2086 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2087 echo "${ECHO_T}no, using $LN_S" >&6
2091 ac_cpp
='$CPP $CPPFLAGS'
2092 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2093 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2094 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2095 if test -n "$ac_tool_prefix"; then
2096 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2097 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2098 echo "$as_me:$LINENO: checking for $ac_word" >&5
2099 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2100 if test "${ac_cv_prog_CC+set}" = set; then
2101 echo $ECHO_N "(cached) $ECHO_C" >&6
2103 if test -n "$CC"; then
2104 ac_cv_prog_CC
="$CC" # Let the user override the test.
2106 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2110 test -z "$as_dir" && as_dir
=.
2111 for ac_exec_ext
in '' $ac_executable_extensions; do
2112 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2113 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2114 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2123 if test -n "$CC"; then
2124 echo "$as_me:$LINENO: result: $CC" >&5
2125 echo "${ECHO_T}$CC" >&6
2127 echo "$as_me:$LINENO: result: no" >&5
2128 echo "${ECHO_T}no" >&6
2132 if test -z "$ac_cv_prog_CC"; then
2134 # Extract the first word of "gcc", so it can be a program name with args.
2135 set dummy gcc
; ac_word
=$2
2136 echo "$as_me:$LINENO: checking for $ac_word" >&5
2137 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2138 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2139 echo $ECHO_N "(cached) $ECHO_C" >&6
2141 if test -n "$ac_ct_CC"; then
2142 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2144 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2148 test -z "$as_dir" && as_dir
=.
2149 for ac_exec_ext
in '' $ac_executable_extensions; do
2150 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2151 ac_cv_prog_ac_ct_CC
="gcc"
2152 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2160 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2161 if test -n "$ac_ct_CC"; then
2162 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2163 echo "${ECHO_T}$ac_ct_CC" >&6
2165 echo "$as_me:$LINENO: result: no" >&5
2166 echo "${ECHO_T}no" >&6
2174 if test -z "$CC"; then
2175 if test -n "$ac_tool_prefix"; then
2176 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2177 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2178 echo "$as_me:$LINENO: checking for $ac_word" >&5
2179 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2180 if test "${ac_cv_prog_CC+set}" = set; then
2181 echo $ECHO_N "(cached) $ECHO_C" >&6
2183 if test -n "$CC"; then
2184 ac_cv_prog_CC
="$CC" # Let the user override the test.
2186 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2190 test -z "$as_dir" && as_dir
=.
2191 for ac_exec_ext
in '' $ac_executable_extensions; do
2192 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2193 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2194 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2203 if test -n "$CC"; then
2204 echo "$as_me:$LINENO: result: $CC" >&5
2205 echo "${ECHO_T}$CC" >&6
2207 echo "$as_me:$LINENO: result: no" >&5
2208 echo "${ECHO_T}no" >&6
2212 if test -z "$ac_cv_prog_CC"; then
2214 # Extract the first word of "cc", so it can be a program name with args.
2215 set dummy cc
; ac_word
=$2
2216 echo "$as_me:$LINENO: checking for $ac_word" >&5
2217 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2218 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2219 echo $ECHO_N "(cached) $ECHO_C" >&6
2221 if test -n "$ac_ct_CC"; then
2222 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2228 test -z "$as_dir" && as_dir
=.
2229 for ac_exec_ext
in '' $ac_executable_extensions; do
2230 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2231 ac_cv_prog_ac_ct_CC
="cc"
2232 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2240 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2241 if test -n "$ac_ct_CC"; then
2242 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2243 echo "${ECHO_T}$ac_ct_CC" >&6
2245 echo "$as_me:$LINENO: result: no" >&5
2246 echo "${ECHO_T}no" >&6
2255 if test -z "$CC"; then
2256 # Extract the first word of "cc", so it can be a program name with args.
2257 set dummy cc
; ac_word
=$2
2258 echo "$as_me:$LINENO: checking for $ac_word" >&5
2259 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2260 if test "${ac_cv_prog_CC+set}" = set; then
2261 echo $ECHO_N "(cached) $ECHO_C" >&6
2263 if test -n "$CC"; then
2264 ac_cv_prog_CC
="$CC" # Let the user override the test.
2267 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2271 test -z "$as_dir" && as_dir
=.
2272 for ac_exec_ext
in '' $ac_executable_extensions; do
2273 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2274 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2275 ac_prog_rejected
=yes
2279 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2285 if test $ac_prog_rejected = yes; then
2286 # We found a bogon in the path, so make sure we never use it.
2287 set dummy
$ac_cv_prog_CC
2289 if test $# != 0; then
2290 # We chose a different compiler from the bogus one.
2291 # However, it has the same basename, so the bogon will be chosen
2292 # first if we set CC to just the basename; use the full file name.
2294 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2300 if test -n "$CC"; then
2301 echo "$as_me:$LINENO: result: $CC" >&5
2302 echo "${ECHO_T}$CC" >&6
2304 echo "$as_me:$LINENO: result: no" >&5
2305 echo "${ECHO_T}no" >&6
2309 if test -z "$CC"; then
2310 if test -n "$ac_tool_prefix"; then
2313 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2314 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2315 echo "$as_me:$LINENO: checking for $ac_word" >&5
2316 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2317 if test "${ac_cv_prog_CC+set}" = set; then
2318 echo $ECHO_N "(cached) $ECHO_C" >&6
2320 if test -n "$CC"; then
2321 ac_cv_prog_CC
="$CC" # Let the user override the test.
2323 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2327 test -z "$as_dir" && as_dir
=.
2328 for ac_exec_ext
in '' $ac_executable_extensions; do
2329 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2330 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2331 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2340 if test -n "$CC"; then
2341 echo "$as_me:$LINENO: result: $CC" >&5
2342 echo "${ECHO_T}$CC" >&6
2344 echo "$as_me:$LINENO: result: no" >&5
2345 echo "${ECHO_T}no" >&6
2348 test -n "$CC" && break
2351 if test -z "$CC"; then
2355 # Extract the first word of "$ac_prog", so it can be a program name with args.
2356 set dummy
$ac_prog; ac_word
=$2
2357 echo "$as_me:$LINENO: checking for $ac_word" >&5
2358 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2359 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2360 echo $ECHO_N "(cached) $ECHO_C" >&6
2362 if test -n "$ac_ct_CC"; then
2363 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2365 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2369 test -z "$as_dir" && as_dir
=.
2370 for ac_exec_ext
in '' $ac_executable_extensions; do
2371 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2372 ac_cv_prog_ac_ct_CC
="$ac_prog"
2373 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2381 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2382 if test -n "$ac_ct_CC"; then
2383 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2384 echo "${ECHO_T}$ac_ct_CC" >&6
2386 echo "$as_me:$LINENO: result: no" >&5
2387 echo "${ECHO_T}no" >&6
2390 test -n "$ac_ct_CC" && break
2399 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2400 See \`config.log' for more details." >&5
2401 echo "$as_me: error: no acceptable C compiler found in \$PATH
2402 See \`config.log' for more details." >&2;}
2403 { (exit 1); exit 1; }; }
2405 # Provide some information about the compiler.
2406 echo "$as_me:$LINENO:" \
2407 "checking for C compiler version" >&5
2408 ac_compiler
=`set X $ac_compile; echo $2`
2409 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2410 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2413 (exit $ac_status); }
2414 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2415 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2418 (exit $ac_status); }
2419 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2420 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2423 (exit $ac_status); }
2425 cat >conftest.
$ac_ext <<_ACEOF
2428 cat confdefs.h
>>conftest.
$ac_ext
2429 cat >>conftest.
$ac_ext <<_ACEOF
2430 /* end confdefs.h. */
2440 ac_clean_files_save
=$ac_clean_files
2441 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2442 # Try to create an executable without -o first, disregard a.out.
2443 # It will help us diagnose broken compilers, and finding out an intuition
2445 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2446 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2447 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2448 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2449 (eval $ac_link_default) 2>&5
2451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2452 (exit $ac_status); }; then
2453 # Find the output, starting from the most likely. This scheme is
2454 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2457 # Be careful to initialize this variable, since it used to be cached.
2458 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2460 # b.out is created by i960 compilers.
2461 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2463 test -f "$ac_file" ||
continue
2465 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2468 # This is the source file.
2471 # We found the default executable, but exeext='' is most
2475 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2476 # FIXME: I believe we export ac_cv_exeext for Libtool,
2477 # but it would be cool to find out if it's true. Does anybody
2478 # maintain Libtool? --akim.
2486 echo "$as_me: failed program was:" >&5
2487 sed 's/^/| /' conftest.
$ac_ext >&5
2489 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2490 See \`config.log' for more details." >&5
2491 echo "$as_me: error: C compiler cannot create executables
2492 See \`config.log' for more details." >&2;}
2493 { (exit 77); exit 77; }; }
2496 ac_exeext
=$ac_cv_exeext
2497 echo "$as_me:$LINENO: result: $ac_file" >&5
2498 echo "${ECHO_T}$ac_file" >&6
2500 # Check the compiler produces executables we can run. If not, either
2501 # the compiler is broken, or we cross compile.
2502 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2503 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2504 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2505 # If not cross compiling, check that we can run a simple program.
2506 if test "$cross_compiling" != yes; then
2507 if { ac_try
='./$ac_file'
2508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2512 (exit $ac_status); }; }; then
2515 if test "$cross_compiling" = maybe
; then
2518 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2519 If you meant to cross compile, use \`--host'.
2520 See \`config.log' for more details." >&5
2521 echo "$as_me: error: cannot run C compiled programs.
2522 If you meant to cross compile, use \`--host'.
2523 See \`config.log' for more details." >&2;}
2524 { (exit 1); exit 1; }; }
2528 echo "$as_me:$LINENO: result: yes" >&5
2529 echo "${ECHO_T}yes" >&6
2531 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2532 ac_clean_files
=$ac_clean_files_save
2533 # Check the compiler produces executables we can run. If not, either
2534 # the compiler is broken, or we cross compile.
2535 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2536 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2537 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2538 echo "${ECHO_T}$cross_compiling" >&6
2540 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2541 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2543 (eval $ac_link) 2>&5
2545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2546 (exit $ac_status); }; then
2547 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2548 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2549 # work properly (i.e., refer to `conftest.exe'), while it won't with
2551 for ac_file
in conftest.exe conftest conftest.
*; do
2552 test -f "$ac_file" ||
continue
2554 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2555 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2562 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2563 See \`config.log' for more details." >&5
2564 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2565 See \`config.log' for more details." >&2;}
2566 { (exit 1); exit 1; }; }
2569 rm -f conftest
$ac_cv_exeext
2570 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2571 echo "${ECHO_T}$ac_cv_exeext" >&6
2573 rm -f conftest.
$ac_ext
2574 EXEEXT
=$ac_cv_exeext
2576 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2577 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2578 if test "${ac_cv_objext+set}" = set; then
2579 echo $ECHO_N "(cached) $ECHO_C" >&6
2581 cat >conftest.
$ac_ext <<_ACEOF
2584 cat confdefs.h
>>conftest.
$ac_ext
2585 cat >>conftest.
$ac_ext <<_ACEOF
2586 /* end confdefs.h. */
2596 rm -f conftest.o conftest.obj
2597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2598 (eval $ac_compile) 2>&5
2600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2601 (exit $ac_status); }; then
2602 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2604 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2605 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2610 echo "$as_me: failed program was:" >&5
2611 sed 's/^/| /' conftest.
$ac_ext >&5
2613 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2614 See \`config.log' for more details." >&5
2615 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2616 See \`config.log' for more details." >&2;}
2617 { (exit 1); exit 1; }; }
2620 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2622 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2623 echo "${ECHO_T}$ac_cv_objext" >&6
2624 OBJEXT
=$ac_cv_objext
2626 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2627 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2628 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2629 echo $ECHO_N "(cached) $ECHO_C" >&6
2631 cat >conftest.
$ac_ext <<_ACEOF
2634 cat confdefs.h
>>conftest.
$ac_ext
2635 cat >>conftest.
$ac_ext <<_ACEOF
2636 /* end confdefs.h. */
2649 rm -f conftest.
$ac_objext
2650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2651 (eval $ac_compile) 2>conftest.er1
2653 grep -v '^ *+' conftest.er1
>conftest.err
2655 cat conftest.err
>&5
2656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2657 (exit $ac_status); } &&
2658 { ac_try
='test -z "$ac_c_werror_flag"
2659 || test ! -s conftest.err'
2660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2664 (exit $ac_status); }; } &&
2665 { ac_try
='test -s conftest.$ac_objext'
2666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2670 (exit $ac_status); }; }; then
2673 echo "$as_me: failed program was:" >&5
2674 sed 's/^/| /' conftest.
$ac_ext >&5
2678 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2679 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2682 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2683 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2684 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2685 ac_test_CFLAGS
=${CFLAGS+set}
2686 ac_save_CFLAGS
=$CFLAGS
2688 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2689 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2690 if test "${ac_cv_prog_cc_g+set}" = set; then
2691 echo $ECHO_N "(cached) $ECHO_C" >&6
2693 cat >conftest.
$ac_ext <<_ACEOF
2696 cat confdefs.h
>>conftest.
$ac_ext
2697 cat >>conftest.
$ac_ext <<_ACEOF
2698 /* end confdefs.h. */
2708 rm -f conftest.
$ac_objext
2709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2710 (eval $ac_compile) 2>conftest.er1
2712 grep -v '^ *+' conftest.er1
>conftest.err
2714 cat conftest.err
>&5
2715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2716 (exit $ac_status); } &&
2717 { ac_try
='test -z "$ac_c_werror_flag"
2718 || test ! -s conftest.err'
2719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2723 (exit $ac_status); }; } &&
2724 { ac_try
='test -s conftest.$ac_objext'
2725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2729 (exit $ac_status); }; }; then
2732 echo "$as_me: failed program was:" >&5
2733 sed 's/^/| /' conftest.
$ac_ext >&5
2737 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2739 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2740 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2741 if test "$ac_test_CFLAGS" = set; then
2742 CFLAGS
=$ac_save_CFLAGS
2743 elif test $ac_cv_prog_cc_g = yes; then
2744 if test "$GCC" = yes; then
2750 if test "$GCC" = yes; then
2756 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2757 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2758 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2759 echo $ECHO_N "(cached) $ECHO_C" >&6
2761 ac_cv_prog_cc_stdc
=no
2763 cat >conftest.
$ac_ext <<_ACEOF
2766 cat confdefs.h
>>conftest.
$ac_ext
2767 cat >>conftest.
$ac_ext <<_ACEOF
2768 /* end confdefs.h. */
2771 #include <sys/types.h>
2772 #include <sys/stat.h>
2773 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2774 struct buf { int x; };
2775 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2776 static char *e (p, i)
2782 static char *f (char * (*g) (char **, int), char **p, ...)
2787 s = g (p, va_arg (v,int));
2792 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2793 function prototypes and stuff, but not '\xHH' hex character constants.
2794 These don't provoke an error unfortunately, instead are silently treated
2795 as 'x'. The following induces an error, until -std1 is added to get
2796 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2797 array size at least. It's necessary to write '\x00'==0 to get something
2798 that's true only with -std1. */
2799 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2801 int test (int i, double x);
2802 struct s1 {int (*f) (int a);};
2803 struct s2 {int (*f) (double a);};
2804 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2810 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2815 # Don't try gcc -ansi; that turns off useful extensions and
2816 # breaks some systems' header files.
2817 # AIX -qlanglvl=ansi
2818 # Ultrix and OSF/1 -std1
2819 # HP-UX 10.20 and later -Ae
2820 # HP-UX older versions -Aa -D_HPUX_SOURCE
2821 # SVR4 -Xc -D__EXTENSIONS__
2822 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2824 CC
="$ac_save_CC $ac_arg"
2825 rm -f conftest.
$ac_objext
2826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2827 (eval $ac_compile) 2>conftest.er1
2829 grep -v '^ *+' conftest.er1
>conftest.err
2831 cat conftest.err
>&5
2832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2833 (exit $ac_status); } &&
2834 { ac_try
='test -z "$ac_c_werror_flag"
2835 || test ! -s conftest.err'
2836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2840 (exit $ac_status); }; } &&
2841 { ac_try
='test -s conftest.$ac_objext'
2842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2846 (exit $ac_status); }; }; then
2847 ac_cv_prog_cc_stdc
=$ac_arg
2850 echo "$as_me: failed program was:" >&5
2851 sed 's/^/| /' conftest.
$ac_ext >&5
2854 rm -f conftest.err conftest.
$ac_objext
2856 rm -f conftest.
$ac_ext conftest.
$ac_objext
2861 case "x$ac_cv_prog_cc_stdc" in
2863 echo "$as_me:$LINENO: result: none needed" >&5
2864 echo "${ECHO_T}none needed" >&6 ;;
2866 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2867 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2868 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2871 # Some people use a C++ compiler to compile C. Since we use `exit',
2872 # in C++ we need to declare it. In case someone uses the same compiler
2873 # for both compiling C and C++ we need to have the C++ compiler decide
2874 # the declaration of exit, since it's the most demanding environment.
2875 cat >conftest.
$ac_ext <<_ACEOF
2880 rm -f conftest.
$ac_objext
2881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2882 (eval $ac_compile) 2>conftest.er1
2884 grep -v '^ *+' conftest.er1
>conftest.err
2886 cat conftest.err
>&5
2887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2888 (exit $ac_status); } &&
2889 { ac_try
='test -z "$ac_c_werror_flag"
2890 || test ! -s conftest.err'
2891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2895 (exit $ac_status); }; } &&
2896 { ac_try
='test -s conftest.$ac_objext'
2897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2901 (exit $ac_status); }; }; then
2902 for ac_declaration
in \
2904 'extern "C" void std::exit (int) throw (); using std::exit;' \
2905 'extern "C" void std::exit (int); using std::exit;' \
2906 'extern "C" void exit (int) throw ();' \
2907 'extern "C" void exit (int);' \
2910 cat >conftest.
$ac_ext <<_ACEOF
2913 cat confdefs.h
>>conftest.
$ac_ext
2914 cat >>conftest.
$ac_ext <<_ACEOF
2915 /* end confdefs.h. */
2926 rm -f conftest.
$ac_objext
2927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2928 (eval $ac_compile) 2>conftest.er1
2930 grep -v '^ *+' conftest.er1
>conftest.err
2932 cat conftest.err
>&5
2933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2934 (exit $ac_status); } &&
2935 { ac_try
='test -z "$ac_c_werror_flag"
2936 || test ! -s conftest.err'
2937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2941 (exit $ac_status); }; } &&
2942 { ac_try
='test -s conftest.$ac_objext'
2943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2947 (exit $ac_status); }; }; then
2950 echo "$as_me: failed program was:" >&5
2951 sed 's/^/| /' conftest.
$ac_ext >&5
2955 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2956 cat >conftest.
$ac_ext <<_ACEOF
2959 cat confdefs.h
>>conftest.
$ac_ext
2960 cat >>conftest.
$ac_ext <<_ACEOF
2961 /* end confdefs.h. */
2971 rm -f conftest.
$ac_objext
2972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2973 (eval $ac_compile) 2>conftest.er1
2975 grep -v '^ *+' conftest.er1
>conftest.err
2977 cat conftest.err
>&5
2978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2979 (exit $ac_status); } &&
2980 { ac_try
='test -z "$ac_c_werror_flag"
2981 || test ! -s conftest.err'
2982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2986 (exit $ac_status); }; } &&
2987 { ac_try
='test -s conftest.$ac_objext'
2988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2992 (exit $ac_status); }; }; then
2995 echo "$as_me: failed program was:" >&5
2996 sed 's/^/| /' conftest.
$ac_ext >&5
2999 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3002 if test -n "$ac_declaration"; then
3003 echo '#ifdef __cplusplus' >>confdefs.h
3004 echo $ac_declaration >>confdefs.h
3005 echo '#endif' >>confdefs.h
3009 echo "$as_me: failed program was:" >&5
3010 sed 's/^/| /' conftest.
$ac_ext >&5
3013 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3015 ac_cpp
='$CPP $CPPFLAGS'
3016 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3017 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3018 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3019 DEPDIR
="${am__leading_dot}deps"
3021 ac_config_commands
="$ac_config_commands depfiles"
3024 am_make
=${MAKE-make}
3025 cat > confinc
<< 'END'
3030 # If we don't find an include directive, just comment out the code.
3031 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3032 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3036 # First try GNU make style include.
3037 echo "include confinc" > confmf
3038 # We grep out `Entering directory' and `Leaving directory'
3039 # messages which can occur if `w' ends up in MAKEFLAGS.
3040 # In particular we don't look at `^make:' because GNU make might
3041 # be invoked under some other name (usually "gmake"), in which
3042 # case it prints its new name instead of `make'.
3043 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3048 # Now try BSD make style include.
3049 if test "$am__include" = "#"; then
3050 echo '.include "confinc"' > confmf
3051 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3052 am__include
=.include
3059 echo "$as_me:$LINENO: result: $_am_result" >&5
3060 echo "${ECHO_T}$_am_result" >&6
3061 rm -f confinc confmf
3063 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3064 if test "${enable_dependency_tracking+set}" = set; then
3065 enableval
="$enable_dependency_tracking"
3068 if test "x$enable_dependency_tracking" != xno
; then
3069 am_depcomp
="$ac_aux_dir/depcomp"
3074 if test "x$enable_dependency_tracking" != xno; then
3085 depcc
="$CC" am_compiler_list
=
3087 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3088 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3089 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3090 echo $ECHO_N "(cached) $ECHO_C" >&6
3092 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3093 # We make a subdir and do the tests there. Otherwise we can end up
3094 # making bogus files that we don't know about and never remove. For
3095 # instance it was reported that on HP-UX the gcc test will end up
3096 # making a dummy file named `D' -- because `-MD' means `put the output
3099 # Copy depcomp to subdir because otherwise we won't find it if we're
3100 # using a relative directory.
3101 cp "$am_depcomp" conftest.dir
3103 # We will build objects and dependencies in a subdirectory because
3104 # it helps to detect inapplicable dependency modes. For instance
3105 # both Tru64's cc and ICC support -MD to output dependencies as a
3106 # side effect of compilation, but ICC will put the dependencies in
3107 # the current directory while Tru64 will put them in the object
3111 am_cv_CC_dependencies_compiler_type
=none
3112 if test "$am_compiler_list" = ""; then
3113 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3115 for depmode
in $am_compiler_list; do
3116 # Setup a source with many dependencies, because some compilers
3117 # like to wrap large dependency lists on column 80 (with \), and
3118 # we should not choose a depcomp mode which is confused by this.
3120 # We need to recreate these files for each test, as the compiler may
3121 # overwrite some of them when testing with obscure command lines.
3122 # This happens at least with the AIX C compiler.
3124 for i
in 1 2 3 4 5 6; do
3125 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3126 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3127 # Solaris 8's {/usr,}/bin/sh.
3128 touch sub
/conftst
$i.h
3130 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3134 # after this tag, mechanisms are not by side-effect, so they'll
3135 # only be used when explicitly requested
3136 if test "x$enable_dependency_tracking" = xyes
; then
3144 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3145 # mode. It turns out that the SunPro C++ compiler does not properly
3146 # handle `-M -o', and we need to detect this.
3147 if depmode
=$depmode \
3148 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3149 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3150 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3151 >/dev
/null
2>conftest.err
&&
3152 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3153 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3154 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3155 # icc doesn't choke on unknown options, it will just issue warnings
3156 # or remarks (even with -Werror). So we grep stderr for any message
3157 # that says an option was ignored or not supported.
3158 # When given -MP, icc 7.0 and 7.1 complain thusly:
3159 # icc: Command line warning: ignoring option '-M'; no argument required
3160 # The diagnosis changed in icc 8.0:
3161 # icc: Command line remark: option '-MP' not supported
3162 if (grep 'ignoring option' conftest.err ||
3163 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3164 am_cv_CC_dependencies_compiler_type
=$depmode
3173 am_cv_CC_dependencies_compiler_type
=none
3177 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3178 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3179 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3184 test "x$enable_dependency_tracking" != xno \
3185 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3187 am__fastdepCC_FALSE
='#'
3189 am__fastdepCC_TRUE
='#'
3190 am__fastdepCC_FALSE
=
3194 # Check whether --enable-shared or --disable-shared was given.
3195 if test "${enable_shared+set}" = set; then
3196 enableval
="$enable_shared"
3197 p
=${PACKAGE-default}
3199 yes) enable_shared
=yes ;;
3200 no
) enable_shared
=no
;;
3203 # Look at the argument we got. We use all the common list separators.
3204 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3205 for pkg
in $enableval; do
3207 if test "X$pkg" = "X$p"; then
3218 # Check whether --enable-static or --disable-static was given.
3219 if test "${enable_static+set}" = set; then
3220 enableval
="$enable_static"
3221 p
=${PACKAGE-default}
3223 yes) enable_static
=yes ;;
3224 no
) enable_static
=no
;;
3227 # Look at the argument we got. We use all the common list separators.
3228 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3229 for pkg
in $enableval; do
3231 if test "X$pkg" = "X$p"; then
3242 # Check whether --enable-fast-install or --disable-fast-install was given.
3243 if test "${enable_fast_install+set}" = set; then
3244 enableval
="$enable_fast_install"
3245 p
=${PACKAGE-default}
3247 yes) enable_fast_install
=yes ;;
3248 no
) enable_fast_install
=no
;;
3250 enable_fast_install
=no
3251 # Look at the argument we got. We use all the common list separators.
3252 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3253 for pkg
in $enableval; do
3255 if test "X$pkg" = "X$p"; then
3256 enable_fast_install
=yes
3263 enable_fast_install
=yes
3266 # Make sure we can run config.sub.
3267 $ac_config_sub sun4
>/dev
/null
2>&1 ||
3268 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
3269 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
3270 { (exit 1); exit 1; }; }
3272 echo "$as_me:$LINENO: checking build system type" >&5
3273 echo $ECHO_N "checking build system type... $ECHO_C" >&6
3274 if test "${ac_cv_build+set}" = set; then
3275 echo $ECHO_N "(cached) $ECHO_C" >&6
3277 ac_cv_build_alias
=$build_alias
3278 test -z "$ac_cv_build_alias" &&
3279 ac_cv_build_alias
=`$ac_config_guess`
3280 test -z "$ac_cv_build_alias" &&
3281 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3282 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3283 { (exit 1); exit 1; }; }
3284 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
3285 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
3286 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
3287 { (exit 1); exit 1; }; }
3290 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3291 echo "${ECHO_T}$ac_cv_build" >&6
3293 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3294 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3295 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3298 echo "$as_me:$LINENO: checking host system type" >&5
3299 echo $ECHO_N "checking host system type... $ECHO_C" >&6
3300 if test "${ac_cv_host+set}" = set; then
3301 echo $ECHO_N "(cached) $ECHO_C" >&6
3303 ac_cv_host_alias
=$host_alias
3304 test -z "$ac_cv_host_alias" &&
3305 ac_cv_host_alias
=$ac_cv_build_alias
3306 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
3307 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
3308 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
3309 { (exit 1); exit 1; }; }
3312 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3313 echo "${ECHO_T}$ac_cv_host" >&6
3315 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3316 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3317 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3320 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3321 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3322 if test "${lt_cv_path_SED+set}" = set; then
3323 echo $ECHO_N "(cached) $ECHO_C" >&6
3325 # Loop through the user's path and test for sed and gsed.
3326 # Then use that list of sed's as ones to test for truncation.
3327 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3331 test -z "$as_dir" && as_dir
=.
3332 for lt_ac_prog
in sed gsed
; do
3333 for ac_exec_ext
in '' $ac_executable_extensions; do
3334 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3335 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3343 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3344 # along with /bin/sed that truncates output.
3345 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
3346 test ! -f $lt_ac_sed && continue
3347 cat /dev
/null
> conftest.
in
3349 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
3350 # Check for GNU sed and select it if it is found.
3351 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
3352 lt_cv_path_SED
=$lt_ac_sed
3356 cat conftest.
in conftest.
in >conftest.tmp
3357 mv conftest.tmp conftest.
in
3358 cp conftest.
in conftest.
nl
3360 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
3361 cmp -s conftest.out conftest.
nl ||
break
3362 # 10000 chars as input seems more than enough
3363 test $lt_ac_count -gt 10 && break
3364 lt_ac_count
=`expr $lt_ac_count + 1`
3365 if test $lt_ac_count -gt $lt_ac_max; then
3366 lt_ac_max
=$lt_ac_count
3367 lt_cv_path_SED
=$lt_ac_sed
3376 echo "$as_me:$LINENO: result: $SED" >&5
3377 echo "${ECHO_T}$SED" >&6
3379 echo "$as_me:$LINENO: checking for egrep" >&5
3380 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3381 if test "${ac_cv_prog_egrep+set}" = set; then
3382 echo $ECHO_N "(cached) $ECHO_C" >&6
3384 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3385 then ac_cv_prog_egrep
='grep -E'
3386 else ac_cv_prog_egrep
='egrep'
3389 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3390 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3391 EGREP
=$ac_cv_prog_egrep
3395 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3396 if test "${with_gnu_ld+set}" = set; then
3397 withval
="$with_gnu_ld"
3398 test "$withval" = no || with_gnu_ld
=yes
3403 if test "$GCC" = yes; then
3404 # Check if gcc -print-prog-name=ld gives a path.
3405 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3406 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
3409 # gcc leaves a trailing carriage return which upsets mingw
3410 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3412 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3415 # Accept absolute paths.
3417 re_direlt
='/[^/][^/]*/\.\./'
3418 # Canonicalize the pathname of ld
3419 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
3420 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
3421 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
3423 test -z "$LD" && LD
="$ac_prog"
3426 # If it fails, then pretend we aren't using GCC.
3430 # If it is relative, then search for the first ld in PATH.
3434 elif test "$with_gnu_ld" = yes; then
3435 echo "$as_me:$LINENO: checking for GNU ld" >&5
3436 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3438 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3439 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3441 if test "${lt_cv_path_LD+set}" = set; then
3442 echo $ECHO_N "(cached) $ECHO_C" >&6
3444 if test -z "$LD"; then
3445 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
3446 for ac_dir
in $PATH; do
3448 test -z "$ac_dir" && ac_dir
=.
3449 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3450 lt_cv_path_LD
="$ac_dir/$ac_prog"
3451 # Check to see if the program is GNU ld. I'd rather use --version,
3452 # but apparently some variants of GNU ld only accept -v.
3453 # Break only if it was the GNU/non-GNU ld that we prefer.
3454 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3455 *GNU
* |
*'with BFD'*)
3456 test "$with_gnu_ld" != no
&& break
3459 test "$with_gnu_ld" != yes && break
3466 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3471 if test -n "$LD"; then
3472 echo "$as_me:$LINENO: result: $LD" >&5
3473 echo "${ECHO_T}$LD" >&6
3475 echo "$as_me:$LINENO: result: no" >&5
3476 echo "${ECHO_T}no" >&6
3478 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3479 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3480 { (exit 1); exit 1; }; }
3481 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3482 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3483 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3484 echo $ECHO_N "(cached) $ECHO_C" >&6
3486 # I'd rather use --version here, but apparently some GNU lds only accept -v.
3487 case `$LD -v 2>&1 </dev/null` in
3488 *GNU
* |
*'with BFD'*)
3489 lt_cv_prog_gnu_ld
=yes
3492 lt_cv_prog_gnu_ld
=no
3496 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3497 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3498 with_gnu_ld
=$lt_cv_prog_gnu_ld
3501 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3502 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3503 if test "${lt_cv_ld_reload_flag+set}" = set; then
3504 echo $ECHO_N "(cached) $ECHO_C" >&6
3506 lt_cv_ld_reload_flag
='-r'
3508 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3509 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3510 reload_flag
=$lt_cv_ld_reload_flag
3511 case $reload_flag in
3513 *) reload_flag
=" $reload_flag" ;;
3515 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
3518 if test "$GCC" = yes; then
3519 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
3521 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
3526 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3527 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3528 if test "${lt_cv_path_NM+set}" = set; then
3529 echo $ECHO_N "(cached) $ECHO_C" >&6
3531 if test -n "$NM"; then
3532 # Let the user override the test.
3535 lt_nm_to_check
="${ac_tool_prefix}nm"
3536 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3537 lt_nm_to_check
="$lt_nm_to_check nm"
3539 for lt_tmp_nm
in $lt_nm_to_check; do
3540 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
3541 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
3543 test -z "$ac_dir" && ac_dir
=.
3544 tmp_nm
="$ac_dir/$lt_tmp_nm"
3545 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
3546 # Check to see if the nm accepts a BSD-compat flag.
3547 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3548 # nm: unknown option "B" ignored
3549 # Tru64's nm complains that /dev/null is an invalid object file
3550 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3551 */dev
/null
* |
*'Invalid file or object type'*)
3552 lt_cv_path_NM
="$tmp_nm -B"
3556 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3558 lt_cv_path_NM
="$tmp_nm -p"
3562 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3563 continue # so that we can try to find one that supports BSD flags
3572 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
3575 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
3576 echo "${ECHO_T}$lt_cv_path_NM" >&6
3579 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
3580 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
3581 if test "${lt_cv_deplibs_check_method+set}" = set; then
3582 echo $ECHO_N "(cached) $ECHO_C" >&6
3584 lt_cv_file_magic_cmd
='$MAGIC_CMD'
3585 lt_cv_file_magic_test_file
=
3586 lt_cv_deplibs_check_method
='unknown'
3587 # Need to set the preceding variable on all platforms that support
3588 # interlibrary dependencies.
3589 # 'none' -- dependencies not supported.
3590 # `unknown' -- same as none, but documents that we really don't know.
3591 # 'pass_all' -- all dependencies passed with no checks.
3592 # 'test_compile' -- check by making test program.
3593 # 'file_magic [[regex]]' -- check by looking for files in library path
3594 # which responds to the $file_magic_cmd with a given extended regex.
3595 # If you have `file' or equivalent on your system and you're not sure
3596 # whether `pass_all' will *always* work, you probably want this one.
3600 lt_cv_deplibs_check_method
=pass_all
3604 lt_cv_deplibs_check_method
=pass_all
3608 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3609 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3610 lt_cv_file_magic_test_file
=/shlib
/libc.so
3614 # func_win32_libid is a shell function defined in ltmain.sh
3615 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
3616 lt_cv_file_magic_cmd
='func_win32_libid'
3620 # Base MSYS/MinGW do not provide the 'file' command needed by
3621 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
3622 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
3623 lt_cv_file_magic_cmd
='$OBJDUMP -f'
3626 darwin
* | rhapsody
*)
3627 lt_cv_deplibs_check_method
=pass_all
3630 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
3631 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3634 # Not sure whether the presence of OpenBSD here was a mistake.
3635 # Let's accept both of them until this is cleared up.
3636 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
3637 lt_cv_file_magic_cmd
=/usr
/bin
/file
3638 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3642 lt_cv_deplibs_check_method
=pass_all
3647 lt_cv_deplibs_check_method
=pass_all
3650 hpux10.20
* | hpux11
*)
3651 lt_cv_file_magic_cmd
=/usr
/bin
/file
3654 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3655 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
3658 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]'
3659 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
3662 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3663 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
3669 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
3670 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
3673 irix5
* | irix6
* | nonstopux
*)
3675 *-32|
*"-32 ") libmagic
=32-bit;;
3676 *-n32|
*"-n32 ") libmagic
=N32
;;
3677 *-64|
*"-64 ") libmagic
=64-bit;;
3678 *) libmagic
=never-match
;;
3680 lt_cv_deplibs_check_method
=pass_all
3683 # This must be Linux ELF.
3685 lt_cv_deplibs_check_method
=pass_all
3689 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3690 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
3692 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
3697 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3698 lt_cv_file_magic_cmd
=/usr
/bin
/file
3699 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
3703 lt_cv_deplibs_check_method
=unknown
3707 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
3708 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
3710 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
3714 osf3
* | osf4
* | osf5
*)
3715 lt_cv_deplibs_check_method
=pass_all
3719 lt_cv_deplibs_check_method
=pass_all
3723 case $host_vendor in
3725 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]'
3726 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
3729 lt_cv_deplibs_check_method
=pass_all
3732 lt_cv_file_magic_cmd
='/bin/file'
3733 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
3736 lt_cv_file_magic_cmd
='/bin/file'
3737 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
3738 lt_cv_file_magic_test_file
=/lib
/libc.so
3741 lt_cv_deplibs_check_method
=pass_all
3744 lt_cv_deplibs_check_method
=pass_all
3749 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
3750 lt_cv_deplibs_check_method
=pass_all
3755 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3756 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3757 file_magic_cmd
=$lt_cv_file_magic_cmd
3758 deplibs_check_method
=$lt_cv_deplibs_check_method
3759 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
3764 # If no C compiler was specified, use CC.
3767 # If no C compiler flags were specified, use CFLAGS.
3768 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
3770 # Allow CC to be a program name with arguments.
3774 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
3775 if test "${enable_libtool_lock+set}" = set; then
3776 enableval
="$enable_libtool_lock"
3779 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
3781 # Some flags need to be propagated to the compiler or linker for good
3785 # Find out which ABI we are using.
3786 echo 'int i;' > conftest.
$ac_ext
3787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3788 (eval $ac_compile) 2>&5
3790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3791 (exit $ac_status); }; then
3792 case `/usr/bin/file conftest.$ac_objext` in
3804 # Find out which ABI we are using.
3805 echo '#line 3805 "configure"' > conftest.
$ac_ext
3806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3807 (eval $ac_compile) 2>&5
3809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3810 (exit $ac_status); }; then
3811 if test "$lt_cv_prog_gnu_ld" = yes; then
3812 case `/usr/bin/file conftest.$ac_objext` in
3814 LD
="${LD-ld} -melf32bsmip"
3817 LD
="${LD-ld} -melf32bmipn32"
3820 LD
="${LD-ld} -melf64bmip"
3824 case `/usr/bin/file conftest.$ac_objext` in
3840 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
3841 # Find out which ABI we are using.
3842 echo 'int i;' > conftest.
$ac_ext
3843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3844 (eval $ac_compile) 2>&5
3846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3847 (exit $ac_status); }; then
3848 case `/usr/bin/file conftest.o` in
3852 LD
="${LD-ld} -m elf_i386"
3854 ppc64-
*linux
*|powerpc64-
*linux
*)
3855 LD
="${LD-ld} -m elf32ppclinux"
3858 LD
="${LD-ld} -m elf_s390"
3861 LD
="${LD-ld} -m elf32_sparc"
3868 LD
="${LD-ld} -m elf_x86_64"
3870 ppc
*-*linux
*|powerpc
*-*linux
*)
3871 LD
="${LD-ld} -m elf64ppc"
3874 LD
="${LD-ld} -m elf64_s390"
3877 LD
="${LD-ld} -m elf64_sparc"
3887 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
3888 SAVE_CFLAGS
="$CFLAGS"
3889 CFLAGS
="$CFLAGS -belf"
3890 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
3891 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
3892 if test "${lt_cv_cc_needs_belf+set}" = set; then
3893 echo $ECHO_N "(cached) $ECHO_C" >&6
3896 ac_cpp
='$CPP $CPPFLAGS'
3897 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3898 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3899 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3901 cat >conftest.
$ac_ext <<_ACEOF
3904 cat confdefs.h
>>conftest.
$ac_ext
3905 cat >>conftest.
$ac_ext <<_ACEOF
3906 /* end confdefs.h. */
3916 rm -f conftest.
$ac_objext conftest
$ac_exeext
3917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3918 (eval $ac_link) 2>conftest.er1
3920 grep -v '^ *+' conftest.er1
>conftest.err
3922 cat conftest.err
>&5
3923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3924 (exit $ac_status); } &&
3925 { ac_try
='test -z "$ac_c_werror_flag"
3926 || test ! -s conftest.err'
3927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3931 (exit $ac_status); }; } &&
3932 { ac_try
='test -s conftest$ac_exeext'
3933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3937 (exit $ac_status); }; }; then
3938 lt_cv_cc_needs_belf
=yes
3940 echo "$as_me: failed program was:" >&5
3941 sed 's/^/| /' conftest.
$ac_ext >&5
3943 lt_cv_cc_needs_belf
=no
3945 rm -f conftest.err conftest.
$ac_objext \
3946 conftest
$ac_exeext conftest.
$ac_ext
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
3954 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
3955 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
3956 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
3957 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
3958 CFLAGS
="$SAVE_CFLAGS"
3962 # Find out which ABI we are using.
3963 echo 'int i;' > conftest.
$ac_ext
3964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3965 (eval $ac_compile) 2>&5
3967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3968 (exit $ac_status); }; then
3969 case `/usr/bin/file conftest.o` in
3971 case $lt_cv_prog_gnu_ld in
3972 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
3973 *) LD
="${LD-ld} -64" ;;
3984 need_locks
="$enable_libtool_lock"
3988 ac_cpp
='$CPP $CPPFLAGS'
3989 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3990 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3991 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3992 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3993 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3994 # On Suns, sometimes $CPP names a directory.
3995 if test -n "$CPP" && test -d "$CPP"; then
3998 if test -z "$CPP"; then
3999 if test "${ac_cv_prog_CPP+set}" = set; then
4000 echo $ECHO_N "(cached) $ECHO_C" >&6
4002 # Double quotes because CPP needs to be expanded
4003 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4006 for ac_c_preproc_warn_flag
in '' yes
4008 # Use a header file that comes with gcc, so configuring glibc
4009 # with a fresh cross-compiler works.
4010 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4011 # <limits.h> exists even on freestanding compilers.
4012 # On the NeXT, cc -E runs the code through the compiler's parser,
4013 # not just through cpp. "Syntax error" is here to catch this case.
4014 cat >conftest.
$ac_ext <<_ACEOF
4017 cat confdefs.h
>>conftest.
$ac_ext
4018 cat >>conftest.
$ac_ext <<_ACEOF
4019 /* end confdefs.h. */
4021 # include <limits.h>
4023 # include <assert.h>
4027 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4028 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4030 grep -v '^ *+' conftest.er1
>conftest.err
4032 cat conftest.err
>&5
4033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4034 (exit $ac_status); } >/dev
/null
; then
4035 if test -s conftest.err
; then
4036 ac_cpp_err
=$ac_c_preproc_warn_flag
4037 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4044 if test -z "$ac_cpp_err"; then
4047 echo "$as_me: failed program was:" >&5
4048 sed 's/^/| /' conftest.
$ac_ext >&5
4050 # Broken: fails on valid input.
4053 rm -f conftest.err conftest.
$ac_ext
4055 # OK, works on sane cases. Now check whether non-existent headers
4056 # can be detected and how.
4057 cat >conftest.
$ac_ext <<_ACEOF
4060 cat confdefs.h
>>conftest.
$ac_ext
4061 cat >>conftest.
$ac_ext <<_ACEOF
4062 /* end confdefs.h. */
4063 #include <ac_nonexistent.h>
4065 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4066 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4068 grep -v '^ *+' conftest.er1
>conftest.err
4070 cat conftest.err
>&5
4071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4072 (exit $ac_status); } >/dev
/null
; then
4073 if test -s conftest.err
; then
4074 ac_cpp_err
=$ac_c_preproc_warn_flag
4075 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4082 if test -z "$ac_cpp_err"; then
4083 # Broken: success on invalid input.
4086 echo "$as_me: failed program was:" >&5
4087 sed 's/^/| /' conftest.
$ac_ext >&5
4089 # Passes both tests.
4093 rm -f conftest.err conftest.
$ac_ext
4096 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4097 rm -f conftest.err conftest.
$ac_ext
4098 if $ac_preproc_ok; then
4110 echo "$as_me:$LINENO: result: $CPP" >&5
4111 echo "${ECHO_T}$CPP" >&6
4113 for ac_c_preproc_warn_flag
in '' yes
4115 # Use a header file that comes with gcc, so configuring glibc
4116 # with a fresh cross-compiler works.
4117 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4118 # <limits.h> exists even on freestanding compilers.
4119 # On the NeXT, cc -E runs the code through the compiler's parser,
4120 # not just through cpp. "Syntax error" is here to catch this case.
4121 cat >conftest.
$ac_ext <<_ACEOF
4124 cat confdefs.h
>>conftest.
$ac_ext
4125 cat >>conftest.
$ac_ext <<_ACEOF
4126 /* end confdefs.h. */
4128 # include <limits.h>
4130 # include <assert.h>
4134 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4135 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4137 grep -v '^ *+' conftest.er1
>conftest.err
4139 cat conftest.err
>&5
4140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4141 (exit $ac_status); } >/dev
/null
; then
4142 if test -s conftest.err
; then
4143 ac_cpp_err
=$ac_c_preproc_warn_flag
4144 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4151 if test -z "$ac_cpp_err"; then
4154 echo "$as_me: failed program was:" >&5
4155 sed 's/^/| /' conftest.
$ac_ext >&5
4157 # Broken: fails on valid input.
4160 rm -f conftest.err conftest.
$ac_ext
4162 # OK, works on sane cases. Now check whether non-existent headers
4163 # can be detected and how.
4164 cat >conftest.
$ac_ext <<_ACEOF
4167 cat confdefs.h
>>conftest.
$ac_ext
4168 cat >>conftest.
$ac_ext <<_ACEOF
4169 /* end confdefs.h. */
4170 #include <ac_nonexistent.h>
4172 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4173 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4175 grep -v '^ *+' conftest.er1
>conftest.err
4177 cat conftest.err
>&5
4178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4179 (exit $ac_status); } >/dev
/null
; then
4180 if test -s conftest.err
; then
4181 ac_cpp_err
=$ac_c_preproc_warn_flag
4182 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4189 if test -z "$ac_cpp_err"; then
4190 # Broken: success on invalid input.
4193 echo "$as_me: failed program was:" >&5
4194 sed 's/^/| /' conftest.
$ac_ext >&5
4196 # Passes both tests.
4200 rm -f conftest.err conftest.
$ac_ext
4203 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4204 rm -f conftest.err conftest.
$ac_ext
4205 if $ac_preproc_ok; then
4208 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4209 See \`config.log' for more details." >&5
4210 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4211 See \`config.log' for more details." >&2;}
4212 { (exit 1); exit 1; }; }
4216 ac_cpp
='$CPP $CPPFLAGS'
4217 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4218 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4219 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4222 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4223 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4224 if test "${ac_cv_header_stdc+set}" = set; then
4225 echo $ECHO_N "(cached) $ECHO_C" >&6
4227 cat >conftest.
$ac_ext <<_ACEOF
4230 cat confdefs.h
>>conftest.
$ac_ext
4231 cat >>conftest.
$ac_ext <<_ACEOF
4232 /* end confdefs.h. */
4246 rm -f conftest.
$ac_objext
4247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4248 (eval $ac_compile) 2>conftest.er1
4250 grep -v '^ *+' conftest.er1
>conftest.err
4252 cat conftest.err
>&5
4253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4254 (exit $ac_status); } &&
4255 { ac_try
='test -z "$ac_c_werror_flag"
4256 || test ! -s conftest.err'
4257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4261 (exit $ac_status); }; } &&
4262 { ac_try
='test -s conftest.$ac_objext'
4263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4267 (exit $ac_status); }; }; then
4268 ac_cv_header_stdc
=yes
4270 echo "$as_me: failed program was:" >&5
4271 sed 's/^/| /' conftest.
$ac_ext >&5
4273 ac_cv_header_stdc
=no
4275 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4277 if test $ac_cv_header_stdc = yes; then
4278 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4279 cat >conftest.
$ac_ext <<_ACEOF
4282 cat confdefs.h
>>conftest.
$ac_ext
4283 cat >>conftest.
$ac_ext <<_ACEOF
4284 /* end confdefs.h. */
4288 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4289 $EGREP "memchr" >/dev
/null
2>&1; then
4292 ac_cv_header_stdc
=no
4298 if test $ac_cv_header_stdc = yes; then
4299 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4300 cat >conftest.
$ac_ext <<_ACEOF
4303 cat confdefs.h
>>conftest.
$ac_ext
4304 cat >>conftest.
$ac_ext <<_ACEOF
4305 /* end confdefs.h. */
4309 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4310 $EGREP "free" >/dev
/null
2>&1; then
4313 ac_cv_header_stdc
=no
4319 if test $ac_cv_header_stdc = yes; then
4320 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4321 if test "$cross_compiling" = yes; then
4324 cat >conftest.
$ac_ext <<_ACEOF
4327 cat confdefs.h
>>conftest.
$ac_ext
4328 cat >>conftest.
$ac_ext <<_ACEOF
4329 /* end confdefs.h. */
4331 #if ((' ' & 0x0FF) == 0x020)
4332 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4333 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4335 # define ISLOWER(c) \
4336 (('a' <= (c) && (c) <= 'i') \
4337 || ('j' <= (c) && (c) <= 'r') \
4338 || ('s' <= (c) && (c) <= 'z'))
4339 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4342 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4347 for (i = 0; i < 256; i++)
4348 if (XOR (islower (i), ISLOWER (i))
4349 || toupper (i) != TOUPPER (i))
4354 rm -f conftest
$ac_exeext
4355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4356 (eval $ac_link) 2>&5
4358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4359 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4364 (exit $ac_status); }; }; then
4367 echo "$as_me: program exited with status $ac_status" >&5
4368 echo "$as_me: failed program was:" >&5
4369 sed 's/^/| /' conftest.
$ac_ext >&5
4372 ac_cv_header_stdc
=no
4374 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4378 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4379 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4380 if test $ac_cv_header_stdc = yes; then
4382 cat >>confdefs.h
<<\_ACEOF
4383 #define STDC_HEADERS 1
4388 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4398 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4399 inttypes.h stdint.h unistd.h
4401 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4402 echo "$as_me:$LINENO: checking for $ac_header" >&5
4403 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4404 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4405 echo $ECHO_N "(cached) $ECHO_C" >&6
4407 cat >conftest.
$ac_ext <<_ACEOF
4410 cat confdefs.h
>>conftest.
$ac_ext
4411 cat >>conftest.
$ac_ext <<_ACEOF
4412 /* end confdefs.h. */
4413 $ac_includes_default
4415 #include <$ac_header>
4417 rm -f conftest.
$ac_objext
4418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4419 (eval $ac_compile) 2>conftest.er1
4421 grep -v '^ *+' conftest.er1
>conftest.err
4423 cat conftest.err
>&5
4424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4425 (exit $ac_status); } &&
4426 { ac_try
='test -z "$ac_c_werror_flag"
4427 || test ! -s conftest.err'
4428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4432 (exit $ac_status); }; } &&
4433 { ac_try
='test -s conftest.$ac_objext'
4434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4438 (exit $ac_status); }; }; then
4439 eval "$as_ac_Header=yes"
4441 echo "$as_me: failed program was:" >&5
4442 sed 's/^/| /' conftest.
$ac_ext >&5
4444 eval "$as_ac_Header=no"
4446 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4448 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4449 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4450 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4451 cat >>confdefs.h
<<_ACEOF
4452 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4461 for ac_header
in dlfcn.h
4463 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4464 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4465 echo "$as_me:$LINENO: checking for $ac_header" >&5
4466 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4467 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4468 echo $ECHO_N "(cached) $ECHO_C" >&6
4470 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4471 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4473 # Is the header compilable?
4474 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4475 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4476 cat >conftest.
$ac_ext <<_ACEOF
4479 cat confdefs.h
>>conftest.
$ac_ext
4480 cat >>conftest.
$ac_ext <<_ACEOF
4481 /* end confdefs.h. */
4482 $ac_includes_default
4483 #include <$ac_header>
4485 rm -f conftest.
$ac_objext
4486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4487 (eval $ac_compile) 2>conftest.er1
4489 grep -v '^ *+' conftest.er1
>conftest.err
4491 cat conftest.err
>&5
4492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4493 (exit $ac_status); } &&
4494 { ac_try
='test -z "$ac_c_werror_flag"
4495 || test ! -s conftest.err'
4496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4500 (exit $ac_status); }; } &&
4501 { ac_try
='test -s conftest.$ac_objext'
4502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4506 (exit $ac_status); }; }; then
4507 ac_header_compiler
=yes
4509 echo "$as_me: failed program was:" >&5
4510 sed 's/^/| /' conftest.
$ac_ext >&5
4512 ac_header_compiler
=no
4514 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4515 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4516 echo "${ECHO_T}$ac_header_compiler" >&6
4518 # Is the header present?
4519 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4520 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4521 cat >conftest.
$ac_ext <<_ACEOF
4524 cat confdefs.h
>>conftest.
$ac_ext
4525 cat >>conftest.
$ac_ext <<_ACEOF
4526 /* end confdefs.h. */
4527 #include <$ac_header>
4529 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4530 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4532 grep -v '^ *+' conftest.er1
>conftest.err
4534 cat conftest.err
>&5
4535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4536 (exit $ac_status); } >/dev
/null
; then
4537 if test -s conftest.err
; then
4538 ac_cpp_err
=$ac_c_preproc_warn_flag
4539 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4546 if test -z "$ac_cpp_err"; then
4547 ac_header_preproc
=yes
4549 echo "$as_me: failed program was:" >&5
4550 sed 's/^/| /' conftest.
$ac_ext >&5
4552 ac_header_preproc
=no
4554 rm -f conftest.err conftest.
$ac_ext
4555 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4556 echo "${ECHO_T}$ac_header_preproc" >&6
4558 # So? What about this header?
4559 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4561 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4562 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4563 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4564 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4565 ac_header_preproc
=yes
4568 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4569 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4570 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4571 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4572 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4573 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4574 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4575 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4576 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4577 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4578 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4579 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4582 ## -------------------------------------------------- ##
4583 ## Report this to courier-users@lists.sourceforge.net ##
4584 ## -------------------------------------------------- ##
4587 sed "s/^/$as_me: WARNING: /" >&2
4590 echo "$as_me:$LINENO: checking for $ac_header" >&5
4591 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4592 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4593 echo $ECHO_N "(cached) $ECHO_C" >&6
4595 eval "$as_ac_Header=\$ac_header_preproc"
4597 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4598 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4601 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4602 cat >>confdefs.h
<<_ACEOF
4603 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4611 ac_cpp
='$CXXCPP $CPPFLAGS'
4612 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4613 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4614 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4615 if test -n "$ac_tool_prefix"; then
4616 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
4618 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4619 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4620 echo "$as_me:$LINENO: checking for $ac_word" >&5
4621 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4622 if test "${ac_cv_prog_CXX+set}" = set; then
4623 echo $ECHO_N "(cached) $ECHO_C" >&6
4625 if test -n "$CXX"; then
4626 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
4628 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4632 test -z "$as_dir" && as_dir
=.
4633 for ac_exec_ext
in '' $ac_executable_extensions; do
4634 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4635 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
4636 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4645 if test -n "$CXX"; then
4646 echo "$as_me:$LINENO: result: $CXX" >&5
4647 echo "${ECHO_T}$CXX" >&6
4649 echo "$as_me:$LINENO: result: no" >&5
4650 echo "${ECHO_T}no" >&6
4653 test -n "$CXX" && break
4656 if test -z "$CXX"; then
4658 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
4660 # Extract the first word of "$ac_prog", so it can be a program name with args.
4661 set dummy
$ac_prog; ac_word
=$2
4662 echo "$as_me:$LINENO: checking for $ac_word" >&5
4663 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4664 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4665 echo $ECHO_N "(cached) $ECHO_C" >&6
4667 if test -n "$ac_ct_CXX"; then
4668 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
4670 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4674 test -z "$as_dir" && as_dir
=.
4675 for ac_exec_ext
in '' $ac_executable_extensions; do
4676 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4677 ac_cv_prog_ac_ct_CXX
="$ac_prog"
4678 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4686 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
4687 if test -n "$ac_ct_CXX"; then
4688 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4689 echo "${ECHO_T}$ac_ct_CXX" >&6
4691 echo "$as_me:$LINENO: result: no" >&5
4692 echo "${ECHO_T}no" >&6
4695 test -n "$ac_ct_CXX" && break
4697 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
4703 # Provide some information about the compiler.
4704 echo "$as_me:$LINENO:" \
4705 "checking for C++ compiler version" >&5
4706 ac_compiler
=`set X $ac_compile; echo $2`
4707 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4708 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
4710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4711 (exit $ac_status); }
4712 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4713 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
4715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4716 (exit $ac_status); }
4717 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4718 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
4720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4721 (exit $ac_status); }
4723 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4724 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
4725 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4726 echo $ECHO_N "(cached) $ECHO_C" >&6
4728 cat >conftest.
$ac_ext <<_ACEOF
4731 cat confdefs.h
>>conftest.
$ac_ext
4732 cat >>conftest.
$ac_ext <<_ACEOF
4733 /* end confdefs.h. */
4746 rm -f conftest.
$ac_objext
4747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4748 (eval $ac_compile) 2>conftest.er1
4750 grep -v '^ *+' conftest.er1
>conftest.err
4752 cat conftest.err
>&5
4753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4754 (exit $ac_status); } &&
4755 { ac_try
='test -z "$ac_cxx_werror_flag"
4756 || test ! -s conftest.err'
4757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4761 (exit $ac_status); }; } &&
4762 { ac_try
='test -s conftest.$ac_objext'
4763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4767 (exit $ac_status); }; }; then
4770 echo "$as_me: failed program was:" >&5
4771 sed 's/^/| /' conftest.
$ac_ext >&5
4775 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4776 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4779 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4780 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
4781 GXX
=`test $ac_compiler_gnu = yes && echo yes`
4782 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4783 ac_save_CXXFLAGS
=$CXXFLAGS
4785 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4786 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
4787 if test "${ac_cv_prog_cxx_g+set}" = set; then
4788 echo $ECHO_N "(cached) $ECHO_C" >&6
4790 cat >conftest.
$ac_ext <<_ACEOF
4793 cat confdefs.h
>>conftest.
$ac_ext
4794 cat >>conftest.
$ac_ext <<_ACEOF
4795 /* end confdefs.h. */
4805 rm -f conftest.
$ac_objext
4806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4807 (eval $ac_compile) 2>conftest.er1
4809 grep -v '^ *+' conftest.er1
>conftest.err
4811 cat conftest.err
>&5
4812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4813 (exit $ac_status); } &&
4814 { ac_try
='test -z "$ac_cxx_werror_flag"
4815 || test ! -s conftest.err'
4816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4820 (exit $ac_status); }; } &&
4821 { ac_try
='test -s conftest.$ac_objext'
4822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4826 (exit $ac_status); }; }; then
4827 ac_cv_prog_cxx_g
=yes
4829 echo "$as_me: failed program was:" >&5
4830 sed 's/^/| /' conftest.
$ac_ext >&5
4834 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4836 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4837 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
4838 if test "$ac_test_CXXFLAGS" = set; then
4839 CXXFLAGS
=$ac_save_CXXFLAGS
4840 elif test $ac_cv_prog_cxx_g = yes; then
4841 if test "$GXX" = yes; then
4847 if test "$GXX" = yes; then
4853 for ac_declaration
in \
4855 'extern "C" void std::exit (int) throw (); using std::exit;' \
4856 'extern "C" void std::exit (int); using std::exit;' \
4857 'extern "C" void exit (int) throw ();' \
4858 'extern "C" void exit (int);' \
4861 cat >conftest.
$ac_ext <<_ACEOF
4864 cat confdefs.h
>>conftest.
$ac_ext
4865 cat >>conftest.
$ac_ext <<_ACEOF
4866 /* end confdefs.h. */
4877 rm -f conftest.
$ac_objext
4878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4879 (eval $ac_compile) 2>conftest.er1
4881 grep -v '^ *+' conftest.er1
>conftest.err
4883 cat conftest.err
>&5
4884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4885 (exit $ac_status); } &&
4886 { ac_try
='test -z "$ac_cxx_werror_flag"
4887 || test ! -s conftest.err'
4888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4892 (exit $ac_status); }; } &&
4893 { ac_try
='test -s conftest.$ac_objext'
4894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4898 (exit $ac_status); }; }; then
4901 echo "$as_me: failed program was:" >&5
4902 sed 's/^/| /' conftest.
$ac_ext >&5
4906 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4907 cat >conftest.
$ac_ext <<_ACEOF
4910 cat confdefs.h
>>conftest.
$ac_ext
4911 cat >>conftest.
$ac_ext <<_ACEOF
4912 /* end confdefs.h. */
4922 rm -f conftest.
$ac_objext
4923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4924 (eval $ac_compile) 2>conftest.er1
4926 grep -v '^ *+' conftest.er1
>conftest.err
4928 cat conftest.err
>&5
4929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4930 (exit $ac_status); } &&
4931 { ac_try
='test -z "$ac_cxx_werror_flag"
4932 || test ! -s conftest.err'
4933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4937 (exit $ac_status); }; } &&
4938 { ac_try
='test -s conftest.$ac_objext'
4939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4943 (exit $ac_status); }; }; then
4946 echo "$as_me: failed program was:" >&5
4947 sed 's/^/| /' conftest.
$ac_ext >&5
4950 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4953 if test -n "$ac_declaration"; then
4954 echo '#ifdef __cplusplus' >>confdefs.h
4955 echo $ac_declaration >>confdefs.h
4956 echo '#endif' >>confdefs.h
4960 ac_cpp
='$CXXCPP $CPPFLAGS'
4961 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4962 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4963 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4965 depcc
="$CXX" am_compiler_list
=
4967 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4968 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
4969 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
4970 echo $ECHO_N "(cached) $ECHO_C" >&6
4972 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4973 # We make a subdir and do the tests there. Otherwise we can end up
4974 # making bogus files that we don't know about and never remove. For
4975 # instance it was reported that on HP-UX the gcc test will end up
4976 # making a dummy file named `D' -- because `-MD' means `put the output
4979 # Copy depcomp to subdir because otherwise we won't find it if we're
4980 # using a relative directory.
4981 cp "$am_depcomp" conftest.dir
4983 # We will build objects and dependencies in a subdirectory because
4984 # it helps to detect inapplicable dependency modes. For instance
4985 # both Tru64's cc and ICC support -MD to output dependencies as a
4986 # side effect of compilation, but ICC will put the dependencies in
4987 # the current directory while Tru64 will put them in the object
4991 am_cv_CXX_dependencies_compiler_type
=none
4992 if test "$am_compiler_list" = ""; then
4993 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4995 for depmode
in $am_compiler_list; do
4996 # Setup a source with many dependencies, because some compilers
4997 # like to wrap large dependency lists on column 80 (with \), and
4998 # we should not choose a depcomp mode which is confused by this.
5000 # We need to recreate these files for each test, as the compiler may
5001 # overwrite some of them when testing with obscure command lines.
5002 # This happens at least with the AIX C compiler.
5004 for i
in 1 2 3 4 5 6; do
5005 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5006 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5007 # Solaris 8's {/usr,}/bin/sh.
5008 touch sub
/conftst
$i.h
5010 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5014 # after this tag, mechanisms are not by side-effect, so they'll
5015 # only be used when explicitly requested
5016 if test "x$enable_dependency_tracking" = xyes
; then
5024 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5025 # mode. It turns out that the SunPro C++ compiler does not properly
5026 # handle `-M -o', and we need to detect this.
5027 if depmode
=$depmode \
5028 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
5029 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5030 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
5031 >/dev
/null
2>conftest.err
&&
5032 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5033 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
5034 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5035 # icc doesn't choke on unknown options, it will just issue warnings
5036 # or remarks (even with -Werror). So we grep stderr for any message
5037 # that says an option was ignored or not supported.
5038 # When given -MP, icc 7.0 and 7.1 complain thusly:
5039 # icc: Command line warning: ignoring option '-M'; no argument required
5040 # The diagnosis changed in icc 8.0:
5041 # icc: Command line remark: option '-MP' not supported
5042 if (grep 'ignoring option' conftest.err ||
5043 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5044 am_cv_CXX_dependencies_compiler_type
=$depmode
5053 am_cv_CXX_dependencies_compiler_type
=none
5057 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5058 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
5059 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5064 test "x$enable_dependency_tracking" != xno \
5065 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5066 am__fastdepCXX_TRUE
=
5067 am__fastdepCXX_FALSE
='#'
5069 am__fastdepCXX_TRUE
='#'
5070 am__fastdepCXX_FALSE
=
5076 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5077 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5078 (test "X$CXX" != "Xg++"))) ; then
5080 ac_cpp
='$CXXCPP $CPPFLAGS'
5081 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5082 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5083 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5084 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5085 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
5086 if test -z "$CXXCPP"; then
5087 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5088 echo $ECHO_N "(cached) $ECHO_C" >&6
5090 # Double quotes because CXXCPP needs to be expanded
5091 for CXXCPP
in "$CXX -E" "/lib/cpp"
5094 for ac_cxx_preproc_warn_flag
in '' yes
5096 # Use a header file that comes with gcc, so configuring glibc
5097 # with a fresh cross-compiler works.
5098 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5099 # <limits.h> exists even on freestanding compilers.
5100 # On the NeXT, cc -E runs the code through the compiler's parser,
5101 # not just through cpp. "Syntax error" is here to catch this case.
5102 cat >conftest.
$ac_ext <<_ACEOF
5105 cat confdefs.h
>>conftest.
$ac_ext
5106 cat >>conftest.
$ac_ext <<_ACEOF
5107 /* end confdefs.h. */
5109 # include <limits.h>
5111 # include <assert.h>
5115 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5116 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5118 grep -v '^ *+' conftest.er1
>conftest.err
5120 cat conftest.err
>&5
5121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5122 (exit $ac_status); } >/dev
/null
; then
5123 if test -s conftest.err
; then
5124 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5125 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5132 if test -z "$ac_cpp_err"; then
5135 echo "$as_me: failed program was:" >&5
5136 sed 's/^/| /' conftest.
$ac_ext >&5
5138 # Broken: fails on valid input.
5141 rm -f conftest.err conftest.
$ac_ext
5143 # OK, works on sane cases. Now check whether non-existent headers
5144 # can be detected and how.
5145 cat >conftest.
$ac_ext <<_ACEOF
5148 cat confdefs.h
>>conftest.
$ac_ext
5149 cat >>conftest.
$ac_ext <<_ACEOF
5150 /* end confdefs.h. */
5151 #include <ac_nonexistent.h>
5153 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5154 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5156 grep -v '^ *+' conftest.er1
>conftest.err
5158 cat conftest.err
>&5
5159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5160 (exit $ac_status); } >/dev
/null
; then
5161 if test -s conftest.err
; then
5162 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5163 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5170 if test -z "$ac_cpp_err"; then
5171 # Broken: success on invalid input.
5174 echo "$as_me: failed program was:" >&5
5175 sed 's/^/| /' conftest.
$ac_ext >&5
5177 # Passes both tests.
5181 rm -f conftest.err conftest.
$ac_ext
5184 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5185 rm -f conftest.err conftest.
$ac_ext
5186 if $ac_preproc_ok; then
5191 ac_cv_prog_CXXCPP
=$CXXCPP
5194 CXXCPP
=$ac_cv_prog_CXXCPP
5196 ac_cv_prog_CXXCPP
=$CXXCPP
5198 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5199 echo "${ECHO_T}$CXXCPP" >&6
5201 for ac_cxx_preproc_warn_flag
in '' yes
5203 # Use a header file that comes with gcc, so configuring glibc
5204 # with a fresh cross-compiler works.
5205 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5206 # <limits.h> exists even on freestanding compilers.
5207 # On the NeXT, cc -E runs the code through the compiler's parser,
5208 # not just through cpp. "Syntax error" is here to catch this case.
5209 cat >conftest.
$ac_ext <<_ACEOF
5212 cat confdefs.h
>>conftest.
$ac_ext
5213 cat >>conftest.
$ac_ext <<_ACEOF
5214 /* end confdefs.h. */
5216 # include <limits.h>
5218 # include <assert.h>
5222 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5223 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5225 grep -v '^ *+' conftest.er1
>conftest.err
5227 cat conftest.err
>&5
5228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5229 (exit $ac_status); } >/dev
/null
; then
5230 if test -s conftest.err
; then
5231 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5232 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5239 if test -z "$ac_cpp_err"; then
5242 echo "$as_me: failed program was:" >&5
5243 sed 's/^/| /' conftest.
$ac_ext >&5
5245 # Broken: fails on valid input.
5248 rm -f conftest.err conftest.
$ac_ext
5250 # OK, works on sane cases. Now check whether non-existent headers
5251 # can be detected and how.
5252 cat >conftest.
$ac_ext <<_ACEOF
5255 cat confdefs.h
>>conftest.
$ac_ext
5256 cat >>conftest.
$ac_ext <<_ACEOF
5257 /* end confdefs.h. */
5258 #include <ac_nonexistent.h>
5260 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5261 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5263 grep -v '^ *+' conftest.er1
>conftest.err
5265 cat conftest.err
>&5
5266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5267 (exit $ac_status); } >/dev
/null
; then
5268 if test -s conftest.err
; then
5269 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5270 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5277 if test -z "$ac_cpp_err"; then
5278 # Broken: success on invalid input.
5281 echo "$as_me: failed program was:" >&5
5282 sed 's/^/| /' conftest.
$ac_ext >&5
5284 # Passes both tests.
5288 rm -f conftest.err conftest.
$ac_ext
5291 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5292 rm -f conftest.err conftest.
$ac_ext
5293 if $ac_preproc_ok; then
5296 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5297 See \`config.log' for more details." >&5
5298 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5299 See \`config.log' for more details." >&2;}
5300 { (exit 1); exit 1; }; }
5304 ac_cpp
='$CXXCPP $CPPFLAGS'
5305 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5306 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5307 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5313 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5314 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5315 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
5316 if test -n "$ac_tool_prefix"; then
5317 for ac_prog
in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
5319 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5320 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5321 echo "$as_me:$LINENO: checking for $ac_word" >&5
5322 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5323 if test "${ac_cv_prog_F77+set}" = set; then
5324 echo $ECHO_N "(cached) $ECHO_C" >&6
5326 if test -n "$F77"; then
5327 ac_cv_prog_F77
="$F77" # Let the user override the test.
5329 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5333 test -z "$as_dir" && as_dir
=.
5334 for ac_exec_ext
in '' $ac_executable_extensions; do
5335 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5336 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
5337 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5346 if test -n "$F77"; then
5347 echo "$as_me:$LINENO: result: $F77" >&5
5348 echo "${ECHO_T}$F77" >&6
5350 echo "$as_me:$LINENO: result: no" >&5
5351 echo "${ECHO_T}no" >&6
5354 test -n "$F77" && break
5357 if test -z "$F77"; then
5359 for ac_prog
in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
5361 # Extract the first word of "$ac_prog", so it can be a program name with args.
5362 set dummy
$ac_prog; ac_word
=$2
5363 echo "$as_me:$LINENO: checking for $ac_word" >&5
5364 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5365 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5366 echo $ECHO_N "(cached) $ECHO_C" >&6
5368 if test -n "$ac_ct_F77"; then
5369 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
5371 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5375 test -z "$as_dir" && as_dir
=.
5376 for ac_exec_ext
in '' $ac_executable_extensions; do
5377 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5378 ac_cv_prog_ac_ct_F77
="$ac_prog"
5379 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5387 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
5388 if test -n "$ac_ct_F77"; then
5389 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5390 echo "${ECHO_T}$ac_ct_F77" >&6
5392 echo "$as_me:$LINENO: result: no" >&5
5393 echo "${ECHO_T}no" >&6
5396 test -n "$ac_ct_F77" && break
5403 # Provide some information about the compiler.
5404 echo "$as_me:5404:" \
5405 "checking for Fortran 77 compiler version" >&5
5406 ac_compiler
=`set X $ac_compile; echo $2`
5407 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5408 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
5410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5411 (exit $ac_status); }
5412 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5413 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
5415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5416 (exit $ac_status); }
5417 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5418 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
5420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5421 (exit $ac_status); }
5424 # If we don't use `.F' as extension, the preprocessor is not run on the
5425 # input file. (Note that this only needs to work for GNU compilers.)
5428 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5429 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
5430 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5431 echo $ECHO_N "(cached) $ECHO_C" >&6
5433 cat >conftest.
$ac_ext <<_ACEOF
5441 rm -f conftest.
$ac_objext
5442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5443 (eval $ac_compile) 2>conftest.er1
5445 grep -v '^ *+' conftest.er1
>conftest.err
5447 cat conftest.err
>&5
5448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5449 (exit $ac_status); } &&
5450 { ac_try
='test -z "$ac_f77_werror_flag"
5451 || test ! -s conftest.err'
5452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5456 (exit $ac_status); }; } &&
5457 { ac_try
='test -s conftest.$ac_objext'
5458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5462 (exit $ac_status); }; }; then
5465 echo "$as_me: failed program was:" >&5
5466 sed 's/^/| /' conftest.
$ac_ext >&5
5470 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5471 ac_cv_f77_compiler_gnu
=$ac_compiler_gnu
5474 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5475 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
5477 ac_test_FFLAGS
=${FFLAGS+set}
5478 ac_save_FFLAGS
=$FFLAGS
5480 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5481 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
5482 if test "${ac_cv_prog_f77_g+set}" = set; then
5483 echo $ECHO_N "(cached) $ECHO_C" >&6
5486 cat >conftest.
$ac_ext <<_ACEOF
5491 rm -f conftest.
$ac_objext
5492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5493 (eval $ac_compile) 2>conftest.er1
5495 grep -v '^ *+' conftest.er1
>conftest.err
5497 cat conftest.err
>&5
5498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5499 (exit $ac_status); } &&
5500 { ac_try
='test -z "$ac_f77_werror_flag"
5501 || test ! -s conftest.err'
5502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5506 (exit $ac_status); }; } &&
5507 { ac_try
='test -s conftest.$ac_objext'
5508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5512 (exit $ac_status); }; }; then
5513 ac_cv_prog_f77_g
=yes
5515 echo "$as_me: failed program was:" >&5
5516 sed 's/^/| /' conftest.
$ac_ext >&5
5520 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5523 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5524 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
5525 if test "$ac_test_FFLAGS" = set; then
5526 FFLAGS
=$ac_save_FFLAGS
5527 elif test $ac_cv_prog_f77_g = yes; then
5528 if test "x$ac_cv_f77_compiler_gnu" = xyes
; then
5534 if test "x$ac_cv_f77_compiler_gnu" = xyes
; then
5541 G77
=`test $ac_compiler_gnu = yes && echo yes`
5543 ac_cpp
='$CPP $CPPFLAGS'
5544 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5545 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5546 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5550 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5552 # find the maximum length of command line arguments
5553 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5554 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5555 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5556 echo $ECHO_N "(cached) $ECHO_C" >&6
5563 # On DJGPP, this test can blow up pretty badly due to problems in libc
5564 # (any single argument exceeding 2000 bytes causes a buffer overrun
5565 # during glob expansion). Even if it were fixed, the result of this
5566 # check would be larger than it should be.
5567 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5571 # Under GNU Hurd, this test is not required because there is
5572 # no limit to the length of command line arguments.
5573 # Libtool will interpret -1 as no limit whatsoever
5574 lt_cv_sys_max_cmd_len
=-1;
5578 # On Win9x/ME, this test blows up -- it succeeds, but takes
5579 # about 5 minutes as the teststring grows exponentially.
5580 # Worse, since 9x/ME are not pre-emptively multitasking,
5581 # you end up with a "frozen" computer, even though with patience
5582 # the test eventually succeeds (with a max line length of 256k).
5583 # Instead, let's just punt: use the minimum linelength reported by
5584 # all of the supported platforms: 8192 (on NT/2K/XP).
5585 lt_cv_sys_max_cmd_len
=8192;
5589 # On AmigaOS with pdksh, this test takes hours, literally.
5590 # So we just punt and use a minimum line length of 8192.
5591 lt_cv_sys_max_cmd_len
=8192;
5594 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5595 # This has been around since 386BSD, at least. Likely further.
5596 if test -x /sbin
/sysctl
; then
5597 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5598 elif test -x /usr
/sbin
/sysctl
; then
5599 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5601 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5603 # And add a safety zone
5604 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5605 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5609 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5610 lt_cv_sys_max_cmd_len
=196608
5614 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5615 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5616 # nice to cause kernel panics so lets avoid the loop below.
5617 # First set a reasonable default.
5618 lt_cv_sys_max_cmd_len
=16384
5620 if test -x /sbin
/sysconfig
; then
5621 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5622 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5627 lt_cv_sys_max_cmd_len
=102400
5629 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5630 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5631 if test -n "$kargmax"; then
5632 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5634 lt_cv_sys_max_cmd_len
=32768
5638 # If test is not a shell built-in, we'll probably end up computing a
5639 # maximum length that is only half of the actual maximum length, but
5641 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5642 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
5643 = "XX$teststring") >/dev
/null
2>&1 &&
5644 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
5645 lt_cv_sys_max_cmd_len
=$new_result &&
5646 test $i != 17 # 1/2 MB should be enough
5649 teststring
=$teststring$teststring
5652 # Add a significant safety factor because C++ compilers can tack on massive
5653 # amounts of additional arguments before passing them to the linker.
5654 # It appears as though 1/2 is a usable value.
5655 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5661 if test -n $lt_cv_sys_max_cmd_len ; then
5662 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5663 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5665 echo "$as_me:$LINENO: result: none" >&5
5666 echo "${ECHO_T}none" >&6
5672 # Check for command to grab the raw symbol name followed by C symbol from nm.
5673 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5674 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5675 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5676 echo $ECHO_N "(cached) $ECHO_C" >&6
5679 # These are sane defaults that work on at least a few old systems.
5680 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5682 # Character class describing NM global symbol codes.
5683 symcode
='[BCDEGRST]'
5685 # Regexp to match symbols that can be accessed directly from C.
5686 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
5688 # Transform an extracted symbol line into a proper C declaration
5689 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5691 # Transform an extracted symbol line into symbol name and symbol address
5692 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'"
5694 # Define system-specific variables.
5699 cygwin
* | mingw
* | pw32
*)
5700 symcode
='[ABCDGISTW]'
5702 hpux
*) # Its linker distinguishes data from code symbols
5703 if test "$host_cpu" = ia64
; then
5704 symcode
='[ABCDEGRST]'
5706 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5707 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'"
5710 if test "$host_cpu" = ia64
; then
5711 symcode
='[ABCDGIRSTW]'
5712 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5713 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'"
5717 symcode
='[BCDEGRST]'
5720 symcode
='[BCDEGQRST]'
5731 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
5739 # Handle CRLF in mingw tool chain
5743 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5747 # If we're using GNU nm, then use its standard symbol codes.
5748 case `$NM -V 2>&1` in
5749 *GNU
* |
*'with BFD'*)
5750 symcode
='[ABCDGIRSTW]' ;;
5753 # Try without a prefix undercore, then with it.
5754 for ac_symprfx
in "" "_"; do
5756 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5757 symxfrm
="\\1 $ac_symprfx\\2 \\2"
5759 # Write the raw and C identifiers.
5760 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5762 # Check to see that the pipe works correctly.
5766 cat > conftest.
$ac_ext <<EOF
5771 void nm_test_func(){}
5775 int main(){nm_test_var='a';nm_test_func();return(0);}
5778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5779 (eval $ac_compile) 2>&5
5781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5782 (exit $ac_status); }; then
5783 # Now try to grab the symbols.
5785 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5786 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
5788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5789 (exit $ac_status); } && test -s "$nlist"; then
5790 # Try sorting and uniquifying the output.
5791 if sort "$nlist" |
uniq > "$nlist"T
; then
5792 mv -f "$nlist"T
"$nlist"
5797 # Make sure that we snagged all the symbols we need.
5798 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
5799 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
5800 cat <<EOF > conftest.$ac_ext
5806 # Now generate the symbol file.
5807 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
5809 cat <<EOF >> conftest.$ac_ext
5810 #if defined (__STDC__) && __STDC__
5811 # define lt_ptr_t void *
5813 # define lt_ptr_t char *
5817 /* The mapping between symbol names and symbols. */
5822 lt_preloaded_symbols[] =
5825 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
5826 cat <<\EOF
>> conftest.
$ac_ext
5834 # Now try linking the two files.
5835 mv conftest.
$ac_objext conftstm.
$ac_objext
5836 lt_save_LIBS
="$LIBS"
5837 lt_save_CFLAGS
="$CFLAGS"
5838 LIBS
="conftstm.$ac_objext"
5839 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5841 (eval $ac_link) 2>&5
5843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5844 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
5847 LIBS
="$lt_save_LIBS"
5848 CFLAGS
="$lt_save_CFLAGS"
5850 echo "cannot find nm_test_func in $nlist" >&5
5853 echo "cannot find nm_test_var in $nlist" >&5
5856 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5859 echo "$progname: failed program was:" >&5
5860 cat conftest.
$ac_ext >&5
5862 rm -f conftest
* conftst
*
5864 # Do not use the global_symbol_pipe unless it works.
5865 if test "$pipe_works" = yes; then
5868 lt_cv_sys_global_symbol_pipe
=
5874 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5875 lt_cv_sys_global_symbol_to_cdecl
=
5877 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5878 echo "$as_me:$LINENO: result: failed" >&5
5879 echo "${ECHO_T}failed" >&6
5881 echo "$as_me:$LINENO: result: ok" >&5
5882 echo "${ECHO_T}ok" >&6
5885 echo "$as_me:$LINENO: checking for objdir" >&5
5886 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
5887 if test "${lt_cv_objdir+set}" = set; then
5888 echo $ECHO_N "(cached) $ECHO_C" >&6
5890 rm -f .libs
2>/dev
/null
5891 mkdir .libs
2>/dev
/null
5892 if test -d .libs
; then
5895 # MS-DOS does not allow filenames that begin with a dot.
5898 rmdir .libs
2>/dev
/null
5900 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5901 echo "${ECHO_T}$lt_cv_objdir" >&6
5902 objdir
=$lt_cv_objdir
5910 # AIX sometimes has problems with the GCC collect2 program. For some
5911 # reason, if we set the COLLECT_NAMES environment variable, the problems
5912 # vanish in a puff of smoke.
5913 if test "X${COLLECT_NAMES+set}" != Xset
; then
5915 export COLLECT_NAMES
5920 # Sed substitution that helps us do robust quoting. It backslashifies
5921 # metacharacters that are still active within double-quoted strings.
5922 Xsed
='sed -e 1s/^X//'
5923 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
5925 # Same as above, but do not quote variable references.
5926 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
5928 # Sed substitution to delay expansion of an escaped shell variable in a
5929 # double_quote_subst'ed string.
5930 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5932 # Sed substitution to avoid accidental globbing in evaled expressions
5933 no_glob_subst
='s/\*/\\\*/g'
5939 default_ofile
=libtool
5940 can_build_shared
=yes
5942 # All known linkers require a `.a' archive for static linking (except MSVC,
5943 # which needs '.lib').
5945 ltmain
="$ac_aux_dir/ltmain.sh"
5946 ofile
="$default_ofile"
5947 with_gnu_ld
="$lt_cv_prog_gnu_ld"
5949 if test -n "$ac_tool_prefix"; then
5950 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5951 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5952 echo "$as_me:$LINENO: checking for $ac_word" >&5
5953 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5954 if test "${ac_cv_prog_AR+set}" = set; then
5955 echo $ECHO_N "(cached) $ECHO_C" >&6
5957 if test -n "$AR"; then
5958 ac_cv_prog_AR
="$AR" # Let the user override the test.
5960 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5964 test -z "$as_dir" && as_dir
=.
5965 for ac_exec_ext
in '' $ac_executable_extensions; do
5966 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5967 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5968 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5977 if test -n "$AR"; then
5978 echo "$as_me:$LINENO: result: $AR" >&5
5979 echo "${ECHO_T}$AR" >&6
5981 echo "$as_me:$LINENO: result: no" >&5
5982 echo "${ECHO_T}no" >&6
5986 if test -z "$ac_cv_prog_AR"; then
5988 # Extract the first word of "ar", so it can be a program name with args.
5989 set dummy
ar; ac_word
=$2
5990 echo "$as_me:$LINENO: checking for $ac_word" >&5
5991 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5992 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5993 echo $ECHO_N "(cached) $ECHO_C" >&6
5995 if test -n "$ac_ct_AR"; then
5996 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5998 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6002 test -z "$as_dir" && as_dir
=.
6003 for ac_exec_ext
in '' $ac_executable_extensions; do
6004 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6005 ac_cv_prog_ac_ct_AR
="ar"
6006 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6012 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="false"
6015 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6016 if test -n "$ac_ct_AR"; then
6017 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6018 echo "${ECHO_T}$ac_ct_AR" >&6
6020 echo "$as_me:$LINENO: result: no" >&5
6021 echo "${ECHO_T}no" >&6
6029 if test -n "$ac_tool_prefix"; then
6030 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6031 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6032 echo "$as_me:$LINENO: checking for $ac_word" >&5
6033 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6034 if test "${ac_cv_prog_RANLIB+set}" = set; then
6035 echo $ECHO_N "(cached) $ECHO_C" >&6
6037 if test -n "$RANLIB"; then
6038 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6040 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6044 test -z "$as_dir" && as_dir
=.
6045 for ac_exec_ext
in '' $ac_executable_extensions; do
6046 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6047 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6048 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6056 RANLIB
=$ac_cv_prog_RANLIB
6057 if test -n "$RANLIB"; then
6058 echo "$as_me:$LINENO: result: $RANLIB" >&5
6059 echo "${ECHO_T}$RANLIB" >&6
6061 echo "$as_me:$LINENO: result: no" >&5
6062 echo "${ECHO_T}no" >&6
6066 if test -z "$ac_cv_prog_RANLIB"; then
6067 ac_ct_RANLIB
=$RANLIB
6068 # Extract the first word of "ranlib", so it can be a program name with args.
6069 set dummy ranlib
; ac_word
=$2
6070 echo "$as_me:$LINENO: checking for $ac_word" >&5
6071 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6072 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6073 echo $ECHO_N "(cached) $ECHO_C" >&6
6075 if test -n "$ac_ct_RANLIB"; then
6076 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6078 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6082 test -z "$as_dir" && as_dir
=.
6083 for ac_exec_ext
in '' $ac_executable_extensions; do
6084 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6085 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6086 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6092 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
6095 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6096 if test -n "$ac_ct_RANLIB"; then
6097 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6098 echo "${ECHO_T}$ac_ct_RANLIB" >&6
6100 echo "$as_me:$LINENO: result: no" >&5
6101 echo "${ECHO_T}no" >&6
6104 RANLIB
=$ac_ct_RANLIB
6106 RANLIB
="$ac_cv_prog_RANLIB"
6109 if test -n "$ac_tool_prefix"; then
6110 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6111 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6112 echo "$as_me:$LINENO: checking for $ac_word" >&5
6113 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6114 if test "${ac_cv_prog_STRIP+set}" = set; then
6115 echo $ECHO_N "(cached) $ECHO_C" >&6
6117 if test -n "$STRIP"; then
6118 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6120 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6124 test -z "$as_dir" && as_dir
=.
6125 for ac_exec_ext
in '' $ac_executable_extensions; do
6126 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6127 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6128 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6136 STRIP
=$ac_cv_prog_STRIP
6137 if test -n "$STRIP"; then
6138 echo "$as_me:$LINENO: result: $STRIP" >&5
6139 echo "${ECHO_T}$STRIP" >&6
6141 echo "$as_me:$LINENO: result: no" >&5
6142 echo "${ECHO_T}no" >&6
6146 if test -z "$ac_cv_prog_STRIP"; then
6148 # Extract the first word of "strip", so it can be a program name with args.
6149 set dummy strip
; ac_word
=$2
6150 echo "$as_me:$LINENO: checking for $ac_word" >&5
6151 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6152 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6153 echo $ECHO_N "(cached) $ECHO_C" >&6
6155 if test -n "$ac_ct_STRIP"; then
6156 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6158 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6162 test -z "$as_dir" && as_dir
=.
6163 for ac_exec_ext
in '' $ac_executable_extensions; do
6164 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6165 ac_cv_prog_ac_ct_STRIP
="strip"
6166 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6172 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
6175 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6176 if test -n "$ac_ct_STRIP"; then
6177 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6178 echo "${ECHO_T}$ac_ct_STRIP" >&6
6180 echo "$as_me:$LINENO: result: no" >&5
6181 echo "${ECHO_T}no" >&6
6186 STRIP
="$ac_cv_prog_STRIP"
6191 old_CFLAGS
="$CFLAGS"
6193 # Set sane defaults for various variables
6194 test -z "$AR" && AR
=ar
6195 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6196 test -z "$AS" && AS
=as
6197 test -z "$CC" && CC
=cc
6198 test -z "$LTCC" && LTCC
=$CC
6199 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
6200 test -z "$DLLTOOL" && DLLTOOL
=dlltool
6201 test -z "$LD" && LD
=ld
6202 test -z "$LN_S" && LN_S
="ln -s"
6203 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6204 test -z "$NM" && NM
=nm
6205 test -z "$SED" && SED
=sed
6206 test -z "$OBJDUMP" && OBJDUMP
=objdump
6207 test -z "$RANLIB" && RANLIB
=:
6208 test -z "$STRIP" && STRIP
=:
6209 test -z "$ac_objext" && ac_objext
=o
6211 # Determine commands to create old-style static archives.
6212 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
6213 old_postinstall_cmds
='chmod 644 $oldlib'
6214 old_postuninstall_cmds
=
6216 if test -n "$RANLIB"; then
6219 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6222 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
6225 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6228 for cc_temp
in $compiler""; do
6230 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
6231 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
6236 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6239 # Only perform the check for file, if the check method requires it
6240 case $deplibs_check_method in
6242 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6243 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6244 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6245 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6246 echo $ECHO_N "(cached) $ECHO_C" >&6
6250 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6253 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6254 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6255 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6256 for ac_dir
in $ac_dummy; do
6258 test -z "$ac_dir" && ac_dir
=.
6259 if test -f $ac_dir/${ac_tool_prefix}file; then
6260 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6261 if test -n "$file_magic_test_file"; then
6262 case $deplibs_check_method in
6264 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6265 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6266 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6267 $EGREP "$file_magic_regex" > /dev
/null
; then
6272 *** Warning: the command libtool uses to detect shared libraries,
6273 *** $file_magic_cmd, produces output that libtool cannot recognize.
6274 *** The result is that libtool may fail to recognize shared libraries
6275 *** as such. This will affect the creation of libtool libraries that
6276 *** depend on shared libraries, but programs linked with such libtool
6277 *** libraries will work regardless of this problem. Nevertheless, you
6278 *** may want to report the problem to your system manager and/or to
6279 *** bug-libtool@gnu.org
6289 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6294 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6295 if test -n "$MAGIC_CMD"; then
6296 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6297 echo "${ECHO_T}$MAGIC_CMD" >&6
6299 echo "$as_me:$LINENO: result: no" >&5
6300 echo "${ECHO_T}no" >&6
6303 if test -z "$lt_cv_path_MAGIC_CMD"; then
6304 if test -n "$ac_tool_prefix"; then
6305 echo "$as_me:$LINENO: checking for file" >&5
6306 echo $ECHO_N "checking for file... $ECHO_C" >&6
6307 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6308 echo $ECHO_N "(cached) $ECHO_C" >&6
6312 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6315 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6316 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6317 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6318 for ac_dir
in $ac_dummy; do
6320 test -z "$ac_dir" && ac_dir
=.
6321 if test -f $ac_dir/file; then
6322 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
6323 if test -n "$file_magic_test_file"; then
6324 case $deplibs_check_method in
6326 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6327 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6328 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6329 $EGREP "$file_magic_regex" > /dev
/null
; then
6334 *** Warning: the command libtool uses to detect shared libraries,
6335 *** $file_magic_cmd, produces output that libtool cannot recognize.
6336 *** The result is that libtool may fail to recognize shared libraries
6337 *** as such. This will affect the creation of libtool libraries that
6338 *** depend on shared libraries, but programs linked with such libtool
6339 *** libraries will work regardless of this problem. Nevertheless, you
6340 *** may want to report the problem to your system manager and/or to
6341 *** bug-libtool@gnu.org
6351 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6356 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6357 if test -n "$MAGIC_CMD"; then
6358 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6359 echo "${ECHO_T}$MAGIC_CMD" >&6
6361 echo "$as_me:$LINENO: result: no" >&5
6362 echo "${ECHO_T}no" >&6
6377 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6378 if test "${enable_libtool_lock+set}" = set; then
6379 enableval
="$enable_libtool_lock"
6382 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6385 # Check whether --with-pic or --without-pic was given.
6386 if test "${with_pic+set}" = set; then
6392 test -z "$pic_mode" && pic_mode
=default
6394 # Use C for the default configuration in the libtool script
6398 ac_cpp
='$CPP $CPPFLAGS'
6399 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6400 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6401 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6404 # Source file extension for C test sources.
6407 # Object file extension for compiled C test sources.
6411 # Code to be used in simple compile tests
6412 lt_simple_compile_test_code
="int some_variable = 0;\n"
6414 # Code to be used in simple link tests
6415 lt_simple_link_test_code
='int main(){return(0);}\n'
6418 # If no C compiler was specified, use CC.
6421 # If no C compiler flags were specified, use CFLAGS.
6422 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
6424 # Allow CC to be a program name with arguments.
6428 # save warnings/boilerplate of simple test code
6429 ac_outfile
=conftest.
$ac_objext
6430 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
6431 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
6432 _lt_compiler_boilerplate
=`cat conftest.err`
6435 ac_outfile
=conftest.
$ac_objext
6436 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
6437 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
6438 _lt_linker_boilerplate
=`cat conftest.err`
6443 lt_prog_compiler_no_builtin_flag
=
6445 if test "$GCC" = yes; then
6446 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
6449 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6450 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6451 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6452 echo $ECHO_N "(cached) $ECHO_C" >&6
6454 lt_cv_prog_compiler_rtti_exceptions
=no
6455 ac_outfile
=conftest.
$ac_objext
6456 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6457 lt_compiler_flag
="-fno-rtti -fno-exceptions"
6458 # Insert the option either (1) after the last *FLAGS variable, or
6459 # (2) before a word containing "conftest.", or (3) at the end.
6460 # Note that $ac_compile itself does not contain backslashes and begins
6461 # with a dollar sign (not a hyphen), so the echo should work correctly.
6462 # The option is referenced via a variable to avoid confusing sed.
6463 lt_compile
=`echo "$ac_compile" | $SED \
6464 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6465 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6466 -e 's:$: $lt_compiler_flag:'`
6467 (eval echo "\"\$as_me:6467: $lt_compile\"" >&5)
6468 (eval "$lt_compile" 2>conftest.err
)
6470 cat conftest.err
>&5
6471 echo "$as_me:6471: \$? = $ac_status" >&5
6472 if (exit $ac_status) && test -s "$ac_outfile"; then
6473 # The compiler can only warn and ignore the option if not recognized
6474 # So say no if there are warnings other than the usual output.
6475 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
6476 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
6477 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
6478 lt_cv_prog_compiler_rtti_exceptions
=yes
6484 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6485 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6487 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
6488 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6495 lt_prog_compiler_wl
=
6496 lt_prog_compiler_pic
=
6497 lt_prog_compiler_static
=
6499 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6500 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6502 if test "$GCC" = yes; then
6503 lt_prog_compiler_wl
='-Wl,'
6504 lt_prog_compiler_static
='-static'
6508 # All AIX code is PIC.
6509 if test "$host_cpu" = ia64
; then
6510 # AIX 5 now supports IA64 processor
6511 lt_prog_compiler_static
='-Bstatic'
6516 # FIXME: we need at least 68020 code to build shared libraries, but
6517 # adding the `-m68020' flag to GCC prevents building anything better,
6519 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
6522 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
6523 # PIC is the default for these OSes.
6526 mingw
* | pw32
* | os2
*)
6527 # This hack is so that the source file can tell whether it is being
6528 # built for inclusion in a dll (and should export symbols for example).
6529 lt_prog_compiler_pic
='-DDLL_EXPORT'
6532 darwin
* | rhapsody
*)
6533 # PIC is the default on this platform
6534 # Common symbols not allowed in MH_DYLIB files
6535 lt_prog_compiler_pic
='-fno-common'
6539 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6540 # Instead, we relocate shared libraries at runtime.
6544 # Just because we use GCC doesn't mean we suddenly get shared libraries
6545 # on systems that don't support them.
6546 lt_prog_compiler_can_build_shared
=no
6551 if test -d /usr
/nec
; then
6552 lt_prog_compiler_pic
=-Kconform_pic
6557 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6564 lt_prog_compiler_pic
='-fPIC'
6570 lt_prog_compiler_pic
='-fPIC'
6574 # PORTME Check for flag to pass linker flags through the system compiler.
6577 lt_prog_compiler_wl
='-Wl,'
6578 if test "$host_cpu" = ia64
; then
6579 # AIX 5 now supports IA64 processor
6580 lt_prog_compiler_static
='-Bstatic'
6582 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
6586 # PIC is the default on this platform
6587 # Common symbols not allowed in MH_DYLIB files
6588 case $cc_basename in
6590 lt_prog_compiler_pic
='-qnocommon'
6591 lt_prog_compiler_wl
='-Wl,'
6596 mingw
* | pw32
* | os2
*)
6597 # This hack is so that the source file can tell whether it is being
6598 # built for inclusion in a dll (and should export symbols for example).
6599 lt_prog_compiler_pic
='-DDLL_EXPORT'
6602 hpux9
* | hpux10
* | hpux11
*)
6603 lt_prog_compiler_wl
='-Wl,'
6604 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6611 lt_prog_compiler_pic
='+Z'
6614 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6615 lt_prog_compiler_static
='${wl}-a ${wl}archive'
6618 irix5
* | irix6
* | nonstopux
*)
6619 lt_prog_compiler_wl
='-Wl,'
6620 # PIC (with -KPIC) is the default.
6621 lt_prog_compiler_static
='-non_shared'
6625 lt_prog_compiler_pic
='-KPIC'
6626 lt_prog_compiler_static
='-Bstatic'
6630 case $cc_basename in
6632 lt_prog_compiler_wl
='-Wl,'
6633 lt_prog_compiler_pic
='-KPIC'
6634 lt_prog_compiler_static
='-static'
6636 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
6637 # Portland Group compilers (*not* the Pentium gcc compiler,
6638 # which looks to be a dead project)
6639 lt_prog_compiler_wl
='-Wl,'
6640 lt_prog_compiler_pic
='-fpic'
6641 lt_prog_compiler_static
='-Bstatic'
6644 lt_prog_compiler_wl
='-Wl,'
6645 # All Alpha code is PIC.
6646 lt_prog_compiler_static
='-non_shared'
6651 osf3
* | osf4
* | osf5
*)
6652 lt_prog_compiler_wl
='-Wl,'
6653 # All OSF/1 code is PIC.
6654 lt_prog_compiler_static
='-non_shared'
6658 lt_prog_compiler_pic
='-KPIC'
6659 lt_prog_compiler_static
='-Bstatic'
6660 case $cc_basename in
6662 lt_prog_compiler_wl
='-Qoption ld ';;
6664 lt_prog_compiler_wl
='-Wl,';;
6669 lt_prog_compiler_wl
='-Qoption ld '
6670 lt_prog_compiler_pic
='-PIC'
6671 lt_prog_compiler_static
='-Bstatic'
6674 sysv4 | sysv4.2uw2
* | sysv4.3
*)
6675 lt_prog_compiler_wl
='-Wl,'
6676 lt_prog_compiler_pic
='-KPIC'
6677 lt_prog_compiler_static
='-Bstatic'
6681 if test -d /usr
/nec
;then
6682 lt_prog_compiler_pic
='-Kconform_pic'
6683 lt_prog_compiler_static
='-Bstatic'
6687 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
6688 lt_prog_compiler_wl
='-Wl,'
6689 lt_prog_compiler_pic
='-KPIC'
6690 lt_prog_compiler_static
='-Bstatic'
6694 lt_prog_compiler_wl
='-Wl,'
6695 lt_prog_compiler_can_build_shared
=no
6699 lt_prog_compiler_pic
='-pic'
6700 lt_prog_compiler_static
='-Bstatic'
6704 lt_prog_compiler_can_build_shared
=no
6709 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6710 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6713 # Check to make sure the PIC flag actually works.
6715 if test -n "$lt_prog_compiler_pic"; then
6717 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6718 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6719 if test "${lt_prog_compiler_pic_works+set}" = set; then
6720 echo $ECHO_N "(cached) $ECHO_C" >&6
6722 lt_prog_compiler_pic_works
=no
6723 ac_outfile
=conftest.
$ac_objext
6724 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6725 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
6726 # Insert the option either (1) after the last *FLAGS variable, or
6727 # (2) before a word containing "conftest.", or (3) at the end.
6728 # Note that $ac_compile itself does not contain backslashes and begins
6729 # with a dollar sign (not a hyphen), so the echo should work correctly.
6730 # The option is referenced via a variable to avoid confusing sed.
6731 lt_compile
=`echo "$ac_compile" | $SED \
6732 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6733 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6734 -e 's:$: $lt_compiler_flag:'`
6735 (eval echo "\"\$as_me:6735: $lt_compile\"" >&5)
6736 (eval "$lt_compile" 2>conftest.err
)
6738 cat conftest.err
>&5
6739 echo "$as_me:6739: \$? = $ac_status" >&5
6740 if (exit $ac_status) && test -s "$ac_outfile"; then
6741 # The compiler can only warn and ignore the option if not recognized
6742 # So say no if there are warnings other than the usual output.
6743 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
6744 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
6745 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
6746 lt_prog_compiler_pic_works
=yes
6752 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6753 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6755 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
6756 case $lt_prog_compiler_pic in
6758 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
6761 lt_prog_compiler_pic
=
6762 lt_prog_compiler_can_build_shared
=no
6767 # For platforms which do not support PIC, -DPIC is meaningless:
6769 lt_prog_compiler_pic
=
6772 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
6777 # Check to make sure the static flag actually works.
6779 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
6780 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
6781 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
6782 if test "${lt_prog_compiler_static_works+set}" = set; then
6783 echo $ECHO_N "(cached) $ECHO_C" >&6
6785 lt_prog_compiler_static_works
=no
6786 save_LDFLAGS
="$LDFLAGS"
6787 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
6788 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
6789 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
6790 # The linker can only warn and ignore the option if not recognized
6791 # So say no if there are warnings
6792 if test -s conftest.err
; then
6793 # Append any errors to the config.log.
6794 cat conftest.err
1>&5
6795 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
6796 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
6797 if diff conftest.exp conftest.er2
>/dev
/null
; then
6798 lt_prog_compiler_static_works
=yes
6801 lt_prog_compiler_static_works
=yes
6805 LDFLAGS
="$save_LDFLAGS"
6808 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6809 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6811 if test x
"$lt_prog_compiler_static_works" = xyes
; then
6814 lt_prog_compiler_static
=
6818 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6819 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6820 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6821 echo $ECHO_N "(cached) $ECHO_C" >&6
6823 lt_cv_prog_compiler_c_o
=no
6824 $rm -r conftest
2>/dev
/null
6828 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6830 lt_compiler_flag
="-o out/conftest2.$ac_objext"
6831 # Insert the option either (1) after the last *FLAGS variable, or
6832 # (2) before a word containing "conftest.", or (3) at the end.
6833 # Note that $ac_compile itself does not contain backslashes and begins
6834 # with a dollar sign (not a hyphen), so the echo should work correctly.
6835 lt_compile
=`echo "$ac_compile" | $SED \
6836 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6837 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6838 -e 's:$: $lt_compiler_flag:'`
6839 (eval echo "\"\$as_me:6839: $lt_compile\"" >&5)
6840 (eval "$lt_compile" 2>out
/conftest.err
)
6842 cat out
/conftest.err
>&5
6843 echo "$as_me:6843: \$? = $ac_status" >&5
6844 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
6846 # The compiler can only warn and ignore the option if not recognized
6847 # So say no if there are warnings
6848 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
6849 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
6850 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
6851 lt_cv_prog_compiler_c_o
=yes
6856 # SGI C++ compiler will create directory out/ii_files/ for
6857 # template instantiation
6858 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
6859 $rm out
/* && rmdir out
6865 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6866 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6869 hard_links
="nottested"
6870 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
6871 # do not overwrite the value of need_locks provided by the user
6872 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6873 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
6876 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
6878 ln conftest.a conftest.b
2>&5 || hard_links
=no
6879 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
6880 echo "$as_me:$LINENO: result: $hard_links" >&5
6881 echo "${ECHO_T}$hard_links" >&6
6882 if test "$hard_links" = no
; then
6883 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6884 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6891 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6892 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
6895 allow_undefined_flag
=
6896 enable_shared_with_static_runtimes
=no
6898 archive_expsym_cmds
=
6899 old_archive_From_new_cmds
=
6900 old_archive_from_expsyms_cmds
=
6901 export_dynamic_flag_spec
=
6902 whole_archive_flag_spec
=
6903 thread_safe_flag_spec
=
6904 hardcode_libdir_flag_spec
=
6905 hardcode_libdir_flag_spec_ld
=
6906 hardcode_libdir_separator
=
6909 hardcode_shlibpath_var
=unsupported
6910 link_all_deplibs
=unknown
6911 hardcode_automatic
=no
6914 always_export_symbols
=no
6915 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6916 # include_expsyms should be a list of space-separated symbols to be *always*
6917 # included in the symbol list
6919 # exclude_expsyms can be an extended regexp of symbols to exclude
6920 # it will be wrapped by ` (' and `)$', so one must not match beginning or
6921 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6922 # as well as any symbol that contains `d'.
6923 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
6924 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6925 # platforms (ab)use it in PIC code, but their linkers get confused if
6926 # the symbol is explicitly referenced. Since portable code cannot
6927 # rely on this symbol name, it's probably fine to never include it in
6928 # preloaded symbol tables.
6929 extract_expsyms_cmds
=
6930 # Just being paranoid about ensuring that cc_basename is set.
6931 for cc_temp
in $compiler""; do
6933 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
6934 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
6939 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6942 cygwin
* | mingw
* | pw32
*)
6943 # FIXME: the MSVC++ port hasn't been tested in a loooong time
6944 # When not using gcc, we currently assume that we are using
6945 # Microsoft Visual C++.
6946 if test "$GCC" != yes; then
6951 # we just hope/assume this is gcc and not c89 (= MSVC++)
6960 if test "$with_gnu_ld" = yes; then
6961 # If archive_cmds runs LD, not CC, wlarc should be empty
6964 # Set some defaults for GNU ld with shared library support. These
6965 # are reset later if shared libraries are not supported. Putting them
6966 # here allows them to be overridden if necessary.
6967 runpath_var
=LD_RUN_PATH
6968 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
6969 export_dynamic_flag_spec
='${wl}--export-dynamic'
6970 # ancient GNU ld didn't support --whole-archive et. al.
6971 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
6972 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6974 whole_archive_flag_spec
=
6976 supports_anon_versioning
=no
6977 case `$LD -v 2>/dev/null` in
6978 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
6979 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
6980 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
6981 *\
2.11.
*) ;; # other 2.11 versions
6982 *) supports_anon_versioning
=yes ;;
6985 # See if GNU ld supports shared libraries.
6987 aix3
* | aix4
* | aix5
*)
6988 # On AIX/PPC, the GNU linker is very broken
6989 if test "$host_cpu" != ia64
; then
6993 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
6994 *** to be unable to reliably create shared libraries on AIX.
6995 *** Therefore, libtool is disabling shared libraries support. If you
6996 *** really care for shared libraries, you may want to modify your PATH
6997 *** so that a non-GNU linker is found, and then restart.
7004 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)'
7005 hardcode_libdir_flag_spec
='-L$libdir'
7006 hardcode_minus_L
=yes
7008 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7009 # that the semantics of dynamic libraries on AmigaOS, at least up
7010 # to version 4, is to share data among multiple programs linked
7011 # with the same dynamic library. Since this doesn't match the
7012 # behavior of shared libraries on other platforms, we can't use
7018 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7019 allow_undefined_flag
=unsupported
7020 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7021 # support --undefined. This deserves some investigation. FIXME
7022 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7028 cygwin
* | mingw
* | pw32
*)
7029 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7030 # as there is no search path for DLLs.
7031 hardcode_libdir_flag_spec
='-L$libdir'
7032 allow_undefined_flag
=unsupported
7033 always_export_symbols
=no
7034 enable_shared_with_static_runtimes
=yes
7035 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
7037 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
7038 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7039 # If the export-symbols file already is a .def file (1st line
7040 # is EXPORTS), use it as is; otherwise, prepend...
7041 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7042 cp $export_symbols $output_objdir/$soname.def;
7044 echo EXPORTS > $output_objdir/$soname.def;
7045 cat $export_symbols >> $output_objdir/$soname.def;
7047 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7055 hardcode_shlibpath_var
=no
7056 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7057 export_dynamic_flag_spec
='${wl}-E'
7058 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7059 # Instead, shared libraries are loaded at an image base (0x10000000 by
7060 # default) and relocated if they conflict, which is a slow very memory
7061 # consuming and fragmenting process. To avoid this, we pick a random,
7062 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7063 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7064 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7065 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'
7069 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7071 case $cc_basename,$host_cpu in
7072 pgcc
*) # Portland Group C compiler
7073 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'
7074 tmp_addflag
=' $pic_flag'
7076 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7077 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'
7078 tmp_addflag
=' $pic_flag -Mnomain' ;;
7079 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7080 tmp_addflag
=' -i_dynamic' ;;
7081 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7082 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7083 ifc
* | ifort
*) # Intel Fortran compiler
7084 tmp_addflag
=' -nofor_main' ;;
7086 archive_cmds
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7088 if test $supports_anon_versioning = yes; then
7089 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
7090 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7091 $echo "local: *; };" >> $output_objdir/$libname.ver~
7092 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7100 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7101 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7104 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7105 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7110 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
7114 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7115 *** create shared libraries on Solaris systems. Therefore, libtool
7116 *** is disabling shared libraries support. We urge you to upgrade GNU
7117 *** binutils to release 2.9.1 or newer. Another option is to modify
7118 *** your PATH or compiler configuration so that the native linker is
7119 *** used, and then restart.
7122 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7123 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7124 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7130 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7131 case `$LD -v 2>&1` in
7132 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
7136 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7137 *** reliably create shared libraries on SCO systems. Therefore, libtool
7138 *** is disabling shared libraries support. We urge you to upgrade GNU
7139 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7140 *** your PATH or compiler configuration so that the native linker is
7141 *** used, and then restart.
7146 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7147 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
7148 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
7149 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
7158 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7161 hardcode_shlibpath_var
=no
7165 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7166 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7167 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7174 if test "$ld_shlibs" = no
; then
7176 hardcode_libdir_flag_spec
=
7177 export_dynamic_flag_spec
=
7178 whole_archive_flag_spec
=
7181 # PORTME fill in a description of your system's linker (not GNU ld)
7184 allow_undefined_flag
=unsupported
7185 always_export_symbols
=yes
7186 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'
7187 # Note: this linker hardcodes the directories in LIBPATH if there
7188 # are no directories specified by -L.
7189 hardcode_minus_L
=yes
7190 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7191 # Neither direct hardcoding nor static linking is supported with a
7193 hardcode_direct
=unsupported
7198 if test "$host_cpu" = ia64
; then
7199 # On IA64, the linker does run time linking by default, so we don't
7200 # have to do anything special.
7201 aix_use_runtimelinking
=no
7202 exp_sym_flag
='-Bexport'
7205 # If we're using GNU nm, then we don't want the "-C" option.
7206 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7207 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
7208 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'
7210 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'
7212 aix_use_runtimelinking
=no
7214 # Test if we are trying to use run time linking or normal
7215 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7216 # need to do runtime linking.
7217 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
7218 for ld_flag
in $LDFLAGS; do
7219 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
7220 aix_use_runtimelinking
=yes
7227 exp_sym_flag
='-bexport'
7228 no_entry_flag
='-bnoentry'
7231 # When large executables or shared objects are built, AIX ld can
7232 # have problems creating the table of contents. If linking a library
7233 # or program results in "error TOC overflow" add -mminimal-toc to
7234 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7235 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7239 hardcode_libdir_separator
=':'
7240 link_all_deplibs
=yes
7242 if test "$GCC" = yes; then
7243 case $host_os in aix4.
[012]|aix4.
[012].
*)
7244 # We only want to do this on AIX 4.2 and lower, the check
7245 # below for broken collect2 doesn't work under 4.3+
7246 collect2name
=`${CC} -print-prog-name=collect2`
7247 if test -f "$collect2name" && \
7248 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
7250 # We have reworked collect2
7253 # We have old collect2
7254 hardcode_direct
=unsupported
7255 # It fails to find uninstalled libraries when the uninstalled
7256 # path is not listed in the libpath. Setting hardcode_minus_L
7257 # to unsupported forces relinking
7258 hardcode_minus_L
=yes
7259 hardcode_libdir_flag_spec
='-L$libdir'
7260 hardcode_libdir_separator
=
7264 shared_flag
='-shared'
7265 if test "$aix_use_runtimelinking" = yes; then
7266 shared_flag
="$shared_flag "'${wl}-G'
7270 if test "$host_cpu" = ia64
; then
7271 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7272 # chokes on -Wl,-G. The following line is correct:
7275 if test "$aix_use_runtimelinking" = yes; then
7276 shared_flag
='${wl}-G'
7278 shared_flag
='${wl}-bM:SRE'
7283 # It seems that -bexpall does not export symbols beginning with
7284 # underscore (_), so it is better to generate a list of symbols to export.
7285 always_export_symbols
=yes
7286 if test "$aix_use_runtimelinking" = yes; then
7287 # Warning - without using the other runtime loading flags (-brtl),
7288 # -berok will link without error, but may produce a broken library.
7289 allow_undefined_flag
='-berok'
7290 # Determine the default libpath from the value encoded in an empty executable.
7291 cat >conftest.
$ac_ext <<_ACEOF
7294 cat confdefs.h
>>conftest.
$ac_ext
7295 cat >>conftest.
$ac_ext <<_ACEOF
7296 /* end confdefs.h. */
7306 rm -f conftest.
$ac_objext conftest
$ac_exeext
7307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7308 (eval $ac_link) 2>conftest.er1
7310 grep -v '^ *+' conftest.er1
>conftest.err
7312 cat conftest.err
>&5
7313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7314 (exit $ac_status); } &&
7315 { ac_try
='test -z "$ac_c_werror_flag"
7316 || test ! -s conftest.err'
7317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7321 (exit $ac_status); }; } &&
7322 { ac_try
='test -s conftest$ac_exeext'
7323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7327 (exit $ac_status); }; }; then
7329 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7331 # Check for a 64-bit object if we didn't find anything.
7332 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; }
7335 echo "$as_me: failed program was:" >&5
7336 sed 's/^/| /' conftest.
$ac_ext >&5
7339 rm -f conftest.err conftest.
$ac_objext \
7340 conftest
$ac_exeext conftest.
$ac_ext
7341 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7343 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7344 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"
7346 if test "$host_cpu" = ia64
; then
7347 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
7348 allow_undefined_flag
="-z nodefs"
7349 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"
7351 # Determine the default libpath from the value encoded in an empty executable.
7352 cat >conftest.
$ac_ext <<_ACEOF
7355 cat confdefs.h
>>conftest.
$ac_ext
7356 cat >>conftest.
$ac_ext <<_ACEOF
7357 /* end confdefs.h. */
7367 rm -f conftest.
$ac_objext conftest
$ac_exeext
7368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7369 (eval $ac_link) 2>conftest.er1
7371 grep -v '^ *+' conftest.er1
>conftest.err
7373 cat conftest.err
>&5
7374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7375 (exit $ac_status); } &&
7376 { ac_try
='test -z "$ac_c_werror_flag"
7377 || test ! -s conftest.err'
7378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7382 (exit $ac_status); }; } &&
7383 { ac_try
='test -s conftest$ac_exeext'
7384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7388 (exit $ac_status); }; }; then
7390 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7392 # Check for a 64-bit object if we didn't find anything.
7393 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; }
7396 echo "$as_me: failed program was:" >&5
7397 sed 's/^/| /' conftest.
$ac_ext >&5
7400 rm -f conftest.err conftest.
$ac_objext \
7401 conftest
$ac_exeext conftest.
$ac_ext
7402 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7404 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7405 # Warning - without using the other run time loading flags,
7406 # -berok will link without error, but may produce a broken library.
7407 no_undefined_flag
=' ${wl}-bernotok'
7408 allow_undefined_flag
=' ${wl}-berok'
7409 # Exported symbols can be pulled into shared objects from archives
7410 whole_archive_flag_spec
='$convenience'
7411 archive_cmds_need_lc
=yes
7412 # This is similar to how AIX traditionally builds its shared libraries.
7413 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'
7419 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)'
7420 hardcode_libdir_flag_spec
='-L$libdir'
7421 hardcode_minus_L
=yes
7422 # see comment about different semantics on the GNU ld section
7427 export_dynamic_flag_spec
=-rdynamic
7430 cygwin
* | mingw
* | pw32
*)
7431 # When not using gcc, we currently assume that we are using
7432 # Microsoft Visual C++.
7433 # hardcode_libdir_flag_spec is actually meaningless, as there is
7434 # no search path for DLLs.
7435 hardcode_libdir_flag_spec
=' '
7436 allow_undefined_flag
=unsupported
7437 # Tell ltmain to make .lib files, not .a files.
7439 # Tell ltmain to make .dll files, not .so files.
7441 # FIXME: Setting linknames here is a bad hack.
7442 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
7443 # The linker will automatically build a .lib file if we build a DLL.
7444 old_archive_From_new_cmds
='true'
7445 # FIXME: Should let the user specify the lib program.
7446 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
7447 fix_srcfile_path
='`cygpath -w "$srcfile"`'
7448 enable_shared_with_static_runtimes
=yes
7451 darwin
* | rhapsody
*)
7453 rhapsody
* | darwin1.
[012])
7454 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
7457 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
7458 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7460 case ${MACOSX_DEPLOYMENT_TARGET} in
7462 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7465 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
7471 archive_cmds_need_lc
=no
7473 hardcode_automatic
=yes
7474 hardcode_shlibpath_var
=unsupported
7475 whole_archive_flag_spec
=''
7476 link_all_deplibs
=yes
7477 if test "$GCC" = yes ; then
7478 output_verbose_link_cmd
='echo'
7479 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7480 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7481 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7482 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}'
7483 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}'
7485 case $cc_basename in
7487 output_verbose_link_cmd
='echo'
7488 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
7489 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7490 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7491 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}'
7492 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}'
7502 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7503 hardcode_libdir_flag_spec
='-L$libdir'
7504 hardcode_shlibpath_var
=no
7511 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7512 # support. Future versions do this automatically, but an explicit c++rt0.o
7513 # does not break anything, and helps significantly (at the cost of a little
7516 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7517 hardcode_libdir_flag_spec
='-R$libdir'
7519 hardcode_shlibpath_var
=no
7522 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7524 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7526 hardcode_minus_L
=yes
7527 hardcode_shlibpath_var
=no
7530 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7531 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
7532 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7533 hardcode_libdir_flag_spec
='-R$libdir'
7535 hardcode_shlibpath_var
=no
7539 if test "$GCC" = yes; then
7540 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'
7542 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'
7544 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7545 hardcode_libdir_separator
=:
7548 # hardcode_minus_L: Not really in the search PATH,
7549 # but as the default location of the library.
7550 hardcode_minus_L
=yes
7551 export_dynamic_flag_spec
='${wl}-E'
7555 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7556 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7558 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7560 if test "$with_gnu_ld" = no
; then
7561 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7562 hardcode_libdir_separator
=:
7565 export_dynamic_flag_spec
='${wl}-E'
7567 # hardcode_minus_L: Not really in the search PATH,
7568 # but as the default location of the library.
7569 hardcode_minus_L
=yes
7574 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7577 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7580 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7583 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7589 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7592 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7595 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7599 if test "$with_gnu_ld" = no
; then
7600 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7601 hardcode_libdir_separator
=:
7605 hardcode_libdir_flag_spec_ld
='+b $libdir'
7607 hardcode_shlibpath_var
=no
7611 export_dynamic_flag_spec
='${wl}-E'
7613 # hardcode_minus_L: Not really in the search PATH,
7614 # but as the default location of the library.
7615 hardcode_minus_L
=yes
7621 irix5
* | irix6
* | nonstopux
*)
7622 if test "$GCC" = yes; then
7623 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'
7625 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'
7626 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
7628 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7629 hardcode_libdir_separator
=:
7630 link_all_deplibs
=yes
7634 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7635 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7637 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7639 hardcode_libdir_flag_spec
='-R$libdir'
7641 hardcode_shlibpath_var
=no
7645 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7647 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7648 hardcode_libdir_separator
=:
7649 hardcode_shlibpath_var
=no
7654 hardcode_shlibpath_var
=no
7655 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7656 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7657 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
7658 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7659 export_dynamic_flag_spec
='${wl}-E'
7662 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
7663 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7664 hardcode_libdir_flag_spec
='-R$libdir'
7667 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7668 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7675 hardcode_libdir_flag_spec
='-L$libdir'
7676 hardcode_minus_L
=yes
7677 allow_undefined_flag
=unsupported
7678 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'
7679 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7683 if test "$GCC" = yes; then
7684 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
7685 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
7687 allow_undefined_flag
=' -expect_unresolved \*'
7688 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'
7690 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7691 hardcode_libdir_separator
=:
7694 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
7695 if test "$GCC" = yes; then
7696 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
7697 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'
7698 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7700 allow_undefined_flag
=' -expect_unresolved \*'
7701 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'
7702 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
7703 $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'
7705 # Both c and cxx compiler support -rpath directly
7706 hardcode_libdir_flag_spec
='-rpath $libdir'
7708 hardcode_libdir_separator
=:
7712 no_undefined_flag
=' -z text'
7713 if test "$GCC" = yes; then
7715 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7716 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7717 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
7720 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7721 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7722 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7724 hardcode_libdir_flag_spec
='-R$libdir'
7725 hardcode_shlibpath_var
=no
7727 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
7729 # The compiler driver will combine linker options so we
7730 # cannot just pass the convience library names through
7731 # without $wl, iff we do not link with $LD.
7732 # Luckily, gcc supports the same syntax we need for Sun Studio.
7733 # Supported since Solaris 2.6 (maybe 2.5.1?)
7736 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;;
7738 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' ;;
7741 link_all_deplibs
=yes
7745 if test "x$host_vendor" = xsequent
; then
7746 # Use $CC to link under sequent, because it throws in some extra .o
7747 # files that make .init and .fini sections work.
7748 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7750 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7752 hardcode_libdir_flag_spec
='-L$libdir'
7754 hardcode_minus_L
=yes
7755 hardcode_shlibpath_var
=no
7759 case $host_vendor in
7761 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7762 hardcode_direct
=yes # is this really true???
7765 ## LD is ld it makes a PLAMLIB
7766 ## CC just makes a GrossModule.
7767 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7768 reload_cmds
='$CC -r -o $output$reload_objs'
7772 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7773 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
7776 runpath_var
='LD_RUN_PATH'
7777 hardcode_shlibpath_var
=no
7781 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7782 hardcode_shlibpath_var
=no
7783 export_dynamic_flag_spec
='-Bexport'
7787 if test -d /usr
/nec
; then
7788 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7789 hardcode_shlibpath_var
=no
7790 runpath_var
=LD_RUN_PATH
7791 hardcode_runpath_var
=yes
7796 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
7797 no_undefined_flag
='${wl}-z,text'
7798 archive_cmds_need_lc
=no
7799 hardcode_shlibpath_var
=no
7800 runpath_var
='LD_RUN_PATH'
7802 if test "$GCC" = yes; then
7803 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7804 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7806 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7807 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7811 sysv5
* | sco3.2v5
* | sco5v6
*)
7812 # Note: We can NOT use -z defs as we might desire, because we do not
7813 # link with -lc, and that would cause any symbols used from libc to
7814 # always be unresolved, which means just about no library would
7815 # ever link correctly. If we're not using GNU ld we use -z text
7816 # though, which does catch some bad symbols but isn't as heavy-handed
7818 no_undefined_flag
='${wl}-z,text'
7819 allow_undefined_flag
='${wl}-z,nodefs'
7820 archive_cmds_need_lc
=no
7821 hardcode_shlibpath_var
=no
7822 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
7823 hardcode_libdir_separator
=':'
7824 link_all_deplibs
=yes
7825 export_dynamic_flag_spec
='${wl}-Bexport'
7826 runpath_var
='LD_RUN_PATH'
7828 if test "$GCC" = yes; then
7829 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
7830 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
7832 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
7833 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
7838 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7839 hardcode_libdir_flag_spec
='-L$libdir'
7840 hardcode_shlibpath_var
=no
7849 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7850 echo "${ECHO_T}$ld_shlibs" >&6
7851 test "$ld_shlibs" = no
&& can_build_shared
=no
7854 # Do we need to explicitly link libc?
7856 case "x$archive_cmds_need_lc" in
7858 # Assume -lc should be added
7859 archive_cmds_need_lc
=yes
7861 if test "$enable_shared" = yes && test "$GCC" = yes; then
7862 case $archive_cmds in
7864 # FIXME: we may have to deal with multi-command sequences.
7867 # Test whether the compiler implicitly links with -lc since on some
7868 # systems, -lgcc has to come before -lc. If gcc already passes -lc
7869 # to ld, don't add -lc before -lgcc.
7870 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7871 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
7873 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7876 (eval $ac_compile) 2>&5
7878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7879 (exit $ac_status); } 2>conftest.err
; then
7882 libobjs
=conftest.
$ac_objext
7884 wl
=$lt_prog_compiler_wl
7885 pic_flag
=$lt_prog_compiler_pic
7891 lt_save_allow_undefined_flag
=$allow_undefined_flag
7892 allow_undefined_flag
=
7893 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
7894 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
7896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7897 (exit $ac_status); }
7899 archive_cmds_need_lc
=no
7901 archive_cmds_need_lc
=yes
7903 allow_undefined_flag
=$lt_save_allow_undefined_flag
7905 cat conftest.err
1>&5
7908 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7909 echo "${ECHO_T}$archive_cmds_need_lc" >&6
7916 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7917 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
7919 libname_spec
='lib$name'
7927 shlibpath_overrides_runpath
=unknown
7929 dynamic_linker
="$host_os ld.so"
7930 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
7931 if test "$GCC" = yes; then
7932 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7933 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
7934 # if the path contains ";" then we assume it to be the separator
7935 # otherwise default to the standard path separator (i.e. ":") - it is
7936 # assumed that no part of a normal pathname contains ";" but that should
7937 # okay in the real world where ";" in dirpaths is itself problematic.
7938 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7940 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7943 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
7945 need_lib_prefix
=unknown
7946 hardcode_into_libs
=no
7948 # when you set need_version to no, make sure it does not cause -set_version
7949 # flags to be left without arguments
7950 need_version
=unknown
7955 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
7956 shlibpath_var
=LIBPATH
7958 # AIX 3 has no versioning support, so we append a major version to the name.
7959 soname_spec
='${libname}${release}${shared_ext}$major'
7966 hardcode_into_libs
=yes
7967 if test "$host_cpu" = ia64
; then
7968 # AIX 5 supports IA64
7969 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
7970 shlibpath_var
=LD_LIBRARY_PATH
7972 # With GCC up to 2.95.x, collect2 would create an import file
7973 # for dependence libraries. The import file would start with
7974 # the line `#! .'. This would cause the generated library to
7975 # depend on `.', always an invalid library. This was fixed in
7976 # development snapshots of GCC prior to 3.0.
7978 aix4 | aix4.
[01] | aix4.
[01].
*)
7979 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
7981 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
7988 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
7989 # soname into executable. Probably we can add versioning support to
7990 # collect2, so additional links can be useful in future.
7991 if test "$aix_use_runtimelinking" = yes; then
7992 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
7993 # instead of lib<name>.a to let people know that these are not
7994 # typical AIX shared libraries.
7995 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7997 # We preserve .a as extension for shared libraries through AIX4.2
7998 # and later when we are not doing run time linking.
7999 library_names_spec
='${libname}${release}.a $libname.a'
8000 soname_spec
='${libname}${release}${shared_ext}$major'
8002 shlibpath_var
=LIBPATH
8007 library_names_spec
='$libname.ixlibrary $libname.a'
8008 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8009 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'
8013 library_names_spec
='${libname}${shared_ext}'
8014 dynamic_linker
="$host_os ld.so"
8015 shlibpath_var
=LIBRARY_PATH
8021 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8022 soname_spec
='${libname}${release}${shared_ext}$major'
8023 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8024 shlibpath_var
=LD_LIBRARY_PATH
8025 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8026 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8027 # the default ld.so.conf also contains /usr/contrib/lib and
8028 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8029 # libtool to hard-code these into programs
8032 cygwin
* | mingw
* | pw32
*)
8033 version_type
=windows
8038 case $GCC,$host_os in
8039 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
8040 library_names_spec
='$libname.dll.a'
8041 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8042 postinstall_cmds
='base_file=`basename \${file}`~
8043 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
8044 dldir=$destdir/`dirname \$dlpath`~
8045 test -d \$dldir || mkdir -p \$dldir~
8046 $install_prog $dir/$dlname \$dldir/$dlname~
8047 chmod a+x \$dldir/$dlname'
8048 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8049 dlpath=$dir/\$dldll~
8051 shlibpath_overrides_runpath
=yes
8055 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8056 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8057 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8060 # MinGW DLLs use traditional 'lib' prefix
8061 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8062 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8063 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
8064 # It is most probably a Windows format PATH printed by
8065 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8066 # path with ; separators, and with drive letters. We can handle the
8067 # drive letters (cygwin fileutils understands them), so leave them,
8068 # especially as we might pass files found there to a mingw objdump,
8069 # which wouldn't understand a cygwinified path. Ahh.
8070 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8072 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8076 # pw32 DLLs use 'pw' prefix rather than 'lib'
8077 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8083 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8086 dynamic_linker
='Win32 ld.exe'
8087 # FIXME: first we should search . and the directory the executable is in
8091 darwin
* | rhapsody
*)
8092 dynamic_linker
="$host_os dyld"
8096 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8097 soname_spec
='${libname}${release}${major}$shared_ext'
8098 shlibpath_overrides_runpath
=yes
8099 shlibpath_var
=DYLD_LIBRARY_PATH
8100 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8101 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
8102 if test "$GCC" = yes; then
8103 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"`
8105 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
8107 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8114 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8115 soname_spec
='${libname}${release}${shared_ext}$major'
8116 shlibpath_var
=LD_LIBRARY_PATH
8127 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8128 soname_spec
='${libname}${release}${shared_ext}$major'
8129 shlibpath_var
=LD_LIBRARY_PATH
8130 shlibpath_overrides_runpath
=no
8131 hardcode_into_libs
=yes
8132 dynamic_linker
='GNU ld.so'
8135 freebsd
* | dragonfly
*)
8136 # DragonFly does not have aout. When/if they implement a new
8137 # versioning mechanism, adjust this.
8138 if test -x /usr
/bin
/objformat
; then
8139 objformat
=`/usr/bin/objformat`
8142 freebsd
[123]*) objformat
=aout
;;
8146 version_type
=freebsd-
$objformat
8147 case $version_type in
8149 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8154 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8158 shlibpath_var
=LD_LIBRARY_PATH
8161 shlibpath_overrides_runpath
=yes
8163 freebsd3.
[01]* | freebsdelf3.
[01]*)
8164 shlibpath_overrides_runpath
=yes
8165 hardcode_into_libs
=yes
8167 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
8168 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
8169 shlibpath_overrides_runpath
=no
8170 hardcode_into_libs
=yes
8172 freebsd
*) # from 4.6 on
8173 shlibpath_overrides_runpath
=yes
8174 hardcode_into_libs
=yes
8183 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8184 soname_spec
='${libname}${release}${shared_ext}$major'
8185 shlibpath_var
=LD_LIBRARY_PATH
8186 hardcode_into_libs
=yes
8189 hpux9
* | hpux10
* | hpux11
*)
8190 # Give a soname corresponding to the major version so that dld.sl refuses to
8191 # link against other versions.
8198 hardcode_into_libs
=yes
8199 dynamic_linker
="$host_os dld.so"
8200 shlibpath_var
=LD_LIBRARY_PATH
8201 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8202 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8203 soname_spec
='${libname}${release}${shared_ext}$major'
8204 if test "X$HPUX_IA64_MODE" = X32
; then
8205 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8207 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8209 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8213 hardcode_into_libs
=yes
8214 dynamic_linker
="$host_os dld.sl"
8215 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8216 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8217 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8218 soname_spec
='${libname}${release}${shared_ext}$major'
8219 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8220 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8224 dynamic_linker
="$host_os dld.sl"
8225 shlibpath_var
=SHLIB_PATH
8226 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
8227 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8228 soname_spec
='${libname}${release}${shared_ext}$major'
8231 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8232 postinstall_cmds
='chmod 555 $lib'
8239 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8240 soname_spec
='${libname}${release}${shared_ext}$major'
8241 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
8242 shlibpath_var
=LD_LIBRARY_PATH
8243 shlibpath_overrides_runpath
=no
8244 hardcode_into_libs
=yes
8247 irix5
* | irix6
* | nonstopux
*)
8249 nonstopux
*) version_type
=nonstopux
;;
8251 if test "$lt_cv_prog_gnu_ld" = yes; then
8259 soname_spec
='${libname}${release}${shared_ext}$major'
8260 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8262 irix5
* | nonstopux
*)
8266 case $LD in # libtool.m4 will add one of these switches to LD
8267 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
8268 libsuff
= shlibsuff
= libmagic
=32-bit;;
8269 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
8270 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
8271 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
8272 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
8273 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
8277 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
8278 shlibpath_overrides_runpath
=no
8279 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8280 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
8281 hardcode_into_libs
=yes
8284 # No shared lib support for Linux oldld, aout, or coff.
8285 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
8289 # This must be Linux ELF.
8294 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8295 soname_spec
='${libname}${release}${shared_ext}$major'
8296 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8297 shlibpath_var
=LD_LIBRARY_PATH
8298 shlibpath_overrides_runpath
=no
8299 # This implies no fast_install, which is unacceptable.
8300 # Some rework will be needed to allow for fast_install
8301 # before this can be enabled.
8302 hardcode_into_libs
=yes
8304 # find out which ABI we are using
8307 x86_64
*|s390x
*|powerpc64
*)
8308 echo '#line 8308 "configure"' > conftest.
$ac_ext
8309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8310 (eval $ac_compile) 2>&5
8312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8313 (exit $ac_status); }; then
8314 case `/usr/bin/file conftest.$ac_objext` in
8317 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
8325 # Append ld.so.conf contents to the search path
8326 if test -f /etc
/ld.so.conf
; then
8327 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' ' '`
8328 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
8331 # We used to test for /lib/ld.so.1 and disable shared libraries on
8332 # powerpc, because MkLinux only supported shared libraries with the
8333 # GNU dynamic linker. Since this was broken with cross compilers,
8334 # most powerpc-linux boxes support dynamic linking these days and
8335 # people can always --disable-shared, the test was removed, and we
8336 # assume the GNU/Linux dynamic linker is in use.
8337 dynamic_linker
='GNU/Linux ld.so'
8344 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8345 soname_spec
='${libname}${release}${shared_ext}$major'
8346 shlibpath_var
=LD_LIBRARY_PATH
8347 shlibpath_overrides_runpath
=no
8348 hardcode_into_libs
=yes
8349 dynamic_linker
='GNU ld.so'
8356 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8357 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8358 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8359 dynamic_linker
='NetBSD (a.out) ld.so'
8361 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8362 soname_spec
='${libname}${release}${shared_ext}$major'
8363 dynamic_linker
='NetBSD ld.elf_so'
8365 shlibpath_var
=LD_LIBRARY_PATH
8366 shlibpath_overrides_runpath
=yes
8367 hardcode_into_libs
=yes
8372 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8373 shlibpath_var
=LD_LIBRARY_PATH
8374 shlibpath_overrides_runpath
=yes
8381 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8382 soname_spec
='${libname}${release}${shared_ext}$major'
8383 shlibpath_var
=LD_LIBRARY_PATH
8384 shlibpath_overrides_runpath
=yes
8389 sys_lib_dlsearch_path_spec
="/usr/lib"
8391 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
8393 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
8394 *) need_version
=no
;;
8396 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8397 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8398 shlibpath_var
=LD_LIBRARY_PATH
8399 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8401 openbsd2.
[89] | openbsd2.
[89].
*)
8402 shlibpath_overrides_runpath
=no
8405 shlibpath_overrides_runpath
=yes
8409 shlibpath_overrides_runpath
=yes
8414 libname_spec
='$name'
8417 library_names_spec
='$libname${shared_ext} $libname.a'
8418 dynamic_linker
='OS/2 ld.exe'
8419 shlibpath_var
=LIBPATH
8422 osf3
* | osf4
* | osf5
*)
8426 soname_spec
='${libname}${release}${shared_ext}$major'
8427 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8428 shlibpath_var
=LD_LIBRARY_PATH
8429 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
8430 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
8437 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8438 soname_spec
='${libname}${release}${shared_ext}$major'
8439 shlibpath_var
=LD_LIBRARY_PATH
8440 shlibpath_overrides_runpath
=yes
8441 hardcode_into_libs
=yes
8442 # ldd complains unless libraries are executable
8443 postinstall_cmds
='chmod +x $lib'
8448 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8449 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
8450 shlibpath_var
=LD_LIBRARY_PATH
8451 shlibpath_overrides_runpath
=yes
8452 if test "$with_gnu_ld" = yes; then
8460 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8461 soname_spec
='${libname}${release}${shared_ext}$major'
8462 shlibpath_var
=LD_LIBRARY_PATH
8463 case $host_vendor in
8465 shlibpath_overrides_runpath
=no
8467 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8468 runpath_var
=LD_RUN_PATH
8476 shlibpath_overrides_runpath
=no
8477 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
8483 if test -d /usr
/nec
;then
8485 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8486 soname_spec
='$libname${shared_ext}.$major'
8487 shlibpath_var
=LD_LIBRARY_PATH
8491 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
8492 version_type
=freebsd-elf
8495 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8496 soname_spec
='${libname}${release}${shared_ext}$major'
8497 shlibpath_var
=LD_LIBRARY_PATH
8498 hardcode_into_libs
=yes
8499 if test "$with_gnu_ld" = yes; then
8500 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
8501 shlibpath_overrides_runpath
=no
8503 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
8504 shlibpath_overrides_runpath
=yes
8507 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
8511 sys_lib_dlsearch_path_spec
='/usr/lib'
8516 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8517 soname_spec
='${libname}${release}${shared_ext}$major'
8518 shlibpath_var
=LD_LIBRARY_PATH
8525 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8526 echo "${ECHO_T}$dynamic_linker" >&6
8527 test "$dynamic_linker" = no
&& can_build_shared
=no
8529 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
8530 if test "$GCC" = yes; then
8531 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
8534 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
8535 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
8537 if test -n "$hardcode_libdir_flag_spec" || \
8538 test -n "$runpath_var" || \
8539 test "X$hardcode_automatic" = "Xyes" ; then
8541 # We can hardcode non-existant directories.
8542 if test "$hardcode_direct" != no
&&
8543 # If the only mechanism to avoid hardcoding is shlibpath_var, we
8544 # have to relink, otherwise we might link with an installed library
8545 # when we should be linking with a yet-to-be-installed one
8546 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
8547 test "$hardcode_minus_L" != no
; then
8548 # Linking always hardcodes the temporary library directory.
8549 hardcode_action
=relink
8551 # We can link without hardcoding, and we can hardcode nonexisting dirs.
8552 hardcode_action
=immediate
8555 # We cannot hardcode anything, or else we can only hardcode existing
8557 hardcode_action
=unsupported
8559 echo "$as_me:$LINENO: result: $hardcode_action" >&5
8560 echo "${ECHO_T}$hardcode_action" >&6
8562 if test "$hardcode_action" = relink
; then
8563 # Fast installation is not supported
8564 enable_fast_install
=no
8565 elif test "$shlibpath_overrides_runpath" = yes ||
8566 test "$enable_shared" = no
; then
8567 # Fast installation is not necessary
8568 enable_fast_install
=needless
8573 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
8574 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
8575 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
8576 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
8577 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
8578 echo "$as_me:$LINENO: result: yes" >&5
8579 echo "${ECHO_T}yes" >&6
8581 # FIXME - insert some real tests, host_os isn't really good enough
8584 if test -n "$STRIP" ; then
8585 striplib
="$STRIP -x"
8586 echo "$as_me:$LINENO: result: yes" >&5
8587 echo "${ECHO_T}yes" >&6
8589 echo "$as_me:$LINENO: result: no" >&5
8590 echo "${ECHO_T}no" >&6
8594 echo "$as_me:$LINENO: result: no" >&5
8595 echo "${ECHO_T}no" >&6
8600 if test "x$enable_dlopen" != xyes
; then
8601 enable_dlopen
=unknown
8602 enable_dlopen_self
=unknown
8603 enable_dlopen_self_static
=unknown
8610 lt_cv_dlopen
="load_add_on"
8612 lt_cv_dlopen_self
=yes
8616 lt_cv_dlopen
="LoadLibrary"
8621 lt_cv_dlopen
="dlopen"
8626 # if libdl is installed we need to link against it
8627 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8628 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8629 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8630 echo $ECHO_N "(cached) $ECHO_C" >&6
8632 ac_check_lib_save_LIBS
=$LIBS
8634 cat >conftest.
$ac_ext <<_ACEOF
8637 cat confdefs.h
>>conftest.
$ac_ext
8638 cat >>conftest.
$ac_ext <<_ACEOF
8639 /* end confdefs.h. */
8641 /* Override any gcc2 internal prototype to avoid an error. */
8645 /* We use char because int might match the return type of a gcc2
8646 builtin and then its argument prototype would still apply. */
8656 rm -f conftest.
$ac_objext conftest
$ac_exeext
8657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8658 (eval $ac_link) 2>conftest.er1
8660 grep -v '^ *+' conftest.er1
>conftest.err
8662 cat conftest.err
>&5
8663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8664 (exit $ac_status); } &&
8665 { ac_try
='test -z "$ac_c_werror_flag"
8666 || test ! -s conftest.err'
8667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8671 (exit $ac_status); }; } &&
8672 { ac_try
='test -s conftest$ac_exeext'
8673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8677 (exit $ac_status); }; }; then
8678 ac_cv_lib_dl_dlopen
=yes
8680 echo "$as_me: failed program was:" >&5
8681 sed 's/^/| /' conftest.
$ac_ext >&5
8683 ac_cv_lib_dl_dlopen
=no
8685 rm -f conftest.err conftest.
$ac_objext \
8686 conftest
$ac_exeext conftest.
$ac_ext
8687 LIBS
=$ac_check_lib_save_LIBS
8689 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8690 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8691 if test $ac_cv_lib_dl_dlopen = yes; then
8692 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
8697 lt_cv_dlopen_self
=yes
8704 echo "$as_me:$LINENO: checking for shl_load" >&5
8705 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
8706 if test "${ac_cv_func_shl_load+set}" = set; then
8707 echo $ECHO_N "(cached) $ECHO_C" >&6
8709 cat >conftest.
$ac_ext <<_ACEOF
8712 cat confdefs.h
>>conftest.
$ac_ext
8713 cat >>conftest.
$ac_ext <<_ACEOF
8714 /* end confdefs.h. */
8715 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
8716 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8717 #define shl_load innocuous_shl_load
8719 /* System header to define __stub macros and hopefully few prototypes,
8720 which can conflict with char shl_load (); below.
8721 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8722 <limits.h> exists even on freestanding compilers. */
8725 # include <limits.h>
8727 # include <assert.h>
8732 /* Override any gcc2 internal prototype to avoid an error. */
8737 /* We use char because int might match the return type of a gcc2
8738 builtin and then its argument prototype would still apply. */
8740 /* The GNU C library defines this for functions which it implements
8741 to always fail with ENOSYS. Some functions are actually named
8742 something starting with __ and the normal name is an alias. */
8743 #if defined (__stub_shl_load) || defined (__stub___shl_load)
8746 char (*f) () = shl_load;
8755 return f != shl_load;
8760 rm -f conftest.
$ac_objext conftest
$ac_exeext
8761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8762 (eval $ac_link) 2>conftest.er1
8764 grep -v '^ *+' conftest.er1
>conftest.err
8766 cat conftest.err
>&5
8767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8768 (exit $ac_status); } &&
8769 { ac_try
='test -z "$ac_c_werror_flag"
8770 || test ! -s conftest.err'
8771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8775 (exit $ac_status); }; } &&
8776 { ac_try
='test -s conftest$ac_exeext'
8777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8781 (exit $ac_status); }; }; then
8782 ac_cv_func_shl_load
=yes
8784 echo "$as_me: failed program was:" >&5
8785 sed 's/^/| /' conftest.
$ac_ext >&5
8787 ac_cv_func_shl_load
=no
8789 rm -f conftest.err conftest.
$ac_objext \
8790 conftest
$ac_exeext conftest.
$ac_ext
8792 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8793 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
8794 if test $ac_cv_func_shl_load = yes; then
8795 lt_cv_dlopen
="shl_load"
8797 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8798 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
8799 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8800 echo $ECHO_N "(cached) $ECHO_C" >&6
8802 ac_check_lib_save_LIBS
=$LIBS
8804 cat >conftest.
$ac_ext <<_ACEOF
8807 cat confdefs.h
>>conftest.
$ac_ext
8808 cat >>conftest.
$ac_ext <<_ACEOF
8809 /* end confdefs.h. */
8811 /* Override any gcc2 internal prototype to avoid an error. */
8815 /* We use char because int might match the return type of a gcc2
8816 builtin and then its argument prototype would still apply. */
8826 rm -f conftest.
$ac_objext conftest
$ac_exeext
8827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8828 (eval $ac_link) 2>conftest.er1
8830 grep -v '^ *+' conftest.er1
>conftest.err
8832 cat conftest.err
>&5
8833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8834 (exit $ac_status); } &&
8835 { ac_try
='test -z "$ac_c_werror_flag"
8836 || test ! -s conftest.err'
8837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8841 (exit $ac_status); }; } &&
8842 { ac_try
='test -s conftest$ac_exeext'
8843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8847 (exit $ac_status); }; }; then
8848 ac_cv_lib_dld_shl_load
=yes
8850 echo "$as_me: failed program was:" >&5
8851 sed 's/^/| /' conftest.
$ac_ext >&5
8853 ac_cv_lib_dld_shl_load
=no
8855 rm -f conftest.err conftest.
$ac_objext \
8856 conftest
$ac_exeext conftest.
$ac_ext
8857 LIBS
=$ac_check_lib_save_LIBS
8859 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8860 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
8861 if test $ac_cv_lib_dld_shl_load = yes; then
8862 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
8864 echo "$as_me:$LINENO: checking for dlopen" >&5
8865 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
8866 if test "${ac_cv_func_dlopen+set}" = set; then
8867 echo $ECHO_N "(cached) $ECHO_C" >&6
8869 cat >conftest.
$ac_ext <<_ACEOF
8872 cat confdefs.h
>>conftest.
$ac_ext
8873 cat >>conftest.
$ac_ext <<_ACEOF
8874 /* end confdefs.h. */
8875 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
8876 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8877 #define dlopen innocuous_dlopen
8879 /* System header to define __stub macros and hopefully few prototypes,
8880 which can conflict with char dlopen (); below.
8881 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8882 <limits.h> exists even on freestanding compilers. */
8885 # include <limits.h>
8887 # include <assert.h>
8892 /* Override any gcc2 internal prototype to avoid an error. */
8897 /* We use char because int might match the return type of a gcc2
8898 builtin and then its argument prototype would still apply. */
8900 /* The GNU C library defines this for functions which it implements
8901 to always fail with ENOSYS. Some functions are actually named
8902 something starting with __ and the normal name is an alias. */
8903 #if defined (__stub_dlopen) || defined (__stub___dlopen)
8906 char (*f) () = dlopen;
8920 rm -f conftest.
$ac_objext conftest
$ac_exeext
8921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8922 (eval $ac_link) 2>conftest.er1
8924 grep -v '^ *+' conftest.er1
>conftest.err
8926 cat conftest.err
>&5
8927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8928 (exit $ac_status); } &&
8929 { ac_try
='test -z "$ac_c_werror_flag"
8930 || test ! -s conftest.err'
8931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8935 (exit $ac_status); }; } &&
8936 { ac_try
='test -s conftest$ac_exeext'
8937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8941 (exit $ac_status); }; }; then
8942 ac_cv_func_dlopen
=yes
8944 echo "$as_me: failed program was:" >&5
8945 sed 's/^/| /' conftest.
$ac_ext >&5
8947 ac_cv_func_dlopen
=no
8949 rm -f conftest.err conftest.
$ac_objext \
8950 conftest
$ac_exeext conftest.
$ac_ext
8952 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8953 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
8954 if test $ac_cv_func_dlopen = yes; then
8955 lt_cv_dlopen
="dlopen"
8957 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8958 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8959 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8960 echo $ECHO_N "(cached) $ECHO_C" >&6
8962 ac_check_lib_save_LIBS
=$LIBS
8964 cat >conftest.
$ac_ext <<_ACEOF
8967 cat confdefs.h
>>conftest.
$ac_ext
8968 cat >>conftest.
$ac_ext <<_ACEOF
8969 /* end confdefs.h. */
8971 /* Override any gcc2 internal prototype to avoid an error. */
8975 /* We use char because int might match the return type of a gcc2
8976 builtin and then its argument prototype would still apply. */
8986 rm -f conftest.
$ac_objext conftest
$ac_exeext
8987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8988 (eval $ac_link) 2>conftest.er1
8990 grep -v '^ *+' conftest.er1
>conftest.err
8992 cat conftest.err
>&5
8993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8994 (exit $ac_status); } &&
8995 { ac_try
='test -z "$ac_c_werror_flag"
8996 || test ! -s conftest.err'
8997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9001 (exit $ac_status); }; } &&
9002 { ac_try
='test -s conftest$ac_exeext'
9003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9007 (exit $ac_status); }; }; then
9008 ac_cv_lib_dl_dlopen
=yes
9010 echo "$as_me: failed program was:" >&5
9011 sed 's/^/| /' conftest.
$ac_ext >&5
9013 ac_cv_lib_dl_dlopen
=no
9015 rm -f conftest.err conftest.
$ac_objext \
9016 conftest
$ac_exeext conftest.
$ac_ext
9017 LIBS
=$ac_check_lib_save_LIBS
9019 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9020 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9021 if test $ac_cv_lib_dl_dlopen = yes; then
9022 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9024 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9025 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
9026 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9027 echo $ECHO_N "(cached) $ECHO_C" >&6
9029 ac_check_lib_save_LIBS
=$LIBS
9031 cat >conftest.
$ac_ext <<_ACEOF
9034 cat confdefs.h
>>conftest.
$ac_ext
9035 cat >>conftest.
$ac_ext <<_ACEOF
9036 /* end confdefs.h. */
9038 /* Override any gcc2 internal prototype to avoid an error. */
9042 /* We use char because int might match the return type of a gcc2
9043 builtin and then its argument prototype would still apply. */
9053 rm -f conftest.
$ac_objext conftest
$ac_exeext
9054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9055 (eval $ac_link) 2>conftest.er1
9057 grep -v '^ *+' conftest.er1
>conftest.err
9059 cat conftest.err
>&5
9060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9061 (exit $ac_status); } &&
9062 { ac_try
='test -z "$ac_c_werror_flag"
9063 || test ! -s conftest.err'
9064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9068 (exit $ac_status); }; } &&
9069 { ac_try
='test -s conftest$ac_exeext'
9070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9074 (exit $ac_status); }; }; then
9075 ac_cv_lib_svld_dlopen
=yes
9077 echo "$as_me: failed program was:" >&5
9078 sed 's/^/| /' conftest.
$ac_ext >&5
9080 ac_cv_lib_svld_dlopen
=no
9082 rm -f conftest.err conftest.
$ac_objext \
9083 conftest
$ac_exeext conftest.
$ac_ext
9084 LIBS
=$ac_check_lib_save_LIBS
9086 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9087 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
9088 if test $ac_cv_lib_svld_dlopen = yes; then
9089 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9091 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9092 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
9093 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9094 echo $ECHO_N "(cached) $ECHO_C" >&6
9096 ac_check_lib_save_LIBS
=$LIBS
9098 cat >conftest.
$ac_ext <<_ACEOF
9101 cat confdefs.h
>>conftest.
$ac_ext
9102 cat >>conftest.
$ac_ext <<_ACEOF
9103 /* end confdefs.h. */
9105 /* Override any gcc2 internal prototype to avoid an error. */
9109 /* We use char because int might match the return type of a gcc2
9110 builtin and then its argument prototype would still apply. */
9120 rm -f conftest.
$ac_objext conftest
$ac_exeext
9121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9122 (eval $ac_link) 2>conftest.er1
9124 grep -v '^ *+' conftest.er1
>conftest.err
9126 cat conftest.err
>&5
9127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9128 (exit $ac_status); } &&
9129 { ac_try
='test -z "$ac_c_werror_flag"
9130 || test ! -s conftest.err'
9131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9135 (exit $ac_status); }; } &&
9136 { ac_try
='test -s conftest$ac_exeext'
9137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9141 (exit $ac_status); }; }; then
9142 ac_cv_lib_dld_dld_link
=yes
9144 echo "$as_me: failed program was:" >&5
9145 sed 's/^/| /' conftest.
$ac_ext >&5
9147 ac_cv_lib_dld_dld_link
=no
9149 rm -f conftest.err conftest.
$ac_objext \
9150 conftest
$ac_exeext conftest.
$ac_ext
9151 LIBS
=$ac_check_lib_save_LIBS
9153 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9154 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
9155 if test $ac_cv_lib_dld_dld_link = yes; then
9156 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
9177 if test "x$lt_cv_dlopen" != xno
; then
9183 case $lt_cv_dlopen in
9185 save_CPPFLAGS
="$CPPFLAGS"
9186 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
9188 save_LDFLAGS
="$LDFLAGS"
9189 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
9192 LIBS
="$lt_cv_dlopen_libs $LIBS"
9194 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9195 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
9196 if test "${lt_cv_dlopen_self+set}" = set; then
9197 echo $ECHO_N "(cached) $ECHO_C" >&6
9199 if test "$cross_compiling" = yes; then :
9200 lt_cv_dlopen_self
=cross
9202 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9203 lt_status
=$lt_dlunknown
9204 cat > conftest.
$ac_ext <<EOF
9205 #line 9205 "configure"
9206 #include "confdefs.h"
9215 # define LT_DLGLOBAL RTLD_GLOBAL
9218 # define LT_DLGLOBAL DL_GLOBAL
9220 # define LT_DLGLOBAL 0
9224 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9225 find out it does not work in some platform. */
9226 #ifndef LT_DLLAZY_OR_NOW
9228 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9231 # define LT_DLLAZY_OR_NOW DL_LAZY
9234 # define LT_DLLAZY_OR_NOW RTLD_NOW
9237 # define LT_DLLAZY_OR_NOW DL_NOW
9239 # define LT_DLLAZY_OR_NOW 0
9247 extern "C" void exit (int);
9250 void fnord() { int i=42;}
9253 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9254 int status = $lt_dlunknown;
9258 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9259 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9260 /* dlclose (self); */
9268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9269 (eval $ac_link) 2>&5
9271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9272 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9273 (.
/conftest
; exit; ) >&5 2>/dev
/null
9276 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
9277 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
9278 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
9281 # compilation failed
9282 lt_cv_dlopen_self
=no
9289 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9290 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
9292 if test "x$lt_cv_dlopen_self" = xyes
; then
9293 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
9294 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9295 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
9296 if test "${lt_cv_dlopen_self_static+set}" = set; then
9297 echo $ECHO_N "(cached) $ECHO_C" >&6
9299 if test "$cross_compiling" = yes; then :
9300 lt_cv_dlopen_self_static
=cross
9302 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9303 lt_status
=$lt_dlunknown
9304 cat > conftest.
$ac_ext <<EOF
9305 #line 9305 "configure"
9306 #include "confdefs.h"
9315 # define LT_DLGLOBAL RTLD_GLOBAL
9318 # define LT_DLGLOBAL DL_GLOBAL
9320 # define LT_DLGLOBAL 0
9324 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9325 find out it does not work in some platform. */
9326 #ifndef LT_DLLAZY_OR_NOW
9328 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9331 # define LT_DLLAZY_OR_NOW DL_LAZY
9334 # define LT_DLLAZY_OR_NOW RTLD_NOW
9337 # define LT_DLLAZY_OR_NOW DL_NOW
9339 # define LT_DLLAZY_OR_NOW 0
9347 extern "C" void exit (int);
9350 void fnord() { int i=42;}
9353 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9354 int status = $lt_dlunknown;
9358 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9359 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9360 /* dlclose (self); */
9368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9369 (eval $ac_link) 2>&5
9371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9372 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9373 (.
/conftest
; exit; ) >&5 2>/dev
/null
9376 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
9377 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
9378 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
9381 # compilation failed
9382 lt_cv_dlopen_self_static
=no
9389 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
9390 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
9393 CPPFLAGS
="$save_CPPFLAGS"
9394 LDFLAGS
="$save_LDFLAGS"
9399 case $lt_cv_dlopen_self in
9400 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
9401 *) enable_dlopen_self
=unknown
;;
9404 case $lt_cv_dlopen_self_static in
9405 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
9406 *) enable_dlopen_self_static
=unknown
;;
9411 # Report which library types will actually be built
9412 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9413 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
9414 echo "$as_me:$LINENO: result: $can_build_shared" >&5
9415 echo "${ECHO_T}$can_build_shared" >&6
9417 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9418 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
9419 test "$can_build_shared" = "no" && enable_shared
=no
9421 # On AIX, shared libraries and static libraries use the same namespace, and
9422 # are all built from PIC.
9425 test "$enable_shared" = yes && enable_static
=no
9426 if test -n "$RANLIB"; then
9427 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
9428 postinstall_cmds
='$RANLIB $lib'
9433 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
9434 test "$enable_shared" = yes && enable_static
=no
9438 echo "$as_me:$LINENO: result: $enable_shared" >&5
9439 echo "${ECHO_T}$enable_shared" >&6
9441 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9442 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
9443 # Make sure either enable_shared or enable_static is yes.
9444 test "$enable_shared" = yes || enable_static
=yes
9445 echo "$as_me:$LINENO: result: $enable_static" >&5
9446 echo "${ECHO_T}$enable_static" >&6
9448 # The else clause should only fire when bootstrapping the
9449 # libtool distribution, otherwise you forgot to ship ltmain.sh
9450 # with your package, and you will get complaints that there are
9451 # no rules to generate ltmain.sh.
9452 if test -f "$ltmain"; then
9453 # See if we are running on zsh, and set the options which allow our commands through
9454 # without removal of \ escapes.
9455 if test -n "${ZSH_VERSION+set}" ; then
9456 setopt NO_GLOB_SUBST
9458 # Now quote all the things that may contain metacharacters while being
9459 # careful not to overquote the AC_SUBSTed values. We take copies of the
9460 # variables and quote the copies for generation of the libtool script.
9461 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
9463 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
9464 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
9465 deplibs_check_method reload_flag reload_cmds need_locks \
9466 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
9467 lt_cv_sys_global_symbol_to_c_name_address \
9468 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
9469 old_postinstall_cmds old_postuninstall_cmds \
9473 lt_prog_compiler_wl \
9474 lt_prog_compiler_pic \
9475 lt_prog_compiler_static \
9476 lt_prog_compiler_no_builtin_flag \
9477 export_dynamic_flag_spec \
9478 thread_safe_flag_spec \
9479 whole_archive_flag_spec \
9480 enable_shared_with_static_runtimes \
9482 old_archive_from_new_cmds \
9487 compiler_lib_search_path \
9489 archive_expsym_cmds \
9491 postuninstall_cmds \
9492 old_archive_from_expsyms_cmds \
9493 allow_undefined_flag \
9495 export_symbols_cmds \
9496 hardcode_libdir_flag_spec \
9497 hardcode_libdir_flag_spec_ld \
9498 hardcode_libdir_separator \
9499 hardcode_automatic \
9501 module_expsym_cmds \
9502 lt_cv_prog_compiler_c_o \
9507 old_archive_cmds | \
9508 old_archive_from_new_cmds | \
9510 archive_expsym_cmds | \
9512 module_expsym_cmds | \
9513 old_archive_from_expsyms_cmds | \
9514 export_symbols_cmds | \
9515 extract_expsyms_cmds | reload_cmds | finish_cmds | \
9516 postinstall_cmds | postuninstall_cmds | \
9517 old_postinstall_cmds | old_postuninstall_cmds | \
9518 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
9519 # Double-quote double-evaled strings.
9520 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
9523 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
9529 *'\$0 --fallback-echo"')
9530 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
9535 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
9537 { echo "$as_me:$LINENO: creating $ofile" >&5
9538 echo "$as_me: creating $ofile" >&6;}
9540 cat <<__EOF__ >> "$cfgfile"
9543 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
9544 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
9545 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
9547 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
9548 # Free Software Foundation, Inc.
9550 # This file is part of GNU Libtool:
9551 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
9553 # This program is free software; you can redistribute it and/or modify
9554 # it under the terms of the GNU General Public License as published by
9555 # the Free Software Foundation; either version 2 of the License, or
9556 # (at your option) any later version.
9558 # This program is distributed in the hope that it will be useful, but
9559 # WITHOUT ANY WARRANTY; without even the implied warranty of
9560 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
9561 # General Public License for more details.
9563 # You should have received a copy of the GNU General Public License
9564 # along with this program; if not, write to the Free Software
9565 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
9567 # As a special exception to the GNU General Public License, if you
9568 # distribute this file as part of a program that contains a
9569 # configuration script generated by Autoconf, you may include it under
9570 # the same distribution terms that you use for the rest of that program.
9572 # A sed program that does not truncate output.
9575 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
9576 Xsed="$SED -e 1s/^X//"
9578 # The HP-UX ksh and POSIX shell print the target directory to stdout
9580 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
9582 # The names of the tagged configurations supported by this script.
9585 # ### BEGIN LIBTOOL CONFIG
9587 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
9589 # Shell to use when invoking shell scripts.
9592 # Whether or not to build shared libraries.
9593 build_libtool_libs=$enable_shared
9595 # Whether or not to build static libraries.
9596 build_old_libs=$enable_static
9598 # Whether or not to add -lc for building shared libraries.
9599 build_libtool_need_lc=$archive_cmds_need_lc
9601 # Whether or not to disallow shared libs when runtime libs are static
9602 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
9604 # Whether or not to optimize for fast installation.
9605 fast_install=$enable_fast_install
9608 host_alias=$host_alias
9613 build_alias=$build_alias
9617 # An echo program that does not interpret backslashes.
9622 AR_FLAGS=$lt_AR_FLAGS
9627 # LTCC compiler flags.
9628 LTCFLAGS=$lt_LTCFLAGS
9630 # A language-specific compiler.
9633 # Is the compiler the GNU C compiler?
9636 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
9637 gcc_ver=\`gcc -dumpversion\`
9642 # The linker used to build libraries.
9645 # Whether we need hard or soft links.
9648 # A BSD-compatible nm program.
9651 # A symbol stripping program
9654 # Used to examine libraries when file_magic_cmd begins "file"
9655 MAGIC_CMD=$MAGIC_CMD
9657 # Used on cygwin: DLL creation program.
9660 # Used on cygwin: object dumper.
9663 # Used on cygwin: assembler.
9666 # The name of the directory that contains temporary libtool files.
9669 # How to create reloadable object files.
9670 reload_flag=$lt_reload_flag
9671 reload_cmds=$lt_reload_cmds
9673 # How to pass a linker flag through the compiler.
9674 wl=$lt_lt_prog_compiler_wl
9676 # Object file suffix (normally "o").
9679 # Old archive suffix (normally "a").
9682 # Shared library suffix (normally ".so").
9683 shrext_cmds='$shrext_cmds'
9685 # Executable file suffix (normally "").
9688 # Additional compiler flags for building library objects.
9689 pic_flag=$lt_lt_prog_compiler_pic
9692 # What is the maximum length of a command?
9693 max_cmd_len=$lt_cv_sys_max_cmd_len
9695 # Does compiler simultaneously support -c and -o options?
9696 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
9698 # Must we lock files when doing compilation?
9699 need_locks=$lt_need_locks
9701 # Do we need the lib prefix for modules?
9702 need_lib_prefix=$need_lib_prefix
9704 # Do we need a version for libraries?
9705 need_version=$need_version
9707 # Whether dlopen is supported.
9708 dlopen_support=$enable_dlopen
9710 # Whether dlopen of programs is supported.
9711 dlopen_self=$enable_dlopen_self
9713 # Whether dlopen of statically linked programs is supported.
9714 dlopen_self_static=$enable_dlopen_self_static
9716 # Compiler flag to prevent dynamic linking.
9717 link_static_flag=$lt_lt_prog_compiler_static
9719 # Compiler flag to turn off builtin functions.
9720 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
9722 # Compiler flag to allow reflexive dlopens.
9723 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
9725 # Compiler flag to generate shared objects directly from archives.
9726 whole_archive_flag_spec=$lt_whole_archive_flag_spec
9728 # Compiler flag to generate thread-safe objects.
9729 thread_safe_flag_spec=$lt_thread_safe_flag_spec
9731 # Library versioning type.
9732 version_type=$version_type
9734 # Format of library name prefix.
9735 libname_spec=$lt_libname_spec
9737 # List of archive names. First name is the real one, the rest are links.
9738 # The last name is the one that the linker finds with -lNAME.
9739 library_names_spec=$lt_library_names_spec
9741 # The coded name of the library, if different from the real name.
9742 soname_spec=$lt_soname_spec
9744 # Commands used to build and install an old-style archive.
9746 old_archive_cmds=$lt_old_archive_cmds
9747 old_postinstall_cmds=$lt_old_postinstall_cmds
9748 old_postuninstall_cmds=$lt_old_postuninstall_cmds
9750 # Create an old-style archive from a shared archive.
9751 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
9753 # Create a temporary old-style archive to link instead of a shared archive.
9754 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
9756 # Commands used to build and install a shared archive.
9757 archive_cmds=$lt_archive_cmds
9758 archive_expsym_cmds=$lt_archive_expsym_cmds
9759 postinstall_cmds=$lt_postinstall_cmds
9760 postuninstall_cmds=$lt_postuninstall_cmds
9762 # Commands used to build a loadable module (assumed same as above if empty)
9763 module_cmds=$lt_module_cmds
9764 module_expsym_cmds=$lt_module_expsym_cmds
9766 # Commands to strip libraries.
9767 old_striplib=$lt_old_striplib
9768 striplib=$lt_striplib
9770 # Dependencies to place before the objects being linked to create a
9772 predep_objects=\`echo $lt_predep_objects | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
9774 # Dependencies to place after the objects being linked to create a
9776 postdep_objects=\`echo $lt_postdep_objects | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
9778 # Dependencies to place before the objects being linked to create a
9782 # Dependencies to place after the objects being linked to create a
9784 postdeps=$lt_postdeps
9786 # The library search path used internally by the compiler when linking
9788 compiler_lib_search_path=\`echo $lt_compiler_lib_search_path | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
9790 # Method to check whether dependent libraries are shared objects.
9791 deplibs_check_method=$lt_deplibs_check_method
9793 # Command to use when deplibs_check_method == file_magic.
9794 file_magic_cmd=$lt_file_magic_cmd
9796 # Flag that allows shared libraries with undefined symbols to be built.
9797 allow_undefined_flag=$lt_allow_undefined_flag
9799 # Flag that forces no undefined symbols.
9800 no_undefined_flag=$lt_no_undefined_flag
9802 # Commands used to finish a libtool library installation in a directory.
9803 finish_cmds=$lt_finish_cmds
9805 # Same as above, but a single script fragment to be evaled but not shown.
9806 finish_eval=$lt_finish_eval
9808 # Take the output of nm and produce a listing of raw symbols and C names.
9809 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
9811 # Transform the output of nm in a proper C declaration
9812 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
9814 # Transform the output of nm in a C name address pair
9815 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
9817 # This is the shared library runtime path variable.
9818 runpath_var=$runpath_var
9820 # This is the shared library path variable.
9821 shlibpath_var=$shlibpath_var
9823 # Is shlibpath searched before the hard-coded library search path?
9824 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
9826 # How to hardcode a shared library path into an executable.
9827 hardcode_action=$hardcode_action
9829 # Whether we should hardcode library paths into libraries.
9830 hardcode_into_libs=$hardcode_into_libs
9832 # Flag to hardcode \$libdir into a binary during linking.
9833 # This must work even if \$libdir does not exist.
9834 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
9836 # If ld is used when linking, flag to hardcode \$libdir into
9837 # a binary during linking. This must work even if \$libdir does
9839 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
9841 # Whether we need a single -rpath flag with a separated argument.
9842 hardcode_libdir_separator=$lt_hardcode_libdir_separator
9844 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
9846 hardcode_direct=$hardcode_direct
9848 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
9850 hardcode_minus_L=$hardcode_minus_L
9852 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
9853 # the resulting binary.
9854 hardcode_shlibpath_var=$hardcode_shlibpath_var
9856 # Set to yes if building a shared library automatically hardcodes DIR into the library
9857 # and all subsequent libraries and executables linked against it.
9858 hardcode_automatic=$hardcode_automatic
9860 # Variables whose values should be saved in libtool wrapper scripts and
9861 # restored at relink time.
9862 variables_saved_for_relink="$variables_saved_for_relink"
9864 # Whether libtool must link a program against all its dependency libraries.
9865 link_all_deplibs=$link_all_deplibs
9867 # Compile-time system search path for libraries
9868 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"\`
9870 # Run-time system search path for libraries
9871 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
9873 # Fix the shell variable \$srcfile for the compiler.
9874 fix_srcfile_path="$fix_srcfile_path"
9876 # Set to yes if exported symbols are required.
9877 always_export_symbols=$always_export_symbols
9879 # The commands to list exported symbols.
9880 export_symbols_cmds=$lt_export_symbols_cmds
9882 # The commands to extract the exported symbol list from a shared archive.
9883 extract_expsyms_cmds=$lt_extract_expsyms_cmds
9885 # Symbols that should not be listed in the preloaded symbols.
9886 exclude_expsyms=$lt_exclude_expsyms
9888 # Symbols that must always be exported.
9889 include_expsyms=$lt_include_expsyms
9891 # ### END LIBTOOL CONFIG
9898 cat <<\EOF
>> "$cfgfile"
9900 # AIX sometimes has problems with the GCC collect2 program. For some
9901 # reason, if we set the COLLECT_NAMES environment variable, the problems
9902 # vanish in a puff of smoke.
9903 if test "X${COLLECT_NAMES+set}" != Xset
; then
9905 export COLLECT_NAMES
9911 # We use sed instead of cat because bash on DJGPP gets confused if
9912 # if finds mixed CR/LF and LF-only lines. Since sed operates in
9913 # text mode, it properly converts lines to CR/LF. This bash problem
9914 # is reportedly fixed, but why not run on old versions too?
9915 sed '$q' "$ltmain" >> "$cfgfile" ||
(rm -f "$cfgfile"; exit 1)
9917 mv -f "$cfgfile" "$ofile" || \
9918 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
9922 # If there is no Makefile yet, we rely on a make rule to execute
9923 # `config.status --recheck' to rerun these tests and create the
9924 # libtool script then.
9925 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
9926 if test -f "$ltmain_in"; then
9927 test -f Makefile
&& make "$ltmain"
9933 ac_cpp
='$CPP $CPPFLAGS'
9934 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9935 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9936 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9941 # Check whether --with-tags or --without-tags was given.
9942 if test "${with_tags+set}" = set; then
9943 withval
="$with_tags"
9947 if test -f "$ltmain" && test -n "$tagnames"; then
9948 if test ! -f "${ofile}"; then
9949 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
9950 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
9953 if test -z "$LTCC"; then
9954 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
9955 if test -z "$LTCC"; then
9956 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
9957 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
9959 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
9960 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
9963 if test -z "$LTCFLAGS"; then
9964 eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
9967 # Extract list of available tagged configurations in $ofile.
9968 # Note that this assumes the entire list is on one line.
9969 available_tags
=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
9971 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9972 for tagname
in $tagnames; do
9974 # Check whether tagname contains only valid characters
9975 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
9977 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
9978 echo "$as_me: error: invalid tag name: $tagname" >&2;}
9979 { (exit 1); exit 1; }; }
9983 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev
/null
9985 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
9986 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
9987 { (exit 1); exit 1; }; }
9990 # Update the list of available tags.
9991 if test -n "$tagname"; then
9992 echo appending configuration tag
\"$tagname\" to
$ofile
9996 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
9997 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
9998 (test "X$CXX" != "Xg++"))) ; then
10000 ac_cpp
='$CXXCPP $CPPFLAGS'
10001 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10002 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10003 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10008 archive_cmds_need_lc_CXX
=no
10009 allow_undefined_flag_CXX
=
10010 always_export_symbols_CXX
=no
10011 archive_expsym_cmds_CXX
=
10012 export_dynamic_flag_spec_CXX
=
10013 hardcode_direct_CXX
=no
10014 hardcode_libdir_flag_spec_CXX
=
10015 hardcode_libdir_flag_spec_ld_CXX
=
10016 hardcode_libdir_separator_CXX
=
10017 hardcode_minus_L_CXX
=no
10018 hardcode_shlibpath_var_CXX
=unsupported
10019 hardcode_automatic_CXX
=no
10021 module_expsym_cmds_CXX
=
10022 link_all_deplibs_CXX
=unknown
10023 old_archive_cmds_CXX
=$old_archive_cmds
10024 no_undefined_flag_CXX
=
10025 whole_archive_flag_spec_CXX
=
10026 enable_shared_with_static_runtimes_CXX
=no
10028 # Dependencies to place before and after the object being linked:
10029 predep_objects_CXX
=
10030 postdep_objects_CXX
=
10033 compiler_lib_search_path_CXX
=
10035 # Source file extension for C++ test sources.
10038 # Object file extension for compiled C++ test sources.
10042 # Code to be used in simple compile tests
10043 lt_simple_compile_test_code
="int some_variable = 0;\n"
10045 # Code to be used in simple link tests
10046 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }\n'
10048 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10050 # If no C compiler was specified, use CC.
10053 # If no C compiler flags were specified, use CFLAGS.
10054 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
10056 # Allow CC to be a program name with arguments.
10060 # save warnings/boilerplate of simple test code
10061 ac_outfile
=conftest.
$ac_objext
10062 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
10063 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
10064 _lt_compiler_boilerplate
=`cat conftest.err`
10067 ac_outfile
=conftest.
$ac_objext
10068 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
10069 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
10070 _lt_linker_boilerplate
=`cat conftest.err`
10074 # Allow CC to be a program name with arguments.
10079 lt_save_with_gnu_ld
=$with_gnu_ld
10080 lt_save_path_LD
=$lt_cv_path_LD
10081 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10082 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
10084 $as_unset lt_cv_prog_gnu_ld
10086 if test -n "${lt_cv_path_LDCXX+set}"; then
10087 lt_cv_path_LD
=$lt_cv_path_LDCXX
10089 $as_unset lt_cv_path_LD
10091 test -z "${LDCXX+set}" || LD
=$LDCXX
10095 for cc_temp
in $compiler""; do
10097 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
10098 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
10103 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10106 # We don't want -fno-exception wen compiling C++ code, so set the
10107 # no_builtin_flag separately
10108 if test "$GXX" = yes; then
10109 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
10111 lt_prog_compiler_no_builtin_flag_CXX
=
10114 if test "$GXX" = yes; then
10115 # Set up default GNU C++ configuration
10118 # Check whether --with-gnu-ld or --without-gnu-ld was given.
10119 if test "${with_gnu_ld+set}" = set; then
10120 withval
="$with_gnu_ld"
10121 test "$withval" = no || with_gnu_ld
=yes
10126 if test "$GCC" = yes; then
10127 # Check if gcc -print-prog-name=ld gives a path.
10128 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10129 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
10132 # gcc leaves a trailing carriage return which upsets mingw
10133 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10135 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
10138 # Accept absolute paths.
10140 re_direlt
='/[^/][^/]*/\.\./'
10141 # Canonicalize the pathname of ld
10142 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
10143 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
10144 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
10146 test -z "$LD" && LD
="$ac_prog"
10149 # If it fails, then pretend we aren't using GCC.
10153 # If it is relative, then search for the first ld in PATH.
10154 with_gnu_ld
=unknown
10157 elif test "$with_gnu_ld" = yes; then
10158 echo "$as_me:$LINENO: checking for GNU ld" >&5
10159 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
10161 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10162 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
10164 if test "${lt_cv_path_LD+set}" = set; then
10165 echo $ECHO_N "(cached) $ECHO_C" >&6
10167 if test -z "$LD"; then
10168 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
10169 for ac_dir
in $PATH; do
10171 test -z "$ac_dir" && ac_dir
=.
10172 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
10173 lt_cv_path_LD
="$ac_dir/$ac_prog"
10174 # Check to see if the program is GNU ld. I'd rather use --version,
10175 # but apparently some variants of GNU ld only accept -v.
10176 # Break only if it was the GNU/non-GNU ld that we prefer.
10177 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
10178 *GNU
* |
*'with BFD'*)
10179 test "$with_gnu_ld" != no
&& break
10182 test "$with_gnu_ld" != yes && break
10189 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
10193 LD
="$lt_cv_path_LD"
10194 if test -n "$LD"; then
10195 echo "$as_me:$LINENO: result: $LD" >&5
10196 echo "${ECHO_T}$LD" >&6
10198 echo "$as_me:$LINENO: result: no" >&5
10199 echo "${ECHO_T}no" >&6
10201 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10202 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10203 { (exit 1); exit 1; }; }
10204 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10205 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
10206 if test "${lt_cv_prog_gnu_ld+set}" = set; then
10207 echo $ECHO_N "(cached) $ECHO_C" >&6
10209 # I'd rather use --version here, but apparently some GNU lds only accept -v.
10210 case `$LD -v 2>&1 </dev/null` in
10211 *GNU
* |
*'with BFD'*)
10212 lt_cv_prog_gnu_ld
=yes
10215 lt_cv_prog_gnu_ld
=no
10219 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10220 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
10221 with_gnu_ld
=$lt_cv_prog_gnu_ld
10225 # Check if GNU C++ uses GNU ld as the underlying linker, since the
10226 # archiving commands below assume that GNU ld is being used.
10227 if test "$with_gnu_ld" = yes; then
10228 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10229 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'
10231 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
10232 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10234 # If archive_cmds runs LD, not CC, wlarc should be empty
10235 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
10236 # investigate it a little bit more. (MM)
10239 # ancient GNU ld didn't support --whole-archive et. al.
10240 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
10241 grep 'no-whole-archive' > /dev
/null
; then
10242 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10244 whole_archive_flag_spec_CXX
=
10250 # A generic and very simple default shared library creation
10251 # command for GNU C++ for the case where it uses the native
10252 # linker, instead of GNU ld. If possible, this setting should
10253 # overridden to take advantage of the native linker features on
10254 # the platform it is being used on.
10255 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10258 # Commands to make compiler produce verbose output that lists
10259 # what "hidden" libraries, object files and flags are used when
10260 # linking a shared library.
10261 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10269 # PORTME: fill in a description of your system's C++ link characteristics
10270 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10271 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
10275 # FIXME: insert proper C++ library support
10279 if test "$host_cpu" = ia64
; then
10280 # On IA64, the linker does run time linking by default, so we don't
10281 # have to do anything special.
10282 aix_use_runtimelinking
=no
10283 exp_sym_flag
='-Bexport'
10286 aix_use_runtimelinking
=no
10288 # Test if we are trying to use run time linking or normal
10289 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10290 # need to do runtime linking.
10291 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
10292 for ld_flag
in $LDFLAGS; do
10295 aix_use_runtimelinking
=yes
10303 exp_sym_flag
='-bexport'
10304 no_entry_flag
='-bnoentry'
10307 # When large executables or shared objects are built, AIX ld can
10308 # have problems creating the table of contents. If linking a library
10309 # or program results in "error TOC overflow" add -mminimal-toc to
10310 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10311 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10313 archive_cmds_CXX
=''
10314 hardcode_direct_CXX
=yes
10315 hardcode_libdir_separator_CXX
=':'
10316 link_all_deplibs_CXX
=yes
10318 if test "$GXX" = yes; then
10319 case $host_os in aix4.
[012]|aix4.
[012].
*)
10320 # We only want to do this on AIX 4.2 and lower, the check
10321 # below for broken collect2 doesn't work under 4.3+
10322 collect2name
=`${CC} -print-prog-name=collect2`
10323 if test -f "$collect2name" && \
10324 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
10326 # We have reworked collect2
10327 hardcode_direct_CXX
=yes
10329 # We have old collect2
10330 hardcode_direct_CXX
=unsupported
10331 # It fails to find uninstalled libraries when the uninstalled
10332 # path is not listed in the libpath. Setting hardcode_minus_L
10333 # to unsupported forces relinking
10334 hardcode_minus_L_CXX
=yes
10335 hardcode_libdir_flag_spec_CXX
='-L$libdir'
10336 hardcode_libdir_separator_CXX
=
10340 shared_flag
='-shared'
10341 if test "$aix_use_runtimelinking" = yes; then
10342 shared_flag
="$shared_flag "'${wl}-G'
10346 if test "$host_cpu" = ia64
; then
10347 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10348 # chokes on -Wl,-G. The following line is correct:
10351 if test "$aix_use_runtimelinking" = yes; then
10352 shared_flag
='${wl}-G'
10354 shared_flag
='${wl}-bM:SRE'
10359 # It seems that -bexpall does not export symbols beginning with
10360 # underscore (_), so it is better to generate a list of symbols to export.
10361 always_export_symbols_CXX
=yes
10362 if test "$aix_use_runtimelinking" = yes; then
10363 # Warning - without using the other runtime loading flags (-brtl),
10364 # -berok will link without error, but may produce a broken library.
10365 allow_undefined_flag_CXX
='-berok'
10366 # Determine the default libpath from the value encoded in an empty executable.
10367 cat >conftest.
$ac_ext <<_ACEOF
10370 cat confdefs.h
>>conftest.
$ac_ext
10371 cat >>conftest.
$ac_ext <<_ACEOF
10372 /* end confdefs.h. */
10382 rm -f conftest.
$ac_objext conftest
$ac_exeext
10383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10384 (eval $ac_link) 2>conftest.er1
10386 grep -v '^ *+' conftest.er1
>conftest.err
10388 cat conftest.err
>&5
10389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10390 (exit $ac_status); } &&
10391 { ac_try
='test -z "$ac_cxx_werror_flag"
10392 || test ! -s conftest.err'
10393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10394 (eval $ac_try) 2>&5
10396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10397 (exit $ac_status); }; } &&
10398 { ac_try
='test -s conftest$ac_exeext'
10399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10400 (eval $ac_try) 2>&5
10402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10403 (exit $ac_status); }; }; then
10405 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10407 # Check for a 64-bit object if we didn't find anything.
10408 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; }
10411 echo "$as_me: failed program was:" >&5
10412 sed 's/^/| /' conftest.
$ac_ext >&5
10415 rm -f conftest.err conftest.
$ac_objext \
10416 conftest
$ac_exeext conftest.
$ac_ext
10417 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10419 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
10421 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"
10423 if test "$host_cpu" = ia64
; then
10424 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
10425 allow_undefined_flag_CXX
="-z nodefs"
10426 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"
10428 # Determine the default libpath from the value encoded in an empty executable.
10429 cat >conftest.
$ac_ext <<_ACEOF
10432 cat confdefs.h
>>conftest.
$ac_ext
10433 cat >>conftest.
$ac_ext <<_ACEOF
10434 /* end confdefs.h. */
10444 rm -f conftest.
$ac_objext conftest
$ac_exeext
10445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10446 (eval $ac_link) 2>conftest.er1
10448 grep -v '^ *+' conftest.er1
>conftest.err
10450 cat conftest.err
>&5
10451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10452 (exit $ac_status); } &&
10453 { ac_try
='test -z "$ac_cxx_werror_flag"
10454 || test ! -s conftest.err'
10455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10456 (eval $ac_try) 2>&5
10458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10459 (exit $ac_status); }; } &&
10460 { ac_try
='test -s conftest$ac_exeext'
10461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10462 (eval $ac_try) 2>&5
10464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10465 (exit $ac_status); }; }; then
10467 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10469 # Check for a 64-bit object if we didn't find anything.
10470 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; }
10473 echo "$as_me: failed program was:" >&5
10474 sed 's/^/| /' conftest.
$ac_ext >&5
10477 rm -f conftest.err conftest.
$ac_objext \
10478 conftest
$ac_exeext conftest.
$ac_ext
10479 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10481 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
10482 # Warning - without using the other run time loading flags,
10483 # -berok will link without error, but may produce a broken library.
10484 no_undefined_flag_CXX
=' ${wl}-bernotok'
10485 allow_undefined_flag_CXX
=' ${wl}-berok'
10486 # Exported symbols can be pulled into shared objects from archives
10487 whole_archive_flag_spec_CXX
='$convenience'
10488 archive_cmds_need_lc_CXX
=yes
10489 # This is similar to how AIX traditionally builds its shared libraries.
10490 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'
10496 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
10497 allow_undefined_flag_CXX
=unsupported
10498 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10499 # support --undefined. This deserves some investigation. FIXME
10500 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10507 case $cc_basename in
10509 # FIXME: insert proper C++ library support
10515 cygwin
* | mingw
* | pw32
*)
10516 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
10517 # as there is no search path for DLLs.
10518 hardcode_libdir_flag_spec_CXX
='-L$libdir'
10519 allow_undefined_flag_CXX
=unsupported
10520 always_export_symbols_CXX
=no
10521 enable_shared_with_static_runtimes_CXX
=yes
10523 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
10524 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'
10525 # If the export-symbols file already is a .def file (1st line
10526 # is EXPORTS), use it as is; otherwise, prepend...
10527 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10528 cp $export_symbols $output_objdir/$soname.def;
10530 echo EXPORTS > $output_objdir/$soname.def;
10531 cat $export_symbols >> $output_objdir/$soname.def;
10533 $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'
10538 darwin
* | rhapsody
*)
10540 rhapsody
* | darwin1.
[012])
10541 allow_undefined_flag_CXX
='${wl}-undefined ${wl}suppress'
10544 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10545 allow_undefined_flag_CXX
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10547 case ${MACOSX_DEPLOYMENT_TARGET} in
10549 allow_undefined_flag_CXX
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10552 allow_undefined_flag_CXX
='${wl}-undefined ${wl}dynamic_lookup'
10558 archive_cmds_need_lc_CXX
=no
10559 hardcode_direct_CXX
=no
10560 hardcode_automatic_CXX
=yes
10561 hardcode_shlibpath_var_CXX
=unsupported
10562 whole_archive_flag_spec_CXX
=''
10563 link_all_deplibs_CXX
=yes
10565 if test "$GXX" = yes ; then
10566 lt_int_apple_cc_single_mod
=no
10567 output_verbose_link_cmd
='echo'
10568 if $CC -dumpspecs 2>&1 |
$EGREP 'single_module' >/dev
/null
; then
10569 lt_int_apple_cc_single_mod
=yes
10571 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
10572 archive_cmds_CXX
='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10574 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'
10576 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10577 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10578 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
10579 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}'
10581 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}'
10583 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}'
10585 case $cc_basename in
10587 output_verbose_link_cmd
='echo'
10588 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'
10589 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10590 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10591 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}'
10592 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}'
10602 case $cc_basename in
10604 # FIXME: insert proper C++ library support
10608 # Green Hills C++ Compiler
10609 # FIXME: insert proper C++ library support
10613 # FIXME: insert proper C++ library support
10619 # C++ shared libraries reported to be fairly broken before switch to ELF
10623 archive_cmds_need_lc_CXX
=no
10625 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
10626 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
10633 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
10634 hardcode_libdir_separator_CXX
=:
10635 export_dynamic_flag_spec_CXX
='${wl}-E'
10636 hardcode_direct_CXX
=yes
10637 hardcode_minus_L_CXX
=yes # Not in the search PATH,
10638 # but as the default
10639 # location of the library.
10641 case $cc_basename in
10643 # FIXME: insert proper C++ library support
10647 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'
10648 # Commands to make compiler produce verbose output that lists
10649 # what "hidden" libraries, object files and flags are used when
10650 # linking a shared library.
10652 # There doesn't appear to be a way to prevent this compiler from
10653 # explicitly linking system object files so we need to strip them
10654 # from the output so that they don't get included in the library
10656 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'
10659 if test "$GXX" = yes; then
10660 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'
10662 # FIXME: insert proper C++ library support
10669 if test $with_gnu_ld = no
; then
10670 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
10671 hardcode_libdir_separator_CXX
=:
10675 hardcode_libdir_flag_spec_ld_CXX
='+b $libdir'
10678 export_dynamic_flag_spec_CXX
='${wl}-E'
10684 hardcode_direct_CXX
=no
10685 hardcode_shlibpath_var_CXX
=no
10688 hardcode_direct_CXX
=yes
10689 hardcode_minus_L_CXX
=yes # Not in the search PATH,
10690 # but as the default
10691 # location of the library.
10695 case $cc_basename in
10697 # FIXME: insert proper C++ library support
10703 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10706 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10709 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10712 # Commands to make compiler produce verbose output that lists
10713 # what "hidden" libraries, object files and flags are used when
10714 # linking a shared library.
10716 # There doesn't appear to be a way to prevent this compiler from
10717 # explicitly linking system object files so we need to strip them
10718 # from the output so that they don't get included in the library
10720 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'
10723 if test "$GXX" = yes; then
10724 if test $with_gnu_ld = no
; then
10727 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10730 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10733 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'
10738 # FIXME: insert proper C++ library support
10745 hardcode_direct_CXX
=no
10746 hardcode_shlibpath_var_CXX
=no
10747 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10748 export_dynamic_flag_spec_CXX
='${wl}-E'
10749 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10750 # Instead, shared libraries are loaded at an image base (0x10000000 by
10751 # default) and relocated if they conflict, which is a slow very memory
10752 # consuming and fragmenting process. To avoid this, we pick a random,
10753 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10754 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10755 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'
10756 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'
10759 case $cc_basename in
10762 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'
10764 # Archives containing C++ object files must be created using
10765 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
10766 # necessary to make sure instantiated templates are included
10768 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
10771 if test "$GXX" = yes; then
10772 if test "$with_gnu_ld" = no
; then
10773 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'
10775 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'
10778 link_all_deplibs_CXX
=yes
10781 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10782 hardcode_libdir_separator_CXX
=:
10785 case $cc_basename in
10787 # Kuck and Associates, Inc. (KAI) C++ Compiler
10789 # KCC will only create a shared library if the output file
10790 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10791 # to its proper name (with version) after linking.
10792 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'
10793 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'
10794 # Commands to make compiler produce verbose output that lists
10795 # what "hidden" libraries, object files and flags are used when
10796 # linking a shared library.
10798 # There doesn't appear to be a way to prevent this compiler from
10799 # explicitly linking system object files so we need to strip them
10800 # from the output so that they don't get included in the library
10802 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'
10804 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
10805 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10807 # Archives containing C++ object files must be created using
10808 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10809 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
10814 # version 8.0 and above of icpc choke on multiply defined symbols
10815 # if we add $predep_objects and $postdep_objects, however 7.1 and
10816 # earlier do not add the objects themselves.
10817 case `$CC -V 2>&1` in
10819 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10820 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'
10822 *) # Version 8.0 or newer
10825 ia64
*) tmp_idyn
=' -i_dynamic';;
10827 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10828 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'
10831 archive_cmds_need_lc_CXX
=no
10832 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10833 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10834 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10837 # Portland Group C++ compiler
10838 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
10839 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'
10841 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
10842 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10843 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'
10847 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10848 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'
10850 runpath_var
=LD_RUN_PATH
10851 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
10852 hardcode_libdir_separator_CXX
=:
10854 # Commands to make compiler produce verbose output that lists
10855 # what "hidden" libraries, object files and flags are used when
10856 # linking a shared library.
10858 # There doesn't appear to be a way to prevent this compiler from
10859 # explicitly linking system object files so we need to strip them
10860 # from the output so that they don't get included in the library
10862 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'
10867 # FIXME: insert proper C++ library support
10871 # FIXME: insert proper C++ library support
10875 case $cc_basename in
10877 # FIXME: insert proper C++ library support
10881 # FIXME: insert proper C++ library support
10887 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
10888 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10890 hardcode_libdir_flag_spec_CXX
='-R$libdir'
10891 hardcode_direct_CXX
=yes
10892 hardcode_shlibpath_var_CXX
=no
10894 # Workaround some broken pre-1.5 toolchains
10895 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
10898 # C++ shared libraries are fairly broken
10902 hardcode_direct_CXX
=yes
10903 hardcode_shlibpath_var_CXX
=no
10904 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10905 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10906 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10907 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
10908 export_dynamic_flag_spec_CXX
='${wl}-E'
10909 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10911 output_verbose_link_cmd
='echo'
10914 case $cc_basename in
10916 # Kuck and Associates, Inc. (KAI) C++ Compiler
10918 # KCC will only create a shared library if the output file
10919 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10920 # to its proper name (with version) after linking.
10921 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'
10923 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10924 hardcode_libdir_separator_CXX
=:
10926 # Archives containing C++ object files must be created using
10927 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10928 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
10932 # Rational C++ 2.4.1
10933 # FIXME: insert proper C++ library support
10937 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
10938 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'
10940 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10941 hardcode_libdir_separator_CXX
=:
10943 # Commands to make compiler produce verbose output that lists
10944 # what "hidden" libraries, object files and flags are used when
10945 # linking a shared library.
10947 # There doesn't appear to be a way to prevent this compiler from
10948 # explicitly linking system object files so we need to strip them
10949 # from the output so that they don't get included in the library
10951 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'
10954 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
10955 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
10956 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'
10958 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10959 hardcode_libdir_separator_CXX
=:
10961 # Commands to make compiler produce verbose output that lists
10962 # what "hidden" libraries, object files and flags are used when
10963 # linking a shared library.
10964 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10967 # FIXME: insert proper C++ library support
10974 case $cc_basename in
10976 # Kuck and Associates, Inc. (KAI) C++ Compiler
10978 # KCC will only create a shared library if the output file
10979 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10980 # to its proper name (with version) after linking.
10981 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'
10983 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10984 hardcode_libdir_separator_CXX
=:
10986 # Archives containing C++ object files must be created using
10987 # the KAI C++ compiler.
10988 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
10991 # Rational C++ 2.4.1
10992 # FIXME: insert proper C++ library support
10996 allow_undefined_flag_CXX
=' -expect_unresolved \*'
10997 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'
10998 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
10999 echo "-hidden">> $lib.exp~
11000 $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~
11003 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11004 hardcode_libdir_separator_CXX
=:
11006 # Commands to make compiler produce verbose output that lists
11007 # what "hidden" libraries, object files and flags are used when
11008 # linking a shared library.
11010 # There doesn't appear to be a way to prevent this compiler from
11011 # explicitly linking system object files so we need to strip them
11012 # from the output so that they don't get included in the library
11014 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'
11017 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11018 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11019 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'
11021 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11022 hardcode_libdir_separator_CXX
=:
11024 # Commands to make compiler produce verbose output that lists
11025 # what "hidden" libraries, object files and flags are used when
11026 # linking a shared library.
11027 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11030 # FIXME: insert proper C++ library support
11037 # FIXME: insert proper C++ library support
11041 case $cc_basename in
11044 # FIXME: insert proper C++ library support
11049 # FIXME: insert proper C++ library support
11053 # FIXME: insert proper C++ library support
11059 case $cc_basename in
11061 # Sun C++ 4.2, 5.x and Centerline C++
11062 archive_cmds_need_lc_CXX
=yes
11063 no_undefined_flag_CXX
=' -zdefs'
11064 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11065 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11066 $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'
11068 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11069 hardcode_shlibpath_var_CXX
=no
11071 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11073 # The C++ compiler is used as linker so we must use $wl
11074 # flag to pass the commands to the underlying system
11075 # linker. We must also pass each convience library through
11076 # to the system linker between allextract/defaultextract.
11077 # The C++ compiler will combine linker options so we
11078 # cannot just pass the convience library names through
11080 # Supported since Solaris 2.6 (maybe 2.5.1?)
11081 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'
11084 link_all_deplibs_CXX
=yes
11086 output_verbose_link_cmd
='echo'
11088 # Archives containing C++ object files must be created using
11089 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11090 # necessary to make sure instantiated templates are included
11092 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11095 # Green Hills C++ Compiler
11096 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11098 # The C++ compiler must be used to create the archive.
11099 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
11102 # GNU C++ compiler with Solaris linker
11103 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11104 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
11105 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
11106 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11107 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11108 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11110 # Commands to make compiler produce verbose output that lists
11111 # what "hidden" libraries, object files and flags are used when
11112 # linking a shared library.
11113 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11115 # g++ 2.7 appears to require `-G' NOT `-shared' on this
11117 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11118 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11119 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11121 # Commands to make compiler produce verbose output that lists
11122 # what "hidden" libraries, object files and flags are used when
11123 # linking a shared library.
11124 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11127 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
11132 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11133 no_undefined_flag_CXX
='${wl}-z,text'
11134 archive_cmds_need_lc_CXX
=no
11135 hardcode_shlibpath_var_CXX
=no
11136 runpath_var
='LD_RUN_PATH'
11138 case $cc_basename in
11140 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11141 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11144 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11145 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11149 sysv5
* | sco3.2v5
* | sco5v6
*)
11150 # Note: We can NOT use -z defs as we might desire, because we do not
11151 # link with -lc, and that would cause any symbols used from libc to
11152 # always be unresolved, which means just about no library would
11153 # ever link correctly. If we're not using GNU ld we use -z text
11154 # though, which does catch some bad symbols but isn't as heavy-handed
11156 # For security reasons, it is highly recommended that you always
11157 # use absolute paths for naming shared libraries, and exclude the
11158 # DT_RUNPATH tag from executables and libraries. But doing so
11159 # requires that you compile everything twice, which is a pain.
11160 # So that behaviour is only enabled if SCOABSPATH is set to a
11161 # non-empty value in the environment. Most likely only useful for
11162 # creating official distributions of packages.
11163 # This is a hack until libtool officially supports absolute path
11164 # names for shared libraries.
11165 no_undefined_flag_CXX
='${wl}-z,text'
11166 allow_undefined_flag_CXX
='${wl}-z,nodefs'
11167 archive_cmds_need_lc_CXX
=no
11168 hardcode_shlibpath_var_CXX
=no
11169 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
11170 hardcode_libdir_separator_CXX
=':'
11171 link_all_deplibs_CXX
=yes
11172 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
11173 runpath_var
='LD_RUN_PATH'
11175 case $cc_basename in
11177 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11178 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11181 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11182 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11187 case $cc_basename in
11189 # NonStop-UX NCC 3.20
11190 # FIXME: insert proper C++ library support
11194 # FIXME: insert proper C++ library support
11200 # FIXME: insert proper C++ library support
11204 # FIXME: insert proper C++ library support
11208 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11209 echo "${ECHO_T}$ld_shlibs_CXX" >&6
11210 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
11216 cat > conftest.
$ac_ext <<EOF
11220 Foo (void) { a = 0; }
11226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11227 (eval $ac_compile) 2>&5
11229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11230 (exit $ac_status); }; then
11231 # Parse the compiler output and extract the necessary
11232 # objects, libraries and library flags.
11234 # Sentinel used to keep track of whether or not we are before
11235 # the conftest object file.
11236 pre_test_object_deps_done
=no
11238 # The `*' in the case matches for architectures that use `case' in
11239 # $output_verbose_cmd can trigger glob expansion during the loop
11240 # eval without this substitution.
11241 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
11243 for p
in `eval $output_verbose_link_cmd`; do
11247 # Some compilers place space between "-{L,R}" and the path.
11248 # Remove the space.
11249 if test $p = "-L" \
11250 ||
test $p = "-R"; then
11257 if test "$pre_test_object_deps_done" = no
; then
11260 # Internal compiler library paths should come after those
11261 # provided the user. The postdeps already come after the
11262 # user supplied libs so there is no need to process them.
11263 if test -z "$compiler_lib_search_path_CXX"; then
11264 compiler_lib_search_path_CXX
="${prev}${p}"
11266 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
11269 # The "-l" case would never come before the object being
11270 # linked, so don't bother handling this case.
11273 if test -z "$postdeps_CXX"; then
11274 postdeps_CXX
="${prev}${p}"
11276 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
11282 # This assumes that the test object file only shows up
11283 # once in the compiler output.
11284 if test "$p" = "conftest.$objext"; then
11285 pre_test_object_deps_done
=yes
11289 if test "$pre_test_object_deps_done" = no
; then
11290 if test -z "$predep_objects_CXX"; then
11291 predep_objects_CXX
="$p"
11293 predep_objects_CXX
="$predep_objects_CXX $p"
11296 if test -z "$postdep_objects_CXX"; then
11297 postdep_objects_CXX
="$p"
11299 postdep_objects_CXX
="$postdep_objects_CXX $p"
11304 *) ;; # Ignore the rest.
11312 echo "libtool.m4: error: problem compiling CXX test program"
11315 $rm -f confest.
$objext
11317 # PORTME: override above test on systems where it is broken
11320 # Interix 3.5 installs completely hosed .la files for C++, so rather than
11321 # hack all around it, let's just trust "g++" to DTRT.
11322 predep_objects_CXX
=
11323 postdep_objects_CXX
=
11328 case $cc_basename in
11330 # Adding this requires a known-good setup of shared libraries for
11331 # Sun compiler versions before 5.6, else PIC objects from an old
11332 # archive will be linked into the output, leading to subtle bugs.
11333 postdeps_CXX
='-lCstd -lCrun'
11340 case " $postdeps_CXX " in
11341 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
11344 lt_prog_compiler_wl_CXX
=
11345 lt_prog_compiler_pic_CXX
=
11346 lt_prog_compiler_static_CXX
=
11348 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11349 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
11351 # C++ specific cases for pic, static, wl, etc.
11352 if test "$GXX" = yes; then
11353 lt_prog_compiler_wl_CXX
='-Wl,'
11354 lt_prog_compiler_static_CXX
='-static'
11358 # All AIX code is PIC.
11359 if test "$host_cpu" = ia64
; then
11360 # AIX 5 now supports IA64 processor
11361 lt_prog_compiler_static_CXX
='-Bstatic'
11365 # FIXME: we need at least 68020 code to build shared libraries, but
11366 # adding the `-m68020' flag to GCC prevents building anything better,
11368 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
11370 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
11371 # PIC is the default for these OSes.
11373 mingw
* | os2
* | pw32
*)
11374 # This hack is so that the source file can tell whether it is being
11375 # built for inclusion in a dll (and should export symbols for example).
11376 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
11378 darwin
* | rhapsody
*)
11379 # PIC is the default on this platform
11380 # Common symbols not allowed in MH_DYLIB files
11381 lt_prog_compiler_pic_CXX
='-fno-common'
11384 # DJGPP does not support shared libraries at all
11385 lt_prog_compiler_pic_CXX
=
11388 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11389 # Instead, we relocate shared libraries at runtime.
11392 if test -d /usr
/nec
; then
11393 lt_prog_compiler_pic_CXX
=-Kconform_pic
11397 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11398 # not for PA HP-UX.
11403 lt_prog_compiler_pic_CXX
='-fPIC'
11408 lt_prog_compiler_pic_CXX
='-fPIC'
11414 # All AIX code is PIC.
11415 if test "$host_cpu" = ia64
; then
11416 # AIX 5 now supports IA64 processor
11417 lt_prog_compiler_static_CXX
='-Bstatic'
11419 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
11423 case $cc_basename in
11425 # Green Hills C++ Compiler
11426 # _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"
11431 # PIC is the default on this platform
11432 # Common symbols not allowed in MH_DYLIB files
11433 case $cc_basename in
11435 lt_prog_compiler_pic_CXX
='-qnocommon'
11436 lt_prog_compiler_wl_CXX
='-Wl,'
11441 case $cc_basename in
11443 lt_prog_compiler_pic_CXX
='-KPIC'
11446 # Green Hills C++ Compiler
11447 lt_prog_compiler_pic_CXX
='-pic'
11453 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
11454 # FreeBSD uses GNU C++
11456 hpux9
* | hpux10
* | hpux11
*)
11457 case $cc_basename in
11459 lt_prog_compiler_wl_CXX
='-Wl,'
11460 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
11461 if test "$host_cpu" != ia64
; then
11462 lt_prog_compiler_pic_CXX
='+Z'
11466 lt_prog_compiler_wl_CXX
='-Wl,'
11467 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
11473 lt_prog_compiler_pic_CXX
='+Z'
11482 # This is c89, which is MS Visual C++ (no shared libs)
11483 # Anyone wants to do a port?
11485 irix5
* | irix6
* | nonstopux
*)
11486 case $cc_basename in
11488 lt_prog_compiler_wl_CXX
='-Wl,'
11489 lt_prog_compiler_static_CXX
='-non_shared'
11490 # CC pic flag -KPIC is the default.
11497 case $cc_basename in
11500 lt_prog_compiler_wl_CXX
='--backend -Wl,'
11501 lt_prog_compiler_pic_CXX
='-fPIC'
11505 lt_prog_compiler_wl_CXX
='-Wl,'
11506 lt_prog_compiler_pic_CXX
='-KPIC'
11507 lt_prog_compiler_static_CXX
='-static'
11510 # Portland Group C++ compiler.
11511 lt_prog_compiler_wl_CXX
='-Wl,'
11512 lt_prog_compiler_pic_CXX
='-fpic'
11513 lt_prog_compiler_static_CXX
='-Bstatic'
11517 # Make sure the PIC flag is empty. It appears that all Alpha
11518 # Linux and Compaq Tru64 Unix objects are PIC.
11519 lt_prog_compiler_pic_CXX
=
11520 lt_prog_compiler_static_CXX
='-non_shared'
11531 case $cc_basename in
11533 lt_prog_compiler_pic_CXX
='-W c,exportall'
11541 osf3
* | osf4
* | osf5
*)
11542 case $cc_basename in
11544 lt_prog_compiler_wl_CXX
='--backend -Wl,'
11547 # Rational C++ 2.4.1
11548 lt_prog_compiler_pic_CXX
='-pic'
11551 # Digital/Compaq C++
11552 lt_prog_compiler_wl_CXX
='-Wl,'
11553 # Make sure the PIC flag is empty. It appears that all Alpha
11554 # Linux and Compaq Tru64 Unix objects are PIC.
11555 lt_prog_compiler_pic_CXX
=
11556 lt_prog_compiler_static_CXX
='-non_shared'
11565 case $cc_basename in
11567 # Sun C++ 4.2, 5.x and Centerline C++
11568 lt_prog_compiler_pic_CXX
='-KPIC'
11569 lt_prog_compiler_static_CXX
='-Bstatic'
11570 lt_prog_compiler_wl_CXX
='-Qoption ld '
11573 # Green Hills C++ Compiler
11574 lt_prog_compiler_pic_CXX
='-PIC'
11581 case $cc_basename in
11584 lt_prog_compiler_pic_CXX
='-pic'
11585 lt_prog_compiler_static_CXX
='-Bstatic'
11589 lt_prog_compiler_pic_CXX
='-pic'
11596 case $cc_basename in
11598 # NonStop-UX NCC 3.20
11599 lt_prog_compiler_pic_CXX
='-KPIC'
11605 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
11606 case $cc_basename in
11608 lt_prog_compiler_wl_CXX
='-Wl,'
11609 lt_prog_compiler_pic_CXX
='-KPIC'
11610 lt_prog_compiler_static_CXX
='-Bstatic'
11617 lt_prog_compiler_can_build_shared_CXX
=no
11622 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
11623 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
11626 # Check to make sure the PIC flag actually works.
11628 if test -n "$lt_prog_compiler_pic_CXX"; then
11630 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
11631 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
11632 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
11633 echo $ECHO_N "(cached) $ECHO_C" >&6
11635 lt_prog_compiler_pic_works_CXX
=no
11636 ac_outfile
=conftest.
$ac_objext
11637 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11638 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
11639 # Insert the option either (1) after the last *FLAGS variable, or
11640 # (2) before a word containing "conftest.", or (3) at the end.
11641 # Note that $ac_compile itself does not contain backslashes and begins
11642 # with a dollar sign (not a hyphen), so the echo should work correctly.
11643 # The option is referenced via a variable to avoid confusing sed.
11644 lt_compile
=`echo "$ac_compile" | $SED \
11645 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11646 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11647 -e 's:$: $lt_compiler_flag:'`
11648 (eval echo "\"\$as_me:11648: $lt_compile\"" >&5)
11649 (eval "$lt_compile" 2>conftest.err
)
11651 cat conftest.err
>&5
11652 echo "$as_me:11652: \$? = $ac_status" >&5
11653 if (exit $ac_status) && test -s "$ac_outfile"; then
11654 # The compiler can only warn and ignore the option if not recognized
11655 # So say no if there are warnings other than the usual output.
11656 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
11657 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11658 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
11659 lt_prog_compiler_pic_works_CXX
=yes
11665 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
11666 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
11668 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
11669 case $lt_prog_compiler_pic_CXX in
11671 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
11674 lt_prog_compiler_pic_CXX
=
11675 lt_prog_compiler_can_build_shared_CXX
=no
11680 # For platforms which do not support PIC, -DPIC is meaningless:
11682 lt_prog_compiler_pic_CXX
=
11685 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
11690 # Check to make sure the static flag actually works.
11692 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
11693 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11694 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
11695 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
11696 echo $ECHO_N "(cached) $ECHO_C" >&6
11698 lt_prog_compiler_static_works_CXX
=no
11699 save_LDFLAGS
="$LDFLAGS"
11700 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
11701 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
11702 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11703 # The linker can only warn and ignore the option if not recognized
11704 # So say no if there are warnings
11705 if test -s conftest.err
; then
11706 # Append any errors to the config.log.
11707 cat conftest.err
1>&5
11708 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
11709 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11710 if diff conftest.exp conftest.er2
>/dev
/null
; then
11711 lt_prog_compiler_static_works_CXX
=yes
11714 lt_prog_compiler_static_works_CXX
=yes
11718 LDFLAGS
="$save_LDFLAGS"
11721 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
11722 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
11724 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
11727 lt_prog_compiler_static_CXX
=
11731 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11732 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
11733 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
11734 echo $ECHO_N "(cached) $ECHO_C" >&6
11736 lt_cv_prog_compiler_c_o_CXX
=no
11737 $rm -r conftest
2>/dev
/null
11741 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11743 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11744 # Insert the option either (1) after the last *FLAGS variable, or
11745 # (2) before a word containing "conftest.", or (3) at the end.
11746 # Note that $ac_compile itself does not contain backslashes and begins
11747 # with a dollar sign (not a hyphen), so the echo should work correctly.
11748 lt_compile
=`echo "$ac_compile" | $SED \
11749 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11750 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11751 -e 's:$: $lt_compiler_flag:'`
11752 (eval echo "\"\$as_me:11752: $lt_compile\"" >&5)
11753 (eval "$lt_compile" 2>out
/conftest.err
)
11755 cat out
/conftest.err
>&5
11756 echo "$as_me:11756: \$? = $ac_status" >&5
11757 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
11759 # The compiler can only warn and ignore the option if not recognized
11760 # So say no if there are warnings
11761 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
11762 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
11763 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
11764 lt_cv_prog_compiler_c_o_CXX
=yes
11769 # SGI C++ compiler will create directory out/ii_files/ for
11770 # template instantiation
11771 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
11772 $rm out
/* && rmdir out
11778 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
11779 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
11782 hard_links
="nottested"
11783 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
11784 # do not overwrite the value of need_locks provided by the user
11785 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11786 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
11789 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11791 ln conftest.a conftest.b
2>&5 || hard_links
=no
11792 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11793 echo "$as_me:$LINENO: result: $hard_links" >&5
11794 echo "${ECHO_T}$hard_links" >&6
11795 if test "$hard_links" = no
; then
11796 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11797 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11804 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11805 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11807 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11810 # If we're using GNU nm, then we don't want the "-C" option.
11811 # -C means demangle to AIX nm, but means don't demangle with GNU nm
11812 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
11813 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'
11815 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'
11819 export_symbols_cmds_CXX
="$ltdll_cmds"
11822 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'
11825 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11829 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11830 echo "${ECHO_T}$ld_shlibs_CXX" >&6
11831 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
11834 # Do we need to explicitly link libc?
11836 case "x$archive_cmds_need_lc_CXX" in
11838 # Assume -lc should be added
11839 archive_cmds_need_lc_CXX
=yes
11841 if test "$enable_shared" = yes && test "$GCC" = yes; then
11842 case $archive_cmds_CXX in
11844 # FIXME: we may have to deal with multi-command sequences.
11847 # Test whether the compiler implicitly links with -lc since on some
11848 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11849 # to ld, don't add -lc before -lgcc.
11850 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11851 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
11853 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11856 (eval $ac_compile) 2>&5
11858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11859 (exit $ac_status); } 2>conftest.err
; then
11862 libobjs
=conftest.
$ac_objext
11864 wl
=$lt_prog_compiler_wl_CXX
11865 pic_flag
=$lt_prog_compiler_pic_CXX
11871 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
11872 allow_undefined_flag_CXX
=
11873 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
11874 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11877 (exit $ac_status); }
11879 archive_cmds_need_lc_CXX
=no
11881 archive_cmds_need_lc_CXX
=yes
11883 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
11885 cat conftest.err
1>&5
11888 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
11889 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
11896 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11897 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
11898 library_names_spec
=
11899 libname_spec
='lib$name'
11903 postuninstall_cmds
=
11907 shlibpath_overrides_runpath
=unknown
11909 dynamic_linker
="$host_os ld.so"
11910 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11911 if test "$GCC" = yes; then
11912 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11913 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
11914 # if the path contains ";" then we assume it to be the separator
11915 # otherwise default to the standard path separator (i.e. ":") - it is
11916 # assumed that no part of a normal pathname contains ";" but that should
11917 # okay in the real world where ";" in dirpaths is itself problematic.
11918 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11920 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11923 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11925 need_lib_prefix
=unknown
11926 hardcode_into_libs
=no
11928 # when you set need_version to no, make sure it does not cause -set_version
11929 # flags to be left without arguments
11930 need_version
=unknown
11935 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11936 shlibpath_var
=LIBPATH
11938 # AIX 3 has no versioning support, so we append a major version to the name.
11939 soname_spec
='${libname}${release}${shared_ext}$major'
11946 hardcode_into_libs
=yes
11947 if test "$host_cpu" = ia64
; then
11948 # AIX 5 supports IA64
11949 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11950 shlibpath_var
=LD_LIBRARY_PATH
11952 # With GCC up to 2.95.x, collect2 would create an import file
11953 # for dependence libraries. The import file would start with
11954 # the line `#! .'. This would cause the generated library to
11955 # depend on `.', always an invalid library. This was fixed in
11956 # development snapshots of GCC prior to 3.0.
11958 aix4 | aix4.
[01] | aix4.
[01].
*)
11959 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11961 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
11964 can_build_shared
=no
11968 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11969 # soname into executable. Probably we can add versioning support to
11970 # collect2, so additional links can be useful in future.
11971 if test "$aix_use_runtimelinking" = yes; then
11972 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11973 # instead of lib<name>.a to let people know that these are not
11974 # typical AIX shared libraries.
11975 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11977 # We preserve .a as extension for shared libraries through AIX4.2
11978 # and later when we are not doing run time linking.
11979 library_names_spec
='${libname}${release}.a $libname.a'
11980 soname_spec
='${libname}${release}${shared_ext}$major'
11982 shlibpath_var
=LIBPATH
11987 library_names_spec
='$libname.ixlibrary $libname.a'
11988 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11989 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'
11993 library_names_spec
='${libname}${shared_ext}'
11994 dynamic_linker
="$host_os ld.so"
11995 shlibpath_var
=LIBRARY_PATH
12001 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12002 soname_spec
='${libname}${release}${shared_ext}$major'
12003 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12004 shlibpath_var
=LD_LIBRARY_PATH
12005 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12006 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12007 # the default ld.so.conf also contains /usr/contrib/lib and
12008 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12009 # libtool to hard-code these into programs
12012 cygwin
* | mingw
* | pw32
*)
12013 version_type
=windows
12018 case $GCC,$host_os in
12019 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
12020 library_names_spec
='$libname.dll.a'
12021 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12022 postinstall_cmds
='base_file=`basename \${file}`~
12023 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
12024 dldir=$destdir/`dirname \$dlpath`~
12025 test -d \$dldir || mkdir -p \$dldir~
12026 $install_prog $dir/$dlname \$dldir/$dlname~
12027 chmod a+x \$dldir/$dlname'
12028 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12029 dlpath=$dir/\$dldll~
12031 shlibpath_overrides_runpath
=yes
12035 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12036 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12037 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
12040 # MinGW DLLs use traditional 'lib' prefix
12041 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12042 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12043 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
12044 # It is most probably a Windows format PATH printed by
12045 # mingw gcc, but we are running on Cygwin. Gcc prints its search
12046 # path with ; separators, and with drive letters. We can handle the
12047 # drive letters (cygwin fileutils understands them), so leave them,
12048 # especially as we might pass files found there to a mingw objdump,
12049 # which wouldn't understand a cygwinified path. Ahh.
12050 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12052 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12056 # pw32 DLLs use 'pw' prefix rather than 'lib'
12057 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12063 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12066 dynamic_linker
='Win32 ld.exe'
12067 # FIXME: first we should search . and the directory the executable is in
12071 darwin
* | rhapsody
*)
12072 dynamic_linker
="$host_os dyld"
12073 version_type
=darwin
12076 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12077 soname_spec
='${libname}${release}${major}$shared_ext'
12078 shlibpath_overrides_runpath
=yes
12079 shlibpath_var
=DYLD_LIBRARY_PATH
12080 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
12081 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
12082 if test "$GCC" = yes; then
12083 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"`
12085 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
12087 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12094 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12095 soname_spec
='${libname}${release}${shared_ext}$major'
12096 shlibpath_var
=LD_LIBRARY_PATH
12107 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12108 soname_spec
='${libname}${release}${shared_ext}$major'
12109 shlibpath_var
=LD_LIBRARY_PATH
12110 shlibpath_overrides_runpath
=no
12111 hardcode_into_libs
=yes
12112 dynamic_linker
='GNU ld.so'
12115 freebsd
* | dragonfly
*)
12116 # DragonFly does not have aout. When/if they implement a new
12117 # versioning mechanism, adjust this.
12118 if test -x /usr
/bin
/objformat
; then
12119 objformat
=`/usr/bin/objformat`
12122 freebsd
[123]*) objformat
=aout
;;
12123 *) objformat
=elf
;;
12126 version_type
=freebsd-
$objformat
12127 case $version_type in
12129 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12134 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12138 shlibpath_var
=LD_LIBRARY_PATH
12141 shlibpath_overrides_runpath
=yes
12143 freebsd3.
[01]* | freebsdelf3.
[01]*)
12144 shlibpath_overrides_runpath
=yes
12145 hardcode_into_libs
=yes
12147 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12148 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12149 shlibpath_overrides_runpath
=no
12150 hardcode_into_libs
=yes
12152 freebsd
*) # from 4.6 on
12153 shlibpath_overrides_runpath
=yes
12154 hardcode_into_libs
=yes
12163 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12164 soname_spec
='${libname}${release}${shared_ext}$major'
12165 shlibpath_var
=LD_LIBRARY_PATH
12166 hardcode_into_libs
=yes
12169 hpux9
* | hpux10
* | hpux11
*)
12170 # Give a soname corresponding to the major version so that dld.sl refuses to
12171 # link against other versions.
12178 hardcode_into_libs
=yes
12179 dynamic_linker
="$host_os dld.so"
12180 shlibpath_var
=LD_LIBRARY_PATH
12181 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12182 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12183 soname_spec
='${libname}${release}${shared_ext}$major'
12184 if test "X$HPUX_IA64_MODE" = X32
; then
12185 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12187 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12189 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12193 hardcode_into_libs
=yes
12194 dynamic_linker
="$host_os dld.sl"
12195 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12196 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12197 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12198 soname_spec
='${libname}${release}${shared_ext}$major'
12199 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12200 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12204 dynamic_linker
="$host_os dld.sl"
12205 shlibpath_var
=SHLIB_PATH
12206 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12207 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12208 soname_spec
='${libname}${release}${shared_ext}$major'
12211 # HP-UX runs *really* slowly unless shared libraries are mode 555.
12212 postinstall_cmds
='chmod 555 $lib'
12219 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12220 soname_spec
='${libname}${release}${shared_ext}$major'
12221 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12222 shlibpath_var
=LD_LIBRARY_PATH
12223 shlibpath_overrides_runpath
=no
12224 hardcode_into_libs
=yes
12227 irix5
* | irix6
* | nonstopux
*)
12229 nonstopux
*) version_type
=nonstopux
;;
12231 if test "$lt_cv_prog_gnu_ld" = yes; then
12239 soname_spec
='${libname}${release}${shared_ext}$major'
12240 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12242 irix5
* | nonstopux
*)
12243 libsuff
= shlibsuff
=
12246 case $LD in # libtool.m4 will add one of these switches to LD
12247 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12248 libsuff
= shlibsuff
= libmagic
=32-bit;;
12249 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12250 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12251 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12252 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12253 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12257 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12258 shlibpath_overrides_runpath
=no
12259 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12260 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
12261 hardcode_into_libs
=yes
12264 # No shared lib support for Linux oldld, aout, or coff.
12265 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12269 # This must be Linux ELF.
12274 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12275 soname_spec
='${libname}${release}${shared_ext}$major'
12276 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12277 shlibpath_var
=LD_LIBRARY_PATH
12278 shlibpath_overrides_runpath
=no
12279 # This implies no fast_install, which is unacceptable.
12280 # Some rework will be needed to allow for fast_install
12281 # before this can be enabled.
12282 hardcode_into_libs
=yes
12284 # find out which ABI we are using
12286 case "$host_cpu" in
12287 x86_64
*|s390x
*|powerpc64
*)
12288 echo '#line 12288 "configure"' > conftest.
$ac_ext
12289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12290 (eval $ac_compile) 2>&5
12292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12293 (exit $ac_status); }; then
12294 case `/usr/bin/file conftest.$ac_objext` in
12297 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
12305 # Append ld.so.conf contents to the search path
12306 if test -f /etc
/ld.so.conf
; then
12307 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' ' '`
12308 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
12311 # We used to test for /lib/ld.so.1 and disable shared libraries on
12312 # powerpc, because MkLinux only supported shared libraries with the
12313 # GNU dynamic linker. Since this was broken with cross compilers,
12314 # most powerpc-linux boxes support dynamic linking these days and
12315 # people can always --disable-shared, the test was removed, and we
12316 # assume the GNU/Linux dynamic linker is in use.
12317 dynamic_linker
='GNU/Linux ld.so'
12324 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12325 soname_spec
='${libname}${release}${shared_ext}$major'
12326 shlibpath_var
=LD_LIBRARY_PATH
12327 shlibpath_overrides_runpath
=no
12328 hardcode_into_libs
=yes
12329 dynamic_linker
='GNU ld.so'
12336 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
12337 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12338 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12339 dynamic_linker
='NetBSD (a.out) ld.so'
12341 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12342 soname_spec
='${libname}${release}${shared_ext}$major'
12343 dynamic_linker
='NetBSD ld.elf_so'
12345 shlibpath_var
=LD_LIBRARY_PATH
12346 shlibpath_overrides_runpath
=yes
12347 hardcode_into_libs
=yes
12352 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12353 shlibpath_var
=LD_LIBRARY_PATH
12354 shlibpath_overrides_runpath
=yes
12361 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12362 soname_spec
='${libname}${release}${shared_ext}$major'
12363 shlibpath_var
=LD_LIBRARY_PATH
12364 shlibpath_overrides_runpath
=yes
12369 sys_lib_dlsearch_path_spec
="/usr/lib"
12371 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12373 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
12374 *) need_version
=no
;;
12376 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12377 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12378 shlibpath_var
=LD_LIBRARY_PATH
12379 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12381 openbsd2.
[89] | openbsd2.
[89].
*)
12382 shlibpath_overrides_runpath
=no
12385 shlibpath_overrides_runpath
=yes
12389 shlibpath_overrides_runpath
=yes
12394 libname_spec
='$name'
12397 library_names_spec
='$libname${shared_ext} $libname.a'
12398 dynamic_linker
='OS/2 ld.exe'
12399 shlibpath_var
=LIBPATH
12402 osf3
* | osf4
* | osf5
*)
12406 soname_spec
='${libname}${release}${shared_ext}$major'
12407 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12408 shlibpath_var
=LD_LIBRARY_PATH
12409 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12410 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
12417 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12418 soname_spec
='${libname}${release}${shared_ext}$major'
12419 shlibpath_var
=LD_LIBRARY_PATH
12420 shlibpath_overrides_runpath
=yes
12421 hardcode_into_libs
=yes
12422 # ldd complains unless libraries are executable
12423 postinstall_cmds
='chmod +x $lib'
12428 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12429 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12430 shlibpath_var
=LD_LIBRARY_PATH
12431 shlibpath_overrides_runpath
=yes
12432 if test "$with_gnu_ld" = yes; then
12440 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12441 soname_spec
='${libname}${release}${shared_ext}$major'
12442 shlibpath_var
=LD_LIBRARY_PATH
12443 case $host_vendor in
12445 shlibpath_overrides_runpath
=no
12447 export_dynamic_flag_spec
='${wl}-Blargedynsym'
12448 runpath_var
=LD_RUN_PATH
12456 shlibpath_overrides_runpath
=no
12457 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12463 if test -d /usr
/nec
;then
12465 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12466 soname_spec
='$libname${shared_ext}.$major'
12467 shlibpath_var
=LD_LIBRARY_PATH
12471 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12472 version_type
=freebsd-elf
12475 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12476 soname_spec
='${libname}${release}${shared_ext}$major'
12477 shlibpath_var
=LD_LIBRARY_PATH
12478 hardcode_into_libs
=yes
12479 if test "$with_gnu_ld" = yes; then
12480 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12481 shlibpath_overrides_runpath
=no
12483 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12484 shlibpath_overrides_runpath
=yes
12487 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12491 sys_lib_dlsearch_path_spec
='/usr/lib'
12496 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12497 soname_spec
='${libname}${release}${shared_ext}$major'
12498 shlibpath_var
=LD_LIBRARY_PATH
12505 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12506 echo "${ECHO_T}$dynamic_linker" >&6
12507 test "$dynamic_linker" = no
&& can_build_shared
=no
12509 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12510 if test "$GCC" = yes; then
12511 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12514 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12515 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
12516 hardcode_action_CXX
=
12517 if test -n "$hardcode_libdir_flag_spec_CXX" || \
12518 test -n "$runpath_var_CXX" || \
12519 test "X$hardcode_automatic_CXX" = "Xyes" ; then
12521 # We can hardcode non-existant directories.
12522 if test "$hardcode_direct_CXX" != no
&&
12523 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12524 # have to relink, otherwise we might link with an installed library
12525 # when we should be linking with a yet-to-be-installed one
12526 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
12527 test "$hardcode_minus_L_CXX" != no
; then
12528 # Linking always hardcodes the temporary library directory.
12529 hardcode_action_CXX
=relink
12531 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12532 hardcode_action_CXX
=immediate
12535 # We cannot hardcode anything, or else we can only hardcode existing
12537 hardcode_action_CXX
=unsupported
12539 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
12540 echo "${ECHO_T}$hardcode_action_CXX" >&6
12542 if test "$hardcode_action_CXX" = relink
; then
12543 # Fast installation is not supported
12544 enable_fast_install
=no
12545 elif test "$shlibpath_overrides_runpath" = yes ||
12546 test "$enable_shared" = no
; then
12547 # Fast installation is not necessary
12548 enable_fast_install
=needless
12552 # The else clause should only fire when bootstrapping the
12553 # libtool distribution, otherwise you forgot to ship ltmain.sh
12554 # with your package, and you will get complaints that there are
12555 # no rules to generate ltmain.sh.
12556 if test -f "$ltmain"; then
12557 # See if we are running on zsh, and set the options which allow our commands through
12558 # without removal of \ escapes.
12559 if test -n "${ZSH_VERSION+set}" ; then
12560 setopt NO_GLOB_SUBST
12562 # Now quote all the things that may contain metacharacters while being
12563 # careful not to overquote the AC_SUBSTed values. We take copies of the
12564 # variables and quote the copies for generation of the libtool script.
12565 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
12567 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12568 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12569 deplibs_check_method reload_flag reload_cmds need_locks \
12570 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12571 lt_cv_sys_global_symbol_to_c_name_address \
12572 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12573 old_postinstall_cmds old_postuninstall_cmds \
12577 lt_prog_compiler_wl_CXX \
12578 lt_prog_compiler_pic_CXX \
12579 lt_prog_compiler_static_CXX \
12580 lt_prog_compiler_no_builtin_flag_CXX \
12581 export_dynamic_flag_spec_CXX \
12582 thread_safe_flag_spec_CXX \
12583 whole_archive_flag_spec_CXX \
12584 enable_shared_with_static_runtimes_CXX \
12585 old_archive_cmds_CXX \
12586 old_archive_from_new_cmds_CXX \
12587 predep_objects_CXX \
12588 postdep_objects_CXX \
12591 compiler_lib_search_path_CXX \
12593 archive_expsym_cmds_CXX \
12594 postinstall_cmds_CXX \
12595 postuninstall_cmds_CXX \
12596 old_archive_from_expsyms_cmds_CXX \
12597 allow_undefined_flag_CXX \
12598 no_undefined_flag_CXX \
12599 export_symbols_cmds_CXX \
12600 hardcode_libdir_flag_spec_CXX \
12601 hardcode_libdir_flag_spec_ld_CXX \
12602 hardcode_libdir_separator_CXX \
12603 hardcode_automatic_CXX \
12605 module_expsym_cmds_CXX \
12606 lt_cv_prog_compiler_c_o_CXX \
12607 exclude_expsyms_CXX \
12608 include_expsyms_CXX
; do
12611 old_archive_cmds_CXX | \
12612 old_archive_from_new_cmds_CXX | \
12613 archive_cmds_CXX | \
12614 archive_expsym_cmds_CXX | \
12615 module_cmds_CXX | \
12616 module_expsym_cmds_CXX | \
12617 old_archive_from_expsyms_cmds_CXX | \
12618 export_symbols_cmds_CXX | \
12619 extract_expsyms_cmds | reload_cmds | finish_cmds | \
12620 postinstall_cmds | postuninstall_cmds | \
12621 old_postinstall_cmds | old_postuninstall_cmds | \
12622 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
12623 # Double-quote double-evaled strings.
12624 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
12627 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
12633 *'\$0 --fallback-echo"')
12634 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12640 cat <<__EOF__ >> "$cfgfile"
12641 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
12643 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12645 # Shell to use when invoking shell scripts.
12648 # Whether or not to build shared libraries.
12649 build_libtool_libs=$enable_shared
12651 # Whether or not to build static libraries.
12652 build_old_libs=$enable_static
12654 # Whether or not to add -lc for building shared libraries.
12655 build_libtool_need_lc=$archive_cmds_need_lc_CXX
12657 # Whether or not to disallow shared libs when runtime libs are static
12658 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
12660 # Whether or not to optimize for fast installation.
12661 fast_install=$enable_fast_install
12664 host_alias=$host_alias
12668 # The build system.
12669 build_alias=$build_alias
12673 # An echo program that does not interpret backslashes.
12678 AR_FLAGS=$lt_AR_FLAGS
12683 # LTCC compiler flags.
12684 LTCFLAGS=$lt_LTCFLAGS
12686 # A language-specific compiler.
12687 CC=$lt_compiler_CXX
12689 # Is the compiler the GNU C compiler?
12692 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
12693 gcc_ver=\`gcc -dumpversion\`
12698 # The linker used to build libraries.
12701 # Whether we need hard or soft links.
12704 # A BSD-compatible nm program.
12707 # A symbol stripping program
12710 # Used to examine libraries when file_magic_cmd begins "file"
12711 MAGIC_CMD=$MAGIC_CMD
12713 # Used on cygwin: DLL creation program.
12716 # Used on cygwin: object dumper.
12719 # Used on cygwin: assembler.
12722 # The name of the directory that contains temporary libtool files.
12725 # How to create reloadable object files.
12726 reload_flag=$lt_reload_flag
12727 reload_cmds=$lt_reload_cmds
12729 # How to pass a linker flag through the compiler.
12730 wl=$lt_lt_prog_compiler_wl_CXX
12732 # Object file suffix (normally "o").
12733 objext="$ac_objext"
12735 # Old archive suffix (normally "a").
12738 # Shared library suffix (normally ".so").
12739 shrext_cmds='$shrext_cmds'
12741 # Executable file suffix (normally "").
12744 # Additional compiler flags for building library objects.
12745 pic_flag=$lt_lt_prog_compiler_pic_CXX
12748 # What is the maximum length of a command?
12749 max_cmd_len=$lt_cv_sys_max_cmd_len
12751 # Does compiler simultaneously support -c and -o options?
12752 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
12754 # Must we lock files when doing compilation?
12755 need_locks=$lt_need_locks
12757 # Do we need the lib prefix for modules?
12758 need_lib_prefix=$need_lib_prefix
12760 # Do we need a version for libraries?
12761 need_version=$need_version
12763 # Whether dlopen is supported.
12764 dlopen_support=$enable_dlopen
12766 # Whether dlopen of programs is supported.
12767 dlopen_self=$enable_dlopen_self
12769 # Whether dlopen of statically linked programs is supported.
12770 dlopen_self_static=$enable_dlopen_self_static
12772 # Compiler flag to prevent dynamic linking.
12773 link_static_flag=$lt_lt_prog_compiler_static_CXX
12775 # Compiler flag to turn off builtin functions.
12776 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
12778 # Compiler flag to allow reflexive dlopens.
12779 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
12781 # Compiler flag to generate shared objects directly from archives.
12782 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
12784 # Compiler flag to generate thread-safe objects.
12785 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
12787 # Library versioning type.
12788 version_type=$version_type
12790 # Format of library name prefix.
12791 libname_spec=$lt_libname_spec
12793 # List of archive names. First name is the real one, the rest are links.
12794 # The last name is the one that the linker finds with -lNAME.
12795 library_names_spec=$lt_library_names_spec
12797 # The coded name of the library, if different from the real name.
12798 soname_spec=$lt_soname_spec
12800 # Commands used to build and install an old-style archive.
12802 old_archive_cmds=$lt_old_archive_cmds_CXX
12803 old_postinstall_cmds=$lt_old_postinstall_cmds
12804 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12806 # Create an old-style archive from a shared archive.
12807 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
12809 # Create a temporary old-style archive to link instead of a shared archive.
12810 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
12812 # Commands used to build and install a shared archive.
12813 archive_cmds=$lt_archive_cmds_CXX
12814 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
12815 postinstall_cmds=$lt_postinstall_cmds
12816 postuninstall_cmds=$lt_postuninstall_cmds
12818 # Commands used to build a loadable module (assumed same as above if empty)
12819 module_cmds=$lt_module_cmds_CXX
12820 module_expsym_cmds=$lt_module_expsym_cmds_CXX
12822 # Commands to strip libraries.
12823 old_striplib=$lt_old_striplib
12824 striplib=$lt_striplib
12826 # Dependencies to place before the objects being linked to create a
12828 predep_objects=\`echo $lt_predep_objects_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
12830 # Dependencies to place after the objects being linked to create a
12832 postdep_objects=\`echo $lt_postdep_objects_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
12834 # Dependencies to place before the objects being linked to create a
12836 predeps=$lt_predeps_CXX
12838 # Dependencies to place after the objects being linked to create a
12840 postdeps=$lt_postdeps_CXX
12842 # The library search path used internally by the compiler when linking
12843 # a shared library.
12844 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"\`
12846 # Method to check whether dependent libraries are shared objects.
12847 deplibs_check_method=$lt_deplibs_check_method
12849 # Command to use when deplibs_check_method == file_magic.
12850 file_magic_cmd=$lt_file_magic_cmd
12852 # Flag that allows shared libraries with undefined symbols to be built.
12853 allow_undefined_flag=$lt_allow_undefined_flag_CXX
12855 # Flag that forces no undefined symbols.
12856 no_undefined_flag=$lt_no_undefined_flag_CXX
12858 # Commands used to finish a libtool library installation in a directory.
12859 finish_cmds=$lt_finish_cmds
12861 # Same as above, but a single script fragment to be evaled but not shown.
12862 finish_eval=$lt_finish_eval
12864 # Take the output of nm and produce a listing of raw symbols and C names.
12865 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12867 # Transform the output of nm in a proper C declaration
12868 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12870 # Transform the output of nm in a C name address pair
12871 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12873 # This is the shared library runtime path variable.
12874 runpath_var=$runpath_var
12876 # This is the shared library path variable.
12877 shlibpath_var=$shlibpath_var
12879 # Is shlibpath searched before the hard-coded library search path?
12880 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12882 # How to hardcode a shared library path into an executable.
12883 hardcode_action=$hardcode_action_CXX
12885 # Whether we should hardcode library paths into libraries.
12886 hardcode_into_libs=$hardcode_into_libs
12888 # Flag to hardcode \$libdir into a binary during linking.
12889 # This must work even if \$libdir does not exist.
12890 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
12892 # If ld is used when linking, flag to hardcode \$libdir into
12893 # a binary during linking. This must work even if \$libdir does
12895 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
12897 # Whether we need a single -rpath flag with a separated argument.
12898 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
12900 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
12901 # resulting binary.
12902 hardcode_direct=$hardcode_direct_CXX
12904 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
12905 # resulting binary.
12906 hardcode_minus_L=$hardcode_minus_L_CXX
12908 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
12909 # the resulting binary.
12910 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
12912 # Set to yes if building a shared library automatically hardcodes DIR into the library
12913 # and all subsequent libraries and executables linked against it.
12914 hardcode_automatic=$hardcode_automatic_CXX
12916 # Variables whose values should be saved in libtool wrapper scripts and
12917 # restored at relink time.
12918 variables_saved_for_relink="$variables_saved_for_relink"
12920 # Whether libtool must link a program against all its dependency libraries.
12921 link_all_deplibs=$link_all_deplibs_CXX
12923 # Compile-time system search path for libraries
12924 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"\`
12926 # Run-time system search path for libraries
12927 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12929 # Fix the shell variable \$srcfile for the compiler.
12930 fix_srcfile_path="$fix_srcfile_path_CXX"
12932 # Set to yes if exported symbols are required.
12933 always_export_symbols=$always_export_symbols_CXX
12935 # The commands to list exported symbols.
12936 export_symbols_cmds=$lt_export_symbols_cmds_CXX
12938 # The commands to extract the exported symbol list from a shared archive.
12939 extract_expsyms_cmds=$lt_extract_expsyms_cmds
12941 # Symbols that should not be listed in the preloaded symbols.
12942 exclude_expsyms=$lt_exclude_expsyms_CXX
12944 # Symbols that must always be exported.
12945 include_expsyms=$lt_include_expsyms_CXX
12947 # ### END LIBTOOL TAG CONFIG: $tagname
12953 # If there is no Makefile yet, we rely on a make rule to execute
12954 # `config.status --recheck' to rerun these tests and create the
12955 # libtool script then.
12956 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
12957 if test -f "$ltmain_in"; then
12958 test -f Makefile
&& make "$ltmain"
12964 ac_cpp
='$CPP $CPPFLAGS'
12965 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12966 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12967 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12973 with_gnu_ldcxx
=$with_gnu_ld
12974 with_gnu_ld
=$lt_save_with_gnu_ld
12975 lt_cv_path_LDCXX
=$lt_cv_path_LD
12976 lt_cv_path_LD
=$lt_save_path_LD
12977 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
12978 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
12986 if test -n "$F77" && test "X$F77" != "Xno"; then
12989 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
12990 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12991 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
12994 archive_cmds_need_lc_F77
=no
12995 allow_undefined_flag_F77
=
12996 always_export_symbols_F77
=no
12997 archive_expsym_cmds_F77
=
12998 export_dynamic_flag_spec_F77
=
12999 hardcode_direct_F77
=no
13000 hardcode_libdir_flag_spec_F77
=
13001 hardcode_libdir_flag_spec_ld_F77
=
13002 hardcode_libdir_separator_F77
=
13003 hardcode_minus_L_F77
=no
13004 hardcode_automatic_F77
=no
13006 module_expsym_cmds_F77
=
13007 link_all_deplibs_F77
=unknown
13008 old_archive_cmds_F77
=$old_archive_cmds
13009 no_undefined_flag_F77
=
13010 whole_archive_flag_spec_F77
=
13011 enable_shared_with_static_runtimes_F77
=no
13013 # Source file extension for f77 test sources.
13016 # Object file extension for compiled f77 test sources.
13020 # Code to be used in simple compile tests
13021 lt_simple_compile_test_code
=" subroutine t\n return\n end\n"
13023 # Code to be used in simple link tests
13024 lt_simple_link_test_code
=" program t\n end\n"
13026 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13028 # If no C compiler was specified, use CC.
13031 # If no C compiler flags were specified, use CFLAGS.
13032 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13034 # Allow CC to be a program name with arguments.
13038 # save warnings/boilerplate of simple test code
13039 ac_outfile
=conftest.
$ac_objext
13040 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
13041 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13042 _lt_compiler_boilerplate
=`cat conftest.err`
13045 ac_outfile
=conftest.
$ac_objext
13046 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
13047 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13048 _lt_linker_boilerplate
=`cat conftest.err`
13052 # Allow CC to be a program name with arguments.
13057 for cc_temp
in $compiler""; do
13059 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13060 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13065 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13068 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13069 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
13070 echo "$as_me:$LINENO: result: $can_build_shared" >&5
13071 echo "${ECHO_T}$can_build_shared" >&6
13073 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13074 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
13075 test "$can_build_shared" = "no" && enable_shared
=no
13077 # On AIX, shared libraries and static libraries use the same namespace, and
13078 # are all built from PIC.
13081 test "$enable_shared" = yes && enable_static
=no
13082 if test -n "$RANLIB"; then
13083 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13084 postinstall_cmds
='$RANLIB $lib'
13088 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13089 test "$enable_shared" = yes && enable_static
=no
13093 echo "$as_me:$LINENO: result: $enable_shared" >&5
13094 echo "${ECHO_T}$enable_shared" >&6
13096 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13097 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
13098 # Make sure either enable_shared or enable_static is yes.
13099 test "$enable_shared" = yes || enable_static
=yes
13100 echo "$as_me:$LINENO: result: $enable_static" >&5
13101 echo "${ECHO_T}$enable_static" >&6
13106 lt_prog_compiler_wl_F77
=
13107 lt_prog_compiler_pic_F77
=
13108 lt_prog_compiler_static_F77
=
13110 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13111 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
13113 if test "$GCC" = yes; then
13114 lt_prog_compiler_wl_F77
='-Wl,'
13115 lt_prog_compiler_static_F77
='-static'
13119 # All AIX code is PIC.
13120 if test "$host_cpu" = ia64
; then
13121 # AIX 5 now supports IA64 processor
13122 lt_prog_compiler_static_F77
='-Bstatic'
13127 # FIXME: we need at least 68020 code to build shared libraries, but
13128 # adding the `-m68020' flag to GCC prevents building anything better,
13130 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
13133 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13134 # PIC is the default for these OSes.
13137 mingw
* | pw32
* | os2
*)
13138 # This hack is so that the source file can tell whether it is being
13139 # built for inclusion in a dll (and should export symbols for example).
13140 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13143 darwin
* | rhapsody
*)
13144 # PIC is the default on this platform
13145 # Common symbols not allowed in MH_DYLIB files
13146 lt_prog_compiler_pic_F77
='-fno-common'
13150 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13151 # Instead, we relocate shared libraries at runtime.
13155 # Just because we use GCC doesn't mean we suddenly get shared libraries
13156 # on systems that don't support them.
13157 lt_prog_compiler_can_build_shared_F77
=no
13162 if test -d /usr
/nec
; then
13163 lt_prog_compiler_pic_F77
=-Kconform_pic
13168 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13169 # not for PA HP-UX.
13175 lt_prog_compiler_pic_F77
='-fPIC'
13181 lt_prog_compiler_pic_F77
='-fPIC'
13185 # PORTME Check for flag to pass linker flags through the system compiler.
13188 lt_prog_compiler_wl_F77
='-Wl,'
13189 if test "$host_cpu" = ia64
; then
13190 # AIX 5 now supports IA64 processor
13191 lt_prog_compiler_static_F77
='-Bstatic'
13193 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
13197 # PIC is the default on this platform
13198 # Common symbols not allowed in MH_DYLIB files
13199 case $cc_basename in
13201 lt_prog_compiler_pic_F77
='-qnocommon'
13202 lt_prog_compiler_wl_F77
='-Wl,'
13207 mingw
* | pw32
* | os2
*)
13208 # This hack is so that the source file can tell whether it is being
13209 # built for inclusion in a dll (and should export symbols for example).
13210 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13213 hpux9
* | hpux10
* | hpux11
*)
13214 lt_prog_compiler_wl_F77
='-Wl,'
13215 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13216 # not for PA HP-UX.
13222 lt_prog_compiler_pic_F77
='+Z'
13225 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13226 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
13229 irix5
* | irix6
* | nonstopux
*)
13230 lt_prog_compiler_wl_F77
='-Wl,'
13231 # PIC (with -KPIC) is the default.
13232 lt_prog_compiler_static_F77
='-non_shared'
13236 lt_prog_compiler_pic_F77
='-KPIC'
13237 lt_prog_compiler_static_F77
='-Bstatic'
13241 case $cc_basename in
13243 lt_prog_compiler_wl_F77
='-Wl,'
13244 lt_prog_compiler_pic_F77
='-KPIC'
13245 lt_prog_compiler_static_F77
='-static'
13247 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
13248 # Portland Group compilers (*not* the Pentium gcc compiler,
13249 # which looks to be a dead project)
13250 lt_prog_compiler_wl_F77
='-Wl,'
13251 lt_prog_compiler_pic_F77
='-fpic'
13252 lt_prog_compiler_static_F77
='-Bstatic'
13255 lt_prog_compiler_wl_F77
='-Wl,'
13256 # All Alpha code is PIC.
13257 lt_prog_compiler_static_F77
='-non_shared'
13262 osf3
* | osf4
* | osf5
*)
13263 lt_prog_compiler_wl_F77
='-Wl,'
13264 # All OSF/1 code is PIC.
13265 lt_prog_compiler_static_F77
='-non_shared'
13269 lt_prog_compiler_pic_F77
='-KPIC'
13270 lt_prog_compiler_static_F77
='-Bstatic'
13271 case $cc_basename in
13272 f77
* | f90
* | f95
*)
13273 lt_prog_compiler_wl_F77
='-Qoption ld ';;
13275 lt_prog_compiler_wl_F77
='-Wl,';;
13280 lt_prog_compiler_wl_F77
='-Qoption ld '
13281 lt_prog_compiler_pic_F77
='-PIC'
13282 lt_prog_compiler_static_F77
='-Bstatic'
13285 sysv4 | sysv4.2uw2
* | sysv4.3
*)
13286 lt_prog_compiler_wl_F77
='-Wl,'
13287 lt_prog_compiler_pic_F77
='-KPIC'
13288 lt_prog_compiler_static_F77
='-Bstatic'
13292 if test -d /usr
/nec
;then
13293 lt_prog_compiler_pic_F77
='-Kconform_pic'
13294 lt_prog_compiler_static_F77
='-Bstatic'
13298 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13299 lt_prog_compiler_wl_F77
='-Wl,'
13300 lt_prog_compiler_pic_F77
='-KPIC'
13301 lt_prog_compiler_static_F77
='-Bstatic'
13305 lt_prog_compiler_wl_F77
='-Wl,'
13306 lt_prog_compiler_can_build_shared_F77
=no
13310 lt_prog_compiler_pic_F77
='-pic'
13311 lt_prog_compiler_static_F77
='-Bstatic'
13315 lt_prog_compiler_can_build_shared_F77
=no
13320 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13321 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
13324 # Check to make sure the PIC flag actually works.
13326 if test -n "$lt_prog_compiler_pic_F77"; then
13328 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13329 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
13330 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13331 echo $ECHO_N "(cached) $ECHO_C" >&6
13333 lt_prog_compiler_pic_works_F77
=no
13334 ac_outfile
=conftest.
$ac_objext
13335 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13336 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
13337 # Insert the option either (1) after the last *FLAGS variable, or
13338 # (2) before a word containing "conftest.", or (3) at the end.
13339 # Note that $ac_compile itself does not contain backslashes and begins
13340 # with a dollar sign (not a hyphen), so the echo should work correctly.
13341 # The option is referenced via a variable to avoid confusing sed.
13342 lt_compile
=`echo "$ac_compile" | $SED \
13343 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13344 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13345 -e 's:$: $lt_compiler_flag:'`
13346 (eval echo "\"\$as_me:13346: $lt_compile\"" >&5)
13347 (eval "$lt_compile" 2>conftest.err
)
13349 cat conftest.err
>&5
13350 echo "$as_me:13350: \$? = $ac_status" >&5
13351 if (exit $ac_status) && test -s "$ac_outfile"; then
13352 # The compiler can only warn and ignore the option if not recognized
13353 # So say no if there are warnings other than the usual output.
13354 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
13355 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13356 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13357 lt_prog_compiler_pic_works_F77
=yes
13363 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13364 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
13366 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
13367 case $lt_prog_compiler_pic_F77 in
13369 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
13372 lt_prog_compiler_pic_F77
=
13373 lt_prog_compiler_can_build_shared_F77
=no
13378 # For platforms which do not support PIC, -DPIC is meaningless:
13380 lt_prog_compiler_pic_F77
=
13383 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
13388 # Check to make sure the static flag actually works.
13390 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
13391 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13392 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
13393 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
13394 echo $ECHO_N "(cached) $ECHO_C" >&6
13396 lt_prog_compiler_static_works_F77
=no
13397 save_LDFLAGS
="$LDFLAGS"
13398 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13399 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
13400 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13401 # The linker can only warn and ignore the option if not recognized
13402 # So say no if there are warnings
13403 if test -s conftest.err
; then
13404 # Append any errors to the config.log.
13405 cat conftest.err
1>&5
13406 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
13407 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13408 if diff conftest.exp conftest.er2
>/dev
/null
; then
13409 lt_prog_compiler_static_works_F77
=yes
13412 lt_prog_compiler_static_works_F77
=yes
13416 LDFLAGS
="$save_LDFLAGS"
13419 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
13420 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6
13422 if test x
"$lt_prog_compiler_static_works_F77" = xyes
; then
13425 lt_prog_compiler_static_F77
=
13429 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13430 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13431 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13432 echo $ECHO_N "(cached) $ECHO_C" >&6
13434 lt_cv_prog_compiler_c_o_F77
=no
13435 $rm -r conftest
2>/dev
/null
13439 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13441 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13442 # Insert the option either (1) after the last *FLAGS variable, or
13443 # (2) before a word containing "conftest.", or (3) at the end.
13444 # Note that $ac_compile itself does not contain backslashes and begins
13445 # with a dollar sign (not a hyphen), so the echo should work correctly.
13446 lt_compile
=`echo "$ac_compile" | $SED \
13447 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13448 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13449 -e 's:$: $lt_compiler_flag:'`
13450 (eval echo "\"\$as_me:13450: $lt_compile\"" >&5)
13451 (eval "$lt_compile" 2>out
/conftest.err
)
13453 cat out
/conftest.err
>&5
13454 echo "$as_me:13454: \$? = $ac_status" >&5
13455 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13457 # The compiler can only warn and ignore the option if not recognized
13458 # So say no if there are warnings
13459 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
13460 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13461 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13462 lt_cv_prog_compiler_c_o_F77
=yes
13467 # SGI C++ compiler will create directory out/ii_files/ for
13468 # template instantiation
13469 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
13470 $rm out
/* && rmdir out
13476 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13477 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
13480 hard_links
="nottested"
13481 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
13482 # do not overwrite the value of need_locks provided by the user
13483 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13484 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13487 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13489 ln conftest.a conftest.b
2>&5 || hard_links
=no
13490 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13491 echo "$as_me:$LINENO: result: $hard_links" >&5
13492 echo "${ECHO_T}$hard_links" >&6
13493 if test "$hard_links" = no
; then
13494 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13495 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13502 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13503 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13506 allow_undefined_flag_F77
=
13507 enable_shared_with_static_runtimes_F77
=no
13509 archive_expsym_cmds_F77
=
13510 old_archive_From_new_cmds_F77
=
13511 old_archive_from_expsyms_cmds_F77
=
13512 export_dynamic_flag_spec_F77
=
13513 whole_archive_flag_spec_F77
=
13514 thread_safe_flag_spec_F77
=
13515 hardcode_libdir_flag_spec_F77
=
13516 hardcode_libdir_flag_spec_ld_F77
=
13517 hardcode_libdir_separator_F77
=
13518 hardcode_direct_F77
=no
13519 hardcode_minus_L_F77
=no
13520 hardcode_shlibpath_var_F77
=unsupported
13521 link_all_deplibs_F77
=unknown
13522 hardcode_automatic_F77
=no
13524 module_expsym_cmds_F77
=
13525 always_export_symbols_F77
=no
13526 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13527 # include_expsyms should be a list of space-separated symbols to be *always*
13528 # included in the symbol list
13529 include_expsyms_F77
=
13530 # exclude_expsyms can be an extended regexp of symbols to exclude
13531 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13532 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13533 # as well as any symbol that contains `d'.
13534 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
13535 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13536 # platforms (ab)use it in PIC code, but their linkers get confused if
13537 # the symbol is explicitly referenced. Since portable code cannot
13538 # rely on this symbol name, it's probably fine to never include it in
13539 # preloaded symbol tables.
13540 extract_expsyms_cmds
=
13541 # Just being paranoid about ensuring that cc_basename is set.
13542 for cc_temp
in $compiler""; do
13544 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13545 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13550 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13553 cygwin
* | mingw
* | pw32
*)
13554 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13555 # When not using gcc, we currently assume that we are using
13556 # Microsoft Visual C++.
13557 if test "$GCC" != yes; then
13562 # we just hope/assume this is gcc and not c89 (= MSVC++)
13571 if test "$with_gnu_ld" = yes; then
13572 # If archive_cmds runs LD, not CC, wlarc should be empty
13575 # Set some defaults for GNU ld with shared library support. These
13576 # are reset later if shared libraries are not supported. Putting them
13577 # here allows them to be overridden if necessary.
13578 runpath_var
=LD_RUN_PATH
13579 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
13580 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
13581 # ancient GNU ld didn't support --whole-archive et. al.
13582 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
13583 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13585 whole_archive_flag_spec_F77
=
13587 supports_anon_versioning
=no
13588 case `$LD -v 2>/dev/null` in
13589 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
13590 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
13591 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
13592 *\
2.11.
*) ;; # other 2.11 versions
13593 *) supports_anon_versioning
=yes ;;
13596 # See if GNU ld supports shared libraries.
13598 aix3
* | aix4
* | aix5
*)
13599 # On AIX/PPC, the GNU linker is very broken
13600 if test "$host_cpu" != ia64
; then
13604 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
13605 *** to be unable to reliably create shared libraries on AIX.
13606 *** Therefore, libtool is disabling shared libraries support. If you
13607 *** really care for shared libraries, you may want to modify your PATH
13608 *** so that a non-GNU linker is found, and then restart.
13615 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)'
13616 hardcode_libdir_flag_spec_F77
='-L$libdir'
13617 hardcode_minus_L_F77
=yes
13619 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
13620 # that the semantics of dynamic libraries on AmigaOS, at least up
13621 # to version 4, is to share data among multiple programs linked
13622 # with the same dynamic library. Since this doesn't match the
13623 # behavior of shared libraries on other platforms, we can't use
13629 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13630 allow_undefined_flag_F77
=unsupported
13631 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13632 # support --undefined. This deserves some investigation. FIXME
13633 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13639 cygwin
* | mingw
* | pw32
*)
13640 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
13641 # as there is no search path for DLLs.
13642 hardcode_libdir_flag_spec_F77
='-L$libdir'
13643 allow_undefined_flag_F77
=unsupported
13644 always_export_symbols_F77
=no
13645 enable_shared_with_static_runtimes_F77
=yes
13646 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13648 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
13649 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13650 # If the export-symbols file already is a .def file (1st line
13651 # is EXPORTS), use it as is; otherwise, prepend...
13652 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13653 cp $export_symbols $output_objdir/$soname.def;
13655 echo EXPORTS > $output_objdir/$soname.def;
13656 cat $export_symbols >> $output_objdir/$soname.def;
13658 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13665 hardcode_direct_F77
=no
13666 hardcode_shlibpath_var_F77
=no
13667 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
13668 export_dynamic_flag_spec_F77
='${wl}-E'
13669 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13670 # Instead, shared libraries are loaded at an image base (0x10000000 by
13671 # default) and relocated if they conflict, which is a slow very memory
13672 # consuming and fragmenting process. To avoid this, we pick a random,
13673 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13674 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13675 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'
13676 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'
13680 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13682 case $cc_basename,$host_cpu in
13683 pgcc
*) # Portland Group C compiler
13684 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'
13685 tmp_addflag
=' $pic_flag'
13687 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
13688 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'
13689 tmp_addflag
=' $pic_flag -Mnomain' ;;
13690 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
13691 tmp_addflag
=' -i_dynamic' ;;
13692 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
13693 tmp_addflag
=' -i_dynamic -nofor_main' ;;
13694 ifc
* | ifort
*) # Intel Fortran compiler
13695 tmp_addflag
=' -nofor_main' ;;
13697 archive_cmds_F77
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13699 if test $supports_anon_versioning = yes; then
13700 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
13701 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13702 $echo "local: *; };" >> $output_objdir/$libname.ver~
13703 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13711 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
13712 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13715 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13716 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13721 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
13725 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13726 *** create shared libraries on Solaris systems. Therefore, libtool
13727 *** is disabling shared libraries support. We urge you to upgrade GNU
13728 *** binutils to release 2.9.1 or newer. Another option is to modify
13729 *** your PATH or compiler configuration so that the native linker is
13730 *** used, and then restart.
13733 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13734 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13735 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13741 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
13742 case `$LD -v 2>&1` in
13743 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
13747 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
13748 *** reliably create shared libraries on SCO systems. Therefore, libtool
13749 *** is disabling shared libraries support. We urge you to upgrade GNU
13750 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
13751 *** your PATH or compiler configuration so that the native linker is
13752 *** used, and then restart.
13757 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13758 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
13759 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
13760 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
13769 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13771 hardcode_direct_F77
=yes
13772 hardcode_shlibpath_var_F77
=no
13776 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13777 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13778 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13785 if test "$ld_shlibs_F77" = no
; then
13787 hardcode_libdir_flag_spec_F77
=
13788 export_dynamic_flag_spec_F77
=
13789 whole_archive_flag_spec_F77
=
13792 # PORTME fill in a description of your system's linker (not GNU ld)
13795 allow_undefined_flag_F77
=unsupported
13796 always_export_symbols_F77
=yes
13797 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'
13798 # Note: this linker hardcodes the directories in LIBPATH if there
13799 # are no directories specified by -L.
13800 hardcode_minus_L_F77
=yes
13801 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
13802 # Neither direct hardcoding nor static linking is supported with a
13804 hardcode_direct_F77
=unsupported
13809 if test "$host_cpu" = ia64
; then
13810 # On IA64, the linker does run time linking by default, so we don't
13811 # have to do anything special.
13812 aix_use_runtimelinking
=no
13813 exp_sym_flag
='-Bexport'
13816 # If we're using GNU nm, then we don't want the "-C" option.
13817 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13818 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
13819 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'
13821 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'
13823 aix_use_runtimelinking
=no
13825 # Test if we are trying to use run time linking or normal
13826 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13827 # need to do runtime linking.
13828 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
13829 for ld_flag
in $LDFLAGS; do
13830 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
13831 aix_use_runtimelinking
=yes
13838 exp_sym_flag
='-bexport'
13839 no_entry_flag
='-bnoentry'
13842 # When large executables or shared objects are built, AIX ld can
13843 # have problems creating the table of contents. If linking a library
13844 # or program results in "error TOC overflow" add -mminimal-toc to
13845 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13846 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13848 archive_cmds_F77
=''
13849 hardcode_direct_F77
=yes
13850 hardcode_libdir_separator_F77
=':'
13851 link_all_deplibs_F77
=yes
13853 if test "$GCC" = yes; then
13854 case $host_os in aix4.
[012]|aix4.
[012].
*)
13855 # We only want to do this on AIX 4.2 and lower, the check
13856 # below for broken collect2 doesn't work under 4.3+
13857 collect2name
=`${CC} -print-prog-name=collect2`
13858 if test -f "$collect2name" && \
13859 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
13861 # We have reworked collect2
13862 hardcode_direct_F77
=yes
13864 # We have old collect2
13865 hardcode_direct_F77
=unsupported
13866 # It fails to find uninstalled libraries when the uninstalled
13867 # path is not listed in the libpath. Setting hardcode_minus_L
13868 # to unsupported forces relinking
13869 hardcode_minus_L_F77
=yes
13870 hardcode_libdir_flag_spec_F77
='-L$libdir'
13871 hardcode_libdir_separator_F77
=
13875 shared_flag
='-shared'
13876 if test "$aix_use_runtimelinking" = yes; then
13877 shared_flag
="$shared_flag "'${wl}-G'
13881 if test "$host_cpu" = ia64
; then
13882 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13883 # chokes on -Wl,-G. The following line is correct:
13886 if test "$aix_use_runtimelinking" = yes; then
13887 shared_flag
='${wl}-G'
13889 shared_flag
='${wl}-bM:SRE'
13894 # It seems that -bexpall does not export symbols beginning with
13895 # underscore (_), so it is better to generate a list of symbols to export.
13896 always_export_symbols_F77
=yes
13897 if test "$aix_use_runtimelinking" = yes; then
13898 # Warning - without using the other runtime loading flags (-brtl),
13899 # -berok will link without error, but may produce a broken library.
13900 allow_undefined_flag_F77
='-berok'
13901 # Determine the default libpath from the value encoded in an empty executable.
13902 cat >conftest.
$ac_ext <<_ACEOF
13907 rm -f conftest.
$ac_objext conftest
$ac_exeext
13908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13909 (eval $ac_link) 2>conftest.er1
13911 grep -v '^ *+' conftest.er1
>conftest.err
13913 cat conftest.err
>&5
13914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13915 (exit $ac_status); } &&
13916 { ac_try
='test -z "$ac_f77_werror_flag"
13917 || test ! -s conftest.err'
13918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13919 (eval $ac_try) 2>&5
13921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13922 (exit $ac_status); }; } &&
13923 { ac_try
='test -s conftest$ac_exeext'
13924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13925 (eval $ac_try) 2>&5
13927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13928 (exit $ac_status); }; }; then
13930 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13932 # Check for a 64-bit object if we didn't find anything.
13933 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; }
13936 echo "$as_me: failed program was:" >&5
13937 sed 's/^/| /' conftest.
$ac_ext >&5
13940 rm -f conftest.err conftest.
$ac_objext \
13941 conftest
$ac_exeext conftest.
$ac_ext
13942 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13944 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
13945 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"
13947 if test "$host_cpu" = ia64
; then
13948 hardcode_libdir_flag_spec_F77
='${wl}-R $libdir:/usr/lib:/lib'
13949 allow_undefined_flag_F77
="-z nodefs"
13950 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"
13952 # Determine the default libpath from the value encoded in an empty executable.
13953 cat >conftest.
$ac_ext <<_ACEOF
13958 rm -f conftest.
$ac_objext conftest
$ac_exeext
13959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13960 (eval $ac_link) 2>conftest.er1
13962 grep -v '^ *+' conftest.er1
>conftest.err
13964 cat conftest.err
>&5
13965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13966 (exit $ac_status); } &&
13967 { ac_try
='test -z "$ac_f77_werror_flag"
13968 || test ! -s conftest.err'
13969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13970 (eval $ac_try) 2>&5
13972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13973 (exit $ac_status); }; } &&
13974 { ac_try
='test -s conftest$ac_exeext'
13975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13976 (eval $ac_try) 2>&5
13978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13979 (exit $ac_status); }; }; then
13981 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13983 # Check for a 64-bit object if we didn't find anything.
13984 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; }
13987 echo "$as_me: failed program was:" >&5
13988 sed 's/^/| /' conftest.
$ac_ext >&5
13991 rm -f conftest.err conftest.
$ac_objext \
13992 conftest
$ac_exeext conftest.
$ac_ext
13993 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13995 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
13996 # Warning - without using the other run time loading flags,
13997 # -berok will link without error, but may produce a broken library.
13998 no_undefined_flag_F77
=' ${wl}-bernotok'
13999 allow_undefined_flag_F77
=' ${wl}-berok'
14000 # Exported symbols can be pulled into shared objects from archives
14001 whole_archive_flag_spec_F77
='$convenience'
14002 archive_cmds_need_lc_F77
=yes
14003 # This is similar to how AIX traditionally builds its shared libraries.
14004 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'
14010 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)'
14011 hardcode_libdir_flag_spec_F77
='-L$libdir'
14012 hardcode_minus_L_F77
=yes
14013 # see comment about different semantics on the GNU ld section
14018 export_dynamic_flag_spec_F77
=-rdynamic
14021 cygwin
* | mingw
* | pw32
*)
14022 # When not using gcc, we currently assume that we are using
14023 # Microsoft Visual C++.
14024 # hardcode_libdir_flag_spec is actually meaningless, as there is
14025 # no search path for DLLs.
14026 hardcode_libdir_flag_spec_F77
=' '
14027 allow_undefined_flag_F77
=unsupported
14028 # Tell ltmain to make .lib files, not .a files.
14030 # Tell ltmain to make .dll files, not .so files.
14032 # FIXME: Setting linknames here is a bad hack.
14033 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
14034 # The linker will automatically build a .lib file if we build a DLL.
14035 old_archive_From_new_cmds_F77
='true'
14036 # FIXME: Should let the user specify the lib program.
14037 old_archive_cmds_F77
='lib /OUT:$oldlib$oldobjs$old_deplibs'
14038 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
14039 enable_shared_with_static_runtimes_F77
=yes
14042 darwin
* | rhapsody
*)
14044 rhapsody
* | darwin1.
[012])
14045 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
14048 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14049 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14051 case ${MACOSX_DEPLOYMENT_TARGET} in
14053 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14056 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
14062 archive_cmds_need_lc_F77
=no
14063 hardcode_direct_F77
=no
14064 hardcode_automatic_F77
=yes
14065 hardcode_shlibpath_var_F77
=unsupported
14066 whole_archive_flag_spec_F77
=''
14067 link_all_deplibs_F77
=yes
14068 if test "$GCC" = yes ; then
14069 output_verbose_link_cmd
='echo'
14070 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14071 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14072 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14073 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}'
14074 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}'
14076 case $cc_basename in
14078 output_verbose_link_cmd
='echo'
14079 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
14080 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14081 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14082 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}'
14083 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}'
14093 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14094 hardcode_libdir_flag_spec_F77
='-L$libdir'
14095 hardcode_shlibpath_var_F77
=no
14102 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14103 # support. Future versions do this automatically, but an explicit c++rt0.o
14104 # does not break anything, and helps significantly (at the cost of a little
14107 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14108 hardcode_libdir_flag_spec_F77
='-R$libdir'
14109 hardcode_direct_F77
=yes
14110 hardcode_shlibpath_var_F77
=no
14113 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14115 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14116 hardcode_direct_F77
=yes
14117 hardcode_minus_L_F77
=yes
14118 hardcode_shlibpath_var_F77
=no
14121 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14122 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
14123 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14124 hardcode_libdir_flag_spec_F77
='-R$libdir'
14125 hardcode_direct_F77
=yes
14126 hardcode_shlibpath_var_F77
=no
14130 if test "$GCC" = yes; then
14131 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'
14133 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'
14135 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14136 hardcode_libdir_separator_F77
=:
14137 hardcode_direct_F77
=yes
14139 # hardcode_minus_L: Not really in the search PATH,
14140 # but as the default location of the library.
14141 hardcode_minus_L_F77
=yes
14142 export_dynamic_flag_spec_F77
='${wl}-E'
14146 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14147 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14149 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14151 if test "$with_gnu_ld" = no
; then
14152 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14153 hardcode_libdir_separator_F77
=:
14155 hardcode_direct_F77
=yes
14156 export_dynamic_flag_spec_F77
='${wl}-E'
14158 # hardcode_minus_L: Not really in the search PATH,
14159 # but as the default location of the library.
14160 hardcode_minus_L_F77
=yes
14165 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14168 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14171 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14174 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14180 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14183 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14186 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14190 if test "$with_gnu_ld" = no
; then
14191 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14192 hardcode_libdir_separator_F77
=:
14196 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
14197 hardcode_direct_F77
=no
14198 hardcode_shlibpath_var_F77
=no
14201 hardcode_direct_F77
=yes
14202 export_dynamic_flag_spec_F77
='${wl}-E'
14204 # hardcode_minus_L: Not really in the search PATH,
14205 # but as the default location of the library.
14206 hardcode_minus_L_F77
=yes
14212 irix5
* | irix6
* | nonstopux
*)
14213 if test "$GCC" = yes; then
14214 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'
14216 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'
14217 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
14219 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14220 hardcode_libdir_separator_F77
=:
14221 link_all_deplibs_F77
=yes
14225 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14226 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14228 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14230 hardcode_libdir_flag_spec_F77
='-R$libdir'
14231 hardcode_direct_F77
=yes
14232 hardcode_shlibpath_var_F77
=no
14236 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14237 hardcode_direct_F77
=yes
14238 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14239 hardcode_libdir_separator_F77
=:
14240 hardcode_shlibpath_var_F77
=no
14244 hardcode_direct_F77
=yes
14245 hardcode_shlibpath_var_F77
=no
14246 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14247 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14248 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14249 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14250 export_dynamic_flag_spec_F77
='${wl}-E'
14253 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
14254 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14255 hardcode_libdir_flag_spec_F77
='-R$libdir'
14258 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14259 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14266 hardcode_libdir_flag_spec_F77
='-L$libdir'
14267 hardcode_minus_L_F77
=yes
14268 allow_undefined_flag_F77
=unsupported
14269 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'
14270 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14274 if test "$GCC" = yes; then
14275 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14276 archive_cmds_F77
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14278 allow_undefined_flag_F77
=' -expect_unresolved \*'
14279 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'
14281 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14282 hardcode_libdir_separator_F77
=:
14285 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
14286 if test "$GCC" = yes; then
14287 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14288 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'
14289 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14291 allow_undefined_flag_F77
=' -expect_unresolved \*'
14292 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'
14293 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~
14294 $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'
14296 # Both c and cxx compiler support -rpath directly
14297 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
14299 hardcode_libdir_separator_F77
=:
14303 no_undefined_flag_F77
=' -z text'
14304 if test "$GCC" = yes; then
14306 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14307 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14308 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
14311 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14312 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14313 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14315 hardcode_libdir_flag_spec_F77
='-R$libdir'
14316 hardcode_shlibpath_var_F77
=no
14318 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14320 # The compiler driver will combine linker options so we
14321 # cannot just pass the convience library names through
14322 # without $wl, iff we do not link with $LD.
14323 # Luckily, gcc supports the same syntax we need for Sun Studio.
14324 # Supported since Solaris 2.6 (maybe 2.5.1?)
14327 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract' ;;
14329 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' ;;
14332 link_all_deplibs_F77
=yes
14336 if test "x$host_vendor" = xsequent
; then
14337 # Use $CC to link under sequent, because it throws in some extra .o
14338 # files that make .init and .fini sections work.
14339 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14341 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14343 hardcode_libdir_flag_spec_F77
='-L$libdir'
14344 hardcode_direct_F77
=yes
14345 hardcode_minus_L_F77
=yes
14346 hardcode_shlibpath_var_F77
=no
14350 case $host_vendor in
14352 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14353 hardcode_direct_F77
=yes # is this really true???
14356 ## LD is ld it makes a PLAMLIB
14357 ## CC just makes a GrossModule.
14358 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14359 reload_cmds_F77
='$CC -r -o $output$reload_objs'
14360 hardcode_direct_F77
=no
14363 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14364 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
14367 runpath_var
='LD_RUN_PATH'
14368 hardcode_shlibpath_var_F77
=no
14372 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14373 hardcode_shlibpath_var_F77
=no
14374 export_dynamic_flag_spec_F77
='-Bexport'
14378 if test -d /usr
/nec
; then
14379 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14380 hardcode_shlibpath_var_F77
=no
14381 runpath_var
=LD_RUN_PATH
14382 hardcode_runpath_var
=yes
14387 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
14388 no_undefined_flag_F77
='${wl}-z,text'
14389 archive_cmds_need_lc_F77
=no
14390 hardcode_shlibpath_var_F77
=no
14391 runpath_var
='LD_RUN_PATH'
14393 if test "$GCC" = yes; then
14394 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14395 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14397 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14398 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14402 sysv5
* | sco3.2v5
* | sco5v6
*)
14403 # Note: We can NOT use -z defs as we might desire, because we do not
14404 # link with -lc, and that would cause any symbols used from libc to
14405 # always be unresolved, which means just about no library would
14406 # ever link correctly. If we're not using GNU ld we use -z text
14407 # though, which does catch some bad symbols but isn't as heavy-handed
14409 no_undefined_flag_F77
='${wl}-z,text'
14410 allow_undefined_flag_F77
='${wl}-z,nodefs'
14411 archive_cmds_need_lc_F77
=no
14412 hardcode_shlibpath_var_F77
=no
14413 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
14414 hardcode_libdir_separator_F77
=':'
14415 link_all_deplibs_F77
=yes
14416 export_dynamic_flag_spec_F77
='${wl}-Bexport'
14417 runpath_var
='LD_RUN_PATH'
14419 if test "$GCC" = yes; then
14420 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14421 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14423 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14424 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14429 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14430 hardcode_libdir_flag_spec_F77
='-L$libdir'
14431 hardcode_shlibpath_var_F77
=no
14440 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
14441 echo "${ECHO_T}$ld_shlibs_F77" >&6
14442 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
14445 # Do we need to explicitly link libc?
14447 case "x$archive_cmds_need_lc_F77" in
14449 # Assume -lc should be added
14450 archive_cmds_need_lc_F77
=yes
14452 if test "$enable_shared" = yes && test "$GCC" = yes; then
14453 case $archive_cmds_F77 in
14455 # FIXME: we may have to deal with multi-command sequences.
14458 # Test whether the compiler implicitly links with -lc since on some
14459 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14460 # to ld, don't add -lc before -lgcc.
14461 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14462 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
14464 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14467 (eval $ac_compile) 2>&5
14469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14470 (exit $ac_status); } 2>conftest.err
; then
14473 libobjs
=conftest.
$ac_objext
14475 wl
=$lt_prog_compiler_wl_F77
14476 pic_flag
=$lt_prog_compiler_pic_F77
14482 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
14483 allow_undefined_flag_F77
=
14484 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
14485 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14488 (exit $ac_status); }
14490 archive_cmds_need_lc_F77
=no
14492 archive_cmds_need_lc_F77
=yes
14494 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
14496 cat conftest.err
1>&5
14499 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
14500 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
14507 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14508 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14509 library_names_spec
=
14510 libname_spec
='lib$name'
14514 postuninstall_cmds
=
14518 shlibpath_overrides_runpath
=unknown
14520 dynamic_linker
="$host_os ld.so"
14521 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14522 if test "$GCC" = yes; then
14523 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14524 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
14525 # if the path contains ";" then we assume it to be the separator
14526 # otherwise default to the standard path separator (i.e. ":") - it is
14527 # assumed that no part of a normal pathname contains ";" but that should
14528 # okay in the real world where ";" in dirpaths is itself problematic.
14529 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14531 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14534 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
14536 need_lib_prefix
=unknown
14537 hardcode_into_libs
=no
14539 # when you set need_version to no, make sure it does not cause -set_version
14540 # flags to be left without arguments
14541 need_version
=unknown
14546 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14547 shlibpath_var
=LIBPATH
14549 # AIX 3 has no versioning support, so we append a major version to the name.
14550 soname_spec
='${libname}${release}${shared_ext}$major'
14557 hardcode_into_libs
=yes
14558 if test "$host_cpu" = ia64
; then
14559 # AIX 5 supports IA64
14560 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14561 shlibpath_var
=LD_LIBRARY_PATH
14563 # With GCC up to 2.95.x, collect2 would create an import file
14564 # for dependence libraries. The import file would start with
14565 # the line `#! .'. This would cause the generated library to
14566 # depend on `.', always an invalid library. This was fixed in
14567 # development snapshots of GCC prior to 3.0.
14569 aix4 | aix4.
[01] | aix4.
[01].
*)
14570 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14572 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
14575 can_build_shared
=no
14579 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14580 # soname into executable. Probably we can add versioning support to
14581 # collect2, so additional links can be useful in future.
14582 if test "$aix_use_runtimelinking" = yes; then
14583 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14584 # instead of lib<name>.a to let people know that these are not
14585 # typical AIX shared libraries.
14586 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14588 # We preserve .a as extension for shared libraries through AIX4.2
14589 # and later when we are not doing run time linking.
14590 library_names_spec
='${libname}${release}.a $libname.a'
14591 soname_spec
='${libname}${release}${shared_ext}$major'
14593 shlibpath_var
=LIBPATH
14598 library_names_spec
='$libname.ixlibrary $libname.a'
14599 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14600 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'
14604 library_names_spec
='${libname}${shared_ext}'
14605 dynamic_linker
="$host_os ld.so"
14606 shlibpath_var
=LIBRARY_PATH
14612 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14613 soname_spec
='${libname}${release}${shared_ext}$major'
14614 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14615 shlibpath_var
=LD_LIBRARY_PATH
14616 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14617 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14618 # the default ld.so.conf also contains /usr/contrib/lib and
14619 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14620 # libtool to hard-code these into programs
14623 cygwin
* | mingw
* | pw32
*)
14624 version_type
=windows
14629 case $GCC,$host_os in
14630 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
14631 library_names_spec
='$libname.dll.a'
14632 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14633 postinstall_cmds
='base_file=`basename \${file}`~
14634 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14635 dldir=$destdir/`dirname \$dlpath`~
14636 test -d \$dldir || mkdir -p \$dldir~
14637 $install_prog $dir/$dlname \$dldir/$dlname~
14638 chmod a+x \$dldir/$dlname'
14639 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14640 dlpath=$dir/\$dldll~
14642 shlibpath_overrides_runpath
=yes
14646 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14647 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14648 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
14651 # MinGW DLLs use traditional 'lib' prefix
14652 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14653 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14654 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
14655 # It is most probably a Windows format PATH printed by
14656 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14657 # path with ; separators, and with drive letters. We can handle the
14658 # drive letters (cygwin fileutils understands them), so leave them,
14659 # especially as we might pass files found there to a mingw objdump,
14660 # which wouldn't understand a cygwinified path. Ahh.
14661 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14663 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14667 # pw32 DLLs use 'pw' prefix rather than 'lib'
14668 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14674 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14677 dynamic_linker
='Win32 ld.exe'
14678 # FIXME: first we should search . and the directory the executable is in
14682 darwin
* | rhapsody
*)
14683 dynamic_linker
="$host_os dyld"
14684 version_type
=darwin
14687 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14688 soname_spec
='${libname}${release}${major}$shared_ext'
14689 shlibpath_overrides_runpath
=yes
14690 shlibpath_var
=DYLD_LIBRARY_PATH
14691 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14692 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14693 if test "$GCC" = yes; then
14694 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"`
14696 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
14698 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14705 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14706 soname_spec
='${libname}${release}${shared_ext}$major'
14707 shlibpath_var
=LD_LIBRARY_PATH
14718 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14719 soname_spec
='${libname}${release}${shared_ext}$major'
14720 shlibpath_var
=LD_LIBRARY_PATH
14721 shlibpath_overrides_runpath
=no
14722 hardcode_into_libs
=yes
14723 dynamic_linker
='GNU ld.so'
14726 freebsd
* | dragonfly
*)
14727 # DragonFly does not have aout. When/if they implement a new
14728 # versioning mechanism, adjust this.
14729 if test -x /usr
/bin
/objformat
; then
14730 objformat
=`/usr/bin/objformat`
14733 freebsd
[123]*) objformat
=aout
;;
14734 *) objformat
=elf
;;
14737 version_type
=freebsd-
$objformat
14738 case $version_type in
14740 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14745 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14749 shlibpath_var
=LD_LIBRARY_PATH
14752 shlibpath_overrides_runpath
=yes
14754 freebsd3.
[01]* | freebsdelf3.
[01]*)
14755 shlibpath_overrides_runpath
=yes
14756 hardcode_into_libs
=yes
14758 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14759 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14760 shlibpath_overrides_runpath
=no
14761 hardcode_into_libs
=yes
14763 freebsd
*) # from 4.6 on
14764 shlibpath_overrides_runpath
=yes
14765 hardcode_into_libs
=yes
14774 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14775 soname_spec
='${libname}${release}${shared_ext}$major'
14776 shlibpath_var
=LD_LIBRARY_PATH
14777 hardcode_into_libs
=yes
14780 hpux9
* | hpux10
* | hpux11
*)
14781 # Give a soname corresponding to the major version so that dld.sl refuses to
14782 # link against other versions.
14789 hardcode_into_libs
=yes
14790 dynamic_linker
="$host_os dld.so"
14791 shlibpath_var
=LD_LIBRARY_PATH
14792 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14793 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14794 soname_spec
='${libname}${release}${shared_ext}$major'
14795 if test "X$HPUX_IA64_MODE" = X32
; then
14796 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14798 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14800 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14804 hardcode_into_libs
=yes
14805 dynamic_linker
="$host_os dld.sl"
14806 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14807 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14808 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14809 soname_spec
='${libname}${release}${shared_ext}$major'
14810 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14811 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14815 dynamic_linker
="$host_os dld.sl"
14816 shlibpath_var
=SHLIB_PATH
14817 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14818 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14819 soname_spec
='${libname}${release}${shared_ext}$major'
14822 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14823 postinstall_cmds
='chmod 555 $lib'
14830 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14831 soname_spec
='${libname}${release}${shared_ext}$major'
14832 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14833 shlibpath_var
=LD_LIBRARY_PATH
14834 shlibpath_overrides_runpath
=no
14835 hardcode_into_libs
=yes
14838 irix5
* | irix6
* | nonstopux
*)
14840 nonstopux
*) version_type
=nonstopux
;;
14842 if test "$lt_cv_prog_gnu_ld" = yes; then
14850 soname_spec
='${libname}${release}${shared_ext}$major'
14851 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14853 irix5
* | nonstopux
*)
14854 libsuff
= shlibsuff
=
14857 case $LD in # libtool.m4 will add one of these switches to LD
14858 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14859 libsuff
= shlibsuff
= libmagic
=32-bit;;
14860 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14861 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14862 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14863 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14864 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14868 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14869 shlibpath_overrides_runpath
=no
14870 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14871 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14872 hardcode_into_libs
=yes
14875 # No shared lib support for Linux oldld, aout, or coff.
14876 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14880 # This must be Linux ELF.
14885 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14886 soname_spec
='${libname}${release}${shared_ext}$major'
14887 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14888 shlibpath_var
=LD_LIBRARY_PATH
14889 shlibpath_overrides_runpath
=no
14890 # This implies no fast_install, which is unacceptable.
14891 # Some rework will be needed to allow for fast_install
14892 # before this can be enabled.
14893 hardcode_into_libs
=yes
14895 # find out which ABI we are using
14897 case "$host_cpu" in
14898 x86_64
*|s390x
*|powerpc64
*)
14899 echo '#line 14899 "configure"' > conftest.
$ac_ext
14900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14901 (eval $ac_compile) 2>&5
14903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14904 (exit $ac_status); }; then
14905 case `/usr/bin/file conftest.$ac_objext` in
14908 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
14916 # Append ld.so.conf contents to the search path
14917 if test -f /etc
/ld.so.conf
; then
14918 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' ' '`
14919 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
14922 # We used to test for /lib/ld.so.1 and disable shared libraries on
14923 # powerpc, because MkLinux only supported shared libraries with the
14924 # GNU dynamic linker. Since this was broken with cross compilers,
14925 # most powerpc-linux boxes support dynamic linking these days and
14926 # people can always --disable-shared, the test was removed, and we
14927 # assume the GNU/Linux dynamic linker is in use.
14928 dynamic_linker
='GNU/Linux ld.so'
14935 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14936 soname_spec
='${libname}${release}${shared_ext}$major'
14937 shlibpath_var
=LD_LIBRARY_PATH
14938 shlibpath_overrides_runpath
=no
14939 hardcode_into_libs
=yes
14940 dynamic_linker
='GNU ld.so'
14947 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14948 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14949 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14950 dynamic_linker
='NetBSD (a.out) ld.so'
14952 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14953 soname_spec
='${libname}${release}${shared_ext}$major'
14954 dynamic_linker
='NetBSD ld.elf_so'
14956 shlibpath_var
=LD_LIBRARY_PATH
14957 shlibpath_overrides_runpath
=yes
14958 hardcode_into_libs
=yes
14963 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14964 shlibpath_var
=LD_LIBRARY_PATH
14965 shlibpath_overrides_runpath
=yes
14972 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14973 soname_spec
='${libname}${release}${shared_ext}$major'
14974 shlibpath_var
=LD_LIBRARY_PATH
14975 shlibpath_overrides_runpath
=yes
14980 sys_lib_dlsearch_path_spec
="/usr/lib"
14982 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14984 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
14985 *) need_version
=no
;;
14987 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14988 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14989 shlibpath_var
=LD_LIBRARY_PATH
14990 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14992 openbsd2.
[89] | openbsd2.
[89].
*)
14993 shlibpath_overrides_runpath
=no
14996 shlibpath_overrides_runpath
=yes
15000 shlibpath_overrides_runpath
=yes
15005 libname_spec
='$name'
15008 library_names_spec
='$libname${shared_ext} $libname.a'
15009 dynamic_linker
='OS/2 ld.exe'
15010 shlibpath_var
=LIBPATH
15013 osf3
* | osf4
* | osf5
*)
15017 soname_spec
='${libname}${release}${shared_ext}$major'
15018 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15019 shlibpath_var
=LD_LIBRARY_PATH
15020 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15021 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15028 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15029 soname_spec
='${libname}${release}${shared_ext}$major'
15030 shlibpath_var
=LD_LIBRARY_PATH
15031 shlibpath_overrides_runpath
=yes
15032 hardcode_into_libs
=yes
15033 # ldd complains unless libraries are executable
15034 postinstall_cmds
='chmod +x $lib'
15039 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15040 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15041 shlibpath_var
=LD_LIBRARY_PATH
15042 shlibpath_overrides_runpath
=yes
15043 if test "$with_gnu_ld" = yes; then
15051 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15052 soname_spec
='${libname}${release}${shared_ext}$major'
15053 shlibpath_var
=LD_LIBRARY_PATH
15054 case $host_vendor in
15056 shlibpath_overrides_runpath
=no
15058 export_dynamic_flag_spec
='${wl}-Blargedynsym'
15059 runpath_var
=LD_RUN_PATH
15067 shlibpath_overrides_runpath
=no
15068 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15074 if test -d /usr
/nec
;then
15076 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15077 soname_spec
='$libname${shared_ext}.$major'
15078 shlibpath_var
=LD_LIBRARY_PATH
15082 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15083 version_type
=freebsd-elf
15086 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15087 soname_spec
='${libname}${release}${shared_ext}$major'
15088 shlibpath_var
=LD_LIBRARY_PATH
15089 hardcode_into_libs
=yes
15090 if test "$with_gnu_ld" = yes; then
15091 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15092 shlibpath_overrides_runpath
=no
15094 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15095 shlibpath_overrides_runpath
=yes
15098 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15102 sys_lib_dlsearch_path_spec
='/usr/lib'
15107 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15108 soname_spec
='${libname}${release}${shared_ext}$major'
15109 shlibpath_var
=LD_LIBRARY_PATH
15116 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15117 echo "${ECHO_T}$dynamic_linker" >&6
15118 test "$dynamic_linker" = no
&& can_build_shared
=no
15120 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15121 if test "$GCC" = yes; then
15122 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15125 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15126 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
15127 hardcode_action_F77
=
15128 if test -n "$hardcode_libdir_flag_spec_F77" || \
15129 test -n "$runpath_var_F77" || \
15130 test "X$hardcode_automatic_F77" = "Xyes" ; then
15132 # We can hardcode non-existant directories.
15133 if test "$hardcode_direct_F77" != no
&&
15134 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15135 # have to relink, otherwise we might link with an installed library
15136 # when we should be linking with a yet-to-be-installed one
15137 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
15138 test "$hardcode_minus_L_F77" != no
; then
15139 # Linking always hardcodes the temporary library directory.
15140 hardcode_action_F77
=relink
15142 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15143 hardcode_action_F77
=immediate
15146 # We cannot hardcode anything, or else we can only hardcode existing
15148 hardcode_action_F77
=unsupported
15150 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15151 echo "${ECHO_T}$hardcode_action_F77" >&6
15153 if test "$hardcode_action_F77" = relink
; then
15154 # Fast installation is not supported
15155 enable_fast_install
=no
15156 elif test "$shlibpath_overrides_runpath" = yes ||
15157 test "$enable_shared" = no
; then
15158 # Fast installation is not necessary
15159 enable_fast_install
=needless
15163 # The else clause should only fire when bootstrapping the
15164 # libtool distribution, otherwise you forgot to ship ltmain.sh
15165 # with your package, and you will get complaints that there are
15166 # no rules to generate ltmain.sh.
15167 if test -f "$ltmain"; then
15168 # See if we are running on zsh, and set the options which allow our commands through
15169 # without removal of \ escapes.
15170 if test -n "${ZSH_VERSION+set}" ; then
15171 setopt NO_GLOB_SUBST
15173 # Now quote all the things that may contain metacharacters while being
15174 # careful not to overquote the AC_SUBSTed values. We take copies of the
15175 # variables and quote the copies for generation of the libtool script.
15176 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
15178 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15179 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15180 deplibs_check_method reload_flag reload_cmds need_locks \
15181 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15182 lt_cv_sys_global_symbol_to_c_name_address \
15183 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15184 old_postinstall_cmds old_postuninstall_cmds \
15188 lt_prog_compiler_wl_F77 \
15189 lt_prog_compiler_pic_F77 \
15190 lt_prog_compiler_static_F77 \
15191 lt_prog_compiler_no_builtin_flag_F77 \
15192 export_dynamic_flag_spec_F77 \
15193 thread_safe_flag_spec_F77 \
15194 whole_archive_flag_spec_F77 \
15195 enable_shared_with_static_runtimes_F77 \
15196 old_archive_cmds_F77 \
15197 old_archive_from_new_cmds_F77 \
15198 predep_objects_F77 \
15199 postdep_objects_F77 \
15202 compiler_lib_search_path_F77 \
15204 archive_expsym_cmds_F77 \
15205 postinstall_cmds_F77 \
15206 postuninstall_cmds_F77 \
15207 old_archive_from_expsyms_cmds_F77 \
15208 allow_undefined_flag_F77 \
15209 no_undefined_flag_F77 \
15210 export_symbols_cmds_F77 \
15211 hardcode_libdir_flag_spec_F77 \
15212 hardcode_libdir_flag_spec_ld_F77 \
15213 hardcode_libdir_separator_F77 \
15214 hardcode_automatic_F77 \
15216 module_expsym_cmds_F77 \
15217 lt_cv_prog_compiler_c_o_F77 \
15218 exclude_expsyms_F77 \
15219 include_expsyms_F77
; do
15222 old_archive_cmds_F77 | \
15223 old_archive_from_new_cmds_F77 | \
15224 archive_cmds_F77 | \
15225 archive_expsym_cmds_F77 | \
15226 module_cmds_F77 | \
15227 module_expsym_cmds_F77 | \
15228 old_archive_from_expsyms_cmds_F77 | \
15229 export_symbols_cmds_F77 | \
15230 extract_expsyms_cmds | reload_cmds | finish_cmds | \
15231 postinstall_cmds | postuninstall_cmds | \
15232 old_postinstall_cmds | old_postuninstall_cmds | \
15233 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
15234 # Double-quote double-evaled strings.
15235 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15238 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15244 *'\$0 --fallback-echo"')
15245 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15251 cat <<__EOF__ >> "$cfgfile"
15252 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
15254 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15256 # Shell to use when invoking shell scripts.
15259 # Whether or not to build shared libraries.
15260 build_libtool_libs=$enable_shared
15262 # Whether or not to build static libraries.
15263 build_old_libs=$enable_static
15265 # Whether or not to add -lc for building shared libraries.
15266 build_libtool_need_lc=$archive_cmds_need_lc_F77
15268 # Whether or not to disallow shared libs when runtime libs are static
15269 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
15271 # Whether or not to optimize for fast installation.
15272 fast_install=$enable_fast_install
15275 host_alias=$host_alias
15279 # The build system.
15280 build_alias=$build_alias
15284 # An echo program that does not interpret backslashes.
15289 AR_FLAGS=$lt_AR_FLAGS
15294 # LTCC compiler flags.
15295 LTCFLAGS=$lt_LTCFLAGS
15297 # A language-specific compiler.
15298 CC=$lt_compiler_F77
15300 # Is the compiler the GNU C compiler?
15303 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
15304 gcc_ver=\`gcc -dumpversion\`
15309 # The linker used to build libraries.
15312 # Whether we need hard or soft links.
15315 # A BSD-compatible nm program.
15318 # A symbol stripping program
15321 # Used to examine libraries when file_magic_cmd begins "file"
15322 MAGIC_CMD=$MAGIC_CMD
15324 # Used on cygwin: DLL creation program.
15327 # Used on cygwin: object dumper.
15330 # Used on cygwin: assembler.
15333 # The name of the directory that contains temporary libtool files.
15336 # How to create reloadable object files.
15337 reload_flag=$lt_reload_flag
15338 reload_cmds=$lt_reload_cmds
15340 # How to pass a linker flag through the compiler.
15341 wl=$lt_lt_prog_compiler_wl_F77
15343 # Object file suffix (normally "o").
15344 objext="$ac_objext"
15346 # Old archive suffix (normally "a").
15349 # Shared library suffix (normally ".so").
15350 shrext_cmds='$shrext_cmds'
15352 # Executable file suffix (normally "").
15355 # Additional compiler flags for building library objects.
15356 pic_flag=$lt_lt_prog_compiler_pic_F77
15359 # What is the maximum length of a command?
15360 max_cmd_len=$lt_cv_sys_max_cmd_len
15362 # Does compiler simultaneously support -c and -o options?
15363 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
15365 # Must we lock files when doing compilation?
15366 need_locks=$lt_need_locks
15368 # Do we need the lib prefix for modules?
15369 need_lib_prefix=$need_lib_prefix
15371 # Do we need a version for libraries?
15372 need_version=$need_version
15374 # Whether dlopen is supported.
15375 dlopen_support=$enable_dlopen
15377 # Whether dlopen of programs is supported.
15378 dlopen_self=$enable_dlopen_self
15380 # Whether dlopen of statically linked programs is supported.
15381 dlopen_self_static=$enable_dlopen_self_static
15383 # Compiler flag to prevent dynamic linking.
15384 link_static_flag=$lt_lt_prog_compiler_static_F77
15386 # Compiler flag to turn off builtin functions.
15387 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
15389 # Compiler flag to allow reflexive dlopens.
15390 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
15392 # Compiler flag to generate shared objects directly from archives.
15393 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
15395 # Compiler flag to generate thread-safe objects.
15396 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
15398 # Library versioning type.
15399 version_type=$version_type
15401 # Format of library name prefix.
15402 libname_spec=$lt_libname_spec
15404 # List of archive names. First name is the real one, the rest are links.
15405 # The last name is the one that the linker finds with -lNAME.
15406 library_names_spec=$lt_library_names_spec
15408 # The coded name of the library, if different from the real name.
15409 soname_spec=$lt_soname_spec
15411 # Commands used to build and install an old-style archive.
15413 old_archive_cmds=$lt_old_archive_cmds_F77
15414 old_postinstall_cmds=$lt_old_postinstall_cmds
15415 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15417 # Create an old-style archive from a shared archive.
15418 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
15420 # Create a temporary old-style archive to link instead of a shared archive.
15421 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
15423 # Commands used to build and install a shared archive.
15424 archive_cmds=$lt_archive_cmds_F77
15425 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
15426 postinstall_cmds=$lt_postinstall_cmds
15427 postuninstall_cmds=$lt_postuninstall_cmds
15429 # Commands used to build a loadable module (assumed same as above if empty)
15430 module_cmds=$lt_module_cmds_F77
15431 module_expsym_cmds=$lt_module_expsym_cmds_F77
15433 # Commands to strip libraries.
15434 old_striplib=$lt_old_striplib
15435 striplib=$lt_striplib
15437 # Dependencies to place before the objects being linked to create a
15439 predep_objects=\`echo $lt_predep_objects_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
15441 # Dependencies to place after the objects being linked to create a
15443 postdep_objects=\`echo $lt_postdep_objects_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
15445 # Dependencies to place before the objects being linked to create a
15447 predeps=$lt_predeps_F77
15449 # Dependencies to place after the objects being linked to create a
15451 postdeps=$lt_postdeps_F77
15453 # The library search path used internally by the compiler when linking
15454 # a shared library.
15455 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"\`
15457 # Method to check whether dependent libraries are shared objects.
15458 deplibs_check_method=$lt_deplibs_check_method
15460 # Command to use when deplibs_check_method == file_magic.
15461 file_magic_cmd=$lt_file_magic_cmd
15463 # Flag that allows shared libraries with undefined symbols to be built.
15464 allow_undefined_flag=$lt_allow_undefined_flag_F77
15466 # Flag that forces no undefined symbols.
15467 no_undefined_flag=$lt_no_undefined_flag_F77
15469 # Commands used to finish a libtool library installation in a directory.
15470 finish_cmds=$lt_finish_cmds
15472 # Same as above, but a single script fragment to be evaled but not shown.
15473 finish_eval=$lt_finish_eval
15475 # Take the output of nm and produce a listing of raw symbols and C names.
15476 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15478 # Transform the output of nm in a proper C declaration
15479 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15481 # Transform the output of nm in a C name address pair
15482 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15484 # This is the shared library runtime path variable.
15485 runpath_var=$runpath_var
15487 # This is the shared library path variable.
15488 shlibpath_var=$shlibpath_var
15490 # Is shlibpath searched before the hard-coded library search path?
15491 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15493 # How to hardcode a shared library path into an executable.
15494 hardcode_action=$hardcode_action_F77
15496 # Whether we should hardcode library paths into libraries.
15497 hardcode_into_libs=$hardcode_into_libs
15499 # Flag to hardcode \$libdir into a binary during linking.
15500 # This must work even if \$libdir does not exist.
15501 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
15503 # If ld is used when linking, flag to hardcode \$libdir into
15504 # a binary during linking. This must work even if \$libdir does
15506 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
15508 # Whether we need a single -rpath flag with a separated argument.
15509 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
15511 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
15512 # resulting binary.
15513 hardcode_direct=$hardcode_direct_F77
15515 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
15516 # resulting binary.
15517 hardcode_minus_L=$hardcode_minus_L_F77
15519 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
15520 # the resulting binary.
15521 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
15523 # Set to yes if building a shared library automatically hardcodes DIR into the library
15524 # and all subsequent libraries and executables linked against it.
15525 hardcode_automatic=$hardcode_automatic_F77
15527 # Variables whose values should be saved in libtool wrapper scripts and
15528 # restored at relink time.
15529 variables_saved_for_relink="$variables_saved_for_relink"
15531 # Whether libtool must link a program against all its dependency libraries.
15532 link_all_deplibs=$link_all_deplibs_F77
15534 # Compile-time system search path for libraries
15535 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"\`
15537 # Run-time system search path for libraries
15538 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15540 # Fix the shell variable \$srcfile for the compiler.
15541 fix_srcfile_path="$fix_srcfile_path_F77"
15543 # Set to yes if exported symbols are required.
15544 always_export_symbols=$always_export_symbols_F77
15546 # The commands to list exported symbols.
15547 export_symbols_cmds=$lt_export_symbols_cmds_F77
15549 # The commands to extract the exported symbol list from a shared archive.
15550 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15552 # Symbols that should not be listed in the preloaded symbols.
15553 exclude_expsyms=$lt_exclude_expsyms_F77
15555 # Symbols that must always be exported.
15556 include_expsyms=$lt_include_expsyms_F77
15558 # ### END LIBTOOL TAG CONFIG: $tagname
15564 # If there is no Makefile yet, we rely on a make rule to execute
15565 # `config.status --recheck' to rerun these tests and create the
15566 # libtool script then.
15567 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
15568 if test -f "$ltmain_in"; then
15569 test -f Makefile
&& make "$ltmain"
15575 ac_cpp
='$CPP $CPPFLAGS'
15576 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15577 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15578 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15588 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
15592 # Source file extension for Java test sources.
15595 # Object file extension for compiled Java test sources.
15599 # Code to be used in simple compile tests
15600 lt_simple_compile_test_code
="class foo {}\n"
15602 # Code to be used in simple link tests
15603 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }\n'
15605 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15607 # If no C compiler was specified, use CC.
15610 # If no C compiler flags were specified, use CFLAGS.
15611 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
15613 # Allow CC to be a program name with arguments.
15617 # save warnings/boilerplate of simple test code
15618 ac_outfile
=conftest.
$ac_objext
15619 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
15620 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
15621 _lt_compiler_boilerplate
=`cat conftest.err`
15624 ac_outfile
=conftest.
$ac_objext
15625 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
15626 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
15627 _lt_linker_boilerplate
=`cat conftest.err`
15631 # Allow CC to be a program name with arguments.
15636 for cc_temp
in $compiler""; do
15638 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
15639 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
15644 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15647 # GCJ did not exist at the time GCC didn't implicitly link libc in.
15648 archive_cmds_need_lc_GCJ
=no
15650 old_archive_cmds_GCJ
=$old_archive_cmds
15653 lt_prog_compiler_no_builtin_flag_GCJ
=
15655 if test "$GCC" = yes; then
15656 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
15659 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15660 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
15661 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15662 echo $ECHO_N "(cached) $ECHO_C" >&6
15664 lt_cv_prog_compiler_rtti_exceptions
=no
15665 ac_outfile
=conftest.
$ac_objext
15666 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15667 lt_compiler_flag
="-fno-rtti -fno-exceptions"
15668 # Insert the option either (1) after the last *FLAGS variable, or
15669 # (2) before a word containing "conftest.", or (3) at the end.
15670 # Note that $ac_compile itself does not contain backslashes and begins
15671 # with a dollar sign (not a hyphen), so the echo should work correctly.
15672 # The option is referenced via a variable to avoid confusing sed.
15673 lt_compile
=`echo "$ac_compile" | $SED \
15674 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15675 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15676 -e 's:$: $lt_compiler_flag:'`
15677 (eval echo "\"\$as_me:15677: $lt_compile\"" >&5)
15678 (eval "$lt_compile" 2>conftest.err
)
15680 cat conftest.err
>&5
15681 echo "$as_me:15681: \$? = $ac_status" >&5
15682 if (exit $ac_status) && test -s "$ac_outfile"; then
15683 # The compiler can only warn and ignore the option if not recognized
15684 # So say no if there are warnings other than the usual output.
15685 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
15686 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15687 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
15688 lt_cv_prog_compiler_rtti_exceptions
=yes
15694 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15695 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
15697 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
15698 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15705 lt_prog_compiler_wl_GCJ
=
15706 lt_prog_compiler_pic_GCJ
=
15707 lt_prog_compiler_static_GCJ
=
15709 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15710 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15712 if test "$GCC" = yes; then
15713 lt_prog_compiler_wl_GCJ
='-Wl,'
15714 lt_prog_compiler_static_GCJ
='-static'
15718 # All AIX code is PIC.
15719 if test "$host_cpu" = ia64
; then
15720 # AIX 5 now supports IA64 processor
15721 lt_prog_compiler_static_GCJ
='-Bstatic'
15726 # FIXME: we need at least 68020 code to build shared libraries, but
15727 # adding the `-m68020' flag to GCC prevents building anything better,
15729 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
15732 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
15733 # PIC is the default for these OSes.
15736 mingw
* | pw32
* | os2
*)
15737 # This hack is so that the source file can tell whether it is being
15738 # built for inclusion in a dll (and should export symbols for example).
15739 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
15742 darwin
* | rhapsody
*)
15743 # PIC is the default on this platform
15744 # Common symbols not allowed in MH_DYLIB files
15745 lt_prog_compiler_pic_GCJ
='-fno-common'
15749 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15750 # Instead, we relocate shared libraries at runtime.
15754 # Just because we use GCC doesn't mean we suddenly get shared libraries
15755 # on systems that don't support them.
15756 lt_prog_compiler_can_build_shared_GCJ
=no
15761 if test -d /usr
/nec
; then
15762 lt_prog_compiler_pic_GCJ
=-Kconform_pic
15767 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15768 # not for PA HP-UX.
15774 lt_prog_compiler_pic_GCJ
='-fPIC'
15780 lt_prog_compiler_pic_GCJ
='-fPIC'
15784 # PORTME Check for flag to pass linker flags through the system compiler.
15787 lt_prog_compiler_wl_GCJ
='-Wl,'
15788 if test "$host_cpu" = ia64
; then
15789 # AIX 5 now supports IA64 processor
15790 lt_prog_compiler_static_GCJ
='-Bstatic'
15792 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
15796 # PIC is the default on this platform
15797 # Common symbols not allowed in MH_DYLIB files
15798 case $cc_basename in
15800 lt_prog_compiler_pic_GCJ
='-qnocommon'
15801 lt_prog_compiler_wl_GCJ
='-Wl,'
15806 mingw
* | pw32
* | os2
*)
15807 # This hack is so that the source file can tell whether it is being
15808 # built for inclusion in a dll (and should export symbols for example).
15809 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
15812 hpux9
* | hpux10
* | hpux11
*)
15813 lt_prog_compiler_wl_GCJ
='-Wl,'
15814 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15815 # not for PA HP-UX.
15821 lt_prog_compiler_pic_GCJ
='+Z'
15824 # Is there a better lt_prog_compiler_static that works with the bundled CC?
15825 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
15828 irix5
* | irix6
* | nonstopux
*)
15829 lt_prog_compiler_wl_GCJ
='-Wl,'
15830 # PIC (with -KPIC) is the default.
15831 lt_prog_compiler_static_GCJ
='-non_shared'
15835 lt_prog_compiler_pic_GCJ
='-KPIC'
15836 lt_prog_compiler_static_GCJ
='-Bstatic'
15840 case $cc_basename in
15842 lt_prog_compiler_wl_GCJ
='-Wl,'
15843 lt_prog_compiler_pic_GCJ
='-KPIC'
15844 lt_prog_compiler_static_GCJ
='-static'
15846 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
15847 # Portland Group compilers (*not* the Pentium gcc compiler,
15848 # which looks to be a dead project)
15849 lt_prog_compiler_wl_GCJ
='-Wl,'
15850 lt_prog_compiler_pic_GCJ
='-fpic'
15851 lt_prog_compiler_static_GCJ
='-Bstatic'
15854 lt_prog_compiler_wl_GCJ
='-Wl,'
15855 # All Alpha code is PIC.
15856 lt_prog_compiler_static_GCJ
='-non_shared'
15861 osf3
* | osf4
* | osf5
*)
15862 lt_prog_compiler_wl_GCJ
='-Wl,'
15863 # All OSF/1 code is PIC.
15864 lt_prog_compiler_static_GCJ
='-non_shared'
15868 lt_prog_compiler_pic_GCJ
='-KPIC'
15869 lt_prog_compiler_static_GCJ
='-Bstatic'
15870 case $cc_basename in
15871 f77
* | f90
* | f95
*)
15872 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
15874 lt_prog_compiler_wl_GCJ
='-Wl,';;
15879 lt_prog_compiler_wl_GCJ
='-Qoption ld '
15880 lt_prog_compiler_pic_GCJ
='-PIC'
15881 lt_prog_compiler_static_GCJ
='-Bstatic'
15884 sysv4 | sysv4.2uw2
* | sysv4.3
*)
15885 lt_prog_compiler_wl_GCJ
='-Wl,'
15886 lt_prog_compiler_pic_GCJ
='-KPIC'
15887 lt_prog_compiler_static_GCJ
='-Bstatic'
15891 if test -d /usr
/nec
;then
15892 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
15893 lt_prog_compiler_static_GCJ
='-Bstatic'
15897 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
15898 lt_prog_compiler_wl_GCJ
='-Wl,'
15899 lt_prog_compiler_pic_GCJ
='-KPIC'
15900 lt_prog_compiler_static_GCJ
='-Bstatic'
15904 lt_prog_compiler_wl_GCJ
='-Wl,'
15905 lt_prog_compiler_can_build_shared_GCJ
=no
15909 lt_prog_compiler_pic_GCJ
='-pic'
15910 lt_prog_compiler_static_GCJ
='-Bstatic'
15914 lt_prog_compiler_can_build_shared_GCJ
=no
15919 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
15920 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
15923 # Check to make sure the PIC flag actually works.
15925 if test -n "$lt_prog_compiler_pic_GCJ"; then
15927 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
15928 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
15929 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
15930 echo $ECHO_N "(cached) $ECHO_C" >&6
15932 lt_prog_compiler_pic_works_GCJ
=no
15933 ac_outfile
=conftest.
$ac_objext
15934 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15935 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
15936 # Insert the option either (1) after the last *FLAGS variable, or
15937 # (2) before a word containing "conftest.", or (3) at the end.
15938 # Note that $ac_compile itself does not contain backslashes and begins
15939 # with a dollar sign (not a hyphen), so the echo should work correctly.
15940 # The option is referenced via a variable to avoid confusing sed.
15941 lt_compile
=`echo "$ac_compile" | $SED \
15942 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15943 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15944 -e 's:$: $lt_compiler_flag:'`
15945 (eval echo "\"\$as_me:15945: $lt_compile\"" >&5)
15946 (eval "$lt_compile" 2>conftest.err
)
15948 cat conftest.err
>&5
15949 echo "$as_me:15949: \$? = $ac_status" >&5
15950 if (exit $ac_status) && test -s "$ac_outfile"; then
15951 # The compiler can only warn and ignore the option if not recognized
15952 # So say no if there are warnings other than the usual output.
15953 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
15954 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15955 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
15956 lt_prog_compiler_pic_works_GCJ
=yes
15962 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
15963 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
15965 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
15966 case $lt_prog_compiler_pic_GCJ in
15968 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
15971 lt_prog_compiler_pic_GCJ
=
15972 lt_prog_compiler_can_build_shared_GCJ
=no
15977 # For platforms which do not support PIC, -DPIC is meaningless:
15979 lt_prog_compiler_pic_GCJ
=
15982 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
15987 # Check to make sure the static flag actually works.
15989 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
15990 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15991 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
15992 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
15993 echo $ECHO_N "(cached) $ECHO_C" >&6
15995 lt_prog_compiler_static_works_GCJ
=no
15996 save_LDFLAGS
="$LDFLAGS"
15997 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
15998 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
15999 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
16000 # The linker can only warn and ignore the option if not recognized
16001 # So say no if there are warnings
16002 if test -s conftest.err
; then
16003 # Append any errors to the config.log.
16004 cat conftest.err
1>&5
16005 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
16006 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16007 if diff conftest.exp conftest.er2
>/dev
/null
; then
16008 lt_prog_compiler_static_works_GCJ
=yes
16011 lt_prog_compiler_static_works_GCJ
=yes
16015 LDFLAGS
="$save_LDFLAGS"
16018 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
16019 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6
16021 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
16024 lt_prog_compiler_static_GCJ
=
16028 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16029 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
16030 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16031 echo $ECHO_N "(cached) $ECHO_C" >&6
16033 lt_cv_prog_compiler_c_o_GCJ
=no
16034 $rm -r conftest
2>/dev
/null
16038 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16040 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16041 # Insert the option either (1) after the last *FLAGS variable, or
16042 # (2) before a word containing "conftest.", or (3) at the end.
16043 # Note that $ac_compile itself does not contain backslashes and begins
16044 # with a dollar sign (not a hyphen), so the echo should work correctly.
16045 lt_compile
=`echo "$ac_compile" | $SED \
16046 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16047 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16048 -e 's:$: $lt_compiler_flag:'`
16049 (eval echo "\"\$as_me:16049: $lt_compile\"" >&5)
16050 (eval "$lt_compile" 2>out
/conftest.err
)
16052 cat out
/conftest.err
>&5
16053 echo "$as_me:16053: \$? = $ac_status" >&5
16054 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16056 # The compiler can only warn and ignore the option if not recognized
16057 # So say no if there are warnings
16058 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
16059 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16060 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16061 lt_cv_prog_compiler_c_o_GCJ
=yes
16066 # SGI C++ compiler will create directory out/ii_files/ for
16067 # template instantiation
16068 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
16069 $rm out
/* && rmdir out
16075 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16076 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
16079 hard_links
="nottested"
16080 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
16081 # do not overwrite the value of need_locks provided by the user
16082 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16083 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
16086 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16088 ln conftest.a conftest.b
2>&5 || hard_links
=no
16089 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16090 echo "$as_me:$LINENO: result: $hard_links" >&5
16091 echo "${ECHO_T}$hard_links" >&6
16092 if test "$hard_links" = no
; then
16093 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16094 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16101 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16102 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
16105 allow_undefined_flag_GCJ
=
16106 enable_shared_with_static_runtimes_GCJ
=no
16108 archive_expsym_cmds_GCJ
=
16109 old_archive_From_new_cmds_GCJ
=
16110 old_archive_from_expsyms_cmds_GCJ
=
16111 export_dynamic_flag_spec_GCJ
=
16112 whole_archive_flag_spec_GCJ
=
16113 thread_safe_flag_spec_GCJ
=
16114 hardcode_libdir_flag_spec_GCJ
=
16115 hardcode_libdir_flag_spec_ld_GCJ
=
16116 hardcode_libdir_separator_GCJ
=
16117 hardcode_direct_GCJ
=no
16118 hardcode_minus_L_GCJ
=no
16119 hardcode_shlibpath_var_GCJ
=unsupported
16120 link_all_deplibs_GCJ
=unknown
16121 hardcode_automatic_GCJ
=no
16123 module_expsym_cmds_GCJ
=
16124 always_export_symbols_GCJ
=no
16125 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16126 # include_expsyms should be a list of space-separated symbols to be *always*
16127 # included in the symbol list
16128 include_expsyms_GCJ
=
16129 # exclude_expsyms can be an extended regexp of symbols to exclude
16130 # it will be wrapped by ` (' and `)$', so one must not match beginning or
16131 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16132 # as well as any symbol that contains `d'.
16133 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
16134 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16135 # platforms (ab)use it in PIC code, but their linkers get confused if
16136 # the symbol is explicitly referenced. Since portable code cannot
16137 # rely on this symbol name, it's probably fine to never include it in
16138 # preloaded symbol tables.
16139 extract_expsyms_cmds
=
16140 # Just being paranoid about ensuring that cc_basename is set.
16141 for cc_temp
in $compiler""; do
16143 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16144 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16149 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16152 cygwin
* | mingw
* | pw32
*)
16153 # FIXME: the MSVC++ port hasn't been tested in a loooong time
16154 # When not using gcc, we currently assume that we are using
16155 # Microsoft Visual C++.
16156 if test "$GCC" != yes; then
16161 # we just hope/assume this is gcc and not c89 (= MSVC++)
16170 if test "$with_gnu_ld" = yes; then
16171 # If archive_cmds runs LD, not CC, wlarc should be empty
16174 # Set some defaults for GNU ld with shared library support. These
16175 # are reset later if shared libraries are not supported. Putting them
16176 # here allows them to be overridden if necessary.
16177 runpath_var
=LD_RUN_PATH
16178 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
16179 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
16180 # ancient GNU ld didn't support --whole-archive et. al.
16181 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
16182 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16184 whole_archive_flag_spec_GCJ
=
16186 supports_anon_versioning
=no
16187 case `$LD -v 2>/dev/null` in
16188 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
16189 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
16190 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
16191 *\
2.11.
*) ;; # other 2.11 versions
16192 *) supports_anon_versioning
=yes ;;
16195 # See if GNU ld supports shared libraries.
16197 aix3
* | aix4
* | aix5
*)
16198 # On AIX/PPC, the GNU linker is very broken
16199 if test "$host_cpu" != ia64
; then
16203 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
16204 *** to be unable to reliably create shared libraries on AIX.
16205 *** Therefore, libtool is disabling shared libraries support. If you
16206 *** really care for shared libraries, you may want to modify your PATH
16207 *** so that a non-GNU linker is found, and then restart.
16214 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)'
16215 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16216 hardcode_minus_L_GCJ
=yes
16218 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16219 # that the semantics of dynamic libraries on AmigaOS, at least up
16220 # to version 4, is to share data among multiple programs linked
16221 # with the same dynamic library. Since this doesn't match the
16222 # behavior of shared libraries on other platforms, we can't use
16228 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16229 allow_undefined_flag_GCJ
=unsupported
16230 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16231 # support --undefined. This deserves some investigation. FIXME
16232 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16238 cygwin
* | mingw
* | pw32
*)
16239 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
16240 # as there is no search path for DLLs.
16241 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16242 allow_undefined_flag_GCJ
=unsupported
16243 always_export_symbols_GCJ
=no
16244 enable_shared_with_static_runtimes_GCJ
=yes
16245 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
16247 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
16248 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16249 # If the export-symbols file already is a .def file (1st line
16250 # is EXPORTS), use it as is; otherwise, prepend...
16251 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16252 cp $export_symbols $output_objdir/$soname.def;
16254 echo EXPORTS > $output_objdir/$soname.def;
16255 cat $export_symbols >> $output_objdir/$soname.def;
16257 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16264 hardcode_direct_GCJ
=no
16265 hardcode_shlibpath_var_GCJ
=no
16266 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16267 export_dynamic_flag_spec_GCJ
='${wl}-E'
16268 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
16269 # Instead, shared libraries are loaded at an image base (0x10000000 by
16270 # default) and relocated if they conflict, which is a slow very memory
16271 # consuming and fragmenting process. To avoid this, we pick a random,
16272 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
16273 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
16274 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'
16275 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'
16279 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16281 case $cc_basename,$host_cpu in
16282 pgcc
*) # Portland Group C compiler
16283 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'
16284 tmp_addflag
=' $pic_flag'
16286 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
16287 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'
16288 tmp_addflag
=' $pic_flag -Mnomain' ;;
16289 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
16290 tmp_addflag
=' -i_dynamic' ;;
16291 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
16292 tmp_addflag
=' -i_dynamic -nofor_main' ;;
16293 ifc
* | ifort
*) # Intel Fortran compiler
16294 tmp_addflag
=' -nofor_main' ;;
16296 archive_cmds_GCJ
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16298 if test $supports_anon_versioning = yes; then
16299 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
16300 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16301 $echo "local: *; };" >> $output_objdir/$libname.ver~
16302 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16310 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16311 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16314 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16315 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16320 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
16324 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
16325 *** create shared libraries on Solaris systems. Therefore, libtool
16326 *** is disabling shared libraries support. We urge you to upgrade GNU
16327 *** binutils to release 2.9.1 or newer. Another option is to modify
16328 *** your PATH or compiler configuration so that the native linker is
16329 *** used, and then restart.
16332 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16333 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16334 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16340 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
16341 case `$LD -v 2>&1` in
16342 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
16346 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
16347 *** reliably create shared libraries on SCO systems. Therefore, libtool
16348 *** is disabling shared libraries support. We urge you to upgrade GNU
16349 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
16350 *** your PATH or compiler configuration so that the native linker is
16351 *** used, and then restart.
16356 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16357 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
16358 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
16359 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
16368 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16370 hardcode_direct_GCJ
=yes
16371 hardcode_shlibpath_var_GCJ
=no
16375 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16376 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16377 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16384 if test "$ld_shlibs_GCJ" = no
; then
16386 hardcode_libdir_flag_spec_GCJ
=
16387 export_dynamic_flag_spec_GCJ
=
16388 whole_archive_flag_spec_GCJ
=
16391 # PORTME fill in a description of your system's linker (not GNU ld)
16394 allow_undefined_flag_GCJ
=unsupported
16395 always_export_symbols_GCJ
=yes
16396 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'
16397 # Note: this linker hardcodes the directories in LIBPATH if there
16398 # are no directories specified by -L.
16399 hardcode_minus_L_GCJ
=yes
16400 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
16401 # Neither direct hardcoding nor static linking is supported with a
16403 hardcode_direct_GCJ
=unsupported
16408 if test "$host_cpu" = ia64
; then
16409 # On IA64, the linker does run time linking by default, so we don't
16410 # have to do anything special.
16411 aix_use_runtimelinking
=no
16412 exp_sym_flag
='-Bexport'
16415 # If we're using GNU nm, then we don't want the "-C" option.
16416 # -C means demangle to AIX nm, but means don't demangle with GNU nm
16417 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
16418 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'
16420 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'
16422 aix_use_runtimelinking
=no
16424 # Test if we are trying to use run time linking or normal
16425 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16426 # need to do runtime linking.
16427 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
16428 for ld_flag
in $LDFLAGS; do
16429 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
16430 aix_use_runtimelinking
=yes
16437 exp_sym_flag
='-bexport'
16438 no_entry_flag
='-bnoentry'
16441 # When large executables or shared objects are built, AIX ld can
16442 # have problems creating the table of contents. If linking a library
16443 # or program results in "error TOC overflow" add -mminimal-toc to
16444 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
16445 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16447 archive_cmds_GCJ
=''
16448 hardcode_direct_GCJ
=yes
16449 hardcode_libdir_separator_GCJ
=':'
16450 link_all_deplibs_GCJ
=yes
16452 if test "$GCC" = yes; then
16453 case $host_os in aix4.
[012]|aix4.
[012].
*)
16454 # We only want to do this on AIX 4.2 and lower, the check
16455 # below for broken collect2 doesn't work under 4.3+
16456 collect2name
=`${CC} -print-prog-name=collect2`
16457 if test -f "$collect2name" && \
16458 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
16460 # We have reworked collect2
16461 hardcode_direct_GCJ
=yes
16463 # We have old collect2
16464 hardcode_direct_GCJ
=unsupported
16465 # It fails to find uninstalled libraries when the uninstalled
16466 # path is not listed in the libpath. Setting hardcode_minus_L
16467 # to unsupported forces relinking
16468 hardcode_minus_L_GCJ
=yes
16469 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16470 hardcode_libdir_separator_GCJ
=
16474 shared_flag
='-shared'
16475 if test "$aix_use_runtimelinking" = yes; then
16476 shared_flag
="$shared_flag "'${wl}-G'
16480 if test "$host_cpu" = ia64
; then
16481 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16482 # chokes on -Wl,-G. The following line is correct:
16485 if test "$aix_use_runtimelinking" = yes; then
16486 shared_flag
='${wl}-G'
16488 shared_flag
='${wl}-bM:SRE'
16493 # It seems that -bexpall does not export symbols beginning with
16494 # underscore (_), so it is better to generate a list of symbols to export.
16495 always_export_symbols_GCJ
=yes
16496 if test "$aix_use_runtimelinking" = yes; then
16497 # Warning - without using the other runtime loading flags (-brtl),
16498 # -berok will link without error, but may produce a broken library.
16499 allow_undefined_flag_GCJ
='-berok'
16500 # Determine the default libpath from the value encoded in an empty executable.
16501 cat >conftest.
$ac_ext <<_ACEOF
16504 cat confdefs.h
>>conftest.
$ac_ext
16505 cat >>conftest.
$ac_ext <<_ACEOF
16506 /* end confdefs.h. */
16516 rm -f conftest.
$ac_objext conftest
$ac_exeext
16517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16518 (eval $ac_link) 2>conftest.er1
16520 grep -v '^ *+' conftest.er1
>conftest.err
16522 cat conftest.err
>&5
16523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16524 (exit $ac_status); } &&
16525 { ac_try
='test -z "$ac_c_werror_flag"
16526 || test ! -s conftest.err'
16527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16528 (eval $ac_try) 2>&5
16530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16531 (exit $ac_status); }; } &&
16532 { ac_try
='test -s conftest$ac_exeext'
16533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16534 (eval $ac_try) 2>&5
16536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16537 (exit $ac_status); }; }; then
16539 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16541 # Check for a 64-bit object if we didn't find anything.
16542 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; }
16545 echo "$as_me: failed program was:" >&5
16546 sed 's/^/| /' conftest.
$ac_ext >&5
16549 rm -f conftest.err conftest.
$ac_objext \
16550 conftest
$ac_exeext conftest.
$ac_ext
16551 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
16553 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
16554 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"
16556 if test "$host_cpu" = ia64
; then
16557 hardcode_libdir_flag_spec_GCJ
='${wl}-R $libdir:/usr/lib:/lib'
16558 allow_undefined_flag_GCJ
="-z nodefs"
16559 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"
16561 # Determine the default libpath from the value encoded in an empty executable.
16562 cat >conftest.
$ac_ext <<_ACEOF
16565 cat confdefs.h
>>conftest.
$ac_ext
16566 cat >>conftest.
$ac_ext <<_ACEOF
16567 /* end confdefs.h. */
16577 rm -f conftest.
$ac_objext conftest
$ac_exeext
16578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16579 (eval $ac_link) 2>conftest.er1
16581 grep -v '^ *+' conftest.er1
>conftest.err
16583 cat conftest.err
>&5
16584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16585 (exit $ac_status); } &&
16586 { ac_try
='test -z "$ac_c_werror_flag"
16587 || test ! -s conftest.err'
16588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16589 (eval $ac_try) 2>&5
16591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16592 (exit $ac_status); }; } &&
16593 { ac_try
='test -s conftest$ac_exeext'
16594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16595 (eval $ac_try) 2>&5
16597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16598 (exit $ac_status); }; }; then
16600 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16602 # Check for a 64-bit object if we didn't find anything.
16603 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; }
16606 echo "$as_me: failed program was:" >&5
16607 sed 's/^/| /' conftest.
$ac_ext >&5
16610 rm -f conftest.err conftest.
$ac_objext \
16611 conftest
$ac_exeext conftest.
$ac_ext
16612 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
16614 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
16615 # Warning - without using the other run time loading flags,
16616 # -berok will link without error, but may produce a broken library.
16617 no_undefined_flag_GCJ
=' ${wl}-bernotok'
16618 allow_undefined_flag_GCJ
=' ${wl}-berok'
16619 # Exported symbols can be pulled into shared objects from archives
16620 whole_archive_flag_spec_GCJ
='$convenience'
16621 archive_cmds_need_lc_GCJ
=yes
16622 # This is similar to how AIX traditionally builds its shared libraries.
16623 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'
16629 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)'
16630 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16631 hardcode_minus_L_GCJ
=yes
16632 # see comment about different semantics on the GNU ld section
16637 export_dynamic_flag_spec_GCJ
=-rdynamic
16640 cygwin
* | mingw
* | pw32
*)
16641 # When not using gcc, we currently assume that we are using
16642 # Microsoft Visual C++.
16643 # hardcode_libdir_flag_spec is actually meaningless, as there is
16644 # no search path for DLLs.
16645 hardcode_libdir_flag_spec_GCJ
=' '
16646 allow_undefined_flag_GCJ
=unsupported
16647 # Tell ltmain to make .lib files, not .a files.
16649 # Tell ltmain to make .dll files, not .so files.
16651 # FIXME: Setting linknames here is a bad hack.
16652 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
16653 # The linker will automatically build a .lib file if we build a DLL.
16654 old_archive_From_new_cmds_GCJ
='true'
16655 # FIXME: Should let the user specify the lib program.
16656 old_archive_cmds_GCJ
='lib /OUT:$oldlib$oldobjs$old_deplibs'
16657 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
16658 enable_shared_with_static_runtimes_GCJ
=yes
16661 darwin
* | rhapsody
*)
16663 rhapsody
* | darwin1.
[012])
16664 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
16667 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
16668 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16670 case ${MACOSX_DEPLOYMENT_TARGET} in
16672 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16675 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
16681 archive_cmds_need_lc_GCJ
=no
16682 hardcode_direct_GCJ
=no
16683 hardcode_automatic_GCJ
=yes
16684 hardcode_shlibpath_var_GCJ
=unsupported
16685 whole_archive_flag_spec_GCJ
=''
16686 link_all_deplibs_GCJ
=yes
16687 if test "$GCC" = yes ; then
16688 output_verbose_link_cmd
='echo'
16689 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16690 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16691 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16692 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}'
16693 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}'
16695 case $cc_basename in
16697 output_verbose_link_cmd
='echo'
16698 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
16699 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16700 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16701 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}'
16702 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}'
16712 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16713 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16714 hardcode_shlibpath_var_GCJ
=no
16721 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
16722 # support. Future versions do this automatically, but an explicit c++rt0.o
16723 # does not break anything, and helps significantly (at the cost of a little
16726 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
16727 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16728 hardcode_direct_GCJ
=yes
16729 hardcode_shlibpath_var_GCJ
=no
16732 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
16734 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16735 hardcode_direct_GCJ
=yes
16736 hardcode_minus_L_GCJ
=yes
16737 hardcode_shlibpath_var_GCJ
=no
16740 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16741 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
16742 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16743 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16744 hardcode_direct_GCJ
=yes
16745 hardcode_shlibpath_var_GCJ
=no
16749 if test "$GCC" = yes; then
16750 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'
16752 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'
16754 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16755 hardcode_libdir_separator_GCJ
=:
16756 hardcode_direct_GCJ
=yes
16758 # hardcode_minus_L: Not really in the search PATH,
16759 # but as the default location of the library.
16760 hardcode_minus_L_GCJ
=yes
16761 export_dynamic_flag_spec_GCJ
='${wl}-E'
16765 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
16766 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16768 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
16770 if test "$with_gnu_ld" = no
; then
16771 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16772 hardcode_libdir_separator_GCJ
=:
16774 hardcode_direct_GCJ
=yes
16775 export_dynamic_flag_spec_GCJ
='${wl}-E'
16777 # hardcode_minus_L: Not really in the search PATH,
16778 # but as the default location of the library.
16779 hardcode_minus_L_GCJ
=yes
16784 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
16787 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16790 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16793 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16799 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16802 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16805 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16809 if test "$with_gnu_ld" = no
; then
16810 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16811 hardcode_libdir_separator_GCJ
=:
16815 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
16816 hardcode_direct_GCJ
=no
16817 hardcode_shlibpath_var_GCJ
=no
16820 hardcode_direct_GCJ
=yes
16821 export_dynamic_flag_spec_GCJ
='${wl}-E'
16823 # hardcode_minus_L: Not really in the search PATH,
16824 # but as the default location of the library.
16825 hardcode_minus_L_GCJ
=yes
16831 irix5
* | irix6
* | nonstopux
*)
16832 if test "$GCC" = yes; then
16833 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'
16835 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'
16836 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
16838 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16839 hardcode_libdir_separator_GCJ
=:
16840 link_all_deplibs_GCJ
=yes
16844 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16845 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
16847 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
16849 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16850 hardcode_direct_GCJ
=yes
16851 hardcode_shlibpath_var_GCJ
=no
16855 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16856 hardcode_direct_GCJ
=yes
16857 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16858 hardcode_libdir_separator_GCJ
=:
16859 hardcode_shlibpath_var_GCJ
=no
16863 hardcode_direct_GCJ
=yes
16864 hardcode_shlibpath_var_GCJ
=no
16865 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16866 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16867 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
16868 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16869 export_dynamic_flag_spec_GCJ
='${wl}-E'
16872 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
16873 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16874 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16877 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16878 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16885 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16886 hardcode_minus_L_GCJ
=yes
16887 allow_undefined_flag_GCJ
=unsupported
16888 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'
16889 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16893 if test "$GCC" = yes; then
16894 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
16895 archive_cmds_GCJ
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16897 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
16898 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'
16900 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16901 hardcode_libdir_separator_GCJ
=:
16904 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
16905 if test "$GCC" = yes; then
16906 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
16907 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'
16908 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16910 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
16911 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'
16912 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~
16913 $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'
16915 # Both c and cxx compiler support -rpath directly
16916 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
16918 hardcode_libdir_separator_GCJ
=:
16922 no_undefined_flag_GCJ
=' -z text'
16923 if test "$GCC" = yes; then
16925 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16926 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16927 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16930 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16931 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16932 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16934 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16935 hardcode_shlibpath_var_GCJ
=no
16937 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
16939 # The compiler driver will combine linker options so we
16940 # cannot just pass the convience library names through
16941 # without $wl, iff we do not link with $LD.
16942 # Luckily, gcc supports the same syntax we need for Sun Studio.
16943 # Supported since Solaris 2.6 (maybe 2.5.1?)
16946 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract' ;;
16948 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' ;;
16951 link_all_deplibs_GCJ
=yes
16955 if test "x$host_vendor" = xsequent
; then
16956 # Use $CC to link under sequent, because it throws in some extra .o
16957 # files that make .init and .fini sections work.
16958 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16960 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16962 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16963 hardcode_direct_GCJ
=yes
16964 hardcode_minus_L_GCJ
=yes
16965 hardcode_shlibpath_var_GCJ
=no
16969 case $host_vendor in
16971 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16972 hardcode_direct_GCJ
=yes # is this really true???
16975 ## LD is ld it makes a PLAMLIB
16976 ## CC just makes a GrossModule.
16977 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16978 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
16979 hardcode_direct_GCJ
=no
16982 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16983 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
16986 runpath_var
='LD_RUN_PATH'
16987 hardcode_shlibpath_var_GCJ
=no
16991 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16992 hardcode_shlibpath_var_GCJ
=no
16993 export_dynamic_flag_spec_GCJ
='-Bexport'
16997 if test -d /usr
/nec
; then
16998 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16999 hardcode_shlibpath_var_GCJ
=no
17000 runpath_var
=LD_RUN_PATH
17001 hardcode_runpath_var
=yes
17006 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
17007 no_undefined_flag_GCJ
='${wl}-z,text'
17008 archive_cmds_need_lc_GCJ
=no
17009 hardcode_shlibpath_var_GCJ
=no
17010 runpath_var
='LD_RUN_PATH'
17012 if test "$GCC" = yes; then
17013 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17014 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17016 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17017 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17021 sysv5
* | sco3.2v5
* | sco5v6
*)
17022 # Note: We can NOT use -z defs as we might desire, because we do not
17023 # link with -lc, and that would cause any symbols used from libc to
17024 # always be unresolved, which means just about no library would
17025 # ever link correctly. If we're not using GNU ld we use -z text
17026 # though, which does catch some bad symbols but isn't as heavy-handed
17028 no_undefined_flag_GCJ
='${wl}-z,text'
17029 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
17030 archive_cmds_need_lc_GCJ
=no
17031 hardcode_shlibpath_var_GCJ
=no
17032 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
17033 hardcode_libdir_separator_GCJ
=':'
17034 link_all_deplibs_GCJ
=yes
17035 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
17036 runpath_var
='LD_RUN_PATH'
17038 if test "$GCC" = yes; then
17039 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17040 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17042 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17043 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17048 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17049 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17050 hardcode_shlibpath_var_GCJ
=no
17059 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17060 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
17061 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
17064 # Do we need to explicitly link libc?
17066 case "x$archive_cmds_need_lc_GCJ" in
17068 # Assume -lc should be added
17069 archive_cmds_need_lc_GCJ
=yes
17071 if test "$enable_shared" = yes && test "$GCC" = yes; then
17072 case $archive_cmds_GCJ in
17074 # FIXME: we may have to deal with multi-command sequences.
17077 # Test whether the compiler implicitly links with -lc since on some
17078 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17079 # to ld, don't add -lc before -lgcc.
17080 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17081 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
17083 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
17085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17086 (eval $ac_compile) 2>&5
17088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17089 (exit $ac_status); } 2>conftest.err
; then
17092 libobjs
=conftest.
$ac_objext
17094 wl
=$lt_prog_compiler_wl_GCJ
17095 pic_flag
=$lt_prog_compiler_pic_GCJ
17101 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
17102 allow_undefined_flag_GCJ
=
17103 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17104 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
17106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17107 (exit $ac_status); }
17109 archive_cmds_need_lc_GCJ
=no
17111 archive_cmds_need_lc_GCJ
=yes
17113 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
17115 cat conftest.err
1>&5
17118 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17119 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
17126 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17127 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
17128 library_names_spec
=
17129 libname_spec
='lib$name'
17133 postuninstall_cmds
=
17137 shlibpath_overrides_runpath
=unknown
17139 dynamic_linker
="$host_os ld.so"
17140 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
17141 if test "$GCC" = yes; then
17142 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17143 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
17144 # if the path contains ";" then we assume it to be the separator
17145 # otherwise default to the standard path separator (i.e. ":") - it is
17146 # assumed that no part of a normal pathname contains ";" but that should
17147 # okay in the real world where ";" in dirpaths is itself problematic.
17148 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17150 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17153 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
17155 need_lib_prefix
=unknown
17156 hardcode_into_libs
=no
17158 # when you set need_version to no, make sure it does not cause -set_version
17159 # flags to be left without arguments
17160 need_version
=unknown
17165 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
17166 shlibpath_var
=LIBPATH
17168 # AIX 3 has no versioning support, so we append a major version to the name.
17169 soname_spec
='${libname}${release}${shared_ext}$major'
17176 hardcode_into_libs
=yes
17177 if test "$host_cpu" = ia64
; then
17178 # AIX 5 supports IA64
17179 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17180 shlibpath_var
=LD_LIBRARY_PATH
17182 # With GCC up to 2.95.x, collect2 would create an import file
17183 # for dependence libraries. The import file would start with
17184 # the line `#! .'. This would cause the generated library to
17185 # depend on `.', always an invalid library. This was fixed in
17186 # development snapshots of GCC prior to 3.0.
17188 aix4 | aix4.
[01] | aix4.
[01].
*)
17189 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17191 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
17194 can_build_shared
=no
17198 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17199 # soname into executable. Probably we can add versioning support to
17200 # collect2, so additional links can be useful in future.
17201 if test "$aix_use_runtimelinking" = yes; then
17202 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17203 # instead of lib<name>.a to let people know that these are not
17204 # typical AIX shared libraries.
17205 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17207 # We preserve .a as extension for shared libraries through AIX4.2
17208 # and later when we are not doing run time linking.
17209 library_names_spec
='${libname}${release}.a $libname.a'
17210 soname_spec
='${libname}${release}${shared_ext}$major'
17212 shlibpath_var
=LIBPATH
17217 library_names_spec
='$libname.ixlibrary $libname.a'
17218 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17219 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'
17223 library_names_spec
='${libname}${shared_ext}'
17224 dynamic_linker
="$host_os ld.so"
17225 shlibpath_var
=LIBRARY_PATH
17231 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17232 soname_spec
='${libname}${release}${shared_ext}$major'
17233 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
17234 shlibpath_var
=LD_LIBRARY_PATH
17235 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17236 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
17237 # the default ld.so.conf also contains /usr/contrib/lib and
17238 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17239 # libtool to hard-code these into programs
17242 cygwin
* | mingw
* | pw32
*)
17243 version_type
=windows
17248 case $GCC,$host_os in
17249 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
17250 library_names_spec
='$libname.dll.a'
17251 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17252 postinstall_cmds
='base_file=`basename \${file}`~
17253 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17254 dldir=$destdir/`dirname \$dlpath`~
17255 test -d \$dldir || mkdir -p \$dldir~
17256 $install_prog $dir/$dlname \$dldir/$dlname~
17257 chmod a+x \$dldir/$dlname'
17258 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17259 dlpath=$dir/\$dldll~
17261 shlibpath_overrides_runpath
=yes
17265 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17266 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17267 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
17270 # MinGW DLLs use traditional 'lib' prefix
17271 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17272 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17273 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
17274 # It is most probably a Windows format PATH printed by
17275 # mingw gcc, but we are running on Cygwin. Gcc prints its search
17276 # path with ; separators, and with drive letters. We can handle the
17277 # drive letters (cygwin fileutils understands them), so leave them,
17278 # especially as we might pass files found there to a mingw objdump,
17279 # which wouldn't understand a cygwinified path. Ahh.
17280 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17282 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17286 # pw32 DLLs use 'pw' prefix rather than 'lib'
17287 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17293 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17296 dynamic_linker
='Win32 ld.exe'
17297 # FIXME: first we should search . and the directory the executable is in
17301 darwin
* | rhapsody
*)
17302 dynamic_linker
="$host_os dyld"
17303 version_type
=darwin
17306 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17307 soname_spec
='${libname}${release}${major}$shared_ext'
17308 shlibpath_overrides_runpath
=yes
17309 shlibpath_var
=DYLD_LIBRARY_PATH
17310 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
17311 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
17312 if test "$GCC" = yes; then
17313 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"`
17315 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
17317 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
17324 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17325 soname_spec
='${libname}${release}${shared_ext}$major'
17326 shlibpath_var
=LD_LIBRARY_PATH
17337 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17338 soname_spec
='${libname}${release}${shared_ext}$major'
17339 shlibpath_var
=LD_LIBRARY_PATH
17340 shlibpath_overrides_runpath
=no
17341 hardcode_into_libs
=yes
17342 dynamic_linker
='GNU ld.so'
17345 freebsd
* | dragonfly
*)
17346 # DragonFly does not have aout. When/if they implement a new
17347 # versioning mechanism, adjust this.
17348 if test -x /usr
/bin
/objformat
; then
17349 objformat
=`/usr/bin/objformat`
17352 freebsd
[123]*) objformat
=aout
;;
17353 *) objformat
=elf
;;
17356 version_type
=freebsd-
$objformat
17357 case $version_type in
17359 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17364 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17368 shlibpath_var
=LD_LIBRARY_PATH
17371 shlibpath_overrides_runpath
=yes
17373 freebsd3.
[01]* | freebsdelf3.
[01]*)
17374 shlibpath_overrides_runpath
=yes
17375 hardcode_into_libs
=yes
17377 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
17378 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
17379 shlibpath_overrides_runpath
=no
17380 hardcode_into_libs
=yes
17382 freebsd
*) # from 4.6 on
17383 shlibpath_overrides_runpath
=yes
17384 hardcode_into_libs
=yes
17393 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17394 soname_spec
='${libname}${release}${shared_ext}$major'
17395 shlibpath_var
=LD_LIBRARY_PATH
17396 hardcode_into_libs
=yes
17399 hpux9
* | hpux10
* | hpux11
*)
17400 # Give a soname corresponding to the major version so that dld.sl refuses to
17401 # link against other versions.
17408 hardcode_into_libs
=yes
17409 dynamic_linker
="$host_os dld.so"
17410 shlibpath_var
=LD_LIBRARY_PATH
17411 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17412 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17413 soname_spec
='${libname}${release}${shared_ext}$major'
17414 if test "X$HPUX_IA64_MODE" = X32
; then
17415 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17417 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
17419 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17423 hardcode_into_libs
=yes
17424 dynamic_linker
="$host_os dld.sl"
17425 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
17426 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17427 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17428 soname_spec
='${libname}${release}${shared_ext}$major'
17429 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17430 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17434 dynamic_linker
="$host_os dld.sl"
17435 shlibpath_var
=SHLIB_PATH
17436 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
17437 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17438 soname_spec
='${libname}${release}${shared_ext}$major'
17441 # HP-UX runs *really* slowly unless shared libraries are mode 555.
17442 postinstall_cmds
='chmod 555 $lib'
17449 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17450 soname_spec
='${libname}${release}${shared_ext}$major'
17451 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
17452 shlibpath_var
=LD_LIBRARY_PATH
17453 shlibpath_overrides_runpath
=no
17454 hardcode_into_libs
=yes
17457 irix5
* | irix6
* | nonstopux
*)
17459 nonstopux
*) version_type
=nonstopux
;;
17461 if test "$lt_cv_prog_gnu_ld" = yes; then
17469 soname_spec
='${libname}${release}${shared_ext}$major'
17470 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17472 irix5
* | nonstopux
*)
17473 libsuff
= shlibsuff
=
17476 case $LD in # libtool.m4 will add one of these switches to LD
17477 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
17478 libsuff
= shlibsuff
= libmagic
=32-bit;;
17479 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
17480 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
17481 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
17482 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
17483 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
17487 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
17488 shlibpath_overrides_runpath
=no
17489 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17490 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
17491 hardcode_into_libs
=yes
17494 # No shared lib support for Linux oldld, aout, or coff.
17495 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
17499 # This must be Linux ELF.
17504 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17505 soname_spec
='${libname}${release}${shared_ext}$major'
17506 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17507 shlibpath_var
=LD_LIBRARY_PATH
17508 shlibpath_overrides_runpath
=no
17509 # This implies no fast_install, which is unacceptable.
17510 # Some rework will be needed to allow for fast_install
17511 # before this can be enabled.
17512 hardcode_into_libs
=yes
17514 # find out which ABI we are using
17516 case "$host_cpu" in
17517 x86_64
*|s390x
*|powerpc64
*)
17518 echo '#line 17518 "configure"' > conftest.
$ac_ext
17519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17520 (eval $ac_compile) 2>&5
17522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17523 (exit $ac_status); }; then
17524 case `/usr/bin/file conftest.$ac_objext` in
17527 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
17535 # Append ld.so.conf contents to the search path
17536 if test -f /etc
/ld.so.conf
; then
17537 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' ' '`
17538 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
17541 # We used to test for /lib/ld.so.1 and disable shared libraries on
17542 # powerpc, because MkLinux only supported shared libraries with the
17543 # GNU dynamic linker. Since this was broken with cross compilers,
17544 # most powerpc-linux boxes support dynamic linking these days and
17545 # people can always --disable-shared, the test was removed, and we
17546 # assume the GNU/Linux dynamic linker is in use.
17547 dynamic_linker
='GNU/Linux ld.so'
17554 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17555 soname_spec
='${libname}${release}${shared_ext}$major'
17556 shlibpath_var
=LD_LIBRARY_PATH
17557 shlibpath_overrides_runpath
=no
17558 hardcode_into_libs
=yes
17559 dynamic_linker
='GNU ld.so'
17566 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17567 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17568 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17569 dynamic_linker
='NetBSD (a.out) ld.so'
17571 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17572 soname_spec
='${libname}${release}${shared_ext}$major'
17573 dynamic_linker
='NetBSD ld.elf_so'
17575 shlibpath_var
=LD_LIBRARY_PATH
17576 shlibpath_overrides_runpath
=yes
17577 hardcode_into_libs
=yes
17582 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17583 shlibpath_var
=LD_LIBRARY_PATH
17584 shlibpath_overrides_runpath
=yes
17591 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17592 soname_spec
='${libname}${release}${shared_ext}$major'
17593 shlibpath_var
=LD_LIBRARY_PATH
17594 shlibpath_overrides_runpath
=yes
17599 sys_lib_dlsearch_path_spec
="/usr/lib"
17601 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17603 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
17604 *) need_version
=no
;;
17606 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17607 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17608 shlibpath_var
=LD_LIBRARY_PATH
17609 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17611 openbsd2.
[89] | openbsd2.
[89].
*)
17612 shlibpath_overrides_runpath
=no
17615 shlibpath_overrides_runpath
=yes
17619 shlibpath_overrides_runpath
=yes
17624 libname_spec
='$name'
17627 library_names_spec
='$libname${shared_ext} $libname.a'
17628 dynamic_linker
='OS/2 ld.exe'
17629 shlibpath_var
=LIBPATH
17632 osf3
* | osf4
* | osf5
*)
17636 soname_spec
='${libname}${release}${shared_ext}$major'
17637 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17638 shlibpath_var
=LD_LIBRARY_PATH
17639 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17640 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
17647 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17648 soname_spec
='${libname}${release}${shared_ext}$major'
17649 shlibpath_var
=LD_LIBRARY_PATH
17650 shlibpath_overrides_runpath
=yes
17651 hardcode_into_libs
=yes
17652 # ldd complains unless libraries are executable
17653 postinstall_cmds
='chmod +x $lib'
17658 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17659 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17660 shlibpath_var
=LD_LIBRARY_PATH
17661 shlibpath_overrides_runpath
=yes
17662 if test "$with_gnu_ld" = yes; then
17670 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17671 soname_spec
='${libname}${release}${shared_ext}$major'
17672 shlibpath_var
=LD_LIBRARY_PATH
17673 case $host_vendor in
17675 shlibpath_overrides_runpath
=no
17677 export_dynamic_flag_spec
='${wl}-Blargedynsym'
17678 runpath_var
=LD_RUN_PATH
17686 shlibpath_overrides_runpath
=no
17687 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
17693 if test -d /usr
/nec
;then
17695 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17696 soname_spec
='$libname${shared_ext}.$major'
17697 shlibpath_var
=LD_LIBRARY_PATH
17701 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
17702 version_type
=freebsd-elf
17705 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17706 soname_spec
='${libname}${release}${shared_ext}$major'
17707 shlibpath_var
=LD_LIBRARY_PATH
17708 hardcode_into_libs
=yes
17709 if test "$with_gnu_ld" = yes; then
17710 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17711 shlibpath_overrides_runpath
=no
17713 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
17714 shlibpath_overrides_runpath
=yes
17717 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
17721 sys_lib_dlsearch_path_spec
='/usr/lib'
17726 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17727 soname_spec
='${libname}${release}${shared_ext}$major'
17728 shlibpath_var
=LD_LIBRARY_PATH
17735 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17736 echo "${ECHO_T}$dynamic_linker" >&6
17737 test "$dynamic_linker" = no
&& can_build_shared
=no
17739 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
17740 if test "$GCC" = yes; then
17741 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17744 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17745 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
17746 hardcode_action_GCJ
=
17747 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
17748 test -n "$runpath_var_GCJ" || \
17749 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
17751 # We can hardcode non-existant directories.
17752 if test "$hardcode_direct_GCJ" != no
&&
17753 # If the only mechanism to avoid hardcoding is shlibpath_var, we
17754 # have to relink, otherwise we might link with an installed library
17755 # when we should be linking with a yet-to-be-installed one
17756 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
17757 test "$hardcode_minus_L_GCJ" != no
; then
17758 # Linking always hardcodes the temporary library directory.
17759 hardcode_action_GCJ
=relink
17761 # We can link without hardcoding, and we can hardcode nonexisting dirs.
17762 hardcode_action_GCJ
=immediate
17765 # We cannot hardcode anything, or else we can only hardcode existing
17767 hardcode_action_GCJ
=unsupported
17769 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
17770 echo "${ECHO_T}$hardcode_action_GCJ" >&6
17772 if test "$hardcode_action_GCJ" = relink
; then
17773 # Fast installation is not supported
17774 enable_fast_install
=no
17775 elif test "$shlibpath_overrides_runpath" = yes ||
17776 test "$enable_shared" = no
; then
17777 # Fast installation is not necessary
17778 enable_fast_install
=needless
17782 # The else clause should only fire when bootstrapping the
17783 # libtool distribution, otherwise you forgot to ship ltmain.sh
17784 # with your package, and you will get complaints that there are
17785 # no rules to generate ltmain.sh.
17786 if test -f "$ltmain"; then
17787 # See if we are running on zsh, and set the options which allow our commands through
17788 # without removal of \ escapes.
17789 if test -n "${ZSH_VERSION+set}" ; then
17790 setopt NO_GLOB_SUBST
17792 # Now quote all the things that may contain metacharacters while being
17793 # careful not to overquote the AC_SUBSTed values. We take copies of the
17794 # variables and quote the copies for generation of the libtool script.
17795 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
17797 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17798 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17799 deplibs_check_method reload_flag reload_cmds need_locks \
17800 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17801 lt_cv_sys_global_symbol_to_c_name_address \
17802 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17803 old_postinstall_cmds old_postuninstall_cmds \
17807 lt_prog_compiler_wl_GCJ \
17808 lt_prog_compiler_pic_GCJ \
17809 lt_prog_compiler_static_GCJ \
17810 lt_prog_compiler_no_builtin_flag_GCJ \
17811 export_dynamic_flag_spec_GCJ \
17812 thread_safe_flag_spec_GCJ \
17813 whole_archive_flag_spec_GCJ \
17814 enable_shared_with_static_runtimes_GCJ \
17815 old_archive_cmds_GCJ \
17816 old_archive_from_new_cmds_GCJ \
17817 predep_objects_GCJ \
17818 postdep_objects_GCJ \
17821 compiler_lib_search_path_GCJ \
17823 archive_expsym_cmds_GCJ \
17824 postinstall_cmds_GCJ \
17825 postuninstall_cmds_GCJ \
17826 old_archive_from_expsyms_cmds_GCJ \
17827 allow_undefined_flag_GCJ \
17828 no_undefined_flag_GCJ \
17829 export_symbols_cmds_GCJ \
17830 hardcode_libdir_flag_spec_GCJ \
17831 hardcode_libdir_flag_spec_ld_GCJ \
17832 hardcode_libdir_separator_GCJ \
17833 hardcode_automatic_GCJ \
17835 module_expsym_cmds_GCJ \
17836 lt_cv_prog_compiler_c_o_GCJ \
17837 exclude_expsyms_GCJ \
17838 include_expsyms_GCJ
; do
17841 old_archive_cmds_GCJ | \
17842 old_archive_from_new_cmds_GCJ | \
17843 archive_cmds_GCJ | \
17844 archive_expsym_cmds_GCJ | \
17845 module_cmds_GCJ | \
17846 module_expsym_cmds_GCJ | \
17847 old_archive_from_expsyms_cmds_GCJ | \
17848 export_symbols_cmds_GCJ | \
17849 extract_expsyms_cmds | reload_cmds | finish_cmds | \
17850 postinstall_cmds | postuninstall_cmds | \
17851 old_postinstall_cmds | old_postuninstall_cmds | \
17852 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
17853 # Double-quote double-evaled strings.
17854 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17857 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17863 *'\$0 --fallback-echo"')
17864 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17870 cat <<__EOF__ >> "$cfgfile"
17871 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
17873 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17875 # Shell to use when invoking shell scripts.
17878 # Whether or not to build shared libraries.
17879 build_libtool_libs=$enable_shared
17881 # Whether or not to build static libraries.
17882 build_old_libs=$enable_static
17884 # Whether or not to add -lc for building shared libraries.
17885 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
17887 # Whether or not to disallow shared libs when runtime libs are static
17888 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
17890 # Whether or not to optimize for fast installation.
17891 fast_install=$enable_fast_install
17894 host_alias=$host_alias
17898 # The build system.
17899 build_alias=$build_alias
17903 # An echo program that does not interpret backslashes.
17908 AR_FLAGS=$lt_AR_FLAGS
17913 # LTCC compiler flags.
17914 LTCFLAGS=$lt_LTCFLAGS
17916 # A language-specific compiler.
17917 CC=$lt_compiler_GCJ
17919 # Is the compiler the GNU C compiler?
17922 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
17923 gcc_ver=\`gcc -dumpversion\`
17928 # The linker used to build libraries.
17931 # Whether we need hard or soft links.
17934 # A BSD-compatible nm program.
17937 # A symbol stripping program
17940 # Used to examine libraries when file_magic_cmd begins "file"
17941 MAGIC_CMD=$MAGIC_CMD
17943 # Used on cygwin: DLL creation program.
17946 # Used on cygwin: object dumper.
17949 # Used on cygwin: assembler.
17952 # The name of the directory that contains temporary libtool files.
17955 # How to create reloadable object files.
17956 reload_flag=$lt_reload_flag
17957 reload_cmds=$lt_reload_cmds
17959 # How to pass a linker flag through the compiler.
17960 wl=$lt_lt_prog_compiler_wl_GCJ
17962 # Object file suffix (normally "o").
17963 objext="$ac_objext"
17965 # Old archive suffix (normally "a").
17968 # Shared library suffix (normally ".so").
17969 shrext_cmds='$shrext_cmds'
17971 # Executable file suffix (normally "").
17974 # Additional compiler flags for building library objects.
17975 pic_flag=$lt_lt_prog_compiler_pic_GCJ
17978 # What is the maximum length of a command?
17979 max_cmd_len=$lt_cv_sys_max_cmd_len
17981 # Does compiler simultaneously support -c and -o options?
17982 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
17984 # Must we lock files when doing compilation?
17985 need_locks=$lt_need_locks
17987 # Do we need the lib prefix for modules?
17988 need_lib_prefix=$need_lib_prefix
17990 # Do we need a version for libraries?
17991 need_version=$need_version
17993 # Whether dlopen is supported.
17994 dlopen_support=$enable_dlopen
17996 # Whether dlopen of programs is supported.
17997 dlopen_self=$enable_dlopen_self
17999 # Whether dlopen of statically linked programs is supported.
18000 dlopen_self_static=$enable_dlopen_self_static
18002 # Compiler flag to prevent dynamic linking.
18003 link_static_flag=$lt_lt_prog_compiler_static_GCJ
18005 # Compiler flag to turn off builtin functions.
18006 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
18008 # Compiler flag to allow reflexive dlopens.
18009 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
18011 # Compiler flag to generate shared objects directly from archives.
18012 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
18014 # Compiler flag to generate thread-safe objects.
18015 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
18017 # Library versioning type.
18018 version_type=$version_type
18020 # Format of library name prefix.
18021 libname_spec=$lt_libname_spec
18023 # List of archive names. First name is the real one, the rest are links.
18024 # The last name is the one that the linker finds with -lNAME.
18025 library_names_spec=$lt_library_names_spec
18027 # The coded name of the library, if different from the real name.
18028 soname_spec=$lt_soname_spec
18030 # Commands used to build and install an old-style archive.
18032 old_archive_cmds=$lt_old_archive_cmds_GCJ
18033 old_postinstall_cmds=$lt_old_postinstall_cmds
18034 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18036 # Create an old-style archive from a shared archive.
18037 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
18039 # Create a temporary old-style archive to link instead of a shared archive.
18040 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
18042 # Commands used to build and install a shared archive.
18043 archive_cmds=$lt_archive_cmds_GCJ
18044 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
18045 postinstall_cmds=$lt_postinstall_cmds
18046 postuninstall_cmds=$lt_postuninstall_cmds
18048 # Commands used to build a loadable module (assumed same as above if empty)
18049 module_cmds=$lt_module_cmds_GCJ
18050 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
18052 # Commands to strip libraries.
18053 old_striplib=$lt_old_striplib
18054 striplib=$lt_striplib
18056 # Dependencies to place before the objects being linked to create a
18058 predep_objects=\`echo $lt_predep_objects_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
18060 # Dependencies to place after the objects being linked to create a
18062 postdep_objects=\`echo $lt_postdep_objects_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
18064 # Dependencies to place before the objects being linked to create a
18066 predeps=$lt_predeps_GCJ
18068 # Dependencies to place after the objects being linked to create a
18070 postdeps=$lt_postdeps_GCJ
18072 # The library search path used internally by the compiler when linking
18073 # a shared library.
18074 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"\`
18076 # Method to check whether dependent libraries are shared objects.
18077 deplibs_check_method=$lt_deplibs_check_method
18079 # Command to use when deplibs_check_method == file_magic.
18080 file_magic_cmd=$lt_file_magic_cmd
18082 # Flag that allows shared libraries with undefined symbols to be built.
18083 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
18085 # Flag that forces no undefined symbols.
18086 no_undefined_flag=$lt_no_undefined_flag_GCJ
18088 # Commands used to finish a libtool library installation in a directory.
18089 finish_cmds=$lt_finish_cmds
18091 # Same as above, but a single script fragment to be evaled but not shown.
18092 finish_eval=$lt_finish_eval
18094 # Take the output of nm and produce a listing of raw symbols and C names.
18095 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18097 # Transform the output of nm in a proper C declaration
18098 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18100 # Transform the output of nm in a C name address pair
18101 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18103 # This is the shared library runtime path variable.
18104 runpath_var=$runpath_var
18106 # This is the shared library path variable.
18107 shlibpath_var=$shlibpath_var
18109 # Is shlibpath searched before the hard-coded library search path?
18110 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18112 # How to hardcode a shared library path into an executable.
18113 hardcode_action=$hardcode_action_GCJ
18115 # Whether we should hardcode library paths into libraries.
18116 hardcode_into_libs=$hardcode_into_libs
18118 # Flag to hardcode \$libdir into a binary during linking.
18119 # This must work even if \$libdir does not exist.
18120 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
18122 # If ld is used when linking, flag to hardcode \$libdir into
18123 # a binary during linking. This must work even if \$libdir does
18125 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
18127 # Whether we need a single -rpath flag with a separated argument.
18128 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
18130 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18131 # resulting binary.
18132 hardcode_direct=$hardcode_direct_GCJ
18134 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18135 # resulting binary.
18136 hardcode_minus_L=$hardcode_minus_L_GCJ
18138 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18139 # the resulting binary.
18140 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
18142 # Set to yes if building a shared library automatically hardcodes DIR into the library
18143 # and all subsequent libraries and executables linked against it.
18144 hardcode_automatic=$hardcode_automatic_GCJ
18146 # Variables whose values should be saved in libtool wrapper scripts and
18147 # restored at relink time.
18148 variables_saved_for_relink="$variables_saved_for_relink"
18150 # Whether libtool must link a program against all its dependency libraries.
18151 link_all_deplibs=$link_all_deplibs_GCJ
18153 # Compile-time system search path for libraries
18154 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"\`
18156 # Run-time system search path for libraries
18157 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18159 # Fix the shell variable \$srcfile for the compiler.
18160 fix_srcfile_path="$fix_srcfile_path_GCJ"
18162 # Set to yes if exported symbols are required.
18163 always_export_symbols=$always_export_symbols_GCJ
18165 # The commands to list exported symbols.
18166 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
18168 # The commands to extract the exported symbol list from a shared archive.
18169 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18171 # Symbols that should not be listed in the preloaded symbols.
18172 exclude_expsyms=$lt_exclude_expsyms_GCJ
18174 # Symbols that must always be exported.
18175 include_expsyms=$lt_include_expsyms_GCJ
18177 # ### END LIBTOOL TAG CONFIG: $tagname
18183 # If there is no Makefile yet, we rely on a make rule to execute
18184 # `config.status --recheck' to rerun these tests and create the
18185 # libtool script then.
18186 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18187 if test -f "$ltmain_in"; then
18188 test -f Makefile
&& make "$ltmain"
18194 ac_cpp
='$CPP $CPPFLAGS'
18195 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18196 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18197 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18210 # Source file extension for RC test sources.
18213 # Object file extension for compiled RC test sources.
18217 # Code to be used in simple compile tests
18218 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
18220 # Code to be used in simple link tests
18221 lt_simple_link_test_code
="$lt_simple_compile_test_code"
18223 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18225 # If no C compiler was specified, use CC.
18228 # If no C compiler flags were specified, use CFLAGS.
18229 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
18231 # Allow CC to be a program name with arguments.
18235 # save warnings/boilerplate of simple test code
18236 ac_outfile
=conftest.
$ac_objext
18237 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
18238 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18239 _lt_compiler_boilerplate
=`cat conftest.err`
18242 ac_outfile
=conftest.
$ac_objext
18243 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
18244 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18245 _lt_linker_boilerplate
=`cat conftest.err`
18249 # Allow CC to be a program name with arguments.
18254 for cc_temp
in $compiler""; do
18256 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
18257 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
18262 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18264 lt_cv_prog_compiler_c_o_RC
=yes
18266 # The else clause should only fire when bootstrapping the
18267 # libtool distribution, otherwise you forgot to ship ltmain.sh
18268 # with your package, and you will get complaints that there are
18269 # no rules to generate ltmain.sh.
18270 if test -f "$ltmain"; then
18271 # See if we are running on zsh, and set the options which allow our commands through
18272 # without removal of \ escapes.
18273 if test -n "${ZSH_VERSION+set}" ; then
18274 setopt NO_GLOB_SUBST
18276 # Now quote all the things that may contain metacharacters while being
18277 # careful not to overquote the AC_SUBSTed values. We take copies of the
18278 # variables and quote the copies for generation of the libtool script.
18279 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18281 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18282 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18283 deplibs_check_method reload_flag reload_cmds need_locks \
18284 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18285 lt_cv_sys_global_symbol_to_c_name_address \
18286 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18287 old_postinstall_cmds old_postuninstall_cmds \
18291 lt_prog_compiler_wl_RC \
18292 lt_prog_compiler_pic_RC \
18293 lt_prog_compiler_static_RC \
18294 lt_prog_compiler_no_builtin_flag_RC \
18295 export_dynamic_flag_spec_RC \
18296 thread_safe_flag_spec_RC \
18297 whole_archive_flag_spec_RC \
18298 enable_shared_with_static_runtimes_RC \
18299 old_archive_cmds_RC \
18300 old_archive_from_new_cmds_RC \
18301 predep_objects_RC \
18302 postdep_objects_RC \
18305 compiler_lib_search_path_RC \
18307 archive_expsym_cmds_RC \
18308 postinstall_cmds_RC \
18309 postuninstall_cmds_RC \
18310 old_archive_from_expsyms_cmds_RC \
18311 allow_undefined_flag_RC \
18312 no_undefined_flag_RC \
18313 export_symbols_cmds_RC \
18314 hardcode_libdir_flag_spec_RC \
18315 hardcode_libdir_flag_spec_ld_RC \
18316 hardcode_libdir_separator_RC \
18317 hardcode_automatic_RC \
18319 module_expsym_cmds_RC \
18320 lt_cv_prog_compiler_c_o_RC \
18321 exclude_expsyms_RC \
18322 include_expsyms_RC
; do
18325 old_archive_cmds_RC | \
18326 old_archive_from_new_cmds_RC | \
18327 archive_cmds_RC | \
18328 archive_expsym_cmds_RC | \
18330 module_expsym_cmds_RC | \
18331 old_archive_from_expsyms_cmds_RC | \
18332 export_symbols_cmds_RC | \
18333 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18334 postinstall_cmds | postuninstall_cmds | \
18335 old_postinstall_cmds | old_postuninstall_cmds | \
18336 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18337 # Double-quote double-evaled strings.
18338 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18341 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18347 *'\$0 --fallback-echo"')
18348 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18354 cat <<__EOF__ >> "$cfgfile"
18355 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18357 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18359 # Shell to use when invoking shell scripts.
18362 # Whether or not to build shared libraries.
18363 build_libtool_libs=$enable_shared
18365 # Whether or not to build static libraries.
18366 build_old_libs=$enable_static
18368 # Whether or not to add -lc for building shared libraries.
18369 build_libtool_need_lc=$archive_cmds_need_lc_RC
18371 # Whether or not to disallow shared libs when runtime libs are static
18372 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
18374 # Whether or not to optimize for fast installation.
18375 fast_install=$enable_fast_install
18378 host_alias=$host_alias
18382 # The build system.
18383 build_alias=$build_alias
18387 # An echo program that does not interpret backslashes.
18392 AR_FLAGS=$lt_AR_FLAGS
18397 # LTCC compiler flags.
18398 LTCFLAGS=$lt_LTCFLAGS
18400 # A language-specific compiler.
18403 # Is the compiler the GNU C compiler?
18406 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
18407 gcc_ver=\`gcc -dumpversion\`
18412 # The linker used to build libraries.
18415 # Whether we need hard or soft links.
18418 # A BSD-compatible nm program.
18421 # A symbol stripping program
18424 # Used to examine libraries when file_magic_cmd begins "file"
18425 MAGIC_CMD=$MAGIC_CMD
18427 # Used on cygwin: DLL creation program.
18430 # Used on cygwin: object dumper.
18433 # Used on cygwin: assembler.
18436 # The name of the directory that contains temporary libtool files.
18439 # How to create reloadable object files.
18440 reload_flag=$lt_reload_flag
18441 reload_cmds=$lt_reload_cmds
18443 # How to pass a linker flag through the compiler.
18444 wl=$lt_lt_prog_compiler_wl_RC
18446 # Object file suffix (normally "o").
18447 objext="$ac_objext"
18449 # Old archive suffix (normally "a").
18452 # Shared library suffix (normally ".so").
18453 shrext_cmds='$shrext_cmds'
18455 # Executable file suffix (normally "").
18458 # Additional compiler flags for building library objects.
18459 pic_flag=$lt_lt_prog_compiler_pic_RC
18462 # What is the maximum length of a command?
18463 max_cmd_len=$lt_cv_sys_max_cmd_len
18465 # Does compiler simultaneously support -c and -o options?
18466 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
18468 # Must we lock files when doing compilation?
18469 need_locks=$lt_need_locks
18471 # Do we need the lib prefix for modules?
18472 need_lib_prefix=$need_lib_prefix
18474 # Do we need a version for libraries?
18475 need_version=$need_version
18477 # Whether dlopen is supported.
18478 dlopen_support=$enable_dlopen
18480 # Whether dlopen of programs is supported.
18481 dlopen_self=$enable_dlopen_self
18483 # Whether dlopen of statically linked programs is supported.
18484 dlopen_self_static=$enable_dlopen_self_static
18486 # Compiler flag to prevent dynamic linking.
18487 link_static_flag=$lt_lt_prog_compiler_static_RC
18489 # Compiler flag to turn off builtin functions.
18490 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
18492 # Compiler flag to allow reflexive dlopens.
18493 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
18495 # Compiler flag to generate shared objects directly from archives.
18496 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
18498 # Compiler flag to generate thread-safe objects.
18499 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
18501 # Library versioning type.
18502 version_type=$version_type
18504 # Format of library name prefix.
18505 libname_spec=$lt_libname_spec
18507 # List of archive names. First name is the real one, the rest are links.
18508 # The last name is the one that the linker finds with -lNAME.
18509 library_names_spec=$lt_library_names_spec
18511 # The coded name of the library, if different from the real name.
18512 soname_spec=$lt_soname_spec
18514 # Commands used to build and install an old-style archive.
18516 old_archive_cmds=$lt_old_archive_cmds_RC
18517 old_postinstall_cmds=$lt_old_postinstall_cmds
18518 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18520 # Create an old-style archive from a shared archive.
18521 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
18523 # Create a temporary old-style archive to link instead of a shared archive.
18524 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
18526 # Commands used to build and install a shared archive.
18527 archive_cmds=$lt_archive_cmds_RC
18528 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
18529 postinstall_cmds=$lt_postinstall_cmds
18530 postuninstall_cmds=$lt_postuninstall_cmds
18532 # Commands used to build a loadable module (assumed same as above if empty)
18533 module_cmds=$lt_module_cmds_RC
18534 module_expsym_cmds=$lt_module_expsym_cmds_RC
18536 # Commands to strip libraries.
18537 old_striplib=$lt_old_striplib
18538 striplib=$lt_striplib
18540 # Dependencies to place before the objects being linked to create a
18542 predep_objects=\`echo $lt_predep_objects_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
18544 # Dependencies to place after the objects being linked to create a
18546 postdep_objects=\`echo $lt_postdep_objects_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
18548 # Dependencies to place before the objects being linked to create a
18550 predeps=$lt_predeps_RC
18552 # Dependencies to place after the objects being linked to create a
18554 postdeps=$lt_postdeps_RC
18556 # The library search path used internally by the compiler when linking
18557 # a shared library.
18558 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"\`
18560 # Method to check whether dependent libraries are shared objects.
18561 deplibs_check_method=$lt_deplibs_check_method
18563 # Command to use when deplibs_check_method == file_magic.
18564 file_magic_cmd=$lt_file_magic_cmd
18566 # Flag that allows shared libraries with undefined symbols to be built.
18567 allow_undefined_flag=$lt_allow_undefined_flag_RC
18569 # Flag that forces no undefined symbols.
18570 no_undefined_flag=$lt_no_undefined_flag_RC
18572 # Commands used to finish a libtool library installation in a directory.
18573 finish_cmds=$lt_finish_cmds
18575 # Same as above, but a single script fragment to be evaled but not shown.
18576 finish_eval=$lt_finish_eval
18578 # Take the output of nm and produce a listing of raw symbols and C names.
18579 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18581 # Transform the output of nm in a proper C declaration
18582 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18584 # Transform the output of nm in a C name address pair
18585 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18587 # This is the shared library runtime path variable.
18588 runpath_var=$runpath_var
18590 # This is the shared library path variable.
18591 shlibpath_var=$shlibpath_var
18593 # Is shlibpath searched before the hard-coded library search path?
18594 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18596 # How to hardcode a shared library path into an executable.
18597 hardcode_action=$hardcode_action_RC
18599 # Whether we should hardcode library paths into libraries.
18600 hardcode_into_libs=$hardcode_into_libs
18602 # Flag to hardcode \$libdir into a binary during linking.
18603 # This must work even if \$libdir does not exist.
18604 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
18606 # If ld is used when linking, flag to hardcode \$libdir into
18607 # a binary during linking. This must work even if \$libdir does
18609 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
18611 # Whether we need a single -rpath flag with a separated argument.
18612 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
18614 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18615 # resulting binary.
18616 hardcode_direct=$hardcode_direct_RC
18618 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18619 # resulting binary.
18620 hardcode_minus_L=$hardcode_minus_L_RC
18622 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18623 # the resulting binary.
18624 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
18626 # Set to yes if building a shared library automatically hardcodes DIR into the library
18627 # and all subsequent libraries and executables linked against it.
18628 hardcode_automatic=$hardcode_automatic_RC
18630 # Variables whose values should be saved in libtool wrapper scripts and
18631 # restored at relink time.
18632 variables_saved_for_relink="$variables_saved_for_relink"
18634 # Whether libtool must link a program against all its dependency libraries.
18635 link_all_deplibs=$link_all_deplibs_RC
18637 # Compile-time system search path for libraries
18638 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"\`
18640 # Run-time system search path for libraries
18641 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18643 # Fix the shell variable \$srcfile for the compiler.
18644 fix_srcfile_path="$fix_srcfile_path_RC"
18646 # Set to yes if exported symbols are required.
18647 always_export_symbols=$always_export_symbols_RC
18649 # The commands to list exported symbols.
18650 export_symbols_cmds=$lt_export_symbols_cmds_RC
18652 # The commands to extract the exported symbol list from a shared archive.
18653 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18655 # Symbols that should not be listed in the preloaded symbols.
18656 exclude_expsyms=$lt_exclude_expsyms_RC
18658 # Symbols that must always be exported.
18659 include_expsyms=$lt_include_expsyms_RC
18661 # ### END LIBTOOL TAG CONFIG: $tagname
18667 # If there is no Makefile yet, we rely on a make rule to execute
18668 # `config.status --recheck' to rerun these tests and create the
18669 # libtool script then.
18670 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18671 if test -f "$ltmain_in"; then
18672 test -f Makefile
&& make "$ltmain"
18678 ac_cpp
='$CPP $CPPFLAGS'
18679 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18680 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18681 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18688 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
18689 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
18690 { (exit 1); exit 1; }; }
18694 # Append the new tag name to the list of available tags.
18695 if test -n "$tagname" ; then
18696 available_tags
="$available_tags $tagname"
18702 # Now substitute the updated list of available tags.
18703 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
18704 mv "${ofile}T" "$ofile"
18708 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
18709 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
18710 { (exit 1); exit 1; }; }
18716 # This can be used to rebuild libtool when needed
18717 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
18719 # Always use our own libtool.
18720 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
18722 # Prevent multiple expansion
18744 if test "$GCC" = yes
18746 CFLAGS
="-Wall $CFLAGS"
18749 CFLAGS
="$CFLAGS -I$srcdir/.. -I.."
18752 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
18753 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
18754 if test "${ac_cv_header_stdc+set}" = set; then
18755 echo $ECHO_N "(cached) $ECHO_C" >&6
18757 cat >conftest.
$ac_ext <<_ACEOF
18760 cat confdefs.h
>>conftest.
$ac_ext
18761 cat >>conftest.
$ac_ext <<_ACEOF
18762 /* end confdefs.h. */
18763 #include <stdlib.h>
18764 #include <stdarg.h>
18765 #include <string.h>
18776 rm -f conftest.
$ac_objext
18777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18778 (eval $ac_compile) 2>conftest.er1
18780 grep -v '^ *+' conftest.er1
>conftest.err
18782 cat conftest.err
>&5
18783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18784 (exit $ac_status); } &&
18785 { ac_try
='test -z "$ac_c_werror_flag"
18786 || test ! -s conftest.err'
18787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18788 (eval $ac_try) 2>&5
18790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18791 (exit $ac_status); }; } &&
18792 { ac_try
='test -s conftest.$ac_objext'
18793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18794 (eval $ac_try) 2>&5
18796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18797 (exit $ac_status); }; }; then
18798 ac_cv_header_stdc
=yes
18800 echo "$as_me: failed program was:" >&5
18801 sed 's/^/| /' conftest.
$ac_ext >&5
18803 ac_cv_header_stdc
=no
18805 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18807 if test $ac_cv_header_stdc = yes; then
18808 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18809 cat >conftest.
$ac_ext <<_ACEOF
18812 cat confdefs.h
>>conftest.
$ac_ext
18813 cat >>conftest.
$ac_ext <<_ACEOF
18814 /* end confdefs.h. */
18815 #include <string.h>
18818 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18819 $EGREP "memchr" >/dev
/null
2>&1; then
18822 ac_cv_header_stdc
=no
18828 if test $ac_cv_header_stdc = yes; then
18829 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18830 cat >conftest.
$ac_ext <<_ACEOF
18833 cat confdefs.h
>>conftest.
$ac_ext
18834 cat >>conftest.
$ac_ext <<_ACEOF
18835 /* end confdefs.h. */
18836 #include <stdlib.h>
18839 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18840 $EGREP "free" >/dev
/null
2>&1; then
18843 ac_cv_header_stdc
=no
18849 if test $ac_cv_header_stdc = yes; then
18850 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18851 if test "$cross_compiling" = yes; then
18854 cat >conftest.
$ac_ext <<_ACEOF
18857 cat confdefs.h
>>conftest.
$ac_ext
18858 cat >>conftest.
$ac_ext <<_ACEOF
18859 /* end confdefs.h. */
18861 #if ((' ' & 0x0FF) == 0x020)
18862 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18863 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
18865 # define ISLOWER(c) \
18866 (('a' <= (c) && (c) <= 'i') \
18867 || ('j' <= (c) && (c) <= 'r') \
18868 || ('s' <= (c) && (c) <= 'z'))
18869 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18872 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18877 for (i = 0; i < 256; i++)
18878 if (XOR (islower (i), ISLOWER (i))
18879 || toupper (i) != TOUPPER (i))
18884 rm -f conftest
$ac_exeext
18885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18886 (eval $ac_link) 2>&5
18888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18889 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18891 (eval $ac_try) 2>&5
18893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18894 (exit $ac_status); }; }; then
18897 echo "$as_me: program exited with status $ac_status" >&5
18898 echo "$as_me: failed program was:" >&5
18899 sed 's/^/| /' conftest.
$ac_ext >&5
18901 ( exit $ac_status )
18902 ac_cv_header_stdc
=no
18904 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18908 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
18909 echo "${ECHO_T}$ac_cv_header_stdc" >&6
18910 if test $ac_cv_header_stdc = yes; then
18912 cat >>confdefs.h
<<\_ACEOF
18913 #define STDC_HEADERS 1
18920 for ac_header
in sys
/types.h
18922 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18923 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18924 echo "$as_me:$LINENO: checking for $ac_header" >&5
18925 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18926 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18927 echo $ECHO_N "(cached) $ECHO_C" >&6
18929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18930 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18932 # Is the header compilable?
18933 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18934 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18935 cat >conftest.
$ac_ext <<_ACEOF
18938 cat confdefs.h
>>conftest.
$ac_ext
18939 cat >>conftest.
$ac_ext <<_ACEOF
18940 /* end confdefs.h. */
18941 $ac_includes_default
18942 #include <$ac_header>
18944 rm -f conftest.
$ac_objext
18945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18946 (eval $ac_compile) 2>conftest.er1
18948 grep -v '^ *+' conftest.er1
>conftest.err
18950 cat conftest.err
>&5
18951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18952 (exit $ac_status); } &&
18953 { ac_try
='test -z "$ac_c_werror_flag"
18954 || test ! -s conftest.err'
18955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18956 (eval $ac_try) 2>&5
18958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18959 (exit $ac_status); }; } &&
18960 { ac_try
='test -s conftest.$ac_objext'
18961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18962 (eval $ac_try) 2>&5
18964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18965 (exit $ac_status); }; }; then
18966 ac_header_compiler
=yes
18968 echo "$as_me: failed program was:" >&5
18969 sed 's/^/| /' conftest.
$ac_ext >&5
18971 ac_header_compiler
=no
18973 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18974 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18975 echo "${ECHO_T}$ac_header_compiler" >&6
18977 # Is the header present?
18978 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18979 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18980 cat >conftest.
$ac_ext <<_ACEOF
18983 cat confdefs.h
>>conftest.
$ac_ext
18984 cat >>conftest.
$ac_ext <<_ACEOF
18985 /* end confdefs.h. */
18986 #include <$ac_header>
18988 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18989 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18991 grep -v '^ *+' conftest.er1
>conftest.err
18993 cat conftest.err
>&5
18994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18995 (exit $ac_status); } >/dev
/null
; then
18996 if test -s conftest.err
; then
18997 ac_cpp_err
=$ac_c_preproc_warn_flag
18998 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19005 if test -z "$ac_cpp_err"; then
19006 ac_header_preproc
=yes
19008 echo "$as_me: failed program was:" >&5
19009 sed 's/^/| /' conftest.
$ac_ext >&5
19011 ac_header_preproc
=no
19013 rm -f conftest.err conftest.
$ac_ext
19014 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19015 echo "${ECHO_T}$ac_header_preproc" >&6
19017 # So? What about this header?
19018 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19020 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19021 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19022 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19023 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19024 ac_header_preproc
=yes
19027 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19028 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19029 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19030 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19031 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19032 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19033 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19034 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19035 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19036 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19037 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19038 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19041 ## -------------------------------------------------- ##
19042 ## Report this to courier-users@lists.sourceforge.net ##
19043 ## -------------------------------------------------- ##
19046 sed "s/^/$as_me: WARNING: /" >&2
19049 echo "$as_me:$LINENO: checking for $ac_header" >&5
19050 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19051 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19052 echo $ECHO_N "(cached) $ECHO_C" >&6
19054 eval "$as_ac_Header=\$ac_header_preproc"
19056 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19057 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19060 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19061 cat >>confdefs.h
<<_ACEOF
19062 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19072 # Check whether --with-int32 or --without-int32 was given.
19073 if test "${with_int32+set}" = set; then
19074 withval
="$with_int32"
19079 echo "$as_me:$LINENO: checking for uint32_t" >&5
19080 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
19082 cat >conftest.
$ac_ext <<_ACEOF
19085 cat confdefs.h
>>conftest.
$ac_ext
19086 cat >>conftest.
$ac_ext <<_ACEOF
19087 /* end confdefs.h. */
19089 #if HAVE_SYS_TYPES_H
19090 #include <sys/types.h>
19103 rm -f conftest.
$ac_objext
19104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19105 (eval $ac_compile) 2>conftest.er1
19107 grep -v '^ *+' conftest.er1
>conftest.err
19109 cat conftest.err
>&5
19110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19111 (exit $ac_status); } &&
19112 { ac_try
='test -z "$ac_c_werror_flag"
19113 || test ! -s conftest.err'
19114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19115 (eval $ac_try) 2>&5
19117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19118 (exit $ac_status); }; } &&
19119 { ac_try
='test -s conftest.$ac_objext'
19120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19121 (eval $ac_try) 2>&5
19123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19124 (exit $ac_status); }; }; then
19125 echo "$as_me:$LINENO: result: yes" >&5
19126 echo "${ECHO_T}yes" >&6 ; int32
="uint32_t"
19128 echo "$as_me: failed program was:" >&5
19129 sed 's/^/| /' conftest.
$ac_ext >&5
19133 echo "$as_me:$LINENO: result: no" >&5
19134 echo "${ECHO_T}no" >&6
19135 echo "$as_me:$LINENO: checking for u_int_32_t" >&5
19136 echo $ECHO_N "checking for u_int_32_t... $ECHO_C" >&6
19138 cat >conftest.
$ac_ext <<_ACEOF
19141 cat confdefs.h
>>conftest.
$ac_ext
19142 cat >>conftest.
$ac_ext <<_ACEOF
19143 /* end confdefs.h. */
19145 #if HAVE_SYS_TYPES_H
19146 #include <sys/types.h>
19159 rm -f conftest.
$ac_objext
19160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19161 (eval $ac_compile) 2>conftest.er1
19163 grep -v '^ *+' conftest.er1
>conftest.err
19165 cat conftest.err
>&5
19166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19167 (exit $ac_status); } &&
19168 { ac_try
='test -z "$ac_c_werror_flag"
19169 || test ! -s conftest.err'
19170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19171 (eval $ac_try) 2>&5
19173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19174 (exit $ac_status); }; } &&
19175 { ac_try
='test -s conftest.$ac_objext'
19176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19177 (eval $ac_try) 2>&5
19179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19180 (exit $ac_status); }; }; then
19181 echo "$as_me:$LINENO: result: yes" >&5
19182 echo "${ECHO_T}yes" >&6; int32
="u_int32_t"
19184 echo "$as_me: failed program was:" >&5
19185 sed 's/^/| /' conftest.
$ac_ext >&5
19189 echo "$as_me:$LINENO: result: no" >&5
19190 echo "${ECHO_T}no" >&6
19192 echo "$as_me:$LINENO: checking for unsigned" >&5
19193 echo $ECHO_N "checking for unsigned... $ECHO_C" >&6
19194 if test "${ac_cv_type_unsigned+set}" = set; then
19195 echo $ECHO_N "(cached) $ECHO_C" >&6
19197 cat >conftest.
$ac_ext <<_ACEOF
19200 cat confdefs.h
>>conftest.
$ac_ext
19201 cat >>conftest.
$ac_ext <<_ACEOF
19202 /* end confdefs.h. */
19203 $ac_includes_default
19207 if ((unsigned *) 0)
19209 if (sizeof (unsigned))
19215 rm -f conftest.
$ac_objext
19216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19217 (eval $ac_compile) 2>conftest.er1
19219 grep -v '^ *+' conftest.er1
>conftest.err
19221 cat conftest.err
>&5
19222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19223 (exit $ac_status); } &&
19224 { ac_try
='test -z "$ac_c_werror_flag"
19225 || test ! -s conftest.err'
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); }; } &&
19231 { ac_try
='test -s conftest.$ac_objext'
19232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19233 (eval $ac_try) 2>&5
19235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19236 (exit $ac_status); }; }; then
19237 ac_cv_type_unsigned
=yes
19239 echo "$as_me: failed program was:" >&5
19240 sed 's/^/| /' conftest.
$ac_ext >&5
19242 ac_cv_type_unsigned
=no
19244 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19246 echo "$as_me:$LINENO: result: $ac_cv_type_unsigned" >&5
19247 echo "${ECHO_T}$ac_cv_type_unsigned" >&6
19249 echo "$as_me:$LINENO: checking size of unsigned" >&5
19250 echo $ECHO_N "checking size of unsigned... $ECHO_C" >&6
19251 if test "${ac_cv_sizeof_unsigned+set}" = set; then
19252 echo $ECHO_N "(cached) $ECHO_C" >&6
19254 if test "$ac_cv_type_unsigned" = yes; then
19255 # The cast to unsigned long works around a bug in the HP C Compiler
19256 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19257 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19258 # This bug is HP SR number 8606223364.
19259 if test "$cross_compiling" = yes; then
19260 # Depending upon the size, compute the lo and hi bounds.
19261 cat >conftest.
$ac_ext <<_ACEOF
19264 cat confdefs.h
>>conftest.
$ac_ext
19265 cat >>conftest.
$ac_ext <<_ACEOF
19266 /* end confdefs.h. */
19267 $ac_includes_default
19271 static int test_array [1 - 2 * !(((long) (sizeof (unsigned))) >= 0)];
19278 rm -f conftest.
$ac_objext
19279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19280 (eval $ac_compile) 2>conftest.er1
19282 grep -v '^ *+' conftest.er1
>conftest.err
19284 cat conftest.err
>&5
19285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19286 (exit $ac_status); } &&
19287 { ac_try
='test -z "$ac_c_werror_flag"
19288 || test ! -s conftest.err'
19289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19290 (eval $ac_try) 2>&5
19292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19293 (exit $ac_status); }; } &&
19294 { ac_try
='test -s conftest.$ac_objext'
19295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19296 (eval $ac_try) 2>&5
19298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19299 (exit $ac_status); }; }; then
19302 cat >conftest.
$ac_ext <<_ACEOF
19305 cat confdefs.h
>>conftest.
$ac_ext
19306 cat >>conftest.
$ac_ext <<_ACEOF
19307 /* end confdefs.h. */
19308 $ac_includes_default
19312 static int test_array [1 - 2 * !(((long) (sizeof (unsigned))) <= $ac_mid)];
19319 rm -f conftest.
$ac_objext
19320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19321 (eval $ac_compile) 2>conftest.er1
19323 grep -v '^ *+' conftest.er1
>conftest.err
19325 cat conftest.err
>&5
19326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19327 (exit $ac_status); } &&
19328 { ac_try
='test -z "$ac_c_werror_flag"
19329 || test ! -s conftest.err'
19330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19331 (eval $ac_try) 2>&5
19333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19334 (exit $ac_status); }; } &&
19335 { ac_try
='test -s conftest.$ac_objext'
19336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19337 (eval $ac_try) 2>&5
19339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19340 (exit $ac_status); }; }; then
19341 ac_hi
=$ac_mid; break
19343 echo "$as_me: failed program was:" >&5
19344 sed 's/^/| /' conftest.
$ac_ext >&5
19346 ac_lo
=`expr $ac_mid + 1`
19347 if test $ac_lo -le $ac_mid; then
19351 ac_mid
=`expr 2 '*' $ac_mid + 1`
19353 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19356 echo "$as_me: failed program was:" >&5
19357 sed 's/^/| /' conftest.
$ac_ext >&5
19359 cat >conftest.
$ac_ext <<_ACEOF
19362 cat confdefs.h
>>conftest.
$ac_ext
19363 cat >>conftest.
$ac_ext <<_ACEOF
19364 /* end confdefs.h. */
19365 $ac_includes_default
19369 static int test_array [1 - 2 * !(((long) (sizeof (unsigned))) < 0)];
19376 rm -f conftest.
$ac_objext
19377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19378 (eval $ac_compile) 2>conftest.er1
19380 grep -v '^ *+' conftest.er1
>conftest.err
19382 cat conftest.err
>&5
19383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19384 (exit $ac_status); } &&
19385 { ac_try
='test -z "$ac_c_werror_flag"
19386 || test ! -s conftest.err'
19387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19388 (eval $ac_try) 2>&5
19390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19391 (exit $ac_status); }; } &&
19392 { ac_try
='test -s conftest.$ac_objext'
19393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19394 (eval $ac_try) 2>&5
19396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19397 (exit $ac_status); }; }; then
19400 cat >conftest.
$ac_ext <<_ACEOF
19403 cat confdefs.h
>>conftest.
$ac_ext
19404 cat >>conftest.
$ac_ext <<_ACEOF
19405 /* end confdefs.h. */
19406 $ac_includes_default
19410 static int test_array [1 - 2 * !(((long) (sizeof (unsigned))) >= $ac_mid)];
19417 rm -f conftest.
$ac_objext
19418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19419 (eval $ac_compile) 2>conftest.er1
19421 grep -v '^ *+' conftest.er1
>conftest.err
19423 cat conftest.err
>&5
19424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19425 (exit $ac_status); } &&
19426 { ac_try
='test -z "$ac_c_werror_flag"
19427 || test ! -s conftest.err'
19428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19429 (eval $ac_try) 2>&5
19431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19432 (exit $ac_status); }; } &&
19433 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
19439 ac_lo
=$ac_mid; break
19441 echo "$as_me: failed program was:" >&5
19442 sed 's/^/| /' conftest.
$ac_ext >&5
19444 ac_hi
=`expr '(' $ac_mid ')' - 1`
19445 if test $ac_mid -le $ac_hi; then
19449 ac_mid
=`expr 2 '*' $ac_mid`
19451 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19454 echo "$as_me: failed program was:" >&5
19455 sed 's/^/| /' conftest.
$ac_ext >&5
19459 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19461 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19462 # Binary search between lo and hi bounds.
19463 while test "x$ac_lo" != "x$ac_hi"; do
19464 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19465 cat >conftest.
$ac_ext <<_ACEOF
19468 cat confdefs.h
>>conftest.
$ac_ext
19469 cat >>conftest.
$ac_ext <<_ACEOF
19470 /* end confdefs.h. */
19471 $ac_includes_default
19475 static int test_array [1 - 2 * !(((long) (sizeof (unsigned))) <= $ac_mid)];
19482 rm -f conftest.
$ac_objext
19483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19484 (eval $ac_compile) 2>conftest.er1
19486 grep -v '^ *+' conftest.er1
>conftest.err
19488 cat conftest.err
>&5
19489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19490 (exit $ac_status); } &&
19491 { ac_try
='test -z "$ac_c_werror_flag"
19492 || test ! -s conftest.err'
19493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19494 (eval $ac_try) 2>&5
19496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19497 (exit $ac_status); }; } &&
19498 { ac_try
='test -s conftest.$ac_objext'
19499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19500 (eval $ac_try) 2>&5
19502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19503 (exit $ac_status); }; }; then
19506 echo "$as_me: failed program was:" >&5
19507 sed 's/^/| /' conftest.
$ac_ext >&5
19509 ac_lo
=`expr '(' $ac_mid ')' + 1`
19511 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19514 ?
*) ac_cv_sizeof_unsigned
=$ac_lo;;
19515 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned), 77
19516 See \`config.log' for more details." >&5
19517 echo "$as_me: error: cannot compute sizeof (unsigned), 77
19518 See \`config.log' for more details." >&2;}
19519 { (exit 1); exit 1; }; } ;;
19522 if test "$cross_compiling" = yes; then
19523 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19524 See \`config.log' for more details." >&5
19525 echo "$as_me: error: cannot run test program while cross compiling
19526 See \`config.log' for more details." >&2;}
19527 { (exit 1); exit 1; }; }
19529 cat >conftest.
$ac_ext <<_ACEOF
19532 cat confdefs.h
>>conftest.
$ac_ext
19533 cat >>conftest.
$ac_ext <<_ACEOF
19534 /* end confdefs.h. */
19535 $ac_includes_default
19536 long longval () { return (long) (sizeof (unsigned)); }
19537 unsigned long ulongval () { return (long) (sizeof (unsigned)); }
19539 #include <stdlib.h>
19544 FILE *f = fopen ("conftest.val", "w");
19547 if (((long) (sizeof (unsigned))) < 0)
19549 long i = longval ();
19550 if (i != ((long) (sizeof (unsigned))))
19552 fprintf (f, "%ld\n", i);
19556 unsigned long i = ulongval ();
19557 if (i != ((long) (sizeof (unsigned))))
19559 fprintf (f, "%lu\n", i);
19561 exit (ferror (f) || fclose (f) != 0);
19567 rm -f conftest
$ac_exeext
19568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19569 (eval $ac_link) 2>&5
19571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19572 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19574 (eval $ac_try) 2>&5
19576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19577 (exit $ac_status); }; }; then
19578 ac_cv_sizeof_unsigned
=`cat conftest.val`
19580 echo "$as_me: program exited with status $ac_status" >&5
19581 echo "$as_me: failed program was:" >&5
19582 sed 's/^/| /' conftest.
$ac_ext >&5
19584 ( exit $ac_status )
19585 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned), 77
19586 See \`config.log' for more details." >&5
19587 echo "$as_me: error: cannot compute sizeof (unsigned), 77
19588 See \`config.log' for more details." >&2;}
19589 { (exit 1); exit 1; }; }
19591 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19596 ac_cv_sizeof_unsigned
=0
19599 echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned" >&5
19600 echo "${ECHO_T}$ac_cv_sizeof_unsigned" >&6
19601 cat >>confdefs.h
<<_ACEOF
19602 #define SIZEOF_UNSIGNED $ac_cv_sizeof_unsigned
19606 if test "$ac_cv_sizeof_unsigned" != 4
19608 echo "$as_me:$LINENO: checking for unsigned long" >&5
19609 echo $ECHO_N "checking for unsigned long... $ECHO_C" >&6
19610 if test "${ac_cv_type_unsigned_long+set}" = set; then
19611 echo $ECHO_N "(cached) $ECHO_C" >&6
19613 cat >conftest.
$ac_ext <<_ACEOF
19616 cat confdefs.h
>>conftest.
$ac_ext
19617 cat >>conftest.
$ac_ext <<_ACEOF
19618 /* end confdefs.h. */
19619 $ac_includes_default
19623 if ((unsigned long *) 0)
19625 if (sizeof (unsigned long))
19631 rm -f conftest.
$ac_objext
19632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19633 (eval $ac_compile) 2>conftest.er1
19635 grep -v '^ *+' conftest.er1
>conftest.err
19637 cat conftest.err
>&5
19638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19639 (exit $ac_status); } &&
19640 { ac_try
='test -z "$ac_c_werror_flag"
19641 || test ! -s conftest.err'
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); }; } &&
19647 { ac_try
='test -s conftest.$ac_objext'
19648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19649 (eval $ac_try) 2>&5
19651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19652 (exit $ac_status); }; }; then
19653 ac_cv_type_unsigned_long
=yes
19655 echo "$as_me: failed program was:" >&5
19656 sed 's/^/| /' conftest.
$ac_ext >&5
19658 ac_cv_type_unsigned_long
=no
19660 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19662 echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long" >&5
19663 echo "${ECHO_T}$ac_cv_type_unsigned_long" >&6
19665 echo "$as_me:$LINENO: checking size of unsigned long" >&5
19666 echo $ECHO_N "checking size of unsigned long... $ECHO_C" >&6
19667 if test "${ac_cv_sizeof_unsigned_long+set}" = set; then
19668 echo $ECHO_N "(cached) $ECHO_C" >&6
19670 if test "$ac_cv_type_unsigned_long" = yes; then
19671 # The cast to unsigned long works around a bug in the HP C Compiler
19672 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19673 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19674 # This bug is HP SR number 8606223364.
19675 if test "$cross_compiling" = yes; then
19676 # Depending upon the size, compute the lo and hi bounds.
19677 cat >conftest.
$ac_ext <<_ACEOF
19680 cat confdefs.h
>>conftest.
$ac_ext
19681 cat >>conftest.
$ac_ext <<_ACEOF
19682 /* end confdefs.h. */
19683 $ac_includes_default
19687 static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) >= 0)];
19694 rm -f conftest.
$ac_objext
19695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19696 (eval $ac_compile) 2>conftest.er1
19698 grep -v '^ *+' conftest.er1
>conftest.err
19700 cat conftest.err
>&5
19701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19702 (exit $ac_status); } &&
19703 { ac_try
='test -z "$ac_c_werror_flag"
19704 || test ! -s conftest.err'
19705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19706 (eval $ac_try) 2>&5
19708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19709 (exit $ac_status); }; } &&
19710 { ac_try
='test -s conftest.$ac_objext'
19711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19712 (eval $ac_try) 2>&5
19714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19715 (exit $ac_status); }; }; then
19718 cat >conftest.
$ac_ext <<_ACEOF
19721 cat confdefs.h
>>conftest.
$ac_ext
19722 cat >>conftest.
$ac_ext <<_ACEOF
19723 /* end confdefs.h. */
19724 $ac_includes_default
19728 static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) <= $ac_mid)];
19735 rm -f conftest.
$ac_objext
19736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19737 (eval $ac_compile) 2>conftest.er1
19739 grep -v '^ *+' conftest.er1
>conftest.err
19741 cat conftest.err
>&5
19742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19743 (exit $ac_status); } &&
19744 { ac_try
='test -z "$ac_c_werror_flag"
19745 || test ! -s conftest.err'
19746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19747 (eval $ac_try) 2>&5
19749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19750 (exit $ac_status); }; } &&
19751 { ac_try
='test -s conftest.$ac_objext'
19752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19753 (eval $ac_try) 2>&5
19755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19756 (exit $ac_status); }; }; then
19757 ac_hi
=$ac_mid; break
19759 echo "$as_me: failed program was:" >&5
19760 sed 's/^/| /' conftest.
$ac_ext >&5
19762 ac_lo
=`expr $ac_mid + 1`
19763 if test $ac_lo -le $ac_mid; then
19767 ac_mid
=`expr 2 '*' $ac_mid + 1`
19769 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19772 echo "$as_me: failed program was:" >&5
19773 sed 's/^/| /' conftest.
$ac_ext >&5
19775 cat >conftest.
$ac_ext <<_ACEOF
19778 cat confdefs.h
>>conftest.
$ac_ext
19779 cat >>conftest.
$ac_ext <<_ACEOF
19780 /* end confdefs.h. */
19781 $ac_includes_default
19785 static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) < 0)];
19792 rm -f conftest.
$ac_objext
19793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19794 (eval $ac_compile) 2>conftest.er1
19796 grep -v '^ *+' conftest.er1
>conftest.err
19798 cat conftest.err
>&5
19799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19800 (exit $ac_status); } &&
19801 { ac_try
='test -z "$ac_c_werror_flag"
19802 || test ! -s conftest.err'
19803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19804 (eval $ac_try) 2>&5
19806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19807 (exit $ac_status); }; } &&
19808 { ac_try
='test -s conftest.$ac_objext'
19809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19810 (eval $ac_try) 2>&5
19812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19813 (exit $ac_status); }; }; then
19816 cat >conftest.
$ac_ext <<_ACEOF
19819 cat confdefs.h
>>conftest.
$ac_ext
19820 cat >>conftest.
$ac_ext <<_ACEOF
19821 /* end confdefs.h. */
19822 $ac_includes_default
19826 static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) >= $ac_mid)];
19833 rm -f conftest.
$ac_objext
19834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19835 (eval $ac_compile) 2>conftest.er1
19837 grep -v '^ *+' conftest.er1
>conftest.err
19839 cat conftest.err
>&5
19840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19841 (exit $ac_status); } &&
19842 { ac_try
='test -z "$ac_c_werror_flag"
19843 || test ! -s conftest.err'
19844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19845 (eval $ac_try) 2>&5
19847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19848 (exit $ac_status); }; } &&
19849 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
19855 ac_lo
=$ac_mid; break
19857 echo "$as_me: failed program was:" >&5
19858 sed 's/^/| /' conftest.
$ac_ext >&5
19860 ac_hi
=`expr '(' $ac_mid ')' - 1`
19861 if test $ac_mid -le $ac_hi; then
19865 ac_mid
=`expr 2 '*' $ac_mid`
19867 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19870 echo "$as_me: failed program was:" >&5
19871 sed 's/^/| /' conftest.
$ac_ext >&5
19875 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19877 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19878 # Binary search between lo and hi bounds.
19879 while test "x$ac_lo" != "x$ac_hi"; do
19880 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19881 cat >conftest.
$ac_ext <<_ACEOF
19884 cat confdefs.h
>>conftest.
$ac_ext
19885 cat >>conftest.
$ac_ext <<_ACEOF
19886 /* end confdefs.h. */
19887 $ac_includes_default
19891 static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) <= $ac_mid)];
19898 rm -f conftest.
$ac_objext
19899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19900 (eval $ac_compile) 2>conftest.er1
19902 grep -v '^ *+' conftest.er1
>conftest.err
19904 cat conftest.err
>&5
19905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19906 (exit $ac_status); } &&
19907 { ac_try
='test -z "$ac_c_werror_flag"
19908 || test ! -s conftest.err'
19909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19910 (eval $ac_try) 2>&5
19912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19913 (exit $ac_status); }; } &&
19914 { ac_try
='test -s conftest.$ac_objext'
19915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19916 (eval $ac_try) 2>&5
19918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19919 (exit $ac_status); }; }; then
19922 echo "$as_me: failed program was:" >&5
19923 sed 's/^/| /' conftest.
$ac_ext >&5
19925 ac_lo
=`expr '(' $ac_mid ')' + 1`
19927 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19930 ?
*) ac_cv_sizeof_unsigned_long
=$ac_lo;;
19931 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long), 77
19932 See \`config.log' for more details." >&5
19933 echo "$as_me: error: cannot compute sizeof (unsigned long), 77
19934 See \`config.log' for more details." >&2;}
19935 { (exit 1); exit 1; }; } ;;
19938 if test "$cross_compiling" = yes; then
19939 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19940 See \`config.log' for more details." >&5
19941 echo "$as_me: error: cannot run test program while cross compiling
19942 See \`config.log' for more details." >&2;}
19943 { (exit 1); exit 1; }; }
19945 cat >conftest.
$ac_ext <<_ACEOF
19948 cat confdefs.h
>>conftest.
$ac_ext
19949 cat >>conftest.
$ac_ext <<_ACEOF
19950 /* end confdefs.h. */
19951 $ac_includes_default
19952 long longval () { return (long) (sizeof (unsigned long)); }
19953 unsigned long ulongval () { return (long) (sizeof (unsigned long)); }
19955 #include <stdlib.h>
19960 FILE *f = fopen ("conftest.val", "w");
19963 if (((long) (sizeof (unsigned long))) < 0)
19965 long i = longval ();
19966 if (i != ((long) (sizeof (unsigned long))))
19968 fprintf (f, "%ld\n", i);
19972 unsigned long i = ulongval ();
19973 if (i != ((long) (sizeof (unsigned long))))
19975 fprintf (f, "%lu\n", i);
19977 exit (ferror (f) || fclose (f) != 0);
19983 rm -f conftest
$ac_exeext
19984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19985 (eval $ac_link) 2>&5
19987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19988 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19990 (eval $ac_try) 2>&5
19992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19993 (exit $ac_status); }; }; then
19994 ac_cv_sizeof_unsigned_long
=`cat conftest.val`
19996 echo "$as_me: program exited with status $ac_status" >&5
19997 echo "$as_me: failed program was:" >&5
19998 sed 's/^/| /' conftest.
$ac_ext >&5
20000 ( exit $ac_status )
20001 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long), 77
20002 See \`config.log' for more details." >&5
20003 echo "$as_me: error: cannot compute sizeof (unsigned long), 77
20004 See \`config.log' for more details." >&2;}
20005 { (exit 1); exit 1; }; }
20007 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20012 ac_cv_sizeof_unsigned_long
=0
20015 echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long" >&5
20016 echo "${ECHO_T}$ac_cv_sizeof_unsigned_long" >&6
20017 cat >>confdefs.h
<<_ACEOF
20018 #define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
20022 if test "$ac_cv_sizeof_unsigned_long" != 4
20024 echo "$as_me:$LINENO: checking for unsigned short" >&5
20025 echo $ECHO_N "checking for unsigned short... $ECHO_C" >&6
20026 if test "${ac_cv_type_unsigned_short+set}" = set; then
20027 echo $ECHO_N "(cached) $ECHO_C" >&6
20029 cat >conftest.
$ac_ext <<_ACEOF
20032 cat confdefs.h
>>conftest.
$ac_ext
20033 cat >>conftest.
$ac_ext <<_ACEOF
20034 /* end confdefs.h. */
20035 $ac_includes_default
20039 if ((unsigned short *) 0)
20041 if (sizeof (unsigned short))
20047 rm -f conftest.
$ac_objext
20048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20049 (eval $ac_compile) 2>conftest.er1
20051 grep -v '^ *+' conftest.er1
>conftest.err
20053 cat conftest.err
>&5
20054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20055 (exit $ac_status); } &&
20056 { ac_try
='test -z "$ac_c_werror_flag"
20057 || test ! -s conftest.err'
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); }; } &&
20063 { ac_try
='test -s conftest.$ac_objext'
20064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20065 (eval $ac_try) 2>&5
20067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20068 (exit $ac_status); }; }; then
20069 ac_cv_type_unsigned_short
=yes
20071 echo "$as_me: failed program was:" >&5
20072 sed 's/^/| /' conftest.
$ac_ext >&5
20074 ac_cv_type_unsigned_short
=no
20076 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20078 echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_short" >&5
20079 echo "${ECHO_T}$ac_cv_type_unsigned_short" >&6
20081 echo "$as_me:$LINENO: checking size of unsigned short" >&5
20082 echo $ECHO_N "checking size of unsigned short... $ECHO_C" >&6
20083 if test "${ac_cv_sizeof_unsigned_short+set}" = set; then
20084 echo $ECHO_N "(cached) $ECHO_C" >&6
20086 if test "$ac_cv_type_unsigned_short" = yes; then
20087 # The cast to unsigned long works around a bug in the HP C Compiler
20088 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20089 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20090 # This bug is HP SR number 8606223364.
20091 if test "$cross_compiling" = yes; then
20092 # Depending upon the size, compute the lo and hi bounds.
20093 cat >conftest.
$ac_ext <<_ACEOF
20096 cat confdefs.h
>>conftest.
$ac_ext
20097 cat >>conftest.
$ac_ext <<_ACEOF
20098 /* end confdefs.h. */
20099 $ac_includes_default
20103 static int test_array [1 - 2 * !(((long) (sizeof (unsigned short))) >= 0)];
20110 rm -f conftest.
$ac_objext
20111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20112 (eval $ac_compile) 2>conftest.er1
20114 grep -v '^ *+' conftest.er1
>conftest.err
20116 cat conftest.err
>&5
20117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20118 (exit $ac_status); } &&
20119 { ac_try
='test -z "$ac_c_werror_flag"
20120 || test ! -s conftest.err'
20121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20122 (eval $ac_try) 2>&5
20124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20125 (exit $ac_status); }; } &&
20126 { ac_try
='test -s conftest.$ac_objext'
20127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20128 (eval $ac_try) 2>&5
20130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20131 (exit $ac_status); }; }; then
20134 cat >conftest.
$ac_ext <<_ACEOF
20137 cat confdefs.h
>>conftest.
$ac_ext
20138 cat >>conftest.
$ac_ext <<_ACEOF
20139 /* end confdefs.h. */
20140 $ac_includes_default
20144 static int test_array [1 - 2 * !(((long) (sizeof (unsigned short))) <= $ac_mid)];
20151 rm -f conftest.
$ac_objext
20152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20153 (eval $ac_compile) 2>conftest.er1
20155 grep -v '^ *+' conftest.er1
>conftest.err
20157 cat conftest.err
>&5
20158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20159 (exit $ac_status); } &&
20160 { ac_try
='test -z "$ac_c_werror_flag"
20161 || test ! -s conftest.err'
20162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20163 (eval $ac_try) 2>&5
20165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20166 (exit $ac_status); }; } &&
20167 { ac_try
='test -s conftest.$ac_objext'
20168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20169 (eval $ac_try) 2>&5
20171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20172 (exit $ac_status); }; }; then
20173 ac_hi
=$ac_mid; break
20175 echo "$as_me: failed program was:" >&5
20176 sed 's/^/| /' conftest.
$ac_ext >&5
20178 ac_lo
=`expr $ac_mid + 1`
20179 if test $ac_lo -le $ac_mid; then
20183 ac_mid
=`expr 2 '*' $ac_mid + 1`
20185 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20188 echo "$as_me: failed program was:" >&5
20189 sed 's/^/| /' conftest.
$ac_ext >&5
20191 cat >conftest.
$ac_ext <<_ACEOF
20194 cat confdefs.h
>>conftest.
$ac_ext
20195 cat >>conftest.
$ac_ext <<_ACEOF
20196 /* end confdefs.h. */
20197 $ac_includes_default
20201 static int test_array [1 - 2 * !(((long) (sizeof (unsigned short))) < 0)];
20208 rm -f conftest.
$ac_objext
20209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20210 (eval $ac_compile) 2>conftest.er1
20212 grep -v '^ *+' conftest.er1
>conftest.err
20214 cat conftest.err
>&5
20215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20216 (exit $ac_status); } &&
20217 { ac_try
='test -z "$ac_c_werror_flag"
20218 || test ! -s conftest.err'
20219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20220 (eval $ac_try) 2>&5
20222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20223 (exit $ac_status); }; } &&
20224 { ac_try
='test -s conftest.$ac_objext'
20225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20226 (eval $ac_try) 2>&5
20228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20229 (exit $ac_status); }; }; then
20232 cat >conftest.
$ac_ext <<_ACEOF
20235 cat confdefs.h
>>conftest.
$ac_ext
20236 cat >>conftest.
$ac_ext <<_ACEOF
20237 /* end confdefs.h. */
20238 $ac_includes_default
20242 static int test_array [1 - 2 * !(((long) (sizeof (unsigned short))) >= $ac_mid)];
20249 rm -f conftest.
$ac_objext
20250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20251 (eval $ac_compile) 2>conftest.er1
20253 grep -v '^ *+' conftest.er1
>conftest.err
20255 cat conftest.err
>&5
20256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20257 (exit $ac_status); } &&
20258 { ac_try
='test -z "$ac_c_werror_flag"
20259 || test ! -s conftest.err'
20260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20261 (eval $ac_try) 2>&5
20263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20264 (exit $ac_status); }; } &&
20265 { ac_try
='test -s conftest.$ac_objext'
20266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20267 (eval $ac_try) 2>&5
20269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20270 (exit $ac_status); }; }; then
20271 ac_lo
=$ac_mid; break
20273 echo "$as_me: failed program was:" >&5
20274 sed 's/^/| /' conftest.
$ac_ext >&5
20276 ac_hi
=`expr '(' $ac_mid ')' - 1`
20277 if test $ac_mid -le $ac_hi; then
20281 ac_mid
=`expr 2 '*' $ac_mid`
20283 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20286 echo "$as_me: failed program was:" >&5
20287 sed 's/^/| /' conftest.
$ac_ext >&5
20291 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20293 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20294 # Binary search between lo and hi bounds.
20295 while test "x$ac_lo" != "x$ac_hi"; do
20296 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20297 cat >conftest.
$ac_ext <<_ACEOF
20300 cat confdefs.h
>>conftest.
$ac_ext
20301 cat >>conftest.
$ac_ext <<_ACEOF
20302 /* end confdefs.h. */
20303 $ac_includes_default
20307 static int test_array [1 - 2 * !(((long) (sizeof (unsigned short))) <= $ac_mid)];
20314 rm -f conftest.
$ac_objext
20315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20316 (eval $ac_compile) 2>conftest.er1
20318 grep -v '^ *+' conftest.er1
>conftest.err
20320 cat conftest.err
>&5
20321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20322 (exit $ac_status); } &&
20323 { ac_try
='test -z "$ac_c_werror_flag"
20324 || test ! -s conftest.err'
20325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20326 (eval $ac_try) 2>&5
20328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20329 (exit $ac_status); }; } &&
20330 { ac_try
='test -s conftest.$ac_objext'
20331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20332 (eval $ac_try) 2>&5
20334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20335 (exit $ac_status); }; }; then
20338 echo "$as_me: failed program was:" >&5
20339 sed 's/^/| /' conftest.
$ac_ext >&5
20341 ac_lo
=`expr '(' $ac_mid ')' + 1`
20343 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20346 ?
*) ac_cv_sizeof_unsigned_short
=$ac_lo;;
20347 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned short), 77
20348 See \`config.log' for more details." >&5
20349 echo "$as_me: error: cannot compute sizeof (unsigned short), 77
20350 See \`config.log' for more details." >&2;}
20351 { (exit 1); exit 1; }; } ;;
20354 if test "$cross_compiling" = yes; then
20355 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20356 See \`config.log' for more details." >&5
20357 echo "$as_me: error: cannot run test program while cross compiling
20358 See \`config.log' for more details." >&2;}
20359 { (exit 1); exit 1; }; }
20361 cat >conftest.
$ac_ext <<_ACEOF
20364 cat confdefs.h
>>conftest.
$ac_ext
20365 cat >>conftest.
$ac_ext <<_ACEOF
20366 /* end confdefs.h. */
20367 $ac_includes_default
20368 long longval () { return (long) (sizeof (unsigned short)); }
20369 unsigned long ulongval () { return (long) (sizeof (unsigned short)); }
20371 #include <stdlib.h>
20376 FILE *f = fopen ("conftest.val", "w");
20379 if (((long) (sizeof (unsigned short))) < 0)
20381 long i = longval ();
20382 if (i != ((long) (sizeof (unsigned short))))
20384 fprintf (f, "%ld\n", i);
20388 unsigned long i = ulongval ();
20389 if (i != ((long) (sizeof (unsigned short))))
20391 fprintf (f, "%lu\n", i);
20393 exit (ferror (f) || fclose (f) != 0);
20399 rm -f conftest
$ac_exeext
20400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20401 (eval $ac_link) 2>&5
20403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20404 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20406 (eval $ac_try) 2>&5
20408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20409 (exit $ac_status); }; }; then
20410 ac_cv_sizeof_unsigned_short
=`cat conftest.val`
20412 echo "$as_me: program exited with status $ac_status" >&5
20413 echo "$as_me: failed program was:" >&5
20414 sed 's/^/| /' conftest.
$ac_ext >&5
20416 ( exit $ac_status )
20417 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned short), 77
20418 See \`config.log' for more details." >&5
20419 echo "$as_me: error: cannot compute sizeof (unsigned short), 77
20420 See \`config.log' for more details." >&2;}
20421 { (exit 1); exit 1; }; }
20423 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20428 ac_cv_sizeof_unsigned_short
=0
20431 echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_short" >&5
20432 echo "${ECHO_T}$ac_cv_sizeof_unsigned_short" >&6
20433 cat >>confdefs.h
<<_ACEOF
20434 #define SIZEOF_UNSIGNED_SHORT $ac_cv_sizeof_unsigned_short
20438 if test "$ac_cv_sizeof_unsigned_short" != 4
20440 { { echo "$as_me:$LINENO: error: --with-int32 option is required" >&5
20441 echo "$as_me: error: --with-int32 option is required" >&2;}
20442 { (exit 1); exit 1; }; }
20444 int32
="unsigned short"
20446 int32
="unsigned long"
20452 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20455 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20462 cat >>confdefs.h
<<_ACEOF
20463 #define MD5_WORD $UINT32
20467 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
20468 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
20469 if test "${ac_cv_c_const+set}" = set; then
20470 echo $ECHO_N "(cached) $ECHO_C" >&6
20472 cat >conftest.
$ac_ext <<_ACEOF
20475 cat confdefs.h
>>conftest.
$ac_ext
20476 cat >>conftest.
$ac_ext <<_ACEOF
20477 /* end confdefs.h. */
20482 /* FIXME: Include the comments suggested by Paul. */
20483 #ifndef __cplusplus
20484 /* Ultrix mips cc rejects this. */
20485 typedef int charset[2];
20487 /* SunOS 4.1.1 cc rejects this. */
20488 char const *const *ccp;
20490 /* NEC SVR4.0.2 mips cc rejects this. */
20491 struct point {int x, y;};
20492 static struct point const zero = {0,0};
20493 /* AIX XL C 1.02.0.0 rejects this.
20494 It does not let you subtract one const X* pointer from another in
20495 an arm of an if-expression whose if-part is not a constant
20497 const char *g = "string";
20498 ccp = &g + (g ? g-g : 0);
20499 /* HPUX 7.0 cc rejects these. */
20502 ccp = (char const *const *) p;
20503 { /* SCO 3.2v4 cc rejects this. */
20505 char const *s = 0 ? (char *) 0 : (char const *) 0;
20509 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20510 int x[] = {25, 17};
20511 const int *foo = &x[0];
20514 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20515 typedef const int *iptr;
20519 { /* AIX XL C 1.02.0.0 rejects this saying
20520 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20521 struct s { int j; const int *ap[3]; };
20522 struct s *b; b->j = 5;
20524 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20525 const int foo = 10;
20533 rm -f conftest.
$ac_objext
20534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20535 (eval $ac_compile) 2>conftest.er1
20537 grep -v '^ *+' conftest.er1
>conftest.err
20539 cat conftest.err
>&5
20540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20541 (exit $ac_status); } &&
20542 { ac_try
='test -z "$ac_c_werror_flag"
20543 || test ! -s conftest.err'
20544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20545 (eval $ac_try) 2>&5
20547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20548 (exit $ac_status); }; } &&
20549 { ac_try
='test -s conftest.$ac_objext'
20550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20551 (eval $ac_try) 2>&5
20553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20554 (exit $ac_status); }; }; then
20557 echo "$as_me: failed program was:" >&5
20558 sed 's/^/| /' conftest.
$ac_ext >&5
20562 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20564 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20565 echo "${ECHO_T}$ac_cv_c_const" >&6
20566 if test $ac_cv_c_const = no
; then
20568 cat >>confdefs.h
<<\_ACEOF
20576 ac_config_files
="$ac_config_files Makefile"
20577 cat >confcache
<<\_ACEOF
20578 # This file is a shell script that caches the results of configure
20579 # tests run on this system so they can be shared between configure
20580 # scripts and configure runs, see configure's option --config-cache.
20581 # It is not useful on other systems. If it contains results you don't
20582 # want to keep, you may remove or edit it.
20584 # config.status only pays attention to the cache file if you give it
20585 # the --recheck option to rerun configure.
20587 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20588 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20589 # following values.
20593 # The following way of writing the cache mishandles newlines in values,
20594 # but we know of no workaround that is simple, portable, and efficient.
20595 # So, don't put newlines in cache variables' values.
20596 # Ultrix sh set writes to stderr and can't be redirected directly,
20597 # and sets the high bit in the cache file unless we assign to the vars.
20600 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20602 # `set' does not quote correctly, so add quotes (double-quote
20603 # substitution turns \\\\ into \\, and sed turns \\ into \).
20606 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20609 # `set' quotes correctly as required by POSIX, so do not add quotes.
20611 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20618 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20620 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20622 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
20623 if test -w $cache_file; then
20624 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20625 cat confcache
>$cache_file
20627 echo "not updating unwritable cache $cache_file"
20632 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20633 # Let make expand exec_prefix.
20634 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20636 # VPATH may cause trouble with some makes, so we remove $(srcdir),
20637 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
20638 # trailing colons and then remove the whole line if VPATH becomes empty
20639 # (actually we leave an empty line to preserve line numbers).
20640 if test "x$srcdir" = x.
; then
20641 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
20642 s/:*\$(srcdir):*/:/;
20643 s/:*\${srcdir}:*/:/;
20645 s/^\([^=]*=[ ]*\):*/\1/;
20651 DEFS
=-DHAVE_CONFIG_H
20655 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
20656 # 1. Remove the extension, and $U if already installed.
20657 ac_i
=`echo "$ac_i" |
20658 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
20660 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
20661 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
20663 LIBOBJS
=$ac_libobjs
20665 LTLIBOBJS
=$ac_ltlibobjs
20668 if test -z "${HMACC_TRUE}" && test -z "${HMACC_FALSE}"; then
20669 { { echo "$as_me:$LINENO: error: conditional \"HMACC\" was never defined.
20670 Usually this means the macro was only invoked conditionally." >&5
20671 echo "$as_me: error: conditional \"HMACC\" was never defined.
20672 Usually this means the macro was only invoked conditionally." >&2;}
20673 { (exit 1); exit 1; }; }
20675 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
20676 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
20677 Usually this means the macro was only invoked conditionally." >&5
20678 echo "$as_me: error: conditional \"AMDEP\" was never defined.
20679 Usually this means the macro was only invoked conditionally." >&2;}
20680 { (exit 1); exit 1; }; }
20682 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20683 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
20684 Usually this means the macro was only invoked conditionally." >&5
20685 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
20686 Usually this means the macro was only invoked conditionally." >&2;}
20687 { (exit 1); exit 1; }; }
20689 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
20690 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
20691 Usually this means the macro was only invoked conditionally." >&5
20692 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
20693 Usually this means the macro was only invoked conditionally." >&2;}
20694 { (exit 1); exit 1; }; }
20697 : ${CONFIG_STATUS=./config.status}
20698 ac_clean_files_save
=$ac_clean_files
20699 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
20700 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20701 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20702 cat >$CONFIG_STATUS <<_ACEOF
20704 # Generated by $as_me.
20705 # Run this file to recreate the current configuration.
20706 # Compiler output produced by configure, useful for debugging
20707 # configure, is in config.log if it exists.
20710 ac_cs_recheck=false
20712 SHELL=\${CONFIG_SHELL-$SHELL}
20715 cat >>$CONFIG_STATUS <<\_ACEOF
20716 ## --------------------- ##
20717 ## M4sh Initialization. ##
20718 ## --------------------- ##
20720 # Be Bourne compatible
20721 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20724 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20725 # is contrary to our usage. Disable this feature.
20726 alias -g '${1+"$@"}'='"$@"'
20727 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
20730 DUALCASE
=1; export DUALCASE
# for MKS sh
20732 # Support unset when possible.
20733 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
20740 # Work around bugs in pre-3.0 UWIN ksh.
20741 $as_unset ENV MAIL MAILPATH
20748 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20749 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20750 LC_TELEPHONE LC_TIME
20752 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20753 eval $as_var=C
; export $as_var
20759 # Required to use basename.
20760 if expr a
: '\(a\)' >/dev
/null
2>&1; then
20766 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
20767 as_basename
=basename
20773 # Name of the executable.
20774 as_me
=`$as_basename "$0" ||
20775 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20776 X"$0" : 'X\(//\)$' \| \
20777 X"$0" : 'X\(/\)$' \| \
20778 . : '\(.\)' 2>/dev/null ||
20780 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
20781 /^X\/\(\/\/\)$/{ s//\1/; q; }
20782 /^X\/\(\/\).*/{ s//\1/; q; }
20786 # PATH needs CR, and LINENO needs CR and PATH.
20787 # Avoid depending upon Character Ranges.
20788 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20789 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20790 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20791 as_cr_digits
='0123456789'
20792 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20794 # The user is always right.
20795 if test "${PATH_SEPARATOR+set}" != set; then
20796 echo "#! /bin/sh" >conf$$.sh
20797 echo "exit 0" >>conf$$.sh
20799 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
20808 as_lineno_1
=$LINENO
20809 as_lineno_2
=$LINENO
20810 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
20811 test "x$as_lineno_1" != "x$as_lineno_2" &&
20812 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
20813 # Find who we are. Look in the path if we contain no path at all
20816 *[\\/]* ) as_myself
=$0 ;;
20817 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20818 for as_dir
in $PATH
20821 test -z "$as_dir" && as_dir
=.
20822 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
20827 # We did not find ourselves, most probably we were run as `sh COMMAND'
20828 # in which case we are not to be found in the path.
20829 if test "x$as_myself" = x
; then
20832 if test ! -f "$as_myself"; then
20833 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
20834 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
20835 { (exit 1); exit 1; }; }
20837 case $CONFIG_SHELL in
20839 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20840 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
20843 test -z "$as_dir" && as_dir
=.
20844 for as_base
in sh bash ksh sh5
; do
20847 if ("$as_dir/$as_base" -c '
20848 as_lineno_1=$LINENO
20849 as_lineno_2=$LINENO
20850 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20851 test "x$as_lineno_1" != "x$as_lineno_2" &&
20852 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
20853 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
20854 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
20855 CONFIG_SHELL
=$as_dir/$as_base
20856 export CONFIG_SHELL
20857 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
20865 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20866 # uniformly replaced by the line number. The first 'sed' inserts a
20867 # line-number line before each line; the second 'sed' does the real
20868 # work. The second script uses 'N' to pair each line-number line
20869 # with the numbered line, and appends trailing '-' during
20870 # substitution so that $LINENO is not a special case at line end.
20871 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20872 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
20873 sed '=' <$as_myself |
20878 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
20881 s,^['$as_cr_digits']*\n,,
20882 ' >$as_me.lineno
&&
20883 chmod +x
$as_me.lineno ||
20884 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
20885 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
20886 { (exit 1); exit 1; }; }
20888 # Don't try to exec as it changes $[0], causing all sort of problems
20889 # (the dirname of $[0] is not the place where we might find the
20890 # original and so on. Autoconf is especially sensible to this).
20892 # Exit status is that of the last command.
20897 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
20898 *c
*,-n*) ECHO_N
= ECHO_C
='
20900 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
20901 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
20904 if expr a
: '\(a\)' >/dev
/null
2>&1; then
20910 rm -f conf$$ conf$$.exe conf$$.
file
20912 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20913 # We could just check for DJGPP; but this test a) works b) is more generic
20914 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
20915 if test -f conf$$.exe
; then
20916 # Don't use ln at all; we don't have any links
20921 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20926 rm -f conf$$ conf$$.exe conf$$.
file
20928 if mkdir
-p .
2>/dev
/null
; then
20931 test -d .
/-p && rmdir .
/-p
20935 as_executable_p
="test -f"
20937 # Sed expression to map a string onto a valid CPP name.
20938 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20940 # Sed expression to map a string onto a valid variable name.
20941 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20945 # We need space, tab and new line, in precisely that order.
20955 # Open the log real soon, to keep \$[0] and so on meaningful, and to
20956 # report actual input values of CONFIG_FILES etc. instead of their
20957 # values after options handling. Logging --version etc. is OK.
20961 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20962 ## Running $as_me. ##
20967 This file was extended by libmd5 $as_me 1.21, which was
20968 generated by GNU Autoconf 2.59. Invocation command line was
20970 CONFIG_FILES = $CONFIG_FILES
20971 CONFIG_HEADERS = $CONFIG_HEADERS
20972 CONFIG_LINKS = $CONFIG_LINKS
20973 CONFIG_COMMANDS = $CONFIG_COMMANDS
20977 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
20981 # Files that config.status was made for.
20982 if test -n "$ac_config_files"; then
20983 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
20986 if test -n "$ac_config_headers"; then
20987 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
20990 if test -n "$ac_config_links"; then
20991 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
20994 if test -n "$ac_config_commands"; then
20995 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
20998 cat >>$CONFIG_STATUS <<\_ACEOF
21001 \`$as_me' instantiates files from templates according to the
21002 current configuration.
21004 Usage: $0 [OPTIONS] [FILE]...
21006 -h, --help print this help, then exit
21007 -V, --version print version number, then exit
21008 -q, --quiet do not print progress messages
21009 -d, --debug don't remove temporary files
21010 --recheck update $as_me by reconfiguring in the same conditions
21011 --file=FILE[:TEMPLATE]
21012 instantiate the configuration file FILE
21013 --header=FILE[:TEMPLATE]
21014 instantiate the configuration header FILE
21016 Configuration files:
21019 Configuration headers:
21022 Configuration commands:
21025 Report bugs to <bug-autoconf@gnu.org>."
21028 cat >>$CONFIG_STATUS <<_ACEOF
21030 libmd5 config.status 1.21
21031 configured by $0, generated by GNU Autoconf 2.59,
21032 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
21034 Copyright (C) 2003 Free Software Foundation, Inc.
21035 This config.status script is free software; the Free Software Foundation
21036 gives unlimited permission to copy, distribute and modify it."
21041 cat >>$CONFIG_STATUS <<\_ACEOF
21042 # If no file are specified by the user, then we need to provide default
21043 # value. By we need to know if files were specified by the user.
21049 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
21050 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
21058 *) # This is not an option, so the user has probably given explicit
21061 ac_need_defaults
=false
;;
21065 # Handling of the options.
21067 cat >>$CONFIG_STATUS <<\_ACEOF
21068 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
21070 --version |
--vers* |
-V )
21071 echo "$ac_cs_version"; exit 0 ;;
21073 # Conflict between --help and --header
21074 { { echo "$as_me:$LINENO: error: ambiguous option: $1
21075 Try \`$0 --help' for more information." >&5
21076 echo "$as_me: error: ambiguous option: $1
21077 Try \`$0 --help' for more information." >&2;}
21078 { (exit 1); exit 1; }; };;
21079 --help |
--hel |
-h )
21080 echo "$ac_cs_usage"; exit 0 ;;
21081 --debug |
--d* |
-d )
21083 --file |
--fil |
--fi |
--f )
21085 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
21086 ac_need_defaults
=false
;;
21087 --header |
--heade |
--head |
--hea )
21089 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
21090 ac_need_defaults
=false
;;
21091 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
21092 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
21095 # This is an error.
21096 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
21097 Try \`$0 --help' for more information." >&5
21098 echo "$as_me: error: unrecognized option: $1
21099 Try \`$0 --help' for more information." >&2;}
21100 { (exit 1); exit 1; }; } ;;
21102 *) ac_config_targets
="$ac_config_targets $1" ;;
21108 ac_configure_extra_args
=
21110 if $ac_cs_silent; then
21112 ac_configure_extra_args
="$ac_configure_extra_args --silent"
21116 cat >>$CONFIG_STATUS <<_ACEOF
21117 if \$ac_cs_recheck; then
21118 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21119 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21124 cat >>$CONFIG_STATUS <<_ACEOF
21126 # INIT-COMMANDS section.
21129 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
21135 cat >>$CONFIG_STATUS <<\_ACEOF
21136 for ac_config_target
in $ac_config_targets
21138 case "$ac_config_target" in
21139 # Handling of arguments.
21140 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
21141 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
21142 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
21143 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21144 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21145 { (exit 1); exit 1; }; };;
21149 # If the user did not use the arguments to specify the items to instantiate,
21150 # then the envvar interface is used. Set only those that are not.
21151 # We use the long form for the default assignment because of an extremely
21152 # bizarre bug on SunOS 4.1.3.
21153 if $ac_need_defaults; then
21154 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
21155 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
21156 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
21159 # Have a temporary directory for convenience. Make it in the build tree
21160 # simply because there is no reason to put it here, and in addition,
21161 # creating and moving files from /tmp can sometimes cause problems.
21162 # Create a temporary directory, and hook for its removal unless debugging.
21165 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
21166 trap '{ (exit 1); exit 1; }' 1 2 13 15
21169 # Create a (secure) tmp directory for tmp files.
21172 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
21173 test -n "$tmp" && test -d "$tmp"
21176 tmp
=.
/confstat$$
-$RANDOM
21177 (umask 077 && mkdir
$tmp)
21180 echo "$me: cannot create a temporary directory in ." >&2
21181 { (exit 1); exit 1; }
21186 cat >>$CONFIG_STATUS <<_ACEOF
21189 # CONFIG_FILES section.
21192 # No need to generate the scripts if there are no CONFIG_FILES.
21193 # This happens for instance when ./config.status config.h
21194 if test -n "\$CONFIG_FILES"; then
21195 # Protect against being on the right side of a sed subst in config.status.
21196 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
21197 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
21198 s,@SHELL@,$SHELL,;t t
21199 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
21200 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
21201 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
21202 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
21203 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
21204 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
21205 s,@exec_prefix@,$exec_prefix,;t t
21206 s,@prefix@,$prefix,;t t
21207 s,@program_transform_name@,$program_transform_name,;t t
21208 s,@bindir@,$bindir,;t t
21209 s,@sbindir@,$sbindir,;t t
21210 s,@libexecdir@,$libexecdir,;t t
21211 s,@datadir@,$datadir,;t t
21212 s,@sysconfdir@,$sysconfdir,;t t
21213 s,@sharedstatedir@,$sharedstatedir,;t t
21214 s,@localstatedir@,$localstatedir,;t t
21215 s,@libdir@,$libdir,;t t
21216 s,@includedir@,$includedir,;t t
21217 s,@oldincludedir@,$oldincludedir,;t t
21218 s,@infodir@,$infodir,;t t
21219 s,@mandir@,$mandir,;t t
21220 s,@build_alias@,$build_alias,;t t
21221 s,@host_alias@,$host_alias,;t t
21222 s,@target_alias@,$target_alias,;t t
21223 s,@DEFS@,$DEFS,;t t
21224 s,@ECHO_C@,$ECHO_C,;t t
21225 s,@ECHO_N@,$ECHO_N,;t t
21226 s,@ECHO_T@,$ECHO_T,;t t
21227 s,@LIBS@,$LIBS,;t t
21228 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
21229 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
21230 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
21231 s,@CYGPATH_W@,$CYGPATH_W,;t t
21232 s,@PACKAGE@,$PACKAGE,;t t
21233 s,@VERSION@,$VERSION,;t t
21234 s,@ACLOCAL@,$ACLOCAL,;t t
21235 s,@AUTOCONF@,$AUTOCONF,;t t
21236 s,@AUTOMAKE@,$AUTOMAKE,;t t
21237 s,@AUTOHEADER@,$AUTOHEADER,;t t
21238 s,@MAKEINFO@,$MAKEINFO,;t t
21239 s,@install_sh@,$install_sh,;t t
21240 s,@STRIP@,$STRIP,;t t
21241 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
21242 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
21243 s,@mkdir_p@,$mkdir_p,;t t
21245 s,@SET_MAKE@,$SET_MAKE,;t t
21246 s,@am__leading_dot@,$am__leading_dot,;t t
21247 s,@AMTAR@,$AMTAR,;t t
21248 s,@am__tar@,$am__tar,;t t
21249 s,@am__untar@,$am__untar,;t t
21250 s,@HMACC_TRUE@,$HMACC_TRUE,;t t
21251 s,@HMACC_FALSE@,$HMACC_FALSE,;t t
21252 s,@LN_S@,$LN_S,;t t
21254 s,@CFLAGS@,$CFLAGS,;t t
21255 s,@LDFLAGS@,$LDFLAGS,;t t
21256 s,@CPPFLAGS@,$CPPFLAGS,;t t
21257 s,@ac_ct_CC@,$ac_ct_CC,;t t
21258 s,@EXEEXT@,$EXEEXT,;t t
21259 s,@OBJEXT@,$OBJEXT,;t t
21260 s,@DEPDIR@,$DEPDIR,;t t
21261 s,@am__include@,$am__include,;t t
21262 s,@am__quote@,$am__quote,;t t
21263 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
21264 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
21265 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
21266 s,@CCDEPMODE@,$CCDEPMODE,;t t
21267 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
21268 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
21269 s,@build@,$build,;t t
21270 s,@build_cpu@,$build_cpu,;t t
21271 s,@build_vendor@,$build_vendor,;t t
21272 s,@build_os@,$build_os,;t t
21273 s,@host@,$host,;t t
21274 s,@host_cpu@,$host_cpu,;t t
21275 s,@host_vendor@,$host_vendor,;t t
21276 s,@host_os@,$host_os,;t t
21278 s,@EGREP@,$EGREP,;t t
21279 s,@ECHO@,$ECHO,;t t
21281 s,@ac_ct_AR@,$ac_ct_AR,;t t
21282 s,@RANLIB@,$RANLIB,;t t
21283 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
21286 s,@CXXFLAGS@,$CXXFLAGS,;t t
21287 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
21288 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
21289 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
21290 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
21291 s,@CXXCPP@,$CXXCPP,;t t
21293 s,@FFLAGS@,$FFLAGS,;t t
21294 s,@ac_ct_F77@,$ac_ct_F77,;t t
21295 s,@LIBTOOL@,$LIBTOOL,;t t
21296 s,@LIBOBJS@,$LIBOBJS,;t t
21297 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
21302 cat >>$CONFIG_STATUS <<\_ACEOF
21303 # Split the substitutions into bite-sized pieces for seds with
21304 # small command number limits, like on Digital OSF/1 and HP-UX.
21305 ac_max_sed_lines
=48
21306 ac_sed_frag
=1 # Number of current file.
21307 ac_beg
=1 # First line for current file.
21308 ac_end
=$ac_max_sed_lines # Line after last line for current file.
21311 while $ac_more_lines; do
21312 if test $ac_beg -gt 1; then
21313 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
21315 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
21317 if test ! -s $tmp/subs.frag
; then
21318 ac_more_lines
=false
21320 # The purpose of the label and of the branching condition is to
21321 # speed up the sed processing (if there are no `@' at all, there
21322 # is no need to browse any of the substitutions).
21323 # These are the two extra sed commands mentioned above.
21325 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
21326 if test -z "$ac_sed_cmds"; then
21327 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
21329 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
21331 ac_sed_frag
=`expr $ac_sed_frag + 1`
21333 ac_end
=`expr $ac_end + $ac_max_sed_lines`
21336 if test -z "$ac_sed_cmds"; then
21339 fi # test -n "$CONFIG_FILES"
21342 cat >>$CONFIG_STATUS <<\_ACEOF
21343 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
21344 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21346 - |
*:- |
*:-:* ) # input from stdin
21348 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21349 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21350 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21351 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21352 * ) ac_file_in
=$ac_file.
in ;;
21355 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
21356 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
21357 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21358 X"$ac_file" : 'X\(//\)[^/]' \| \
21359 X"$ac_file" : 'X\(//\)$' \| \
21360 X"$ac_file" : 'X\(/\)' \| \
21361 . : '\(.\)' 2>/dev/null ||
21363 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21364 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21365 /^X\(\/\/\)$/{ s//\1/; q; }
21366 /^X\(\/\).*/{ s//\1/; q; }
21368 { if $as_mkdir_p; then
21373 while test ! -d "$as_dir"; do
21374 as_dirs
="$as_dir $as_dirs"
21375 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21376 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21377 X"$as_dir" : 'X\(//\)[^/]' \| \
21378 X"$as_dir" : 'X\(//\)$' \| \
21379 X"$as_dir" : 'X\(/\)' \| \
21380 . : '\(.\)' 2>/dev/null ||
21382 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21383 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21384 /^X\(\/\/\)$/{ s//\1/; q; }
21385 /^X\(\/\).*/{ s//\1/; q; }
21388 test ! -n "$as_dirs" || mkdir
$as_dirs
21389 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21390 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21391 { (exit 1); exit 1; }; }; }
21395 if test "$ac_dir" != .
; then
21396 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21397 # A "../" for each directory in $ac_dir_suffix.
21398 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21400 ac_dir_suffix
= ac_top_builddir
=
21404 .
) # No --srcdir option. We are building in place.
21406 if test -z "$ac_top_builddir"; then
21409 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
21411 [\\/]* | ?
:[\\/]* ) # Absolute path.
21412 ac_srcdir
=$srcdir$ac_dir_suffix;
21413 ac_top_srcdir
=$srcdir ;;
21414 *) # Relative path.
21415 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
21416 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
21419 # Do not use `cd foo && pwd` to compute absolute paths, because
21420 # the directories may not exist.
21422 .
) ac_abs_builddir
="$ac_dir";;
21425 .
) ac_abs_builddir
=`pwd`;;
21426 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
21427 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
21430 case $ac_abs_builddir in
21431 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21433 case ${ac_top_builddir}.
in
21434 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
21435 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21436 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
21439 case $ac_abs_builddir in
21440 .
) ac_abs_srcdir
=$ac_srcdir;;
21443 .
) ac_abs_srcdir
=$ac_abs_builddir;;
21444 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
21445 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
21448 case $ac_abs_builddir in
21449 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
21451 case $ac_top_srcdir in
21452 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
21453 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
21454 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
21460 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
21461 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
21464 if test x
"$ac_file" != x-
; then
21465 { echo "$as_me:$LINENO: creating $ac_file" >&5
21466 echo "$as_me: creating $ac_file" >&6;}
21469 # Let's still pretend it is `configure' which instantiates (i.e., don't
21470 # use $as_me), people would be surprised to read:
21471 # /* config.h. Generated by config.status. */
21472 if test x
"$ac_file" = x-
; then
21475 configure_input
="$ac_file. "
21477 configure_input
=$configure_input"Generated from `echo $ac_file_in |
21478 sed 's,.*/,,'` by configure."
21480 # First look for the input files in the build tree, otherwise in the
21482 ac_file_inputs
=`IFS=:
21483 for f in $ac_file_in; do
21485 -) echo $tmp/stdin ;;
21487 # Absolute (can't be DOS-style, as IFS=:)
21488 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21489 echo "$as_me: error: cannot find input file: $f" >&2;}
21490 { (exit 1); exit 1; }; }
21493 if test -f "$f"; then
21496 elif test -f "$srcdir/$f"; then
21501 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21502 echo "$as_me: error: cannot find input file: $f" >&2;}
21503 { (exit 1); exit 1; }; }
21506 done` ||
{ (exit 1); exit 1; }
21508 cat >>$CONFIG_STATUS <<_ACEOF
21512 cat >>$CONFIG_STATUS <<\_ACEOF
21514 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
21515 s
,@configure_input@
,$configure_input,;t t
21516 s
,@srcdir@
,$ac_srcdir,;t t
21517 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
21518 s
,@top_srcdir@
,$ac_top_srcdir,;t t
21519 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
21520 s
,@builddir@
,$ac_builddir,;t t
21521 s
,@abs_builddir@
,$ac_abs_builddir,;t t
21522 s
,@top_builddir@
,$ac_top_builddir,;t t
21523 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
21524 s
,@INSTALL@
,$ac_INSTALL,;t t
21525 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
21527 if test x"$ac_file" != x-; then
21528 mv $tmp/out $ac_file
21536 cat >>$CONFIG_STATUS <<\_ACEOF
21539 # CONFIG_HEADER section.
21542 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
21543 # NAME is the cpp macro being defined and VALUE is the value it is being given.
21545 # ac_d sets the value in "#define NAME VALUE" lines.
21546 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
21547 ac_dB
='[ ].*$,\1#\2'
21550 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21551 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21552 ac_uB
='$,\1#\2define\3'
21556 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
21557 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21559 - |
*:- |
*:-:* ) # input from stdin
21561 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21562 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21563 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21564 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21565 * ) ac_file_in
=$ac_file.
in ;;
21568 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
21569 echo "$as_me: creating $ac_file" >&6;}
21571 # First look for the input files in the build tree, otherwise in the
21573 ac_file_inputs
=`IFS=:
21574 for f in $ac_file_in; do
21576 -) echo $tmp/stdin ;;
21578 # Absolute (can't be DOS-style, as IFS=:)
21579 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21580 echo "$as_me: error: cannot find input file: $f" >&2;}
21581 { (exit 1); exit 1; }; }
21582 # Do quote $f, to prevent DOS paths from being IFS'd.
21585 if test -f "$f"; then
21588 elif test -f "$srcdir/$f"; then
21593 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21594 echo "$as_me: error: cannot find input file: $f" >&2;}
21595 { (exit 1); exit 1; }; }
21598 done` ||
{ (exit 1); exit 1; }
21599 # Remove the trailing spaces.
21600 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
21604 # Transform confdefs.h into two sed scripts, `conftest.defines' and
21605 # `conftest.undefs', that substitutes the proper values into
21606 # config.h.in to produce config.h. The first handles `#define'
21607 # templates, and the second `#undef' templates.
21608 # And first: Protect against being on the right side of a sed subst in
21609 # config.status. Protect against being in an unquoted here document
21610 # in config.status.
21611 rm -f conftest.defines conftest.undefs
21612 # Using a here document instead of a string reduces the quoting nightmare.
21613 # Putting comments in sed scripts is not portable.
21615 # `end' is used to avoid that the second main sed command (meant for
21616 # 0-ary CPP macros) applies to n-ary macro definitions.
21617 # See the Autoconf documentation for `clear'.
21618 cat >confdef2sed.
sed <<\_ACEOF
21623 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
21625 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
21628 # If some macros were called several times there might be several times
21629 # the same #defines, which is useless. Nevertheless, we may not want to
21630 # sort them, since we want the *last* AC-DEFINE to be honored.
21631 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
21632 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
21633 rm -f confdef2sed.sed
21635 # This sed command replaces #undef with comments. This is necessary, for
21636 # example, in the case of _POSIX_SOURCE, which is predefined and required
21637 # on some systems where configure will not decide to define it.
21638 cat >>conftest.undefs <<\_ACEOF
21639 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
21642 # Break up conftest.defines because some shells have a limit on the size
21643 # of here documents, and old seds have small limits too (100 cmds).
21644 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
21645 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
21646 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
21647 echo ' :' >>$CONFIG_STATUS
21648 rm -f conftest.tail
21649 while grep . conftest.defines >/dev/null
21651 # Write a limited-size here document to $tmp/defines.sed.
21652 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
21653 # Speed up: don't consider the non `#define' lines.
21654 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
21655 # Work around the forget-to-reset-the-flag bug.
21656 echo 't clr' >>$CONFIG_STATUS
21657 echo ': clr' >>$CONFIG_STATUS
21658 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
21660 sed -f $tmp/defines.sed $tmp/in >$tmp/out
21662 mv $tmp/out $tmp/in
21664 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
21665 rm -f conftest.defines
21666 mv conftest.
tail conftest.defines
21668 rm -f conftest.defines
21669 echo ' fi # grep' >>$CONFIG_STATUS
21670 echo >>$CONFIG_STATUS
21672 # Break up conftest.undefs because some shells have a limit on the size
21673 # of here documents, and old seds have small limits too (100 cmds).
21674 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
21675 rm -f conftest.
tail
21676 while grep . conftest.undefs
>/dev
/null
21678 # Write a limited-size here document to $tmp/undefs.sed.
21679 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
21680 # Speed up: don't consider the non
`#undef'
21681 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
21682 # Work around the forget-to-reset-the-flag bug.
21683 echo 't clr' >>$CONFIG_STATUS
21684 echo ': clr' >>$CONFIG_STATUS
21685 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
21687 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
21689 mv $tmp/out $tmp/in
21691 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
21692 rm -f conftest.undefs
21693 mv conftest.tail conftest.undefs
21695 rm -f conftest.undefs
21697 cat >>$CONFIG_STATUS <<\_ACEOF
21698 # Let's still pretend it is `configure
' which instantiates (i.e., don't
21699 # use $as_me), people would be surprised to read:
21700 # /* config.h. Generated by config.status. */
21701 if test x
"$ac_file" = x-
; then
21702 echo "/* Generated by configure. */" >$tmp/config.h
21704 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
21706 cat $tmp/in >>$tmp/config.h
21708 if test x
"$ac_file" != x-
; then
21709 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
21710 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21711 echo "$as_me: $ac_file is unchanged" >&6;}
21713 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
21714 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21715 X"$ac_file" : 'X\(//\)[^/]' \| \
21716 X"$ac_file" : 'X\(//\)$' \| \
21717 X"$ac_file" : 'X\(/\)' \| \
21718 . : '\(.\)' 2>/dev/null ||
21720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21722 /^X\(\/\/\)$/{ s//\1/; q; }
21723 /^X\(\/\).*/{ s//\1/; q; }
21725 { if $as_mkdir_p; then
21730 while test ! -d "$as_dir"; do
21731 as_dirs
="$as_dir $as_dirs"
21732 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21733 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21734 X"$as_dir" : 'X\(//\)[^/]' \| \
21735 X"$as_dir" : 'X\(//\)$' \| \
21736 X"$as_dir" : 'X\(/\)' \| \
21737 . : '\(.\)' 2>/dev/null ||
21739 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21740 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21741 /^X\(\/\/\)$/{ s//\1/; q; }
21742 /^X\(\/\).*/{ s//\1/; q; }
21745 test ! -n "$as_dirs" || mkdir
$as_dirs
21746 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21747 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21748 { (exit 1); exit 1; }; }; }
21751 mv $tmp/config.h
$ac_file
21755 rm -f $tmp/config.h
21757 # Compute $ac_file's index in $config_headers.
21759 for _am_header
in $config_headers :; do
21760 case $_am_header in
21761 $ac_file |
$ac_file:* )
21764 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
21767 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
21768 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21769 X$ac_file : 'X\(//\)[^/]' \| \
21770 X$ac_file : 'X\(//\)$' \| \
21771 X$ac_file : '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; }
21778 s/.*/./; q'`/stamp-h
$_am_stamp_count
21781 cat >>$CONFIG_STATUS <<\_ACEOF
21784 # CONFIG_COMMANDS section.
21786 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
21787 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
21788 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21789 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
21790 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21791 X"$ac_dest" : 'X\(//\)[^/]' \| \
21792 X"$ac_dest" : 'X\(//\)$' \| \
21793 X"$ac_dest" : 'X\(/\)' \| \
21794 . : '\(.\)' 2>/dev/null ||
21796 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21797 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21798 /^X\(\/\/\)$/{ s//\1/; q; }
21799 /^X\(\/\).*/{ s//\1/; q; }
21801 { if $as_mkdir_p; then
21806 while test ! -d "$as_dir"; do
21807 as_dirs
="$as_dir $as_dirs"
21808 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21809 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21810 X"$as_dir" : 'X\(//\)[^/]' \| \
21811 X"$as_dir" : 'X\(//\)$' \| \
21812 X"$as_dir" : 'X\(/\)' \| \
21813 . : '\(.\)' 2>/dev/null ||
21815 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21816 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21817 /^X\(\/\/\)$/{ s//\1/; q; }
21818 /^X\(\/\).*/{ s//\1/; q; }
21821 test ! -n "$as_dirs" || mkdir
$as_dirs
21822 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21823 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21824 { (exit 1); exit 1; }; }; }
21828 if test "$ac_dir" != .
; then
21829 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21830 # A "../" for each directory in $ac_dir_suffix.
21831 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21833 ac_dir_suffix
= ac_top_builddir
=
21837 .
) # No --srcdir option. We are building in place.
21839 if test -z "$ac_top_builddir"; then
21842 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
21844 [\\/]* | ?
:[\\/]* ) # Absolute path.
21845 ac_srcdir
=$srcdir$ac_dir_suffix;
21846 ac_top_srcdir
=$srcdir ;;
21847 *) # Relative path.
21848 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
21849 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
21852 # Do not use `cd foo && pwd` to compute absolute paths, because
21853 # the directories may not exist.
21855 .
) ac_abs_builddir
="$ac_dir";;
21858 .
) ac_abs_builddir
=`pwd`;;
21859 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
21860 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
21863 case $ac_abs_builddir in
21864 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21866 case ${ac_top_builddir}.
in
21867 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
21868 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21869 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
21872 case $ac_abs_builddir in
21873 .
) ac_abs_srcdir
=$ac_srcdir;;
21876 .
) ac_abs_srcdir
=$ac_abs_builddir;;
21877 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
21878 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
21881 case $ac_abs_builddir in
21882 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
21884 case $ac_top_srcdir in
21885 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
21886 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
21887 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
21892 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
21893 echo "$as_me: executing $ac_dest commands" >&6;}
21895 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
21896 # Strip MF so we end up with the name of the file.
21897 mf
=`echo "$mf" | sed -e 's/:.*$//'`
21898 # Check whether this is an Automake generated Makefile or not.
21899 # We used to match only the files named `Makefile.in', but
21900 # some people rename them; so instead we look at the file content.
21901 # Grep'ing the first line is not enough: some people post-process
21902 # each Makefile.in and add a new line on top of each file to say so.
21903 # So let's grep whole file.
21904 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
21905 dirpart
=`(dirname "$mf") 2>/dev/null ||
21906 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21907 X"$mf" : 'X\(//\)[^/]' \| \
21908 X"$mf" : 'X\(//\)$' \| \
21909 X"$mf" : 'X\(/\)' \| \
21910 . : '\(.\)' 2>/dev/null ||
21912 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21913 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21914 /^X\(\/\/\)$/{ s//\1/; q; }
21915 /^X\(\/\).*/{ s//\1/; q; }
21920 # Extract the definition of DEPDIR, am__include, and am__quote
21921 # from the Makefile without running `make'.
21922 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
21923 test -z "$DEPDIR" && continue
21924 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
21925 test -z "am__include" && continue
21926 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
21927 # When using ansi2knr, U may be empty or an underscore; expand it
21928 U
=`sed -n 's/^U = //p' < "$mf"`
21929 # Find all dependency output files, they are included files with
21930 # $(DEPDIR) in their names. We invoke sed twice because it is the
21931 # simplest approach to changing $(DEPDIR) to its actual value in the
21933 for file in `sed -n "
21934 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21935 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21936 # Make sure the directory exists.
21937 test -f "$dirpart/$file" && continue
21938 fdir
=`(dirname "$file") 2>/dev/null ||
21939 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21940 X"$file" : 'X\(//\)[^/]' \| \
21941 X"$file" : 'X\(//\)$' \| \
21942 X"$file" : 'X\(/\)' \| \
21943 . : '\(.\)' 2>/dev/null ||
21945 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21946 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21947 /^X\(\/\/\)$/{ s//\1/; q; }
21948 /^X\(\/\).*/{ s//\1/; q; }
21950 { if $as_mkdir_p; then
21951 mkdir
-p $dirpart/$fdir
21953 as_dir
=$dirpart/$fdir
21955 while test ! -d "$as_dir"; do
21956 as_dirs
="$as_dir $as_dirs"
21957 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21958 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21959 X"$as_dir" : 'X\(//\)[^/]' \| \
21960 X"$as_dir" : 'X\(//\)$' \| \
21961 X"$as_dir" : 'X\(/\)' \| \
21962 . : '\(.\)' 2>/dev/null ||
21964 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21965 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21966 /^X\(\/\/\)$/{ s//\1/; q; }
21967 /^X\(\/\).*/{ s//\1/; q; }
21970 test ! -n "$as_dirs" || mkdir
$as_dirs
21971 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
21972 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
21973 { (exit 1); exit 1; }; }; }
21975 # echo "creating $dirpart/$file"
21976 echo '# dummy' > "$dirpart/$file"
21984 cat >>$CONFIG_STATUS <<\_ACEOF
21986 { (exit 0); exit 0; }
21988 chmod +x
$CONFIG_STATUS
21989 ac_clean_files
=$ac_clean_files_save
21992 # configure is writing to config.log, and then calls config.status.
21993 # config.status does its own redirection, appending to config.log.
21994 # Unfortunately, on DOS this fails, as config.log is still kept open
21995 # by configure, so config.status won't be able to write to it; its
21996 # output is simply discarded. So we exec the FD to /dev/null,
21997 # effectively closing config.log, so it can be properly (re)opened and
21998 # appended to by config.status. When coming back to configure, we
21999 # need to make the FD available again.
22000 if test "$no_create" != yes; then
22002 ac_config_status_args
=
22003 test "$silent" = yes &&
22004 ac_config_status_args
="$ac_config_status_args --quiet"
22006 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22008 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22009 # would make configure fail if this is the last instruction.
22010 $ac_cs_success ||
{ (exit 1); exit 1; }