2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for expat 2.0.1.
5 # Report bugs to <expat-bugs@libexpat.org>.
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.
425 PACKAGE_TARNAME
='expat'
426 PACKAGE_VERSION
='2.0.1'
427 PACKAGE_STRING
='expat 2.0.1'
428 PACKAGE_BUGREPORT
='expat-bugs@libexpat.org'
430 ac_unique_file
="Makefile.in"
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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP DLLTOOL ac_ct_DLLTOOL AS ac_ct_AS OBJDUMP ac_ct_OBJDUMP CPP CXX CXXFLAGS ac_ct_CXX CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL LIBCURRENT LIBREVISION LIBAGE INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA FILEMAP 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 expat 2.0.1 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 --build=BUILD configure
for building on BUILD
[guessed
]
1012 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1016 if test -n "$ac_init_help"; then
1017 case $ac_init_help in
1018 short | recursive
) echo "Configuration of expat 2.0.1:";;
1023 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1024 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1025 --enable-shared[=PKGS
]
1026 build shared libraries
[default
=yes]
1027 --enable-static[=PKGS
]
1028 build static libraries
[default
=yes]
1029 --enable-fast-install[=PKGS
]
1030 optimize
for fast installation
[default
=yes]
1031 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1034 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1035 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1036 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1037 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1040 include additional configurations
[automatic
]
1042 Some influential environment variables
:
1043 CC C compiler
command
1044 CFLAGS C compiler flags
1045 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1046 nonstandard directory
<lib dir
>
1047 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1048 headers
in a nonstandard directory
<include dir
>
1050 CXX C
++ compiler
command
1051 CXXFLAGS C
++ compiler flags
1052 CXXCPP C
++ preprocessor
1053 F77 Fortran
77 compiler
command
1054 FFLAGS Fortran
77 compiler flags
1056 Use these variables to override the choices made by
`configure' or to help
1057 it to find libraries and programs with nonstandard names/locations.
1059 Report bugs to <expat-bugs@libexpat.org>.
1063 if test "$ac_init_help" = "recursive"; then
1064 # If there are subdirs, report their specific --help.
1066 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1067 test -d $ac_dir || continue
1070 if test "$ac_dir" != .; then
1071 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1072 # A "../" for each directory in $ac_dir_suffix.
1073 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
1075 ac_dir_suffix= ac_top_builddir=
1079 .) # No --srcdir option. We are building in place.
1081 if test -z "$ac_top_builddir"; then
1084 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
1086 [\\/]* | ?:[\\/]* ) # Absolute path.
1087 ac_srcdir=$srcdir$ac_dir_suffix;
1088 ac_top_srcdir=$srcdir ;;
1090 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1091 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1094 # Do not use `cd foo
&& pwd` to compute absolute paths, because
1095 # the directories may not exist.
1097 .) ac_abs_builddir="$ac_dir";;
1100 .) ac_abs_builddir=`pwd`;;
1101 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1102 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1105 case $ac_abs_builddir in
1106 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1108 case ${ac_top_builddir}. in
1109 .) ac_abs_top_builddir=$ac_abs_builddir;;
1110 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1111 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1114 case $ac_abs_builddir in
1115 .) ac_abs_srcdir=$ac_srcdir;;
1118 .) ac_abs_srcdir=$ac_abs_builddir;;
1119 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1120 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1123 case $ac_abs_builddir in
1124 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1126 case $ac_top_srcdir in
1127 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1128 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1129 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1134 # Check for guested configure; otherwise get Cygnus style configure.
1135 if test -f $ac_srcdir/configure.gnu; then
1137 $SHELL $ac_srcdir/configure.gnu --help=recursive
1138 elif test -f $ac_srcdir/configure; then
1140 $SHELL $ac_srcdir/configure --help=recursive
1141 elif test -f $ac_srcdir/configure.ac ||
1142 test -f $ac_srcdir/configure.in; then
1144 $ac_configure --help
1146 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1152 test -n "$ac_init_help" && exit 0
1153 if $ac_init_version; then
1155 expat configure 2.0.1
1156 generated by GNU Autoconf 2.59
1158 Copyright (C) 2003 Free Software Foundation, Inc.
1159 This configure script is free software; the Free Software Foundation
1160 gives unlimited permission to copy, distribute and modify it.
1166 This file contains any messages produced by compilers while
1167 running configure, to aid debugging if configure makes a mistake.
1169 It was created by expat $as_me 2.0.1, which was
1170 generated by GNU Autoconf 2.59. Invocation command line was
1181 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1182 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1183 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1184 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1185 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1187 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1188 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1190 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1191 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1192 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1193 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1194 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1195 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1196 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1204 test -z "$as_dir" && as_dir=.
1205 echo "PATH: $as_dir"
1220 # Keep a trace of the command line.
1221 # Strip out --no-create and --no-recursion so they do not pile up.
1222 # Strip out --silent because we don't want to record it for future runs.
1223 # Also quote any args containing shell meta-characters.
1224 # Make two passes to allow for proper duplicate-argument suppression.
1229 ac_must_keep_next=false
1235 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1236 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1237 | -silent | --silent | --silen | --sile | --sil)
1239 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1240 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1243 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1245 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1246 if test $ac_must_keep_next = true; then
1247 ac_must_keep_next=false # Got value, back to normal.
1250 *=* | --config-cache | -C | -disable-* | --disable-* \
1251 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1252 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1253 | -with-* | --with-* | -without-* | --without-* | --x)
1254 case "$ac_configure_args0 " in
1255 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1258 -* ) ac_must_keep_next=true ;;
1261 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1262 # Get rid of the leading space.
1268 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1269 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1271 # When interrupted or exit'd, cleanup temporary files, and complete
1272 # config.log. We remove comments because anyway the quotes in there
1273 # would cause problems or look ugly.
1274 # WARNING: Be sure not to use single quotes in there, as some shells,
1275 # such as our DU 5.0 friend, will then `close
' the trap.
1276 trap 'exit_status
=$?
1277 # Save into config.log some information that might help in debugging.
1282 ## ---------------- ##
1283 ## Cache variables. ##
1284 ## ---------------- ##
1287 # The following way of writing the cache mishandles newlines in values,
1290 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1293 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1294 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1298 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1305 ## ----------------- ##
1306 ## Output variables. ##
1307 ## ----------------- ##
1310 for ac_var
in $ac_subst_vars
1312 eval ac_val
=$
`echo $ac_var`
1313 echo "$ac_var='"'"'$ac_val'"'"'"
1317 if test -n "$ac_subst_files"; then
1324 for ac_var
in $ac_subst_files
1326 eval ac_val
=$
`echo $ac_var`
1327 echo "$ac_var='"'"'$ac_val'"'"'"
1332 if test -s confdefs.h
; then
1339 sed "/^$/d" confdefs.h |
sort
1342 test "$ac_signal" != 0 &&
1343 echo "$as_me: caught signal $ac_signal"
1344 echo "$as_me: exit $exit_status"
1346 rm -f core
*.core
&&
1347 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1350 for ac_signal in 1 2 13 15; do
1351 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1355 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1356 rm -rf conftest* confdefs.h
1357 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1360 # Predefined preprocessor variables.
1362 cat >>confdefs.h <<_ACEOF
1363 #define PACKAGE_NAME "$PACKAGE_NAME"
1367 cat >>confdefs.h <<_ACEOF
1368 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1372 cat >>confdefs.h <<_ACEOF
1373 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1377 cat >>confdefs.h <<_ACEOF
1378 #define PACKAGE_STRING "$PACKAGE_STRING"
1382 cat >>confdefs.h <<_ACEOF
1383 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1387 # Let the site file select an alternate cache file if it wants to.
1388 # Prefer explicitly selected file to automatically selected ones.
1389 if test -z "$CONFIG_SITE"; then
1390 if test "x$prefix" != xNONE; then
1391 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1393 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1396 for ac_site_file in $CONFIG_SITE; do
1397 if test -r "$ac_site_file"; then
1398 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1399 echo "$as_me: loading site script $ac_site_file" >&6;}
1400 sed 's
/^
/|
/' "$ac_site_file" >&5
1405 if test -r "$cache_file"; then
1406 # Some versions of bash will fail to source /dev/null (special
1407 # files actually), so we avoid doing that.
1408 if test -f "$cache_file"; then
1409 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1410 echo "$as_me: loading cache $cache_file" >&6;}
1412 [\\/]* | ?:[\\/]* ) . $cache_file;;
1413 *) . ./$cache_file;;
1417 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1418 echo "$as_me: creating cache $cache_file" >&6;}
1422 # Check that the precious variables saved in the cache have kept the same
1424 ac_cache_corrupted=false
1425 for ac_var in `(set) 2>&1 |
1426 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1427 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1428 eval ac_new_set=\$ac_env_${ac_var}_set
1429 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1430 eval ac_new_val="\$ac_env_${ac_var}_value"
1431 case $ac_old_set,$ac_new_set in
1433 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1434 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1435 ac_cache_corrupted=: ;;
1437 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1438 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1439 ac_cache_corrupted=: ;;
1442 if test "x$ac_old_val" != "x$ac_new_val"; then
1443 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1444 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1445 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1446 echo "$as_me: former value: $ac_old_val" >&2;}
1447 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1448 echo "$as_me: current value: $ac_new_val" >&2;}
1449 ac_cache_corrupted=:
1452 # Pass precious variables to config.status.
1453 if test "$ac_new_set" = set; then
1455 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1456 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1457 *) ac_arg=$ac_var=$ac_new_val ;;
1459 case " $ac_configure_args " in
1460 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1461 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1465 if $ac_cache_corrupted; then
1466 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1467 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1468 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1469 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1470 { (exit 1); exit 1; }; }
1474 ac_cpp='$CPP $CPPFLAGS'
1475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1476 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1509 for ac_dir in conftools $srcdir/conftools; do
1510 if test -f $ac_dir/install-sh; then
1512 ac_install_sh="$ac_aux_dir/install-sh -c"
1514 elif test -f $ac_dir/install.sh; then
1516 ac_install_sh="$ac_aux_dir/install.sh -c"
1518 elif test -f $ac_dir/shtool; then
1520 ac_install_sh="$ac_aux_dir/shtool install -c"
1524 if test -z "$ac_aux_dir"; then
1525 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in conftools $srcdir/conftools" >&5
1526 echo "$as_me: error: cannot find install-sh or install.sh in conftools $srcdir/conftools" >&2;}
1527 { (exit 1); exit 1; }; }
1529 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1530 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1531 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1540 ac_config_headers="$ac_config_headers expat_config.h"
1543 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
1544 ## Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005
1545 ## Free Software Foundation, Inc.
1546 ## Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
1548 ## This file is free software; the Free Software Foundation gives
1549 ## unlimited permission to copy and/or distribute it, with or without
1550 ## modifications, as long as this notice is preserved.
1552 # serial 48 AC_PROG_LIBTOOL
1555 # AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
1556 # -----------------------------------------------------------
1557 # If this macro is not defined by Autoconf, define it here.
1576 # _LT_AC_SYS_COMPILER
1577 # -------------------
1578 # _LT_AC_SYS_COMPILER
1581 # _LT_CC_BASENAME(CC)
1582 # -------------------
1583 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
1587 # _LT_COMPILER_BOILERPLATE
1588 # ------------------------
1589 # Check for compiler boilerplate output or warnings with
1590 # the simple compiler test code.
1591 # _LT_COMPILER_BOILERPLATE
1594 # _LT_LINKER_BOILERPLATE
1595 # ----------------------
1596 # Check for linker boilerplate output or warnings with
1597 # the simple link test code.
1598 # _LT_LINKER_BOILERPLATE
1601 # _LT_AC_SYS_LIBPATH_AIX
1602 # ----------------------
1603 # Links a minimal program and checks the executable
1604 # for the system default hardcoded library path. In most cases,
1605 # this is /usr/lib:/lib, but when the MPI compilers are used
1606 # the location of the communication and MPI libs are included too.
1607 # If we don't
find anything
, use the default library path according
1608 # to the aix ld manual.
1609 # _LT_AC_SYS_LIBPATH_AIX
1612 # _LT_AC_SHELL_INIT(ARG)
1613 # ----------------------
1617 # _LT_AC_PROG_ECHO_BACKSLASH
1618 # --------------------------
1619 # Add some code to the start of the generated configure script which
1620 # will find an echo command which doesn't interpret backslashes.
1621 # _LT_AC_PROG_ECHO_BACKSLASH
1629 # AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
1630 # [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
1631 # ----------------------------------------------------------------
1632 # Check whether the given compiler option works
1633 # AC_LIBTOOL_COMPILER_OPTION
1636 # AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
1637 # [ACTION-SUCCESS], [ACTION-FAILURE])
1638 # ------------------------------------------------------------
1639 # Check whether the given compiler option works
1640 # AC_LIBTOOL_LINKER_OPTION
1643 # AC_LIBTOOL_SYS_MAX_CMD_LEN
1644 # --------------------------
1645 # AC_LIBTOOL_SYS_MAX_CMD_LEN
1648 # _LT_AC_CHECK_DLFCN
1649 # ------------------
1650 # _LT_AC_CHECK_DLFCN
1653 # _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
1654 # ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
1655 # ---------------------------------------------------------------------
1656 # _LT_AC_TRY_DLOPEN_SELF
1659 # AC_LIBTOOL_DLOPEN_SELF
1660 # ----------------------
1661 # AC_LIBTOOL_DLOPEN_SELF
1664 # AC_LIBTOOL_PROG_CC_C_O([TAGNAME])
1665 # ---------------------------------
1666 # Check to see if options -c and -o are simultaneously supported by compiler
1667 # AC_LIBTOOL_PROG_CC_C_O
1670 # AC_LIBTOOL_SYS_HARD_LINK_LOCKS([TAGNAME])
1671 # -----------------------------------------
1672 # Check to see if we can do hard links to lock some files if needed
1673 # AC_LIBTOOL_SYS_HARD_LINK_LOCKS
1681 # AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([TAGNAME])
1682 # ----------------------------------------------
1683 # Check hardcoding attributes.
1684 # AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH
1687 # AC_LIBTOOL_SYS_LIB_STRIP
1688 # ------------------------
1689 # AC_LIBTOOL_SYS_LIB_STRIP
1692 # AC_LIBTOOL_SYS_DYNAMIC_LINKER
1693 # -----------------------------
1694 # PORTME Fill in your ld.so characteristics
1695 # AC_LIBTOOL_SYS_DYNAMIC_LINKER
1705 # enable checks for dlopen support
1709 # AC_LIBTOOL_WIN32_DLL
1710 # --------------------
1711 # declare package support for building win32 DLLs
1712 # AC_LIBTOOL_WIN32_DLL
1715 # AC_ENABLE_SHARED([DEFAULT])
1716 # ---------------------------
1717 # implement the --enable-shared flag
1718 # DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
1724 # set the default shared flag to --disable-shared
1728 # AC_ENABLE_STATIC([DEFAULT])
1729 # ---------------------------
1730 # implement the --enable-static flag
1731 # DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
1737 # set the default static flag to --disable-static
1741 # AC_ENABLE_FAST_INSTALL([DEFAULT])
1742 # ---------------------------------
1743 # implement the --enable-fast-install flag
1744 # DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
1745 # AC_ENABLE_FAST_INSTALL
1748 # AC_DISABLE_FAST_INSTALL
1749 # -----------------------
1750 # set the default to --disable-fast-install
1751 # AC_DISABLE_FAST_INSTALL
1754 # AC_LIBTOOL_PICMODE([MODE])
1755 # --------------------------
1756 # implement the --with-pic flag
1757 # MODE is either `yes' or `no'. If omitted, it defaults to `both'.
1758 # AC_LIBTOOL_PICMODE
1763 # This is predefined starting with Autoconf 2.54, so this conditional
1764 # definition can be removed once we require Autoconf 2.54 or later.
1768 # AC_PATH_TOOL_PREFIX
1769 # -------------------
1770 # find a file program which can recognise shared library
1771 # AC_PATH_TOOL_PREFIX
1776 # find a file program which can recognise a shared library
1782 # find the pathname to the GNU or non-GNU linker
1791 # AC_PROG_LD_RELOAD_FLAG
1792 # ----------------------
1793 # find reload flag for linker
1794 # -- PORTME Some linkers may need a different reload flag.
1795 # AC_PROG_LD_RELOAD_FLAG
1798 # AC_DEPLIBS_CHECK_METHOD
1799 # -----------------------
1800 # how to check for library dependencies
1801 # -- PORTME fill in with the dynamic library characteristics
1802 # AC_DEPLIBS_CHECK_METHOD
1807 # find the pathname to a BSD-compatible name lister
1813 # check for math library
1817 # AC_LIBLTDL_CONVENIENCE([DIRECTORY])
1818 # -----------------------------------
1819 # sets LIBLTDL to the link flags for the libltdl convenience library and
1820 # LTDLINCL to the include flags for the libltdl header and adds
1821 # --enable-ltdl-convenience to the configure arguments. Note that
1822 # AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided,
1823 # it is assumed to be `libltdl'. LIBLTDL will be prefixed with
1824 # '${top_builddir}/' and LTDLINCL will be prefixed with '${top_srcdir}/'
1825 # (note the single quotes!). If your package is not flat and you're not
1826 # using automake, define top_builddir and top_srcdir appropriately in
1828 # AC_LIBLTDL_CONVENIENCE
1831 # AC_LIBLTDL_INSTALLABLE([DIRECTORY])
1832 # -----------------------------------
1833 # sets LIBLTDL to the link flags for the libltdl installable library and
1834 # LTDLINCL to the include flags for the libltdl header and adds
1835 # --enable-ltdl-install to the configure arguments. Note that
1836 # AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided,
1837 # and an installed libltdl is not found, it is assumed to be `libltdl'.
1838 # LIBLTDL will be prefixed with '${top_builddir}/'# and LTDLINCL with
1839 # '${top_srcdir}/' (note the single quotes!). If your package is not
1840 # flat and you're not using automake, define top_builddir and top_srcdir
1841 # appropriately in the Makefiles.
1842 # In the future, this macro may have to be called after AC_PROG_LIBTOOL.
1843 # AC_LIBLTDL_INSTALLABLE
1848 # enable support for C++ libraries
1856 # _LT_AC_PROG_CXXCPP
1857 # ------------------
1858 # _LT_AC_PROG_CXXCPP
1862 # enable support for Fortran 77 libraries
1873 # enable support for GCJ libraries
1884 # enable support for Windows resource files
1888 # AC_LIBTOOL_LANG_C_CONFIG
1889 # ------------------------
1890 # Ensure that the configuration vars for the C compiler are
1891 # suitably defined. Those variables are subsequently used by
1892 # AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
1894 # AC_LIBTOOL_LANG_C_CONFIG
1897 # AC_LIBTOOL_LANG_CXX_CONFIG
1898 # --------------------------
1899 # Ensure that the configuration vars for the C compiler are
1900 # suitably defined. Those variables are subsequently used by
1901 # AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
1903 # AC_LIBTOOL_LANG_CXX_CONFIG
1905 # AC_LIBTOOL_POSTDEP_PREDEP([TAGNAME])
1906 # ------------------------------------
1907 # Figure out "hidden" library dependencies from verbose
1908 # compiler output when linking a shared library.
1909 # Parse the compiler output and extract the necessary
1910 # objects, libraries and library flags.
1911 # AC_LIBTOOL_POSTDEP_PREDEP
1913 # AC_LIBTOOL_LANG_F77_CONFIG
1914 # --------------------------
1915 # Ensure that the configuration vars for the C compiler are
1916 # suitably defined. Those variables are subsequently used by
1917 # AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
1919 # AC_LIBTOOL_LANG_F77_CONFIG
1922 # AC_LIBTOOL_LANG_GCJ_CONFIG
1923 # --------------------------
1924 # Ensure that the configuration vars for the C compiler are
1925 # suitably defined. Those variables are subsequently used by
1926 # AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
1928 # AC_LIBTOOL_LANG_GCJ_CONFIG
1931 # AC_LIBTOOL_LANG_RC_CONFIG
1932 # -------------------------
1933 # Ensure that the configuration vars for the Windows resource compiler are
1934 # suitably defined. Those variables are subsequently used by
1935 # AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
1937 # AC_LIBTOOL_LANG_RC_CONFIG
1940 # AC_LIBTOOL_CONFIG([TAGNAME])
1941 # ----------------------------
1942 # If TAGNAME is not passed, then create an initial libtool script
1943 # with a default configuration from the untagged config vars. Otherwise
1944 # add code to config.status for appending the configuration named by
1945 # TAGNAME from the matching tagged config vars.
1949 # AC_LIBTOOL_PROG_COMPILER_NO_RTTI([TAGNAME])
1950 # -------------------------------------------
1951 # AC_LIBTOOL_PROG_COMPILER_NO_RTTI
1954 # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
1955 # ---------------------------------
1956 # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
1959 # AC_LIBTOOL_PROG_COMPILER_PIC([TAGNAME])
1960 # ---------------------------------------
1964 # AC_LIBTOOL_PROG_LD_SHLIBS([TAGNAME])
1965 # ------------------------------------
1966 # See if the linker supports building shared libraries.
1967 # AC_LIBTOOL_PROG_LD_SHLIBS
1970 # _LT_AC_FILE_LTDLL_C
1971 # -------------------
1972 # Be careful that the start marker always follows a newline.
1973 # _LT_AC_FILE_LTDLL_C
1976 # _LT_AC_TAGVAR(VARNAME, [TAGNAME])
1977 # ---------------------------------
1990 # This is just to silence aclocal about the macro not being used
1997 ############################################################
1998 # NOTE: This macro has been submitted for inclusion into #
1999 # GNU Autoconf as AC_PROG_SED. When it is available in #
2000 # a released version of Autoconf we should remove this #
2001 # macro and use it instead. #
2002 ############################################################
2005 # Check for a fully-functional sed program, that truncates
2006 # as few characters as possible. Prefer GNU sed if found.
2014 # Check whether --enable-shared or --disable-shared was given.
2015 if test "${enable_shared+set}" = set; then
2016 enableval
="$enable_shared"
2017 p
=${PACKAGE-default}
2019 yes) enable_shared
=yes ;;
2020 no
) enable_shared
=no
;;
2023 # Look at the argument we got. We use all the common list separators.
2024 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
2025 for pkg
in $enableval; do
2027 if test "X$pkg" = "X$p"; then
2038 # Check whether --enable-static or --disable-static was given.
2039 if test "${enable_static+set}" = set; then
2040 enableval
="$enable_static"
2041 p
=${PACKAGE-default}
2043 yes) enable_static
=yes ;;
2044 no
) enable_static
=no
;;
2047 # Look at the argument we got. We use all the common list separators.
2048 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
2049 for pkg
in $enableval; do
2051 if test "X$pkg" = "X$p"; then
2062 # Check whether --enable-fast-install or --disable-fast-install was given.
2063 if test "${enable_fast_install+set}" = set; then
2064 enableval
="$enable_fast_install"
2065 p
=${PACKAGE-default}
2067 yes) enable_fast_install
=yes ;;
2068 no
) enable_fast_install
=no
;;
2070 enable_fast_install
=no
2071 # Look at the argument we got. We use all the common list separators.
2072 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
2073 for pkg
in $enableval; do
2075 if test "X$pkg" = "X$p"; then
2076 enable_fast_install
=yes
2083 enable_fast_install
=yes
2086 # Make sure we can run config.sub.
2087 $ac_config_sub sun4
>/dev
/null
2>&1 ||
2088 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2089 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2090 { (exit 1); exit 1; }; }
2092 echo "$as_me:$LINENO: checking build system type" >&5
2093 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2094 if test "${ac_cv_build+set}" = set; then
2095 echo $ECHO_N "(cached) $ECHO_C" >&6
2097 ac_cv_build_alias
=$build_alias
2098 test -z "$ac_cv_build_alias" &&
2099 ac_cv_build_alias
=`$ac_config_guess`
2100 test -z "$ac_cv_build_alias" &&
2101 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2102 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2103 { (exit 1); exit 1; }; }
2104 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
2105 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2106 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2107 { (exit 1); exit 1; }; }
2110 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2111 echo "${ECHO_T}$ac_cv_build" >&6
2113 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2114 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2115 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2118 echo "$as_me:$LINENO: checking host system type" >&5
2119 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2120 if test "${ac_cv_host+set}" = set; then
2121 echo $ECHO_N "(cached) $ECHO_C" >&6
2123 ac_cv_host_alias
=$host_alias
2124 test -z "$ac_cv_host_alias" &&
2125 ac_cv_host_alias
=$ac_cv_build_alias
2126 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
2127 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2128 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2129 { (exit 1); exit 1; }; }
2132 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2133 echo "${ECHO_T}$ac_cv_host" >&6
2135 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2136 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2137 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2141 ac_cpp
='$CPP $CPPFLAGS'
2142 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2143 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2144 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2145 if test -n "$ac_tool_prefix"; then
2146 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2147 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2148 echo "$as_me:$LINENO: checking for $ac_word" >&5
2149 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2150 if test "${ac_cv_prog_CC+set}" = set; then
2151 echo $ECHO_N "(cached) $ECHO_C" >&6
2153 if test -n "$CC"; then
2154 ac_cv_prog_CC
="$CC" # Let the user override the test.
2156 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2160 test -z "$as_dir" && as_dir
=.
2161 for ac_exec_ext
in '' $ac_executable_extensions; do
2162 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2163 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2164 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2173 if test -n "$CC"; then
2174 echo "$as_me:$LINENO: result: $CC" >&5
2175 echo "${ECHO_T}$CC" >&6
2177 echo "$as_me:$LINENO: result: no" >&5
2178 echo "${ECHO_T}no" >&6
2182 if test -z "$ac_cv_prog_CC"; then
2184 # Extract the first word of "gcc", so it can be a program name with args.
2185 set dummy gcc
; ac_word
=$2
2186 echo "$as_me:$LINENO: checking for $ac_word" >&5
2187 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2188 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2189 echo $ECHO_N "(cached) $ECHO_C" >&6
2191 if test -n "$ac_ct_CC"; then
2192 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2194 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2198 test -z "$as_dir" && as_dir
=.
2199 for ac_exec_ext
in '' $ac_executable_extensions; do
2200 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2201 ac_cv_prog_ac_ct_CC
="gcc"
2202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2210 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2211 if test -n "$ac_ct_CC"; then
2212 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2213 echo "${ECHO_T}$ac_ct_CC" >&6
2215 echo "$as_me:$LINENO: result: no" >&5
2216 echo "${ECHO_T}no" >&6
2224 if test -z "$CC"; then
2225 if test -n "$ac_tool_prefix"; then
2226 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2227 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2228 echo "$as_me:$LINENO: checking for $ac_word" >&5
2229 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2230 if test "${ac_cv_prog_CC+set}" = set; then
2231 echo $ECHO_N "(cached) $ECHO_C" >&6
2233 if test -n "$CC"; then
2234 ac_cv_prog_CC
="$CC" # Let the user override the test.
2236 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2240 test -z "$as_dir" && as_dir
=.
2241 for ac_exec_ext
in '' $ac_executable_extensions; do
2242 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2243 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2244 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2253 if test -n "$CC"; then
2254 echo "$as_me:$LINENO: result: $CC" >&5
2255 echo "${ECHO_T}$CC" >&6
2257 echo "$as_me:$LINENO: result: no" >&5
2258 echo "${ECHO_T}no" >&6
2262 if test -z "$ac_cv_prog_CC"; then
2264 # Extract the first word of "cc", so it can be a program name with args.
2265 set dummy cc
; ac_word
=$2
2266 echo "$as_me:$LINENO: checking for $ac_word" >&5
2267 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2268 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2269 echo $ECHO_N "(cached) $ECHO_C" >&6
2271 if test -n "$ac_ct_CC"; then
2272 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2274 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2278 test -z "$as_dir" && as_dir
=.
2279 for ac_exec_ext
in '' $ac_executable_extensions; do
2280 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2281 ac_cv_prog_ac_ct_CC
="cc"
2282 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2290 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2291 if test -n "$ac_ct_CC"; then
2292 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2293 echo "${ECHO_T}$ac_ct_CC" >&6
2295 echo "$as_me:$LINENO: result: no" >&5
2296 echo "${ECHO_T}no" >&6
2305 if test -z "$CC"; then
2306 # Extract the first word of "cc", so it can be a program name with args.
2307 set dummy cc
; ac_word
=$2
2308 echo "$as_me:$LINENO: checking for $ac_word" >&5
2309 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2310 if test "${ac_cv_prog_CC+set}" = set; then
2311 echo $ECHO_N "(cached) $ECHO_C" >&6
2313 if test -n "$CC"; then
2314 ac_cv_prog_CC
="$CC" # Let the user override the test.
2317 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2321 test -z "$as_dir" && as_dir
=.
2322 for ac_exec_ext
in '' $ac_executable_extensions; do
2323 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2324 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2325 ac_prog_rejected
=yes
2329 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2335 if test $ac_prog_rejected = yes; then
2336 # We found a bogon in the path, so make sure we never use it.
2337 set dummy
$ac_cv_prog_CC
2339 if test $# != 0; then
2340 # We chose a different compiler from the bogus one.
2341 # However, it has the same basename, so the bogon will be chosen
2342 # first if we set CC to just the basename; use the full file name.
2344 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2350 if test -n "$CC"; then
2351 echo "$as_me:$LINENO: result: $CC" >&5
2352 echo "${ECHO_T}$CC" >&6
2354 echo "$as_me:$LINENO: result: no" >&5
2355 echo "${ECHO_T}no" >&6
2359 if test -z "$CC"; then
2360 if test -n "$ac_tool_prefix"; then
2363 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2364 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2365 echo "$as_me:$LINENO: checking for $ac_word" >&5
2366 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2367 if test "${ac_cv_prog_CC+set}" = set; then
2368 echo $ECHO_N "(cached) $ECHO_C" >&6
2370 if test -n "$CC"; then
2371 ac_cv_prog_CC
="$CC" # Let the user override the test.
2373 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2377 test -z "$as_dir" && as_dir
=.
2378 for ac_exec_ext
in '' $ac_executable_extensions; do
2379 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2380 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2381 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2390 if test -n "$CC"; then
2391 echo "$as_me:$LINENO: result: $CC" >&5
2392 echo "${ECHO_T}$CC" >&6
2394 echo "$as_me:$LINENO: result: no" >&5
2395 echo "${ECHO_T}no" >&6
2398 test -n "$CC" && break
2401 if test -z "$CC"; then
2405 # Extract the first word of "$ac_prog", so it can be a program name with args.
2406 set dummy
$ac_prog; ac_word
=$2
2407 echo "$as_me:$LINENO: checking for $ac_word" >&5
2408 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2409 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2410 echo $ECHO_N "(cached) $ECHO_C" >&6
2412 if test -n "$ac_ct_CC"; then
2413 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2415 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2419 test -z "$as_dir" && as_dir
=.
2420 for ac_exec_ext
in '' $ac_executable_extensions; do
2421 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2422 ac_cv_prog_ac_ct_CC
="$ac_prog"
2423 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2431 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2432 if test -n "$ac_ct_CC"; then
2433 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2434 echo "${ECHO_T}$ac_ct_CC" >&6
2436 echo "$as_me:$LINENO: result: no" >&5
2437 echo "${ECHO_T}no" >&6
2440 test -n "$ac_ct_CC" && break
2449 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2450 See \`config.log' for more details." >&5
2451 echo "$as_me: error: no acceptable C compiler found in \$PATH
2452 See \`config.log' for more details." >&2;}
2453 { (exit 1); exit 1; }; }
2455 # Provide some information about the compiler.
2456 echo "$as_me:$LINENO:" \
2457 "checking for C compiler version" >&5
2458 ac_compiler
=`set X $ac_compile; echo $2`
2459 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2460 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2463 (exit $ac_status); }
2464 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2465 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2468 (exit $ac_status); }
2469 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2470 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2473 (exit $ac_status); }
2475 cat >conftest.
$ac_ext <<_ACEOF
2478 cat confdefs.h
>>conftest.
$ac_ext
2479 cat >>conftest.
$ac_ext <<_ACEOF
2480 /* end confdefs.h. */
2490 ac_clean_files_save
=$ac_clean_files
2491 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2492 # Try to create an executable without -o first, disregard a.out.
2493 # It will help us diagnose broken compilers, and finding out an intuition
2495 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2496 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2497 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2498 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2499 (eval $ac_link_default) 2>&5
2501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2502 (exit $ac_status); }; then
2503 # Find the output, starting from the most likely. This scheme is
2504 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2507 # Be careful to initialize this variable, since it used to be cached.
2508 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2510 # b.out is created by i960 compilers.
2511 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2513 test -f "$ac_file" ||
continue
2515 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2518 # This is the source file.
2521 # We found the default executable, but exeext='' is most
2525 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2526 # FIXME: I believe we export ac_cv_exeext for Libtool,
2527 # but it would be cool to find out if it's true. Does anybody
2528 # maintain Libtool? --akim.
2536 echo "$as_me: failed program was:" >&5
2537 sed 's/^/| /' conftest.
$ac_ext >&5
2539 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2540 See \`config.log' for more details." >&5
2541 echo "$as_me: error: C compiler cannot create executables
2542 See \`config.log' for more details." >&2;}
2543 { (exit 77); exit 77; }; }
2546 ac_exeext
=$ac_cv_exeext
2547 echo "$as_me:$LINENO: result: $ac_file" >&5
2548 echo "${ECHO_T}$ac_file" >&6
2550 # Check the compiler produces executables we can run. If not, either
2551 # the compiler is broken, or we cross compile.
2552 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2553 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2554 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2555 # If not cross compiling, check that we can run a simple program.
2556 if test "$cross_compiling" != yes; then
2557 if { ac_try
='./$ac_file'
2558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2562 (exit $ac_status); }; }; then
2565 if test "$cross_compiling" = maybe
; then
2568 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2569 If you meant to cross compile, use \`--host'.
2570 See \`config.log' for more details." >&5
2571 echo "$as_me: error: cannot run C compiled programs.
2572 If you meant to cross compile, use \`--host'.
2573 See \`config.log' for more details." >&2;}
2574 { (exit 1); exit 1; }; }
2578 echo "$as_me:$LINENO: result: yes" >&5
2579 echo "${ECHO_T}yes" >&6
2581 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2582 ac_clean_files
=$ac_clean_files_save
2583 # Check the compiler produces executables we can run. If not, either
2584 # the compiler is broken, or we cross compile.
2585 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2586 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2587 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2588 echo "${ECHO_T}$cross_compiling" >&6
2590 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2591 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2593 (eval $ac_link) 2>&5
2595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2596 (exit $ac_status); }; then
2597 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2598 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2599 # work properly (i.e., refer to `conftest.exe'), while it won't with
2601 for ac_file
in conftest.exe conftest conftest.
*; do
2602 test -f "$ac_file" ||
continue
2604 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2605 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2612 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2613 See \`config.log' for more details." >&5
2614 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2615 See \`config.log' for more details." >&2;}
2616 { (exit 1); exit 1; }; }
2619 rm -f conftest
$ac_cv_exeext
2620 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2621 echo "${ECHO_T}$ac_cv_exeext" >&6
2623 rm -f conftest.
$ac_ext
2624 EXEEXT
=$ac_cv_exeext
2626 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2627 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2628 if test "${ac_cv_objext+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. */
2646 rm -f conftest.o conftest.obj
2647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2648 (eval $ac_compile) 2>&5
2650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2651 (exit $ac_status); }; then
2652 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2654 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2655 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2660 echo "$as_me: failed program was:" >&5
2661 sed 's/^/| /' conftest.
$ac_ext >&5
2663 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2664 See \`config.log' for more details." >&5
2665 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2666 See \`config.log' for more details." >&2;}
2667 { (exit 1); exit 1; }; }
2670 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2672 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2673 echo "${ECHO_T}$ac_cv_objext" >&6
2674 OBJEXT
=$ac_cv_objext
2676 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2677 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2678 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2679 echo $ECHO_N "(cached) $ECHO_C" >&6
2681 cat >conftest.
$ac_ext <<_ACEOF
2684 cat confdefs.h
>>conftest.
$ac_ext
2685 cat >>conftest.
$ac_ext <<_ACEOF
2686 /* end confdefs.h. */
2699 rm -f conftest.
$ac_objext
2700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2701 (eval $ac_compile) 2>conftest.er1
2703 grep -v '^ *+' conftest.er1
>conftest.err
2705 cat conftest.err
>&5
2706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2707 (exit $ac_status); } &&
2708 { ac_try
='test -z "$ac_c_werror_flag"
2709 || test ! -s conftest.err'
2710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2714 (exit $ac_status); }; } &&
2715 { ac_try
='test -s conftest.$ac_objext'
2716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2720 (exit $ac_status); }; }; then
2723 echo "$as_me: failed program was:" >&5
2724 sed 's/^/| /' conftest.
$ac_ext >&5
2728 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2729 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2732 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2733 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2734 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2735 ac_test_CFLAGS
=${CFLAGS+set}
2736 ac_save_CFLAGS
=$CFLAGS
2738 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2739 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2740 if test "${ac_cv_prog_cc_g+set}" = set; then
2741 echo $ECHO_N "(cached) $ECHO_C" >&6
2743 cat >conftest.
$ac_ext <<_ACEOF
2746 cat confdefs.h
>>conftest.
$ac_ext
2747 cat >>conftest.
$ac_ext <<_ACEOF
2748 /* end confdefs.h. */
2758 rm -f conftest.
$ac_objext
2759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2760 (eval $ac_compile) 2>conftest.er1
2762 grep -v '^ *+' conftest.er1
>conftest.err
2764 cat conftest.err
>&5
2765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2766 (exit $ac_status); } &&
2767 { ac_try
='test -z "$ac_c_werror_flag"
2768 || test ! -s conftest.err'
2769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2773 (exit $ac_status); }; } &&
2774 { ac_try
='test -s conftest.$ac_objext'
2775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2779 (exit $ac_status); }; }; then
2782 echo "$as_me: failed program was:" >&5
2783 sed 's/^/| /' conftest.
$ac_ext >&5
2787 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2789 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2790 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2791 if test "$ac_test_CFLAGS" = set; then
2792 CFLAGS
=$ac_save_CFLAGS
2793 elif test $ac_cv_prog_cc_g = yes; then
2794 if test "$GCC" = yes; then
2800 if test "$GCC" = yes; then
2806 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2807 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2808 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2809 echo $ECHO_N "(cached) $ECHO_C" >&6
2811 ac_cv_prog_cc_stdc
=no
2813 cat >conftest.
$ac_ext <<_ACEOF
2816 cat confdefs.h
>>conftest.
$ac_ext
2817 cat >>conftest.
$ac_ext <<_ACEOF
2818 /* end confdefs.h. */
2821 #include <sys/types.h>
2822 #include <sys/stat.h>
2823 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2824 struct buf { int x; };
2825 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2826 static char *e (p, i)
2832 static char *f (char * (*g) (char **, int), char **p, ...)
2837 s = g (p, va_arg (v,int));
2842 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2843 function prototypes and stuff, but not '\xHH' hex character constants.
2844 These don't provoke an error unfortunately, instead are silently treated
2845 as 'x'. The following induces an error, until -std1 is added to get
2846 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2847 array size at least. It's necessary to write '\x00'==0 to get something
2848 that's true only with -std1. */
2849 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2851 int test (int i, double x);
2852 struct s1 {int (*f) (int a);};
2853 struct s2 {int (*f) (double a);};
2854 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2860 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2865 # Don't try gcc -ansi; that turns off useful extensions and
2866 # breaks some systems' header files.
2867 # AIX -qlanglvl=ansi
2868 # Ultrix and OSF/1 -std1
2869 # HP-UX 10.20 and later -Ae
2870 # HP-UX older versions -Aa -D_HPUX_SOURCE
2871 # SVR4 -Xc -D__EXTENSIONS__
2872 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2874 CC
="$ac_save_CC $ac_arg"
2875 rm -f conftest.
$ac_objext
2876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2877 (eval $ac_compile) 2>conftest.er1
2879 grep -v '^ *+' conftest.er1
>conftest.err
2881 cat conftest.err
>&5
2882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2883 (exit $ac_status); } &&
2884 { ac_try
='test -z "$ac_c_werror_flag"
2885 || test ! -s conftest.err'
2886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2890 (exit $ac_status); }; } &&
2891 { ac_try
='test -s conftest.$ac_objext'
2892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2896 (exit $ac_status); }; }; then
2897 ac_cv_prog_cc_stdc
=$ac_arg
2900 echo "$as_me: failed program was:" >&5
2901 sed 's/^/| /' conftest.
$ac_ext >&5
2904 rm -f conftest.err conftest.
$ac_objext
2906 rm -f conftest.
$ac_ext conftest.
$ac_objext
2911 case "x$ac_cv_prog_cc_stdc" in
2913 echo "$as_me:$LINENO: result: none needed" >&5
2914 echo "${ECHO_T}none needed" >&6 ;;
2916 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2917 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2918 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2921 # Some people use a C++ compiler to compile C. Since we use `exit',
2922 # in C++ we need to declare it. In case someone uses the same compiler
2923 # for both compiling C and C++ we need to have the C++ compiler decide
2924 # the declaration of exit, since it's the most demanding environment.
2925 cat >conftest.
$ac_ext <<_ACEOF
2930 rm -f conftest.
$ac_objext
2931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2932 (eval $ac_compile) 2>conftest.er1
2934 grep -v '^ *+' conftest.er1
>conftest.err
2936 cat conftest.err
>&5
2937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2938 (exit $ac_status); } &&
2939 { ac_try
='test -z "$ac_c_werror_flag"
2940 || test ! -s conftest.err'
2941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2945 (exit $ac_status); }; } &&
2946 { ac_try
='test -s conftest.$ac_objext'
2947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2951 (exit $ac_status); }; }; then
2952 for ac_declaration
in \
2954 'extern "C" void std::exit (int) throw (); using std::exit;' \
2955 'extern "C" void std::exit (int); using std::exit;' \
2956 'extern "C" void exit (int) throw ();' \
2957 'extern "C" void exit (int);' \
2960 cat >conftest.
$ac_ext <<_ACEOF
2963 cat confdefs.h
>>conftest.
$ac_ext
2964 cat >>conftest.
$ac_ext <<_ACEOF
2965 /* end confdefs.h. */
2976 rm -f conftest.
$ac_objext
2977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2978 (eval $ac_compile) 2>conftest.er1
2980 grep -v '^ *+' conftest.er1
>conftest.err
2982 cat conftest.err
>&5
2983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2984 (exit $ac_status); } &&
2985 { ac_try
='test -z "$ac_c_werror_flag"
2986 || test ! -s conftest.err'
2987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2991 (exit $ac_status); }; } &&
2992 { ac_try
='test -s conftest.$ac_objext'
2993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2997 (exit $ac_status); }; }; then
3000 echo "$as_me: failed program was:" >&5
3001 sed 's/^/| /' conftest.
$ac_ext >&5
3005 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3006 cat >conftest.
$ac_ext <<_ACEOF
3009 cat confdefs.h
>>conftest.
$ac_ext
3010 cat >>conftest.
$ac_ext <<_ACEOF
3011 /* end confdefs.h. */
3021 rm -f conftest.
$ac_objext
3022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3023 (eval $ac_compile) 2>conftest.er1
3025 grep -v '^ *+' conftest.er1
>conftest.err
3027 cat conftest.err
>&5
3028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3029 (exit $ac_status); } &&
3030 { ac_try
='test -z "$ac_c_werror_flag"
3031 || test ! -s conftest.err'
3032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3036 (exit $ac_status); }; } &&
3037 { ac_try
='test -s conftest.$ac_objext'
3038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3042 (exit $ac_status); }; }; then
3045 echo "$as_me: failed program was:" >&5
3046 sed 's/^/| /' conftest.
$ac_ext >&5
3049 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3052 if test -n "$ac_declaration"; then
3053 echo '#ifdef __cplusplus' >>confdefs.h
3054 echo $ac_declaration >>confdefs.h
3055 echo '#endif' >>confdefs.h
3059 echo "$as_me: failed program was:" >&5
3060 sed 's/^/| /' conftest.
$ac_ext >&5
3063 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3065 ac_cpp
='$CPP $CPPFLAGS'
3066 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3067 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3068 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3070 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3071 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3072 if test "${lt_cv_path_SED+set}" = set; then
3073 echo $ECHO_N "(cached) $ECHO_C" >&6
3075 # Loop through the user's path and test for sed and gsed.
3076 # Then use that list of sed's as ones to test for truncation.
3077 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3081 test -z "$as_dir" && as_dir
=.
3082 for lt_ac_prog
in sed gsed
; do
3083 for ac_exec_ext
in '' $ac_executable_extensions; do
3084 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3085 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3092 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3093 # along with /bin/sed that truncates output.
3094 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
3095 test ! -f $lt_ac_sed && continue
3096 cat /dev
/null
> conftest.
in
3098 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
3099 # Check for GNU sed and select it if it is found.
3100 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
3101 lt_cv_path_SED
=$lt_ac_sed
3105 cat conftest.
in conftest.
in >conftest.tmp
3106 mv conftest.tmp conftest.
in
3107 cp conftest.
in conftest.
nl
3109 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
3110 cmp -s conftest.out conftest.
nl ||
break
3111 # 10000 chars as input seems more than enough
3112 test $lt_ac_count -gt 10 && break
3113 lt_ac_count
=`expr $lt_ac_count + 1`
3114 if test $lt_ac_count -gt $lt_ac_max; then
3115 lt_ac_max
=$lt_ac_count
3116 lt_cv_path_SED
=$lt_ac_sed
3124 echo "$as_me:$LINENO: result: $SED" >&5
3125 echo "${ECHO_T}$SED" >&6
3127 echo "$as_me:$LINENO: checking for egrep" >&5
3128 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3129 if test "${ac_cv_prog_egrep+set}" = set; then
3130 echo $ECHO_N "(cached) $ECHO_C" >&6
3132 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3133 then ac_cv_prog_egrep
='grep -E'
3134 else ac_cv_prog_egrep
='egrep'
3137 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3138 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3139 EGREP
=$ac_cv_prog_egrep
3143 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3144 if test "${with_gnu_ld+set}" = set; then
3145 withval
="$with_gnu_ld"
3146 test "$withval" = no || with_gnu_ld
=yes
3151 if test "$GCC" = yes; then
3152 # Check if gcc -print-prog-name=ld gives a path.
3153 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3154 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
3157 # gcc leaves a trailing carriage return which upsets mingw
3158 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3160 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3163 # Accept absolute paths.
3165 re_direlt
='/[^/][^/]*/\.\./'
3166 # Canonicalize the pathname of ld
3167 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
3168 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
3169 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
3171 test -z "$LD" && LD
="$ac_prog"
3174 # If it fails, then pretend we aren't using GCC.
3178 # If it is relative, then search for the first ld in PATH.
3182 elif test "$with_gnu_ld" = yes; then
3183 echo "$as_me:$LINENO: checking for GNU ld" >&5
3184 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3186 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3187 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3189 if test "${lt_cv_path_LD+set}" = set; then
3190 echo $ECHO_N "(cached) $ECHO_C" >&6
3192 if test -z "$LD"; then
3193 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
3194 for ac_dir
in $PATH; do
3196 test -z "$ac_dir" && ac_dir
=.
3197 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3198 lt_cv_path_LD
="$ac_dir/$ac_prog"
3199 # Check to see if the program is GNU ld. I'd rather use --version,
3200 # but apparently some variants of GNU ld only accept -v.
3201 # Break only if it was the GNU/non-GNU ld that we prefer.
3202 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3203 *GNU
* |
*'with BFD'*)
3204 test "$with_gnu_ld" != no
&& break
3207 test "$with_gnu_ld" != yes && break
3214 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3219 if test -n "$LD"; then
3220 echo "$as_me:$LINENO: result: $LD" >&5
3221 echo "${ECHO_T}$LD" >&6
3223 echo "$as_me:$LINENO: result: no" >&5
3224 echo "${ECHO_T}no" >&6
3226 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3227 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3228 { (exit 1); exit 1; }; }
3229 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3230 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3231 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3232 echo $ECHO_N "(cached) $ECHO_C" >&6
3234 # I'd rather use --version here, but apparently some GNU lds only accept -v.
3235 case `$LD -v 2>&1 </dev/null` in
3236 *GNU
* |
*'with BFD'*)
3237 lt_cv_prog_gnu_ld
=yes
3240 lt_cv_prog_gnu_ld
=no
3244 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3245 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3246 with_gnu_ld
=$lt_cv_prog_gnu_ld
3249 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3250 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3251 if test "${lt_cv_ld_reload_flag+set}" = set; then
3252 echo $ECHO_N "(cached) $ECHO_C" >&6
3254 lt_cv_ld_reload_flag
='-r'
3256 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3257 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3258 reload_flag
=$lt_cv_ld_reload_flag
3259 case $reload_flag in
3261 *) reload_flag
=" $reload_flag" ;;
3263 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
3266 if test "$GCC" = yes; then
3267 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
3269 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
3274 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3275 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3276 if test "${lt_cv_path_NM+set}" = set; then
3277 echo $ECHO_N "(cached) $ECHO_C" >&6
3279 if test -n "$NM"; then
3280 # Let the user override the test.
3283 lt_nm_to_check
="${ac_tool_prefix}nm"
3284 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3285 lt_nm_to_check
="$lt_nm_to_check nm"
3287 for lt_tmp_nm
in $lt_nm_to_check; do
3288 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
3289 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
3291 test -z "$ac_dir" && ac_dir
=.
3292 tmp_nm
="$ac_dir/$lt_tmp_nm"
3293 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
3294 # Check to see if the nm accepts a BSD-compat flag.
3295 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3296 # nm: unknown option "B" ignored
3297 # Tru64's nm complains that /dev/null is an invalid object file
3298 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3299 */dev
/null
* |
*'Invalid file or object type'*)
3300 lt_cv_path_NM
="$tmp_nm -B"
3304 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3306 lt_cv_path_NM
="$tmp_nm -p"
3310 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3311 continue # so that we can try to find one that supports BSD flags
3320 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
3323 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
3324 echo "${ECHO_T}$lt_cv_path_NM" >&6
3327 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3328 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3330 if test "$LN_S" = "ln -s"; then
3331 echo "$as_me:$LINENO: result: yes" >&5
3332 echo "${ECHO_T}yes" >&6
3334 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3335 echo "${ECHO_T}no, using $LN_S" >&6
3338 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
3339 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
3340 if test "${lt_cv_deplibs_check_method+set}" = set; then
3341 echo $ECHO_N "(cached) $ECHO_C" >&6
3343 lt_cv_file_magic_cmd
='$MAGIC_CMD'
3344 lt_cv_file_magic_test_file
=
3345 lt_cv_deplibs_check_method
='unknown'
3346 # Need to set the preceding variable on all platforms that support
3347 # interlibrary dependencies.
3348 # 'none' -- dependencies not supported.
3349 # `unknown' -- same as none, but documents that we really don't know.
3350 # 'pass_all' -- all dependencies passed with no checks.
3351 # 'test_compile' -- check by making test program.
3352 # 'file_magic [[regex]]' -- check by looking for files in library path
3353 # which responds to the $file_magic_cmd with a given extended regex.
3354 # If you have `file' or equivalent on your system and you're not sure
3355 # whether `pass_all' will *always* work, you probably want this one.
3359 lt_cv_deplibs_check_method
=pass_all
3363 lt_cv_deplibs_check_method
=pass_all
3367 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3368 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3369 lt_cv_file_magic_test_file
=/shlib
/libc.so
3373 # func_win32_libid is a shell function defined in ltmain.sh
3374 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
3375 lt_cv_file_magic_cmd
='func_win32_libid'
3379 # Base MSYS/MinGW do not provide the 'file' command needed by
3380 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
3381 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
3382 lt_cv_file_magic_cmd
='$OBJDUMP -f'
3385 darwin
* | rhapsody
*)
3386 lt_cv_deplibs_check_method
=pass_all
3389 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
3390 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3393 # Not sure whether the presence of OpenBSD here was a mistake.
3394 # Let's accept both of them until this is cleared up.
3395 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
3396 lt_cv_file_magic_cmd
=/usr
/bin
/file
3397 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3401 lt_cv_deplibs_check_method
=pass_all
3406 lt_cv_deplibs_check_method
=pass_all
3409 hpux10.20
* | hpux11
*)
3410 lt_cv_file_magic_cmd
=/usr
/bin
/file
3413 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3414 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
3417 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]'
3418 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
3421 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3422 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
3428 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
3429 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
3432 irix5
* | irix6
* | nonstopux
*)
3434 *-32|
*"-32 ") libmagic
=32-bit;;
3435 *-n32|
*"-n32 ") libmagic
=N32
;;
3436 *-64|
*"-64 ") libmagic
=64-bit;;
3437 *) libmagic
=never-match
;;
3439 lt_cv_deplibs_check_method
=pass_all
3442 # This must be Linux ELF.
3444 lt_cv_deplibs_check_method
=pass_all
3448 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3449 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
3451 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
3456 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3457 lt_cv_file_magic_cmd
=/usr
/bin
/file
3458 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
3462 lt_cv_deplibs_check_method
=unknown
3466 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
3467 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
3469 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
3473 osf3
* | osf4
* | osf5
*)
3474 lt_cv_deplibs_check_method
=pass_all
3478 lt_cv_deplibs_check_method
=pass_all
3482 case $host_vendor in
3484 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]'
3485 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
3488 lt_cv_deplibs_check_method
=pass_all
3491 lt_cv_file_magic_cmd
='/bin/file'
3492 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
3495 lt_cv_file_magic_cmd
='/bin/file'
3496 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
3497 lt_cv_file_magic_test_file
=/lib
/libc.so
3500 lt_cv_deplibs_check_method
=pass_all
3503 lt_cv_deplibs_check_method
=pass_all
3508 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
3509 lt_cv_deplibs_check_method
=pass_all
3514 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3515 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3516 file_magic_cmd
=$lt_cv_file_magic_cmd
3517 deplibs_check_method
=$lt_cv_deplibs_check_method
3518 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
3523 # If no C compiler was specified, use CC.
3526 # If no C compiler flags were specified, use CFLAGS.
3527 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
3529 # Allow CC to be a program name with arguments.
3533 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
3534 if test "${enable_libtool_lock+set}" = set; then
3535 enableval
="$enable_libtool_lock"
3538 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
3540 # Some flags need to be propagated to the compiler or linker for good
3544 # Find out which ABI we are using.
3545 echo 'int i;' > conftest.
$ac_ext
3546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3547 (eval $ac_compile) 2>&5
3549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3550 (exit $ac_status); }; then
3551 case `/usr/bin/file conftest.$ac_objext` in
3563 # Find out which ABI we are using.
3564 echo '#line 3564 "configure"' > conftest.
$ac_ext
3565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3566 (eval $ac_compile) 2>&5
3568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3569 (exit $ac_status); }; then
3570 if test "$lt_cv_prog_gnu_ld" = yes; then
3571 case `/usr/bin/file conftest.$ac_objext` in
3573 LD
="${LD-ld} -melf32bsmip"
3576 LD
="${LD-ld} -melf32bmipn32"
3579 LD
="${LD-ld} -melf64bmip"
3583 case `/usr/bin/file conftest.$ac_objext` in
3599 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
3600 # Find out which ABI we are using.
3601 echo 'int i;' > conftest.
$ac_ext
3602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3603 (eval $ac_compile) 2>&5
3605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3606 (exit $ac_status); }; then
3607 case `/usr/bin/file conftest.o` in
3611 LD
="${LD-ld} -m elf_i386"
3613 ppc64-
*linux
*|powerpc64-
*linux
*)
3614 LD
="${LD-ld} -m elf32ppclinux"
3617 LD
="${LD-ld} -m elf_s390"
3620 LD
="${LD-ld} -m elf32_sparc"
3627 LD
="${LD-ld} -m elf_x86_64"
3629 ppc
*-*linux
*|powerpc
*-*linux
*)
3630 LD
="${LD-ld} -m elf64ppc"
3633 LD
="${LD-ld} -m elf64_s390"
3636 LD
="${LD-ld} -m elf64_sparc"
3646 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
3647 SAVE_CFLAGS
="$CFLAGS"
3648 CFLAGS
="$CFLAGS -belf"
3649 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
3650 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
3651 if test "${lt_cv_cc_needs_belf+set}" = set; then
3652 echo $ECHO_N "(cached) $ECHO_C" >&6
3655 ac_cpp
='$CPP $CPPFLAGS'
3656 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3657 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3658 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3660 cat >conftest.
$ac_ext <<_ACEOF
3663 cat confdefs.h
>>conftest.
$ac_ext
3664 cat >>conftest.
$ac_ext <<_ACEOF
3665 /* end confdefs.h. */
3675 rm -f conftest.
$ac_objext conftest
$ac_exeext
3676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3677 (eval $ac_link) 2>conftest.er1
3679 grep -v '^ *+' conftest.er1
>conftest.err
3681 cat conftest.err
>&5
3682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3683 (exit $ac_status); } &&
3684 { ac_try
='test -z "$ac_c_werror_flag"
3685 || test ! -s conftest.err'
3686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3690 (exit $ac_status); }; } &&
3691 { ac_try
='test -s conftest$ac_exeext'
3692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3696 (exit $ac_status); }; }; then
3697 lt_cv_cc_needs_belf
=yes
3699 echo "$as_me: failed program was:" >&5
3700 sed 's/^/| /' conftest.
$ac_ext >&5
3702 lt_cv_cc_needs_belf
=no
3704 rm -f conftest.err conftest.
$ac_objext \
3705 conftest
$ac_exeext conftest.
$ac_ext
3707 ac_cpp
='$CPP $CPPFLAGS'
3708 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3709 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3710 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3713 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
3714 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
3715 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
3716 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
3717 CFLAGS
="$SAVE_CFLAGS"
3721 # Find out which ABI we are using.
3722 echo 'int i;' > conftest.
$ac_ext
3723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3724 (eval $ac_compile) 2>&5
3726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3727 (exit $ac_status); }; then
3728 case `/usr/bin/file conftest.o` in
3730 case $lt_cv_prog_gnu_ld in
3731 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
3732 *) LD
="${LD-ld} -64" ;;
3740 *-*-cygwin* |
*-*-mingw* |
*-*-pw32*)
3741 if test -n "$ac_tool_prefix"; then
3742 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
3743 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
3744 echo "$as_me:$LINENO: checking for $ac_word" >&5
3745 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3746 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
3747 echo $ECHO_N "(cached) $ECHO_C" >&6
3749 if test -n "$DLLTOOL"; then
3750 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
3752 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3756 test -z "$as_dir" && as_dir
=.
3757 for ac_exec_ext
in '' $ac_executable_extensions; do
3758 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3759 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
3760 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3768 DLLTOOL
=$ac_cv_prog_DLLTOOL
3769 if test -n "$DLLTOOL"; then
3770 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
3771 echo "${ECHO_T}$DLLTOOL" >&6
3773 echo "$as_me:$LINENO: result: no" >&5
3774 echo "${ECHO_T}no" >&6
3778 if test -z "$ac_cv_prog_DLLTOOL"; then
3779 ac_ct_DLLTOOL
=$DLLTOOL
3780 # Extract the first word of "dlltool", so it can be a program name with args.
3781 set dummy dlltool
; ac_word
=$2
3782 echo "$as_me:$LINENO: checking for $ac_word" >&5
3783 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3784 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
3785 echo $ECHO_N "(cached) $ECHO_C" >&6
3787 if test -n "$ac_ct_DLLTOOL"; then
3788 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
3790 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3794 test -z "$as_dir" && as_dir
=.
3795 for ac_exec_ext
in '' $ac_executable_extensions; do
3796 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3797 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
3798 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3804 test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL
="false"
3807 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
3808 if test -n "$ac_ct_DLLTOOL"; then
3809 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
3810 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
3812 echo "$as_me:$LINENO: result: no" >&5
3813 echo "${ECHO_T}no" >&6
3816 DLLTOOL
=$ac_ct_DLLTOOL
3818 DLLTOOL
="$ac_cv_prog_DLLTOOL"
3821 if test -n "$ac_tool_prefix"; then
3822 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3823 set dummy
${ac_tool_prefix}as
; ac_word
=$2
3824 echo "$as_me:$LINENO: checking for $ac_word" >&5
3825 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3826 if test "${ac_cv_prog_AS+set}" = set; then
3827 echo $ECHO_N "(cached) $ECHO_C" >&6
3829 if test -n "$AS"; then
3830 ac_cv_prog_AS
="$AS" # Let the user override the test.
3832 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3836 test -z "$as_dir" && as_dir
=.
3837 for ac_exec_ext
in '' $ac_executable_extensions; do
3838 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3839 ac_cv_prog_AS
="${ac_tool_prefix}as"
3840 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3849 if test -n "$AS"; then
3850 echo "$as_me:$LINENO: result: $AS" >&5
3851 echo "${ECHO_T}$AS" >&6
3853 echo "$as_me:$LINENO: result: no" >&5
3854 echo "${ECHO_T}no" >&6
3858 if test -z "$ac_cv_prog_AS"; then
3860 # Extract the first word of "as", so it can be a program name with args.
3861 set dummy as
; ac_word
=$2
3862 echo "$as_me:$LINENO: checking for $ac_word" >&5
3863 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3864 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3865 echo $ECHO_N "(cached) $ECHO_C" >&6
3867 if test -n "$ac_ct_AS"; then
3868 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
3870 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3874 test -z "$as_dir" && as_dir
=.
3875 for ac_exec_ext
in '' $ac_executable_extensions; do
3876 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3877 ac_cv_prog_ac_ct_AS
="as"
3878 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3884 test -z "$ac_cv_prog_ac_ct_AS" && ac_cv_prog_ac_ct_AS
="false"
3887 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
3888 if test -n "$ac_ct_AS"; then
3889 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3890 echo "${ECHO_T}$ac_ct_AS" >&6
3892 echo "$as_me:$LINENO: result: no" >&5
3893 echo "${ECHO_T}no" >&6
3901 if test -n "$ac_tool_prefix"; then
3902 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
3903 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
3904 echo "$as_me:$LINENO: checking for $ac_word" >&5
3905 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3906 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
3907 echo $ECHO_N "(cached) $ECHO_C" >&6
3909 if test -n "$OBJDUMP"; then
3910 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
3912 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3916 test -z "$as_dir" && as_dir
=.
3917 for ac_exec_ext
in '' $ac_executable_extensions; do
3918 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3919 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
3920 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3928 OBJDUMP
=$ac_cv_prog_OBJDUMP
3929 if test -n "$OBJDUMP"; then
3930 echo "$as_me:$LINENO: result: $OBJDUMP" >&5
3931 echo "${ECHO_T}$OBJDUMP" >&6
3933 echo "$as_me:$LINENO: result: no" >&5
3934 echo "${ECHO_T}no" >&6
3938 if test -z "$ac_cv_prog_OBJDUMP"; then
3939 ac_ct_OBJDUMP
=$OBJDUMP
3940 # Extract the first word of "objdump", so it can be a program name with args.
3941 set dummy objdump
; ac_word
=$2
3942 echo "$as_me:$LINENO: checking for $ac_word" >&5
3943 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3944 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
3945 echo $ECHO_N "(cached) $ECHO_C" >&6
3947 if test -n "$ac_ct_OBJDUMP"; then
3948 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
3950 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3954 test -z "$as_dir" && as_dir
=.
3955 for ac_exec_ext
in '' $ac_executable_extensions; do
3956 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3957 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
3958 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3964 test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP
="false"
3967 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
3968 if test -n "$ac_ct_OBJDUMP"; then
3969 echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
3970 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
3972 echo "$as_me:$LINENO: result: no" >&5
3973 echo "${ECHO_T}no" >&6
3976 OBJDUMP
=$ac_ct_OBJDUMP
3978 OBJDUMP
="$ac_cv_prog_OBJDUMP"
3985 need_locks
="$enable_libtool_lock"
3989 ac_cpp
='$CPP $CPPFLAGS'
3990 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3991 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3992 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3993 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3994 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3995 # On Suns, sometimes $CPP names a directory.
3996 if test -n "$CPP" && test -d "$CPP"; then
3999 if test -z "$CPP"; then
4000 if test "${ac_cv_prog_CPP+set}" = set; then
4001 echo $ECHO_N "(cached) $ECHO_C" >&6
4003 # Double quotes because CPP needs to be expanded
4004 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4007 for ac_c_preproc_warn_flag
in '' yes
4009 # Use a header file that comes with gcc, so configuring glibc
4010 # with a fresh cross-compiler works.
4011 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4012 # <limits.h> exists even on freestanding compilers.
4013 # On the NeXT, cc -E runs the code through the compiler's parser,
4014 # not just through cpp. "Syntax error" is here to catch this case.
4015 cat >conftest.
$ac_ext <<_ACEOF
4018 cat confdefs.h
>>conftest.
$ac_ext
4019 cat >>conftest.
$ac_ext <<_ACEOF
4020 /* end confdefs.h. */
4022 # include <limits.h>
4024 # include <assert.h>
4028 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4029 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4031 grep -v '^ *+' conftest.er1
>conftest.err
4033 cat conftest.err
>&5
4034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4035 (exit $ac_status); } >/dev
/null
; then
4036 if test -s conftest.err
; then
4037 ac_cpp_err
=$ac_c_preproc_warn_flag
4038 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4045 if test -z "$ac_cpp_err"; then
4048 echo "$as_me: failed program was:" >&5
4049 sed 's/^/| /' conftest.
$ac_ext >&5
4051 # Broken: fails on valid input.
4054 rm -f conftest.err conftest.
$ac_ext
4056 # OK, works on sane cases. Now check whether non-existent headers
4057 # can be detected and how.
4058 cat >conftest.
$ac_ext <<_ACEOF
4061 cat confdefs.h
>>conftest.
$ac_ext
4062 cat >>conftest.
$ac_ext <<_ACEOF
4063 /* end confdefs.h. */
4064 #include <ac_nonexistent.h>
4066 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4067 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4069 grep -v '^ *+' conftest.er1
>conftest.err
4071 cat conftest.err
>&5
4072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4073 (exit $ac_status); } >/dev
/null
; then
4074 if test -s conftest.err
; then
4075 ac_cpp_err
=$ac_c_preproc_warn_flag
4076 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4083 if test -z "$ac_cpp_err"; then
4084 # Broken: success on invalid input.
4087 echo "$as_me: failed program was:" >&5
4088 sed 's/^/| /' conftest.
$ac_ext >&5
4090 # Passes both tests.
4094 rm -f conftest.err conftest.
$ac_ext
4097 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4098 rm -f conftest.err conftest.
$ac_ext
4099 if $ac_preproc_ok; then
4111 echo "$as_me:$LINENO: result: $CPP" >&5
4112 echo "${ECHO_T}$CPP" >&6
4114 for ac_c_preproc_warn_flag
in '' yes
4116 # Use a header file that comes with gcc, so configuring glibc
4117 # with a fresh cross-compiler works.
4118 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4119 # <limits.h> exists even on freestanding compilers.
4120 # On the NeXT, cc -E runs the code through the compiler's parser,
4121 # not just through cpp. "Syntax error" is here to catch this case.
4122 cat >conftest.
$ac_ext <<_ACEOF
4125 cat confdefs.h
>>conftest.
$ac_ext
4126 cat >>conftest.
$ac_ext <<_ACEOF
4127 /* end confdefs.h. */
4129 # include <limits.h>
4131 # include <assert.h>
4135 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4136 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4138 grep -v '^ *+' conftest.er1
>conftest.err
4140 cat conftest.err
>&5
4141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4142 (exit $ac_status); } >/dev
/null
; then
4143 if test -s conftest.err
; then
4144 ac_cpp_err
=$ac_c_preproc_warn_flag
4145 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4152 if test -z "$ac_cpp_err"; then
4155 echo "$as_me: failed program was:" >&5
4156 sed 's/^/| /' conftest.
$ac_ext >&5
4158 # Broken: fails on valid input.
4161 rm -f conftest.err conftest.
$ac_ext
4163 # OK, works on sane cases. Now check whether non-existent headers
4164 # can be detected and how.
4165 cat >conftest.
$ac_ext <<_ACEOF
4168 cat confdefs.h
>>conftest.
$ac_ext
4169 cat >>conftest.
$ac_ext <<_ACEOF
4170 /* end confdefs.h. */
4171 #include <ac_nonexistent.h>
4173 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4174 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4176 grep -v '^ *+' conftest.er1
>conftest.err
4178 cat conftest.err
>&5
4179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4180 (exit $ac_status); } >/dev
/null
; then
4181 if test -s conftest.err
; then
4182 ac_cpp_err
=$ac_c_preproc_warn_flag
4183 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4190 if test -z "$ac_cpp_err"; then
4191 # Broken: success on invalid input.
4194 echo "$as_me: failed program was:" >&5
4195 sed 's/^/| /' conftest.
$ac_ext >&5
4197 # Passes both tests.
4201 rm -f conftest.err conftest.
$ac_ext
4204 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4205 rm -f conftest.err conftest.
$ac_ext
4206 if $ac_preproc_ok; then
4209 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4210 See \`config.log' for more details." >&5
4211 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4212 See \`config.log' for more details." >&2;}
4213 { (exit 1); exit 1; }; }
4217 ac_cpp
='$CPP $CPPFLAGS'
4218 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4219 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4220 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4223 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4224 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4225 if test "${ac_cv_header_stdc+set}" = set; then
4226 echo $ECHO_N "(cached) $ECHO_C" >&6
4228 cat >conftest.
$ac_ext <<_ACEOF
4231 cat confdefs.h
>>conftest.
$ac_ext
4232 cat >>conftest.
$ac_ext <<_ACEOF
4233 /* end confdefs.h. */
4247 rm -f conftest.
$ac_objext
4248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4249 (eval $ac_compile) 2>conftest.er1
4251 grep -v '^ *+' conftest.er1
>conftest.err
4253 cat conftest.err
>&5
4254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4255 (exit $ac_status); } &&
4256 { ac_try
='test -z "$ac_c_werror_flag"
4257 || test ! -s conftest.err'
4258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4262 (exit $ac_status); }; } &&
4263 { ac_try
='test -s conftest.$ac_objext'
4264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4268 (exit $ac_status); }; }; then
4269 ac_cv_header_stdc
=yes
4271 echo "$as_me: failed program was:" >&5
4272 sed 's/^/| /' conftest.
$ac_ext >&5
4274 ac_cv_header_stdc
=no
4276 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4278 if test $ac_cv_header_stdc = yes; then
4279 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4280 cat >conftest.
$ac_ext <<_ACEOF
4283 cat confdefs.h
>>conftest.
$ac_ext
4284 cat >>conftest.
$ac_ext <<_ACEOF
4285 /* end confdefs.h. */
4289 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4290 $EGREP "memchr" >/dev
/null
2>&1; then
4293 ac_cv_header_stdc
=no
4299 if test $ac_cv_header_stdc = yes; then
4300 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4301 cat >conftest.
$ac_ext <<_ACEOF
4304 cat confdefs.h
>>conftest.
$ac_ext
4305 cat >>conftest.
$ac_ext <<_ACEOF
4306 /* end confdefs.h. */
4310 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4311 $EGREP "free" >/dev
/null
2>&1; then
4314 ac_cv_header_stdc
=no
4320 if test $ac_cv_header_stdc = yes; then
4321 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4322 if test "$cross_compiling" = yes; then
4325 cat >conftest.
$ac_ext <<_ACEOF
4328 cat confdefs.h
>>conftest.
$ac_ext
4329 cat >>conftest.
$ac_ext <<_ACEOF
4330 /* end confdefs.h. */
4332 #if ((' ' & 0x0FF) == 0x020)
4333 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4334 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4336 # define ISLOWER(c) \
4337 (('a' <= (c) && (c) <= 'i') \
4338 || ('j' <= (c) && (c) <= 'r') \
4339 || ('s' <= (c) && (c) <= 'z'))
4340 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4343 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4348 for (i = 0; i < 256; i++)
4349 if (XOR (islower (i), ISLOWER (i))
4350 || toupper (i) != TOUPPER (i))
4355 rm -f conftest
$ac_exeext
4356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4357 (eval $ac_link) 2>&5
4359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4360 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4365 (exit $ac_status); }; }; then
4368 echo "$as_me: program exited with status $ac_status" >&5
4369 echo "$as_me: failed program was:" >&5
4370 sed 's/^/| /' conftest.
$ac_ext >&5
4373 ac_cv_header_stdc
=no
4375 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4379 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4380 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4381 if test $ac_cv_header_stdc = yes; then
4383 cat >>confdefs.h
<<\_ACEOF
4384 #define STDC_HEADERS 1
4389 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4399 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4400 inttypes.h stdint.h unistd.h
4402 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4403 echo "$as_me:$LINENO: checking for $ac_header" >&5
4404 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4405 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4406 echo $ECHO_N "(cached) $ECHO_C" >&6
4408 cat >conftest.
$ac_ext <<_ACEOF
4411 cat confdefs.h
>>conftest.
$ac_ext
4412 cat >>conftest.
$ac_ext <<_ACEOF
4413 /* end confdefs.h. */
4414 $ac_includes_default
4416 #include <$ac_header>
4418 rm -f conftest.
$ac_objext
4419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4420 (eval $ac_compile) 2>conftest.er1
4422 grep -v '^ *+' conftest.er1
>conftest.err
4424 cat conftest.err
>&5
4425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4426 (exit $ac_status); } &&
4427 { ac_try
='test -z "$ac_c_werror_flag"
4428 || test ! -s conftest.err'
4429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4433 (exit $ac_status); }; } &&
4434 { ac_try
='test -s conftest.$ac_objext'
4435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4439 (exit $ac_status); }; }; then
4440 eval "$as_ac_Header=yes"
4442 echo "$as_me: failed program was:" >&5
4443 sed 's/^/| /' conftest.
$ac_ext >&5
4445 eval "$as_ac_Header=no"
4447 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4449 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4450 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4451 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4452 cat >>confdefs.h
<<_ACEOF
4453 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4462 for ac_header
in dlfcn.h
4464 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4465 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4466 echo "$as_me:$LINENO: checking for $ac_header" >&5
4467 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4468 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4469 echo $ECHO_N "(cached) $ECHO_C" >&6
4471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4472 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4474 # Is the header compilable?
4475 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4476 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4477 cat >conftest.
$ac_ext <<_ACEOF
4480 cat confdefs.h
>>conftest.
$ac_ext
4481 cat >>conftest.
$ac_ext <<_ACEOF
4482 /* end confdefs.h. */
4483 $ac_includes_default
4484 #include <$ac_header>
4486 rm -f conftest.
$ac_objext
4487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4488 (eval $ac_compile) 2>conftest.er1
4490 grep -v '^ *+' conftest.er1
>conftest.err
4492 cat conftest.err
>&5
4493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4494 (exit $ac_status); } &&
4495 { ac_try
='test -z "$ac_c_werror_flag"
4496 || test ! -s conftest.err'
4497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4501 (exit $ac_status); }; } &&
4502 { ac_try
='test -s conftest.$ac_objext'
4503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4507 (exit $ac_status); }; }; then
4508 ac_header_compiler
=yes
4510 echo "$as_me: failed program was:" >&5
4511 sed 's/^/| /' conftest.
$ac_ext >&5
4513 ac_header_compiler
=no
4515 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4516 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4517 echo "${ECHO_T}$ac_header_compiler" >&6
4519 # Is the header present?
4520 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4521 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4522 cat >conftest.
$ac_ext <<_ACEOF
4525 cat confdefs.h
>>conftest.
$ac_ext
4526 cat >>conftest.
$ac_ext <<_ACEOF
4527 /* end confdefs.h. */
4528 #include <$ac_header>
4530 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4531 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4533 grep -v '^ *+' conftest.er1
>conftest.err
4535 cat conftest.err
>&5
4536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4537 (exit $ac_status); } >/dev
/null
; then
4538 if test -s conftest.err
; then
4539 ac_cpp_err
=$ac_c_preproc_warn_flag
4540 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4547 if test -z "$ac_cpp_err"; then
4548 ac_header_preproc
=yes
4550 echo "$as_me: failed program was:" >&5
4551 sed 's/^/| /' conftest.
$ac_ext >&5
4553 ac_header_preproc
=no
4555 rm -f conftest.err conftest.
$ac_ext
4556 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4557 echo "${ECHO_T}$ac_header_preproc" >&6
4559 # So? What about this header?
4560 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4562 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4563 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4564 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4565 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4566 ac_header_preproc
=yes
4569 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4570 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4571 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4572 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4573 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4574 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4575 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4576 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4577 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4578 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4579 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4580 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4583 ## -------------------------------------- ##
4584 ## Report this to expat-bugs@libexpat.org ##
4585 ## -------------------------------------- ##
4588 sed "s/^/$as_me: WARNING: /" >&2
4591 echo "$as_me:$LINENO: checking for $ac_header" >&5
4592 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4593 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4594 echo $ECHO_N "(cached) $ECHO_C" >&6
4596 eval "$as_ac_Header=\$ac_header_preproc"
4598 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4599 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4602 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4603 cat >>confdefs.h
<<_ACEOF
4604 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4612 ac_cpp
='$CXXCPP $CPPFLAGS'
4613 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4614 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4615 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4616 if test -n "$ac_tool_prefix"; then
4617 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
4619 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4620 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4621 echo "$as_me:$LINENO: checking for $ac_word" >&5
4622 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4623 if test "${ac_cv_prog_CXX+set}" = set; then
4624 echo $ECHO_N "(cached) $ECHO_C" >&6
4626 if test -n "$CXX"; then
4627 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
4629 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4633 test -z "$as_dir" && as_dir
=.
4634 for ac_exec_ext
in '' $ac_executable_extensions; do
4635 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4636 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
4637 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4646 if test -n "$CXX"; then
4647 echo "$as_me:$LINENO: result: $CXX" >&5
4648 echo "${ECHO_T}$CXX" >&6
4650 echo "$as_me:$LINENO: result: no" >&5
4651 echo "${ECHO_T}no" >&6
4654 test -n "$CXX" && break
4657 if test -z "$CXX"; then
4659 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
4661 # Extract the first word of "$ac_prog", so it can be a program name with args.
4662 set dummy
$ac_prog; ac_word
=$2
4663 echo "$as_me:$LINENO: checking for $ac_word" >&5
4664 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4665 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4666 echo $ECHO_N "(cached) $ECHO_C" >&6
4668 if test -n "$ac_ct_CXX"; then
4669 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
4671 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4675 test -z "$as_dir" && as_dir
=.
4676 for ac_exec_ext
in '' $ac_executable_extensions; do
4677 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4678 ac_cv_prog_ac_ct_CXX
="$ac_prog"
4679 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4687 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
4688 if test -n "$ac_ct_CXX"; then
4689 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4690 echo "${ECHO_T}$ac_ct_CXX" >&6
4692 echo "$as_me:$LINENO: result: no" >&5
4693 echo "${ECHO_T}no" >&6
4696 test -n "$ac_ct_CXX" && break
4698 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
4704 # Provide some information about the compiler.
4705 echo "$as_me:$LINENO:" \
4706 "checking for C++ compiler version" >&5
4707 ac_compiler
=`set X $ac_compile; echo $2`
4708 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4709 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
4711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4712 (exit $ac_status); }
4713 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4714 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
4716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4717 (exit $ac_status); }
4718 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4719 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
4721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4722 (exit $ac_status); }
4724 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4725 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
4726 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4727 echo $ECHO_N "(cached) $ECHO_C" >&6
4729 cat >conftest.
$ac_ext <<_ACEOF
4732 cat confdefs.h
>>conftest.
$ac_ext
4733 cat >>conftest.
$ac_ext <<_ACEOF
4734 /* end confdefs.h. */
4747 rm -f conftest.
$ac_objext
4748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4749 (eval $ac_compile) 2>conftest.er1
4751 grep -v '^ *+' conftest.er1
>conftest.err
4753 cat conftest.err
>&5
4754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4755 (exit $ac_status); } &&
4756 { ac_try
='test -z "$ac_cxx_werror_flag"
4757 || test ! -s conftest.err'
4758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4762 (exit $ac_status); }; } &&
4763 { ac_try
='test -s conftest.$ac_objext'
4764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4768 (exit $ac_status); }; }; then
4771 echo "$as_me: failed program was:" >&5
4772 sed 's/^/| /' conftest.
$ac_ext >&5
4776 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4777 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4780 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4781 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
4782 GXX
=`test $ac_compiler_gnu = yes && echo yes`
4783 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4784 ac_save_CXXFLAGS
=$CXXFLAGS
4786 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4787 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
4788 if test "${ac_cv_prog_cxx_g+set}" = set; then
4789 echo $ECHO_N "(cached) $ECHO_C" >&6
4791 cat >conftest.
$ac_ext <<_ACEOF
4794 cat confdefs.h
>>conftest.
$ac_ext
4795 cat >>conftest.
$ac_ext <<_ACEOF
4796 /* end confdefs.h. */
4806 rm -f conftest.
$ac_objext
4807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4808 (eval $ac_compile) 2>conftest.er1
4810 grep -v '^ *+' conftest.er1
>conftest.err
4812 cat conftest.err
>&5
4813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4814 (exit $ac_status); } &&
4815 { ac_try
='test -z "$ac_cxx_werror_flag"
4816 || test ! -s conftest.err'
4817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4821 (exit $ac_status); }; } &&
4822 { ac_try
='test -s conftest.$ac_objext'
4823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4827 (exit $ac_status); }; }; then
4828 ac_cv_prog_cxx_g
=yes
4830 echo "$as_me: failed program was:" >&5
4831 sed 's/^/| /' conftest.
$ac_ext >&5
4835 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4837 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4838 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
4839 if test "$ac_test_CXXFLAGS" = set; then
4840 CXXFLAGS
=$ac_save_CXXFLAGS
4841 elif test $ac_cv_prog_cxx_g = yes; then
4842 if test "$GXX" = yes; then
4848 if test "$GXX" = yes; then
4854 for ac_declaration
in \
4856 'extern "C" void std::exit (int) throw (); using std::exit;' \
4857 'extern "C" void std::exit (int); using std::exit;' \
4858 'extern "C" void exit (int) throw ();' \
4859 'extern "C" void exit (int);' \
4862 cat >conftest.
$ac_ext <<_ACEOF
4865 cat confdefs.h
>>conftest.
$ac_ext
4866 cat >>conftest.
$ac_ext <<_ACEOF
4867 /* end confdefs.h. */
4878 rm -f conftest.
$ac_objext
4879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4880 (eval $ac_compile) 2>conftest.er1
4882 grep -v '^ *+' conftest.er1
>conftest.err
4884 cat conftest.err
>&5
4885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4886 (exit $ac_status); } &&
4887 { ac_try
='test -z "$ac_cxx_werror_flag"
4888 || test ! -s conftest.err'
4889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4893 (exit $ac_status); }; } &&
4894 { ac_try
='test -s conftest.$ac_objext'
4895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4899 (exit $ac_status); }; }; then
4902 echo "$as_me: failed program was:" >&5
4903 sed 's/^/| /' conftest.
$ac_ext >&5
4907 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4908 cat >conftest.
$ac_ext <<_ACEOF
4911 cat confdefs.h
>>conftest.
$ac_ext
4912 cat >>conftest.
$ac_ext <<_ACEOF
4913 /* end confdefs.h. */
4923 rm -f conftest.
$ac_objext
4924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4925 (eval $ac_compile) 2>conftest.er1
4927 grep -v '^ *+' conftest.er1
>conftest.err
4929 cat conftest.err
>&5
4930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4931 (exit $ac_status); } &&
4932 { ac_try
='test -z "$ac_cxx_werror_flag"
4933 || test ! -s conftest.err'
4934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4938 (exit $ac_status); }; } &&
4939 { ac_try
='test -s conftest.$ac_objext'
4940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4944 (exit $ac_status); }; }; then
4947 echo "$as_me: failed program was:" >&5
4948 sed 's/^/| /' conftest.
$ac_ext >&5
4951 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4954 if test -n "$ac_declaration"; then
4955 echo '#ifdef __cplusplus' >>confdefs.h
4956 echo $ac_declaration >>confdefs.h
4957 echo '#endif' >>confdefs.h
4961 ac_cpp
='$CXXCPP $CPPFLAGS'
4962 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4963 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4964 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4968 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
4969 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
4970 (test "X$CXX" != "Xg++"))) ; then
4972 ac_cpp
='$CXXCPP $CPPFLAGS'
4973 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4974 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4975 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4976 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4977 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4978 if test -z "$CXXCPP"; then
4979 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4980 echo $ECHO_N "(cached) $ECHO_C" >&6
4982 # Double quotes because CXXCPP needs to be expanded
4983 for CXXCPP
in "$CXX -E" "/lib/cpp"
4986 for ac_cxx_preproc_warn_flag
in '' yes
4988 # Use a header file that comes with gcc, so configuring glibc
4989 # with a fresh cross-compiler works.
4990 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4991 # <limits.h> exists even on freestanding compilers.
4992 # On the NeXT, cc -E runs the code through the compiler's parser,
4993 # not just through cpp. "Syntax error" is here to catch this case.
4994 cat >conftest.
$ac_ext <<_ACEOF
4997 cat confdefs.h
>>conftest.
$ac_ext
4998 cat >>conftest.
$ac_ext <<_ACEOF
4999 /* end confdefs.h. */
5001 # include <limits.h>
5003 # include <assert.h>
5007 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5008 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5010 grep -v '^ *+' conftest.er1
>conftest.err
5012 cat conftest.err
>&5
5013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5014 (exit $ac_status); } >/dev
/null
; then
5015 if test -s conftest.err
; then
5016 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5017 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5024 if test -z "$ac_cpp_err"; then
5027 echo "$as_me: failed program was:" >&5
5028 sed 's/^/| /' conftest.
$ac_ext >&5
5030 # Broken: fails on valid input.
5033 rm -f conftest.err conftest.
$ac_ext
5035 # OK, works on sane cases. Now check whether non-existent headers
5036 # can be detected and how.
5037 cat >conftest.
$ac_ext <<_ACEOF
5040 cat confdefs.h
>>conftest.
$ac_ext
5041 cat >>conftest.
$ac_ext <<_ACEOF
5042 /* end confdefs.h. */
5043 #include <ac_nonexistent.h>
5045 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5046 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5048 grep -v '^ *+' conftest.er1
>conftest.err
5050 cat conftest.err
>&5
5051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5052 (exit $ac_status); } >/dev
/null
; then
5053 if test -s conftest.err
; then
5054 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5055 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5062 if test -z "$ac_cpp_err"; then
5063 # Broken: success on invalid input.
5066 echo "$as_me: failed program was:" >&5
5067 sed 's/^/| /' conftest.
$ac_ext >&5
5069 # Passes both tests.
5073 rm -f conftest.err conftest.
$ac_ext
5076 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5077 rm -f conftest.err conftest.
$ac_ext
5078 if $ac_preproc_ok; then
5083 ac_cv_prog_CXXCPP
=$CXXCPP
5086 CXXCPP
=$ac_cv_prog_CXXCPP
5088 ac_cv_prog_CXXCPP
=$CXXCPP
5090 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5091 echo "${ECHO_T}$CXXCPP" >&6
5093 for ac_cxx_preproc_warn_flag
in '' yes
5095 # Use a header file that comes with gcc, so configuring glibc
5096 # with a fresh cross-compiler works.
5097 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5098 # <limits.h> exists even on freestanding compilers.
5099 # On the NeXT, cc -E runs the code through the compiler's parser,
5100 # not just through cpp. "Syntax error" is here to catch this case.
5101 cat >conftest.
$ac_ext <<_ACEOF
5104 cat confdefs.h
>>conftest.
$ac_ext
5105 cat >>conftest.
$ac_ext <<_ACEOF
5106 /* end confdefs.h. */
5108 # include <limits.h>
5110 # include <assert.h>
5114 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5115 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5117 grep -v '^ *+' conftest.er1
>conftest.err
5119 cat conftest.err
>&5
5120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5121 (exit $ac_status); } >/dev
/null
; then
5122 if test -s conftest.err
; then
5123 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5124 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5131 if test -z "$ac_cpp_err"; then
5134 echo "$as_me: failed program was:" >&5
5135 sed 's/^/| /' conftest.
$ac_ext >&5
5137 # Broken: fails on valid input.
5140 rm -f conftest.err conftest.
$ac_ext
5142 # OK, works on sane cases. Now check whether non-existent headers
5143 # can be detected and how.
5144 cat >conftest.
$ac_ext <<_ACEOF
5147 cat confdefs.h
>>conftest.
$ac_ext
5148 cat >>conftest.
$ac_ext <<_ACEOF
5149 /* end confdefs.h. */
5150 #include <ac_nonexistent.h>
5152 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5153 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5155 grep -v '^ *+' conftest.er1
>conftest.err
5157 cat conftest.err
>&5
5158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5159 (exit $ac_status); } >/dev
/null
; then
5160 if test -s conftest.err
; then
5161 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5162 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5169 if test -z "$ac_cpp_err"; then
5170 # Broken: success on invalid input.
5173 echo "$as_me: failed program was:" >&5
5174 sed 's/^/| /' conftest.
$ac_ext >&5
5176 # Passes both tests.
5180 rm -f conftest.err conftest.
$ac_ext
5183 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5184 rm -f conftest.err conftest.
$ac_ext
5185 if $ac_preproc_ok; then
5188 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5189 See \`config.log' for more details." >&5
5190 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5191 See \`config.log' for more details." >&2;}
5192 { (exit 1); exit 1; }; }
5196 ac_cpp
='$CXXCPP $CPPFLAGS'
5197 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5198 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5199 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5205 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5206 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5207 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
5208 if test -n "$ac_tool_prefix"; then
5209 for ac_prog
in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
5211 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5212 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5213 echo "$as_me:$LINENO: checking for $ac_word" >&5
5214 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5215 if test "${ac_cv_prog_F77+set}" = set; then
5216 echo $ECHO_N "(cached) $ECHO_C" >&6
5218 if test -n "$F77"; then
5219 ac_cv_prog_F77
="$F77" # Let the user override the test.
5221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5225 test -z "$as_dir" && as_dir
=.
5226 for ac_exec_ext
in '' $ac_executable_extensions; do
5227 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5228 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
5229 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5238 if test -n "$F77"; then
5239 echo "$as_me:$LINENO: result: $F77" >&5
5240 echo "${ECHO_T}$F77" >&6
5242 echo "$as_me:$LINENO: result: no" >&5
5243 echo "${ECHO_T}no" >&6
5246 test -n "$F77" && break
5249 if test -z "$F77"; then
5251 for ac_prog
in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
5253 # Extract the first word of "$ac_prog", so it can be a program name with args.
5254 set dummy
$ac_prog; ac_word
=$2
5255 echo "$as_me:$LINENO: checking for $ac_word" >&5
5256 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5257 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5258 echo $ECHO_N "(cached) $ECHO_C" >&6
5260 if test -n "$ac_ct_F77"; then
5261 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
5263 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5267 test -z "$as_dir" && as_dir
=.
5268 for ac_exec_ext
in '' $ac_executable_extensions; do
5269 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5270 ac_cv_prog_ac_ct_F77
="$ac_prog"
5271 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5279 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
5280 if test -n "$ac_ct_F77"; then
5281 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5282 echo "${ECHO_T}$ac_ct_F77" >&6
5284 echo "$as_me:$LINENO: result: no" >&5
5285 echo "${ECHO_T}no" >&6
5288 test -n "$ac_ct_F77" && break
5295 # Provide some information about the compiler.
5296 echo "$as_me:5296:" \
5297 "checking for Fortran 77 compiler version" >&5
5298 ac_compiler
=`set X $ac_compile; echo $2`
5299 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5300 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
5302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5303 (exit $ac_status); }
5304 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5305 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
5307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5308 (exit $ac_status); }
5309 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5310 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
5312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5313 (exit $ac_status); }
5316 # If we don't use `.F' as extension, the preprocessor is not run on the
5317 # input file. (Note that this only needs to work for GNU compilers.)
5320 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5321 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
5322 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5323 echo $ECHO_N "(cached) $ECHO_C" >&6
5325 cat >conftest.
$ac_ext <<_ACEOF
5333 rm -f conftest.
$ac_objext
5334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5335 (eval $ac_compile) 2>conftest.er1
5337 grep -v '^ *+' conftest.er1
>conftest.err
5339 cat conftest.err
>&5
5340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5341 (exit $ac_status); } &&
5342 { ac_try
='test -z "$ac_f77_werror_flag"
5343 || test ! -s conftest.err'
5344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5348 (exit $ac_status); }; } &&
5349 { ac_try
='test -s conftest.$ac_objext'
5350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5354 (exit $ac_status); }; }; then
5357 echo "$as_me: failed program was:" >&5
5358 sed 's/^/| /' conftest.
$ac_ext >&5
5362 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5363 ac_cv_f77_compiler_gnu
=$ac_compiler_gnu
5366 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5367 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
5369 ac_test_FFLAGS
=${FFLAGS+set}
5370 ac_save_FFLAGS
=$FFLAGS
5372 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5373 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
5374 if test "${ac_cv_prog_f77_g+set}" = set; then
5375 echo $ECHO_N "(cached) $ECHO_C" >&6
5378 cat >conftest.
$ac_ext <<_ACEOF
5383 rm -f conftest.
$ac_objext
5384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5385 (eval $ac_compile) 2>conftest.er1
5387 grep -v '^ *+' conftest.er1
>conftest.err
5389 cat conftest.err
>&5
5390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5391 (exit $ac_status); } &&
5392 { ac_try
='test -z "$ac_f77_werror_flag"
5393 || test ! -s conftest.err'
5394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5398 (exit $ac_status); }; } &&
5399 { ac_try
='test -s conftest.$ac_objext'
5400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5404 (exit $ac_status); }; }; then
5405 ac_cv_prog_f77_g
=yes
5407 echo "$as_me: failed program was:" >&5
5408 sed 's/^/| /' conftest.
$ac_ext >&5
5412 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5415 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5416 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
5417 if test "$ac_test_FFLAGS" = set; then
5418 FFLAGS
=$ac_save_FFLAGS
5419 elif test $ac_cv_prog_f77_g = yes; then
5420 if test "x$ac_cv_f77_compiler_gnu" = xyes
; then
5426 if test "x$ac_cv_f77_compiler_gnu" = xyes
; then
5433 G77
=`test $ac_compiler_gnu = yes && echo yes`
5435 ac_cpp
='$CPP $CPPFLAGS'
5436 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5437 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5438 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5442 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5444 # find the maximum length of command line arguments
5445 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5446 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5447 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5448 echo $ECHO_N "(cached) $ECHO_C" >&6
5455 # On DJGPP, this test can blow up pretty badly due to problems in libc
5456 # (any single argument exceeding 2000 bytes causes a buffer overrun
5457 # during glob expansion). Even if it were fixed, the result of this
5458 # check would be larger than it should be.
5459 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5463 # Under GNU Hurd, this test is not required because there is
5464 # no limit to the length of command line arguments.
5465 # Libtool will interpret -1 as no limit whatsoever
5466 lt_cv_sys_max_cmd_len
=-1;
5470 # On Win9x/ME, this test blows up -- it succeeds, but takes
5471 # about 5 minutes as the teststring grows exponentially.
5472 # Worse, since 9x/ME are not pre-emptively multitasking,
5473 # you end up with a "frozen" computer, even though with patience
5474 # the test eventually succeeds (with a max line length of 256k).
5475 # Instead, let's just punt: use the minimum linelength reported by
5476 # all of the supported platforms: 8192 (on NT/2K/XP).
5477 lt_cv_sys_max_cmd_len
=8192;
5481 # On AmigaOS with pdksh, this test takes hours, literally.
5482 # So we just punt and use a minimum line length of 8192.
5483 lt_cv_sys_max_cmd_len
=8192;
5486 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5487 # This has been around since 386BSD, at least. Likely further.
5488 if test -x /sbin
/sysctl
; then
5489 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5490 elif test -x /usr
/sbin
/sysctl
; then
5491 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5493 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5495 # And add a safety zone
5496 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5497 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5501 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5502 lt_cv_sys_max_cmd_len
=196608
5506 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5507 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5508 # nice to cause kernel panics so lets avoid the loop below.
5509 # First set a reasonable default.
5510 lt_cv_sys_max_cmd_len
=16384
5512 if test -x /sbin
/sysconfig
; then
5513 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5514 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5519 lt_cv_sys_max_cmd_len
=102400
5521 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5522 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5523 if test -n "$kargmax"; then
5524 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5526 lt_cv_sys_max_cmd_len
=32768
5530 # If test is not a shell built-in, we'll probably end up computing a
5531 # maximum length that is only half of the actual maximum length, but
5533 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5534 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
5535 = "XX$teststring") >/dev
/null
2>&1 &&
5536 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
5537 lt_cv_sys_max_cmd_len
=$new_result &&
5538 test $i != 17 # 1/2 MB should be enough
5541 teststring
=$teststring$teststring
5544 # Add a significant safety factor because C++ compilers can tack on massive
5545 # amounts of additional arguments before passing them to the linker.
5546 # It appears as though 1/2 is a usable value.
5547 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5553 if test -n $lt_cv_sys_max_cmd_len ; then
5554 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5555 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5557 echo "$as_me:$LINENO: result: none" >&5
5558 echo "${ECHO_T}none" >&6
5564 # Check for command to grab the raw symbol name followed by C symbol from nm.
5565 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5566 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5567 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5568 echo $ECHO_N "(cached) $ECHO_C" >&6
5571 # These are sane defaults that work on at least a few old systems.
5572 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5574 # Character class describing NM global symbol codes.
5575 symcode
='[BCDEGRST]'
5577 # Regexp to match symbols that can be accessed directly from C.
5578 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
5580 # Transform an extracted symbol line into a proper C declaration
5581 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5583 # Transform an extracted symbol line into symbol name and symbol address
5584 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'"
5586 # Define system-specific variables.
5591 cygwin
* | mingw
* | pw32
*)
5592 symcode
='[ABCDGISTW]'
5594 hpux
*) # Its linker distinguishes data from code symbols
5595 if test "$host_cpu" = ia64
; then
5596 symcode
='[ABCDEGRST]'
5598 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5599 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'"
5602 if test "$host_cpu" = ia64
; then
5603 symcode
='[ABCDGIRSTW]'
5604 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5605 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'"
5609 symcode
='[BCDEGRST]'
5612 symcode
='[BCDEGQRST]'
5623 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
5631 # Handle CRLF in mingw tool chain
5635 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5639 # If we're using GNU nm, then use its standard symbol codes.
5640 case `$NM -V 2>&1` in
5641 *GNU
* |
*'with BFD'*)
5642 symcode
='[ABCDGIRSTW]' ;;
5645 # Try without a prefix undercore, then with it.
5646 for ac_symprfx
in "" "_"; do
5648 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5649 symxfrm
="\\1 $ac_symprfx\\2 \\2"
5651 # Write the raw and C identifiers.
5652 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5654 # Check to see that the pipe works correctly.
5658 cat > conftest.
$ac_ext <<EOF
5663 void nm_test_func(){}
5667 int main(){nm_test_var='a';nm_test_func();return(0);}
5670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5671 (eval $ac_compile) 2>&5
5673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5674 (exit $ac_status); }; then
5675 # Now try to grab the symbols.
5677 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5678 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
5680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5681 (exit $ac_status); } && test -s "$nlist"; then
5682 # Try sorting and uniquifying the output.
5683 if sort "$nlist" |
uniq > "$nlist"T
; then
5684 mv -f "$nlist"T
"$nlist"
5689 # Make sure that we snagged all the symbols we need.
5690 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
5691 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
5692 cat <<EOF > conftest.$ac_ext
5698 # Now generate the symbol file.
5699 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
5701 cat <<EOF >> conftest.$ac_ext
5702 #if defined (__STDC__) && __STDC__
5703 # define lt_ptr_t void *
5705 # define lt_ptr_t char *
5709 /* The mapping between symbol names and symbols. */
5714 lt_preloaded_symbols[] =
5717 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
5718 cat <<\EOF
>> conftest.
$ac_ext
5726 # Now try linking the two files.
5727 mv conftest.
$ac_objext conftstm.
$ac_objext
5728 lt_save_LIBS
="$LIBS"
5729 lt_save_CFLAGS
="$CFLAGS"
5730 LIBS
="conftstm.$ac_objext"
5731 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5733 (eval $ac_link) 2>&5
5735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5736 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
5739 LIBS
="$lt_save_LIBS"
5740 CFLAGS
="$lt_save_CFLAGS"
5742 echo "cannot find nm_test_func in $nlist" >&5
5745 echo "cannot find nm_test_var in $nlist" >&5
5748 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5751 echo "$progname: failed program was:" >&5
5752 cat conftest.
$ac_ext >&5
5754 rm -f conftest
* conftst
*
5756 # Do not use the global_symbol_pipe unless it works.
5757 if test "$pipe_works" = yes; then
5760 lt_cv_sys_global_symbol_pipe
=
5766 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5767 lt_cv_sys_global_symbol_to_cdecl
=
5769 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5770 echo "$as_me:$LINENO: result: failed" >&5
5771 echo "${ECHO_T}failed" >&6
5773 echo "$as_me:$LINENO: result: ok" >&5
5774 echo "${ECHO_T}ok" >&6
5777 echo "$as_me:$LINENO: checking for objdir" >&5
5778 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
5779 if test "${lt_cv_objdir+set}" = set; then
5780 echo $ECHO_N "(cached) $ECHO_C" >&6
5782 rm -f .libs
2>/dev
/null
5783 mkdir .libs
2>/dev
/null
5784 if test -d .libs
; then
5787 # MS-DOS does not allow filenames that begin with a dot.
5790 rmdir .libs
2>/dev
/null
5792 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5793 echo "${ECHO_T}$lt_cv_objdir" >&6
5794 objdir
=$lt_cv_objdir
5802 # AIX sometimes has problems with the GCC collect2 program. For some
5803 # reason, if we set the COLLECT_NAMES environment variable, the problems
5804 # vanish in a puff of smoke.
5805 if test "X${COLLECT_NAMES+set}" != Xset
; then
5807 export COLLECT_NAMES
5812 # Sed substitution that helps us do robust quoting. It backslashifies
5813 # metacharacters that are still active within double-quoted strings.
5814 Xsed
='sed -e 1s/^X//'
5815 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
5817 # Same as above, but do not quote variable references.
5818 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
5820 # Sed substitution to delay expansion of an escaped shell variable in a
5821 # double_quote_subst'ed string.
5822 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5824 # Sed substitution to avoid accidental globbing in evaled expressions
5825 no_glob_subst
='s/\*/\\\*/g'
5831 default_ofile
=libtool
5832 can_build_shared
=yes
5834 # All known linkers require a `.a' archive for static linking (except MSVC,
5835 # which needs '.lib').
5837 ltmain
="$ac_aux_dir/ltmain.sh"
5838 ofile
="$default_ofile"
5839 with_gnu_ld
="$lt_cv_prog_gnu_ld"
5841 if test -n "$ac_tool_prefix"; then
5842 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5843 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5844 echo "$as_me:$LINENO: checking for $ac_word" >&5
5845 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5846 if test "${ac_cv_prog_AR+set}" = set; then
5847 echo $ECHO_N "(cached) $ECHO_C" >&6
5849 if test -n "$AR"; then
5850 ac_cv_prog_AR
="$AR" # Let the user override the test.
5852 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5856 test -z "$as_dir" && as_dir
=.
5857 for ac_exec_ext
in '' $ac_executable_extensions; do
5858 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5859 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5860 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5869 if test -n "$AR"; then
5870 echo "$as_me:$LINENO: result: $AR" >&5
5871 echo "${ECHO_T}$AR" >&6
5873 echo "$as_me:$LINENO: result: no" >&5
5874 echo "${ECHO_T}no" >&6
5878 if test -z "$ac_cv_prog_AR"; then
5880 # Extract the first word of "ar", so it can be a program name with args.
5881 set dummy
ar; ac_word
=$2
5882 echo "$as_me:$LINENO: checking for $ac_word" >&5
5883 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5884 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5885 echo $ECHO_N "(cached) $ECHO_C" >&6
5887 if test -n "$ac_ct_AR"; then
5888 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5890 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5894 test -z "$as_dir" && as_dir
=.
5895 for ac_exec_ext
in '' $ac_executable_extensions; do
5896 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5897 ac_cv_prog_ac_ct_AR
="ar"
5898 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5904 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="false"
5907 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5908 if test -n "$ac_ct_AR"; then
5909 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5910 echo "${ECHO_T}$ac_ct_AR" >&6
5912 echo "$as_me:$LINENO: result: no" >&5
5913 echo "${ECHO_T}no" >&6
5921 if test -n "$ac_tool_prefix"; then
5922 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5923 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5924 echo "$as_me:$LINENO: checking for $ac_word" >&5
5925 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5926 if test "${ac_cv_prog_RANLIB+set}" = set; then
5927 echo $ECHO_N "(cached) $ECHO_C" >&6
5929 if test -n "$RANLIB"; then
5930 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5932 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5936 test -z "$as_dir" && as_dir
=.
5937 for ac_exec_ext
in '' $ac_executable_extensions; do
5938 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5939 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5940 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5948 RANLIB
=$ac_cv_prog_RANLIB
5949 if test -n "$RANLIB"; then
5950 echo "$as_me:$LINENO: result: $RANLIB" >&5
5951 echo "${ECHO_T}$RANLIB" >&6
5953 echo "$as_me:$LINENO: result: no" >&5
5954 echo "${ECHO_T}no" >&6
5958 if test -z "$ac_cv_prog_RANLIB"; then
5959 ac_ct_RANLIB
=$RANLIB
5960 # Extract the first word of "ranlib", so it can be a program name with args.
5961 set dummy ranlib
; ac_word
=$2
5962 echo "$as_me:$LINENO: checking for $ac_word" >&5
5963 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5964 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5965 echo $ECHO_N "(cached) $ECHO_C" >&6
5967 if test -n "$ac_ct_RANLIB"; then
5968 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5970 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5974 test -z "$as_dir" && as_dir
=.
5975 for ac_exec_ext
in '' $ac_executable_extensions; do
5976 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5977 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5978 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5984 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
5987 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5988 if test -n "$ac_ct_RANLIB"; then
5989 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5990 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5992 echo "$as_me:$LINENO: result: no" >&5
5993 echo "${ECHO_T}no" >&6
5996 RANLIB
=$ac_ct_RANLIB
5998 RANLIB
="$ac_cv_prog_RANLIB"
6001 if test -n "$ac_tool_prefix"; then
6002 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6003 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6004 echo "$as_me:$LINENO: checking for $ac_word" >&5
6005 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6006 if test "${ac_cv_prog_STRIP+set}" = set; then
6007 echo $ECHO_N "(cached) $ECHO_C" >&6
6009 if test -n "$STRIP"; then
6010 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6012 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6016 test -z "$as_dir" && as_dir
=.
6017 for ac_exec_ext
in '' $ac_executable_extensions; do
6018 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6019 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6020 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6028 STRIP
=$ac_cv_prog_STRIP
6029 if test -n "$STRIP"; then
6030 echo "$as_me:$LINENO: result: $STRIP" >&5
6031 echo "${ECHO_T}$STRIP" >&6
6033 echo "$as_me:$LINENO: result: no" >&5
6034 echo "${ECHO_T}no" >&6
6038 if test -z "$ac_cv_prog_STRIP"; then
6040 # Extract the first word of "strip", so it can be a program name with args.
6041 set dummy strip
; ac_word
=$2
6042 echo "$as_me:$LINENO: checking for $ac_word" >&5
6043 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6044 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6045 echo $ECHO_N "(cached) $ECHO_C" >&6
6047 if test -n "$ac_ct_STRIP"; then
6048 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6050 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6054 test -z "$as_dir" && as_dir
=.
6055 for ac_exec_ext
in '' $ac_executable_extensions; do
6056 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6057 ac_cv_prog_ac_ct_STRIP
="strip"
6058 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6064 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
6067 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6068 if test -n "$ac_ct_STRIP"; then
6069 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6070 echo "${ECHO_T}$ac_ct_STRIP" >&6
6072 echo "$as_me:$LINENO: result: no" >&5
6073 echo "${ECHO_T}no" >&6
6078 STRIP
="$ac_cv_prog_STRIP"
6083 old_CFLAGS
="$CFLAGS"
6085 # Set sane defaults for various variables
6086 test -z "$AR" && AR
=ar
6087 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6088 test -z "$AS" && AS
=as
6089 test -z "$CC" && CC
=cc
6090 test -z "$LTCC" && LTCC
=$CC
6091 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
6092 test -z "$DLLTOOL" && DLLTOOL
=dlltool
6093 test -z "$LD" && LD
=ld
6094 test -z "$LN_S" && LN_S
="ln -s"
6095 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6096 test -z "$NM" && NM
=nm
6097 test -z "$SED" && SED
=sed
6098 test -z "$OBJDUMP" && OBJDUMP
=objdump
6099 test -z "$RANLIB" && RANLIB
=:
6100 test -z "$STRIP" && STRIP
=:
6101 test -z "$ac_objext" && ac_objext
=o
6103 # Determine commands to create old-style static archives.
6104 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
6105 old_postinstall_cmds
='chmod 644 $oldlib'
6106 old_postuninstall_cmds
=
6108 if test -n "$RANLIB"; then
6111 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6114 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
6117 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6120 for cc_temp
in $compiler""; do
6122 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
6123 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
6128 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6131 # Only perform the check for file, if the check method requires it
6132 case $deplibs_check_method in
6134 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6135 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6136 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6137 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6138 echo $ECHO_N "(cached) $ECHO_C" >&6
6142 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6145 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6146 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6147 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6148 for ac_dir
in $ac_dummy; do
6150 test -z "$ac_dir" && ac_dir
=.
6151 if test -f $ac_dir/${ac_tool_prefix}file; then
6152 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6153 if test -n "$file_magic_test_file"; then
6154 case $deplibs_check_method in
6156 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6157 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6158 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6159 $EGREP "$file_magic_regex" > /dev
/null
; then
6164 *** Warning: the command libtool uses to detect shared libraries,
6165 *** $file_magic_cmd, produces output that libtool cannot recognize.
6166 *** The result is that libtool may fail to recognize shared libraries
6167 *** as such. This will affect the creation of libtool libraries that
6168 *** depend on shared libraries, but programs linked with such libtool
6169 *** libraries will work regardless of this problem. Nevertheless, you
6170 *** may want to report the problem to your system manager and/or to
6171 *** bug-libtool@gnu.org
6181 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6186 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6187 if test -n "$MAGIC_CMD"; then
6188 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6189 echo "${ECHO_T}$MAGIC_CMD" >&6
6191 echo "$as_me:$LINENO: result: no" >&5
6192 echo "${ECHO_T}no" >&6
6195 if test -z "$lt_cv_path_MAGIC_CMD"; then
6196 if test -n "$ac_tool_prefix"; then
6197 echo "$as_me:$LINENO: checking for file" >&5
6198 echo $ECHO_N "checking for file... $ECHO_C" >&6
6199 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6200 echo $ECHO_N "(cached) $ECHO_C" >&6
6204 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6207 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6208 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6209 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6210 for ac_dir
in $ac_dummy; do
6212 test -z "$ac_dir" && ac_dir
=.
6213 if test -f $ac_dir/file; then
6214 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
6215 if test -n "$file_magic_test_file"; then
6216 case $deplibs_check_method in
6218 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6219 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6220 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6221 $EGREP "$file_magic_regex" > /dev
/null
; then
6226 *** Warning: the command libtool uses to detect shared libraries,
6227 *** $file_magic_cmd, produces output that libtool cannot recognize.
6228 *** The result is that libtool may fail to recognize shared libraries
6229 *** as such. This will affect the creation of libtool libraries that
6230 *** depend on shared libraries, but programs linked with such libtool
6231 *** libraries will work regardless of this problem. Nevertheless, you
6232 *** may want to report the problem to your system manager and/or to
6233 *** bug-libtool@gnu.org
6243 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6248 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6249 if test -n "$MAGIC_CMD"; then
6250 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6251 echo "${ECHO_T}$MAGIC_CMD" >&6
6253 echo "$as_me:$LINENO: result: no" >&5
6254 echo "${ECHO_T}no" >&6
6267 enable_win32_dll
=yes
6269 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6270 if test "${enable_libtool_lock+set}" = set; then
6271 enableval
="$enable_libtool_lock"
6274 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6277 # Check whether --with-pic or --without-pic was given.
6278 if test "${with_pic+set}" = set; then
6284 test -z "$pic_mode" && pic_mode
=default
6286 # Use C for the default configuration in the libtool script
6290 ac_cpp
='$CPP $CPPFLAGS'
6291 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6292 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6293 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6296 # Source file extension for C test sources.
6299 # Object file extension for compiled C test sources.
6303 # Code to be used in simple compile tests
6304 lt_simple_compile_test_code
="int some_variable = 0;\n"
6306 # Code to be used in simple link tests
6307 lt_simple_link_test_code
='int main(){return(0);}\n'
6310 # If no C compiler was specified, use CC.
6313 # If no C compiler flags were specified, use CFLAGS.
6314 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
6316 # Allow CC to be a program name with arguments.
6320 # save warnings/boilerplate of simple test code
6321 ac_outfile
=conftest.
$ac_objext
6322 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
6323 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
6324 _lt_compiler_boilerplate
=`cat conftest.err`
6327 ac_outfile
=conftest.
$ac_objext
6328 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
6329 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
6330 _lt_linker_boilerplate
=`cat conftest.err`
6335 ## There is no encapsulation within the following macros, do not change
6336 ## the running order or otherwise move them around unless you know exactly
6337 ## what you are doing...
6339 lt_prog_compiler_no_builtin_flag
=
6341 if test "$GCC" = yes; then
6342 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
6345 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6346 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6347 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6348 echo $ECHO_N "(cached) $ECHO_C" >&6
6350 lt_cv_prog_compiler_rtti_exceptions
=no
6351 ac_outfile
=conftest.
$ac_objext
6352 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6353 lt_compiler_flag
="-fno-rtti -fno-exceptions"
6354 # Insert the option either (1) after the last *FLAGS variable, or
6355 # (2) before a word containing "conftest.", or (3) at the end.
6356 # Note that $ac_compile itself does not contain backslashes and begins
6357 # with a dollar sign (not a hyphen), so the echo should work correctly.
6358 # The option is referenced via a variable to avoid confusing sed.
6359 lt_compile
=`echo "$ac_compile" | $SED \
6360 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6361 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6362 -e 's:$: $lt_compiler_flag:'`
6363 (eval echo "\"\$as_me:6363: $lt_compile\"" >&5)
6364 (eval "$lt_compile" 2>conftest.err
)
6366 cat conftest.err
>&5
6367 echo "$as_me:6367: \$? = $ac_status" >&5
6368 if (exit $ac_status) && test -s "$ac_outfile"; then
6369 # The compiler can only warn and ignore the option if not recognized
6370 # So say no if there are warnings other than the usual output.
6371 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
6372 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
6373 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
6374 lt_cv_prog_compiler_rtti_exceptions
=yes
6380 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6381 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6383 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
6384 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6391 lt_prog_compiler_wl
=
6392 lt_prog_compiler_pic
=
6393 lt_prog_compiler_static
=
6395 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6396 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6398 if test "$GCC" = yes; then
6399 lt_prog_compiler_wl
='-Wl,'
6400 lt_prog_compiler_static
='-static'
6404 # All AIX code is PIC.
6405 if test "$host_cpu" = ia64
; then
6406 # AIX 5 now supports IA64 processor
6407 lt_prog_compiler_static
='-Bstatic'
6412 # FIXME: we need at least 68020 code to build shared libraries, but
6413 # adding the `-m68020' flag to GCC prevents building anything better,
6415 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
6418 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
6419 # PIC is the default for these OSes.
6422 mingw
* | pw32
* | os2
*)
6423 # This hack is so that the source file can tell whether it is being
6424 # built for inclusion in a dll (and should export symbols for example).
6425 lt_prog_compiler_pic
='-DDLL_EXPORT'
6428 darwin
* | rhapsody
*)
6429 # PIC is the default on this platform
6430 # Common symbols not allowed in MH_DYLIB files
6431 lt_prog_compiler_pic
='-fno-common'
6435 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6436 # Instead, we relocate shared libraries at runtime.
6440 # Just because we use GCC doesn't mean we suddenly get shared libraries
6441 # on systems that don't support them.
6442 lt_prog_compiler_can_build_shared
=no
6447 if test -d /usr
/nec
; then
6448 lt_prog_compiler_pic
=-Kconform_pic
6453 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6460 lt_prog_compiler_pic
='-fPIC'
6466 lt_prog_compiler_pic
='-fPIC'
6470 # PORTME Check for flag to pass linker flags through the system compiler.
6473 lt_prog_compiler_wl
='-Wl,'
6474 if test "$host_cpu" = ia64
; then
6475 # AIX 5 now supports IA64 processor
6476 lt_prog_compiler_static
='-Bstatic'
6478 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
6482 # PIC is the default on this platform
6483 # Common symbols not allowed in MH_DYLIB files
6484 case $cc_basename in
6486 lt_prog_compiler_pic
='-qnocommon'
6487 lt_prog_compiler_wl
='-Wl,'
6492 mingw
* | pw32
* | os2
*)
6493 # This hack is so that the source file can tell whether it is being
6494 # built for inclusion in a dll (and should export symbols for example).
6495 lt_prog_compiler_pic
='-DDLL_EXPORT'
6498 hpux9
* | hpux10
* | hpux11
*)
6499 lt_prog_compiler_wl
='-Wl,'
6500 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6507 lt_prog_compiler_pic
='+Z'
6510 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6511 lt_prog_compiler_static
='${wl}-a ${wl}archive'
6514 irix5
* | irix6
* | nonstopux
*)
6515 lt_prog_compiler_wl
='-Wl,'
6516 # PIC (with -KPIC) is the default.
6517 lt_prog_compiler_static
='-non_shared'
6521 lt_prog_compiler_pic
='-KPIC'
6522 lt_prog_compiler_static
='-Bstatic'
6526 case $cc_basename in
6528 lt_prog_compiler_wl
='-Wl,'
6529 lt_prog_compiler_pic
='-KPIC'
6530 lt_prog_compiler_static
='-static'
6532 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
6533 # Portland Group compilers (*not* the Pentium gcc compiler,
6534 # which looks to be a dead project)
6535 lt_prog_compiler_wl
='-Wl,'
6536 lt_prog_compiler_pic
='-fpic'
6537 lt_prog_compiler_static
='-Bstatic'
6540 lt_prog_compiler_wl
='-Wl,'
6541 # All Alpha code is PIC.
6542 lt_prog_compiler_static
='-non_shared'
6547 osf3
* | osf4
* | osf5
*)
6548 lt_prog_compiler_wl
='-Wl,'
6549 # All OSF/1 code is PIC.
6550 lt_prog_compiler_static
='-non_shared'
6554 lt_prog_compiler_pic
='-KPIC'
6555 lt_prog_compiler_static
='-Bstatic'
6556 case $cc_basename in
6558 lt_prog_compiler_wl
='-Qoption ld ';;
6560 lt_prog_compiler_wl
='-Wl,';;
6565 lt_prog_compiler_wl
='-Qoption ld '
6566 lt_prog_compiler_pic
='-PIC'
6567 lt_prog_compiler_static
='-Bstatic'
6570 sysv4 | sysv4.2uw2
* | sysv4.3
*)
6571 lt_prog_compiler_wl
='-Wl,'
6572 lt_prog_compiler_pic
='-KPIC'
6573 lt_prog_compiler_static
='-Bstatic'
6577 if test -d /usr
/nec
;then
6578 lt_prog_compiler_pic
='-Kconform_pic'
6579 lt_prog_compiler_static
='-Bstatic'
6583 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
6584 lt_prog_compiler_wl
='-Wl,'
6585 lt_prog_compiler_pic
='-KPIC'
6586 lt_prog_compiler_static
='-Bstatic'
6590 lt_prog_compiler_wl
='-Wl,'
6591 lt_prog_compiler_can_build_shared
=no
6595 lt_prog_compiler_pic
='-pic'
6596 lt_prog_compiler_static
='-Bstatic'
6600 lt_prog_compiler_can_build_shared
=no
6605 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6606 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6609 # Check to make sure the PIC flag actually works.
6611 if test -n "$lt_prog_compiler_pic"; then
6613 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6614 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6615 if test "${lt_prog_compiler_pic_works+set}" = set; then
6616 echo $ECHO_N "(cached) $ECHO_C" >&6
6618 lt_prog_compiler_pic_works
=no
6619 ac_outfile
=conftest.
$ac_objext
6620 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6621 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
6622 # Insert the option either (1) after the last *FLAGS variable, or
6623 # (2) before a word containing "conftest.", or (3) at the end.
6624 # Note that $ac_compile itself does not contain backslashes and begins
6625 # with a dollar sign (not a hyphen), so the echo should work correctly.
6626 # The option is referenced via a variable to avoid confusing sed.
6627 lt_compile
=`echo "$ac_compile" | $SED \
6628 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6629 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6630 -e 's:$: $lt_compiler_flag:'`
6631 (eval echo "\"\$as_me:6631: $lt_compile\"" >&5)
6632 (eval "$lt_compile" 2>conftest.err
)
6634 cat conftest.err
>&5
6635 echo "$as_me:6635: \$? = $ac_status" >&5
6636 if (exit $ac_status) && test -s "$ac_outfile"; then
6637 # The compiler can only warn and ignore the option if not recognized
6638 # So say no if there are warnings other than the usual output.
6639 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
6640 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
6641 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
6642 lt_prog_compiler_pic_works
=yes
6648 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6649 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6651 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
6652 case $lt_prog_compiler_pic in
6654 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
6657 lt_prog_compiler_pic
=
6658 lt_prog_compiler_can_build_shared
=no
6663 # For platforms which do not support PIC, -DPIC is meaningless:
6665 lt_prog_compiler_pic
=
6668 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
6673 # Check to make sure the static flag actually works.
6675 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
6676 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
6677 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
6678 if test "${lt_prog_compiler_static_works+set}" = set; then
6679 echo $ECHO_N "(cached) $ECHO_C" >&6
6681 lt_prog_compiler_static_works
=no
6682 save_LDFLAGS
="$LDFLAGS"
6683 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
6684 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
6685 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
6686 # The linker can only warn and ignore the option if not recognized
6687 # So say no if there are warnings
6688 if test -s conftest.err
; then
6689 # Append any errors to the config.log.
6690 cat conftest.err
1>&5
6691 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
6692 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
6693 if diff conftest.exp conftest.er2
>/dev
/null
; then
6694 lt_prog_compiler_static_works
=yes
6697 lt_prog_compiler_static_works
=yes
6701 LDFLAGS
="$save_LDFLAGS"
6704 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6705 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6707 if test x
"$lt_prog_compiler_static_works" = xyes
; then
6710 lt_prog_compiler_static
=
6714 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6715 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6716 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6717 echo $ECHO_N "(cached) $ECHO_C" >&6
6719 lt_cv_prog_compiler_c_o
=no
6720 $rm -r conftest
2>/dev
/null
6724 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6726 lt_compiler_flag
="-o out/conftest2.$ac_objext"
6727 # Insert the option either (1) after the last *FLAGS variable, or
6728 # (2) before a word containing "conftest.", or (3) at the end.
6729 # Note that $ac_compile itself does not contain backslashes and begins
6730 # with a dollar sign (not a hyphen), so the echo should work correctly.
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>out
/conftest.err
)
6738 cat out
/conftest.err
>&5
6739 echo "$as_me:6739: \$? = $ac_status" >&5
6740 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
6742 # The compiler can only warn and ignore the option if not recognized
6743 # So say no if there are warnings
6744 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
6745 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
6746 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
6747 lt_cv_prog_compiler_c_o
=yes
6752 # SGI C++ compiler will create directory out/ii_files/ for
6753 # template instantiation
6754 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
6755 $rm out
/* && rmdir out
6761 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6762 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6765 hard_links
="nottested"
6766 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
6767 # do not overwrite the value of need_locks provided by the user
6768 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6769 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
6772 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
6774 ln conftest.a conftest.b
2>&5 || hard_links
=no
6775 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
6776 echo "$as_me:$LINENO: result: $hard_links" >&5
6777 echo "${ECHO_T}$hard_links" >&6
6778 if test "$hard_links" = no
; then
6779 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6780 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6787 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6788 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
6791 allow_undefined_flag
=
6792 enable_shared_with_static_runtimes
=no
6794 archive_expsym_cmds
=
6795 old_archive_From_new_cmds
=
6796 old_archive_from_expsyms_cmds
=
6797 export_dynamic_flag_spec
=
6798 whole_archive_flag_spec
=
6799 thread_safe_flag_spec
=
6800 hardcode_libdir_flag_spec
=
6801 hardcode_libdir_flag_spec_ld
=
6802 hardcode_libdir_separator
=
6805 hardcode_shlibpath_var
=unsupported
6806 link_all_deplibs
=unknown
6807 hardcode_automatic
=no
6810 always_export_symbols
=no
6811 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6812 # include_expsyms should be a list of space-separated symbols to be *always*
6813 # included in the symbol list
6815 # exclude_expsyms can be an extended regexp of symbols to exclude
6816 # it will be wrapped by ` (' and `)$', so one must not match beginning or
6817 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6818 # as well as any symbol that contains `d'.
6819 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
6820 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6821 # platforms (ab)use it in PIC code, but their linkers get confused if
6822 # the symbol is explicitly referenced. Since portable code cannot
6823 # rely on this symbol name, it's probably fine to never include it in
6824 # preloaded symbol tables.
6825 extract_expsyms_cmds
=
6826 # Just being paranoid about ensuring that cc_basename is set.
6827 for cc_temp
in $compiler""; do
6829 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
6830 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
6835 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6838 cygwin
* | mingw
* | pw32
*)
6839 # FIXME: the MSVC++ port hasn't been tested in a loooong time
6840 # When not using gcc, we currently assume that we are using
6841 # Microsoft Visual C++.
6842 if test "$GCC" != yes; then
6847 # we just hope/assume this is gcc and not c89 (= MSVC++)
6856 if test "$with_gnu_ld" = yes; then
6857 # If archive_cmds runs LD, not CC, wlarc should be empty
6860 # Set some defaults for GNU ld with shared library support. These
6861 # are reset later if shared libraries are not supported. Putting them
6862 # here allows them to be overridden if necessary.
6863 runpath_var
=LD_RUN_PATH
6864 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
6865 export_dynamic_flag_spec
='${wl}--export-dynamic'
6866 # ancient GNU ld didn't support --whole-archive et. al.
6867 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
6868 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6870 whole_archive_flag_spec
=
6872 supports_anon_versioning
=no
6873 case `$LD -v 2>/dev/null` in
6874 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
6875 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
6876 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
6877 *\
2.11.
*) ;; # other 2.11 versions
6878 *) supports_anon_versioning
=yes ;;
6881 # See if GNU ld supports shared libraries.
6883 aix3
* | aix4
* | aix5
*)
6884 # On AIX/PPC, the GNU linker is very broken
6885 if test "$host_cpu" != ia64
; then
6889 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
6890 *** to be unable to reliably create shared libraries on AIX.
6891 *** Therefore, libtool is disabling shared libraries support. If you
6892 *** really care for shared libraries, you may want to modify your PATH
6893 *** so that a non-GNU linker is found, and then restart.
6900 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)'
6901 hardcode_libdir_flag_spec
='-L$libdir'
6902 hardcode_minus_L
=yes
6904 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
6905 # that the semantics of dynamic libraries on AmigaOS, at least up
6906 # to version 4, is to share data among multiple programs linked
6907 # with the same dynamic library. Since this doesn't match the
6908 # behavior of shared libraries on other platforms, we can't use
6914 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
6915 allow_undefined_flag
=unsupported
6916 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
6917 # support --undefined. This deserves some investigation. FIXME
6918 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6924 cygwin
* | mingw
* | pw32
*)
6925 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
6926 # as there is no search path for DLLs.
6927 hardcode_libdir_flag_spec
='-L$libdir'
6928 allow_undefined_flag
=unsupported
6929 always_export_symbols
=no
6930 enable_shared_with_static_runtimes
=yes
6931 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
6933 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
6934 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
6935 # If the export-symbols file already is a .def file (1st line
6936 # is EXPORTS), use it as is; otherwise, prepend...
6937 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
6938 cp $export_symbols $output_objdir/$soname.def;
6940 echo EXPORTS > $output_objdir/$soname.def;
6941 cat $export_symbols >> $output_objdir/$soname.def;
6943 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
6951 hardcode_shlibpath_var
=no
6952 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
6953 export_dynamic_flag_spec
='${wl}-E'
6954 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
6955 # Instead, shared libraries are loaded at an image base (0x10000000 by
6956 # default) and relocated if they conflict, which is a slow very memory
6957 # consuming and fragmenting process. To avoid this, we pick a random,
6958 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
6959 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
6960 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
6961 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'
6965 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
6967 case $cc_basename,$host_cpu in
6968 pgcc
*) # Portland Group C compiler
6969 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'
6970 tmp_addflag
=' $pic_flag'
6972 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
6973 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'
6974 tmp_addflag
=' $pic_flag -Mnomain' ;;
6975 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
6976 tmp_addflag
=' -i_dynamic' ;;
6977 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
6978 tmp_addflag
=' -i_dynamic -nofor_main' ;;
6979 ifc
* | ifort
*) # Intel Fortran compiler
6980 tmp_addflag
=' -nofor_main' ;;
6982 archive_cmds
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6984 if test $supports_anon_versioning = yes; then
6985 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
6986 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
6987 $echo "local: *; };" >> $output_objdir/$libname.ver~
6988 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
6996 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
6997 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7000 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7001 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7006 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
7010 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7011 *** create shared libraries on Solaris systems. Therefore, libtool
7012 *** is disabling shared libraries support. We urge you to upgrade GNU
7013 *** binutils to release 2.9.1 or newer. Another option is to modify
7014 *** your PATH or compiler configuration so that the native linker is
7015 *** used, and then restart.
7018 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7019 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7020 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7026 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7027 case `$LD -v 2>&1` in
7028 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
7032 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7033 *** reliably create shared libraries on SCO systems. Therefore, libtool
7034 *** is disabling shared libraries support. We urge you to upgrade GNU
7035 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7036 *** your PATH or compiler configuration so that the native linker is
7037 *** used, and then restart.
7042 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7043 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
7044 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
7045 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
7054 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7057 hardcode_shlibpath_var
=no
7061 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7062 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7063 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7070 if test "$ld_shlibs" = no
; then
7072 hardcode_libdir_flag_spec
=
7073 export_dynamic_flag_spec
=
7074 whole_archive_flag_spec
=
7077 # PORTME fill in a description of your system's linker (not GNU ld)
7080 allow_undefined_flag
=unsupported
7081 always_export_symbols
=yes
7082 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'
7083 # Note: this linker hardcodes the directories in LIBPATH if there
7084 # are no directories specified by -L.
7085 hardcode_minus_L
=yes
7086 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7087 # Neither direct hardcoding nor static linking is supported with a
7089 hardcode_direct
=unsupported
7094 if test "$host_cpu" = ia64
; then
7095 # On IA64, the linker does run time linking by default, so we don't
7096 # have to do anything special.
7097 aix_use_runtimelinking
=no
7098 exp_sym_flag
='-Bexport'
7101 # If we're using GNU nm, then we don't want the "-C" option.
7102 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7103 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
7104 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'
7106 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'
7108 aix_use_runtimelinking
=no
7110 # Test if we are trying to use run time linking or normal
7111 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7112 # need to do runtime linking.
7113 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
7114 for ld_flag
in $LDFLAGS; do
7115 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
7116 aix_use_runtimelinking
=yes
7123 exp_sym_flag
='-bexport'
7124 no_entry_flag
='-bnoentry'
7127 # When large executables or shared objects are built, AIX ld can
7128 # have problems creating the table of contents. If linking a library
7129 # or program results in "error TOC overflow" add -mminimal-toc to
7130 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7131 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7135 hardcode_libdir_separator
=':'
7136 link_all_deplibs
=yes
7138 if test "$GCC" = yes; then
7139 case $host_os in aix4.
[012]|aix4.
[012].
*)
7140 # We only want to do this on AIX 4.2 and lower, the check
7141 # below for broken collect2 doesn't work under 4.3+
7142 collect2name
=`${CC} -print-prog-name=collect2`
7143 if test -f "$collect2name" && \
7144 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
7146 # We have reworked collect2
7149 # We have old collect2
7150 hardcode_direct
=unsupported
7151 # It fails to find uninstalled libraries when the uninstalled
7152 # path is not listed in the libpath. Setting hardcode_minus_L
7153 # to unsupported forces relinking
7154 hardcode_minus_L
=yes
7155 hardcode_libdir_flag_spec
='-L$libdir'
7156 hardcode_libdir_separator
=
7160 shared_flag
='-shared'
7161 if test "$aix_use_runtimelinking" = yes; then
7162 shared_flag
="$shared_flag "'${wl}-G'
7166 if test "$host_cpu" = ia64
; then
7167 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7168 # chokes on -Wl,-G. The following line is correct:
7171 if test "$aix_use_runtimelinking" = yes; then
7172 shared_flag
='${wl}-G'
7174 shared_flag
='${wl}-bM:SRE'
7179 # It seems that -bexpall does not export symbols beginning with
7180 # underscore (_), so it is better to generate a list of symbols to export.
7181 always_export_symbols
=yes
7182 if test "$aix_use_runtimelinking" = yes; then
7183 # Warning - without using the other runtime loading flags (-brtl),
7184 # -berok will link without error, but may produce a broken library.
7185 allow_undefined_flag
='-berok'
7186 # Determine the default libpath from the value encoded in an empty executable.
7187 cat >conftest.
$ac_ext <<_ACEOF
7190 cat confdefs.h
>>conftest.
$ac_ext
7191 cat >>conftest.
$ac_ext <<_ACEOF
7192 /* end confdefs.h. */
7202 rm -f conftest.
$ac_objext conftest
$ac_exeext
7203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7204 (eval $ac_link) 2>conftest.er1
7206 grep -v '^ *+' conftest.er1
>conftest.err
7208 cat conftest.err
>&5
7209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7210 (exit $ac_status); } &&
7211 { ac_try
='test -z "$ac_c_werror_flag"
7212 || test ! -s conftest.err'
7213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7217 (exit $ac_status); }; } &&
7218 { ac_try
='test -s conftest$ac_exeext'
7219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7223 (exit $ac_status); }; }; then
7225 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7227 # Check for a 64-bit object if we didn't find anything.
7228 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; }
7231 echo "$as_me: failed program was:" >&5
7232 sed 's/^/| /' conftest.
$ac_ext >&5
7235 rm -f conftest.err conftest.
$ac_objext \
7236 conftest
$ac_exeext conftest.
$ac_ext
7237 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7239 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7240 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"
7242 if test "$host_cpu" = ia64
; then
7243 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
7244 allow_undefined_flag
="-z nodefs"
7245 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"
7247 # Determine the default libpath from the value encoded in an empty executable.
7248 cat >conftest.
$ac_ext <<_ACEOF
7251 cat confdefs.h
>>conftest.
$ac_ext
7252 cat >>conftest.
$ac_ext <<_ACEOF
7253 /* end confdefs.h. */
7263 rm -f conftest.
$ac_objext conftest
$ac_exeext
7264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7265 (eval $ac_link) 2>conftest.er1
7267 grep -v '^ *+' conftest.er1
>conftest.err
7269 cat conftest.err
>&5
7270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7271 (exit $ac_status); } &&
7272 { ac_try
='test -z "$ac_c_werror_flag"
7273 || test ! -s conftest.err'
7274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7278 (exit $ac_status); }; } &&
7279 { ac_try
='test -s conftest$ac_exeext'
7280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7284 (exit $ac_status); }; }; then
7286 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7288 # Check for a 64-bit object if we didn't find anything.
7289 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; }
7292 echo "$as_me: failed program was:" >&5
7293 sed 's/^/| /' conftest.
$ac_ext >&5
7296 rm -f conftest.err conftest.
$ac_objext \
7297 conftest
$ac_exeext conftest.
$ac_ext
7298 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7300 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7301 # Warning - without using the other run time loading flags,
7302 # -berok will link without error, but may produce a broken library.
7303 no_undefined_flag
=' ${wl}-bernotok'
7304 allow_undefined_flag
=' ${wl}-berok'
7305 # Exported symbols can be pulled into shared objects from archives
7306 whole_archive_flag_spec
='$convenience'
7307 archive_cmds_need_lc
=yes
7308 # This is similar to how AIX traditionally builds its shared libraries.
7309 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'
7315 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)'
7316 hardcode_libdir_flag_spec
='-L$libdir'
7317 hardcode_minus_L
=yes
7318 # see comment about different semantics on the GNU ld section
7323 export_dynamic_flag_spec
=-rdynamic
7326 cygwin
* | mingw
* | pw32
*)
7327 # When not using gcc, we currently assume that we are using
7328 # Microsoft Visual C++.
7329 # hardcode_libdir_flag_spec is actually meaningless, as there is
7330 # no search path for DLLs.
7331 hardcode_libdir_flag_spec
=' '
7332 allow_undefined_flag
=unsupported
7333 # Tell ltmain to make .lib files, not .a files.
7335 # Tell ltmain to make .dll files, not .so files.
7337 # FIXME: Setting linknames here is a bad hack.
7338 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
7339 # The linker will automatically build a .lib file if we build a DLL.
7340 old_archive_From_new_cmds
='true'
7341 # FIXME: Should let the user specify the lib program.
7342 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
7343 fix_srcfile_path
='`cygpath -w "$srcfile"`'
7344 enable_shared_with_static_runtimes
=yes
7347 darwin
* | rhapsody
*)
7349 rhapsody
* | darwin1.
[012])
7350 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
7353 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
7354 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7356 case ${MACOSX_DEPLOYMENT_TARGET} in
7358 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7361 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
7367 archive_cmds_need_lc
=no
7369 hardcode_automatic
=yes
7370 hardcode_shlibpath_var
=unsupported
7371 whole_archive_flag_spec
=''
7372 link_all_deplibs
=yes
7373 if test "$GCC" = yes ; then
7374 output_verbose_link_cmd
='echo'
7375 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7376 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7377 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7378 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}'
7379 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}'
7381 case $cc_basename in
7383 output_verbose_link_cmd
='echo'
7384 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
7385 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7386 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7387 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}'
7388 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}'
7398 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7399 hardcode_libdir_flag_spec
='-L$libdir'
7400 hardcode_shlibpath_var
=no
7407 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7408 # support. Future versions do this automatically, but an explicit c++rt0.o
7409 # does not break anything, and helps significantly (at the cost of a little
7412 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7413 hardcode_libdir_flag_spec
='-R$libdir'
7415 hardcode_shlibpath_var
=no
7418 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7420 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7422 hardcode_minus_L
=yes
7423 hardcode_shlibpath_var
=no
7426 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7427 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
7428 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7429 hardcode_libdir_flag_spec
='-R$libdir'
7431 hardcode_shlibpath_var
=no
7435 if test "$GCC" = yes; then
7436 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'
7438 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'
7440 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7441 hardcode_libdir_separator
=:
7444 # hardcode_minus_L: Not really in the search PATH,
7445 # but as the default location of the library.
7446 hardcode_minus_L
=yes
7447 export_dynamic_flag_spec
='${wl}-E'
7451 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7452 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7454 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7456 if test "$with_gnu_ld" = no
; then
7457 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7458 hardcode_libdir_separator
=:
7461 export_dynamic_flag_spec
='${wl}-E'
7463 # hardcode_minus_L: Not really in the search PATH,
7464 # but as the default location of the library.
7465 hardcode_minus_L
=yes
7470 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7473 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7476 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7479 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7485 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7488 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7491 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7495 if test "$with_gnu_ld" = no
; then
7496 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7497 hardcode_libdir_separator
=:
7501 hardcode_libdir_flag_spec_ld
='+b $libdir'
7503 hardcode_shlibpath_var
=no
7507 export_dynamic_flag_spec
='${wl}-E'
7509 # hardcode_minus_L: Not really in the search PATH,
7510 # but as the default location of the library.
7511 hardcode_minus_L
=yes
7517 irix5
* | irix6
* | nonstopux
*)
7518 if test "$GCC" = yes; then
7519 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'
7521 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'
7522 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
7524 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7525 hardcode_libdir_separator
=:
7526 link_all_deplibs
=yes
7530 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7531 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7533 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7535 hardcode_libdir_flag_spec
='-R$libdir'
7537 hardcode_shlibpath_var
=no
7541 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7543 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7544 hardcode_libdir_separator
=:
7545 hardcode_shlibpath_var
=no
7550 hardcode_shlibpath_var
=no
7551 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7552 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7553 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
7554 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7555 export_dynamic_flag_spec
='${wl}-E'
7558 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
7559 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7560 hardcode_libdir_flag_spec
='-R$libdir'
7563 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7564 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7571 hardcode_libdir_flag_spec
='-L$libdir'
7572 hardcode_minus_L
=yes
7573 allow_undefined_flag
=unsupported
7574 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'
7575 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7579 if test "$GCC" = yes; then
7580 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
7581 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'
7583 allow_undefined_flag
=' -expect_unresolved \*'
7584 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'
7586 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7587 hardcode_libdir_separator
=:
7590 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
7591 if test "$GCC" = yes; then
7592 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
7593 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'
7594 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7596 allow_undefined_flag
=' -expect_unresolved \*'
7597 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'
7598 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
7599 $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'
7601 # Both c and cxx compiler support -rpath directly
7602 hardcode_libdir_flag_spec
='-rpath $libdir'
7604 hardcode_libdir_separator
=:
7608 no_undefined_flag
=' -z text'
7609 if test "$GCC" = yes; then
7611 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7612 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7613 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
7616 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7617 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7618 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7620 hardcode_libdir_flag_spec
='-R$libdir'
7621 hardcode_shlibpath_var
=no
7623 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
7625 # The compiler driver will combine linker options so we
7626 # cannot just pass the convience library names through
7627 # without $wl, iff we do not link with $LD.
7628 # Luckily, gcc supports the same syntax we need for Sun Studio.
7629 # Supported since Solaris 2.6 (maybe 2.5.1?)
7632 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;;
7634 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' ;;
7637 link_all_deplibs
=yes
7641 if test "x$host_vendor" = xsequent
; then
7642 # Use $CC to link under sequent, because it throws in some extra .o
7643 # files that make .init and .fini sections work.
7644 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7646 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7648 hardcode_libdir_flag_spec
='-L$libdir'
7650 hardcode_minus_L
=yes
7651 hardcode_shlibpath_var
=no
7655 case $host_vendor in
7657 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7658 hardcode_direct
=yes # is this really true???
7661 ## LD is ld it makes a PLAMLIB
7662 ## CC just makes a GrossModule.
7663 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7664 reload_cmds
='$CC -r -o $output$reload_objs'
7668 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7669 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
7672 runpath_var
='LD_RUN_PATH'
7673 hardcode_shlibpath_var
=no
7677 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7678 hardcode_shlibpath_var
=no
7679 export_dynamic_flag_spec
='-Bexport'
7683 if test -d /usr
/nec
; then
7684 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7685 hardcode_shlibpath_var
=no
7686 runpath_var
=LD_RUN_PATH
7687 hardcode_runpath_var
=yes
7692 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
7693 no_undefined_flag
='${wl}-z,text'
7694 archive_cmds_need_lc
=no
7695 hardcode_shlibpath_var
=no
7696 runpath_var
='LD_RUN_PATH'
7698 if test "$GCC" = yes; then
7699 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7700 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7702 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7703 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7707 sysv5
* | sco3.2v5
* | sco5v6
*)
7708 # Note: We can NOT use -z defs as we might desire, because we do not
7709 # link with -lc, and that would cause any symbols used from libc to
7710 # always be unresolved, which means just about no library would
7711 # ever link correctly. If we're not using GNU ld we use -z text
7712 # though, which does catch some bad symbols but isn't as heavy-handed
7714 no_undefined_flag
='${wl}-z,text'
7715 allow_undefined_flag
='${wl}-z,nodefs'
7716 archive_cmds_need_lc
=no
7717 hardcode_shlibpath_var
=no
7718 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
7719 hardcode_libdir_separator
=':'
7720 link_all_deplibs
=yes
7721 export_dynamic_flag_spec
='${wl}-Bexport'
7722 runpath_var
='LD_RUN_PATH'
7724 if test "$GCC" = yes; then
7725 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
7726 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
7728 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
7729 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
7734 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7735 hardcode_libdir_flag_spec
='-L$libdir'
7736 hardcode_shlibpath_var
=no
7745 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7746 echo "${ECHO_T}$ld_shlibs" >&6
7747 test "$ld_shlibs" = no
&& can_build_shared
=no
7750 # Do we need to explicitly link libc?
7752 case "x$archive_cmds_need_lc" in
7754 # Assume -lc should be added
7755 archive_cmds_need_lc
=yes
7757 if test "$enable_shared" = yes && test "$GCC" = yes; then
7758 case $archive_cmds in
7760 # FIXME: we may have to deal with multi-command sequences.
7763 # Test whether the compiler implicitly links with -lc since on some
7764 # systems, -lgcc has to come before -lc. If gcc already passes -lc
7765 # to ld, don't add -lc before -lgcc.
7766 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7767 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
7769 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7772 (eval $ac_compile) 2>&5
7774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7775 (exit $ac_status); } 2>conftest.err
; then
7778 libobjs
=conftest.
$ac_objext
7780 wl
=$lt_prog_compiler_wl
7781 pic_flag
=$lt_prog_compiler_pic
7787 lt_save_allow_undefined_flag
=$allow_undefined_flag
7788 allow_undefined_flag
=
7789 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
7790 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
7792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7793 (exit $ac_status); }
7795 archive_cmds_need_lc
=no
7797 archive_cmds_need_lc
=yes
7799 allow_undefined_flag
=$lt_save_allow_undefined_flag
7801 cat conftest.err
1>&5
7804 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7805 echo "${ECHO_T}$archive_cmds_need_lc" >&6
7812 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7813 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
7815 libname_spec
='lib$name'
7823 shlibpath_overrides_runpath
=unknown
7825 dynamic_linker
="$host_os ld.so"
7826 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
7827 if test "$GCC" = yes; then
7828 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7829 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
7830 # if the path contains ";" then we assume it to be the separator
7831 # otherwise default to the standard path separator (i.e. ":") - it is
7832 # assumed that no part of a normal pathname contains ";" but that should
7833 # okay in the real world where ";" in dirpaths is itself problematic.
7834 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7836 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7839 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
7841 need_lib_prefix
=unknown
7842 hardcode_into_libs
=no
7844 # when you set need_version to no, make sure it does not cause -set_version
7845 # flags to be left without arguments
7846 need_version
=unknown
7851 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
7852 shlibpath_var
=LIBPATH
7854 # AIX 3 has no versioning support, so we append a major version to the name.
7855 soname_spec
='${libname}${release}${shared_ext}$major'
7862 hardcode_into_libs
=yes
7863 if test "$host_cpu" = ia64
; then
7864 # AIX 5 supports IA64
7865 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
7866 shlibpath_var
=LD_LIBRARY_PATH
7868 # With GCC up to 2.95.x, collect2 would create an import file
7869 # for dependence libraries. The import file would start with
7870 # the line `#! .'. This would cause the generated library to
7871 # depend on `.', always an invalid library. This was fixed in
7872 # development snapshots of GCC prior to 3.0.
7874 aix4 | aix4.
[01] | aix4.
[01].
*)
7875 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
7877 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
7884 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
7885 # soname into executable. Probably we can add versioning support to
7886 # collect2, so additional links can be useful in future.
7887 if test "$aix_use_runtimelinking" = yes; then
7888 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
7889 # instead of lib<name>.a to let people know that these are not
7890 # typical AIX shared libraries.
7891 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7893 # We preserve .a as extension for shared libraries through AIX4.2
7894 # and later when we are not doing run time linking.
7895 library_names_spec
='${libname}${release}.a $libname.a'
7896 soname_spec
='${libname}${release}${shared_ext}$major'
7898 shlibpath_var
=LIBPATH
7903 library_names_spec
='$libname.ixlibrary $libname.a'
7904 # Create ${libname}_ixlibrary.a entries in /sys/libs.
7905 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'
7909 library_names_spec
='${libname}${shared_ext}'
7910 dynamic_linker
="$host_os ld.so"
7911 shlibpath_var
=LIBRARY_PATH
7917 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7918 soname_spec
='${libname}${release}${shared_ext}$major'
7919 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
7920 shlibpath_var
=LD_LIBRARY_PATH
7921 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
7922 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
7923 # the default ld.so.conf also contains /usr/contrib/lib and
7924 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
7925 # libtool to hard-code these into programs
7928 cygwin
* | mingw
* | pw32
*)
7929 version_type
=windows
7934 case $GCC,$host_os in
7935 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
7936 library_names_spec
='$libname.dll.a'
7937 # DLL is installed to $(libdir)/../bin by postinstall_cmds
7938 postinstall_cmds
='base_file=`basename \${file}`~
7939 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
7940 dldir=$destdir/`dirname \$dlpath`~
7941 test -d \$dldir || mkdir -p \$dldir~
7942 $install_prog $dir/$dlname \$dldir/$dlname~
7943 chmod a+x \$dldir/$dlname'
7944 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
7945 dlpath=$dir/\$dldll~
7947 shlibpath_overrides_runpath
=yes
7951 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
7952 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7953 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
7956 # MinGW DLLs use traditional 'lib' prefix
7957 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7958 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7959 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
7960 # It is most probably a Windows format PATH printed by
7961 # mingw gcc, but we are running on Cygwin. Gcc prints its search
7962 # path with ; separators, and with drive letters. We can handle the
7963 # drive letters (cygwin fileutils understands them), so leave them,
7964 # especially as we might pass files found there to a mingw objdump,
7965 # which wouldn't understand a cygwinified path. Ahh.
7966 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7968 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7972 # pw32 DLLs use 'pw' prefix rather than 'lib'
7973 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7979 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
7982 dynamic_linker
='Win32 ld.exe'
7983 # FIXME: first we should search . and the directory the executable is in
7987 darwin
* | rhapsody
*)
7988 dynamic_linker
="$host_os dyld"
7992 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
7993 soname_spec
='${libname}${release}${major}$shared_ext'
7994 shlibpath_overrides_runpath
=yes
7995 shlibpath_var
=DYLD_LIBRARY_PATH
7996 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
7997 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
7998 if test "$GCC" = yes; then
7999 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"`
8001 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
8003 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8010 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8011 soname_spec
='${libname}${release}${shared_ext}$major'
8012 shlibpath_var
=LD_LIBRARY_PATH
8023 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8024 soname_spec
='${libname}${release}${shared_ext}$major'
8025 shlibpath_var
=LD_LIBRARY_PATH
8026 shlibpath_overrides_runpath
=no
8027 hardcode_into_libs
=yes
8028 dynamic_linker
='GNU ld.so'
8031 freebsd
* | dragonfly
*)
8032 # DragonFly does not have aout. When/if they implement a new
8033 # versioning mechanism, adjust this.
8034 if test -x /usr
/bin
/objformat
; then
8035 objformat
=`/usr/bin/objformat`
8038 freebsd
[123]*) objformat
=aout
;;
8042 version_type
=freebsd-
$objformat
8043 case $version_type in
8045 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8050 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8054 shlibpath_var
=LD_LIBRARY_PATH
8057 shlibpath_overrides_runpath
=yes
8059 freebsd3.
[01]* | freebsdelf3.
[01]*)
8060 shlibpath_overrides_runpath
=yes
8061 hardcode_into_libs
=yes
8063 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
8064 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
8065 shlibpath_overrides_runpath
=no
8066 hardcode_into_libs
=yes
8068 freebsd
*) # from 4.6 on
8069 shlibpath_overrides_runpath
=yes
8070 hardcode_into_libs
=yes
8079 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8080 soname_spec
='${libname}${release}${shared_ext}$major'
8081 shlibpath_var
=LD_LIBRARY_PATH
8082 hardcode_into_libs
=yes
8085 hpux9
* | hpux10
* | hpux11
*)
8086 # Give a soname corresponding to the major version so that dld.sl refuses to
8087 # link against other versions.
8094 hardcode_into_libs
=yes
8095 dynamic_linker
="$host_os dld.so"
8096 shlibpath_var
=LD_LIBRARY_PATH
8097 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8098 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8099 soname_spec
='${libname}${release}${shared_ext}$major'
8100 if test "X$HPUX_IA64_MODE" = X32
; then
8101 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8103 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8105 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8109 hardcode_into_libs
=yes
8110 dynamic_linker
="$host_os dld.sl"
8111 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8112 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8113 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8114 soname_spec
='${libname}${release}${shared_ext}$major'
8115 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8116 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8120 dynamic_linker
="$host_os dld.sl"
8121 shlibpath_var
=SHLIB_PATH
8122 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
8123 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8124 soname_spec
='${libname}${release}${shared_ext}$major'
8127 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8128 postinstall_cmds
='chmod 555 $lib'
8135 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8136 soname_spec
='${libname}${release}${shared_ext}$major'
8137 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
8138 shlibpath_var
=LD_LIBRARY_PATH
8139 shlibpath_overrides_runpath
=no
8140 hardcode_into_libs
=yes
8143 irix5
* | irix6
* | nonstopux
*)
8145 nonstopux
*) version_type
=nonstopux
;;
8147 if test "$lt_cv_prog_gnu_ld" = yes; then
8155 soname_spec
='${libname}${release}${shared_ext}$major'
8156 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8158 irix5
* | nonstopux
*)
8162 case $LD in # libtool.m4 will add one of these switches to LD
8163 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
8164 libsuff
= shlibsuff
= libmagic
=32-bit;;
8165 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
8166 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
8167 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
8168 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
8169 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
8173 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
8174 shlibpath_overrides_runpath
=no
8175 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8176 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
8177 hardcode_into_libs
=yes
8180 # No shared lib support for Linux oldld, aout, or coff.
8181 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
8185 # This must be Linux ELF.
8190 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8191 soname_spec
='${libname}${release}${shared_ext}$major'
8192 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8193 shlibpath_var
=LD_LIBRARY_PATH
8194 shlibpath_overrides_runpath
=no
8195 # This implies no fast_install, which is unacceptable.
8196 # Some rework will be needed to allow for fast_install
8197 # before this can be enabled.
8198 hardcode_into_libs
=yes
8200 # Append ld.so.conf contents to the search path
8201 if test -f /etc
/ld.so.conf
; then
8202 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
8203 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
8206 # We used to test for /lib/ld.so.1 and disable shared libraries on
8207 # powerpc, because MkLinux only supported shared libraries with the
8208 # GNU dynamic linker. Since this was broken with cross compilers,
8209 # most powerpc-linux boxes support dynamic linking these days and
8210 # people can always --disable-shared, the test was removed, and we
8211 # assume the GNU/Linux dynamic linker is in use.
8212 dynamic_linker
='GNU/Linux ld.so'
8219 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8220 soname_spec
='${libname}${release}${shared_ext}$major'
8221 shlibpath_var
=LD_LIBRARY_PATH
8222 shlibpath_overrides_runpath
=no
8223 hardcode_into_libs
=yes
8224 dynamic_linker
='GNU ld.so'
8231 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8232 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8233 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8234 dynamic_linker
='NetBSD (a.out) ld.so'
8236 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8237 soname_spec
='${libname}${release}${shared_ext}$major'
8238 dynamic_linker
='NetBSD ld.elf_so'
8240 shlibpath_var
=LD_LIBRARY_PATH
8241 shlibpath_overrides_runpath
=yes
8242 hardcode_into_libs
=yes
8247 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8248 shlibpath_var
=LD_LIBRARY_PATH
8249 shlibpath_overrides_runpath
=yes
8256 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8257 soname_spec
='${libname}${release}${shared_ext}$major'
8258 shlibpath_var
=LD_LIBRARY_PATH
8259 shlibpath_overrides_runpath
=yes
8264 sys_lib_dlsearch_path_spec
="/usr/lib"
8266 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
8268 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
8269 *) need_version
=no
;;
8271 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8272 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8273 shlibpath_var
=LD_LIBRARY_PATH
8274 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8276 openbsd2.
[89] | openbsd2.
[89].
*)
8277 shlibpath_overrides_runpath
=no
8280 shlibpath_overrides_runpath
=yes
8284 shlibpath_overrides_runpath
=yes
8289 libname_spec
='$name'
8292 library_names_spec
='$libname${shared_ext} $libname.a'
8293 dynamic_linker
='OS/2 ld.exe'
8294 shlibpath_var
=LIBPATH
8297 osf3
* | osf4
* | osf5
*)
8301 soname_spec
='${libname}${release}${shared_ext}$major'
8302 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8303 shlibpath_var
=LD_LIBRARY_PATH
8304 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
8305 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
8312 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8313 soname_spec
='${libname}${release}${shared_ext}$major'
8314 shlibpath_var
=LD_LIBRARY_PATH
8315 shlibpath_overrides_runpath
=yes
8316 hardcode_into_libs
=yes
8317 # ldd complains unless libraries are executable
8318 postinstall_cmds
='chmod +x $lib'
8323 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8324 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
8325 shlibpath_var
=LD_LIBRARY_PATH
8326 shlibpath_overrides_runpath
=yes
8327 if test "$with_gnu_ld" = yes; then
8335 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8336 soname_spec
='${libname}${release}${shared_ext}$major'
8337 shlibpath_var
=LD_LIBRARY_PATH
8338 case $host_vendor in
8340 shlibpath_overrides_runpath
=no
8342 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8343 runpath_var
=LD_RUN_PATH
8351 shlibpath_overrides_runpath
=no
8352 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
8358 if test -d /usr
/nec
;then
8360 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8361 soname_spec
='$libname${shared_ext}.$major'
8362 shlibpath_var
=LD_LIBRARY_PATH
8366 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
8367 version_type
=freebsd-elf
8370 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8371 soname_spec
='${libname}${release}${shared_ext}$major'
8372 shlibpath_var
=LD_LIBRARY_PATH
8373 hardcode_into_libs
=yes
8374 if test "$with_gnu_ld" = yes; then
8375 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
8376 shlibpath_overrides_runpath
=no
8378 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
8379 shlibpath_overrides_runpath
=yes
8382 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
8386 sys_lib_dlsearch_path_spec
='/usr/lib'
8391 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8392 soname_spec
='${libname}${release}${shared_ext}$major'
8393 shlibpath_var
=LD_LIBRARY_PATH
8400 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8401 echo "${ECHO_T}$dynamic_linker" >&6
8402 test "$dynamic_linker" = no
&& can_build_shared
=no
8404 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
8405 if test "$GCC" = yes; then
8406 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
8409 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
8410 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
8412 if test -n "$hardcode_libdir_flag_spec" || \
8413 test -n "$runpath_var" || \
8414 test "X$hardcode_automatic" = "Xyes" ; then
8416 # We can hardcode non-existant directories.
8417 if test "$hardcode_direct" != no
&&
8418 # If the only mechanism to avoid hardcoding is shlibpath_var, we
8419 # have to relink, otherwise we might link with an installed library
8420 # when we should be linking with a yet-to-be-installed one
8421 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
8422 test "$hardcode_minus_L" != no
; then
8423 # Linking always hardcodes the temporary library directory.
8424 hardcode_action
=relink
8426 # We can link without hardcoding, and we can hardcode nonexisting dirs.
8427 hardcode_action
=immediate
8430 # We cannot hardcode anything, or else we can only hardcode existing
8432 hardcode_action
=unsupported
8434 echo "$as_me:$LINENO: result: $hardcode_action" >&5
8435 echo "${ECHO_T}$hardcode_action" >&6
8437 if test "$hardcode_action" = relink
; then
8438 # Fast installation is not supported
8439 enable_fast_install
=no
8440 elif test "$shlibpath_overrides_runpath" = yes ||
8441 test "$enable_shared" = no
; then
8442 # Fast installation is not necessary
8443 enable_fast_install
=needless
8448 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
8449 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
8450 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
8451 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
8452 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
8453 echo "$as_me:$LINENO: result: yes" >&5
8454 echo "${ECHO_T}yes" >&6
8456 # FIXME - insert some real tests, host_os isn't really good enough
8459 if test -n "$STRIP" ; then
8460 striplib
="$STRIP -x"
8461 echo "$as_me:$LINENO: result: yes" >&5
8462 echo "${ECHO_T}yes" >&6
8464 echo "$as_me:$LINENO: result: no" >&5
8465 echo "${ECHO_T}no" >&6
8469 echo "$as_me:$LINENO: result: no" >&5
8470 echo "${ECHO_T}no" >&6
8475 if test "x$enable_dlopen" != xyes
; then
8476 enable_dlopen
=unknown
8477 enable_dlopen_self
=unknown
8478 enable_dlopen_self_static
=unknown
8485 lt_cv_dlopen
="load_add_on"
8487 lt_cv_dlopen_self
=yes
8491 lt_cv_dlopen
="LoadLibrary"
8496 lt_cv_dlopen
="dlopen"
8501 # if libdl is installed we need to link against it
8502 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8503 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8504 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8505 echo $ECHO_N "(cached) $ECHO_C" >&6
8507 ac_check_lib_save_LIBS
=$LIBS
8509 cat >conftest.
$ac_ext <<_ACEOF
8512 cat confdefs.h
>>conftest.
$ac_ext
8513 cat >>conftest.
$ac_ext <<_ACEOF
8514 /* end confdefs.h. */
8516 /* Override any gcc2 internal prototype to avoid an error. */
8520 /* We use char because int might match the return type of a gcc2
8521 builtin and then its argument prototype would still apply. */
8531 rm -f conftest.
$ac_objext conftest
$ac_exeext
8532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8533 (eval $ac_link) 2>conftest.er1
8535 grep -v '^ *+' conftest.er1
>conftest.err
8537 cat conftest.err
>&5
8538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8539 (exit $ac_status); } &&
8540 { ac_try
='test -z "$ac_c_werror_flag"
8541 || test ! -s conftest.err'
8542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8546 (exit $ac_status); }; } &&
8547 { ac_try
='test -s conftest$ac_exeext'
8548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8552 (exit $ac_status); }; }; then
8553 ac_cv_lib_dl_dlopen
=yes
8555 echo "$as_me: failed program was:" >&5
8556 sed 's/^/| /' conftest.
$ac_ext >&5
8558 ac_cv_lib_dl_dlopen
=no
8560 rm -f conftest.err conftest.
$ac_objext \
8561 conftest
$ac_exeext conftest.
$ac_ext
8562 LIBS
=$ac_check_lib_save_LIBS
8564 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8565 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8566 if test $ac_cv_lib_dl_dlopen = yes; then
8567 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
8572 lt_cv_dlopen_self
=yes
8579 echo "$as_me:$LINENO: checking for shl_load" >&5
8580 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
8581 if test "${ac_cv_func_shl_load+set}" = set; then
8582 echo $ECHO_N "(cached) $ECHO_C" >&6
8584 cat >conftest.
$ac_ext <<_ACEOF
8587 cat confdefs.h
>>conftest.
$ac_ext
8588 cat >>conftest.
$ac_ext <<_ACEOF
8589 /* end confdefs.h. */
8590 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
8591 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8592 #define shl_load innocuous_shl_load
8594 /* System header to define __stub macros and hopefully few prototypes,
8595 which can conflict with char shl_load (); below.
8596 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8597 <limits.h> exists even on freestanding compilers. */
8600 # include <limits.h>
8602 # include <assert.h>
8607 /* Override any gcc2 internal prototype to avoid an error. */
8612 /* We use char because int might match the return type of a gcc2
8613 builtin and then its argument prototype would still apply. */
8615 /* The GNU C library defines this for functions which it implements
8616 to always fail with ENOSYS. Some functions are actually named
8617 something starting with __ and the normal name is an alias. */
8618 #if defined (__stub_shl_load) || defined (__stub___shl_load)
8621 char (*f) () = shl_load;
8630 return f != shl_load;
8635 rm -f conftest.
$ac_objext conftest
$ac_exeext
8636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8637 (eval $ac_link) 2>conftest.er1
8639 grep -v '^ *+' conftest.er1
>conftest.err
8641 cat conftest.err
>&5
8642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8643 (exit $ac_status); } &&
8644 { ac_try
='test -z "$ac_c_werror_flag"
8645 || test ! -s conftest.err'
8646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8650 (exit $ac_status); }; } &&
8651 { ac_try
='test -s conftest$ac_exeext'
8652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8656 (exit $ac_status); }; }; then
8657 ac_cv_func_shl_load
=yes
8659 echo "$as_me: failed program was:" >&5
8660 sed 's/^/| /' conftest.
$ac_ext >&5
8662 ac_cv_func_shl_load
=no
8664 rm -f conftest.err conftest.
$ac_objext \
8665 conftest
$ac_exeext conftest.
$ac_ext
8667 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8668 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
8669 if test $ac_cv_func_shl_load = yes; then
8670 lt_cv_dlopen
="shl_load"
8672 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8673 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
8674 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8675 echo $ECHO_N "(cached) $ECHO_C" >&6
8677 ac_check_lib_save_LIBS
=$LIBS
8679 cat >conftest.
$ac_ext <<_ACEOF
8682 cat confdefs.h
>>conftest.
$ac_ext
8683 cat >>conftest.
$ac_ext <<_ACEOF
8684 /* end confdefs.h. */
8686 /* Override any gcc2 internal prototype to avoid an error. */
8690 /* We use char because int might match the return type of a gcc2
8691 builtin and then its argument prototype would still apply. */
8701 rm -f conftest.
$ac_objext conftest
$ac_exeext
8702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8703 (eval $ac_link) 2>conftest.er1
8705 grep -v '^ *+' conftest.er1
>conftest.err
8707 cat conftest.err
>&5
8708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8709 (exit $ac_status); } &&
8710 { ac_try
='test -z "$ac_c_werror_flag"
8711 || test ! -s conftest.err'
8712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8716 (exit $ac_status); }; } &&
8717 { ac_try
='test -s conftest$ac_exeext'
8718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8722 (exit $ac_status); }; }; then
8723 ac_cv_lib_dld_shl_load
=yes
8725 echo "$as_me: failed program was:" >&5
8726 sed 's/^/| /' conftest.
$ac_ext >&5
8728 ac_cv_lib_dld_shl_load
=no
8730 rm -f conftest.err conftest.
$ac_objext \
8731 conftest
$ac_exeext conftest.
$ac_ext
8732 LIBS
=$ac_check_lib_save_LIBS
8734 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8735 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
8736 if test $ac_cv_lib_dld_shl_load = yes; then
8737 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
8739 echo "$as_me:$LINENO: checking for dlopen" >&5
8740 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
8741 if test "${ac_cv_func_dlopen+set}" = set; then
8742 echo $ECHO_N "(cached) $ECHO_C" >&6
8744 cat >conftest.
$ac_ext <<_ACEOF
8747 cat confdefs.h
>>conftest.
$ac_ext
8748 cat >>conftest.
$ac_ext <<_ACEOF
8749 /* end confdefs.h. */
8750 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
8751 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8752 #define dlopen innocuous_dlopen
8754 /* System header to define __stub macros and hopefully few prototypes,
8755 which can conflict with char dlopen (); below.
8756 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8757 <limits.h> exists even on freestanding compilers. */
8760 # include <limits.h>
8762 # include <assert.h>
8767 /* Override any gcc2 internal prototype to avoid an error. */
8772 /* We use char because int might match the return type of a gcc2
8773 builtin and then its argument prototype would still apply. */
8775 /* The GNU C library defines this for functions which it implements
8776 to always fail with ENOSYS. Some functions are actually named
8777 something starting with __ and the normal name is an alias. */
8778 #if defined (__stub_dlopen) || defined (__stub___dlopen)
8781 char (*f) () = dlopen;
8795 rm -f conftest.
$ac_objext conftest
$ac_exeext
8796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8797 (eval $ac_link) 2>conftest.er1
8799 grep -v '^ *+' conftest.er1
>conftest.err
8801 cat conftest.err
>&5
8802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8803 (exit $ac_status); } &&
8804 { ac_try
='test -z "$ac_c_werror_flag"
8805 || test ! -s conftest.err'
8806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8810 (exit $ac_status); }; } &&
8811 { ac_try
='test -s conftest$ac_exeext'
8812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8816 (exit $ac_status); }; }; then
8817 ac_cv_func_dlopen
=yes
8819 echo "$as_me: failed program was:" >&5
8820 sed 's/^/| /' conftest.
$ac_ext >&5
8822 ac_cv_func_dlopen
=no
8824 rm -f conftest.err conftest.
$ac_objext \
8825 conftest
$ac_exeext conftest.
$ac_ext
8827 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8828 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
8829 if test $ac_cv_func_dlopen = yes; then
8830 lt_cv_dlopen
="dlopen"
8832 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8833 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8834 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8835 echo $ECHO_N "(cached) $ECHO_C" >&6
8837 ac_check_lib_save_LIBS
=$LIBS
8839 cat >conftest.
$ac_ext <<_ACEOF
8842 cat confdefs.h
>>conftest.
$ac_ext
8843 cat >>conftest.
$ac_ext <<_ACEOF
8844 /* end confdefs.h. */
8846 /* Override any gcc2 internal prototype to avoid an error. */
8850 /* We use char because int might match the return type of a gcc2
8851 builtin and then its argument prototype would still apply. */
8861 rm -f conftest.
$ac_objext conftest
$ac_exeext
8862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8863 (eval $ac_link) 2>conftest.er1
8865 grep -v '^ *+' conftest.er1
>conftest.err
8867 cat conftest.err
>&5
8868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8869 (exit $ac_status); } &&
8870 { ac_try
='test -z "$ac_c_werror_flag"
8871 || test ! -s conftest.err'
8872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8876 (exit $ac_status); }; } &&
8877 { ac_try
='test -s conftest$ac_exeext'
8878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8882 (exit $ac_status); }; }; then
8883 ac_cv_lib_dl_dlopen
=yes
8885 echo "$as_me: failed program was:" >&5
8886 sed 's/^/| /' conftest.
$ac_ext >&5
8888 ac_cv_lib_dl_dlopen
=no
8890 rm -f conftest.err conftest.
$ac_objext \
8891 conftest
$ac_exeext conftest.
$ac_ext
8892 LIBS
=$ac_check_lib_save_LIBS
8894 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8895 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8896 if test $ac_cv_lib_dl_dlopen = yes; then
8897 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
8899 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
8900 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
8901 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
8902 echo $ECHO_N "(cached) $ECHO_C" >&6
8904 ac_check_lib_save_LIBS
=$LIBS
8906 cat >conftest.
$ac_ext <<_ACEOF
8909 cat confdefs.h
>>conftest.
$ac_ext
8910 cat >>conftest.
$ac_ext <<_ACEOF
8911 /* end confdefs.h. */
8913 /* Override any gcc2 internal prototype to avoid an error. */
8917 /* We use char because int might match the return type of a gcc2
8918 builtin and then its argument prototype would still apply. */
8928 rm -f conftest.
$ac_objext conftest
$ac_exeext
8929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8930 (eval $ac_link) 2>conftest.er1
8932 grep -v '^ *+' conftest.er1
>conftest.err
8934 cat conftest.err
>&5
8935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8936 (exit $ac_status); } &&
8937 { ac_try
='test -z "$ac_c_werror_flag"
8938 || test ! -s conftest.err'
8939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8943 (exit $ac_status); }; } &&
8944 { ac_try
='test -s conftest$ac_exeext'
8945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8949 (exit $ac_status); }; }; then
8950 ac_cv_lib_svld_dlopen
=yes
8952 echo "$as_me: failed program was:" >&5
8953 sed 's/^/| /' conftest.
$ac_ext >&5
8955 ac_cv_lib_svld_dlopen
=no
8957 rm -f conftest.err conftest.
$ac_objext \
8958 conftest
$ac_exeext conftest.
$ac_ext
8959 LIBS
=$ac_check_lib_save_LIBS
8961 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
8962 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
8963 if test $ac_cv_lib_svld_dlopen = yes; then
8964 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
8966 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
8967 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
8968 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
8969 echo $ECHO_N "(cached) $ECHO_C" >&6
8971 ac_check_lib_save_LIBS
=$LIBS
8973 cat >conftest.
$ac_ext <<_ACEOF
8976 cat confdefs.h
>>conftest.
$ac_ext
8977 cat >>conftest.
$ac_ext <<_ACEOF
8978 /* end confdefs.h. */
8980 /* Override any gcc2 internal prototype to avoid an error. */
8984 /* We use char because int might match the return type of a gcc2
8985 builtin and then its argument prototype would still apply. */
8995 rm -f conftest.
$ac_objext conftest
$ac_exeext
8996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8997 (eval $ac_link) 2>conftest.er1
8999 grep -v '^ *+' conftest.er1
>conftest.err
9001 cat conftest.err
>&5
9002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9003 (exit $ac_status); } &&
9004 { ac_try
='test -z "$ac_c_werror_flag"
9005 || test ! -s conftest.err'
9006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9010 (exit $ac_status); }; } &&
9011 { ac_try
='test -s conftest$ac_exeext'
9012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9016 (exit $ac_status); }; }; then
9017 ac_cv_lib_dld_dld_link
=yes
9019 echo "$as_me: failed program was:" >&5
9020 sed 's/^/| /' conftest.
$ac_ext >&5
9022 ac_cv_lib_dld_dld_link
=no
9024 rm -f conftest.err conftest.
$ac_objext \
9025 conftest
$ac_exeext conftest.
$ac_ext
9026 LIBS
=$ac_check_lib_save_LIBS
9028 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9029 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
9030 if test $ac_cv_lib_dld_dld_link = yes; then
9031 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
9052 if test "x$lt_cv_dlopen" != xno
; then
9058 case $lt_cv_dlopen in
9060 save_CPPFLAGS
="$CPPFLAGS"
9061 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
9063 save_LDFLAGS
="$LDFLAGS"
9064 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
9067 LIBS
="$lt_cv_dlopen_libs $LIBS"
9069 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9070 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
9071 if test "${lt_cv_dlopen_self+set}" = set; then
9072 echo $ECHO_N "(cached) $ECHO_C" >&6
9074 if test "$cross_compiling" = yes; then :
9075 lt_cv_dlopen_self
=cross
9077 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9078 lt_status
=$lt_dlunknown
9079 cat > conftest.
$ac_ext <<EOF
9080 #line 9080 "configure"
9081 #include "confdefs.h"
9090 # define LT_DLGLOBAL RTLD_GLOBAL
9093 # define LT_DLGLOBAL DL_GLOBAL
9095 # define LT_DLGLOBAL 0
9099 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9100 find out it does not work in some platform. */
9101 #ifndef LT_DLLAZY_OR_NOW
9103 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9106 # define LT_DLLAZY_OR_NOW DL_LAZY
9109 # define LT_DLLAZY_OR_NOW RTLD_NOW
9112 # define LT_DLLAZY_OR_NOW DL_NOW
9114 # define LT_DLLAZY_OR_NOW 0
9122 extern "C" void exit (int);
9125 void fnord() { int i=42;}
9128 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9129 int status = $lt_dlunknown;
9133 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9134 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9135 /* dlclose (self); */
9143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9144 (eval $ac_link) 2>&5
9146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9147 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9148 (.
/conftest
; exit; ) >&5 2>/dev
/null
9151 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
9152 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
9153 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
9156 # compilation failed
9157 lt_cv_dlopen_self
=no
9164 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9165 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
9167 if test "x$lt_cv_dlopen_self" = xyes
; then
9168 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
9169 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9170 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
9171 if test "${lt_cv_dlopen_self_static+set}" = set; then
9172 echo $ECHO_N "(cached) $ECHO_C" >&6
9174 if test "$cross_compiling" = yes; then :
9175 lt_cv_dlopen_self_static
=cross
9177 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9178 lt_status
=$lt_dlunknown
9179 cat > conftest.
$ac_ext <<EOF
9180 #line 9180 "configure"
9181 #include "confdefs.h"
9190 # define LT_DLGLOBAL RTLD_GLOBAL
9193 # define LT_DLGLOBAL DL_GLOBAL
9195 # define LT_DLGLOBAL 0
9199 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9200 find out it does not work in some platform. */
9201 #ifndef LT_DLLAZY_OR_NOW
9203 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9206 # define LT_DLLAZY_OR_NOW DL_LAZY
9209 # define LT_DLLAZY_OR_NOW RTLD_NOW
9212 # define LT_DLLAZY_OR_NOW DL_NOW
9214 # define LT_DLLAZY_OR_NOW 0
9222 extern "C" void exit (int);
9225 void fnord() { int i=42;}
9228 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9229 int status = $lt_dlunknown;
9233 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9234 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9235 /* dlclose (self); */
9243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9244 (eval $ac_link) 2>&5
9246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9247 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9248 (.
/conftest
; exit; ) >&5 2>/dev
/null
9251 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
9252 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
9253 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
9256 # compilation failed
9257 lt_cv_dlopen_self_static
=no
9264 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
9265 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
9268 CPPFLAGS
="$save_CPPFLAGS"
9269 LDFLAGS
="$save_LDFLAGS"
9274 case $lt_cv_dlopen_self in
9275 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
9276 *) enable_dlopen_self
=unknown
;;
9279 case $lt_cv_dlopen_self_static in
9280 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
9281 *) enable_dlopen_self_static
=unknown
;;
9286 # Report which library types will actually be built
9287 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9288 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
9289 echo "$as_me:$LINENO: result: $can_build_shared" >&5
9290 echo "${ECHO_T}$can_build_shared" >&6
9292 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9293 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
9294 test "$can_build_shared" = "no" && enable_shared
=no
9296 # On AIX, shared libraries and static libraries use the same namespace, and
9297 # are all built from PIC.
9300 test "$enable_shared" = yes && enable_static
=no
9301 if test -n "$RANLIB"; then
9302 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
9303 postinstall_cmds
='$RANLIB $lib'
9308 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
9309 test "$enable_shared" = yes && enable_static
=no
9313 echo "$as_me:$LINENO: result: $enable_shared" >&5
9314 echo "${ECHO_T}$enable_shared" >&6
9316 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9317 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
9318 # Make sure either enable_shared or enable_static is yes.
9319 test "$enable_shared" = yes || enable_static
=yes
9320 echo "$as_me:$LINENO: result: $enable_static" >&5
9321 echo "${ECHO_T}$enable_static" >&6
9323 # The else clause should only fire when bootstrapping the
9324 # libtool distribution, otherwise you forgot to ship ltmain.sh
9325 # with your package, and you will get complaints that there are
9326 # no rules to generate ltmain.sh.
9327 if test -f "$ltmain"; then
9328 # See if we are running on zsh, and set the options which allow our commands through
9329 # without removal of \ escapes.
9330 if test -n "${ZSH_VERSION+set}" ; then
9331 setopt NO_GLOB_SUBST
9333 # Now quote all the things that may contain metacharacters while being
9334 # careful not to overquote the AC_SUBSTed values. We take copies of the
9335 # variables and quote the copies for generation of the libtool script.
9336 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
9338 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
9339 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
9340 deplibs_check_method reload_flag reload_cmds need_locks \
9341 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
9342 lt_cv_sys_global_symbol_to_c_name_address \
9343 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
9344 old_postinstall_cmds old_postuninstall_cmds \
9348 lt_prog_compiler_wl \
9349 lt_prog_compiler_pic \
9350 lt_prog_compiler_static \
9351 lt_prog_compiler_no_builtin_flag \
9352 export_dynamic_flag_spec \
9353 thread_safe_flag_spec \
9354 whole_archive_flag_spec \
9355 enable_shared_with_static_runtimes \
9357 old_archive_from_new_cmds \
9362 compiler_lib_search_path \
9364 archive_expsym_cmds \
9366 postuninstall_cmds \
9367 old_archive_from_expsyms_cmds \
9368 allow_undefined_flag \
9370 export_symbols_cmds \
9371 hardcode_libdir_flag_spec \
9372 hardcode_libdir_flag_spec_ld \
9373 hardcode_libdir_separator \
9374 hardcode_automatic \
9376 module_expsym_cmds \
9377 lt_cv_prog_compiler_c_o \
9382 old_archive_cmds | \
9383 old_archive_from_new_cmds | \
9385 archive_expsym_cmds | \
9387 module_expsym_cmds | \
9388 old_archive_from_expsyms_cmds | \
9389 export_symbols_cmds | \
9390 extract_expsyms_cmds | reload_cmds | finish_cmds | \
9391 postinstall_cmds | postuninstall_cmds | \
9392 old_postinstall_cmds | old_postuninstall_cmds | \
9393 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
9394 # Double-quote double-evaled strings.
9395 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
9398 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
9404 *'\$0 --fallback-echo"')
9405 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
9410 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
9412 { echo "$as_me:$LINENO: creating $ofile" >&5
9413 echo "$as_me: creating $ofile" >&6;}
9415 cat <<__EOF__ >> "$cfgfile"
9418 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
9419 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
9420 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
9422 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
9423 # Free Software Foundation, Inc.
9425 # This file is part of GNU Libtool:
9426 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
9428 # This program is free software; you can redistribute it and/or modify
9429 # it under the terms of the GNU General Public License as published by
9430 # the Free Software Foundation; either version 2 of the License, or
9431 # (at your option) any later version.
9433 # This program is distributed in the hope that it will be useful, but
9434 # WITHOUT ANY WARRANTY; without even the implied warranty of
9435 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
9436 # General Public License for more details.
9438 # You should have received a copy of the GNU General Public License
9439 # along with this program; if not, write to the Free Software
9440 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
9442 # As a special exception to the GNU General Public License, if you
9443 # distribute this file as part of a program that contains a
9444 # configuration script generated by Autoconf, you may include it under
9445 # the same distribution terms that you use for the rest of that program.
9447 # A sed program that does not truncate output.
9450 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
9451 Xsed="$SED -e 1s/^X//"
9453 # The HP-UX ksh and POSIX shell print the target directory to stdout
9455 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
9457 # The names of the tagged configurations supported by this script.
9460 # ### BEGIN LIBTOOL CONFIG
9462 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
9464 # Shell to use when invoking shell scripts.
9467 # Whether or not to build shared libraries.
9468 build_libtool_libs=$enable_shared
9470 # Whether or not to build static libraries.
9471 build_old_libs=$enable_static
9473 # Whether or not to add -lc for building shared libraries.
9474 build_libtool_need_lc=$archive_cmds_need_lc
9476 # Whether or not to disallow shared libs when runtime libs are static
9477 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
9479 # Whether or not to optimize for fast installation.
9480 fast_install=$enable_fast_install
9483 host_alias=$host_alias
9488 build_alias=$build_alias
9492 # An echo program that does not interpret backslashes.
9497 AR_FLAGS=$lt_AR_FLAGS
9502 # LTCC compiler flags.
9503 LTCFLAGS=$lt_LTCFLAGS
9505 # A language-specific compiler.
9508 # Is the compiler the GNU C compiler?
9514 # The linker used to build libraries.
9517 # Whether we need hard or soft links.
9520 # A BSD-compatible nm program.
9523 # A symbol stripping program
9526 # Used to examine libraries when file_magic_cmd begins "file"
9527 MAGIC_CMD=$MAGIC_CMD
9529 # Used on cygwin: DLL creation program.
9532 # Used on cygwin: object dumper.
9535 # Used on cygwin: assembler.
9538 # The name of the directory that contains temporary libtool files.
9541 # How to create reloadable object files.
9542 reload_flag=$lt_reload_flag
9543 reload_cmds=$lt_reload_cmds
9545 # How to pass a linker flag through the compiler.
9546 wl=$lt_lt_prog_compiler_wl
9548 # Object file suffix (normally "o").
9551 # Old archive suffix (normally "a").
9554 # Shared library suffix (normally ".so").
9555 shrext_cmds='$shrext_cmds'
9557 # Executable file suffix (normally "").
9560 # Additional compiler flags for building library objects.
9561 pic_flag=$lt_lt_prog_compiler_pic
9564 # What is the maximum length of a command?
9565 max_cmd_len=$lt_cv_sys_max_cmd_len
9567 # Does compiler simultaneously support -c and -o options?
9568 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
9570 # Must we lock files when doing compilation?
9571 need_locks=$lt_need_locks
9573 # Do we need the lib prefix for modules?
9574 need_lib_prefix=$need_lib_prefix
9576 # Do we need a version for libraries?
9577 need_version=$need_version
9579 # Whether dlopen is supported.
9580 dlopen_support=$enable_dlopen
9582 # Whether dlopen of programs is supported.
9583 dlopen_self=$enable_dlopen_self
9585 # Whether dlopen of statically linked programs is supported.
9586 dlopen_self_static=$enable_dlopen_self_static
9588 # Compiler flag to prevent dynamic linking.
9589 link_static_flag=$lt_lt_prog_compiler_static
9591 # Compiler flag to turn off builtin functions.
9592 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
9594 # Compiler flag to allow reflexive dlopens.
9595 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
9597 # Compiler flag to generate shared objects directly from archives.
9598 whole_archive_flag_spec=$lt_whole_archive_flag_spec
9600 # Compiler flag to generate thread-safe objects.
9601 thread_safe_flag_spec=$lt_thread_safe_flag_spec
9603 # Library versioning type.
9604 version_type=$version_type
9606 # Format of library name prefix.
9607 libname_spec=$lt_libname_spec
9609 # List of archive names. First name is the real one, the rest are links.
9610 # The last name is the one that the linker finds with -lNAME.
9611 library_names_spec=$lt_library_names_spec
9613 # The coded name of the library, if different from the real name.
9614 soname_spec=$lt_soname_spec
9616 # Commands used to build and install an old-style archive.
9618 old_archive_cmds=$lt_old_archive_cmds
9619 old_postinstall_cmds=$lt_old_postinstall_cmds
9620 old_postuninstall_cmds=$lt_old_postuninstall_cmds
9622 # Create an old-style archive from a shared archive.
9623 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
9625 # Create a temporary old-style archive to link instead of a shared archive.
9626 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
9628 # Commands used to build and install a shared archive.
9629 archive_cmds=$lt_archive_cmds
9630 archive_expsym_cmds=$lt_archive_expsym_cmds
9631 postinstall_cmds=$lt_postinstall_cmds
9632 postuninstall_cmds=$lt_postuninstall_cmds
9634 # Commands used to build a loadable module (assumed same as above if empty)
9635 module_cmds=$lt_module_cmds
9636 module_expsym_cmds=$lt_module_expsym_cmds
9638 # Commands to strip libraries.
9639 old_striplib=$lt_old_striplib
9640 striplib=$lt_striplib
9642 # Dependencies to place before the objects being linked to create a
9644 predep_objects=$lt_predep_objects
9646 # Dependencies to place after the objects being linked to create a
9648 postdep_objects=$lt_postdep_objects
9650 # Dependencies to place before the objects being linked to create a
9654 # Dependencies to place after the objects being linked to create a
9656 postdeps=$lt_postdeps
9658 # The library search path used internally by the compiler when linking
9660 compiler_lib_search_path=$lt_compiler_lib_search_path
9662 # Method to check whether dependent libraries are shared objects.
9663 deplibs_check_method=$lt_deplibs_check_method
9665 # Command to use when deplibs_check_method == file_magic.
9666 file_magic_cmd=$lt_file_magic_cmd
9668 # Flag that allows shared libraries with undefined symbols to be built.
9669 allow_undefined_flag=$lt_allow_undefined_flag
9671 # Flag that forces no undefined symbols.
9672 no_undefined_flag=$lt_no_undefined_flag
9674 # Commands used to finish a libtool library installation in a directory.
9675 finish_cmds=$lt_finish_cmds
9677 # Same as above, but a single script fragment to be evaled but not shown.
9678 finish_eval=$lt_finish_eval
9680 # Take the output of nm and produce a listing of raw symbols and C names.
9681 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
9683 # Transform the output of nm in a proper C declaration
9684 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
9686 # Transform the output of nm in a C name address pair
9687 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
9689 # This is the shared library runtime path variable.
9690 runpath_var=$runpath_var
9692 # This is the shared library path variable.
9693 shlibpath_var=$shlibpath_var
9695 # Is shlibpath searched before the hard-coded library search path?
9696 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
9698 # How to hardcode a shared library path into an executable.
9699 hardcode_action=$hardcode_action
9701 # Whether we should hardcode library paths into libraries.
9702 hardcode_into_libs=$hardcode_into_libs
9704 # Flag to hardcode \$libdir into a binary during linking.
9705 # This must work even if \$libdir does not exist.
9706 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
9708 # If ld is used when linking, flag to hardcode \$libdir into
9709 # a binary during linking. This must work even if \$libdir does
9711 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
9713 # Whether we need a single -rpath flag with a separated argument.
9714 hardcode_libdir_separator=$lt_hardcode_libdir_separator
9716 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
9718 hardcode_direct=$hardcode_direct
9720 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
9722 hardcode_minus_L=$hardcode_minus_L
9724 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
9725 # the resulting binary.
9726 hardcode_shlibpath_var=$hardcode_shlibpath_var
9728 # Set to yes if building a shared library automatically hardcodes DIR into the library
9729 # and all subsequent libraries and executables linked against it.
9730 hardcode_automatic=$hardcode_automatic
9732 # Variables whose values should be saved in libtool wrapper scripts and
9733 # restored at relink time.
9734 variables_saved_for_relink="$variables_saved_for_relink"
9736 # Whether libtool must link a program against all its dependency libraries.
9737 link_all_deplibs=$link_all_deplibs
9739 # Compile-time system search path for libraries
9740 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
9742 # Run-time system search path for libraries
9743 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
9745 # Fix the shell variable \$srcfile for the compiler.
9746 fix_srcfile_path="$fix_srcfile_path"
9748 # Set to yes if exported symbols are required.
9749 always_export_symbols=$always_export_symbols
9751 # The commands to list exported symbols.
9752 export_symbols_cmds=$lt_export_symbols_cmds
9754 # The commands to extract the exported symbol list from a shared archive.
9755 extract_expsyms_cmds=$lt_extract_expsyms_cmds
9757 # Symbols that should not be listed in the preloaded symbols.
9758 exclude_expsyms=$lt_exclude_expsyms
9760 # Symbols that must always be exported.
9761 include_expsyms=$lt_include_expsyms
9763 # ### END LIBTOOL CONFIG
9770 cat <<\EOF
>> "$cfgfile"
9772 # AIX sometimes has problems with the GCC collect2 program. For some
9773 # reason, if we set the COLLECT_NAMES environment variable, the problems
9774 # vanish in a puff of smoke.
9775 if test "X${COLLECT_NAMES+set}" != Xset
; then
9777 export COLLECT_NAMES
9783 # We use sed instead of cat because bash on DJGPP gets confused if
9784 # if finds mixed CR/LF and LF-only lines. Since sed operates in
9785 # text mode, it properly converts lines to CR/LF. This bash problem
9786 # is reportedly fixed, but why not run on old versions too?
9787 sed '$q' "$ltmain" >> "$cfgfile" ||
(rm -f "$cfgfile"; exit 1)
9789 mv -f "$cfgfile" "$ofile" || \
9790 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
9794 # If there is no Makefile yet, we rely on a make rule to execute
9795 # `config.status --recheck' to rerun these tests and create the
9796 # libtool script then.
9797 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
9798 if test -f "$ltmain_in"; then
9799 test -f Makefile
&& make "$ltmain"
9805 ac_cpp
='$CPP $CPPFLAGS'
9806 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9807 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9808 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9813 # Check whether --with-tags or --without-tags was given.
9814 if test "${with_tags+set}" = set; then
9815 withval
="$with_tags"
9819 if test -f "$ltmain" && test -n "$tagnames"; then
9820 if test ! -f "${ofile}"; then
9821 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
9822 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
9825 if test -z "$LTCC"; then
9826 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
9827 if test -z "$LTCC"; then
9828 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
9829 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
9831 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
9832 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
9835 if test -z "$LTCFLAGS"; then
9836 eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
9839 # Extract list of available tagged configurations in $ofile.
9840 # Note that this assumes the entire list is on one line.
9841 available_tags
=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
9843 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9844 for tagname
in $tagnames; do
9846 # Check whether tagname contains only valid characters
9847 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
9849 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
9850 echo "$as_me: error: invalid tag name: $tagname" >&2;}
9851 { (exit 1); exit 1; }; }
9855 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev
/null
9857 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
9858 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
9859 { (exit 1); exit 1; }; }
9862 # Update the list of available tags.
9863 if test -n "$tagname"; then
9864 echo appending configuration tag
\"$tagname\" to
$ofile
9868 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
9869 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
9870 (test "X$CXX" != "Xg++"))) ; then
9872 ac_cpp
='$CXXCPP $CPPFLAGS'
9873 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9874 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9875 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
9880 archive_cmds_need_lc_CXX
=no
9881 allow_undefined_flag_CXX
=
9882 always_export_symbols_CXX
=no
9883 archive_expsym_cmds_CXX
=
9884 export_dynamic_flag_spec_CXX
=
9885 hardcode_direct_CXX
=no
9886 hardcode_libdir_flag_spec_CXX
=
9887 hardcode_libdir_flag_spec_ld_CXX
=
9888 hardcode_libdir_separator_CXX
=
9889 hardcode_minus_L_CXX
=no
9890 hardcode_shlibpath_var_CXX
=unsupported
9891 hardcode_automatic_CXX
=no
9893 module_expsym_cmds_CXX
=
9894 link_all_deplibs_CXX
=unknown
9895 old_archive_cmds_CXX
=$old_archive_cmds
9896 no_undefined_flag_CXX
=
9897 whole_archive_flag_spec_CXX
=
9898 enable_shared_with_static_runtimes_CXX
=no
9900 # Dependencies to place before and after the object being linked:
9902 postdep_objects_CXX
=
9905 compiler_lib_search_path_CXX
=
9907 # Source file extension for C++ test sources.
9910 # Object file extension for compiled C++ test sources.
9914 # Code to be used in simple compile tests
9915 lt_simple_compile_test_code
="int some_variable = 0;\n"
9917 # Code to be used in simple link tests
9918 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }\n'
9920 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
9922 # If no C compiler was specified, use CC.
9925 # If no C compiler flags were specified, use CFLAGS.
9926 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9928 # Allow CC to be a program name with arguments.
9932 # save warnings/boilerplate of simple test code
9933 ac_outfile
=conftest.
$ac_objext
9934 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
9935 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9936 _lt_compiler_boilerplate
=`cat conftest.err`
9939 ac_outfile
=conftest.
$ac_objext
9940 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
9941 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9942 _lt_linker_boilerplate
=`cat conftest.err`
9946 # Allow CC to be a program name with arguments.
9951 lt_save_with_gnu_ld
=$with_gnu_ld
9952 lt_save_path_LD
=$lt_cv_path_LD
9953 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
9954 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
9956 $as_unset lt_cv_prog_gnu_ld
9958 if test -n "${lt_cv_path_LDCXX+set}"; then
9959 lt_cv_path_LD
=$lt_cv_path_LDCXX
9961 $as_unset lt_cv_path_LD
9963 test -z "${LDCXX+set}" || LD
=$LDCXX
9967 for cc_temp
in $compiler""; do
9969 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
9970 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
9975 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
9978 # We don't want -fno-exception wen compiling C++ code, so set the
9979 # no_builtin_flag separately
9980 if test "$GXX" = yes; then
9981 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
9983 lt_prog_compiler_no_builtin_flag_CXX
=
9986 if test "$GXX" = yes; then
9987 # Set up default GNU C++ configuration
9990 # Check whether --with-gnu-ld or --without-gnu-ld was given.
9991 if test "${with_gnu_ld+set}" = set; then
9992 withval
="$with_gnu_ld"
9993 test "$withval" = no || with_gnu_ld
=yes
9998 if test "$GCC" = yes; then
9999 # Check if gcc -print-prog-name=ld gives a path.
10000 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10001 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
10004 # gcc leaves a trailing carriage return which upsets mingw
10005 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10007 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
10010 # Accept absolute paths.
10012 re_direlt
='/[^/][^/]*/\.\./'
10013 # Canonicalize the pathname of ld
10014 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
10015 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
10016 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
10018 test -z "$LD" && LD
="$ac_prog"
10021 # If it fails, then pretend we aren't using GCC.
10025 # If it is relative, then search for the first ld in PATH.
10026 with_gnu_ld
=unknown
10029 elif test "$with_gnu_ld" = yes; then
10030 echo "$as_me:$LINENO: checking for GNU ld" >&5
10031 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
10033 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10034 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
10036 if test "${lt_cv_path_LD+set}" = set; then
10037 echo $ECHO_N "(cached) $ECHO_C" >&6
10039 if test -z "$LD"; then
10040 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
10041 for ac_dir
in $PATH; do
10043 test -z "$ac_dir" && ac_dir
=.
10044 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
10045 lt_cv_path_LD
="$ac_dir/$ac_prog"
10046 # Check to see if the program is GNU ld. I'd rather use --version,
10047 # but apparently some variants of GNU ld only accept -v.
10048 # Break only if it was the GNU/non-GNU ld that we prefer.
10049 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
10050 *GNU
* |
*'with BFD'*)
10051 test "$with_gnu_ld" != no
&& break
10054 test "$with_gnu_ld" != yes && break
10061 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
10065 LD
="$lt_cv_path_LD"
10066 if test -n "$LD"; then
10067 echo "$as_me:$LINENO: result: $LD" >&5
10068 echo "${ECHO_T}$LD" >&6
10070 echo "$as_me:$LINENO: result: no" >&5
10071 echo "${ECHO_T}no" >&6
10073 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10074 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10075 { (exit 1); exit 1; }; }
10076 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10077 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
10078 if test "${lt_cv_prog_gnu_ld+set}" = set; then
10079 echo $ECHO_N "(cached) $ECHO_C" >&6
10081 # I'd rather use --version here, but apparently some GNU lds only accept -v.
10082 case `$LD -v 2>&1 </dev/null` in
10083 *GNU
* |
*'with BFD'*)
10084 lt_cv_prog_gnu_ld
=yes
10087 lt_cv_prog_gnu_ld
=no
10091 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10092 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
10093 with_gnu_ld
=$lt_cv_prog_gnu_ld
10097 # Check if GNU C++ uses GNU ld as the underlying linker, since the
10098 # archiving commands below assume that GNU ld is being used.
10099 if test "$with_gnu_ld" = yes; then
10100 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10101 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'
10103 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
10104 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10106 # If archive_cmds runs LD, not CC, wlarc should be empty
10107 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
10108 # investigate it a little bit more. (MM)
10111 # ancient GNU ld didn't support --whole-archive et. al.
10112 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
10113 grep 'no-whole-archive' > /dev
/null
; then
10114 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10116 whole_archive_flag_spec_CXX
=
10122 # A generic and very simple default shared library creation
10123 # command for GNU C++ for the case where it uses the native
10124 # linker, instead of GNU ld. If possible, this setting should
10125 # overridden to take advantage of the native linker features on
10126 # the platform it is being used on.
10127 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10130 # Commands to make compiler produce verbose output that lists
10131 # what "hidden" libraries, object files and flags are used when
10132 # linking a shared library.
10133 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10141 # PORTME: fill in a description of your system's C++ link characteristics
10142 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10143 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
10147 # FIXME: insert proper C++ library support
10151 if test "$host_cpu" = ia64
; then
10152 # On IA64, the linker does run time linking by default, so we don't
10153 # have to do anything special.
10154 aix_use_runtimelinking
=no
10155 exp_sym_flag
='-Bexport'
10158 aix_use_runtimelinking
=no
10160 # Test if we are trying to use run time linking or normal
10161 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10162 # need to do runtime linking.
10163 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
10164 for ld_flag
in $LDFLAGS; do
10167 aix_use_runtimelinking
=yes
10175 exp_sym_flag
='-bexport'
10176 no_entry_flag
='-bnoentry'
10179 # When large executables or shared objects are built, AIX ld can
10180 # have problems creating the table of contents. If linking a library
10181 # or program results in "error TOC overflow" add -mminimal-toc to
10182 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10183 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10185 archive_cmds_CXX
=''
10186 hardcode_direct_CXX
=yes
10187 hardcode_libdir_separator_CXX
=':'
10188 link_all_deplibs_CXX
=yes
10190 if test "$GXX" = yes; then
10191 case $host_os in aix4.
[012]|aix4.
[012].
*)
10192 # We only want to do this on AIX 4.2 and lower, the check
10193 # below for broken collect2 doesn't work under 4.3+
10194 collect2name
=`${CC} -print-prog-name=collect2`
10195 if test -f "$collect2name" && \
10196 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
10198 # We have reworked collect2
10199 hardcode_direct_CXX
=yes
10201 # We have old collect2
10202 hardcode_direct_CXX
=unsupported
10203 # It fails to find uninstalled libraries when the uninstalled
10204 # path is not listed in the libpath. Setting hardcode_minus_L
10205 # to unsupported forces relinking
10206 hardcode_minus_L_CXX
=yes
10207 hardcode_libdir_flag_spec_CXX
='-L$libdir'
10208 hardcode_libdir_separator_CXX
=
10212 shared_flag
='-shared'
10213 if test "$aix_use_runtimelinking" = yes; then
10214 shared_flag
="$shared_flag "'${wl}-G'
10218 if test "$host_cpu" = ia64
; then
10219 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10220 # chokes on -Wl,-G. The following line is correct:
10223 if test "$aix_use_runtimelinking" = yes; then
10224 shared_flag
='${wl}-G'
10226 shared_flag
='${wl}-bM:SRE'
10231 # It seems that -bexpall does not export symbols beginning with
10232 # underscore (_), so it is better to generate a list of symbols to export.
10233 always_export_symbols_CXX
=yes
10234 if test "$aix_use_runtimelinking" = yes; then
10235 # Warning - without using the other runtime loading flags (-brtl),
10236 # -berok will link without error, but may produce a broken library.
10237 allow_undefined_flag_CXX
='-berok'
10238 # Determine the default libpath from the value encoded in an empty executable.
10239 cat >conftest.
$ac_ext <<_ACEOF
10242 cat confdefs.h
>>conftest.
$ac_ext
10243 cat >>conftest.
$ac_ext <<_ACEOF
10244 /* end confdefs.h. */
10254 rm -f conftest.
$ac_objext conftest
$ac_exeext
10255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10256 (eval $ac_link) 2>conftest.er1
10258 grep -v '^ *+' conftest.er1
>conftest.err
10260 cat conftest.err
>&5
10261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10262 (exit $ac_status); } &&
10263 { ac_try
='test -z "$ac_cxx_werror_flag"
10264 || test ! -s conftest.err'
10265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10266 (eval $ac_try) 2>&5
10268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10269 (exit $ac_status); }; } &&
10270 { ac_try
='test -s conftest$ac_exeext'
10271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10272 (eval $ac_try) 2>&5
10274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10275 (exit $ac_status); }; }; then
10277 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10279 # Check for a 64-bit object if we didn't find anything.
10280 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; }
10283 echo "$as_me: failed program was:" >&5
10284 sed 's/^/| /' conftest.
$ac_ext >&5
10287 rm -f conftest.err conftest.
$ac_objext \
10288 conftest
$ac_exeext conftest.
$ac_ext
10289 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10291 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
10293 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"
10295 if test "$host_cpu" = ia64
; then
10296 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
10297 allow_undefined_flag_CXX
="-z nodefs"
10298 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"
10300 # Determine the default libpath from the value encoded in an empty executable.
10301 cat >conftest.
$ac_ext <<_ACEOF
10304 cat confdefs.h
>>conftest.
$ac_ext
10305 cat >>conftest.
$ac_ext <<_ACEOF
10306 /* end confdefs.h. */
10316 rm -f conftest.
$ac_objext conftest
$ac_exeext
10317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10318 (eval $ac_link) 2>conftest.er1
10320 grep -v '^ *+' conftest.er1
>conftest.err
10322 cat conftest.err
>&5
10323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10324 (exit $ac_status); } &&
10325 { ac_try
='test -z "$ac_cxx_werror_flag"
10326 || test ! -s conftest.err'
10327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10328 (eval $ac_try) 2>&5
10330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10331 (exit $ac_status); }; } &&
10332 { ac_try
='test -s conftest$ac_exeext'
10333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10334 (eval $ac_try) 2>&5
10336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10337 (exit $ac_status); }; }; then
10339 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10341 # Check for a 64-bit object if we didn't find anything.
10342 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; }
10345 echo "$as_me: failed program was:" >&5
10346 sed 's/^/| /' conftest.
$ac_ext >&5
10349 rm -f conftest.err conftest.
$ac_objext \
10350 conftest
$ac_exeext conftest.
$ac_ext
10351 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10353 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
10354 # Warning - without using the other run time loading flags,
10355 # -berok will link without error, but may produce a broken library.
10356 no_undefined_flag_CXX
=' ${wl}-bernotok'
10357 allow_undefined_flag_CXX
=' ${wl}-berok'
10358 # Exported symbols can be pulled into shared objects from archives
10359 whole_archive_flag_spec_CXX
='$convenience'
10360 archive_cmds_need_lc_CXX
=yes
10361 # This is similar to how AIX traditionally builds its shared libraries.
10362 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'
10368 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
10369 allow_undefined_flag_CXX
=unsupported
10370 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10371 # support --undefined. This deserves some investigation. FIXME
10372 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10379 case $cc_basename in
10381 # FIXME: insert proper C++ library support
10387 cygwin
* | mingw
* | pw32
*)
10388 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
10389 # as there is no search path for DLLs.
10390 hardcode_libdir_flag_spec_CXX
='-L$libdir'
10391 allow_undefined_flag_CXX
=unsupported
10392 always_export_symbols_CXX
=no
10393 enable_shared_with_static_runtimes_CXX
=yes
10395 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
10396 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'
10397 # If the export-symbols file already is a .def file (1st line
10398 # is EXPORTS), use it as is; otherwise, prepend...
10399 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10400 cp $export_symbols $output_objdir/$soname.def;
10402 echo EXPORTS > $output_objdir/$soname.def;
10403 cat $export_symbols >> $output_objdir/$soname.def;
10405 $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'
10410 darwin
* | rhapsody
*)
10412 rhapsody
* | darwin1.
[012])
10413 allow_undefined_flag_CXX
='${wl}-undefined ${wl}suppress'
10416 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10417 allow_undefined_flag_CXX
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10419 case ${MACOSX_DEPLOYMENT_TARGET} in
10421 allow_undefined_flag_CXX
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10424 allow_undefined_flag_CXX
='${wl}-undefined ${wl}dynamic_lookup'
10430 archive_cmds_need_lc_CXX
=no
10431 hardcode_direct_CXX
=no
10432 hardcode_automatic_CXX
=yes
10433 hardcode_shlibpath_var_CXX
=unsupported
10434 whole_archive_flag_spec_CXX
=''
10435 link_all_deplibs_CXX
=yes
10437 if test "$GXX" = yes ; then
10438 lt_int_apple_cc_single_mod
=no
10439 output_verbose_link_cmd
='echo'
10440 if $CC -dumpspecs 2>&1 |
$EGREP 'single_module' >/dev
/null
; then
10441 lt_int_apple_cc_single_mod
=yes
10443 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
10444 archive_cmds_CXX
='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10446 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'
10448 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10449 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10450 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
10451 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}'
10453 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}'
10455 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}'
10457 case $cc_basename in
10459 output_verbose_link_cmd
='echo'
10460 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'
10461 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10462 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10463 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}'
10464 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}'
10474 case $cc_basename in
10476 # FIXME: insert proper C++ library support
10480 # Green Hills C++ Compiler
10481 # FIXME: insert proper C++ library support
10485 # FIXME: insert proper C++ library support
10491 # C++ shared libraries reported to be fairly broken before switch to ELF
10495 archive_cmds_need_lc_CXX
=no
10497 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
10498 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
10505 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
10506 hardcode_libdir_separator_CXX
=:
10507 export_dynamic_flag_spec_CXX
='${wl}-E'
10508 hardcode_direct_CXX
=yes
10509 hardcode_minus_L_CXX
=yes # Not in the search PATH,
10510 # but as the default
10511 # location of the library.
10513 case $cc_basename in
10515 # FIXME: insert proper C++ library support
10519 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'
10520 # Commands to make compiler produce verbose output that lists
10521 # what "hidden" libraries, object files and flags are used when
10522 # linking a shared library.
10524 # There doesn't appear to be a way to prevent this compiler from
10525 # explicitly linking system object files so we need to strip them
10526 # from the output so that they don't get included in the library
10528 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'
10531 if test "$GXX" = yes; then
10532 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'
10534 # FIXME: insert proper C++ library support
10541 if test $with_gnu_ld = no
; then
10542 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
10543 hardcode_libdir_separator_CXX
=:
10547 hardcode_libdir_flag_spec_ld_CXX
='+b $libdir'
10550 export_dynamic_flag_spec_CXX
='${wl}-E'
10556 hardcode_direct_CXX
=no
10557 hardcode_shlibpath_var_CXX
=no
10560 hardcode_direct_CXX
=yes
10561 hardcode_minus_L_CXX
=yes # Not in the search PATH,
10562 # but as the default
10563 # location of the library.
10567 case $cc_basename in
10569 # FIXME: insert proper C++ library support
10575 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10578 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10581 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10584 # Commands to make compiler produce verbose output that lists
10585 # what "hidden" libraries, object files and flags are used when
10586 # linking a shared library.
10588 # There doesn't appear to be a way to prevent this compiler from
10589 # explicitly linking system object files so we need to strip them
10590 # from the output so that they don't get included in the library
10592 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'
10595 if test "$GXX" = yes; then
10596 if test $with_gnu_ld = no
; then
10599 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10602 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10605 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'
10610 # FIXME: insert proper C++ library support
10617 hardcode_direct_CXX
=no
10618 hardcode_shlibpath_var_CXX
=no
10619 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10620 export_dynamic_flag_spec_CXX
='${wl}-E'
10621 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10622 # Instead, shared libraries are loaded at an image base (0x10000000 by
10623 # default) and relocated if they conflict, which is a slow very memory
10624 # consuming and fragmenting process. To avoid this, we pick a random,
10625 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10626 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10627 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'
10628 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'
10631 case $cc_basename in
10634 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'
10636 # Archives containing C++ object files must be created using
10637 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
10638 # necessary to make sure instantiated templates are included
10640 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
10643 if test "$GXX" = yes; then
10644 if test "$with_gnu_ld" = no
; then
10645 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'
10647 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'
10650 link_all_deplibs_CXX
=yes
10653 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10654 hardcode_libdir_separator_CXX
=:
10657 case $cc_basename in
10659 # Kuck and Associates, Inc. (KAI) C++ Compiler
10661 # KCC will only create a shared library if the output file
10662 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10663 # to its proper name (with version) after linking.
10664 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'
10665 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'
10666 # Commands to make compiler produce verbose output that lists
10667 # what "hidden" libraries, object files and flags are used when
10668 # linking a shared library.
10670 # There doesn't appear to be a way to prevent this compiler from
10671 # explicitly linking system object files so we need to strip them
10672 # from the output so that they don't get included in the library
10674 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'
10676 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
10677 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10679 # Archives containing C++ object files must be created using
10680 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10681 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
10686 # version 8.0 and above of icpc choke on multiply defined symbols
10687 # if we add $predep_objects and $postdep_objects, however 7.1 and
10688 # earlier do not add the objects themselves.
10689 case `$CC -V 2>&1` in
10691 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10692 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'
10694 *) # Version 8.0 or newer
10697 ia64
*) tmp_idyn
=' -i_dynamic';;
10699 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10700 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'
10703 archive_cmds_need_lc_CXX
=no
10704 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10705 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10706 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10709 # Portland Group C++ compiler
10710 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
10711 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'
10713 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
10714 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10715 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'
10719 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10720 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'
10722 runpath_var
=LD_RUN_PATH
10723 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
10724 hardcode_libdir_separator_CXX
=:
10726 # Commands to make compiler produce verbose output that lists
10727 # what "hidden" libraries, object files and flags are used when
10728 # linking a shared library.
10730 # There doesn't appear to be a way to prevent this compiler from
10731 # explicitly linking system object files so we need to strip them
10732 # from the output so that they don't get included in the library
10734 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'
10739 # FIXME: insert proper C++ library support
10743 # FIXME: insert proper C++ library support
10747 case $cc_basename in
10749 # FIXME: insert proper C++ library support
10753 # FIXME: insert proper C++ library support
10759 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
10760 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10762 hardcode_libdir_flag_spec_CXX
='-R$libdir'
10763 hardcode_direct_CXX
=yes
10764 hardcode_shlibpath_var_CXX
=no
10766 # Workaround some broken pre-1.5 toolchains
10767 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
10770 # C++ shared libraries are fairly broken
10774 hardcode_direct_CXX
=yes
10775 hardcode_shlibpath_var_CXX
=no
10776 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10777 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10778 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10779 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
10780 export_dynamic_flag_spec_CXX
='${wl}-E'
10781 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10783 output_verbose_link_cmd
='echo'
10786 case $cc_basename in
10788 # Kuck and Associates, Inc. (KAI) C++ Compiler
10790 # KCC will only create a shared library if the output file
10791 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10792 # to its proper name (with version) after linking.
10793 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'
10795 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10796 hardcode_libdir_separator_CXX
=:
10798 # Archives containing C++ object files must be created using
10799 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10800 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
10804 # Rational C++ 2.4.1
10805 # FIXME: insert proper C++ library support
10809 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
10810 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'
10812 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10813 hardcode_libdir_separator_CXX
=:
10815 # Commands to make compiler produce verbose output that lists
10816 # what "hidden" libraries, object files and flags are used when
10817 # linking a shared library.
10819 # There doesn't appear to be a way to prevent this compiler from
10820 # explicitly linking system object files so we need to strip them
10821 # from the output so that they don't get included in the library
10823 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'
10826 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
10827 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
10828 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'
10830 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10831 hardcode_libdir_separator_CXX
=:
10833 # Commands to make compiler produce verbose output that lists
10834 # what "hidden" libraries, object files and flags are used when
10835 # linking a shared library.
10836 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10839 # FIXME: insert proper C++ library support
10846 case $cc_basename in
10848 # Kuck and Associates, Inc. (KAI) C++ Compiler
10850 # KCC will only create a shared library if the output file
10851 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10852 # to its proper name (with version) after linking.
10853 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'
10855 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10856 hardcode_libdir_separator_CXX
=:
10858 # Archives containing C++ object files must be created using
10859 # the KAI C++ compiler.
10860 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
10863 # Rational C++ 2.4.1
10864 # FIXME: insert proper C++ library support
10868 allow_undefined_flag_CXX
=' -expect_unresolved \*'
10869 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'
10870 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
10871 echo "-hidden">> $lib.exp~
10872 $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~
10875 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
10876 hardcode_libdir_separator_CXX
=:
10878 # Commands to make compiler produce verbose output that lists
10879 # what "hidden" libraries, object files and flags are used when
10880 # linking a shared library.
10882 # There doesn't appear to be a way to prevent this compiler from
10883 # explicitly linking system object files so we need to strip them
10884 # from the output so that they don't get included in the library
10886 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'
10889 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
10890 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
10891 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'
10893 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10894 hardcode_libdir_separator_CXX
=:
10896 # Commands to make compiler produce verbose output that lists
10897 # what "hidden" libraries, object files and flags are used when
10898 # linking a shared library.
10899 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10902 # FIXME: insert proper C++ library support
10909 # FIXME: insert proper C++ library support
10913 case $cc_basename in
10916 # FIXME: insert proper C++ library support
10921 # FIXME: insert proper C++ library support
10925 # FIXME: insert proper C++ library support
10931 case $cc_basename in
10933 # Sun C++ 4.2, 5.x and Centerline C++
10934 archive_cmds_need_lc_CXX
=yes
10935 no_undefined_flag_CXX
=' -zdefs'
10936 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10937 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10938 $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'
10940 hardcode_libdir_flag_spec_CXX
='-R$libdir'
10941 hardcode_shlibpath_var_CXX
=no
10943 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10945 # The C++ compiler is used as linker so we must use $wl
10946 # flag to pass the commands to the underlying system
10947 # linker. We must also pass each convience library through
10948 # to the system linker between allextract/defaultextract.
10949 # The C++ compiler will combine linker options so we
10950 # cannot just pass the convience library names through
10952 # Supported since Solaris 2.6 (maybe 2.5.1?)
10953 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'
10956 link_all_deplibs_CXX
=yes
10958 output_verbose_link_cmd
='echo'
10960 # Archives containing C++ object files must be created using
10961 # "CC -xar", where "CC" is the Sun C++ compiler. This is
10962 # necessary to make sure instantiated templates are included
10964 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
10967 # Green Hills C++ Compiler
10968 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10970 # The C++ compiler must be used to create the archive.
10971 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
10974 # GNU C++ compiler with Solaris linker
10975 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
10976 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
10977 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
10978 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10979 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10980 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10982 # Commands to make compiler produce verbose output that lists
10983 # what "hidden" libraries, object files and flags are used when
10984 # linking a shared library.
10985 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10987 # g++ 2.7 appears to require `-G' NOT `-shared' on this
10989 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10990 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10991 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10993 # Commands to make compiler produce verbose output that lists
10994 # what "hidden" libraries, object files and flags are used when
10995 # linking a shared library.
10996 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10999 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
11004 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11005 no_undefined_flag_CXX
='${wl}-z,text'
11006 archive_cmds_need_lc_CXX
=no
11007 hardcode_shlibpath_var_CXX
=no
11008 runpath_var
='LD_RUN_PATH'
11010 case $cc_basename in
11012 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11013 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11016 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11017 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11021 sysv5
* | sco3.2v5
* | sco5v6
*)
11022 # Note: We can NOT use -z defs as we might desire, because we do not
11023 # link with -lc, and that would cause any symbols used from libc to
11024 # always be unresolved, which means just about no library would
11025 # ever link correctly. If we're not using GNU ld we use -z text
11026 # though, which does catch some bad symbols but isn't as heavy-handed
11028 # For security reasons, it is highly recommended that you always
11029 # use absolute paths for naming shared libraries, and exclude the
11030 # DT_RUNPATH tag from executables and libraries. But doing so
11031 # requires that you compile everything twice, which is a pain.
11032 # So that behaviour is only enabled if SCOABSPATH is set to a
11033 # non-empty value in the environment. Most likely only useful for
11034 # creating official distributions of packages.
11035 # This is a hack until libtool officially supports absolute path
11036 # names for shared libraries.
11037 no_undefined_flag_CXX
='${wl}-z,text'
11038 allow_undefined_flag_CXX
='${wl}-z,nodefs'
11039 archive_cmds_need_lc_CXX
=no
11040 hardcode_shlibpath_var_CXX
=no
11041 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
11042 hardcode_libdir_separator_CXX
=':'
11043 link_all_deplibs_CXX
=yes
11044 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
11045 runpath_var
='LD_RUN_PATH'
11047 case $cc_basename in
11049 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11050 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11053 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11054 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11059 case $cc_basename in
11061 # NonStop-UX NCC 3.20
11062 # FIXME: insert proper C++ library support
11066 # FIXME: insert proper C++ library support
11072 # FIXME: insert proper C++ library support
11076 # FIXME: insert proper C++ library support
11080 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11081 echo "${ECHO_T}$ld_shlibs_CXX" >&6
11082 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
11088 ## There is no encapsulation within the following macros, do not change
11089 ## the running order or otherwise move them around unless you know exactly
11090 ## what you are doing...
11092 cat > conftest.
$ac_ext <<EOF
11096 Foo (void) { a = 0; }
11102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11103 (eval $ac_compile) 2>&5
11105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11106 (exit $ac_status); }; then
11107 # Parse the compiler output and extract the necessary
11108 # objects, libraries and library flags.
11110 # Sentinel used to keep track of whether or not we are before
11111 # the conftest object file.
11112 pre_test_object_deps_done
=no
11114 # The `*' in the case matches for architectures that use `case' in
11115 # $output_verbose_cmd can trigger glob expansion during the loop
11116 # eval without this substitution.
11117 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
11119 for p
in `eval $output_verbose_link_cmd`; do
11123 # Some compilers place space between "-{L,R}" and the path.
11124 # Remove the space.
11125 if test $p = "-L" \
11126 ||
test $p = "-R"; then
11133 if test "$pre_test_object_deps_done" = no
; then
11136 # Internal compiler library paths should come after those
11137 # provided the user. The postdeps already come after the
11138 # user supplied libs so there is no need to process them.
11139 if test -z "$compiler_lib_search_path_CXX"; then
11140 compiler_lib_search_path_CXX
="${prev}${p}"
11142 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
11145 # The "-l" case would never come before the object being
11146 # linked, so don't bother handling this case.
11149 if test -z "$postdeps_CXX"; then
11150 postdeps_CXX
="${prev}${p}"
11152 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
11158 # This assumes that the test object file only shows up
11159 # once in the compiler output.
11160 if test "$p" = "conftest.$objext"; then
11161 pre_test_object_deps_done
=yes
11165 if test "$pre_test_object_deps_done" = no
; then
11166 if test -z "$predep_objects_CXX"; then
11167 predep_objects_CXX
="$p"
11169 predep_objects_CXX
="$predep_objects_CXX $p"
11172 if test -z "$postdep_objects_CXX"; then
11173 postdep_objects_CXX
="$p"
11175 postdep_objects_CXX
="$postdep_objects_CXX $p"
11180 *) ;; # Ignore the rest.
11188 echo "libtool.m4: error: problem compiling CXX test program"
11191 $rm -f confest.
$objext
11193 # PORTME: override above test on systems where it is broken
11196 # Interix 3.5 installs completely hosed .la files for C++, so rather than
11197 # hack all around it, let's just trust "g++" to DTRT.
11198 predep_objects_CXX
=
11199 postdep_objects_CXX
=
11204 case $cc_basename in
11206 # Adding this requires a known-good setup of shared libraries for
11207 # Sun compiler versions before 5.6, else PIC objects from an old
11208 # archive will be linked into the output, leading to subtle bugs.
11209 postdeps_CXX
='-lCstd -lCrun'
11216 case " $postdeps_CXX " in
11217 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
11220 lt_prog_compiler_wl_CXX
=
11221 lt_prog_compiler_pic_CXX
=
11222 lt_prog_compiler_static_CXX
=
11224 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11225 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
11227 # C++ specific cases for pic, static, wl, etc.
11228 if test "$GXX" = yes; then
11229 lt_prog_compiler_wl_CXX
='-Wl,'
11230 lt_prog_compiler_static_CXX
='-static'
11234 # All AIX code is PIC.
11235 if test "$host_cpu" = ia64
; then
11236 # AIX 5 now supports IA64 processor
11237 lt_prog_compiler_static_CXX
='-Bstatic'
11241 # FIXME: we need at least 68020 code to build shared libraries, but
11242 # adding the `-m68020' flag to GCC prevents building anything better,
11244 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
11246 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
11247 # PIC is the default for these OSes.
11249 mingw
* | os2
* | pw32
*)
11250 # This hack is so that the source file can tell whether it is being
11251 # built for inclusion in a dll (and should export symbols for example).
11252 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
11254 darwin
* | rhapsody
*)
11255 # PIC is the default on this platform
11256 # Common symbols not allowed in MH_DYLIB files
11257 lt_prog_compiler_pic_CXX
='-fno-common'
11260 # DJGPP does not support shared libraries at all
11261 lt_prog_compiler_pic_CXX
=
11264 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11265 # Instead, we relocate shared libraries at runtime.
11268 if test -d /usr
/nec
; then
11269 lt_prog_compiler_pic_CXX
=-Kconform_pic
11273 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11274 # not for PA HP-UX.
11279 lt_prog_compiler_pic_CXX
='-fPIC'
11284 lt_prog_compiler_pic_CXX
='-fPIC'
11290 # All AIX code is PIC.
11291 if test "$host_cpu" = ia64
; then
11292 # AIX 5 now supports IA64 processor
11293 lt_prog_compiler_static_CXX
='-Bstatic'
11295 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
11299 case $cc_basename in
11301 # Green Hills C++ Compiler
11302 # _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"
11307 # PIC is the default on this platform
11308 # Common symbols not allowed in MH_DYLIB files
11309 case $cc_basename in
11311 lt_prog_compiler_pic_CXX
='-qnocommon'
11312 lt_prog_compiler_wl_CXX
='-Wl,'
11317 case $cc_basename in
11319 lt_prog_compiler_pic_CXX
='-KPIC'
11322 # Green Hills C++ Compiler
11323 lt_prog_compiler_pic_CXX
='-pic'
11329 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
11330 # FreeBSD uses GNU C++
11332 hpux9
* | hpux10
* | hpux11
*)
11333 case $cc_basename in
11335 lt_prog_compiler_wl_CXX
='-Wl,'
11336 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
11337 if test "$host_cpu" != ia64
; then
11338 lt_prog_compiler_pic_CXX
='+Z'
11342 lt_prog_compiler_wl_CXX
='-Wl,'
11343 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
11349 lt_prog_compiler_pic_CXX
='+Z'
11358 # This is c89, which is MS Visual C++ (no shared libs)
11359 # Anyone wants to do a port?
11361 irix5
* | irix6
* | nonstopux
*)
11362 case $cc_basename in
11364 lt_prog_compiler_wl_CXX
='-Wl,'
11365 lt_prog_compiler_static_CXX
='-non_shared'
11366 # CC pic flag -KPIC is the default.
11373 case $cc_basename in
11376 lt_prog_compiler_wl_CXX
='--backend -Wl,'
11377 lt_prog_compiler_pic_CXX
='-fPIC'
11381 lt_prog_compiler_wl_CXX
='-Wl,'
11382 lt_prog_compiler_pic_CXX
='-KPIC'
11383 lt_prog_compiler_static_CXX
='-static'
11386 # Portland Group C++ compiler.
11387 lt_prog_compiler_wl_CXX
='-Wl,'
11388 lt_prog_compiler_pic_CXX
='-fpic'
11389 lt_prog_compiler_static_CXX
='-Bstatic'
11393 # Make sure the PIC flag is empty. It appears that all Alpha
11394 # Linux and Compaq Tru64 Unix objects are PIC.
11395 lt_prog_compiler_pic_CXX
=
11396 lt_prog_compiler_static_CXX
='-non_shared'
11407 case $cc_basename in
11409 lt_prog_compiler_pic_CXX
='-W c,exportall'
11417 osf3
* | osf4
* | osf5
*)
11418 case $cc_basename in
11420 lt_prog_compiler_wl_CXX
='--backend -Wl,'
11423 # Rational C++ 2.4.1
11424 lt_prog_compiler_pic_CXX
='-pic'
11427 # Digital/Compaq C++
11428 lt_prog_compiler_wl_CXX
='-Wl,'
11429 # Make sure the PIC flag is empty. It appears that all Alpha
11430 # Linux and Compaq Tru64 Unix objects are PIC.
11431 lt_prog_compiler_pic_CXX
=
11432 lt_prog_compiler_static_CXX
='-non_shared'
11441 case $cc_basename in
11443 # Sun C++ 4.2, 5.x and Centerline C++
11444 lt_prog_compiler_pic_CXX
='-KPIC'
11445 lt_prog_compiler_static_CXX
='-Bstatic'
11446 lt_prog_compiler_wl_CXX
='-Qoption ld '
11449 # Green Hills C++ Compiler
11450 lt_prog_compiler_pic_CXX
='-PIC'
11457 case $cc_basename in
11460 lt_prog_compiler_pic_CXX
='-pic'
11461 lt_prog_compiler_static_CXX
='-Bstatic'
11465 lt_prog_compiler_pic_CXX
='-pic'
11472 case $cc_basename in
11474 # NonStop-UX NCC 3.20
11475 lt_prog_compiler_pic_CXX
='-KPIC'
11481 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
11482 case $cc_basename in
11484 lt_prog_compiler_wl_CXX
='-Wl,'
11485 lt_prog_compiler_pic_CXX
='-KPIC'
11486 lt_prog_compiler_static_CXX
='-Bstatic'
11493 lt_prog_compiler_can_build_shared_CXX
=no
11498 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
11499 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
11502 # Check to make sure the PIC flag actually works.
11504 if test -n "$lt_prog_compiler_pic_CXX"; then
11506 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
11507 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
11508 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
11509 echo $ECHO_N "(cached) $ECHO_C" >&6
11511 lt_prog_compiler_pic_works_CXX
=no
11512 ac_outfile
=conftest.
$ac_objext
11513 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11514 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
11515 # Insert the option either (1) after the last *FLAGS variable, or
11516 # (2) before a word containing "conftest.", or (3) at the end.
11517 # Note that $ac_compile itself does not contain backslashes and begins
11518 # with a dollar sign (not a hyphen), so the echo should work correctly.
11519 # The option is referenced via a variable to avoid confusing sed.
11520 lt_compile
=`echo "$ac_compile" | $SED \
11521 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11522 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11523 -e 's:$: $lt_compiler_flag:'`
11524 (eval echo "\"\$as_me:11524: $lt_compile\"" >&5)
11525 (eval "$lt_compile" 2>conftest.err
)
11527 cat conftest.err
>&5
11528 echo "$as_me:11528: \$? = $ac_status" >&5
11529 if (exit $ac_status) && test -s "$ac_outfile"; then
11530 # The compiler can only warn and ignore the option if not recognized
11531 # So say no if there are warnings other than the usual output.
11532 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
11533 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11534 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
11535 lt_prog_compiler_pic_works_CXX
=yes
11541 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
11542 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
11544 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
11545 case $lt_prog_compiler_pic_CXX in
11547 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
11550 lt_prog_compiler_pic_CXX
=
11551 lt_prog_compiler_can_build_shared_CXX
=no
11556 # For platforms which do not support PIC, -DPIC is meaningless:
11558 lt_prog_compiler_pic_CXX
=
11561 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
11566 # Check to make sure the static flag actually works.
11568 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
11569 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11570 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
11571 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
11572 echo $ECHO_N "(cached) $ECHO_C" >&6
11574 lt_prog_compiler_static_works_CXX
=no
11575 save_LDFLAGS
="$LDFLAGS"
11576 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
11577 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
11578 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11579 # The linker can only warn and ignore the option if not recognized
11580 # So say no if there are warnings
11581 if test -s conftest.err
; then
11582 # Append any errors to the config.log.
11583 cat conftest.err
1>&5
11584 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
11585 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11586 if diff conftest.exp conftest.er2
>/dev
/null
; then
11587 lt_prog_compiler_static_works_CXX
=yes
11590 lt_prog_compiler_static_works_CXX
=yes
11594 LDFLAGS
="$save_LDFLAGS"
11597 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
11598 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
11600 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
11603 lt_prog_compiler_static_CXX
=
11607 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11608 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
11609 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
11610 echo $ECHO_N "(cached) $ECHO_C" >&6
11612 lt_cv_prog_compiler_c_o_CXX
=no
11613 $rm -r conftest
2>/dev
/null
11617 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11619 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11620 # Insert the option either (1) after the last *FLAGS variable, or
11621 # (2) before a word containing "conftest.", or (3) at the end.
11622 # Note that $ac_compile itself does not contain backslashes and begins
11623 # with a dollar sign (not a hyphen), so the echo should work correctly.
11624 lt_compile
=`echo "$ac_compile" | $SED \
11625 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11626 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11627 -e 's:$: $lt_compiler_flag:'`
11628 (eval echo "\"\$as_me:11628: $lt_compile\"" >&5)
11629 (eval "$lt_compile" 2>out
/conftest.err
)
11631 cat out
/conftest.err
>&5
11632 echo "$as_me:11632: \$? = $ac_status" >&5
11633 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
11635 # The compiler can only warn and ignore the option if not recognized
11636 # So say no if there are warnings
11637 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
11638 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
11639 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
11640 lt_cv_prog_compiler_c_o_CXX
=yes
11645 # SGI C++ compiler will create directory out/ii_files/ for
11646 # template instantiation
11647 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
11648 $rm out
/* && rmdir out
11654 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
11655 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
11658 hard_links
="nottested"
11659 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
11660 # do not overwrite the value of need_locks provided by the user
11661 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11662 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
11665 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11667 ln conftest.a conftest.b
2>&5 || hard_links
=no
11668 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11669 echo "$as_me:$LINENO: result: $hard_links" >&5
11670 echo "${ECHO_T}$hard_links" >&6
11671 if test "$hard_links" = no
; then
11672 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11673 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11680 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11681 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11683 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11686 # If we're using GNU nm, then we don't want the "-C" option.
11687 # -C means demangle to AIX nm, but means don't demangle with GNU nm
11688 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
11689 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'
11691 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'
11695 export_symbols_cmds_CXX
="$ltdll_cmds"
11698 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'
11701 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11705 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11706 echo "${ECHO_T}$ld_shlibs_CXX" >&6
11707 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
11710 # Do we need to explicitly link libc?
11712 case "x$archive_cmds_need_lc_CXX" in
11714 # Assume -lc should be added
11715 archive_cmds_need_lc_CXX
=yes
11717 if test "$enable_shared" = yes && test "$GCC" = yes; then
11718 case $archive_cmds_CXX in
11720 # FIXME: we may have to deal with multi-command sequences.
11723 # Test whether the compiler implicitly links with -lc since on some
11724 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11725 # to ld, don't add -lc before -lgcc.
11726 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11727 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
11729 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11732 (eval $ac_compile) 2>&5
11734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11735 (exit $ac_status); } 2>conftest.err
; then
11738 libobjs
=conftest.
$ac_objext
11740 wl
=$lt_prog_compiler_wl_CXX
11741 pic_flag
=$lt_prog_compiler_pic_CXX
11747 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
11748 allow_undefined_flag_CXX
=
11749 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
11750 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11753 (exit $ac_status); }
11755 archive_cmds_need_lc_CXX
=no
11757 archive_cmds_need_lc_CXX
=yes
11759 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
11761 cat conftest.err
1>&5
11764 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
11765 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
11772 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11773 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
11774 library_names_spec
=
11775 libname_spec
='lib$name'
11779 postuninstall_cmds
=
11783 shlibpath_overrides_runpath
=unknown
11785 dynamic_linker
="$host_os ld.so"
11786 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11787 if test "$GCC" = yes; then
11788 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11789 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
11790 # if the path contains ";" then we assume it to be the separator
11791 # otherwise default to the standard path separator (i.e. ":") - it is
11792 # assumed that no part of a normal pathname contains ";" but that should
11793 # okay in the real world where ";" in dirpaths is itself problematic.
11794 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11796 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11799 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11801 need_lib_prefix
=unknown
11802 hardcode_into_libs
=no
11804 # when you set need_version to no, make sure it does not cause -set_version
11805 # flags to be left without arguments
11806 need_version
=unknown
11811 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11812 shlibpath_var
=LIBPATH
11814 # AIX 3 has no versioning support, so we append a major version to the name.
11815 soname_spec
='${libname}${release}${shared_ext}$major'
11822 hardcode_into_libs
=yes
11823 if test "$host_cpu" = ia64
; then
11824 # AIX 5 supports IA64
11825 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11826 shlibpath_var
=LD_LIBRARY_PATH
11828 # With GCC up to 2.95.x, collect2 would create an import file
11829 # for dependence libraries. The import file would start with
11830 # the line `#! .'. This would cause the generated library to
11831 # depend on `.', always an invalid library. This was fixed in
11832 # development snapshots of GCC prior to 3.0.
11834 aix4 | aix4.
[01] | aix4.
[01].
*)
11835 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11837 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
11840 can_build_shared
=no
11844 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11845 # soname into executable. Probably we can add versioning support to
11846 # collect2, so additional links can be useful in future.
11847 if test "$aix_use_runtimelinking" = yes; then
11848 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11849 # instead of lib<name>.a to let people know that these are not
11850 # typical AIX shared libraries.
11851 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11853 # We preserve .a as extension for shared libraries through AIX4.2
11854 # and later when we are not doing run time linking.
11855 library_names_spec
='${libname}${release}.a $libname.a'
11856 soname_spec
='${libname}${release}${shared_ext}$major'
11858 shlibpath_var
=LIBPATH
11863 library_names_spec
='$libname.ixlibrary $libname.a'
11864 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11865 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'
11869 library_names_spec
='${libname}${shared_ext}'
11870 dynamic_linker
="$host_os ld.so"
11871 shlibpath_var
=LIBRARY_PATH
11877 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11878 soname_spec
='${libname}${release}${shared_ext}$major'
11879 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11880 shlibpath_var
=LD_LIBRARY_PATH
11881 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11882 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11883 # the default ld.so.conf also contains /usr/contrib/lib and
11884 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11885 # libtool to hard-code these into programs
11888 cygwin
* | mingw
* | pw32
*)
11889 version_type
=windows
11894 case $GCC,$host_os in
11895 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
11896 library_names_spec
='$libname.dll.a'
11897 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11898 postinstall_cmds
='base_file=`basename \${file}`~
11899 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
11900 dldir=$destdir/`dirname \$dlpath`~
11901 test -d \$dldir || mkdir -p \$dldir~
11902 $install_prog $dir/$dlname \$dldir/$dlname~
11903 chmod a+x \$dldir/$dlname'
11904 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11905 dlpath=$dir/\$dldll~
11907 shlibpath_overrides_runpath
=yes
11911 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11912 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11913 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
11916 # MinGW DLLs use traditional 'lib' prefix
11917 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11918 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11919 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
11920 # It is most probably a Windows format PATH printed by
11921 # mingw gcc, but we are running on Cygwin. Gcc prints its search
11922 # path with ; separators, and with drive letters. We can handle the
11923 # drive letters (cygwin fileutils understands them), so leave them,
11924 # especially as we might pass files found there to a mingw objdump,
11925 # which wouldn't understand a cygwinified path. Ahh.
11926 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11928 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11932 # pw32 DLLs use 'pw' prefix rather than 'lib'
11933 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11939 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11942 dynamic_linker
='Win32 ld.exe'
11943 # FIXME: first we should search . and the directory the executable is in
11947 darwin
* | rhapsody
*)
11948 dynamic_linker
="$host_os dyld"
11949 version_type
=darwin
11952 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11953 soname_spec
='${libname}${release}${major}$shared_ext'
11954 shlibpath_overrides_runpath
=yes
11955 shlibpath_var
=DYLD_LIBRARY_PATH
11956 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11957 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
11958 if test "$GCC" = yes; then
11959 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"`
11961 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
11963 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11970 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11971 soname_spec
='${libname}${release}${shared_ext}$major'
11972 shlibpath_var
=LD_LIBRARY_PATH
11983 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11984 soname_spec
='${libname}${release}${shared_ext}$major'
11985 shlibpath_var
=LD_LIBRARY_PATH
11986 shlibpath_overrides_runpath
=no
11987 hardcode_into_libs
=yes
11988 dynamic_linker
='GNU ld.so'
11991 freebsd
* | dragonfly
*)
11992 # DragonFly does not have aout. When/if they implement a new
11993 # versioning mechanism, adjust this.
11994 if test -x /usr
/bin
/objformat
; then
11995 objformat
=`/usr/bin/objformat`
11998 freebsd
[123]*) objformat
=aout
;;
11999 *) objformat
=elf
;;
12002 version_type
=freebsd-
$objformat
12003 case $version_type in
12005 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12010 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12014 shlibpath_var
=LD_LIBRARY_PATH
12017 shlibpath_overrides_runpath
=yes
12019 freebsd3.
[01]* | freebsdelf3.
[01]*)
12020 shlibpath_overrides_runpath
=yes
12021 hardcode_into_libs
=yes
12023 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12024 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12025 shlibpath_overrides_runpath
=no
12026 hardcode_into_libs
=yes
12028 freebsd
*) # from 4.6 on
12029 shlibpath_overrides_runpath
=yes
12030 hardcode_into_libs
=yes
12039 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12040 soname_spec
='${libname}${release}${shared_ext}$major'
12041 shlibpath_var
=LD_LIBRARY_PATH
12042 hardcode_into_libs
=yes
12045 hpux9
* | hpux10
* | hpux11
*)
12046 # Give a soname corresponding to the major version so that dld.sl refuses to
12047 # link against other versions.
12054 hardcode_into_libs
=yes
12055 dynamic_linker
="$host_os dld.so"
12056 shlibpath_var
=LD_LIBRARY_PATH
12057 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12058 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12059 soname_spec
='${libname}${release}${shared_ext}$major'
12060 if test "X$HPUX_IA64_MODE" = X32
; then
12061 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12063 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12065 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12069 hardcode_into_libs
=yes
12070 dynamic_linker
="$host_os dld.sl"
12071 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12072 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12073 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12074 soname_spec
='${libname}${release}${shared_ext}$major'
12075 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12076 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12080 dynamic_linker
="$host_os dld.sl"
12081 shlibpath_var
=SHLIB_PATH
12082 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12083 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12084 soname_spec
='${libname}${release}${shared_ext}$major'
12087 # HP-UX runs *really* slowly unless shared libraries are mode 555.
12088 postinstall_cmds
='chmod 555 $lib'
12095 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12096 soname_spec
='${libname}${release}${shared_ext}$major'
12097 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12098 shlibpath_var
=LD_LIBRARY_PATH
12099 shlibpath_overrides_runpath
=no
12100 hardcode_into_libs
=yes
12103 irix5
* | irix6
* | nonstopux
*)
12105 nonstopux
*) version_type
=nonstopux
;;
12107 if test "$lt_cv_prog_gnu_ld" = yes; then
12115 soname_spec
='${libname}${release}${shared_ext}$major'
12116 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12118 irix5
* | nonstopux
*)
12119 libsuff
= shlibsuff
=
12122 case $LD in # libtool.m4 will add one of these switches to LD
12123 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12124 libsuff
= shlibsuff
= libmagic
=32-bit;;
12125 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12126 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12127 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12128 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12129 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12133 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12134 shlibpath_overrides_runpath
=no
12135 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12136 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
12137 hardcode_into_libs
=yes
12140 # No shared lib support for Linux oldld, aout, or coff.
12141 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12145 # This must be Linux ELF.
12150 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12151 soname_spec
='${libname}${release}${shared_ext}$major'
12152 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12153 shlibpath_var
=LD_LIBRARY_PATH
12154 shlibpath_overrides_runpath
=no
12155 # This implies no fast_install, which is unacceptable.
12156 # Some rework will be needed to allow for fast_install
12157 # before this can be enabled.
12158 hardcode_into_libs
=yes
12160 # Append ld.so.conf contents to the search path
12161 if test -f /etc
/ld.so.conf
; then
12162 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
12163 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
12166 # We used to test for /lib/ld.so.1 and disable shared libraries on
12167 # powerpc, because MkLinux only supported shared libraries with the
12168 # GNU dynamic linker. Since this was broken with cross compilers,
12169 # most powerpc-linux boxes support dynamic linking these days and
12170 # people can always --disable-shared, the test was removed, and we
12171 # assume the GNU/Linux dynamic linker is in use.
12172 dynamic_linker
='GNU/Linux ld.so'
12179 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12180 soname_spec
='${libname}${release}${shared_ext}$major'
12181 shlibpath_var
=LD_LIBRARY_PATH
12182 shlibpath_overrides_runpath
=no
12183 hardcode_into_libs
=yes
12184 dynamic_linker
='GNU ld.so'
12191 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
12192 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12193 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12194 dynamic_linker
='NetBSD (a.out) ld.so'
12196 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12197 soname_spec
='${libname}${release}${shared_ext}$major'
12198 dynamic_linker
='NetBSD ld.elf_so'
12200 shlibpath_var
=LD_LIBRARY_PATH
12201 shlibpath_overrides_runpath
=yes
12202 hardcode_into_libs
=yes
12207 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12208 shlibpath_var
=LD_LIBRARY_PATH
12209 shlibpath_overrides_runpath
=yes
12216 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12217 soname_spec
='${libname}${release}${shared_ext}$major'
12218 shlibpath_var
=LD_LIBRARY_PATH
12219 shlibpath_overrides_runpath
=yes
12224 sys_lib_dlsearch_path_spec
="/usr/lib"
12226 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12228 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
12229 *) need_version
=no
;;
12231 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12232 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12233 shlibpath_var
=LD_LIBRARY_PATH
12234 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12236 openbsd2.
[89] | openbsd2.
[89].
*)
12237 shlibpath_overrides_runpath
=no
12240 shlibpath_overrides_runpath
=yes
12244 shlibpath_overrides_runpath
=yes
12249 libname_spec
='$name'
12252 library_names_spec
='$libname${shared_ext} $libname.a'
12253 dynamic_linker
='OS/2 ld.exe'
12254 shlibpath_var
=LIBPATH
12257 osf3
* | osf4
* | osf5
*)
12261 soname_spec
='${libname}${release}${shared_ext}$major'
12262 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12263 shlibpath_var
=LD_LIBRARY_PATH
12264 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12265 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
12272 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12273 soname_spec
='${libname}${release}${shared_ext}$major'
12274 shlibpath_var
=LD_LIBRARY_PATH
12275 shlibpath_overrides_runpath
=yes
12276 hardcode_into_libs
=yes
12277 # ldd complains unless libraries are executable
12278 postinstall_cmds
='chmod +x $lib'
12283 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12284 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12285 shlibpath_var
=LD_LIBRARY_PATH
12286 shlibpath_overrides_runpath
=yes
12287 if test "$with_gnu_ld" = yes; then
12295 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12296 soname_spec
='${libname}${release}${shared_ext}$major'
12297 shlibpath_var
=LD_LIBRARY_PATH
12298 case $host_vendor in
12300 shlibpath_overrides_runpath
=no
12302 export_dynamic_flag_spec
='${wl}-Blargedynsym'
12303 runpath_var
=LD_RUN_PATH
12311 shlibpath_overrides_runpath
=no
12312 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12318 if test -d /usr
/nec
;then
12320 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12321 soname_spec
='$libname${shared_ext}.$major'
12322 shlibpath_var
=LD_LIBRARY_PATH
12326 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12327 version_type
=freebsd-elf
12330 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12331 soname_spec
='${libname}${release}${shared_ext}$major'
12332 shlibpath_var
=LD_LIBRARY_PATH
12333 hardcode_into_libs
=yes
12334 if test "$with_gnu_ld" = yes; then
12335 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12336 shlibpath_overrides_runpath
=no
12338 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12339 shlibpath_overrides_runpath
=yes
12342 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12346 sys_lib_dlsearch_path_spec
='/usr/lib'
12351 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12352 soname_spec
='${libname}${release}${shared_ext}$major'
12353 shlibpath_var
=LD_LIBRARY_PATH
12360 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12361 echo "${ECHO_T}$dynamic_linker" >&6
12362 test "$dynamic_linker" = no
&& can_build_shared
=no
12364 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12365 if test "$GCC" = yes; then
12366 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12369 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12370 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
12371 hardcode_action_CXX
=
12372 if test -n "$hardcode_libdir_flag_spec_CXX" || \
12373 test -n "$runpath_var_CXX" || \
12374 test "X$hardcode_automatic_CXX" = "Xyes" ; then
12376 # We can hardcode non-existant directories.
12377 if test "$hardcode_direct_CXX" != no
&&
12378 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12379 # have to relink, otherwise we might link with an installed library
12380 # when we should be linking with a yet-to-be-installed one
12381 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
12382 test "$hardcode_minus_L_CXX" != no
; then
12383 # Linking always hardcodes the temporary library directory.
12384 hardcode_action_CXX
=relink
12386 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12387 hardcode_action_CXX
=immediate
12390 # We cannot hardcode anything, or else we can only hardcode existing
12392 hardcode_action_CXX
=unsupported
12394 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
12395 echo "${ECHO_T}$hardcode_action_CXX" >&6
12397 if test "$hardcode_action_CXX" = relink
; then
12398 # Fast installation is not supported
12399 enable_fast_install
=no
12400 elif test "$shlibpath_overrides_runpath" = yes ||
12401 test "$enable_shared" = no
; then
12402 # Fast installation is not necessary
12403 enable_fast_install
=needless
12407 # The else clause should only fire when bootstrapping the
12408 # libtool distribution, otherwise you forgot to ship ltmain.sh
12409 # with your package, and you will get complaints that there are
12410 # no rules to generate ltmain.sh.
12411 if test -f "$ltmain"; then
12412 # See if we are running on zsh, and set the options which allow our commands through
12413 # without removal of \ escapes.
12414 if test -n "${ZSH_VERSION+set}" ; then
12415 setopt NO_GLOB_SUBST
12417 # Now quote all the things that may contain metacharacters while being
12418 # careful not to overquote the AC_SUBSTed values. We take copies of the
12419 # variables and quote the copies for generation of the libtool script.
12420 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
12422 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12423 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12424 deplibs_check_method reload_flag reload_cmds need_locks \
12425 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12426 lt_cv_sys_global_symbol_to_c_name_address \
12427 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12428 old_postinstall_cmds old_postuninstall_cmds \
12432 lt_prog_compiler_wl_CXX \
12433 lt_prog_compiler_pic_CXX \
12434 lt_prog_compiler_static_CXX \
12435 lt_prog_compiler_no_builtin_flag_CXX \
12436 export_dynamic_flag_spec_CXX \
12437 thread_safe_flag_spec_CXX \
12438 whole_archive_flag_spec_CXX \
12439 enable_shared_with_static_runtimes_CXX \
12440 old_archive_cmds_CXX \
12441 old_archive_from_new_cmds_CXX \
12442 predep_objects_CXX \
12443 postdep_objects_CXX \
12446 compiler_lib_search_path_CXX \
12448 archive_expsym_cmds_CXX \
12449 postinstall_cmds_CXX \
12450 postuninstall_cmds_CXX \
12451 old_archive_from_expsyms_cmds_CXX \
12452 allow_undefined_flag_CXX \
12453 no_undefined_flag_CXX \
12454 export_symbols_cmds_CXX \
12455 hardcode_libdir_flag_spec_CXX \
12456 hardcode_libdir_flag_spec_ld_CXX \
12457 hardcode_libdir_separator_CXX \
12458 hardcode_automatic_CXX \
12460 module_expsym_cmds_CXX \
12461 lt_cv_prog_compiler_c_o_CXX \
12462 exclude_expsyms_CXX \
12463 include_expsyms_CXX
; do
12466 old_archive_cmds_CXX | \
12467 old_archive_from_new_cmds_CXX | \
12468 archive_cmds_CXX | \
12469 archive_expsym_cmds_CXX | \
12470 module_cmds_CXX | \
12471 module_expsym_cmds_CXX | \
12472 old_archive_from_expsyms_cmds_CXX | \
12473 export_symbols_cmds_CXX | \
12474 extract_expsyms_cmds | reload_cmds | finish_cmds | \
12475 postinstall_cmds | postuninstall_cmds | \
12476 old_postinstall_cmds | old_postuninstall_cmds | \
12477 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
12478 # Double-quote double-evaled strings.
12479 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
12482 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
12488 *'\$0 --fallback-echo"')
12489 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12495 cat <<__EOF__ >> "$cfgfile"
12496 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
12498 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12500 # Shell to use when invoking shell scripts.
12503 # Whether or not to build shared libraries.
12504 build_libtool_libs=$enable_shared
12506 # Whether or not to build static libraries.
12507 build_old_libs=$enable_static
12509 # Whether or not to add -lc for building shared libraries.
12510 build_libtool_need_lc=$archive_cmds_need_lc_CXX
12512 # Whether or not to disallow shared libs when runtime libs are static
12513 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
12515 # Whether or not to optimize for fast installation.
12516 fast_install=$enable_fast_install
12519 host_alias=$host_alias
12523 # The build system.
12524 build_alias=$build_alias
12528 # An echo program that does not interpret backslashes.
12533 AR_FLAGS=$lt_AR_FLAGS
12538 # LTCC compiler flags.
12539 LTCFLAGS=$lt_LTCFLAGS
12541 # A language-specific compiler.
12542 CC=$lt_compiler_CXX
12544 # Is the compiler the GNU C compiler?
12550 # The linker used to build libraries.
12553 # Whether we need hard or soft links.
12556 # A BSD-compatible nm program.
12559 # A symbol stripping program
12562 # Used to examine libraries when file_magic_cmd begins "file"
12563 MAGIC_CMD=$MAGIC_CMD
12565 # Used on cygwin: DLL creation program.
12568 # Used on cygwin: object dumper.
12571 # Used on cygwin: assembler.
12574 # The name of the directory that contains temporary libtool files.
12577 # How to create reloadable object files.
12578 reload_flag=$lt_reload_flag
12579 reload_cmds=$lt_reload_cmds
12581 # How to pass a linker flag through the compiler.
12582 wl=$lt_lt_prog_compiler_wl_CXX
12584 # Object file suffix (normally "o").
12585 objext="$ac_objext"
12587 # Old archive suffix (normally "a").
12590 # Shared library suffix (normally ".so").
12591 shrext_cmds='$shrext_cmds'
12593 # Executable file suffix (normally "").
12596 # Additional compiler flags for building library objects.
12597 pic_flag=$lt_lt_prog_compiler_pic_CXX
12600 # What is the maximum length of a command?
12601 max_cmd_len=$lt_cv_sys_max_cmd_len
12603 # Does compiler simultaneously support -c and -o options?
12604 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
12606 # Must we lock files when doing compilation?
12607 need_locks=$lt_need_locks
12609 # Do we need the lib prefix for modules?
12610 need_lib_prefix=$need_lib_prefix
12612 # Do we need a version for libraries?
12613 need_version=$need_version
12615 # Whether dlopen is supported.
12616 dlopen_support=$enable_dlopen
12618 # Whether dlopen of programs is supported.
12619 dlopen_self=$enable_dlopen_self
12621 # Whether dlopen of statically linked programs is supported.
12622 dlopen_self_static=$enable_dlopen_self_static
12624 # Compiler flag to prevent dynamic linking.
12625 link_static_flag=$lt_lt_prog_compiler_static_CXX
12627 # Compiler flag to turn off builtin functions.
12628 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
12630 # Compiler flag to allow reflexive dlopens.
12631 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
12633 # Compiler flag to generate shared objects directly from archives.
12634 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
12636 # Compiler flag to generate thread-safe objects.
12637 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
12639 # Library versioning type.
12640 version_type=$version_type
12642 # Format of library name prefix.
12643 libname_spec=$lt_libname_spec
12645 # List of archive names. First name is the real one, the rest are links.
12646 # The last name is the one that the linker finds with -lNAME.
12647 library_names_spec=$lt_library_names_spec
12649 # The coded name of the library, if different from the real name.
12650 soname_spec=$lt_soname_spec
12652 # Commands used to build and install an old-style archive.
12654 old_archive_cmds=$lt_old_archive_cmds_CXX
12655 old_postinstall_cmds=$lt_old_postinstall_cmds
12656 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12658 # Create an old-style archive from a shared archive.
12659 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
12661 # Create a temporary old-style archive to link instead of a shared archive.
12662 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
12664 # Commands used to build and install a shared archive.
12665 archive_cmds=$lt_archive_cmds_CXX
12666 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
12667 postinstall_cmds=$lt_postinstall_cmds
12668 postuninstall_cmds=$lt_postuninstall_cmds
12670 # Commands used to build a loadable module (assumed same as above if empty)
12671 module_cmds=$lt_module_cmds_CXX
12672 module_expsym_cmds=$lt_module_expsym_cmds_CXX
12674 # Commands to strip libraries.
12675 old_striplib=$lt_old_striplib
12676 striplib=$lt_striplib
12678 # Dependencies to place before the objects being linked to create a
12680 predep_objects=$lt_predep_objects_CXX
12682 # Dependencies to place after the objects being linked to create a
12684 postdep_objects=$lt_postdep_objects_CXX
12686 # Dependencies to place before the objects being linked to create a
12688 predeps=$lt_predeps_CXX
12690 # Dependencies to place after the objects being linked to create a
12692 postdeps=$lt_postdeps_CXX
12694 # The library search path used internally by the compiler when linking
12695 # a shared library.
12696 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
12698 # Method to check whether dependent libraries are shared objects.
12699 deplibs_check_method=$lt_deplibs_check_method
12701 # Command to use when deplibs_check_method == file_magic.
12702 file_magic_cmd=$lt_file_magic_cmd
12704 # Flag that allows shared libraries with undefined symbols to be built.
12705 allow_undefined_flag=$lt_allow_undefined_flag_CXX
12707 # Flag that forces no undefined symbols.
12708 no_undefined_flag=$lt_no_undefined_flag_CXX
12710 # Commands used to finish a libtool library installation in a directory.
12711 finish_cmds=$lt_finish_cmds
12713 # Same as above, but a single script fragment to be evaled but not shown.
12714 finish_eval=$lt_finish_eval
12716 # Take the output of nm and produce a listing of raw symbols and C names.
12717 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12719 # Transform the output of nm in a proper C declaration
12720 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12722 # Transform the output of nm in a C name address pair
12723 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12725 # This is the shared library runtime path variable.
12726 runpath_var=$runpath_var
12728 # This is the shared library path variable.
12729 shlibpath_var=$shlibpath_var
12731 # Is shlibpath searched before the hard-coded library search path?
12732 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12734 # How to hardcode a shared library path into an executable.
12735 hardcode_action=$hardcode_action_CXX
12737 # Whether we should hardcode library paths into libraries.
12738 hardcode_into_libs=$hardcode_into_libs
12740 # Flag to hardcode \$libdir into a binary during linking.
12741 # This must work even if \$libdir does not exist.
12742 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
12744 # If ld is used when linking, flag to hardcode \$libdir into
12745 # a binary during linking. This must work even if \$libdir does
12747 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
12749 # Whether we need a single -rpath flag with a separated argument.
12750 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
12752 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
12753 # resulting binary.
12754 hardcode_direct=$hardcode_direct_CXX
12756 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
12757 # resulting binary.
12758 hardcode_minus_L=$hardcode_minus_L_CXX
12760 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
12761 # the resulting binary.
12762 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
12764 # Set to yes if building a shared library automatically hardcodes DIR into the library
12765 # and all subsequent libraries and executables linked against it.
12766 hardcode_automatic=$hardcode_automatic_CXX
12768 # Variables whose values should be saved in libtool wrapper scripts and
12769 # restored at relink time.
12770 variables_saved_for_relink="$variables_saved_for_relink"
12772 # Whether libtool must link a program against all its dependency libraries.
12773 link_all_deplibs=$link_all_deplibs_CXX
12775 # Compile-time system search path for libraries
12776 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12778 # Run-time system search path for libraries
12779 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12781 # Fix the shell variable \$srcfile for the compiler.
12782 fix_srcfile_path="$fix_srcfile_path_CXX"
12784 # Set to yes if exported symbols are required.
12785 always_export_symbols=$always_export_symbols_CXX
12787 # The commands to list exported symbols.
12788 export_symbols_cmds=$lt_export_symbols_cmds_CXX
12790 # The commands to extract the exported symbol list from a shared archive.
12791 extract_expsyms_cmds=$lt_extract_expsyms_cmds
12793 # Symbols that should not be listed in the preloaded symbols.
12794 exclude_expsyms=$lt_exclude_expsyms_CXX
12796 # Symbols that must always be exported.
12797 include_expsyms=$lt_include_expsyms_CXX
12799 # ### END LIBTOOL TAG CONFIG: $tagname
12805 # If there is no Makefile yet, we rely on a make rule to execute
12806 # `config.status --recheck' to rerun these tests and create the
12807 # libtool script then.
12808 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
12809 if test -f "$ltmain_in"; then
12810 test -f Makefile
&& make "$ltmain"
12816 ac_cpp
='$CPP $CPPFLAGS'
12817 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12818 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12819 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12825 with_gnu_ldcxx
=$with_gnu_ld
12826 with_gnu_ld
=$lt_save_with_gnu_ld
12827 lt_cv_path_LDCXX
=$lt_cv_path_LD
12828 lt_cv_path_LD
=$lt_save_path_LD
12829 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
12830 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
12838 if test -n "$F77" && test "X$F77" != "Xno"; then
12841 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
12842 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12843 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
12846 archive_cmds_need_lc_F77
=no
12847 allow_undefined_flag_F77
=
12848 always_export_symbols_F77
=no
12849 archive_expsym_cmds_F77
=
12850 export_dynamic_flag_spec_F77
=
12851 hardcode_direct_F77
=no
12852 hardcode_libdir_flag_spec_F77
=
12853 hardcode_libdir_flag_spec_ld_F77
=
12854 hardcode_libdir_separator_F77
=
12855 hardcode_minus_L_F77
=no
12856 hardcode_automatic_F77
=no
12858 module_expsym_cmds_F77
=
12859 link_all_deplibs_F77
=unknown
12860 old_archive_cmds_F77
=$old_archive_cmds
12861 no_undefined_flag_F77
=
12862 whole_archive_flag_spec_F77
=
12863 enable_shared_with_static_runtimes_F77
=no
12865 # Source file extension for f77 test sources.
12868 # Object file extension for compiled f77 test sources.
12872 # Code to be used in simple compile tests
12873 lt_simple_compile_test_code
=" subroutine t\n return\n end\n"
12875 # Code to be used in simple link tests
12876 lt_simple_link_test_code
=" program t\n end\n"
12878 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12880 # If no C compiler was specified, use CC.
12883 # If no C compiler flags were specified, use CFLAGS.
12884 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12886 # Allow CC to be a program name with arguments.
12890 # save warnings/boilerplate of simple test code
12891 ac_outfile
=conftest.
$ac_objext
12892 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
12893 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12894 _lt_compiler_boilerplate
=`cat conftest.err`
12897 ac_outfile
=conftest.
$ac_objext
12898 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
12899 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12900 _lt_linker_boilerplate
=`cat conftest.err`
12904 # Allow CC to be a program name with arguments.
12909 for cc_temp
in $compiler""; do
12911 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
12912 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
12917 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12920 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12921 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
12922 echo "$as_me:$LINENO: result: $can_build_shared" >&5
12923 echo "${ECHO_T}$can_build_shared" >&6
12925 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12926 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
12927 test "$can_build_shared" = "no" && enable_shared
=no
12929 # On AIX, shared libraries and static libraries use the same namespace, and
12930 # are all built from PIC.
12933 test "$enable_shared" = yes && enable_static
=no
12934 if test -n "$RANLIB"; then
12935 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12936 postinstall_cmds
='$RANLIB $lib'
12940 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12941 test "$enable_shared" = yes && enable_static
=no
12945 echo "$as_me:$LINENO: result: $enable_shared" >&5
12946 echo "${ECHO_T}$enable_shared" >&6
12948 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12949 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
12950 # Make sure either enable_shared or enable_static is yes.
12951 test "$enable_shared" = yes || enable_static
=yes
12952 echo "$as_me:$LINENO: result: $enable_static" >&5
12953 echo "${ECHO_T}$enable_static" >&6
12958 lt_prog_compiler_wl_F77
=
12959 lt_prog_compiler_pic_F77
=
12960 lt_prog_compiler_static_F77
=
12962 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12963 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12965 if test "$GCC" = yes; then
12966 lt_prog_compiler_wl_F77
='-Wl,'
12967 lt_prog_compiler_static_F77
='-static'
12971 # All AIX code is PIC.
12972 if test "$host_cpu" = ia64
; then
12973 # AIX 5 now supports IA64 processor
12974 lt_prog_compiler_static_F77
='-Bstatic'
12979 # FIXME: we need at least 68020 code to build shared libraries, but
12980 # adding the `-m68020' flag to GCC prevents building anything better,
12982 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
12985 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12986 # PIC is the default for these OSes.
12989 mingw
* | pw32
* | os2
*)
12990 # This hack is so that the source file can tell whether it is being
12991 # built for inclusion in a dll (and should export symbols for example).
12992 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
12995 darwin
* | rhapsody
*)
12996 # PIC is the default on this platform
12997 # Common symbols not allowed in MH_DYLIB files
12998 lt_prog_compiler_pic_F77
='-fno-common'
13002 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13003 # Instead, we relocate shared libraries at runtime.
13007 # Just because we use GCC doesn't mean we suddenly get shared libraries
13008 # on systems that don't support them.
13009 lt_prog_compiler_can_build_shared_F77
=no
13014 if test -d /usr
/nec
; then
13015 lt_prog_compiler_pic_F77
=-Kconform_pic
13020 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13021 # not for PA HP-UX.
13027 lt_prog_compiler_pic_F77
='-fPIC'
13033 lt_prog_compiler_pic_F77
='-fPIC'
13037 # PORTME Check for flag to pass linker flags through the system compiler.
13040 lt_prog_compiler_wl_F77
='-Wl,'
13041 if test "$host_cpu" = ia64
; then
13042 # AIX 5 now supports IA64 processor
13043 lt_prog_compiler_static_F77
='-Bstatic'
13045 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
13049 # PIC is the default on this platform
13050 # Common symbols not allowed in MH_DYLIB files
13051 case $cc_basename in
13053 lt_prog_compiler_pic_F77
='-qnocommon'
13054 lt_prog_compiler_wl_F77
='-Wl,'
13059 mingw
* | pw32
* | os2
*)
13060 # This hack is so that the source file can tell whether it is being
13061 # built for inclusion in a dll (and should export symbols for example).
13062 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13065 hpux9
* | hpux10
* | hpux11
*)
13066 lt_prog_compiler_wl_F77
='-Wl,'
13067 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13068 # not for PA HP-UX.
13074 lt_prog_compiler_pic_F77
='+Z'
13077 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13078 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
13081 irix5
* | irix6
* | nonstopux
*)
13082 lt_prog_compiler_wl_F77
='-Wl,'
13083 # PIC (with -KPIC) is the default.
13084 lt_prog_compiler_static_F77
='-non_shared'
13088 lt_prog_compiler_pic_F77
='-KPIC'
13089 lt_prog_compiler_static_F77
='-Bstatic'
13093 case $cc_basename in
13095 lt_prog_compiler_wl_F77
='-Wl,'
13096 lt_prog_compiler_pic_F77
='-KPIC'
13097 lt_prog_compiler_static_F77
='-static'
13099 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
13100 # Portland Group compilers (*not* the Pentium gcc compiler,
13101 # which looks to be a dead project)
13102 lt_prog_compiler_wl_F77
='-Wl,'
13103 lt_prog_compiler_pic_F77
='-fpic'
13104 lt_prog_compiler_static_F77
='-Bstatic'
13107 lt_prog_compiler_wl_F77
='-Wl,'
13108 # All Alpha code is PIC.
13109 lt_prog_compiler_static_F77
='-non_shared'
13114 osf3
* | osf4
* | osf5
*)
13115 lt_prog_compiler_wl_F77
='-Wl,'
13116 # All OSF/1 code is PIC.
13117 lt_prog_compiler_static_F77
='-non_shared'
13121 lt_prog_compiler_pic_F77
='-KPIC'
13122 lt_prog_compiler_static_F77
='-Bstatic'
13123 case $cc_basename in
13124 f77
* | f90
* | f95
*)
13125 lt_prog_compiler_wl_F77
='-Qoption ld ';;
13127 lt_prog_compiler_wl_F77
='-Wl,';;
13132 lt_prog_compiler_wl_F77
='-Qoption ld '
13133 lt_prog_compiler_pic_F77
='-PIC'
13134 lt_prog_compiler_static_F77
='-Bstatic'
13137 sysv4 | sysv4.2uw2
* | sysv4.3
*)
13138 lt_prog_compiler_wl_F77
='-Wl,'
13139 lt_prog_compiler_pic_F77
='-KPIC'
13140 lt_prog_compiler_static_F77
='-Bstatic'
13144 if test -d /usr
/nec
;then
13145 lt_prog_compiler_pic_F77
='-Kconform_pic'
13146 lt_prog_compiler_static_F77
='-Bstatic'
13150 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13151 lt_prog_compiler_wl_F77
='-Wl,'
13152 lt_prog_compiler_pic_F77
='-KPIC'
13153 lt_prog_compiler_static_F77
='-Bstatic'
13157 lt_prog_compiler_wl_F77
='-Wl,'
13158 lt_prog_compiler_can_build_shared_F77
=no
13162 lt_prog_compiler_pic_F77
='-pic'
13163 lt_prog_compiler_static_F77
='-Bstatic'
13167 lt_prog_compiler_can_build_shared_F77
=no
13172 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13173 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
13176 # Check to make sure the PIC flag actually works.
13178 if test -n "$lt_prog_compiler_pic_F77"; then
13180 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13181 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
13182 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13183 echo $ECHO_N "(cached) $ECHO_C" >&6
13185 lt_prog_compiler_pic_works_F77
=no
13186 ac_outfile
=conftest.
$ac_objext
13187 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13188 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
13189 # Insert the option either (1) after the last *FLAGS variable, or
13190 # (2) before a word containing "conftest.", or (3) at the end.
13191 # Note that $ac_compile itself does not contain backslashes and begins
13192 # with a dollar sign (not a hyphen), so the echo should work correctly.
13193 # The option is referenced via a variable to avoid confusing sed.
13194 lt_compile
=`echo "$ac_compile" | $SED \
13195 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13196 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13197 -e 's:$: $lt_compiler_flag:'`
13198 (eval echo "\"\$as_me:13198: $lt_compile\"" >&5)
13199 (eval "$lt_compile" 2>conftest.err
)
13201 cat conftest.err
>&5
13202 echo "$as_me:13202: \$? = $ac_status" >&5
13203 if (exit $ac_status) && test -s "$ac_outfile"; then
13204 # The compiler can only warn and ignore the option if not recognized
13205 # So say no if there are warnings other than the usual output.
13206 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
13207 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13208 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13209 lt_prog_compiler_pic_works_F77
=yes
13215 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13216 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
13218 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
13219 case $lt_prog_compiler_pic_F77 in
13221 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
13224 lt_prog_compiler_pic_F77
=
13225 lt_prog_compiler_can_build_shared_F77
=no
13230 # For platforms which do not support PIC, -DPIC is meaningless:
13232 lt_prog_compiler_pic_F77
=
13235 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
13240 # Check to make sure the static flag actually works.
13242 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
13243 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13244 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
13245 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
13246 echo $ECHO_N "(cached) $ECHO_C" >&6
13248 lt_prog_compiler_static_works_F77
=no
13249 save_LDFLAGS
="$LDFLAGS"
13250 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13251 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
13252 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13253 # The linker can only warn and ignore the option if not recognized
13254 # So say no if there are warnings
13255 if test -s conftest.err
; then
13256 # Append any errors to the config.log.
13257 cat conftest.err
1>&5
13258 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
13259 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13260 if diff conftest.exp conftest.er2
>/dev
/null
; then
13261 lt_prog_compiler_static_works_F77
=yes
13264 lt_prog_compiler_static_works_F77
=yes
13268 LDFLAGS
="$save_LDFLAGS"
13271 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
13272 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6
13274 if test x
"$lt_prog_compiler_static_works_F77" = xyes
; then
13277 lt_prog_compiler_static_F77
=
13281 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13282 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13283 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13284 echo $ECHO_N "(cached) $ECHO_C" >&6
13286 lt_cv_prog_compiler_c_o_F77
=no
13287 $rm -r conftest
2>/dev
/null
13291 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13293 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13294 # Insert the option either (1) after the last *FLAGS variable, or
13295 # (2) before a word containing "conftest.", or (3) at the end.
13296 # Note that $ac_compile itself does not contain backslashes and begins
13297 # with a dollar sign (not a hyphen), so the echo should work correctly.
13298 lt_compile
=`echo "$ac_compile" | $SED \
13299 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13300 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13301 -e 's:$: $lt_compiler_flag:'`
13302 (eval echo "\"\$as_me:13302: $lt_compile\"" >&5)
13303 (eval "$lt_compile" 2>out
/conftest.err
)
13305 cat out
/conftest.err
>&5
13306 echo "$as_me:13306: \$? = $ac_status" >&5
13307 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13309 # The compiler can only warn and ignore the option if not recognized
13310 # So say no if there are warnings
13311 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
13312 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13313 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13314 lt_cv_prog_compiler_c_o_F77
=yes
13319 # SGI C++ compiler will create directory out/ii_files/ for
13320 # template instantiation
13321 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
13322 $rm out
/* && rmdir out
13328 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13329 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
13332 hard_links
="nottested"
13333 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
13334 # do not overwrite the value of need_locks provided by the user
13335 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13336 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13339 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13341 ln conftest.a conftest.b
2>&5 || hard_links
=no
13342 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13343 echo "$as_me:$LINENO: result: $hard_links" >&5
13344 echo "${ECHO_T}$hard_links" >&6
13345 if test "$hard_links" = no
; then
13346 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13347 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13354 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13355 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13358 allow_undefined_flag_F77
=
13359 enable_shared_with_static_runtimes_F77
=no
13361 archive_expsym_cmds_F77
=
13362 old_archive_From_new_cmds_F77
=
13363 old_archive_from_expsyms_cmds_F77
=
13364 export_dynamic_flag_spec_F77
=
13365 whole_archive_flag_spec_F77
=
13366 thread_safe_flag_spec_F77
=
13367 hardcode_libdir_flag_spec_F77
=
13368 hardcode_libdir_flag_spec_ld_F77
=
13369 hardcode_libdir_separator_F77
=
13370 hardcode_direct_F77
=no
13371 hardcode_minus_L_F77
=no
13372 hardcode_shlibpath_var_F77
=unsupported
13373 link_all_deplibs_F77
=unknown
13374 hardcode_automatic_F77
=no
13376 module_expsym_cmds_F77
=
13377 always_export_symbols_F77
=no
13378 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13379 # include_expsyms should be a list of space-separated symbols to be *always*
13380 # included in the symbol list
13381 include_expsyms_F77
=
13382 # exclude_expsyms can be an extended regexp of symbols to exclude
13383 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13384 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13385 # as well as any symbol that contains `d'.
13386 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
13387 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13388 # platforms (ab)use it in PIC code, but their linkers get confused if
13389 # the symbol is explicitly referenced. Since portable code cannot
13390 # rely on this symbol name, it's probably fine to never include it in
13391 # preloaded symbol tables.
13392 extract_expsyms_cmds
=
13393 # Just being paranoid about ensuring that cc_basename is set.
13394 for cc_temp
in $compiler""; do
13396 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13397 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13402 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13405 cygwin
* | mingw
* | pw32
*)
13406 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13407 # When not using gcc, we currently assume that we are using
13408 # Microsoft Visual C++.
13409 if test "$GCC" != yes; then
13414 # we just hope/assume this is gcc and not c89 (= MSVC++)
13423 if test "$with_gnu_ld" = yes; then
13424 # If archive_cmds runs LD, not CC, wlarc should be empty
13427 # Set some defaults for GNU ld with shared library support. These
13428 # are reset later if shared libraries are not supported. Putting them
13429 # here allows them to be overridden if necessary.
13430 runpath_var
=LD_RUN_PATH
13431 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
13432 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
13433 # ancient GNU ld didn't support --whole-archive et. al.
13434 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
13435 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13437 whole_archive_flag_spec_F77
=
13439 supports_anon_versioning
=no
13440 case `$LD -v 2>/dev/null` in
13441 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
13442 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
13443 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
13444 *\
2.11.
*) ;; # other 2.11 versions
13445 *) supports_anon_versioning
=yes ;;
13448 # See if GNU ld supports shared libraries.
13450 aix3
* | aix4
* | aix5
*)
13451 # On AIX/PPC, the GNU linker is very broken
13452 if test "$host_cpu" != ia64
; then
13456 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
13457 *** to be unable to reliably create shared libraries on AIX.
13458 *** Therefore, libtool is disabling shared libraries support. If you
13459 *** really care for shared libraries, you may want to modify your PATH
13460 *** so that a non-GNU linker is found, and then restart.
13467 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)'
13468 hardcode_libdir_flag_spec_F77
='-L$libdir'
13469 hardcode_minus_L_F77
=yes
13471 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
13472 # that the semantics of dynamic libraries on AmigaOS, at least up
13473 # to version 4, is to share data among multiple programs linked
13474 # with the same dynamic library. Since this doesn't match the
13475 # behavior of shared libraries on other platforms, we can't use
13481 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13482 allow_undefined_flag_F77
=unsupported
13483 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13484 # support --undefined. This deserves some investigation. FIXME
13485 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13491 cygwin
* | mingw
* | pw32
*)
13492 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
13493 # as there is no search path for DLLs.
13494 hardcode_libdir_flag_spec_F77
='-L$libdir'
13495 allow_undefined_flag_F77
=unsupported
13496 always_export_symbols_F77
=no
13497 enable_shared_with_static_runtimes_F77
=yes
13498 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13500 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
13501 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13502 # If the export-symbols file already is a .def file (1st line
13503 # is EXPORTS), use it as is; otherwise, prepend...
13504 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13505 cp $export_symbols $output_objdir/$soname.def;
13507 echo EXPORTS > $output_objdir/$soname.def;
13508 cat $export_symbols >> $output_objdir/$soname.def;
13510 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13517 hardcode_direct_F77
=no
13518 hardcode_shlibpath_var_F77
=no
13519 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
13520 export_dynamic_flag_spec_F77
='${wl}-E'
13521 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13522 # Instead, shared libraries are loaded at an image base (0x10000000 by
13523 # default) and relocated if they conflict, which is a slow very memory
13524 # consuming and fragmenting process. To avoid this, we pick a random,
13525 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13526 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13527 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'
13528 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'
13532 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13534 case $cc_basename,$host_cpu in
13535 pgcc
*) # Portland Group C compiler
13536 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'
13537 tmp_addflag
=' $pic_flag'
13539 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
13540 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'
13541 tmp_addflag
=' $pic_flag -Mnomain' ;;
13542 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
13543 tmp_addflag
=' -i_dynamic' ;;
13544 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
13545 tmp_addflag
=' -i_dynamic -nofor_main' ;;
13546 ifc
* | ifort
*) # Intel Fortran compiler
13547 tmp_addflag
=' -nofor_main' ;;
13549 archive_cmds_F77
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13551 if test $supports_anon_versioning = yes; then
13552 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
13553 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13554 $echo "local: *; };" >> $output_objdir/$libname.ver~
13555 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13563 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
13564 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13567 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13568 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13573 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
13577 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13578 *** create shared libraries on Solaris systems. Therefore, libtool
13579 *** is disabling shared libraries support. We urge you to upgrade GNU
13580 *** binutils to release 2.9.1 or newer. Another option is to modify
13581 *** your PATH or compiler configuration so that the native linker is
13582 *** used, and then restart.
13585 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13586 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13587 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13593 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
13594 case `$LD -v 2>&1` in
13595 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
13599 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
13600 *** reliably create shared libraries on SCO systems. Therefore, libtool
13601 *** is disabling shared libraries support. We urge you to upgrade GNU
13602 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
13603 *** your PATH or compiler configuration so that the native linker is
13604 *** used, and then restart.
13609 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13610 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
13611 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
13612 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
13621 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13623 hardcode_direct_F77
=yes
13624 hardcode_shlibpath_var_F77
=no
13628 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13629 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13630 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13637 if test "$ld_shlibs_F77" = no
; then
13639 hardcode_libdir_flag_spec_F77
=
13640 export_dynamic_flag_spec_F77
=
13641 whole_archive_flag_spec_F77
=
13644 # PORTME fill in a description of your system's linker (not GNU ld)
13647 allow_undefined_flag_F77
=unsupported
13648 always_export_symbols_F77
=yes
13649 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'
13650 # Note: this linker hardcodes the directories in LIBPATH if there
13651 # are no directories specified by -L.
13652 hardcode_minus_L_F77
=yes
13653 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
13654 # Neither direct hardcoding nor static linking is supported with a
13656 hardcode_direct_F77
=unsupported
13661 if test "$host_cpu" = ia64
; then
13662 # On IA64, the linker does run time linking by default, so we don't
13663 # have to do anything special.
13664 aix_use_runtimelinking
=no
13665 exp_sym_flag
='-Bexport'
13668 # If we're using GNU nm, then we don't want the "-C" option.
13669 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13670 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
13671 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'
13673 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'
13675 aix_use_runtimelinking
=no
13677 # Test if we are trying to use run time linking or normal
13678 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13679 # need to do runtime linking.
13680 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
13681 for ld_flag
in $LDFLAGS; do
13682 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
13683 aix_use_runtimelinking
=yes
13690 exp_sym_flag
='-bexport'
13691 no_entry_flag
='-bnoentry'
13694 # When large executables or shared objects are built, AIX ld can
13695 # have problems creating the table of contents. If linking a library
13696 # or program results in "error TOC overflow" add -mminimal-toc to
13697 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13698 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13700 archive_cmds_F77
=''
13701 hardcode_direct_F77
=yes
13702 hardcode_libdir_separator_F77
=':'
13703 link_all_deplibs_F77
=yes
13705 if test "$GCC" = yes; then
13706 case $host_os in aix4.
[012]|aix4.
[012].
*)
13707 # We only want to do this on AIX 4.2 and lower, the check
13708 # below for broken collect2 doesn't work under 4.3+
13709 collect2name
=`${CC} -print-prog-name=collect2`
13710 if test -f "$collect2name" && \
13711 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
13713 # We have reworked collect2
13714 hardcode_direct_F77
=yes
13716 # We have old collect2
13717 hardcode_direct_F77
=unsupported
13718 # It fails to find uninstalled libraries when the uninstalled
13719 # path is not listed in the libpath. Setting hardcode_minus_L
13720 # to unsupported forces relinking
13721 hardcode_minus_L_F77
=yes
13722 hardcode_libdir_flag_spec_F77
='-L$libdir'
13723 hardcode_libdir_separator_F77
=
13727 shared_flag
='-shared'
13728 if test "$aix_use_runtimelinking" = yes; then
13729 shared_flag
="$shared_flag "'${wl}-G'
13733 if test "$host_cpu" = ia64
; then
13734 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13735 # chokes on -Wl,-G. The following line is correct:
13738 if test "$aix_use_runtimelinking" = yes; then
13739 shared_flag
='${wl}-G'
13741 shared_flag
='${wl}-bM:SRE'
13746 # It seems that -bexpall does not export symbols beginning with
13747 # underscore (_), so it is better to generate a list of symbols to export.
13748 always_export_symbols_F77
=yes
13749 if test "$aix_use_runtimelinking" = yes; then
13750 # Warning - without using the other runtime loading flags (-brtl),
13751 # -berok will link without error, but may produce a broken library.
13752 allow_undefined_flag_F77
='-berok'
13753 # Determine the default libpath from the value encoded in an empty executable.
13754 cat >conftest.
$ac_ext <<_ACEOF
13759 rm -f conftest.
$ac_objext conftest
$ac_exeext
13760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13761 (eval $ac_link) 2>conftest.er1
13763 grep -v '^ *+' conftest.er1
>conftest.err
13765 cat conftest.err
>&5
13766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13767 (exit $ac_status); } &&
13768 { ac_try
='test -z "$ac_f77_werror_flag"
13769 || test ! -s conftest.err'
13770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13771 (eval $ac_try) 2>&5
13773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13774 (exit $ac_status); }; } &&
13775 { ac_try
='test -s conftest$ac_exeext'
13776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13777 (eval $ac_try) 2>&5
13779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13780 (exit $ac_status); }; }; then
13782 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13784 # Check for a 64-bit object if we didn't find anything.
13785 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; }
13788 echo "$as_me: failed program was:" >&5
13789 sed 's/^/| /' conftest.
$ac_ext >&5
13792 rm -f conftest.err conftest.
$ac_objext \
13793 conftest
$ac_exeext conftest.
$ac_ext
13794 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13796 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
13797 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"
13799 if test "$host_cpu" = ia64
; then
13800 hardcode_libdir_flag_spec_F77
='${wl}-R $libdir:/usr/lib:/lib'
13801 allow_undefined_flag_F77
="-z nodefs"
13802 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"
13804 # Determine the default libpath from the value encoded in an empty executable.
13805 cat >conftest.
$ac_ext <<_ACEOF
13810 rm -f conftest.
$ac_objext conftest
$ac_exeext
13811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13812 (eval $ac_link) 2>conftest.er1
13814 grep -v '^ *+' conftest.er1
>conftest.err
13816 cat conftest.err
>&5
13817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13818 (exit $ac_status); } &&
13819 { ac_try
='test -z "$ac_f77_werror_flag"
13820 || test ! -s conftest.err'
13821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13822 (eval $ac_try) 2>&5
13824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13825 (exit $ac_status); }; } &&
13826 { ac_try
='test -s conftest$ac_exeext'
13827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13828 (eval $ac_try) 2>&5
13830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13831 (exit $ac_status); }; }; then
13833 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13835 # Check for a 64-bit object if we didn't find anything.
13836 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; }
13839 echo "$as_me: failed program was:" >&5
13840 sed 's/^/| /' conftest.
$ac_ext >&5
13843 rm -f conftest.err conftest.
$ac_objext \
13844 conftest
$ac_exeext conftest.
$ac_ext
13845 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13847 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
13848 # Warning - without using the other run time loading flags,
13849 # -berok will link without error, but may produce a broken library.
13850 no_undefined_flag_F77
=' ${wl}-bernotok'
13851 allow_undefined_flag_F77
=' ${wl}-berok'
13852 # Exported symbols can be pulled into shared objects from archives
13853 whole_archive_flag_spec_F77
='$convenience'
13854 archive_cmds_need_lc_F77
=yes
13855 # This is similar to how AIX traditionally builds its shared libraries.
13856 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'
13862 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)'
13863 hardcode_libdir_flag_spec_F77
='-L$libdir'
13864 hardcode_minus_L_F77
=yes
13865 # see comment about different semantics on the GNU ld section
13870 export_dynamic_flag_spec_F77
=-rdynamic
13873 cygwin
* | mingw
* | pw32
*)
13874 # When not using gcc, we currently assume that we are using
13875 # Microsoft Visual C++.
13876 # hardcode_libdir_flag_spec is actually meaningless, as there is
13877 # no search path for DLLs.
13878 hardcode_libdir_flag_spec_F77
=' '
13879 allow_undefined_flag_F77
=unsupported
13880 # Tell ltmain to make .lib files, not .a files.
13882 # Tell ltmain to make .dll files, not .so files.
13884 # FIXME: Setting linknames here is a bad hack.
13885 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
13886 # The linker will automatically build a .lib file if we build a DLL.
13887 old_archive_From_new_cmds_F77
='true'
13888 # FIXME: Should let the user specify the lib program.
13889 old_archive_cmds_F77
='lib /OUT:$oldlib$oldobjs$old_deplibs'
13890 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
13891 enable_shared_with_static_runtimes_F77
=yes
13894 darwin
* | rhapsody
*)
13896 rhapsody
* | darwin1.
[012])
13897 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
13900 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
13901 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
13903 case ${MACOSX_DEPLOYMENT_TARGET} in
13905 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
13908 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
13914 archive_cmds_need_lc_F77
=no
13915 hardcode_direct_F77
=no
13916 hardcode_automatic_F77
=yes
13917 hardcode_shlibpath_var_F77
=unsupported
13918 whole_archive_flag_spec_F77
=''
13919 link_all_deplibs_F77
=yes
13920 if test "$GCC" = yes ; then
13921 output_verbose_link_cmd
='echo'
13922 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
13923 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
13924 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
13925 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}'
13926 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}'
13928 case $cc_basename in
13930 output_verbose_link_cmd
='echo'
13931 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
13932 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
13933 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
13934 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}'
13935 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}'
13945 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13946 hardcode_libdir_flag_spec_F77
='-L$libdir'
13947 hardcode_shlibpath_var_F77
=no
13954 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13955 # support. Future versions do this automatically, but an explicit c++rt0.o
13956 # does not break anything, and helps significantly (at the cost of a little
13959 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13960 hardcode_libdir_flag_spec_F77
='-R$libdir'
13961 hardcode_direct_F77
=yes
13962 hardcode_shlibpath_var_F77
=no
13965 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13967 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13968 hardcode_direct_F77
=yes
13969 hardcode_minus_L_F77
=yes
13970 hardcode_shlibpath_var_F77
=no
13973 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13974 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
13975 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13976 hardcode_libdir_flag_spec_F77
='-R$libdir'
13977 hardcode_direct_F77
=yes
13978 hardcode_shlibpath_var_F77
=no
13982 if test "$GCC" = yes; then
13983 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'
13985 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'
13987 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
13988 hardcode_libdir_separator_F77
=:
13989 hardcode_direct_F77
=yes
13991 # hardcode_minus_L: Not really in the search PATH,
13992 # but as the default location of the library.
13993 hardcode_minus_L_F77
=yes
13994 export_dynamic_flag_spec_F77
='${wl}-E'
13998 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
13999 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14001 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14003 if test "$with_gnu_ld" = no
; then
14004 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14005 hardcode_libdir_separator_F77
=:
14007 hardcode_direct_F77
=yes
14008 export_dynamic_flag_spec_F77
='${wl}-E'
14010 # hardcode_minus_L: Not really in the search PATH,
14011 # but as the default location of the library.
14012 hardcode_minus_L_F77
=yes
14017 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14020 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14023 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14026 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14032 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14035 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14038 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14042 if test "$with_gnu_ld" = no
; then
14043 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14044 hardcode_libdir_separator_F77
=:
14048 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
14049 hardcode_direct_F77
=no
14050 hardcode_shlibpath_var_F77
=no
14053 hardcode_direct_F77
=yes
14054 export_dynamic_flag_spec_F77
='${wl}-E'
14056 # hardcode_minus_L: Not really in the search PATH,
14057 # but as the default location of the library.
14058 hardcode_minus_L_F77
=yes
14064 irix5
* | irix6
* | nonstopux
*)
14065 if test "$GCC" = yes; then
14066 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'
14068 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'
14069 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
14071 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14072 hardcode_libdir_separator_F77
=:
14073 link_all_deplibs_F77
=yes
14077 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14078 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14080 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14082 hardcode_libdir_flag_spec_F77
='-R$libdir'
14083 hardcode_direct_F77
=yes
14084 hardcode_shlibpath_var_F77
=no
14088 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14089 hardcode_direct_F77
=yes
14090 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14091 hardcode_libdir_separator_F77
=:
14092 hardcode_shlibpath_var_F77
=no
14096 hardcode_direct_F77
=yes
14097 hardcode_shlibpath_var_F77
=no
14098 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14099 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14100 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14101 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14102 export_dynamic_flag_spec_F77
='${wl}-E'
14105 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
14106 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14107 hardcode_libdir_flag_spec_F77
='-R$libdir'
14110 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14111 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14118 hardcode_libdir_flag_spec_F77
='-L$libdir'
14119 hardcode_minus_L_F77
=yes
14120 allow_undefined_flag_F77
=unsupported
14121 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'
14122 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14126 if test "$GCC" = yes; then
14127 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14128 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'
14130 allow_undefined_flag_F77
=' -expect_unresolved \*'
14131 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'
14133 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14134 hardcode_libdir_separator_F77
=:
14137 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
14138 if test "$GCC" = yes; then
14139 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14140 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'
14141 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14143 allow_undefined_flag_F77
=' -expect_unresolved \*'
14144 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'
14145 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~
14146 $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'
14148 # Both c and cxx compiler support -rpath directly
14149 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
14151 hardcode_libdir_separator_F77
=:
14155 no_undefined_flag_F77
=' -z text'
14156 if test "$GCC" = yes; then
14158 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14159 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14160 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
14163 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14164 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14165 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14167 hardcode_libdir_flag_spec_F77
='-R$libdir'
14168 hardcode_shlibpath_var_F77
=no
14170 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14172 # The compiler driver will combine linker options so we
14173 # cannot just pass the convience library names through
14174 # without $wl, iff we do not link with $LD.
14175 # Luckily, gcc supports the same syntax we need for Sun Studio.
14176 # Supported since Solaris 2.6 (maybe 2.5.1?)
14179 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract' ;;
14181 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' ;;
14184 link_all_deplibs_F77
=yes
14188 if test "x$host_vendor" = xsequent
; then
14189 # Use $CC to link under sequent, because it throws in some extra .o
14190 # files that make .init and .fini sections work.
14191 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14193 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14195 hardcode_libdir_flag_spec_F77
='-L$libdir'
14196 hardcode_direct_F77
=yes
14197 hardcode_minus_L_F77
=yes
14198 hardcode_shlibpath_var_F77
=no
14202 case $host_vendor in
14204 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14205 hardcode_direct_F77
=yes # is this really true???
14208 ## LD is ld it makes a PLAMLIB
14209 ## CC just makes a GrossModule.
14210 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14211 reload_cmds_F77
='$CC -r -o $output$reload_objs'
14212 hardcode_direct_F77
=no
14215 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14216 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
14219 runpath_var
='LD_RUN_PATH'
14220 hardcode_shlibpath_var_F77
=no
14224 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14225 hardcode_shlibpath_var_F77
=no
14226 export_dynamic_flag_spec_F77
='-Bexport'
14230 if test -d /usr
/nec
; then
14231 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14232 hardcode_shlibpath_var_F77
=no
14233 runpath_var
=LD_RUN_PATH
14234 hardcode_runpath_var
=yes
14239 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
14240 no_undefined_flag_F77
='${wl}-z,text'
14241 archive_cmds_need_lc_F77
=no
14242 hardcode_shlibpath_var_F77
=no
14243 runpath_var
='LD_RUN_PATH'
14245 if test "$GCC" = yes; then
14246 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14247 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14249 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14250 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14254 sysv5
* | sco3.2v5
* | sco5v6
*)
14255 # Note: We can NOT use -z defs as we might desire, because we do not
14256 # link with -lc, and that would cause any symbols used from libc to
14257 # always be unresolved, which means just about no library would
14258 # ever link correctly. If we're not using GNU ld we use -z text
14259 # though, which does catch some bad symbols but isn't as heavy-handed
14261 no_undefined_flag_F77
='${wl}-z,text'
14262 allow_undefined_flag_F77
='${wl}-z,nodefs'
14263 archive_cmds_need_lc_F77
=no
14264 hardcode_shlibpath_var_F77
=no
14265 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
14266 hardcode_libdir_separator_F77
=':'
14267 link_all_deplibs_F77
=yes
14268 export_dynamic_flag_spec_F77
='${wl}-Bexport'
14269 runpath_var
='LD_RUN_PATH'
14271 if test "$GCC" = yes; then
14272 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14273 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14275 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14276 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14281 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14282 hardcode_libdir_flag_spec_F77
='-L$libdir'
14283 hardcode_shlibpath_var_F77
=no
14292 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
14293 echo "${ECHO_T}$ld_shlibs_F77" >&6
14294 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
14297 # Do we need to explicitly link libc?
14299 case "x$archive_cmds_need_lc_F77" in
14301 # Assume -lc should be added
14302 archive_cmds_need_lc_F77
=yes
14304 if test "$enable_shared" = yes && test "$GCC" = yes; then
14305 case $archive_cmds_F77 in
14307 # FIXME: we may have to deal with multi-command sequences.
14310 # Test whether the compiler implicitly links with -lc since on some
14311 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14312 # to ld, don't add -lc before -lgcc.
14313 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14314 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
14316 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14319 (eval $ac_compile) 2>&5
14321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14322 (exit $ac_status); } 2>conftest.err
; then
14325 libobjs
=conftest.
$ac_objext
14327 wl
=$lt_prog_compiler_wl_F77
14328 pic_flag
=$lt_prog_compiler_pic_F77
14334 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
14335 allow_undefined_flag_F77
=
14336 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
14337 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14340 (exit $ac_status); }
14342 archive_cmds_need_lc_F77
=no
14344 archive_cmds_need_lc_F77
=yes
14346 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
14348 cat conftest.err
1>&5
14351 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
14352 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
14359 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14360 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14361 library_names_spec
=
14362 libname_spec
='lib$name'
14366 postuninstall_cmds
=
14370 shlibpath_overrides_runpath
=unknown
14372 dynamic_linker
="$host_os ld.so"
14373 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14374 if test "$GCC" = yes; then
14375 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14376 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
14377 # if the path contains ";" then we assume it to be the separator
14378 # otherwise default to the standard path separator (i.e. ":") - it is
14379 # assumed that no part of a normal pathname contains ";" but that should
14380 # okay in the real world where ";" in dirpaths is itself problematic.
14381 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14383 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14386 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
14388 need_lib_prefix
=unknown
14389 hardcode_into_libs
=no
14391 # when you set need_version to no, make sure it does not cause -set_version
14392 # flags to be left without arguments
14393 need_version
=unknown
14398 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14399 shlibpath_var
=LIBPATH
14401 # AIX 3 has no versioning support, so we append a major version to the name.
14402 soname_spec
='${libname}${release}${shared_ext}$major'
14409 hardcode_into_libs
=yes
14410 if test "$host_cpu" = ia64
; then
14411 # AIX 5 supports IA64
14412 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14413 shlibpath_var
=LD_LIBRARY_PATH
14415 # With GCC up to 2.95.x, collect2 would create an import file
14416 # for dependence libraries. The import file would start with
14417 # the line `#! .'. This would cause the generated library to
14418 # depend on `.', always an invalid library. This was fixed in
14419 # development snapshots of GCC prior to 3.0.
14421 aix4 | aix4.
[01] | aix4.
[01].
*)
14422 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14424 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
14427 can_build_shared
=no
14431 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14432 # soname into executable. Probably we can add versioning support to
14433 # collect2, so additional links can be useful in future.
14434 if test "$aix_use_runtimelinking" = yes; then
14435 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14436 # instead of lib<name>.a to let people know that these are not
14437 # typical AIX shared libraries.
14438 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14440 # We preserve .a as extension for shared libraries through AIX4.2
14441 # and later when we are not doing run time linking.
14442 library_names_spec
='${libname}${release}.a $libname.a'
14443 soname_spec
='${libname}${release}${shared_ext}$major'
14445 shlibpath_var
=LIBPATH
14450 library_names_spec
='$libname.ixlibrary $libname.a'
14451 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14452 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'
14456 library_names_spec
='${libname}${shared_ext}'
14457 dynamic_linker
="$host_os ld.so"
14458 shlibpath_var
=LIBRARY_PATH
14464 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14465 soname_spec
='${libname}${release}${shared_ext}$major'
14466 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14467 shlibpath_var
=LD_LIBRARY_PATH
14468 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14469 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14470 # the default ld.so.conf also contains /usr/contrib/lib and
14471 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14472 # libtool to hard-code these into programs
14475 cygwin
* | mingw
* | pw32
*)
14476 version_type
=windows
14481 case $GCC,$host_os in
14482 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
14483 library_names_spec
='$libname.dll.a'
14484 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14485 postinstall_cmds
='base_file=`basename \${file}`~
14486 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14487 dldir=$destdir/`dirname \$dlpath`~
14488 test -d \$dldir || mkdir -p \$dldir~
14489 $install_prog $dir/$dlname \$dldir/$dlname~
14490 chmod a+x \$dldir/$dlname'
14491 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14492 dlpath=$dir/\$dldll~
14494 shlibpath_overrides_runpath
=yes
14498 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14499 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14500 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
14503 # MinGW DLLs use traditional 'lib' prefix
14504 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14505 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14506 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
14507 # It is most probably a Windows format PATH printed by
14508 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14509 # path with ; separators, and with drive letters. We can handle the
14510 # drive letters (cygwin fileutils understands them), so leave them,
14511 # especially as we might pass files found there to a mingw objdump,
14512 # which wouldn't understand a cygwinified path. Ahh.
14513 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14515 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14519 # pw32 DLLs use 'pw' prefix rather than 'lib'
14520 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14526 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14529 dynamic_linker
='Win32 ld.exe'
14530 # FIXME: first we should search . and the directory the executable is in
14534 darwin
* | rhapsody
*)
14535 dynamic_linker
="$host_os dyld"
14536 version_type
=darwin
14539 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14540 soname_spec
='${libname}${release}${major}$shared_ext'
14541 shlibpath_overrides_runpath
=yes
14542 shlibpath_var
=DYLD_LIBRARY_PATH
14543 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14544 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14545 if test "$GCC" = yes; then
14546 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"`
14548 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
14550 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14557 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14558 soname_spec
='${libname}${release}${shared_ext}$major'
14559 shlibpath_var
=LD_LIBRARY_PATH
14570 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14571 soname_spec
='${libname}${release}${shared_ext}$major'
14572 shlibpath_var
=LD_LIBRARY_PATH
14573 shlibpath_overrides_runpath
=no
14574 hardcode_into_libs
=yes
14575 dynamic_linker
='GNU ld.so'
14578 freebsd
* | dragonfly
*)
14579 # DragonFly does not have aout. When/if they implement a new
14580 # versioning mechanism, adjust this.
14581 if test -x /usr
/bin
/objformat
; then
14582 objformat
=`/usr/bin/objformat`
14585 freebsd
[123]*) objformat
=aout
;;
14586 *) objformat
=elf
;;
14589 version_type
=freebsd-
$objformat
14590 case $version_type in
14592 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14597 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14601 shlibpath_var
=LD_LIBRARY_PATH
14604 shlibpath_overrides_runpath
=yes
14606 freebsd3.
[01]* | freebsdelf3.
[01]*)
14607 shlibpath_overrides_runpath
=yes
14608 hardcode_into_libs
=yes
14610 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14611 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14612 shlibpath_overrides_runpath
=no
14613 hardcode_into_libs
=yes
14615 freebsd
*) # from 4.6 on
14616 shlibpath_overrides_runpath
=yes
14617 hardcode_into_libs
=yes
14626 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14627 soname_spec
='${libname}${release}${shared_ext}$major'
14628 shlibpath_var
=LD_LIBRARY_PATH
14629 hardcode_into_libs
=yes
14632 hpux9
* | hpux10
* | hpux11
*)
14633 # Give a soname corresponding to the major version so that dld.sl refuses to
14634 # link against other versions.
14641 hardcode_into_libs
=yes
14642 dynamic_linker
="$host_os dld.so"
14643 shlibpath_var
=LD_LIBRARY_PATH
14644 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14645 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14646 soname_spec
='${libname}${release}${shared_ext}$major'
14647 if test "X$HPUX_IA64_MODE" = X32
; then
14648 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14650 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14652 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14656 hardcode_into_libs
=yes
14657 dynamic_linker
="$host_os dld.sl"
14658 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14659 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14660 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14661 soname_spec
='${libname}${release}${shared_ext}$major'
14662 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14663 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14667 dynamic_linker
="$host_os dld.sl"
14668 shlibpath_var
=SHLIB_PATH
14669 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14670 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14671 soname_spec
='${libname}${release}${shared_ext}$major'
14674 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14675 postinstall_cmds
='chmod 555 $lib'
14682 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14683 soname_spec
='${libname}${release}${shared_ext}$major'
14684 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14685 shlibpath_var
=LD_LIBRARY_PATH
14686 shlibpath_overrides_runpath
=no
14687 hardcode_into_libs
=yes
14690 irix5
* | irix6
* | nonstopux
*)
14692 nonstopux
*) version_type
=nonstopux
;;
14694 if test "$lt_cv_prog_gnu_ld" = yes; then
14702 soname_spec
='${libname}${release}${shared_ext}$major'
14703 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14705 irix5
* | nonstopux
*)
14706 libsuff
= shlibsuff
=
14709 case $LD in # libtool.m4 will add one of these switches to LD
14710 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14711 libsuff
= shlibsuff
= libmagic
=32-bit;;
14712 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14713 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14714 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14715 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14716 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14720 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14721 shlibpath_overrides_runpath
=no
14722 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14723 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14724 hardcode_into_libs
=yes
14727 # No shared lib support for Linux oldld, aout, or coff.
14728 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14732 # This must be Linux ELF.
14737 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14738 soname_spec
='${libname}${release}${shared_ext}$major'
14739 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14740 shlibpath_var
=LD_LIBRARY_PATH
14741 shlibpath_overrides_runpath
=no
14742 # This implies no fast_install, which is unacceptable.
14743 # Some rework will be needed to allow for fast_install
14744 # before this can be enabled.
14745 hardcode_into_libs
=yes
14747 # Append ld.so.conf contents to the search path
14748 if test -f /etc
/ld.so.conf
; then
14749 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
14750 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
14753 # We used to test for /lib/ld.so.1 and disable shared libraries on
14754 # powerpc, because MkLinux only supported shared libraries with the
14755 # GNU dynamic linker. Since this was broken with cross compilers,
14756 # most powerpc-linux boxes support dynamic linking these days and
14757 # people can always --disable-shared, the test was removed, and we
14758 # assume the GNU/Linux dynamic linker is in use.
14759 dynamic_linker
='GNU/Linux ld.so'
14766 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14767 soname_spec
='${libname}${release}${shared_ext}$major'
14768 shlibpath_var
=LD_LIBRARY_PATH
14769 shlibpath_overrides_runpath
=no
14770 hardcode_into_libs
=yes
14771 dynamic_linker
='GNU ld.so'
14778 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14779 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14780 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14781 dynamic_linker
='NetBSD (a.out) ld.so'
14783 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14784 soname_spec
='${libname}${release}${shared_ext}$major'
14785 dynamic_linker
='NetBSD ld.elf_so'
14787 shlibpath_var
=LD_LIBRARY_PATH
14788 shlibpath_overrides_runpath
=yes
14789 hardcode_into_libs
=yes
14794 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14795 shlibpath_var
=LD_LIBRARY_PATH
14796 shlibpath_overrides_runpath
=yes
14803 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14804 soname_spec
='${libname}${release}${shared_ext}$major'
14805 shlibpath_var
=LD_LIBRARY_PATH
14806 shlibpath_overrides_runpath
=yes
14811 sys_lib_dlsearch_path_spec
="/usr/lib"
14813 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14815 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
14816 *) need_version
=no
;;
14818 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14819 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14820 shlibpath_var
=LD_LIBRARY_PATH
14821 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14823 openbsd2.
[89] | openbsd2.
[89].
*)
14824 shlibpath_overrides_runpath
=no
14827 shlibpath_overrides_runpath
=yes
14831 shlibpath_overrides_runpath
=yes
14836 libname_spec
='$name'
14839 library_names_spec
='$libname${shared_ext} $libname.a'
14840 dynamic_linker
='OS/2 ld.exe'
14841 shlibpath_var
=LIBPATH
14844 osf3
* | osf4
* | osf5
*)
14848 soname_spec
='${libname}${release}${shared_ext}$major'
14849 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14850 shlibpath_var
=LD_LIBRARY_PATH
14851 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14852 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
14859 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14860 soname_spec
='${libname}${release}${shared_ext}$major'
14861 shlibpath_var
=LD_LIBRARY_PATH
14862 shlibpath_overrides_runpath
=yes
14863 hardcode_into_libs
=yes
14864 # ldd complains unless libraries are executable
14865 postinstall_cmds
='chmod +x $lib'
14870 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14871 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14872 shlibpath_var
=LD_LIBRARY_PATH
14873 shlibpath_overrides_runpath
=yes
14874 if test "$with_gnu_ld" = yes; then
14882 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14883 soname_spec
='${libname}${release}${shared_ext}$major'
14884 shlibpath_var
=LD_LIBRARY_PATH
14885 case $host_vendor in
14887 shlibpath_overrides_runpath
=no
14889 export_dynamic_flag_spec
='${wl}-Blargedynsym'
14890 runpath_var
=LD_RUN_PATH
14898 shlibpath_overrides_runpath
=no
14899 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14905 if test -d /usr
/nec
;then
14907 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14908 soname_spec
='$libname${shared_ext}.$major'
14909 shlibpath_var
=LD_LIBRARY_PATH
14913 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14914 version_type
=freebsd-elf
14917 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14918 soname_spec
='${libname}${release}${shared_ext}$major'
14919 shlibpath_var
=LD_LIBRARY_PATH
14920 hardcode_into_libs
=yes
14921 if test "$with_gnu_ld" = yes; then
14922 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14923 shlibpath_overrides_runpath
=no
14925 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14926 shlibpath_overrides_runpath
=yes
14929 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14933 sys_lib_dlsearch_path_spec
='/usr/lib'
14938 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14939 soname_spec
='${libname}${release}${shared_ext}$major'
14940 shlibpath_var
=LD_LIBRARY_PATH
14947 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14948 echo "${ECHO_T}$dynamic_linker" >&6
14949 test "$dynamic_linker" = no
&& can_build_shared
=no
14951 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14952 if test "$GCC" = yes; then
14953 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14956 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14957 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
14958 hardcode_action_F77
=
14959 if test -n "$hardcode_libdir_flag_spec_F77" || \
14960 test -n "$runpath_var_F77" || \
14961 test "X$hardcode_automatic_F77" = "Xyes" ; then
14963 # We can hardcode non-existant directories.
14964 if test "$hardcode_direct_F77" != no
&&
14965 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14966 # have to relink, otherwise we might link with an installed library
14967 # when we should be linking with a yet-to-be-installed one
14968 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
14969 test "$hardcode_minus_L_F77" != no
; then
14970 # Linking always hardcodes the temporary library directory.
14971 hardcode_action_F77
=relink
14973 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14974 hardcode_action_F77
=immediate
14977 # We cannot hardcode anything, or else we can only hardcode existing
14979 hardcode_action_F77
=unsupported
14981 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
14982 echo "${ECHO_T}$hardcode_action_F77" >&6
14984 if test "$hardcode_action_F77" = relink
; then
14985 # Fast installation is not supported
14986 enable_fast_install
=no
14987 elif test "$shlibpath_overrides_runpath" = yes ||
14988 test "$enable_shared" = no
; then
14989 # Fast installation is not necessary
14990 enable_fast_install
=needless
14994 # The else clause should only fire when bootstrapping the
14995 # libtool distribution, otherwise you forgot to ship ltmain.sh
14996 # with your package, and you will get complaints that there are
14997 # no rules to generate ltmain.sh.
14998 if test -f "$ltmain"; then
14999 # See if we are running on zsh, and set the options which allow our commands through
15000 # without removal of \ escapes.
15001 if test -n "${ZSH_VERSION+set}" ; then
15002 setopt NO_GLOB_SUBST
15004 # Now quote all the things that may contain metacharacters while being
15005 # careful not to overquote the AC_SUBSTed values. We take copies of the
15006 # variables and quote the copies for generation of the libtool script.
15007 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
15009 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15010 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15011 deplibs_check_method reload_flag reload_cmds need_locks \
15012 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15013 lt_cv_sys_global_symbol_to_c_name_address \
15014 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15015 old_postinstall_cmds old_postuninstall_cmds \
15019 lt_prog_compiler_wl_F77 \
15020 lt_prog_compiler_pic_F77 \
15021 lt_prog_compiler_static_F77 \
15022 lt_prog_compiler_no_builtin_flag_F77 \
15023 export_dynamic_flag_spec_F77 \
15024 thread_safe_flag_spec_F77 \
15025 whole_archive_flag_spec_F77 \
15026 enable_shared_with_static_runtimes_F77 \
15027 old_archive_cmds_F77 \
15028 old_archive_from_new_cmds_F77 \
15029 predep_objects_F77 \
15030 postdep_objects_F77 \
15033 compiler_lib_search_path_F77 \
15035 archive_expsym_cmds_F77 \
15036 postinstall_cmds_F77 \
15037 postuninstall_cmds_F77 \
15038 old_archive_from_expsyms_cmds_F77 \
15039 allow_undefined_flag_F77 \
15040 no_undefined_flag_F77 \
15041 export_symbols_cmds_F77 \
15042 hardcode_libdir_flag_spec_F77 \
15043 hardcode_libdir_flag_spec_ld_F77 \
15044 hardcode_libdir_separator_F77 \
15045 hardcode_automatic_F77 \
15047 module_expsym_cmds_F77 \
15048 lt_cv_prog_compiler_c_o_F77 \
15049 exclude_expsyms_F77 \
15050 include_expsyms_F77
; do
15053 old_archive_cmds_F77 | \
15054 old_archive_from_new_cmds_F77 | \
15055 archive_cmds_F77 | \
15056 archive_expsym_cmds_F77 | \
15057 module_cmds_F77 | \
15058 module_expsym_cmds_F77 | \
15059 old_archive_from_expsyms_cmds_F77 | \
15060 export_symbols_cmds_F77 | \
15061 extract_expsyms_cmds | reload_cmds | finish_cmds | \
15062 postinstall_cmds | postuninstall_cmds | \
15063 old_postinstall_cmds | old_postuninstall_cmds | \
15064 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
15065 # Double-quote double-evaled strings.
15066 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15069 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15075 *'\$0 --fallback-echo"')
15076 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15082 cat <<__EOF__ >> "$cfgfile"
15083 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
15085 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15087 # Shell to use when invoking shell scripts.
15090 # Whether or not to build shared libraries.
15091 build_libtool_libs=$enable_shared
15093 # Whether or not to build static libraries.
15094 build_old_libs=$enable_static
15096 # Whether or not to add -lc for building shared libraries.
15097 build_libtool_need_lc=$archive_cmds_need_lc_F77
15099 # Whether or not to disallow shared libs when runtime libs are static
15100 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
15102 # Whether or not to optimize for fast installation.
15103 fast_install=$enable_fast_install
15106 host_alias=$host_alias
15110 # The build system.
15111 build_alias=$build_alias
15115 # An echo program that does not interpret backslashes.
15120 AR_FLAGS=$lt_AR_FLAGS
15125 # LTCC compiler flags.
15126 LTCFLAGS=$lt_LTCFLAGS
15128 # A language-specific compiler.
15129 CC=$lt_compiler_F77
15131 # Is the compiler the GNU C compiler?
15137 # The linker used to build libraries.
15140 # Whether we need hard or soft links.
15143 # A BSD-compatible nm program.
15146 # A symbol stripping program
15149 # Used to examine libraries when file_magic_cmd begins "file"
15150 MAGIC_CMD=$MAGIC_CMD
15152 # Used on cygwin: DLL creation program.
15155 # Used on cygwin: object dumper.
15158 # Used on cygwin: assembler.
15161 # The name of the directory that contains temporary libtool files.
15164 # How to create reloadable object files.
15165 reload_flag=$lt_reload_flag
15166 reload_cmds=$lt_reload_cmds
15168 # How to pass a linker flag through the compiler.
15169 wl=$lt_lt_prog_compiler_wl_F77
15171 # Object file suffix (normally "o").
15172 objext="$ac_objext"
15174 # Old archive suffix (normally "a").
15177 # Shared library suffix (normally ".so").
15178 shrext_cmds='$shrext_cmds'
15180 # Executable file suffix (normally "").
15183 # Additional compiler flags for building library objects.
15184 pic_flag=$lt_lt_prog_compiler_pic_F77
15187 # What is the maximum length of a command?
15188 max_cmd_len=$lt_cv_sys_max_cmd_len
15190 # Does compiler simultaneously support -c and -o options?
15191 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
15193 # Must we lock files when doing compilation?
15194 need_locks=$lt_need_locks
15196 # Do we need the lib prefix for modules?
15197 need_lib_prefix=$need_lib_prefix
15199 # Do we need a version for libraries?
15200 need_version=$need_version
15202 # Whether dlopen is supported.
15203 dlopen_support=$enable_dlopen
15205 # Whether dlopen of programs is supported.
15206 dlopen_self=$enable_dlopen_self
15208 # Whether dlopen of statically linked programs is supported.
15209 dlopen_self_static=$enable_dlopen_self_static
15211 # Compiler flag to prevent dynamic linking.
15212 link_static_flag=$lt_lt_prog_compiler_static_F77
15214 # Compiler flag to turn off builtin functions.
15215 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
15217 # Compiler flag to allow reflexive dlopens.
15218 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
15220 # Compiler flag to generate shared objects directly from archives.
15221 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
15223 # Compiler flag to generate thread-safe objects.
15224 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
15226 # Library versioning type.
15227 version_type=$version_type
15229 # Format of library name prefix.
15230 libname_spec=$lt_libname_spec
15232 # List of archive names. First name is the real one, the rest are links.
15233 # The last name is the one that the linker finds with -lNAME.
15234 library_names_spec=$lt_library_names_spec
15236 # The coded name of the library, if different from the real name.
15237 soname_spec=$lt_soname_spec
15239 # Commands used to build and install an old-style archive.
15241 old_archive_cmds=$lt_old_archive_cmds_F77
15242 old_postinstall_cmds=$lt_old_postinstall_cmds
15243 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15245 # Create an old-style archive from a shared archive.
15246 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
15248 # Create a temporary old-style archive to link instead of a shared archive.
15249 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
15251 # Commands used to build and install a shared archive.
15252 archive_cmds=$lt_archive_cmds_F77
15253 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
15254 postinstall_cmds=$lt_postinstall_cmds
15255 postuninstall_cmds=$lt_postuninstall_cmds
15257 # Commands used to build a loadable module (assumed same as above if empty)
15258 module_cmds=$lt_module_cmds_F77
15259 module_expsym_cmds=$lt_module_expsym_cmds_F77
15261 # Commands to strip libraries.
15262 old_striplib=$lt_old_striplib
15263 striplib=$lt_striplib
15265 # Dependencies to place before the objects being linked to create a
15267 predep_objects=$lt_predep_objects_F77
15269 # Dependencies to place after the objects being linked to create a
15271 postdep_objects=$lt_postdep_objects_F77
15273 # Dependencies to place before the objects being linked to create a
15275 predeps=$lt_predeps_F77
15277 # Dependencies to place after the objects being linked to create a
15279 postdeps=$lt_postdeps_F77
15281 # The library search path used internally by the compiler when linking
15282 # a shared library.
15283 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
15285 # Method to check whether dependent libraries are shared objects.
15286 deplibs_check_method=$lt_deplibs_check_method
15288 # Command to use when deplibs_check_method == file_magic.
15289 file_magic_cmd=$lt_file_magic_cmd
15291 # Flag that allows shared libraries with undefined symbols to be built.
15292 allow_undefined_flag=$lt_allow_undefined_flag_F77
15294 # Flag that forces no undefined symbols.
15295 no_undefined_flag=$lt_no_undefined_flag_F77
15297 # Commands used to finish a libtool library installation in a directory.
15298 finish_cmds=$lt_finish_cmds
15300 # Same as above, but a single script fragment to be evaled but not shown.
15301 finish_eval=$lt_finish_eval
15303 # Take the output of nm and produce a listing of raw symbols and C names.
15304 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15306 # Transform the output of nm in a proper C declaration
15307 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15309 # Transform the output of nm in a C name address pair
15310 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15312 # This is the shared library runtime path variable.
15313 runpath_var=$runpath_var
15315 # This is the shared library path variable.
15316 shlibpath_var=$shlibpath_var
15318 # Is shlibpath searched before the hard-coded library search path?
15319 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15321 # How to hardcode a shared library path into an executable.
15322 hardcode_action=$hardcode_action_F77
15324 # Whether we should hardcode library paths into libraries.
15325 hardcode_into_libs=$hardcode_into_libs
15327 # Flag to hardcode \$libdir into a binary during linking.
15328 # This must work even if \$libdir does not exist.
15329 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
15331 # If ld is used when linking, flag to hardcode \$libdir into
15332 # a binary during linking. This must work even if \$libdir does
15334 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
15336 # Whether we need a single -rpath flag with a separated argument.
15337 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
15339 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
15340 # resulting binary.
15341 hardcode_direct=$hardcode_direct_F77
15343 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
15344 # resulting binary.
15345 hardcode_minus_L=$hardcode_minus_L_F77
15347 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
15348 # the resulting binary.
15349 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
15351 # Set to yes if building a shared library automatically hardcodes DIR into the library
15352 # and all subsequent libraries and executables linked against it.
15353 hardcode_automatic=$hardcode_automatic_F77
15355 # Variables whose values should be saved in libtool wrapper scripts and
15356 # restored at relink time.
15357 variables_saved_for_relink="$variables_saved_for_relink"
15359 # Whether libtool must link a program against all its dependency libraries.
15360 link_all_deplibs=$link_all_deplibs_F77
15362 # Compile-time system search path for libraries
15363 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15365 # Run-time system search path for libraries
15366 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15368 # Fix the shell variable \$srcfile for the compiler.
15369 fix_srcfile_path="$fix_srcfile_path_F77"
15371 # Set to yes if exported symbols are required.
15372 always_export_symbols=$always_export_symbols_F77
15374 # The commands to list exported symbols.
15375 export_symbols_cmds=$lt_export_symbols_cmds_F77
15377 # The commands to extract the exported symbol list from a shared archive.
15378 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15380 # Symbols that should not be listed in the preloaded symbols.
15381 exclude_expsyms=$lt_exclude_expsyms_F77
15383 # Symbols that must always be exported.
15384 include_expsyms=$lt_include_expsyms_F77
15386 # ### END LIBTOOL TAG CONFIG: $tagname
15392 # If there is no Makefile yet, we rely on a make rule to execute
15393 # `config.status --recheck' to rerun these tests and create the
15394 # libtool script then.
15395 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
15396 if test -f "$ltmain_in"; then
15397 test -f Makefile
&& make "$ltmain"
15403 ac_cpp
='$CPP $CPPFLAGS'
15404 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15405 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15406 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15416 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
15420 # Source file extension for Java test sources.
15423 # Object file extension for compiled Java test sources.
15427 # Code to be used in simple compile tests
15428 lt_simple_compile_test_code
="class foo {}\n"
15430 # Code to be used in simple link tests
15431 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }\n'
15433 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15435 # If no C compiler was specified, use CC.
15438 # If no C compiler flags were specified, use CFLAGS.
15439 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
15441 # Allow CC to be a program name with arguments.
15445 # save warnings/boilerplate of simple test code
15446 ac_outfile
=conftest.
$ac_objext
15447 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
15448 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
15449 _lt_compiler_boilerplate
=`cat conftest.err`
15452 ac_outfile
=conftest.
$ac_objext
15453 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
15454 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
15455 _lt_linker_boilerplate
=`cat conftest.err`
15459 # Allow CC to be a program name with arguments.
15464 for cc_temp
in $compiler""; do
15466 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
15467 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
15472 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15475 # GCJ did not exist at the time GCC didn't implicitly link libc in.
15476 archive_cmds_need_lc_GCJ
=no
15478 old_archive_cmds_GCJ
=$old_archive_cmds
15481 ## There is no encapsulation within the following macros, do not change
15482 ## the running order or otherwise move them around unless you know exactly
15483 ## what you are doing...
15485 lt_prog_compiler_no_builtin_flag_GCJ
=
15487 if test "$GCC" = yes; then
15488 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
15491 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15492 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
15493 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15494 echo $ECHO_N "(cached) $ECHO_C" >&6
15496 lt_cv_prog_compiler_rtti_exceptions
=no
15497 ac_outfile
=conftest.
$ac_objext
15498 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15499 lt_compiler_flag
="-fno-rtti -fno-exceptions"
15500 # Insert the option either (1) after the last *FLAGS variable, or
15501 # (2) before a word containing "conftest.", or (3) at the end.
15502 # Note that $ac_compile itself does not contain backslashes and begins
15503 # with a dollar sign (not a hyphen), so the echo should work correctly.
15504 # The option is referenced via a variable to avoid confusing sed.
15505 lt_compile
=`echo "$ac_compile" | $SED \
15506 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15507 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15508 -e 's:$: $lt_compiler_flag:'`
15509 (eval echo "\"\$as_me:15509: $lt_compile\"" >&5)
15510 (eval "$lt_compile" 2>conftest.err
)
15512 cat conftest.err
>&5
15513 echo "$as_me:15513: \$? = $ac_status" >&5
15514 if (exit $ac_status) && test -s "$ac_outfile"; then
15515 # The compiler can only warn and ignore the option if not recognized
15516 # So say no if there are warnings other than the usual output.
15517 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
15518 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15519 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
15520 lt_cv_prog_compiler_rtti_exceptions
=yes
15526 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15527 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
15529 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
15530 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15537 lt_prog_compiler_wl_GCJ
=
15538 lt_prog_compiler_pic_GCJ
=
15539 lt_prog_compiler_static_GCJ
=
15541 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15542 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15544 if test "$GCC" = yes; then
15545 lt_prog_compiler_wl_GCJ
='-Wl,'
15546 lt_prog_compiler_static_GCJ
='-static'
15550 # All AIX code is PIC.
15551 if test "$host_cpu" = ia64
; then
15552 # AIX 5 now supports IA64 processor
15553 lt_prog_compiler_static_GCJ
='-Bstatic'
15558 # FIXME: we need at least 68020 code to build shared libraries, but
15559 # adding the `-m68020' flag to GCC prevents building anything better,
15561 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
15564 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
15565 # PIC is the default for these OSes.
15568 mingw
* | pw32
* | os2
*)
15569 # This hack is so that the source file can tell whether it is being
15570 # built for inclusion in a dll (and should export symbols for example).
15571 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
15574 darwin
* | rhapsody
*)
15575 # PIC is the default on this platform
15576 # Common symbols not allowed in MH_DYLIB files
15577 lt_prog_compiler_pic_GCJ
='-fno-common'
15581 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15582 # Instead, we relocate shared libraries at runtime.
15586 # Just because we use GCC doesn't mean we suddenly get shared libraries
15587 # on systems that don't support them.
15588 lt_prog_compiler_can_build_shared_GCJ
=no
15593 if test -d /usr
/nec
; then
15594 lt_prog_compiler_pic_GCJ
=-Kconform_pic
15599 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15600 # not for PA HP-UX.
15606 lt_prog_compiler_pic_GCJ
='-fPIC'
15612 lt_prog_compiler_pic_GCJ
='-fPIC'
15616 # PORTME Check for flag to pass linker flags through the system compiler.
15619 lt_prog_compiler_wl_GCJ
='-Wl,'
15620 if test "$host_cpu" = ia64
; then
15621 # AIX 5 now supports IA64 processor
15622 lt_prog_compiler_static_GCJ
='-Bstatic'
15624 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
15628 # PIC is the default on this platform
15629 # Common symbols not allowed in MH_DYLIB files
15630 case $cc_basename in
15632 lt_prog_compiler_pic_GCJ
='-qnocommon'
15633 lt_prog_compiler_wl_GCJ
='-Wl,'
15638 mingw
* | pw32
* | os2
*)
15639 # This hack is so that the source file can tell whether it is being
15640 # built for inclusion in a dll (and should export symbols for example).
15641 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
15644 hpux9
* | hpux10
* | hpux11
*)
15645 lt_prog_compiler_wl_GCJ
='-Wl,'
15646 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15647 # not for PA HP-UX.
15653 lt_prog_compiler_pic_GCJ
='+Z'
15656 # Is there a better lt_prog_compiler_static that works with the bundled CC?
15657 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
15660 irix5
* | irix6
* | nonstopux
*)
15661 lt_prog_compiler_wl_GCJ
='-Wl,'
15662 # PIC (with -KPIC) is the default.
15663 lt_prog_compiler_static_GCJ
='-non_shared'
15667 lt_prog_compiler_pic_GCJ
='-KPIC'
15668 lt_prog_compiler_static_GCJ
='-Bstatic'
15672 case $cc_basename in
15674 lt_prog_compiler_wl_GCJ
='-Wl,'
15675 lt_prog_compiler_pic_GCJ
='-KPIC'
15676 lt_prog_compiler_static_GCJ
='-static'
15678 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
15679 # Portland Group compilers (*not* the Pentium gcc compiler,
15680 # which looks to be a dead project)
15681 lt_prog_compiler_wl_GCJ
='-Wl,'
15682 lt_prog_compiler_pic_GCJ
='-fpic'
15683 lt_prog_compiler_static_GCJ
='-Bstatic'
15686 lt_prog_compiler_wl_GCJ
='-Wl,'
15687 # All Alpha code is PIC.
15688 lt_prog_compiler_static_GCJ
='-non_shared'
15693 osf3
* | osf4
* | osf5
*)
15694 lt_prog_compiler_wl_GCJ
='-Wl,'
15695 # All OSF/1 code is PIC.
15696 lt_prog_compiler_static_GCJ
='-non_shared'
15700 lt_prog_compiler_pic_GCJ
='-KPIC'
15701 lt_prog_compiler_static_GCJ
='-Bstatic'
15702 case $cc_basename in
15703 f77
* | f90
* | f95
*)
15704 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
15706 lt_prog_compiler_wl_GCJ
='-Wl,';;
15711 lt_prog_compiler_wl_GCJ
='-Qoption ld '
15712 lt_prog_compiler_pic_GCJ
='-PIC'
15713 lt_prog_compiler_static_GCJ
='-Bstatic'
15716 sysv4 | sysv4.2uw2
* | sysv4.3
*)
15717 lt_prog_compiler_wl_GCJ
='-Wl,'
15718 lt_prog_compiler_pic_GCJ
='-KPIC'
15719 lt_prog_compiler_static_GCJ
='-Bstatic'
15723 if test -d /usr
/nec
;then
15724 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
15725 lt_prog_compiler_static_GCJ
='-Bstatic'
15729 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
15730 lt_prog_compiler_wl_GCJ
='-Wl,'
15731 lt_prog_compiler_pic_GCJ
='-KPIC'
15732 lt_prog_compiler_static_GCJ
='-Bstatic'
15736 lt_prog_compiler_wl_GCJ
='-Wl,'
15737 lt_prog_compiler_can_build_shared_GCJ
=no
15741 lt_prog_compiler_pic_GCJ
='-pic'
15742 lt_prog_compiler_static_GCJ
='-Bstatic'
15746 lt_prog_compiler_can_build_shared_GCJ
=no
15751 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
15752 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
15755 # Check to make sure the PIC flag actually works.
15757 if test -n "$lt_prog_compiler_pic_GCJ"; then
15759 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
15760 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
15761 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
15762 echo $ECHO_N "(cached) $ECHO_C" >&6
15764 lt_prog_compiler_pic_works_GCJ
=no
15765 ac_outfile
=conftest.
$ac_objext
15766 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15767 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
15768 # Insert the option either (1) after the last *FLAGS variable, or
15769 # (2) before a word containing "conftest.", or (3) at the end.
15770 # Note that $ac_compile itself does not contain backslashes and begins
15771 # with a dollar sign (not a hyphen), so the echo should work correctly.
15772 # The option is referenced via a variable to avoid confusing sed.
15773 lt_compile
=`echo "$ac_compile" | $SED \
15774 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15775 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15776 -e 's:$: $lt_compiler_flag:'`
15777 (eval echo "\"\$as_me:15777: $lt_compile\"" >&5)
15778 (eval "$lt_compile" 2>conftest.err
)
15780 cat conftest.err
>&5
15781 echo "$as_me:15781: \$? = $ac_status" >&5
15782 if (exit $ac_status) && test -s "$ac_outfile"; then
15783 # The compiler can only warn and ignore the option if not recognized
15784 # So say no if there are warnings other than the usual output.
15785 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
15786 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15787 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
15788 lt_prog_compiler_pic_works_GCJ
=yes
15794 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
15795 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
15797 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
15798 case $lt_prog_compiler_pic_GCJ in
15800 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
15803 lt_prog_compiler_pic_GCJ
=
15804 lt_prog_compiler_can_build_shared_GCJ
=no
15809 # For platforms which do not support PIC, -DPIC is meaningless:
15811 lt_prog_compiler_pic_GCJ
=
15814 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
15819 # Check to make sure the static flag actually works.
15821 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
15822 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15823 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
15824 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
15825 echo $ECHO_N "(cached) $ECHO_C" >&6
15827 lt_prog_compiler_static_works_GCJ
=no
15828 save_LDFLAGS
="$LDFLAGS"
15829 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
15830 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
15831 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
15832 # The linker can only warn and ignore the option if not recognized
15833 # So say no if there are warnings
15834 if test -s conftest.err
; then
15835 # Append any errors to the config.log.
15836 cat conftest.err
1>&5
15837 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
15838 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15839 if diff conftest.exp conftest.er2
>/dev
/null
; then
15840 lt_prog_compiler_static_works_GCJ
=yes
15843 lt_prog_compiler_static_works_GCJ
=yes
15847 LDFLAGS
="$save_LDFLAGS"
15850 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
15851 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6
15853 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
15856 lt_prog_compiler_static_GCJ
=
15860 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15861 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
15862 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
15863 echo $ECHO_N "(cached) $ECHO_C" >&6
15865 lt_cv_prog_compiler_c_o_GCJ
=no
15866 $rm -r conftest
2>/dev
/null
15870 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15872 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15873 # Insert the option either (1) after the last *FLAGS variable, or
15874 # (2) before a word containing "conftest.", or (3) at the end.
15875 # Note that $ac_compile itself does not contain backslashes and begins
15876 # with a dollar sign (not a hyphen), so the echo should work correctly.
15877 lt_compile
=`echo "$ac_compile" | $SED \
15878 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15879 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15880 -e 's:$: $lt_compiler_flag:'`
15881 (eval echo "\"\$as_me:15881: $lt_compile\"" >&5)
15882 (eval "$lt_compile" 2>out
/conftest.err
)
15884 cat out
/conftest.err
>&5
15885 echo "$as_me:15885: \$? = $ac_status" >&5
15886 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15888 # The compiler can only warn and ignore the option if not recognized
15889 # So say no if there are warnings
15890 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
15891 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15892 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15893 lt_cv_prog_compiler_c_o_GCJ
=yes
15898 # SGI C++ compiler will create directory out/ii_files/ for
15899 # template instantiation
15900 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
15901 $rm out
/* && rmdir out
15907 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
15908 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
15911 hard_links
="nottested"
15912 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
15913 # do not overwrite the value of need_locks provided by the user
15914 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15915 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
15918 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15920 ln conftest.a conftest.b
2>&5 || hard_links
=no
15921 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15922 echo "$as_me:$LINENO: result: $hard_links" >&5
15923 echo "${ECHO_T}$hard_links" >&6
15924 if test "$hard_links" = no
; then
15925 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15926 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15933 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15934 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
15937 allow_undefined_flag_GCJ
=
15938 enable_shared_with_static_runtimes_GCJ
=no
15940 archive_expsym_cmds_GCJ
=
15941 old_archive_From_new_cmds_GCJ
=
15942 old_archive_from_expsyms_cmds_GCJ
=
15943 export_dynamic_flag_spec_GCJ
=
15944 whole_archive_flag_spec_GCJ
=
15945 thread_safe_flag_spec_GCJ
=
15946 hardcode_libdir_flag_spec_GCJ
=
15947 hardcode_libdir_flag_spec_ld_GCJ
=
15948 hardcode_libdir_separator_GCJ
=
15949 hardcode_direct_GCJ
=no
15950 hardcode_minus_L_GCJ
=no
15951 hardcode_shlibpath_var_GCJ
=unsupported
15952 link_all_deplibs_GCJ
=unknown
15953 hardcode_automatic_GCJ
=no
15955 module_expsym_cmds_GCJ
=
15956 always_export_symbols_GCJ
=no
15957 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15958 # include_expsyms should be a list of space-separated symbols to be *always*
15959 # included in the symbol list
15960 include_expsyms_GCJ
=
15961 # exclude_expsyms can be an extended regexp of symbols to exclude
15962 # it will be wrapped by ` (' and `)$', so one must not match beginning or
15963 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15964 # as well as any symbol that contains `d'.
15965 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
15966 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15967 # platforms (ab)use it in PIC code, but their linkers get confused if
15968 # the symbol is explicitly referenced. Since portable code cannot
15969 # rely on this symbol name, it's probably fine to never include it in
15970 # preloaded symbol tables.
15971 extract_expsyms_cmds
=
15972 # Just being paranoid about ensuring that cc_basename is set.
15973 for cc_temp
in $compiler""; do
15975 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
15976 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
15981 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15984 cygwin
* | mingw
* | pw32
*)
15985 # FIXME: the MSVC++ port hasn't been tested in a loooong time
15986 # When not using gcc, we currently assume that we are using
15987 # Microsoft Visual C++.
15988 if test "$GCC" != yes; then
15993 # we just hope/assume this is gcc and not c89 (= MSVC++)
16002 if test "$with_gnu_ld" = yes; then
16003 # If archive_cmds runs LD, not CC, wlarc should be empty
16006 # Set some defaults for GNU ld with shared library support. These
16007 # are reset later if shared libraries are not supported. Putting them
16008 # here allows them to be overridden if necessary.
16009 runpath_var
=LD_RUN_PATH
16010 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
16011 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
16012 # ancient GNU ld didn't support --whole-archive et. al.
16013 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
16014 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16016 whole_archive_flag_spec_GCJ
=
16018 supports_anon_versioning
=no
16019 case `$LD -v 2>/dev/null` in
16020 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
16021 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
16022 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
16023 *\
2.11.
*) ;; # other 2.11 versions
16024 *) supports_anon_versioning
=yes ;;
16027 # See if GNU ld supports shared libraries.
16029 aix3
* | aix4
* | aix5
*)
16030 # On AIX/PPC, the GNU linker is very broken
16031 if test "$host_cpu" != ia64
; then
16035 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
16036 *** to be unable to reliably create shared libraries on AIX.
16037 *** Therefore, libtool is disabling shared libraries support. If you
16038 *** really care for shared libraries, you may want to modify your PATH
16039 *** so that a non-GNU linker is found, and then restart.
16046 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)'
16047 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16048 hardcode_minus_L_GCJ
=yes
16050 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16051 # that the semantics of dynamic libraries on AmigaOS, at least up
16052 # to version 4, is to share data among multiple programs linked
16053 # with the same dynamic library. Since this doesn't match the
16054 # behavior of shared libraries on other platforms, we can't use
16060 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16061 allow_undefined_flag_GCJ
=unsupported
16062 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16063 # support --undefined. This deserves some investigation. FIXME
16064 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16070 cygwin
* | mingw
* | pw32
*)
16071 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
16072 # as there is no search path for DLLs.
16073 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16074 allow_undefined_flag_GCJ
=unsupported
16075 always_export_symbols_GCJ
=no
16076 enable_shared_with_static_runtimes_GCJ
=yes
16077 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
16079 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
16080 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16081 # If the export-symbols file already is a .def file (1st line
16082 # is EXPORTS), use it as is; otherwise, prepend...
16083 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16084 cp $export_symbols $output_objdir/$soname.def;
16086 echo EXPORTS > $output_objdir/$soname.def;
16087 cat $export_symbols >> $output_objdir/$soname.def;
16089 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16096 hardcode_direct_GCJ
=no
16097 hardcode_shlibpath_var_GCJ
=no
16098 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16099 export_dynamic_flag_spec_GCJ
='${wl}-E'
16100 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
16101 # Instead, shared libraries are loaded at an image base (0x10000000 by
16102 # default) and relocated if they conflict, which is a slow very memory
16103 # consuming and fragmenting process. To avoid this, we pick a random,
16104 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
16105 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
16106 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'
16107 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'
16111 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16113 case $cc_basename,$host_cpu in
16114 pgcc
*) # Portland Group C compiler
16115 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'
16116 tmp_addflag
=' $pic_flag'
16118 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
16119 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'
16120 tmp_addflag
=' $pic_flag -Mnomain' ;;
16121 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
16122 tmp_addflag
=' -i_dynamic' ;;
16123 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
16124 tmp_addflag
=' -i_dynamic -nofor_main' ;;
16125 ifc
* | ifort
*) # Intel Fortran compiler
16126 tmp_addflag
=' -nofor_main' ;;
16128 archive_cmds_GCJ
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16130 if test $supports_anon_versioning = yes; then
16131 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
16132 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16133 $echo "local: *; };" >> $output_objdir/$libname.ver~
16134 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16142 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16143 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16146 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16147 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16152 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
16156 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
16157 *** create shared libraries on Solaris systems. Therefore, libtool
16158 *** is disabling shared libraries support. We urge you to upgrade GNU
16159 *** binutils to release 2.9.1 or newer. Another option is to modify
16160 *** your PATH or compiler configuration so that the native linker is
16161 *** used, and then restart.
16164 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16165 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16166 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16172 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
16173 case `$LD -v 2>&1` in
16174 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
16178 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
16179 *** reliably create shared libraries on SCO systems. Therefore, libtool
16180 *** is disabling shared libraries support. We urge you to upgrade GNU
16181 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
16182 *** your PATH or compiler configuration so that the native linker is
16183 *** used, and then restart.
16188 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16189 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
16190 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
16191 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
16200 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16202 hardcode_direct_GCJ
=yes
16203 hardcode_shlibpath_var_GCJ
=no
16207 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16208 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16209 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16216 if test "$ld_shlibs_GCJ" = no
; then
16218 hardcode_libdir_flag_spec_GCJ
=
16219 export_dynamic_flag_spec_GCJ
=
16220 whole_archive_flag_spec_GCJ
=
16223 # PORTME fill in a description of your system's linker (not GNU ld)
16226 allow_undefined_flag_GCJ
=unsupported
16227 always_export_symbols_GCJ
=yes
16228 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'
16229 # Note: this linker hardcodes the directories in LIBPATH if there
16230 # are no directories specified by -L.
16231 hardcode_minus_L_GCJ
=yes
16232 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
16233 # Neither direct hardcoding nor static linking is supported with a
16235 hardcode_direct_GCJ
=unsupported
16240 if test "$host_cpu" = ia64
; then
16241 # On IA64, the linker does run time linking by default, so we don't
16242 # have to do anything special.
16243 aix_use_runtimelinking
=no
16244 exp_sym_flag
='-Bexport'
16247 # If we're using GNU nm, then we don't want the "-C" option.
16248 # -C means demangle to AIX nm, but means don't demangle with GNU nm
16249 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
16250 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'
16252 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'
16254 aix_use_runtimelinking
=no
16256 # Test if we are trying to use run time linking or normal
16257 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16258 # need to do runtime linking.
16259 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
16260 for ld_flag
in $LDFLAGS; do
16261 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
16262 aix_use_runtimelinking
=yes
16269 exp_sym_flag
='-bexport'
16270 no_entry_flag
='-bnoentry'
16273 # When large executables or shared objects are built, AIX ld can
16274 # have problems creating the table of contents. If linking a library
16275 # or program results in "error TOC overflow" add -mminimal-toc to
16276 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
16277 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16279 archive_cmds_GCJ
=''
16280 hardcode_direct_GCJ
=yes
16281 hardcode_libdir_separator_GCJ
=':'
16282 link_all_deplibs_GCJ
=yes
16284 if test "$GCC" = yes; then
16285 case $host_os in aix4.
[012]|aix4.
[012].
*)
16286 # We only want to do this on AIX 4.2 and lower, the check
16287 # below for broken collect2 doesn't work under 4.3+
16288 collect2name
=`${CC} -print-prog-name=collect2`
16289 if test -f "$collect2name" && \
16290 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
16292 # We have reworked collect2
16293 hardcode_direct_GCJ
=yes
16295 # We have old collect2
16296 hardcode_direct_GCJ
=unsupported
16297 # It fails to find uninstalled libraries when the uninstalled
16298 # path is not listed in the libpath. Setting hardcode_minus_L
16299 # to unsupported forces relinking
16300 hardcode_minus_L_GCJ
=yes
16301 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16302 hardcode_libdir_separator_GCJ
=
16306 shared_flag
='-shared'
16307 if test "$aix_use_runtimelinking" = yes; then
16308 shared_flag
="$shared_flag "'${wl}-G'
16312 if test "$host_cpu" = ia64
; then
16313 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16314 # chokes on -Wl,-G. The following line is correct:
16317 if test "$aix_use_runtimelinking" = yes; then
16318 shared_flag
='${wl}-G'
16320 shared_flag
='${wl}-bM:SRE'
16325 # It seems that -bexpall does not export symbols beginning with
16326 # underscore (_), so it is better to generate a list of symbols to export.
16327 always_export_symbols_GCJ
=yes
16328 if test "$aix_use_runtimelinking" = yes; then
16329 # Warning - without using the other runtime loading flags (-brtl),
16330 # -berok will link without error, but may produce a broken library.
16331 allow_undefined_flag_GCJ
='-berok'
16332 # Determine the default libpath from the value encoded in an empty executable.
16333 cat >conftest.
$ac_ext <<_ACEOF
16336 cat confdefs.h
>>conftest.
$ac_ext
16337 cat >>conftest.
$ac_ext <<_ACEOF
16338 /* end confdefs.h. */
16348 rm -f conftest.
$ac_objext conftest
$ac_exeext
16349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16350 (eval $ac_link) 2>conftest.er1
16352 grep -v '^ *+' conftest.er1
>conftest.err
16354 cat conftest.err
>&5
16355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16356 (exit $ac_status); } &&
16357 { ac_try
='test -z "$ac_c_werror_flag"
16358 || test ! -s conftest.err'
16359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16360 (eval $ac_try) 2>&5
16362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16363 (exit $ac_status); }; } &&
16364 { ac_try
='test -s conftest$ac_exeext'
16365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16366 (eval $ac_try) 2>&5
16368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16369 (exit $ac_status); }; }; then
16371 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16373 # Check for a 64-bit object if we didn't find anything.
16374 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; }
16377 echo "$as_me: failed program was:" >&5
16378 sed 's/^/| /' conftest.
$ac_ext >&5
16381 rm -f conftest.err conftest.
$ac_objext \
16382 conftest
$ac_exeext conftest.
$ac_ext
16383 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
16385 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
16386 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"
16388 if test "$host_cpu" = ia64
; then
16389 hardcode_libdir_flag_spec_GCJ
='${wl}-R $libdir:/usr/lib:/lib'
16390 allow_undefined_flag_GCJ
="-z nodefs"
16391 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"
16393 # Determine the default libpath from the value encoded in an empty executable.
16394 cat >conftest.
$ac_ext <<_ACEOF
16397 cat confdefs.h
>>conftest.
$ac_ext
16398 cat >>conftest.
$ac_ext <<_ACEOF
16399 /* end confdefs.h. */
16409 rm -f conftest.
$ac_objext conftest
$ac_exeext
16410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16411 (eval $ac_link) 2>conftest.er1
16413 grep -v '^ *+' conftest.er1
>conftest.err
16415 cat conftest.err
>&5
16416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16417 (exit $ac_status); } &&
16418 { ac_try
='test -z "$ac_c_werror_flag"
16419 || test ! -s conftest.err'
16420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16421 (eval $ac_try) 2>&5
16423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16424 (exit $ac_status); }; } &&
16425 { ac_try
='test -s conftest$ac_exeext'
16426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16427 (eval $ac_try) 2>&5
16429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16430 (exit $ac_status); }; }; then
16432 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16434 # Check for a 64-bit object if we didn't find anything.
16435 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; }
16438 echo "$as_me: failed program was:" >&5
16439 sed 's/^/| /' conftest.
$ac_ext >&5
16442 rm -f conftest.err conftest.
$ac_objext \
16443 conftest
$ac_exeext conftest.
$ac_ext
16444 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
16446 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
16447 # Warning - without using the other run time loading flags,
16448 # -berok will link without error, but may produce a broken library.
16449 no_undefined_flag_GCJ
=' ${wl}-bernotok'
16450 allow_undefined_flag_GCJ
=' ${wl}-berok'
16451 # Exported symbols can be pulled into shared objects from archives
16452 whole_archive_flag_spec_GCJ
='$convenience'
16453 archive_cmds_need_lc_GCJ
=yes
16454 # This is similar to how AIX traditionally builds its shared libraries.
16455 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'
16461 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)'
16462 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16463 hardcode_minus_L_GCJ
=yes
16464 # see comment about different semantics on the GNU ld section
16469 export_dynamic_flag_spec_GCJ
=-rdynamic
16472 cygwin
* | mingw
* | pw32
*)
16473 # When not using gcc, we currently assume that we are using
16474 # Microsoft Visual C++.
16475 # hardcode_libdir_flag_spec is actually meaningless, as there is
16476 # no search path for DLLs.
16477 hardcode_libdir_flag_spec_GCJ
=' '
16478 allow_undefined_flag_GCJ
=unsupported
16479 # Tell ltmain to make .lib files, not .a files.
16481 # Tell ltmain to make .dll files, not .so files.
16483 # FIXME: Setting linknames here is a bad hack.
16484 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
16485 # The linker will automatically build a .lib file if we build a DLL.
16486 old_archive_From_new_cmds_GCJ
='true'
16487 # FIXME: Should let the user specify the lib program.
16488 old_archive_cmds_GCJ
='lib /OUT:$oldlib$oldobjs$old_deplibs'
16489 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
16490 enable_shared_with_static_runtimes_GCJ
=yes
16493 darwin
* | rhapsody
*)
16495 rhapsody
* | darwin1.
[012])
16496 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
16499 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
16500 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16502 case ${MACOSX_DEPLOYMENT_TARGET} in
16504 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16507 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
16513 archive_cmds_need_lc_GCJ
=no
16514 hardcode_direct_GCJ
=no
16515 hardcode_automatic_GCJ
=yes
16516 hardcode_shlibpath_var_GCJ
=unsupported
16517 whole_archive_flag_spec_GCJ
=''
16518 link_all_deplibs_GCJ
=yes
16519 if test "$GCC" = yes ; then
16520 output_verbose_link_cmd
='echo'
16521 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16522 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16523 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16524 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}'
16525 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}'
16527 case $cc_basename in
16529 output_verbose_link_cmd
='echo'
16530 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
16531 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16532 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16533 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}'
16534 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}'
16544 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16545 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16546 hardcode_shlibpath_var_GCJ
=no
16553 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
16554 # support. Future versions do this automatically, but an explicit c++rt0.o
16555 # does not break anything, and helps significantly (at the cost of a little
16558 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
16559 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16560 hardcode_direct_GCJ
=yes
16561 hardcode_shlibpath_var_GCJ
=no
16564 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
16566 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16567 hardcode_direct_GCJ
=yes
16568 hardcode_minus_L_GCJ
=yes
16569 hardcode_shlibpath_var_GCJ
=no
16572 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16573 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
16574 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16575 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16576 hardcode_direct_GCJ
=yes
16577 hardcode_shlibpath_var_GCJ
=no
16581 if test "$GCC" = yes; then
16582 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'
16584 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'
16586 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16587 hardcode_libdir_separator_GCJ
=:
16588 hardcode_direct_GCJ
=yes
16590 # hardcode_minus_L: Not really in the search PATH,
16591 # but as the default location of the library.
16592 hardcode_minus_L_GCJ
=yes
16593 export_dynamic_flag_spec_GCJ
='${wl}-E'
16597 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
16598 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16600 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
16602 if test "$with_gnu_ld" = no
; then
16603 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16604 hardcode_libdir_separator_GCJ
=:
16606 hardcode_direct_GCJ
=yes
16607 export_dynamic_flag_spec_GCJ
='${wl}-E'
16609 # hardcode_minus_L: Not really in the search PATH,
16610 # but as the default location of the library.
16611 hardcode_minus_L_GCJ
=yes
16616 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
16619 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16622 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16625 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16631 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16634 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16637 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16641 if test "$with_gnu_ld" = no
; then
16642 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16643 hardcode_libdir_separator_GCJ
=:
16647 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
16648 hardcode_direct_GCJ
=no
16649 hardcode_shlibpath_var_GCJ
=no
16652 hardcode_direct_GCJ
=yes
16653 export_dynamic_flag_spec_GCJ
='${wl}-E'
16655 # hardcode_minus_L: Not really in the search PATH,
16656 # but as the default location of the library.
16657 hardcode_minus_L_GCJ
=yes
16663 irix5
* | irix6
* | nonstopux
*)
16664 if test "$GCC" = yes; then
16665 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'
16667 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'
16668 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
16670 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16671 hardcode_libdir_separator_GCJ
=:
16672 link_all_deplibs_GCJ
=yes
16676 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16677 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
16679 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
16681 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16682 hardcode_direct_GCJ
=yes
16683 hardcode_shlibpath_var_GCJ
=no
16687 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16688 hardcode_direct_GCJ
=yes
16689 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16690 hardcode_libdir_separator_GCJ
=:
16691 hardcode_shlibpath_var_GCJ
=no
16695 hardcode_direct_GCJ
=yes
16696 hardcode_shlibpath_var_GCJ
=no
16697 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16698 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16699 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
16700 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16701 export_dynamic_flag_spec_GCJ
='${wl}-E'
16704 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
16705 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16706 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16709 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16710 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16717 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16718 hardcode_minus_L_GCJ
=yes
16719 allow_undefined_flag_GCJ
=unsupported
16720 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'
16721 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16725 if test "$GCC" = yes; then
16726 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
16727 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'
16729 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
16730 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'
16732 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16733 hardcode_libdir_separator_GCJ
=:
16736 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
16737 if test "$GCC" = yes; then
16738 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
16739 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'
16740 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16742 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
16743 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'
16744 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~
16745 $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'
16747 # Both c and cxx compiler support -rpath directly
16748 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
16750 hardcode_libdir_separator_GCJ
=:
16754 no_undefined_flag_GCJ
=' -z text'
16755 if test "$GCC" = yes; then
16757 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16758 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16759 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16762 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16763 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16764 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16766 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16767 hardcode_shlibpath_var_GCJ
=no
16769 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
16771 # The compiler driver will combine linker options so we
16772 # cannot just pass the convience library names through
16773 # without $wl, iff we do not link with $LD.
16774 # Luckily, gcc supports the same syntax we need for Sun Studio.
16775 # Supported since Solaris 2.6 (maybe 2.5.1?)
16778 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract' ;;
16780 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' ;;
16783 link_all_deplibs_GCJ
=yes
16787 if test "x$host_vendor" = xsequent
; then
16788 # Use $CC to link under sequent, because it throws in some extra .o
16789 # files that make .init and .fini sections work.
16790 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16792 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16794 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16795 hardcode_direct_GCJ
=yes
16796 hardcode_minus_L_GCJ
=yes
16797 hardcode_shlibpath_var_GCJ
=no
16801 case $host_vendor in
16803 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16804 hardcode_direct_GCJ
=yes # is this really true???
16807 ## LD is ld it makes a PLAMLIB
16808 ## CC just makes a GrossModule.
16809 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16810 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
16811 hardcode_direct_GCJ
=no
16814 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16815 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
16818 runpath_var
='LD_RUN_PATH'
16819 hardcode_shlibpath_var_GCJ
=no
16823 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16824 hardcode_shlibpath_var_GCJ
=no
16825 export_dynamic_flag_spec_GCJ
='-Bexport'
16829 if test -d /usr
/nec
; then
16830 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16831 hardcode_shlibpath_var_GCJ
=no
16832 runpath_var
=LD_RUN_PATH
16833 hardcode_runpath_var
=yes
16838 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
16839 no_undefined_flag_GCJ
='${wl}-z,text'
16840 archive_cmds_need_lc_GCJ
=no
16841 hardcode_shlibpath_var_GCJ
=no
16842 runpath_var
='LD_RUN_PATH'
16844 if test "$GCC" = yes; then
16845 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16846 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16848 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16849 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16853 sysv5
* | sco3.2v5
* | sco5v6
*)
16854 # Note: We can NOT use -z defs as we might desire, because we do not
16855 # link with -lc, and that would cause any symbols used from libc to
16856 # always be unresolved, which means just about no library would
16857 # ever link correctly. If we're not using GNU ld we use -z text
16858 # though, which does catch some bad symbols but isn't as heavy-handed
16860 no_undefined_flag_GCJ
='${wl}-z,text'
16861 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
16862 archive_cmds_need_lc_GCJ
=no
16863 hardcode_shlibpath_var_GCJ
=no
16864 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
16865 hardcode_libdir_separator_GCJ
=':'
16866 link_all_deplibs_GCJ
=yes
16867 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
16868 runpath_var
='LD_RUN_PATH'
16870 if test "$GCC" = yes; then
16871 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16872 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16874 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16875 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16880 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16881 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16882 hardcode_shlibpath_var_GCJ
=no
16891 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
16892 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
16893 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
16896 # Do we need to explicitly link libc?
16898 case "x$archive_cmds_need_lc_GCJ" in
16900 # Assume -lc should be added
16901 archive_cmds_need_lc_GCJ
=yes
16903 if test "$enable_shared" = yes && test "$GCC" = yes; then
16904 case $archive_cmds_GCJ in
16906 # FIXME: we may have to deal with multi-command sequences.
16909 # Test whether the compiler implicitly links with -lc since on some
16910 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16911 # to ld, don't add -lc before -lgcc.
16912 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16913 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
16915 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16918 (eval $ac_compile) 2>&5
16920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16921 (exit $ac_status); } 2>conftest.err
; then
16924 libobjs
=conftest.
$ac_objext
16926 wl
=$lt_prog_compiler_wl_GCJ
16927 pic_flag
=$lt_prog_compiler_pic_GCJ
16933 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
16934 allow_undefined_flag_GCJ
=
16935 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16936 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
16938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16939 (exit $ac_status); }
16941 archive_cmds_need_lc_GCJ
=no
16943 archive_cmds_need_lc_GCJ
=yes
16945 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
16947 cat conftest.err
1>&5
16950 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
16951 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
16958 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16959 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
16960 library_names_spec
=
16961 libname_spec
='lib$name'
16965 postuninstall_cmds
=
16969 shlibpath_overrides_runpath
=unknown
16971 dynamic_linker
="$host_os ld.so"
16972 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
16973 if test "$GCC" = yes; then
16974 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16975 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
16976 # if the path contains ";" then we assume it to be the separator
16977 # otherwise default to the standard path separator (i.e. ":") - it is
16978 # assumed that no part of a normal pathname contains ";" but that should
16979 # okay in the real world where ";" in dirpaths is itself problematic.
16980 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16982 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16985 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
16987 need_lib_prefix
=unknown
16988 hardcode_into_libs
=no
16990 # when you set need_version to no, make sure it does not cause -set_version
16991 # flags to be left without arguments
16992 need_version
=unknown
16997 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
16998 shlibpath_var
=LIBPATH
17000 # AIX 3 has no versioning support, so we append a major version to the name.
17001 soname_spec
='${libname}${release}${shared_ext}$major'
17008 hardcode_into_libs
=yes
17009 if test "$host_cpu" = ia64
; then
17010 # AIX 5 supports IA64
17011 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17012 shlibpath_var
=LD_LIBRARY_PATH
17014 # With GCC up to 2.95.x, collect2 would create an import file
17015 # for dependence libraries. The import file would start with
17016 # the line `#! .'. This would cause the generated library to
17017 # depend on `.', always an invalid library. This was fixed in
17018 # development snapshots of GCC prior to 3.0.
17020 aix4 | aix4.
[01] | aix4.
[01].
*)
17021 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17023 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
17026 can_build_shared
=no
17030 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17031 # soname into executable. Probably we can add versioning support to
17032 # collect2, so additional links can be useful in future.
17033 if test "$aix_use_runtimelinking" = yes; then
17034 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17035 # instead of lib<name>.a to let people know that these are not
17036 # typical AIX shared libraries.
17037 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17039 # We preserve .a as extension for shared libraries through AIX4.2
17040 # and later when we are not doing run time linking.
17041 library_names_spec
='${libname}${release}.a $libname.a'
17042 soname_spec
='${libname}${release}${shared_ext}$major'
17044 shlibpath_var
=LIBPATH
17049 library_names_spec
='$libname.ixlibrary $libname.a'
17050 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17051 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'
17055 library_names_spec
='${libname}${shared_ext}'
17056 dynamic_linker
="$host_os ld.so"
17057 shlibpath_var
=LIBRARY_PATH
17063 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17064 soname_spec
='${libname}${release}${shared_ext}$major'
17065 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
17066 shlibpath_var
=LD_LIBRARY_PATH
17067 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17068 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
17069 # the default ld.so.conf also contains /usr/contrib/lib and
17070 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17071 # libtool to hard-code these into programs
17074 cygwin
* | mingw
* | pw32
*)
17075 version_type
=windows
17080 case $GCC,$host_os in
17081 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
17082 library_names_spec
='$libname.dll.a'
17083 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17084 postinstall_cmds
='base_file=`basename \${file}`~
17085 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17086 dldir=$destdir/`dirname \$dlpath`~
17087 test -d \$dldir || mkdir -p \$dldir~
17088 $install_prog $dir/$dlname \$dldir/$dlname~
17089 chmod a+x \$dldir/$dlname'
17090 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17091 dlpath=$dir/\$dldll~
17093 shlibpath_overrides_runpath
=yes
17097 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17098 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17099 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
17102 # MinGW DLLs use traditional 'lib' prefix
17103 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17104 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17105 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
17106 # It is most probably a Windows format PATH printed by
17107 # mingw gcc, but we are running on Cygwin. Gcc prints its search
17108 # path with ; separators, and with drive letters. We can handle the
17109 # drive letters (cygwin fileutils understands them), so leave them,
17110 # especially as we might pass files found there to a mingw objdump,
17111 # which wouldn't understand a cygwinified path. Ahh.
17112 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17114 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17118 # pw32 DLLs use 'pw' prefix rather than 'lib'
17119 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17125 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17128 dynamic_linker
='Win32 ld.exe'
17129 # FIXME: first we should search . and the directory the executable is in
17133 darwin
* | rhapsody
*)
17134 dynamic_linker
="$host_os dyld"
17135 version_type
=darwin
17138 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17139 soname_spec
='${libname}${release}${major}$shared_ext'
17140 shlibpath_overrides_runpath
=yes
17141 shlibpath_var
=DYLD_LIBRARY_PATH
17142 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
17143 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
17144 if test "$GCC" = yes; then
17145 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"`
17147 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
17149 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
17156 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17157 soname_spec
='${libname}${release}${shared_ext}$major'
17158 shlibpath_var
=LD_LIBRARY_PATH
17169 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17170 soname_spec
='${libname}${release}${shared_ext}$major'
17171 shlibpath_var
=LD_LIBRARY_PATH
17172 shlibpath_overrides_runpath
=no
17173 hardcode_into_libs
=yes
17174 dynamic_linker
='GNU ld.so'
17177 freebsd
* | dragonfly
*)
17178 # DragonFly does not have aout. When/if they implement a new
17179 # versioning mechanism, adjust this.
17180 if test -x /usr
/bin
/objformat
; then
17181 objformat
=`/usr/bin/objformat`
17184 freebsd
[123]*) objformat
=aout
;;
17185 *) objformat
=elf
;;
17188 version_type
=freebsd-
$objformat
17189 case $version_type in
17191 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17196 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17200 shlibpath_var
=LD_LIBRARY_PATH
17203 shlibpath_overrides_runpath
=yes
17205 freebsd3.
[01]* | freebsdelf3.
[01]*)
17206 shlibpath_overrides_runpath
=yes
17207 hardcode_into_libs
=yes
17209 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
17210 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
17211 shlibpath_overrides_runpath
=no
17212 hardcode_into_libs
=yes
17214 freebsd
*) # from 4.6 on
17215 shlibpath_overrides_runpath
=yes
17216 hardcode_into_libs
=yes
17225 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17226 soname_spec
='${libname}${release}${shared_ext}$major'
17227 shlibpath_var
=LD_LIBRARY_PATH
17228 hardcode_into_libs
=yes
17231 hpux9
* | hpux10
* | hpux11
*)
17232 # Give a soname corresponding to the major version so that dld.sl refuses to
17233 # link against other versions.
17240 hardcode_into_libs
=yes
17241 dynamic_linker
="$host_os dld.so"
17242 shlibpath_var
=LD_LIBRARY_PATH
17243 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17244 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17245 soname_spec
='${libname}${release}${shared_ext}$major'
17246 if test "X$HPUX_IA64_MODE" = X32
; then
17247 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17249 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
17251 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17255 hardcode_into_libs
=yes
17256 dynamic_linker
="$host_os dld.sl"
17257 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
17258 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17259 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17260 soname_spec
='${libname}${release}${shared_ext}$major'
17261 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17262 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17266 dynamic_linker
="$host_os dld.sl"
17267 shlibpath_var
=SHLIB_PATH
17268 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
17269 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17270 soname_spec
='${libname}${release}${shared_ext}$major'
17273 # HP-UX runs *really* slowly unless shared libraries are mode 555.
17274 postinstall_cmds
='chmod 555 $lib'
17281 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17282 soname_spec
='${libname}${release}${shared_ext}$major'
17283 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
17284 shlibpath_var
=LD_LIBRARY_PATH
17285 shlibpath_overrides_runpath
=no
17286 hardcode_into_libs
=yes
17289 irix5
* | irix6
* | nonstopux
*)
17291 nonstopux
*) version_type
=nonstopux
;;
17293 if test "$lt_cv_prog_gnu_ld" = yes; then
17301 soname_spec
='${libname}${release}${shared_ext}$major'
17302 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17304 irix5
* | nonstopux
*)
17305 libsuff
= shlibsuff
=
17308 case $LD in # libtool.m4 will add one of these switches to LD
17309 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
17310 libsuff
= shlibsuff
= libmagic
=32-bit;;
17311 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
17312 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
17313 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
17314 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
17315 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
17319 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
17320 shlibpath_overrides_runpath
=no
17321 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17322 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
17323 hardcode_into_libs
=yes
17326 # No shared lib support for Linux oldld, aout, or coff.
17327 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
17331 # This must be Linux ELF.
17336 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17337 soname_spec
='${libname}${release}${shared_ext}$major'
17338 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17339 shlibpath_var
=LD_LIBRARY_PATH
17340 shlibpath_overrides_runpath
=no
17341 # This implies no fast_install, which is unacceptable.
17342 # Some rework will be needed to allow for fast_install
17343 # before this can be enabled.
17344 hardcode_into_libs
=yes
17346 # Append ld.so.conf contents to the search path
17347 if test -f /etc
/ld.so.conf
; then
17348 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
17349 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
17352 # We used to test for /lib/ld.so.1 and disable shared libraries on
17353 # powerpc, because MkLinux only supported shared libraries with the
17354 # GNU dynamic linker. Since this was broken with cross compilers,
17355 # most powerpc-linux boxes support dynamic linking these days and
17356 # people can always --disable-shared, the test was removed, and we
17357 # assume the GNU/Linux dynamic linker is in use.
17358 dynamic_linker
='GNU/Linux ld.so'
17365 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17366 soname_spec
='${libname}${release}${shared_ext}$major'
17367 shlibpath_var
=LD_LIBRARY_PATH
17368 shlibpath_overrides_runpath
=no
17369 hardcode_into_libs
=yes
17370 dynamic_linker
='GNU ld.so'
17377 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17378 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17379 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17380 dynamic_linker
='NetBSD (a.out) ld.so'
17382 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17383 soname_spec
='${libname}${release}${shared_ext}$major'
17384 dynamic_linker
='NetBSD ld.elf_so'
17386 shlibpath_var
=LD_LIBRARY_PATH
17387 shlibpath_overrides_runpath
=yes
17388 hardcode_into_libs
=yes
17393 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17394 shlibpath_var
=LD_LIBRARY_PATH
17395 shlibpath_overrides_runpath
=yes
17402 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17403 soname_spec
='${libname}${release}${shared_ext}$major'
17404 shlibpath_var
=LD_LIBRARY_PATH
17405 shlibpath_overrides_runpath
=yes
17410 sys_lib_dlsearch_path_spec
="/usr/lib"
17412 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17414 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
17415 *) need_version
=no
;;
17417 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17418 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17419 shlibpath_var
=LD_LIBRARY_PATH
17420 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17422 openbsd2.
[89] | openbsd2.
[89].
*)
17423 shlibpath_overrides_runpath
=no
17426 shlibpath_overrides_runpath
=yes
17430 shlibpath_overrides_runpath
=yes
17435 libname_spec
='$name'
17438 library_names_spec
='$libname${shared_ext} $libname.a'
17439 dynamic_linker
='OS/2 ld.exe'
17440 shlibpath_var
=LIBPATH
17443 osf3
* | osf4
* | osf5
*)
17447 soname_spec
='${libname}${release}${shared_ext}$major'
17448 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17449 shlibpath_var
=LD_LIBRARY_PATH
17450 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17451 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
17458 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17459 soname_spec
='${libname}${release}${shared_ext}$major'
17460 shlibpath_var
=LD_LIBRARY_PATH
17461 shlibpath_overrides_runpath
=yes
17462 hardcode_into_libs
=yes
17463 # ldd complains unless libraries are executable
17464 postinstall_cmds
='chmod +x $lib'
17469 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17470 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17471 shlibpath_var
=LD_LIBRARY_PATH
17472 shlibpath_overrides_runpath
=yes
17473 if test "$with_gnu_ld" = yes; then
17481 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17482 soname_spec
='${libname}${release}${shared_ext}$major'
17483 shlibpath_var
=LD_LIBRARY_PATH
17484 case $host_vendor in
17486 shlibpath_overrides_runpath
=no
17488 export_dynamic_flag_spec
='${wl}-Blargedynsym'
17489 runpath_var
=LD_RUN_PATH
17497 shlibpath_overrides_runpath
=no
17498 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
17504 if test -d /usr
/nec
;then
17506 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17507 soname_spec
='$libname${shared_ext}.$major'
17508 shlibpath_var
=LD_LIBRARY_PATH
17512 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
17513 version_type
=freebsd-elf
17516 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17517 soname_spec
='${libname}${release}${shared_ext}$major'
17518 shlibpath_var
=LD_LIBRARY_PATH
17519 hardcode_into_libs
=yes
17520 if test "$with_gnu_ld" = yes; then
17521 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17522 shlibpath_overrides_runpath
=no
17524 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
17525 shlibpath_overrides_runpath
=yes
17528 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
17532 sys_lib_dlsearch_path_spec
='/usr/lib'
17537 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17538 soname_spec
='${libname}${release}${shared_ext}$major'
17539 shlibpath_var
=LD_LIBRARY_PATH
17546 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17547 echo "${ECHO_T}$dynamic_linker" >&6
17548 test "$dynamic_linker" = no
&& can_build_shared
=no
17550 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
17551 if test "$GCC" = yes; then
17552 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17555 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17556 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
17557 hardcode_action_GCJ
=
17558 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
17559 test -n "$runpath_var_GCJ" || \
17560 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
17562 # We can hardcode non-existant directories.
17563 if test "$hardcode_direct_GCJ" != no
&&
17564 # If the only mechanism to avoid hardcoding is shlibpath_var, we
17565 # have to relink, otherwise we might link with an installed library
17566 # when we should be linking with a yet-to-be-installed one
17567 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
17568 test "$hardcode_minus_L_GCJ" != no
; then
17569 # Linking always hardcodes the temporary library directory.
17570 hardcode_action_GCJ
=relink
17572 # We can link without hardcoding, and we can hardcode nonexisting dirs.
17573 hardcode_action_GCJ
=immediate
17576 # We cannot hardcode anything, or else we can only hardcode existing
17578 hardcode_action_GCJ
=unsupported
17580 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
17581 echo "${ECHO_T}$hardcode_action_GCJ" >&6
17583 if test "$hardcode_action_GCJ" = relink
; then
17584 # Fast installation is not supported
17585 enable_fast_install
=no
17586 elif test "$shlibpath_overrides_runpath" = yes ||
17587 test "$enable_shared" = no
; then
17588 # Fast installation is not necessary
17589 enable_fast_install
=needless
17593 # The else clause should only fire when bootstrapping the
17594 # libtool distribution, otherwise you forgot to ship ltmain.sh
17595 # with your package, and you will get complaints that there are
17596 # no rules to generate ltmain.sh.
17597 if test -f "$ltmain"; then
17598 # See if we are running on zsh, and set the options which allow our commands through
17599 # without removal of \ escapes.
17600 if test -n "${ZSH_VERSION+set}" ; then
17601 setopt NO_GLOB_SUBST
17603 # Now quote all the things that may contain metacharacters while being
17604 # careful not to overquote the AC_SUBSTed values. We take copies of the
17605 # variables and quote the copies for generation of the libtool script.
17606 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
17608 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17609 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17610 deplibs_check_method reload_flag reload_cmds need_locks \
17611 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17612 lt_cv_sys_global_symbol_to_c_name_address \
17613 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17614 old_postinstall_cmds old_postuninstall_cmds \
17618 lt_prog_compiler_wl_GCJ \
17619 lt_prog_compiler_pic_GCJ \
17620 lt_prog_compiler_static_GCJ \
17621 lt_prog_compiler_no_builtin_flag_GCJ \
17622 export_dynamic_flag_spec_GCJ \
17623 thread_safe_flag_spec_GCJ \
17624 whole_archive_flag_spec_GCJ \
17625 enable_shared_with_static_runtimes_GCJ \
17626 old_archive_cmds_GCJ \
17627 old_archive_from_new_cmds_GCJ \
17628 predep_objects_GCJ \
17629 postdep_objects_GCJ \
17632 compiler_lib_search_path_GCJ \
17634 archive_expsym_cmds_GCJ \
17635 postinstall_cmds_GCJ \
17636 postuninstall_cmds_GCJ \
17637 old_archive_from_expsyms_cmds_GCJ \
17638 allow_undefined_flag_GCJ \
17639 no_undefined_flag_GCJ \
17640 export_symbols_cmds_GCJ \
17641 hardcode_libdir_flag_spec_GCJ \
17642 hardcode_libdir_flag_spec_ld_GCJ \
17643 hardcode_libdir_separator_GCJ \
17644 hardcode_automatic_GCJ \
17646 module_expsym_cmds_GCJ \
17647 lt_cv_prog_compiler_c_o_GCJ \
17648 exclude_expsyms_GCJ \
17649 include_expsyms_GCJ
; do
17652 old_archive_cmds_GCJ | \
17653 old_archive_from_new_cmds_GCJ | \
17654 archive_cmds_GCJ | \
17655 archive_expsym_cmds_GCJ | \
17656 module_cmds_GCJ | \
17657 module_expsym_cmds_GCJ | \
17658 old_archive_from_expsyms_cmds_GCJ | \
17659 export_symbols_cmds_GCJ | \
17660 extract_expsyms_cmds | reload_cmds | finish_cmds | \
17661 postinstall_cmds | postuninstall_cmds | \
17662 old_postinstall_cmds | old_postuninstall_cmds | \
17663 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
17664 # Double-quote double-evaled strings.
17665 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17668 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17674 *'\$0 --fallback-echo"')
17675 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17681 cat <<__EOF__ >> "$cfgfile"
17682 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
17684 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17686 # Shell to use when invoking shell scripts.
17689 # Whether or not to build shared libraries.
17690 build_libtool_libs=$enable_shared
17692 # Whether or not to build static libraries.
17693 build_old_libs=$enable_static
17695 # Whether or not to add -lc for building shared libraries.
17696 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
17698 # Whether or not to disallow shared libs when runtime libs are static
17699 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
17701 # Whether or not to optimize for fast installation.
17702 fast_install=$enable_fast_install
17705 host_alias=$host_alias
17709 # The build system.
17710 build_alias=$build_alias
17714 # An echo program that does not interpret backslashes.
17719 AR_FLAGS=$lt_AR_FLAGS
17724 # LTCC compiler flags.
17725 LTCFLAGS=$lt_LTCFLAGS
17727 # A language-specific compiler.
17728 CC=$lt_compiler_GCJ
17730 # Is the compiler the GNU C compiler?
17736 # The linker used to build libraries.
17739 # Whether we need hard or soft links.
17742 # A BSD-compatible nm program.
17745 # A symbol stripping program
17748 # Used to examine libraries when file_magic_cmd begins "file"
17749 MAGIC_CMD=$MAGIC_CMD
17751 # Used on cygwin: DLL creation program.
17754 # Used on cygwin: object dumper.
17757 # Used on cygwin: assembler.
17760 # The name of the directory that contains temporary libtool files.
17763 # How to create reloadable object files.
17764 reload_flag=$lt_reload_flag
17765 reload_cmds=$lt_reload_cmds
17767 # How to pass a linker flag through the compiler.
17768 wl=$lt_lt_prog_compiler_wl_GCJ
17770 # Object file suffix (normally "o").
17771 objext="$ac_objext"
17773 # Old archive suffix (normally "a").
17776 # Shared library suffix (normally ".so").
17777 shrext_cmds='$shrext_cmds'
17779 # Executable file suffix (normally "").
17782 # Additional compiler flags for building library objects.
17783 pic_flag=$lt_lt_prog_compiler_pic_GCJ
17786 # What is the maximum length of a command?
17787 max_cmd_len=$lt_cv_sys_max_cmd_len
17789 # Does compiler simultaneously support -c and -o options?
17790 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
17792 # Must we lock files when doing compilation?
17793 need_locks=$lt_need_locks
17795 # Do we need the lib prefix for modules?
17796 need_lib_prefix=$need_lib_prefix
17798 # Do we need a version for libraries?
17799 need_version=$need_version
17801 # Whether dlopen is supported.
17802 dlopen_support=$enable_dlopen
17804 # Whether dlopen of programs is supported.
17805 dlopen_self=$enable_dlopen_self
17807 # Whether dlopen of statically linked programs is supported.
17808 dlopen_self_static=$enable_dlopen_self_static
17810 # Compiler flag to prevent dynamic linking.
17811 link_static_flag=$lt_lt_prog_compiler_static_GCJ
17813 # Compiler flag to turn off builtin functions.
17814 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
17816 # Compiler flag to allow reflexive dlopens.
17817 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
17819 # Compiler flag to generate shared objects directly from archives.
17820 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
17822 # Compiler flag to generate thread-safe objects.
17823 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
17825 # Library versioning type.
17826 version_type=$version_type
17828 # Format of library name prefix.
17829 libname_spec=$lt_libname_spec
17831 # List of archive names. First name is the real one, the rest are links.
17832 # The last name is the one that the linker finds with -lNAME.
17833 library_names_spec=$lt_library_names_spec
17835 # The coded name of the library, if different from the real name.
17836 soname_spec=$lt_soname_spec
17838 # Commands used to build and install an old-style archive.
17840 old_archive_cmds=$lt_old_archive_cmds_GCJ
17841 old_postinstall_cmds=$lt_old_postinstall_cmds
17842 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17844 # Create an old-style archive from a shared archive.
17845 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
17847 # Create a temporary old-style archive to link instead of a shared archive.
17848 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
17850 # Commands used to build and install a shared archive.
17851 archive_cmds=$lt_archive_cmds_GCJ
17852 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
17853 postinstall_cmds=$lt_postinstall_cmds
17854 postuninstall_cmds=$lt_postuninstall_cmds
17856 # Commands used to build a loadable module (assumed same as above if empty)
17857 module_cmds=$lt_module_cmds_GCJ
17858 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
17860 # Commands to strip libraries.
17861 old_striplib=$lt_old_striplib
17862 striplib=$lt_striplib
17864 # Dependencies to place before the objects being linked to create a
17866 predep_objects=$lt_predep_objects_GCJ
17868 # Dependencies to place after the objects being linked to create a
17870 postdep_objects=$lt_postdep_objects_GCJ
17872 # Dependencies to place before the objects being linked to create a
17874 predeps=$lt_predeps_GCJ
17876 # Dependencies to place after the objects being linked to create a
17878 postdeps=$lt_postdeps_GCJ
17880 # The library search path used internally by the compiler when linking
17881 # a shared library.
17882 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
17884 # Method to check whether dependent libraries are shared objects.
17885 deplibs_check_method=$lt_deplibs_check_method
17887 # Command to use when deplibs_check_method == file_magic.
17888 file_magic_cmd=$lt_file_magic_cmd
17890 # Flag that allows shared libraries with undefined symbols to be built.
17891 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
17893 # Flag that forces no undefined symbols.
17894 no_undefined_flag=$lt_no_undefined_flag_GCJ
17896 # Commands used to finish a libtool library installation in a directory.
17897 finish_cmds=$lt_finish_cmds
17899 # Same as above, but a single script fragment to be evaled but not shown.
17900 finish_eval=$lt_finish_eval
17902 # Take the output of nm and produce a listing of raw symbols and C names.
17903 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17905 # Transform the output of nm in a proper C declaration
17906 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17908 # Transform the output of nm in a C name address pair
17909 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17911 # This is the shared library runtime path variable.
17912 runpath_var=$runpath_var
17914 # This is the shared library path variable.
17915 shlibpath_var=$shlibpath_var
17917 # Is shlibpath searched before the hard-coded library search path?
17918 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17920 # How to hardcode a shared library path into an executable.
17921 hardcode_action=$hardcode_action_GCJ
17923 # Whether we should hardcode library paths into libraries.
17924 hardcode_into_libs=$hardcode_into_libs
17926 # Flag to hardcode \$libdir into a binary during linking.
17927 # This must work even if \$libdir does not exist.
17928 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
17930 # If ld is used when linking, flag to hardcode \$libdir into
17931 # a binary during linking. This must work even if \$libdir does
17933 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
17935 # Whether we need a single -rpath flag with a separated argument.
17936 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
17938 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17939 # resulting binary.
17940 hardcode_direct=$hardcode_direct_GCJ
17942 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17943 # resulting binary.
17944 hardcode_minus_L=$hardcode_minus_L_GCJ
17946 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17947 # the resulting binary.
17948 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
17950 # Set to yes if building a shared library automatically hardcodes DIR into the library
17951 # and all subsequent libraries and executables linked against it.
17952 hardcode_automatic=$hardcode_automatic_GCJ
17954 # Variables whose values should be saved in libtool wrapper scripts and
17955 # restored at relink time.
17956 variables_saved_for_relink="$variables_saved_for_relink"
17958 # Whether libtool must link a program against all its dependency libraries.
17959 link_all_deplibs=$link_all_deplibs_GCJ
17961 # Compile-time system search path for libraries
17962 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17964 # Run-time system search path for libraries
17965 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17967 # Fix the shell variable \$srcfile for the compiler.
17968 fix_srcfile_path="$fix_srcfile_path_GCJ"
17970 # Set to yes if exported symbols are required.
17971 always_export_symbols=$always_export_symbols_GCJ
17973 # The commands to list exported symbols.
17974 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
17976 # The commands to extract the exported symbol list from a shared archive.
17977 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17979 # Symbols that should not be listed in the preloaded symbols.
17980 exclude_expsyms=$lt_exclude_expsyms_GCJ
17982 # Symbols that must always be exported.
17983 include_expsyms=$lt_include_expsyms_GCJ
17985 # ### END LIBTOOL TAG CONFIG: $tagname
17991 # If there is no Makefile yet, we rely on a make rule to execute
17992 # `config.status --recheck' to rerun these tests and create the
17993 # libtool script then.
17994 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
17995 if test -f "$ltmain_in"; then
17996 test -f Makefile
&& make "$ltmain"
18002 ac_cpp
='$CPP $CPPFLAGS'
18003 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18004 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18005 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18018 # Source file extension for RC test sources.
18021 # Object file extension for compiled RC test sources.
18025 # Code to be used in simple compile tests
18026 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
18028 # Code to be used in simple link tests
18029 lt_simple_link_test_code
="$lt_simple_compile_test_code"
18031 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18033 # If no C compiler was specified, use CC.
18036 # If no C compiler flags were specified, use CFLAGS.
18037 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
18039 # Allow CC to be a program name with arguments.
18043 # save warnings/boilerplate of simple test code
18044 ac_outfile
=conftest.
$ac_objext
18045 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
18046 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18047 _lt_compiler_boilerplate
=`cat conftest.err`
18050 ac_outfile
=conftest.
$ac_objext
18051 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
18052 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18053 _lt_linker_boilerplate
=`cat conftest.err`
18057 # Allow CC to be a program name with arguments.
18062 for cc_temp
in $compiler""; do
18064 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
18065 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
18070 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18072 lt_cv_prog_compiler_c_o_RC
=yes
18074 # The else clause should only fire when bootstrapping the
18075 # libtool distribution, otherwise you forgot to ship ltmain.sh
18076 # with your package, and you will get complaints that there are
18077 # no rules to generate ltmain.sh.
18078 if test -f "$ltmain"; then
18079 # See if we are running on zsh, and set the options which allow our commands through
18080 # without removal of \ escapes.
18081 if test -n "${ZSH_VERSION+set}" ; then
18082 setopt NO_GLOB_SUBST
18084 # Now quote all the things that may contain metacharacters while being
18085 # careful not to overquote the AC_SUBSTed values. We take copies of the
18086 # variables and quote the copies for generation of the libtool script.
18087 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18089 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18090 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18091 deplibs_check_method reload_flag reload_cmds need_locks \
18092 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18093 lt_cv_sys_global_symbol_to_c_name_address \
18094 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18095 old_postinstall_cmds old_postuninstall_cmds \
18099 lt_prog_compiler_wl_RC \
18100 lt_prog_compiler_pic_RC \
18101 lt_prog_compiler_static_RC \
18102 lt_prog_compiler_no_builtin_flag_RC \
18103 export_dynamic_flag_spec_RC \
18104 thread_safe_flag_spec_RC \
18105 whole_archive_flag_spec_RC \
18106 enable_shared_with_static_runtimes_RC \
18107 old_archive_cmds_RC \
18108 old_archive_from_new_cmds_RC \
18109 predep_objects_RC \
18110 postdep_objects_RC \
18113 compiler_lib_search_path_RC \
18115 archive_expsym_cmds_RC \
18116 postinstall_cmds_RC \
18117 postuninstall_cmds_RC \
18118 old_archive_from_expsyms_cmds_RC \
18119 allow_undefined_flag_RC \
18120 no_undefined_flag_RC \
18121 export_symbols_cmds_RC \
18122 hardcode_libdir_flag_spec_RC \
18123 hardcode_libdir_flag_spec_ld_RC \
18124 hardcode_libdir_separator_RC \
18125 hardcode_automatic_RC \
18127 module_expsym_cmds_RC \
18128 lt_cv_prog_compiler_c_o_RC \
18129 exclude_expsyms_RC \
18130 include_expsyms_RC
; do
18133 old_archive_cmds_RC | \
18134 old_archive_from_new_cmds_RC | \
18135 archive_cmds_RC | \
18136 archive_expsym_cmds_RC | \
18138 module_expsym_cmds_RC | \
18139 old_archive_from_expsyms_cmds_RC | \
18140 export_symbols_cmds_RC | \
18141 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18142 postinstall_cmds | postuninstall_cmds | \
18143 old_postinstall_cmds | old_postuninstall_cmds | \
18144 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18145 # Double-quote double-evaled strings.
18146 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18149 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18155 *'\$0 --fallback-echo"')
18156 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18162 cat <<__EOF__ >> "$cfgfile"
18163 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18165 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18167 # Shell to use when invoking shell scripts.
18170 # Whether or not to build shared libraries.
18171 build_libtool_libs=$enable_shared
18173 # Whether or not to build static libraries.
18174 build_old_libs=$enable_static
18176 # Whether or not to add -lc for building shared libraries.
18177 build_libtool_need_lc=$archive_cmds_need_lc_RC
18179 # Whether or not to disallow shared libs when runtime libs are static
18180 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
18182 # Whether or not to optimize for fast installation.
18183 fast_install=$enable_fast_install
18186 host_alias=$host_alias
18190 # The build system.
18191 build_alias=$build_alias
18195 # An echo program that does not interpret backslashes.
18200 AR_FLAGS=$lt_AR_FLAGS
18205 # LTCC compiler flags.
18206 LTCFLAGS=$lt_LTCFLAGS
18208 # A language-specific compiler.
18211 # Is the compiler the GNU C compiler?
18217 # The linker used to build libraries.
18220 # Whether we need hard or soft links.
18223 # A BSD-compatible nm program.
18226 # A symbol stripping program
18229 # Used to examine libraries when file_magic_cmd begins "file"
18230 MAGIC_CMD=$MAGIC_CMD
18232 # Used on cygwin: DLL creation program.
18235 # Used on cygwin: object dumper.
18238 # Used on cygwin: assembler.
18241 # The name of the directory that contains temporary libtool files.
18244 # How to create reloadable object files.
18245 reload_flag=$lt_reload_flag
18246 reload_cmds=$lt_reload_cmds
18248 # How to pass a linker flag through the compiler.
18249 wl=$lt_lt_prog_compiler_wl_RC
18251 # Object file suffix (normally "o").
18252 objext="$ac_objext"
18254 # Old archive suffix (normally "a").
18257 # Shared library suffix (normally ".so").
18258 shrext_cmds='$shrext_cmds'
18260 # Executable file suffix (normally "").
18263 # Additional compiler flags for building library objects.
18264 pic_flag=$lt_lt_prog_compiler_pic_RC
18267 # What is the maximum length of a command?
18268 max_cmd_len=$lt_cv_sys_max_cmd_len
18270 # Does compiler simultaneously support -c and -o options?
18271 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
18273 # Must we lock files when doing compilation?
18274 need_locks=$lt_need_locks
18276 # Do we need the lib prefix for modules?
18277 need_lib_prefix=$need_lib_prefix
18279 # Do we need a version for libraries?
18280 need_version=$need_version
18282 # Whether dlopen is supported.
18283 dlopen_support=$enable_dlopen
18285 # Whether dlopen of programs is supported.
18286 dlopen_self=$enable_dlopen_self
18288 # Whether dlopen of statically linked programs is supported.
18289 dlopen_self_static=$enable_dlopen_self_static
18291 # Compiler flag to prevent dynamic linking.
18292 link_static_flag=$lt_lt_prog_compiler_static_RC
18294 # Compiler flag to turn off builtin functions.
18295 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
18297 # Compiler flag to allow reflexive dlopens.
18298 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
18300 # Compiler flag to generate shared objects directly from archives.
18301 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
18303 # Compiler flag to generate thread-safe objects.
18304 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
18306 # Library versioning type.
18307 version_type=$version_type
18309 # Format of library name prefix.
18310 libname_spec=$lt_libname_spec
18312 # List of archive names. First name is the real one, the rest are links.
18313 # The last name is the one that the linker finds with -lNAME.
18314 library_names_spec=$lt_library_names_spec
18316 # The coded name of the library, if different from the real name.
18317 soname_spec=$lt_soname_spec
18319 # Commands used to build and install an old-style archive.
18321 old_archive_cmds=$lt_old_archive_cmds_RC
18322 old_postinstall_cmds=$lt_old_postinstall_cmds
18323 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18325 # Create an old-style archive from a shared archive.
18326 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
18328 # Create a temporary old-style archive to link instead of a shared archive.
18329 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
18331 # Commands used to build and install a shared archive.
18332 archive_cmds=$lt_archive_cmds_RC
18333 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
18334 postinstall_cmds=$lt_postinstall_cmds
18335 postuninstall_cmds=$lt_postuninstall_cmds
18337 # Commands used to build a loadable module (assumed same as above if empty)
18338 module_cmds=$lt_module_cmds_RC
18339 module_expsym_cmds=$lt_module_expsym_cmds_RC
18341 # Commands to strip libraries.
18342 old_striplib=$lt_old_striplib
18343 striplib=$lt_striplib
18345 # Dependencies to place before the objects being linked to create a
18347 predep_objects=$lt_predep_objects_RC
18349 # Dependencies to place after the objects being linked to create a
18351 postdep_objects=$lt_postdep_objects_RC
18353 # Dependencies to place before the objects being linked to create a
18355 predeps=$lt_predeps_RC
18357 # Dependencies to place after the objects being linked to create a
18359 postdeps=$lt_postdeps_RC
18361 # The library search path used internally by the compiler when linking
18362 # a shared library.
18363 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
18365 # Method to check whether dependent libraries are shared objects.
18366 deplibs_check_method=$lt_deplibs_check_method
18368 # Command to use when deplibs_check_method == file_magic.
18369 file_magic_cmd=$lt_file_magic_cmd
18371 # Flag that allows shared libraries with undefined symbols to be built.
18372 allow_undefined_flag=$lt_allow_undefined_flag_RC
18374 # Flag that forces no undefined symbols.
18375 no_undefined_flag=$lt_no_undefined_flag_RC
18377 # Commands used to finish a libtool library installation in a directory.
18378 finish_cmds=$lt_finish_cmds
18380 # Same as above, but a single script fragment to be evaled but not shown.
18381 finish_eval=$lt_finish_eval
18383 # Take the output of nm and produce a listing of raw symbols and C names.
18384 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18386 # Transform the output of nm in a proper C declaration
18387 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18389 # Transform the output of nm in a C name address pair
18390 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18392 # This is the shared library runtime path variable.
18393 runpath_var=$runpath_var
18395 # This is the shared library path variable.
18396 shlibpath_var=$shlibpath_var
18398 # Is shlibpath searched before the hard-coded library search path?
18399 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18401 # How to hardcode a shared library path into an executable.
18402 hardcode_action=$hardcode_action_RC
18404 # Whether we should hardcode library paths into libraries.
18405 hardcode_into_libs=$hardcode_into_libs
18407 # Flag to hardcode \$libdir into a binary during linking.
18408 # This must work even if \$libdir does not exist.
18409 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
18411 # If ld is used when linking, flag to hardcode \$libdir into
18412 # a binary during linking. This must work even if \$libdir does
18414 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
18416 # Whether we need a single -rpath flag with a separated argument.
18417 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
18419 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18420 # resulting binary.
18421 hardcode_direct=$hardcode_direct_RC
18423 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18424 # resulting binary.
18425 hardcode_minus_L=$hardcode_minus_L_RC
18427 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18428 # the resulting binary.
18429 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
18431 # Set to yes if building a shared library automatically hardcodes DIR into the library
18432 # and all subsequent libraries and executables linked against it.
18433 hardcode_automatic=$hardcode_automatic_RC
18435 # Variables whose values should be saved in libtool wrapper scripts and
18436 # restored at relink time.
18437 variables_saved_for_relink="$variables_saved_for_relink"
18439 # Whether libtool must link a program against all its dependency libraries.
18440 link_all_deplibs=$link_all_deplibs_RC
18442 # Compile-time system search path for libraries
18443 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18445 # Run-time system search path for libraries
18446 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18448 # Fix the shell variable \$srcfile for the compiler.
18449 fix_srcfile_path="$fix_srcfile_path_RC"
18451 # Set to yes if exported symbols are required.
18452 always_export_symbols=$always_export_symbols_RC
18454 # The commands to list exported symbols.
18455 export_symbols_cmds=$lt_export_symbols_cmds_RC
18457 # The commands to extract the exported symbol list from a shared archive.
18458 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18460 # Symbols that should not be listed in the preloaded symbols.
18461 exclude_expsyms=$lt_exclude_expsyms_RC
18463 # Symbols that must always be exported.
18464 include_expsyms=$lt_include_expsyms_RC
18466 # ### END LIBTOOL TAG CONFIG: $tagname
18472 # If there is no Makefile yet, we rely on a make rule to execute
18473 # `config.status --recheck' to rerun these tests and create the
18474 # libtool script then.
18475 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18476 if test -f "$ltmain_in"; then
18477 test -f Makefile
&& make "$ltmain"
18483 ac_cpp
='$CPP $CPPFLAGS'
18484 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18485 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18486 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18493 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
18494 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
18495 { (exit 1); exit 1; }; }
18499 # Append the new tag name to the list of available tags.
18500 if test -n "$tagname" ; then
18501 available_tags
="$available_tags $tagname"
18507 # Now substitute the updated list of available tags.
18508 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
18509 mv "${ofile}T" "$ofile"
18513 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
18514 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
18515 { (exit 1); exit 1; }; }
18521 # This can be used to rebuild libtool when needed
18522 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
18524 # Always use our own libtool.
18525 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
18527 # Prevent multiple expansion
18554 ac_cpp
='$CPP $CPPFLAGS'
18555 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18556 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18557 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18558 if test -n "$ac_tool_prefix"; then
18559 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
18560 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
18561 echo "$as_me:$LINENO: checking for $ac_word" >&5
18562 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18563 if test "${ac_cv_prog_CC+set}" = set; then
18564 echo $ECHO_N "(cached) $ECHO_C" >&6
18566 if test -n "$CC"; then
18567 ac_cv_prog_CC
="$CC" # Let the user override the test.
18569 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18570 for as_dir
in $PATH
18573 test -z "$as_dir" && as_dir
=.
18574 for ac_exec_ext
in '' $ac_executable_extensions; do
18575 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18576 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
18577 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18586 if test -n "$CC"; then
18587 echo "$as_me:$LINENO: result: $CC" >&5
18588 echo "${ECHO_T}$CC" >&6
18590 echo "$as_me:$LINENO: result: no" >&5
18591 echo "${ECHO_T}no" >&6
18595 if test -z "$ac_cv_prog_CC"; then
18597 # Extract the first word of "gcc", so it can be a program name with args.
18598 set dummy gcc
; ac_word
=$2
18599 echo "$as_me:$LINENO: checking for $ac_word" >&5
18600 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18601 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
18602 echo $ECHO_N "(cached) $ECHO_C" >&6
18604 if test -n "$ac_ct_CC"; then
18605 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
18607 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18608 for as_dir
in $PATH
18611 test -z "$as_dir" && as_dir
=.
18612 for ac_exec_ext
in '' $ac_executable_extensions; do
18613 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18614 ac_cv_prog_ac_ct_CC
="gcc"
18615 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18623 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
18624 if test -n "$ac_ct_CC"; then
18625 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
18626 echo "${ECHO_T}$ac_ct_CC" >&6
18628 echo "$as_me:$LINENO: result: no" >&5
18629 echo "${ECHO_T}no" >&6
18634 CC
="$ac_cv_prog_CC"
18637 if test -z "$CC"; then
18638 if test -n "$ac_tool_prefix"; then
18639 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
18640 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
18641 echo "$as_me:$LINENO: checking for $ac_word" >&5
18642 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18643 if test "${ac_cv_prog_CC+set}" = set; then
18644 echo $ECHO_N "(cached) $ECHO_C" >&6
18646 if test -n "$CC"; then
18647 ac_cv_prog_CC
="$CC" # Let the user override the test.
18649 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18650 for as_dir
in $PATH
18653 test -z "$as_dir" && as_dir
=.
18654 for ac_exec_ext
in '' $ac_executable_extensions; do
18655 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18656 ac_cv_prog_CC
="${ac_tool_prefix}cc"
18657 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18666 if test -n "$CC"; then
18667 echo "$as_me:$LINENO: result: $CC" >&5
18668 echo "${ECHO_T}$CC" >&6
18670 echo "$as_me:$LINENO: result: no" >&5
18671 echo "${ECHO_T}no" >&6
18675 if test -z "$ac_cv_prog_CC"; then
18677 # Extract the first word of "cc", so it can be a program name with args.
18678 set dummy cc
; ac_word
=$2
18679 echo "$as_me:$LINENO: checking for $ac_word" >&5
18680 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18681 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
18682 echo $ECHO_N "(cached) $ECHO_C" >&6
18684 if test -n "$ac_ct_CC"; then
18685 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
18687 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18688 for as_dir
in $PATH
18691 test -z "$as_dir" && as_dir
=.
18692 for ac_exec_ext
in '' $ac_executable_extensions; do
18693 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18694 ac_cv_prog_ac_ct_CC
="cc"
18695 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18703 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
18704 if test -n "$ac_ct_CC"; then
18705 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
18706 echo "${ECHO_T}$ac_ct_CC" >&6
18708 echo "$as_me:$LINENO: result: no" >&5
18709 echo "${ECHO_T}no" >&6
18714 CC
="$ac_cv_prog_CC"
18718 if test -z "$CC"; then
18719 # Extract the first word of "cc", so it can be a program name with args.
18720 set dummy cc
; ac_word
=$2
18721 echo "$as_me:$LINENO: checking for $ac_word" >&5
18722 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18723 if test "${ac_cv_prog_CC+set}" = set; then
18724 echo $ECHO_N "(cached) $ECHO_C" >&6
18726 if test -n "$CC"; then
18727 ac_cv_prog_CC
="$CC" # Let the user override the test.
18729 ac_prog_rejected
=no
18730 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18731 for as_dir
in $PATH
18734 test -z "$as_dir" && as_dir
=.
18735 for ac_exec_ext
in '' $ac_executable_extensions; do
18736 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18737 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
18738 ac_prog_rejected
=yes
18742 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18748 if test $ac_prog_rejected = yes; then
18749 # We found a bogon in the path, so make sure we never use it.
18750 set dummy
$ac_cv_prog_CC
18752 if test $# != 0; then
18753 # We chose a different compiler from the bogus one.
18754 # However, it has the same basename, so the bogon will be chosen
18755 # first if we set CC to just the basename; use the full file name.
18757 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
18763 if test -n "$CC"; then
18764 echo "$as_me:$LINENO: result: $CC" >&5
18765 echo "${ECHO_T}$CC" >&6
18767 echo "$as_me:$LINENO: result: no" >&5
18768 echo "${ECHO_T}no" >&6
18772 if test -z "$CC"; then
18773 if test -n "$ac_tool_prefix"; then
18776 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18777 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
18778 echo "$as_me:$LINENO: checking for $ac_word" >&5
18779 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18780 if test "${ac_cv_prog_CC+set}" = set; then
18781 echo $ECHO_N "(cached) $ECHO_C" >&6
18783 if test -n "$CC"; then
18784 ac_cv_prog_CC
="$CC" # Let the user override the test.
18786 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18787 for as_dir
in $PATH
18790 test -z "$as_dir" && as_dir
=.
18791 for ac_exec_ext
in '' $ac_executable_extensions; do
18792 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18793 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
18794 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18803 if test -n "$CC"; then
18804 echo "$as_me:$LINENO: result: $CC" >&5
18805 echo "${ECHO_T}$CC" >&6
18807 echo "$as_me:$LINENO: result: no" >&5
18808 echo "${ECHO_T}no" >&6
18811 test -n "$CC" && break
18814 if test -z "$CC"; then
18818 # Extract the first word of "$ac_prog", so it can be a program name with args.
18819 set dummy
$ac_prog; ac_word
=$2
18820 echo "$as_me:$LINENO: checking for $ac_word" >&5
18821 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18822 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
18823 echo $ECHO_N "(cached) $ECHO_C" >&6
18825 if test -n "$ac_ct_CC"; then
18826 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
18828 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18829 for as_dir
in $PATH
18832 test -z "$as_dir" && as_dir
=.
18833 for ac_exec_ext
in '' $ac_executable_extensions; do
18834 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18835 ac_cv_prog_ac_ct_CC
="$ac_prog"
18836 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18844 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
18845 if test -n "$ac_ct_CC"; then
18846 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
18847 echo "${ECHO_T}$ac_ct_CC" >&6
18849 echo "$as_me:$LINENO: result: no" >&5
18850 echo "${ECHO_T}no" >&6
18853 test -n "$ac_ct_CC" && break
18862 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
18863 See \`config.log' for more details." >&5
18864 echo "$as_me: error: no acceptable C compiler found in \$PATH
18865 See \`config.log' for more details." >&2;}
18866 { (exit 1); exit 1; }; }
18868 # Provide some information about the compiler.
18869 echo "$as_me:$LINENO:" \
18870 "checking for C compiler version" >&5
18871 ac_compiler
=`set X $ac_compile; echo $2`
18872 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
18873 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
18875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18876 (exit $ac_status); }
18877 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
18878 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
18880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18881 (exit $ac_status); }
18882 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
18883 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
18885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18886 (exit $ac_status); }
18888 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
18889 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
18890 if test "${ac_cv_c_compiler_gnu+set}" = set; then
18891 echo $ECHO_N "(cached) $ECHO_C" >&6
18893 cat >conftest.
$ac_ext <<_ACEOF
18896 cat confdefs.h
>>conftest.
$ac_ext
18897 cat >>conftest.
$ac_ext <<_ACEOF
18898 /* end confdefs.h. */
18911 rm -f conftest.
$ac_objext
18912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18913 (eval $ac_compile) 2>conftest.er1
18915 grep -v '^ *+' conftest.er1
>conftest.err
18917 cat conftest.err
>&5
18918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18919 (exit $ac_status); } &&
18920 { ac_try
='test -z "$ac_c_werror_flag"
18921 || test ! -s conftest.err'
18922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18923 (eval $ac_try) 2>&5
18925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18926 (exit $ac_status); }; } &&
18927 { ac_try
='test -s conftest.$ac_objext'
18928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18929 (eval $ac_try) 2>&5
18931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18932 (exit $ac_status); }; }; then
18933 ac_compiler_gnu
=yes
18935 echo "$as_me: failed program was:" >&5
18936 sed 's/^/| /' conftest.
$ac_ext >&5
18940 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18941 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
18944 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
18945 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
18946 GCC
=`test $ac_compiler_gnu = yes && echo yes`
18947 ac_test_CFLAGS
=${CFLAGS+set}
18948 ac_save_CFLAGS
=$CFLAGS
18950 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
18951 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
18952 if test "${ac_cv_prog_cc_g+set}" = set; then
18953 echo $ECHO_N "(cached) $ECHO_C" >&6
18955 cat >conftest.
$ac_ext <<_ACEOF
18958 cat confdefs.h
>>conftest.
$ac_ext
18959 cat >>conftest.
$ac_ext <<_ACEOF
18960 /* end confdefs.h. */
18970 rm -f conftest.
$ac_objext
18971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18972 (eval $ac_compile) 2>conftest.er1
18974 grep -v '^ *+' conftest.er1
>conftest.err
18976 cat conftest.err
>&5
18977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18978 (exit $ac_status); } &&
18979 { ac_try
='test -z "$ac_c_werror_flag"
18980 || test ! -s conftest.err'
18981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18982 (eval $ac_try) 2>&5
18984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18985 (exit $ac_status); }; } &&
18986 { ac_try
='test -s conftest.$ac_objext'
18987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18988 (eval $ac_try) 2>&5
18990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18991 (exit $ac_status); }; }; then
18992 ac_cv_prog_cc_g
=yes
18994 echo "$as_me: failed program was:" >&5
18995 sed 's/^/| /' conftest.
$ac_ext >&5
18999 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19001 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
19002 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
19003 if test "$ac_test_CFLAGS" = set; then
19004 CFLAGS
=$ac_save_CFLAGS
19005 elif test $ac_cv_prog_cc_g = yes; then
19006 if test "$GCC" = yes; then
19012 if test "$GCC" = yes; then
19018 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
19019 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
19020 if test "${ac_cv_prog_cc_stdc+set}" = set; then
19021 echo $ECHO_N "(cached) $ECHO_C" >&6
19023 ac_cv_prog_cc_stdc
=no
19025 cat >conftest.
$ac_ext <<_ACEOF
19028 cat confdefs.h
>>conftest.
$ac_ext
19029 cat >>conftest.
$ac_ext <<_ACEOF
19030 /* end confdefs.h. */
19031 #include <stdarg.h>
19033 #include <sys/types.h>
19034 #include <sys/stat.h>
19035 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
19036 struct buf { int x; };
19037 FILE * (*rcsopen) (struct buf *, struct stat *, int);
19038 static char *e (p, i)
19044 static char *f (char * (*g) (char **, int), char **p, ...)
19049 s = g (p, va_arg (v,int));
19054 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
19055 function prototypes and stuff, but not '\xHH' hex character constants.
19056 These don't provoke an error unfortunately, instead are silently treated
19057 as 'x'. The following induces an error, until -std1 is added to get
19058 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
19059 array size at least. It's necessary to write '\x00'==0 to get something
19060 that's true only with -std1. */
19061 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
19063 int test (int i, double x);
19064 struct s1 {int (*f) (int a);};
19065 struct s2 {int (*f) (double a);};
19066 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
19072 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
19077 # Don't try gcc -ansi; that turns off useful extensions and
19078 # breaks some systems' header files.
19079 # AIX -qlanglvl=ansi
19080 # Ultrix and OSF/1 -std1
19081 # HP-UX 10.20 and later -Ae
19082 # HP-UX older versions -Aa -D_HPUX_SOURCE
19083 # SVR4 -Xc -D__EXTENSIONS__
19084 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
19086 CC
="$ac_save_CC $ac_arg"
19087 rm -f conftest.
$ac_objext
19088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19089 (eval $ac_compile) 2>conftest.er1
19091 grep -v '^ *+' conftest.er1
>conftest.err
19093 cat conftest.err
>&5
19094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19095 (exit $ac_status); } &&
19096 { ac_try
='test -z "$ac_c_werror_flag"
19097 || test ! -s conftest.err'
19098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19099 (eval $ac_try) 2>&5
19101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19102 (exit $ac_status); }; } &&
19103 { ac_try
='test -s conftest.$ac_objext'
19104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19105 (eval $ac_try) 2>&5
19107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19108 (exit $ac_status); }; }; then
19109 ac_cv_prog_cc_stdc
=$ac_arg
19112 echo "$as_me: failed program was:" >&5
19113 sed 's/^/| /' conftest.
$ac_ext >&5
19116 rm -f conftest.err conftest.
$ac_objext
19118 rm -f conftest.
$ac_ext conftest.
$ac_objext
19123 case "x$ac_cv_prog_cc_stdc" in
19125 echo "$as_me:$LINENO: result: none needed" >&5
19126 echo "${ECHO_T}none needed" >&6 ;;
19128 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
19129 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
19130 CC
="$CC $ac_cv_prog_cc_stdc" ;;
19133 # Some people use a C++ compiler to compile C. Since we use `exit',
19134 # in C++ we need to declare it. In case someone uses the same compiler
19135 # for both compiling C and C++ we need to have the C++ compiler decide
19136 # the declaration of exit, since it's the most demanding environment.
19137 cat >conftest.
$ac_ext <<_ACEOF
19138 #ifndef __cplusplus
19142 rm -f conftest.
$ac_objext
19143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19144 (eval $ac_compile) 2>conftest.er1
19146 grep -v '^ *+' conftest.er1
>conftest.err
19148 cat conftest.err
>&5
19149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19150 (exit $ac_status); } &&
19151 { ac_try
='test -z "$ac_c_werror_flag"
19152 || test ! -s conftest.err'
19153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19154 (eval $ac_try) 2>&5
19156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19157 (exit $ac_status); }; } &&
19158 { ac_try
='test -s conftest.$ac_objext'
19159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19160 (eval $ac_try) 2>&5
19162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19163 (exit $ac_status); }; }; then
19164 for ac_declaration
in \
19166 'extern "C" void std::exit (int) throw (); using std::exit;' \
19167 'extern "C" void std::exit (int); using std::exit;' \
19168 'extern "C" void exit (int) throw ();' \
19169 'extern "C" void exit (int);' \
19172 cat >conftest.
$ac_ext <<_ACEOF
19175 cat confdefs.h
>>conftest.
$ac_ext
19176 cat >>conftest.
$ac_ext <<_ACEOF
19177 /* end confdefs.h. */
19179 #include <stdlib.h>
19188 rm -f conftest.
$ac_objext
19189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19190 (eval $ac_compile) 2>conftest.er1
19192 grep -v '^ *+' conftest.er1
>conftest.err
19194 cat conftest.err
>&5
19195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19196 (exit $ac_status); } &&
19197 { ac_try
='test -z "$ac_c_werror_flag"
19198 || test ! -s conftest.err'
19199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19200 (eval $ac_try) 2>&5
19202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19203 (exit $ac_status); }; } &&
19204 { ac_try
='test -s conftest.$ac_objext'
19205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19206 (eval $ac_try) 2>&5
19208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19209 (exit $ac_status); }; }; then
19212 echo "$as_me: failed program was:" >&5
19213 sed 's/^/| /' conftest.
$ac_ext >&5
19217 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19218 cat >conftest.
$ac_ext <<_ACEOF
19221 cat confdefs.h
>>conftest.
$ac_ext
19222 cat >>conftest.
$ac_ext <<_ACEOF
19223 /* end confdefs.h. */
19233 rm -f conftest.
$ac_objext
19234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19235 (eval $ac_compile) 2>conftest.er1
19237 grep -v '^ *+' conftest.er1
>conftest.err
19239 cat conftest.err
>&5
19240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19241 (exit $ac_status); } &&
19242 { ac_try
='test -z "$ac_c_werror_flag"
19243 || test ! -s conftest.err'
19244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19245 (eval $ac_try) 2>&5
19247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19248 (exit $ac_status); }; } &&
19249 { ac_try
='test -s conftest.$ac_objext'
19250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19251 (eval $ac_try) 2>&5
19253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19254 (exit $ac_status); }; }; then
19257 echo "$as_me: failed program was:" >&5
19258 sed 's/^/| /' conftest.
$ac_ext >&5
19261 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19264 if test -n "$ac_declaration"; then
19265 echo '#ifdef __cplusplus' >>confdefs.h
19266 echo $ac_declaration >>confdefs.h
19267 echo '#endif' >>confdefs.h
19271 echo "$as_me: failed program was:" >&5
19272 sed 's/^/| /' conftest.
$ac_ext >&5
19275 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19277 ac_cpp
='$CPP $CPPFLAGS'
19278 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19279 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19280 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19282 # Find a good install program. We prefer a C program (faster),
19283 # so one script is as good as another. But avoid the broken or
19284 # incompatible versions:
19285 # SysV /etc/install, /usr/sbin/install
19286 # SunOS /usr/etc/install
19287 # IRIX /sbin/install
19289 # AmigaOS /C/install, which installs bootblocks on floppy discs
19290 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
19291 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
19292 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
19293 # OS/2's system install, which has a completely different semantic
19294 # ./install, which can be erroneously created by make from ./install.sh.
19295 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
19296 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
19297 if test -z "$INSTALL"; then
19298 if test "${ac_cv_path_install+set}" = set; then
19299 echo $ECHO_N "(cached) $ECHO_C" >&6
19301 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19302 for as_dir
in $PATH
19305 test -z "$as_dir" && as_dir
=.
19306 # Account for people who put trailing slashes in PATH elements.
19308 .
/ | .
// |
/cC
/* | \
19309 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
19310 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
19313 # OSF1 and SCO ODT 3.0 have their own names for install.
19314 # Don't use installbsd from OSF since it installs stuff as root
19316 for ac_prog
in ginstall scoinst
install; do
19317 for ac_exec_ext
in '' $ac_executable_extensions; do
19318 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
19319 if test $ac_prog = install &&
19320 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
19321 # AIX install. It has an incompatible calling convention.
19323 elif test $ac_prog = install &&
19324 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
19325 # program-specific install script used by HP pwplus--don't use.
19328 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
19340 if test "${ac_cv_path_install+set}" = set; then
19341 INSTALL
=$ac_cv_path_install
19343 # As a last resort, use the slow shell script. We don't cache a
19344 # path for INSTALL within a source directory, because that will
19345 # break other packages using the cache if that directory is
19346 # removed, or if the path is relative.
19347 INSTALL
=$ac_install_sh
19350 echo "$as_me:$LINENO: result: $INSTALL" >&5
19351 echo "${ECHO_T}$INSTALL" >&6
19353 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
19354 # It thinks the first close brace ends the variable substitution.
19355 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
19357 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
19359 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
19362 if test "$GCC" = yes ; then
19363 OLDCFLAGS
="$CFLAGS -Wall -Wmissing-prototypes -Wstrict-prototypes"
19364 CFLAGS
="$OLDCFLAGS -fexceptions"
19365 echo "$as_me:$LINENO: checking whether $CC accepts -fexceptions" >&5
19366 echo $ECHO_N "checking whether $CC accepts -fexceptions... $ECHO_C" >&6
19367 cat >conftest.
$ac_ext <<_ACEOF
19370 cat confdefs.h
>>conftest.
$ac_ext
19371 cat >>conftest.
$ac_ext <<_ACEOF
19372 /* end confdefs.h. */
19382 rm -f conftest.
$ac_objext conftest
$ac_exeext
19383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19384 (eval $ac_link) 2>conftest.er1
19386 grep -v '^ *+' conftest.er1
>conftest.err
19388 cat conftest.err
>&5
19389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19390 (exit $ac_status); } &&
19391 { ac_try
='test -z "$ac_c_werror_flag"
19392 || test ! -s conftest.err'
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); }; } &&
19398 { ac_try
='test -s conftest$ac_exeext'
19399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19400 (eval $ac_try) 2>&5
19402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19403 (exit $ac_status); }; }; then
19404 echo "$as_me:$LINENO: result: yes" >&5
19405 echo "${ECHO_T}yes" >&6
19407 echo "$as_me: failed program was:" >&5
19408 sed 's/^/| /' conftest.
$ac_ext >&5
19410 echo "$as_me:$LINENO: result: no" >&5
19411 echo "${ECHO_T}no" >&6; CFLAGS
="$OLDCFLAGS"
19413 rm -f conftest.err conftest.
$ac_objext \
19414 conftest
$ac_exeext conftest.
$ac_ext
19415 CXXFLAGS
=`echo "$CFLAGS" | sed 's/ -Wmissing-prototypes -Wstrict-prototypes//'`
19418 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19419 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
19420 if test "${ac_cv_header_stdc+set}" = set; then
19421 echo $ECHO_N "(cached) $ECHO_C" >&6
19423 cat >conftest.
$ac_ext <<_ACEOF
19426 cat confdefs.h
>>conftest.
$ac_ext
19427 cat >>conftest.
$ac_ext <<_ACEOF
19428 /* end confdefs.h. */
19429 #include <stdlib.h>
19430 #include <stdarg.h>
19431 #include <string.h>
19442 rm -f conftest.
$ac_objext
19443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19444 (eval $ac_compile) 2>conftest.er1
19446 grep -v '^ *+' conftest.er1
>conftest.err
19448 cat conftest.err
>&5
19449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19450 (exit $ac_status); } &&
19451 { ac_try
='test -z "$ac_c_werror_flag"
19452 || test ! -s conftest.err'
19453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19454 (eval $ac_try) 2>&5
19456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19457 (exit $ac_status); }; } &&
19458 { ac_try
='test -s conftest.$ac_objext'
19459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19460 (eval $ac_try) 2>&5
19462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19463 (exit $ac_status); }; }; then
19464 ac_cv_header_stdc
=yes
19466 echo "$as_me: failed program was:" >&5
19467 sed 's/^/| /' conftest.
$ac_ext >&5
19469 ac_cv_header_stdc
=no
19471 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19473 if test $ac_cv_header_stdc = yes; then
19474 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19475 cat >conftest.
$ac_ext <<_ACEOF
19478 cat confdefs.h
>>conftest.
$ac_ext
19479 cat >>conftest.
$ac_ext <<_ACEOF
19480 /* end confdefs.h. */
19481 #include <string.h>
19484 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19485 $EGREP "memchr" >/dev
/null
2>&1; then
19488 ac_cv_header_stdc
=no
19494 if test $ac_cv_header_stdc = yes; then
19495 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19496 cat >conftest.
$ac_ext <<_ACEOF
19499 cat confdefs.h
>>conftest.
$ac_ext
19500 cat >>conftest.
$ac_ext <<_ACEOF
19501 /* end confdefs.h. */
19502 #include <stdlib.h>
19505 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19506 $EGREP "free" >/dev
/null
2>&1; then
19509 ac_cv_header_stdc
=no
19515 if test $ac_cv_header_stdc = yes; then
19516 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19517 if test "$cross_compiling" = yes; then
19520 cat >conftest.
$ac_ext <<_ACEOF
19523 cat confdefs.h
>>conftest.
$ac_ext
19524 cat >>conftest.
$ac_ext <<_ACEOF
19525 /* end confdefs.h. */
19527 #if ((' ' & 0x0FF) == 0x020)
19528 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19529 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19531 # define ISLOWER(c) \
19532 (('a' <= (c) && (c) <= 'i') \
19533 || ('j' <= (c) && (c) <= 'r') \
19534 || ('s' <= (c) && (c) <= 'z'))
19535 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19538 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19543 for (i = 0; i < 256; i++)
19544 if (XOR (islower (i), ISLOWER (i))
19545 || toupper (i) != TOUPPER (i))
19550 rm -f conftest
$ac_exeext
19551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19552 (eval $ac_link) 2>&5
19554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19555 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19557 (eval $ac_try) 2>&5
19559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19560 (exit $ac_status); }; }; then
19563 echo "$as_me: program exited with status $ac_status" >&5
19564 echo "$as_me: failed program was:" >&5
19565 sed 's/^/| /' conftest.
$ac_ext >&5
19567 ( exit $ac_status )
19568 ac_cv_header_stdc
=no
19570 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19574 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19575 echo "${ECHO_T}$ac_cv_header_stdc" >&6
19576 if test $ac_cv_header_stdc = yes; then
19578 cat >>confdefs.h
<<\_ACEOF
19579 #define STDC_HEADERS 1
19586 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
19587 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
19588 if test "${ac_cv_c_bigendian+set}" = set; then
19589 echo $ECHO_N "(cached) $ECHO_C" >&6
19591 ac_cv_c_bigendian
=unknown
19592 # See if sys/param.h defines the BYTE_ORDER macro.
19593 cat >conftest.
$ac_ext <<_ACEOF
19596 cat confdefs.h
>>conftest.
$ac_ext
19597 cat >>conftest.
$ac_ext <<_ACEOF
19598 /* end confdefs.h. */
19599 #include <sys/types.h>
19600 #include <sys/param.h>
19605 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
19606 bogus endian macros
19612 rm -f conftest.
$ac_objext
19613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19614 (eval $ac_compile) 2>conftest.er1
19616 grep -v '^ *+' conftest.er1
>conftest.err
19618 cat conftest.err
>&5
19619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19620 (exit $ac_status); } &&
19621 { ac_try
='test -z "$ac_c_werror_flag"
19622 || test ! -s conftest.err'
19623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19624 (eval $ac_try) 2>&5
19626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19627 (exit $ac_status); }; } &&
19628 { ac_try
='test -s conftest.$ac_objext'
19629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19630 (eval $ac_try) 2>&5
19632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19633 (exit $ac_status); }; }; then
19634 # It does; now see whether it defined to BIG_ENDIAN or not.
19635 cat >conftest.
$ac_ext <<_ACEOF
19638 cat confdefs.h
>>conftest.
$ac_ext
19639 cat >>conftest.
$ac_ext <<_ACEOF
19640 /* end confdefs.h. */
19641 #include <sys/types.h>
19642 #include <sys/param.h>
19647 #if BYTE_ORDER != BIG_ENDIAN
19654 rm -f conftest.
$ac_objext
19655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19656 (eval $ac_compile) 2>conftest.er1
19658 grep -v '^ *+' conftest.er1
>conftest.err
19660 cat conftest.err
>&5
19661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19662 (exit $ac_status); } &&
19663 { ac_try
='test -z "$ac_c_werror_flag"
19664 || test ! -s conftest.err'
19665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19666 (eval $ac_try) 2>&5
19668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19669 (exit $ac_status); }; } &&
19670 { ac_try
='test -s conftest.$ac_objext'
19671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19672 (eval $ac_try) 2>&5
19674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19675 (exit $ac_status); }; }; then
19676 ac_cv_c_bigendian
=yes
19678 echo "$as_me: failed program was:" >&5
19679 sed 's/^/| /' conftest.
$ac_ext >&5
19681 ac_cv_c_bigendian
=no
19683 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19685 echo "$as_me: failed program was:" >&5
19686 sed 's/^/| /' conftest.
$ac_ext >&5
19689 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19690 if test $ac_cv_c_bigendian = unknown
; then
19691 if test "$cross_compiling" = yes; then
19692 echo $ac_n "cross-compiling... " 2>&6
19694 cat >conftest.
$ac_ext <<_ACEOF
19697 cat confdefs.h
>>conftest.
$ac_ext
19698 cat >>conftest.
$ac_ext <<_ACEOF
19699 /* end confdefs.h. */
19701 /* Are we little or big endian? From Harbison&Steele. */
19705 char c[sizeof (long)];
19708 exit (u.c[sizeof (long) - 1] == 1);
19711 rm -f conftest
$ac_exeext
19712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19713 (eval $ac_link) 2>&5
19715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19716 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19718 (eval $ac_try) 2>&5
19720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19721 (exit $ac_status); }; }; then
19722 ac_cv_c_bigendian
=no
19724 echo "$as_me: program exited with status $ac_status" >&5
19725 echo "$as_me: failed program was:" >&5
19726 sed 's/^/| /' conftest.
$ac_ext >&5
19728 ( exit $ac_status )
19729 ac_cv_c_bigendian
=yes
19731 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19735 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
19736 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
19737 if test $ac_cv_c_bigendian = unknown
; then
19738 echo "$as_me:$LINENO: checking to probe for byte ordering" >&5
19739 echo $ECHO_N "checking to probe for byte ordering... $ECHO_C" >&6
19741 cat >conftest.c
<<EOF
19742 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
19743 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
19744 void _ascii() { char* s = (char*) ascii_mm; s = (char*) ascii_ii; }
19745 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
19746 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
19747 void _ebcdic() { char* s = (char*) ebcdic_mm; s = (char*) ebcdic_ii; }
19748 int main() { _ascii (); _ebcdic (); return 0; }
19750 if test -f conftest.c
; then
19751 if ${CC-cc} -c conftest.c
-o conftest.o
&& test -f conftest.o
; then
19752 if test `grep -l BIGenDianSyS conftest.o` ; then
19753 echo $ac_n ' big endian probe OK, ' 1>&6
19754 ac_cv_c_bigendian
=yes
19756 if test `grep -l LiTTleEnDian conftest.o` ; then
19757 echo $ac_n ' little endian probe OK, ' 1>&6
19758 if test $ac_cv_c_bigendian = yes ; then
19759 ac_cv_c_bigendian
=unknown
;
19761 ac_cv_c_bigendian
=no
19764 echo $ac_n 'guessing bigendian ... ' >&6
19767 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
19768 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
19770 if test $ac_cv_c_bigendian = yes; then
19772 cat >>confdefs.h
<<\_ACEOF
19773 #define WORDS_BIGENDIAN 1
19781 cat >>confdefs.h
<<_ACEOF
19782 #define BYTEORDER $BYTEORDER
19785 if test $ac_cv_c_bigendian = unknown
; then
19786 { { echo "$as_me:$LINENO: error: unknown endianess - sorry" >&5
19787 echo "$as_me: error: unknown endianess - sorry" >&2;}
19788 { (exit please pre-set ac_cv_c_bigendian
); exit please pre-set ac_cv_c_bigendian
; }; }
19792 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19793 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
19794 if test "${ac_cv_c_const+set}" = set; then
19795 echo $ECHO_N "(cached) $ECHO_C" >&6
19797 cat >conftest.
$ac_ext <<_ACEOF
19800 cat confdefs.h
>>conftest.
$ac_ext
19801 cat >>conftest.
$ac_ext <<_ACEOF
19802 /* end confdefs.h. */
19807 /* FIXME: Include the comments suggested by Paul. */
19808 #ifndef __cplusplus
19809 /* Ultrix mips cc rejects this. */
19810 typedef int charset[2];
19812 /* SunOS 4.1.1 cc rejects this. */
19813 char const *const *ccp;
19815 /* NEC SVR4.0.2 mips cc rejects this. */
19816 struct point {int x, y;};
19817 static struct point const zero = {0,0};
19818 /* AIX XL C 1.02.0.0 rejects this.
19819 It does not let you subtract one const X* pointer from another in
19820 an arm of an if-expression whose if-part is not a constant
19822 const char *g = "string";
19823 ccp = &g + (g ? g-g : 0);
19824 /* HPUX 7.0 cc rejects these. */
19827 ccp = (char const *const *) p;
19828 { /* SCO 3.2v4 cc rejects this. */
19830 char const *s = 0 ? (char *) 0 : (char const *) 0;
19834 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19835 int x[] = {25, 17};
19836 const int *foo = &x[0];
19839 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19840 typedef const int *iptr;
19844 { /* AIX XL C 1.02.0.0 rejects this saying
19845 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19846 struct s { int j; const int *ap[3]; };
19847 struct s *b; b->j = 5;
19849 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19850 const int foo = 10;
19858 rm -f conftest.
$ac_objext
19859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19860 (eval $ac_compile) 2>conftest.er1
19862 grep -v '^ *+' conftest.er1
>conftest.err
19864 cat conftest.err
>&5
19865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19866 (exit $ac_status); } &&
19867 { ac_try
='test -z "$ac_c_werror_flag"
19868 || test ! -s conftest.err'
19869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19870 (eval $ac_try) 2>&5
19872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19873 (exit $ac_status); }; } &&
19874 { ac_try
='test -s conftest.$ac_objext'
19875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19876 (eval $ac_try) 2>&5
19878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19879 (exit $ac_status); }; }; then
19882 echo "$as_me: failed program was:" >&5
19883 sed 's/^/| /' conftest.
$ac_ext >&5
19887 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19889 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19890 echo "${ECHO_T}$ac_cv_c_const" >&6
19891 if test $ac_cv_c_const = no
; then
19893 cat >>confdefs.h
<<\_ACEOF
19899 echo "$as_me:$LINENO: checking for size_t" >&5
19900 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
19901 if test "${ac_cv_type_size_t+set}" = set; then
19902 echo $ECHO_N "(cached) $ECHO_C" >&6
19904 cat >conftest.
$ac_ext <<_ACEOF
19907 cat confdefs.h
>>conftest.
$ac_ext
19908 cat >>conftest.
$ac_ext <<_ACEOF
19909 /* end confdefs.h. */
19910 $ac_includes_default
19916 if (sizeof (size_t))
19922 rm -f conftest.
$ac_objext
19923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19924 (eval $ac_compile) 2>conftest.er1
19926 grep -v '^ *+' conftest.er1
>conftest.err
19928 cat conftest.err
>&5
19929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19930 (exit $ac_status); } &&
19931 { ac_try
='test -z "$ac_c_werror_flag"
19932 || test ! -s conftest.err'
19933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19934 (eval $ac_try) 2>&5
19936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19937 (exit $ac_status); }; } &&
19938 { ac_try
='test -s conftest.$ac_objext'
19939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19940 (eval $ac_try) 2>&5
19942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19943 (exit $ac_status); }; }; then
19944 ac_cv_type_size_t
=yes
19946 echo "$as_me: failed program was:" >&5
19947 sed 's/^/| /' conftest.
$ac_ext >&5
19949 ac_cv_type_size_t
=no
19951 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19953 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19954 echo "${ECHO_T}$ac_cv_type_size_t" >&6
19955 if test $ac_cv_type_size_t = yes; then
19959 cat >>confdefs.h
<<_ACEOF
19960 #define size_t unsigned
19967 for ac_func
in memmove bcopy
19969 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19970 echo "$as_me:$LINENO: checking for $ac_func" >&5
19971 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19972 if eval "test \"\${$as_ac_var+set}\" = set"; then
19973 echo $ECHO_N "(cached) $ECHO_C" >&6
19975 cat >conftest.
$ac_ext <<_ACEOF
19978 cat confdefs.h
>>conftest.
$ac_ext
19979 cat >>conftest.
$ac_ext <<_ACEOF
19980 /* end confdefs.h. */
19981 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19982 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19983 #define $ac_func innocuous_$ac_func
19985 /* System header to define __stub macros and hopefully few prototypes,
19986 which can conflict with char $ac_func (); below.
19987 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19988 <limits.h> exists even on freestanding compilers. */
19991 # include <limits.h>
19993 # include <assert.h>
19998 /* Override any gcc2 internal prototype to avoid an error. */
20003 /* We use char because int might match the return type of a gcc2
20004 builtin and then its argument prototype would still apply. */
20006 /* The GNU C library defines this for functions which it implements
20007 to always fail with ENOSYS. Some functions are actually named
20008 something starting with __ and the normal name is an alias. */
20009 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20012 char (*f) () = $ac_func;
20021 return f != $ac_func;
20026 rm -f conftest.
$ac_objext conftest
$ac_exeext
20027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20028 (eval $ac_link) 2>conftest.er1
20030 grep -v '^ *+' conftest.er1
>conftest.err
20032 cat conftest.err
>&5
20033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20034 (exit $ac_status); } &&
20035 { ac_try
='test -z "$ac_c_werror_flag"
20036 || test ! -s conftest.err'
20037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20038 (eval $ac_try) 2>&5
20040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20041 (exit $ac_status); }; } &&
20042 { ac_try
='test -s conftest$ac_exeext'
20043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20044 (eval $ac_try) 2>&5
20046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20047 (exit $ac_status); }; }; then
20048 eval "$as_ac_var=yes"
20050 echo "$as_me: failed program was:" >&5
20051 sed 's/^/| /' conftest.
$ac_ext >&5
20053 eval "$as_ac_var=no"
20055 rm -f conftest.err conftest.
$ac_objext \
20056 conftest
$ac_exeext conftest.
$ac_ext
20058 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20059 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20060 if test `eval echo '${'$as_ac_var'}'` = yes; then
20061 cat >>confdefs.h
<<_ACEOF
20062 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20071 for ac_header
in fcntl.h unistd.h
20073 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20074 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20075 echo "$as_me:$LINENO: checking for $ac_header" >&5
20076 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20077 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20078 echo $ECHO_N "(cached) $ECHO_C" >&6
20080 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20081 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20083 # Is the header compilable?
20084 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20085 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20086 cat >conftest.
$ac_ext <<_ACEOF
20089 cat confdefs.h
>>conftest.
$ac_ext
20090 cat >>conftest.
$ac_ext <<_ACEOF
20091 /* end confdefs.h. */
20092 $ac_includes_default
20093 #include <$ac_header>
20095 rm -f conftest.
$ac_objext
20096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20097 (eval $ac_compile) 2>conftest.er1
20099 grep -v '^ *+' conftest.er1
>conftest.err
20101 cat conftest.err
>&5
20102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20103 (exit $ac_status); } &&
20104 { ac_try
='test -z "$ac_c_werror_flag"
20105 || test ! -s conftest.err'
20106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20107 (eval $ac_try) 2>&5
20109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20110 (exit $ac_status); }; } &&
20111 { ac_try
='test -s conftest.$ac_objext'
20112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20113 (eval $ac_try) 2>&5
20115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20116 (exit $ac_status); }; }; then
20117 ac_header_compiler
=yes
20119 echo "$as_me: failed program was:" >&5
20120 sed 's/^/| /' conftest.
$ac_ext >&5
20122 ac_header_compiler
=no
20124 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20125 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20126 echo "${ECHO_T}$ac_header_compiler" >&6
20128 # Is the header present?
20129 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20130 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20131 cat >conftest.
$ac_ext <<_ACEOF
20134 cat confdefs.h
>>conftest.
$ac_ext
20135 cat >>conftest.
$ac_ext <<_ACEOF
20136 /* end confdefs.h. */
20137 #include <$ac_header>
20139 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20140 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20142 grep -v '^ *+' conftest.er1
>conftest.err
20144 cat conftest.err
>&5
20145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20146 (exit $ac_status); } >/dev
/null
; then
20147 if test -s conftest.err
; then
20148 ac_cpp_err
=$ac_c_preproc_warn_flag
20149 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20156 if test -z "$ac_cpp_err"; then
20157 ac_header_preproc
=yes
20159 echo "$as_me: failed program was:" >&5
20160 sed 's/^/| /' conftest.
$ac_ext >&5
20162 ac_header_preproc
=no
20164 rm -f conftest.err conftest.
$ac_ext
20165 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20166 echo "${ECHO_T}$ac_header_preproc" >&6
20168 # So? What about this header?
20169 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20171 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20172 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20173 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20174 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20175 ac_header_preproc
=yes
20178 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20179 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20180 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20181 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20182 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20183 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20184 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20185 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20186 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20187 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20188 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20189 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20192 ## -------------------------------------- ##
20193 ## Report this to expat-bugs@libexpat.org ##
20194 ## -------------------------------------- ##
20197 sed "s/^/$as_me: WARNING: /" >&2
20200 echo "$as_me:$LINENO: checking for $ac_header" >&5
20201 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20202 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20203 echo $ECHO_N "(cached) $ECHO_C" >&6
20205 eval "$as_ac_Header=\$ac_header_preproc"
20207 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20208 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20211 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20212 cat >>confdefs.h
<<_ACEOF
20213 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20220 echo "$as_me:$LINENO: checking for off_t" >&5
20221 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
20222 if test "${ac_cv_type_off_t+set}" = set; then
20223 echo $ECHO_N "(cached) $ECHO_C" >&6
20225 cat >conftest.
$ac_ext <<_ACEOF
20228 cat confdefs.h
>>conftest.
$ac_ext
20229 cat >>conftest.
$ac_ext <<_ACEOF
20230 /* end confdefs.h. */
20231 $ac_includes_default
20237 if (sizeof (off_t))
20243 rm -f conftest.
$ac_objext
20244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20245 (eval $ac_compile) 2>conftest.er1
20247 grep -v '^ *+' conftest.er1
>conftest.err
20249 cat conftest.err
>&5
20250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20251 (exit $ac_status); } &&
20252 { ac_try
='test -z "$ac_c_werror_flag"
20253 || test ! -s conftest.err'
20254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20255 (eval $ac_try) 2>&5
20257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20258 (exit $ac_status); }; } &&
20259 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
20265 ac_cv_type_off_t
=yes
20267 echo "$as_me: failed program was:" >&5
20268 sed 's/^/| /' conftest.
$ac_ext >&5
20270 ac_cv_type_off_t
=no
20272 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20274 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
20275 echo "${ECHO_T}$ac_cv_type_off_t" >&6
20276 if test $ac_cv_type_off_t = yes; then
20280 cat >>confdefs.h
<<_ACEOF
20288 for ac_header
in stdlib.h unistd.h
20290 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20291 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20292 echo "$as_me:$LINENO: checking for $ac_header" >&5
20293 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20294 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20295 echo $ECHO_N "(cached) $ECHO_C" >&6
20297 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20298 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20300 # Is the header compilable?
20301 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20302 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20303 cat >conftest.
$ac_ext <<_ACEOF
20306 cat confdefs.h
>>conftest.
$ac_ext
20307 cat >>conftest.
$ac_ext <<_ACEOF
20308 /* end confdefs.h. */
20309 $ac_includes_default
20310 #include <$ac_header>
20312 rm -f conftest.
$ac_objext
20313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20314 (eval $ac_compile) 2>conftest.er1
20316 grep -v '^ *+' conftest.er1
>conftest.err
20318 cat conftest.err
>&5
20319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20320 (exit $ac_status); } &&
20321 { ac_try
='test -z "$ac_c_werror_flag"
20322 || test ! -s conftest.err'
20323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20324 (eval $ac_try) 2>&5
20326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20327 (exit $ac_status); }; } &&
20328 { ac_try
='test -s conftest.$ac_objext'
20329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20330 (eval $ac_try) 2>&5
20332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20333 (exit $ac_status); }; }; then
20334 ac_header_compiler
=yes
20336 echo "$as_me: failed program was:" >&5
20337 sed 's/^/| /' conftest.
$ac_ext >&5
20339 ac_header_compiler
=no
20341 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20342 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20343 echo "${ECHO_T}$ac_header_compiler" >&6
20345 # Is the header present?
20346 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20347 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20348 cat >conftest.
$ac_ext <<_ACEOF
20351 cat confdefs.h
>>conftest.
$ac_ext
20352 cat >>conftest.
$ac_ext <<_ACEOF
20353 /* end confdefs.h. */
20354 #include <$ac_header>
20356 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20357 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20359 grep -v '^ *+' conftest.er1
>conftest.err
20361 cat conftest.err
>&5
20362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20363 (exit $ac_status); } >/dev
/null
; then
20364 if test -s conftest.err
; then
20365 ac_cpp_err
=$ac_c_preproc_warn_flag
20366 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20373 if test -z "$ac_cpp_err"; then
20374 ac_header_preproc
=yes
20376 echo "$as_me: failed program was:" >&5
20377 sed 's/^/| /' conftest.
$ac_ext >&5
20379 ac_header_preproc
=no
20381 rm -f conftest.err conftest.
$ac_ext
20382 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20383 echo "${ECHO_T}$ac_header_preproc" >&6
20385 # So? What about this header?
20386 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20388 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20389 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20390 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20391 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20392 ac_header_preproc
=yes
20395 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20396 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20397 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20398 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20399 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20400 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20401 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20402 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20403 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20404 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20405 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20406 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20409 ## -------------------------------------- ##
20410 ## Report this to expat-bugs@libexpat.org ##
20411 ## -------------------------------------- ##
20414 sed "s/^/$as_me: WARNING: /" >&2
20417 echo "$as_me:$LINENO: checking for $ac_header" >&5
20418 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20419 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20420 echo $ECHO_N "(cached) $ECHO_C" >&6
20422 eval "$as_ac_Header=\$ac_header_preproc"
20424 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20425 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20428 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20429 cat >>confdefs.h
<<_ACEOF
20430 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20438 for ac_func
in getpagesize
20440 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20441 echo "$as_me:$LINENO: checking for $ac_func" >&5
20442 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20443 if eval "test \"\${$as_ac_var+set}\" = set"; then
20444 echo $ECHO_N "(cached) $ECHO_C" >&6
20446 cat >conftest.
$ac_ext <<_ACEOF
20449 cat confdefs.h
>>conftest.
$ac_ext
20450 cat >>conftest.
$ac_ext <<_ACEOF
20451 /* end confdefs.h. */
20452 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20453 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20454 #define $ac_func innocuous_$ac_func
20456 /* System header to define __stub macros and hopefully few prototypes,
20457 which can conflict with char $ac_func (); below.
20458 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20459 <limits.h> exists even on freestanding compilers. */
20462 # include <limits.h>
20464 # include <assert.h>
20469 /* Override any gcc2 internal prototype to avoid an error. */
20474 /* We use char because int might match the return type of a gcc2
20475 builtin and then its argument prototype would still apply. */
20477 /* The GNU C library defines this for functions which it implements
20478 to always fail with ENOSYS. Some functions are actually named
20479 something starting with __ and the normal name is an alias. */
20480 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20483 char (*f) () = $ac_func;
20492 return f != $ac_func;
20497 rm -f conftest.
$ac_objext conftest
$ac_exeext
20498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20499 (eval $ac_link) 2>conftest.er1
20501 grep -v '^ *+' conftest.er1
>conftest.err
20503 cat conftest.err
>&5
20504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20505 (exit $ac_status); } &&
20506 { ac_try
='test -z "$ac_c_werror_flag"
20507 || test ! -s conftest.err'
20508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20509 (eval $ac_try) 2>&5
20511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20512 (exit $ac_status); }; } &&
20513 { ac_try
='test -s conftest$ac_exeext'
20514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20515 (eval $ac_try) 2>&5
20517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20518 (exit $ac_status); }; }; then
20519 eval "$as_ac_var=yes"
20521 echo "$as_me: failed program was:" >&5
20522 sed 's/^/| /' conftest.
$ac_ext >&5
20524 eval "$as_ac_var=no"
20526 rm -f conftest.err conftest.
$ac_objext \
20527 conftest
$ac_exeext conftest.
$ac_ext
20529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20530 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20531 if test `eval echo '${'$as_ac_var'}'` = yes; then
20532 cat >>confdefs.h
<<_ACEOF
20533 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20539 echo "$as_me:$LINENO: checking for working mmap" >&5
20540 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
20541 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
20542 echo $ECHO_N "(cached) $ECHO_C" >&6
20544 if test "$cross_compiling" = yes; then
20545 ac_cv_func_mmap_fixed_mapped
=no
20547 cat >conftest.
$ac_ext <<_ACEOF
20550 cat confdefs.h
>>conftest.
$ac_ext
20551 cat >>conftest.
$ac_ext <<_ACEOF
20552 /* end confdefs.h. */
20553 $ac_includes_default
20554 /* malloc might have been renamed as rpl_malloc. */
20557 /* Thanks to Mike Haertel and Jim Avera for this test.
20558 Here is a matrix of mmap possibilities:
20559 mmap private not fixed
20560 mmap private fixed at somewhere currently unmapped
20561 mmap private fixed at somewhere already mapped
20562 mmap shared not fixed
20563 mmap shared fixed at somewhere currently unmapped
20564 mmap shared fixed at somewhere already mapped
20565 For private mappings, we should verify that changes cannot be read()
20566 back from the file, nor mmap's back from the file at a different
20567 address. (There have been systems where private was not correctly
20568 implemented like the infamous i386 svr4.0, and systems where the
20569 VM page cache was not coherent with the file system buffer cache
20570 like early versions of FreeBSD and possibly contemporary NetBSD.)
20571 For shared mappings, we should conversely verify that changes get
20572 propagated back to all the places they're supposed to be.
20574 Grep wants private fixed already mapped.
20575 The main things grep needs to know about mmap are:
20576 * does it exist and is it safe to write into the mmap'd area
20577 * how to use it (BSD variants) */
20580 #include <sys/mman.h>
20582 #if !STDC_HEADERS && !HAVE_STDLIB_H
20586 /* This mess was copied from the GNU getpagesize.h. */
20587 #if !HAVE_GETPAGESIZE
20588 /* Assume that all systems that can run configure have sys/param.h. */
20589 # if !HAVE_SYS_PARAM_H
20590 # define HAVE_SYS_PARAM_H 1
20593 # ifdef _SC_PAGESIZE
20594 # define getpagesize() sysconf(_SC_PAGESIZE)
20595 # else /* no _SC_PAGESIZE */
20596 # if HAVE_SYS_PARAM_H
20597 # include <sys/param.h>
20598 # ifdef EXEC_PAGESIZE
20599 # define getpagesize() EXEC_PAGESIZE
20600 # else /* no EXEC_PAGESIZE */
20602 # define getpagesize() NBPG * CLSIZE
20605 # endif /* no CLSIZE */
20606 # else /* no NBPG */
20608 # define getpagesize() NBPC
20609 # else /* no NBPC */
20611 # define getpagesize() PAGESIZE
20612 # endif /* PAGESIZE */
20613 # endif /* no NBPC */
20614 # endif /* no NBPG */
20615 # endif /* no EXEC_PAGESIZE */
20616 # else /* no HAVE_SYS_PARAM_H */
20617 # define getpagesize() 8192 /* punt totally */
20618 # endif /* no HAVE_SYS_PARAM_H */
20619 # endif /* no _SC_PAGESIZE */
20621 #endif /* no HAVE_GETPAGESIZE */
20626 char *data, *data2, *data3;
20630 pagesize = getpagesize ();
20632 /* First, make a file with some known garbage in it. */
20633 data = (char *) malloc (pagesize);
20636 for (i = 0; i < pagesize; ++i)
20637 *(data + i) = rand ();
20639 fd = creat ("conftest.mmap", 0600);
20642 if (write (fd, data, pagesize) != pagesize)
20646 /* Next, try to mmap the file at a fixed address which already has
20647 something else allocated at it. If we can, also make sure that
20648 we see the same garbage. */
20649 fd = open ("conftest.mmap", O_RDWR);
20652 data2 = (char *) malloc (2 * pagesize);
20655 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
20656 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
20657 MAP_PRIVATE | MAP_FIXED, fd, 0L))
20659 for (i = 0; i < pagesize; ++i)
20660 if (*(data + i) != *(data2 + i))
20663 /* Finally, make sure that changes to the mapped area do not
20664 percolate back to the file as seen by read(). (This is a bug on
20665 some variants of i386 svr4.0.) */
20666 for (i = 0; i < pagesize; ++i)
20667 *(data2 + i) = *(data2 + i) + 1;
20668 data3 = (char *) malloc (pagesize);
20671 if (read (fd, data3, pagesize) != pagesize)
20673 for (i = 0; i < pagesize; ++i)
20674 if (*(data + i) != *(data3 + i))
20680 rm -f conftest
$ac_exeext
20681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20682 (eval $ac_link) 2>&5
20684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20685 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20687 (eval $ac_try) 2>&5
20689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20690 (exit $ac_status); }; }; then
20691 ac_cv_func_mmap_fixed_mapped
=yes
20693 echo "$as_me: program exited with status $ac_status" >&5
20694 echo "$as_me: failed program was:" >&5
20695 sed 's/^/| /' conftest.
$ac_ext >&5
20697 ( exit $ac_status )
20698 ac_cv_func_mmap_fixed_mapped
=no
20700 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20703 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
20704 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
20705 if test $ac_cv_func_mmap_fixed_mapped = yes; then
20707 cat >>confdefs.h
<<\_ACEOF
20708 #define HAVE_MMAP 1
20712 rm -f conftest.mmap
20715 if test "$ac_cv_func_mmap_fixed_mapped" = "yes"; then
20716 FILEMAP
=unixfilemap
20718 FILEMAP
=readfilemap
20724 # ------------------ #
20725 # Checks to see if ANSI C99 CPP variable __func__ works.
20726 # If not, perhaps __FUNCTION__ works instead.
20727 # If not, we'll just define __func__ to "".
20731 echo "$as_me:$LINENO: checking for an ANSI C99-conforming __func__" >&5
20732 echo $ECHO_N "checking for an ANSI C99-conforming __func__... $ECHO_C" >&6
20733 if test "${ac_cv_cpp_func+set}" = set; then
20734 echo $ECHO_N "(cached) $ECHO_C" >&6
20736 cat >conftest.
$ac_ext <<_ACEOF
20739 cat confdefs.h
>>conftest.
$ac_ext
20740 cat >>conftest.
$ac_ext <<_ACEOF
20741 /* end confdefs.h. */
20746 char *foo = __func__;
20751 rm -f conftest.
$ac_objext
20752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20753 (eval $ac_compile) 2>conftest.er1
20755 grep -v '^ *+' conftest.er1
>conftest.err
20757 cat conftest.err
>&5
20758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20759 (exit $ac_status); } &&
20760 { ac_try
='test -z "$ac_c_werror_flag"
20761 || test ! -s conftest.err'
20762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20763 (eval $ac_try) 2>&5
20765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20766 (exit $ac_status); }; } &&
20767 { ac_try
='test -s conftest.$ac_objext'
20768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20769 (eval $ac_try) 2>&5
20771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20772 (exit $ac_status); }; }; then
20775 echo "$as_me: failed program was:" >&5
20776 sed 's/^/| /' conftest.
$ac_ext >&5
20778 cat >conftest.
$ac_ext <<_ACEOF
20781 cat confdefs.h
>>conftest.
$ac_ext
20782 cat >>conftest.
$ac_ext <<_ACEOF
20783 /* end confdefs.h. */
20788 char *foo = __FUNCTION__;
20793 rm -f conftest.
$ac_objext
20794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20795 (eval $ac_compile) 2>conftest.er1
20797 grep -v '^ *+' conftest.er1
>conftest.err
20799 cat conftest.err
>&5
20800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20801 (exit $ac_status); } &&
20802 { ac_try
='test -z "$ac_c_werror_flag"
20803 || test ! -s conftest.err'
20804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20805 (eval $ac_try) 2>&5
20807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20808 (exit $ac_status); }; } &&
20809 { ac_try
='test -s conftest.$ac_objext'
20810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20811 (eval $ac_try) 2>&5
20813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20814 (exit $ac_status); }; }; then
20815 ac_cv_cpp_func
=__FUNCTION__
20817 echo "$as_me: failed program was:" >&5
20818 sed 's/^/| /' conftest.
$ac_ext >&5
20822 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20824 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20826 echo "$as_me:$LINENO: result: $ac_cv_cpp_func" >&5
20827 echo "${ECHO_T}$ac_cv_cpp_func" >&6
20828 if test $ac_cv_cpp_func = __FUNCTION__
; then
20830 cat >>confdefs.h
<<\_ACEOF
20831 #define __func__ __FUNCTION__
20834 elif test $ac_cv_cpp_func = no
; then
20836 cat >>confdefs.h
<<\_ACEOF
20837 #define __func__ ""
20845 cat >>confdefs.h
<<\_ACEOF
20850 cat >>confdefs.h
<<\_ACEOF
20855 cat >>confdefs.h
<<\_ACEOF
20856 #define XML_CONTEXT_BYTES 1024
20860 ac_config_files
="$ac_config_files Makefile"
20862 cat >confcache
<<\_ACEOF
20863 # This file is a shell script that caches the results of configure
20864 # tests run on this system so they can be shared between configure
20865 # scripts and configure runs, see configure's option --config-cache.
20866 # It is not useful on other systems. If it contains results you don't
20867 # want to keep, you may remove or edit it.
20869 # config.status only pays attention to the cache file if you give it
20870 # the --recheck option to rerun configure.
20872 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20873 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20874 # following values.
20878 # The following way of writing the cache mishandles newlines in values,
20879 # but we know of no workaround that is simple, portable, and efficient.
20880 # So, don't put newlines in cache variables' values.
20881 # Ultrix sh set writes to stderr and can't be redirected directly,
20882 # and sets the high bit in the cache file unless we assign to the vars.
20885 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20887 # `set' does not quote correctly, so add quotes (double-quote
20888 # substitution turns \\\\ into \\, and sed turns \\ into \).
20891 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20894 # `set' quotes correctly as required by POSIX, so do not add quotes.
20896 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20903 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20905 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20907 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
20908 if test -w $cache_file; then
20909 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20910 cat confcache
>$cache_file
20912 echo "not updating unwritable cache $cache_file"
20917 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20918 # Let make expand exec_prefix.
20919 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20921 # VPATH may cause trouble with some makes, so we remove $(srcdir),
20922 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
20923 # trailing colons and then remove the whole line if VPATH becomes empty
20924 # (actually we leave an empty line to preserve line numbers).
20925 if test "x$srcdir" = x.
; then
20926 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
20927 s/:*\$(srcdir):*/:/;
20928 s/:*\${srcdir}:*/:/;
20930 s/^\([^=]*=[ ]*\):*/\1/;
20936 DEFS
=-DHAVE_CONFIG_H
20940 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
20941 # 1. Remove the extension, and $U if already installed.
20942 ac_i
=`echo "$ac_i" |
20943 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
20945 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
20946 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
20948 LIBOBJS
=$ac_libobjs
20950 LTLIBOBJS
=$ac_ltlibobjs
20954 : ${CONFIG_STATUS=./config.status}
20955 ac_clean_files_save
=$ac_clean_files
20956 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
20957 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20958 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20959 cat >$CONFIG_STATUS <<_ACEOF
20961 # Generated by $as_me.
20962 # Run this file to recreate the current configuration.
20963 # Compiler output produced by configure, useful for debugging
20964 # configure, is in config.log if it exists.
20967 ac_cs_recheck=false
20969 SHELL=\${CONFIG_SHELL-$SHELL}
20972 cat >>$CONFIG_STATUS <<\_ACEOF
20973 ## --------------------- ##
20974 ## M4sh Initialization. ##
20975 ## --------------------- ##
20977 # Be Bourne compatible
20978 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20981 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20982 # is contrary to our usage. Disable this feature.
20983 alias -g '${1+"$@"}'='"$@"'
20984 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
20987 DUALCASE
=1; export DUALCASE
# for MKS sh
20989 # Support unset when possible.
20990 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
20997 # Work around bugs in pre-3.0 UWIN ksh.
20998 $as_unset ENV MAIL MAILPATH
21005 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21006 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21007 LC_TELEPHONE LC_TIME
21009 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21010 eval $as_var=C
; export $as_var
21016 # Required to use basename.
21017 if expr a
: '\(a\)' >/dev
/null
2>&1; then
21023 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
21024 as_basename
=basename
21030 # Name of the executable.
21031 as_me
=`$as_basename "$0" ||
21032 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21033 X"$0" : 'X\(//\)$' \| \
21034 X"$0" : 'X\(/\)$' \| \
21035 . : '\(.\)' 2>/dev/null ||
21037 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
21038 /^X\/\(\/\/\)$/{ s//\1/; q; }
21039 /^X\/\(\/\).*/{ s//\1/; q; }
21043 # PATH needs CR, and LINENO needs CR and PATH.
21044 # Avoid depending upon Character Ranges.
21045 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
21046 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21047 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
21048 as_cr_digits
='0123456789'
21049 as_cr_alnum
=$as_cr_Letters$as_cr_digits
21051 # The user is always right.
21052 if test "${PATH_SEPARATOR+set}" != set; then
21053 echo "#! /bin/sh" >conf$$.sh
21054 echo "exit 0" >>conf$$.sh
21056 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
21065 as_lineno_1
=$LINENO
21066 as_lineno_2
=$LINENO
21067 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
21068 test "x$as_lineno_1" != "x$as_lineno_2" &&
21069 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
21070 # Find who we are. Look in the path if we contain no path at all
21073 *[\\/]* ) as_myself
=$0 ;;
21074 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21075 for as_dir
in $PATH
21078 test -z "$as_dir" && as_dir
=.
21079 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
21084 # We did not find ourselves, most probably we were run as `sh COMMAND'
21085 # in which case we are not to be found in the path.
21086 if test "x$as_myself" = x
; then
21089 if test ! -f "$as_myself"; then
21090 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
21091 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
21092 { (exit 1); exit 1; }; }
21094 case $CONFIG_SHELL in
21096 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21097 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
21100 test -z "$as_dir" && as_dir
=.
21101 for as_base
in sh bash ksh sh5
; do
21104 if ("$as_dir/$as_base" -c '
21105 as_lineno_1=$LINENO
21106 as_lineno_2=$LINENO
21107 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
21108 test "x$as_lineno_1" != "x$as_lineno_2" &&
21109 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
21110 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
21111 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
21112 CONFIG_SHELL
=$as_dir/$as_base
21113 export CONFIG_SHELL
21114 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
21122 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21123 # uniformly replaced by the line number. The first 'sed' inserts a
21124 # line-number line before each line; the second 'sed' does the real
21125 # work. The second script uses 'N' to pair each line-number line
21126 # with the numbered line, and appends trailing '-' during
21127 # substitution so that $LINENO is not a special case at line end.
21128 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21129 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
21130 sed '=' <$as_myself |
21135 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
21138 s,^['$as_cr_digits']*\n,,
21139 ' >$as_me.lineno
&&
21140 chmod +x
$as_me.lineno ||
21141 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
21142 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
21143 { (exit 1); exit 1; }; }
21145 # Don't try to exec as it changes $[0], causing all sort of problems
21146 # (the dirname of $[0] is not the place where we might find the
21147 # original and so on. Autoconf is especially sensible to this).
21149 # Exit status is that of the last command.
21154 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
21155 *c
*,-n*) ECHO_N
= ECHO_C
='
21157 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
21158 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
21161 if expr a
: '\(a\)' >/dev
/null
2>&1; then
21167 rm -f conf$$ conf$$.exe conf$$.
file
21169 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
21170 # We could just check for DJGPP; but this test a) works b) is more generic
21171 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
21172 if test -f conf$$.exe
; then
21173 # Don't use ln at all; we don't have any links
21178 elif ln conf$$.
file conf$$
2>/dev
/null
; then
21183 rm -f conf$$ conf$$.exe conf$$.
file
21185 if mkdir
-p .
2>/dev
/null
; then
21188 test -d .
/-p && rmdir .
/-p
21192 as_executable_p
="test -f"
21194 # Sed expression to map a string onto a valid CPP name.
21195 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21197 # Sed expression to map a string onto a valid variable name.
21198 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21202 # We need space, tab and new line, in precisely that order.
21212 # Open the log real soon, to keep \$[0] and so on meaningful, and to
21213 # report actual input values of CONFIG_FILES etc. instead of their
21214 # values after options handling. Logging --version etc. is OK.
21218 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21219 ## Running $as_me. ##
21224 This file was extended by expat $as_me 2.0.1, which was
21225 generated by GNU Autoconf 2.59. Invocation command line was
21227 CONFIG_FILES = $CONFIG_FILES
21228 CONFIG_HEADERS = $CONFIG_HEADERS
21229 CONFIG_LINKS = $CONFIG_LINKS
21230 CONFIG_COMMANDS = $CONFIG_COMMANDS
21234 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
21238 # Files that config.status was made for.
21239 if test -n "$ac_config_files"; then
21240 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
21243 if test -n "$ac_config_headers"; then
21244 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
21247 if test -n "$ac_config_links"; then
21248 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
21251 if test -n "$ac_config_commands"; then
21252 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
21255 cat >>$CONFIG_STATUS <<\_ACEOF
21258 \`$as_me' instantiates files from templates according to the
21259 current configuration.
21261 Usage: $0 [OPTIONS] [FILE]...
21263 -h, --help print this help, then exit
21264 -V, --version print version number, then exit
21265 -q, --quiet do not print progress messages
21266 -d, --debug don't remove temporary files
21267 --recheck update $as_me by reconfiguring in the same conditions
21268 --file=FILE[:TEMPLATE]
21269 instantiate the configuration file FILE
21270 --header=FILE[:TEMPLATE]
21271 instantiate the configuration header FILE
21273 Configuration files:
21276 Configuration headers:
21279 Report bugs to <bug-autoconf@gnu.org>."
21282 cat >>$CONFIG_STATUS <<_ACEOF
21284 expat config.status 2.0.1
21285 configured by $0, generated by GNU Autoconf 2.59,
21286 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
21288 Copyright (C) 2003 Free Software Foundation, Inc.
21289 This config.status script is free software; the Free Software Foundation
21290 gives unlimited permission to copy, distribute and modify it."
21295 cat >>$CONFIG_STATUS <<\_ACEOF
21296 # If no file are specified by the user, then we need to provide default
21297 # value. By we need to know if files were specified by the user.
21303 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
21304 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
21312 *) # This is not an option, so the user has probably given explicit
21315 ac_need_defaults
=false
;;
21319 # Handling of the options.
21321 cat >>$CONFIG_STATUS <<\_ACEOF
21322 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
21324 --version |
--vers* |
-V )
21325 echo "$ac_cs_version"; exit 0 ;;
21327 # Conflict between --help and --header
21328 { { echo "$as_me:$LINENO: error: ambiguous option: $1
21329 Try \`$0 --help' for more information." >&5
21330 echo "$as_me: error: ambiguous option: $1
21331 Try \`$0 --help' for more information." >&2;}
21332 { (exit 1); exit 1; }; };;
21333 --help |
--hel |
-h )
21334 echo "$ac_cs_usage"; exit 0 ;;
21335 --debug |
--d* |
-d )
21337 --file |
--fil |
--fi |
--f )
21339 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
21340 ac_need_defaults
=false
;;
21341 --header |
--heade |
--head |
--hea )
21343 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
21344 ac_need_defaults
=false
;;
21345 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
21346 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
21349 # This is an error.
21350 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
21351 Try \`$0 --help' for more information." >&5
21352 echo "$as_me: error: unrecognized option: $1
21353 Try \`$0 --help' for more information." >&2;}
21354 { (exit 1); exit 1; }; } ;;
21356 *) ac_config_targets
="$ac_config_targets $1" ;;
21362 ac_configure_extra_args
=
21364 if $ac_cs_silent; then
21366 ac_configure_extra_args
="$ac_configure_extra_args --silent"
21370 cat >>$CONFIG_STATUS <<_ACEOF
21371 if \$ac_cs_recheck; then
21372 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21373 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21382 cat >>$CONFIG_STATUS <<\_ACEOF
21383 for ac_config_target
in $ac_config_targets
21385 case "$ac_config_target" in
21386 # Handling of arguments.
21387 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
21388 "expat_config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS expat_config.h" ;;
21389 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21390 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21391 { (exit 1); exit 1; }; };;
21395 # If the user did not use the arguments to specify the items to instantiate,
21396 # then the envvar interface is used. Set only those that are not.
21397 # We use the long form for the default assignment because of an extremely
21398 # bizarre bug on SunOS 4.1.3.
21399 if $ac_need_defaults; then
21400 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
21401 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
21404 # Have a temporary directory for convenience. Make it in the build tree
21405 # simply because there is no reason to put it here, and in addition,
21406 # creating and moving files from /tmp can sometimes cause problems.
21407 # Create a temporary directory, and hook for its removal unless debugging.
21410 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
21411 trap '{ (exit 1); exit 1; }' 1 2 13 15
21414 # Create a (secure) tmp directory for tmp files.
21417 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
21418 test -n "$tmp" && test -d "$tmp"
21421 tmp
=.
/confstat$$
-$RANDOM
21422 (umask 077 && mkdir
$tmp)
21425 echo "$me: cannot create a temporary directory in ." >&2
21426 { (exit 1); exit 1; }
21431 cat >>$CONFIG_STATUS <<_ACEOF
21434 # CONFIG_FILES section.
21437 # No need to generate the scripts if there are no CONFIG_FILES.
21438 # This happens for instance when ./config.status config.h
21439 if test -n "\$CONFIG_FILES"; then
21440 # Protect against being on the right side of a sed subst in config.status.
21441 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
21442 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
21443 s,@SHELL@,$SHELL,;t t
21444 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
21445 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
21446 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
21447 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
21448 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
21449 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
21450 s,@exec_prefix@,$exec_prefix,;t t
21451 s,@prefix@,$prefix,;t t
21452 s,@program_transform_name@,$program_transform_name,;t t
21453 s,@bindir@,$bindir,;t t
21454 s,@sbindir@,$sbindir,;t t
21455 s,@libexecdir@,$libexecdir,;t t
21456 s,@datadir@,$datadir,;t t
21457 s,@sysconfdir@,$sysconfdir,;t t
21458 s,@sharedstatedir@,$sharedstatedir,;t t
21459 s,@localstatedir@,$localstatedir,;t t
21460 s,@libdir@,$libdir,;t t
21461 s,@includedir@,$includedir,;t t
21462 s,@oldincludedir@,$oldincludedir,;t t
21463 s,@infodir@,$infodir,;t t
21464 s,@mandir@,$mandir,;t t
21465 s,@build_alias@,$build_alias,;t t
21466 s,@host_alias@,$host_alias,;t t
21467 s,@target_alias@,$target_alias,;t t
21468 s,@DEFS@,$DEFS,;t t
21469 s,@ECHO_C@,$ECHO_C,;t t
21470 s,@ECHO_N@,$ECHO_N,;t t
21471 s,@ECHO_T@,$ECHO_T,;t t
21472 s,@LIBS@,$LIBS,;t t
21473 s,@build@,$build,;t t
21474 s,@build_cpu@,$build_cpu,;t t
21475 s,@build_vendor@,$build_vendor,;t t
21476 s,@build_os@,$build_os,;t t
21477 s,@host@,$host,;t t
21478 s,@host_cpu@,$host_cpu,;t t
21479 s,@host_vendor@,$host_vendor,;t t
21480 s,@host_os@,$host_os,;t t
21482 s,@CFLAGS@,$CFLAGS,;t t
21483 s,@LDFLAGS@,$LDFLAGS,;t t
21484 s,@CPPFLAGS@,$CPPFLAGS,;t t
21485 s,@ac_ct_CC@,$ac_ct_CC,;t t
21486 s,@EXEEXT@,$EXEEXT,;t t
21487 s,@OBJEXT@,$OBJEXT,;t t
21488 s,@EGREP@,$EGREP,;t t
21489 s,@LN_S@,$LN_S,;t t
21490 s,@ECHO@,$ECHO,;t t
21492 s,@ac_ct_AR@,$ac_ct_AR,;t t
21493 s,@RANLIB@,$RANLIB,;t t
21494 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
21495 s,@STRIP@,$STRIP,;t t
21496 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
21497 s,@DLLTOOL@,$DLLTOOL,;t t
21498 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
21500 s,@ac_ct_AS@,$ac_ct_AS,;t t
21501 s,@OBJDUMP@,$OBJDUMP,;t t
21502 s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t
21505 s,@CXXFLAGS@,$CXXFLAGS,;t t
21506 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
21507 s,@CXXCPP@,$CXXCPP,;t t
21509 s,@FFLAGS@,$FFLAGS,;t t
21510 s,@ac_ct_F77@,$ac_ct_F77,;t t
21511 s,@LIBTOOL@,$LIBTOOL,;t t
21512 s,@LIBCURRENT@,$LIBCURRENT,;t t
21513 s,@LIBREVISION@,$LIBREVISION,;t t
21514 s,@LIBAGE@,$LIBAGE,;t t
21515 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
21516 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
21517 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
21518 s,@FILEMAP@,$FILEMAP,;t t
21519 s,@LIBOBJS@,$LIBOBJS,;t t
21520 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
21525 cat >>$CONFIG_STATUS <<\_ACEOF
21526 # Split the substitutions into bite-sized pieces for seds with
21527 # small command number limits, like on Digital OSF/1 and HP-UX.
21528 ac_max_sed_lines
=48
21529 ac_sed_frag
=1 # Number of current file.
21530 ac_beg
=1 # First line for current file.
21531 ac_end
=$ac_max_sed_lines # Line after last line for current file.
21534 while $ac_more_lines; do
21535 if test $ac_beg -gt 1; then
21536 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
21538 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
21540 if test ! -s $tmp/subs.frag
; then
21541 ac_more_lines
=false
21543 # The purpose of the label and of the branching condition is to
21544 # speed up the sed processing (if there are no `@' at all, there
21545 # is no need to browse any of the substitutions).
21546 # These are the two extra sed commands mentioned above.
21548 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
21549 if test -z "$ac_sed_cmds"; then
21550 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
21552 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
21554 ac_sed_frag
=`expr $ac_sed_frag + 1`
21556 ac_end
=`expr $ac_end + $ac_max_sed_lines`
21559 if test -z "$ac_sed_cmds"; then
21562 fi # test -n "$CONFIG_FILES"
21565 cat >>$CONFIG_STATUS <<\_ACEOF
21566 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
21567 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21569 - |
*:- |
*:-:* ) # input from stdin
21571 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21572 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21573 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21574 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21575 * ) ac_file_in
=$ac_file.
in ;;
21578 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
21579 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
21580 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21581 X"$ac_file" : 'X\(//\)[^/]' \| \
21582 X"$ac_file" : 'X\(//\)$' \| \
21583 X"$ac_file" : 'X\(/\)' \| \
21584 . : '\(.\)' 2>/dev/null ||
21586 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21587 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21588 /^X\(\/\/\)$/{ s//\1/; q; }
21589 /^X\(\/\).*/{ s//\1/; q; }
21591 { if $as_mkdir_p; then
21596 while test ! -d "$as_dir"; do
21597 as_dirs
="$as_dir $as_dirs"
21598 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21599 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21600 X"$as_dir" : 'X\(//\)[^/]' \| \
21601 X"$as_dir" : 'X\(//\)$' \| \
21602 X"$as_dir" : 'X\(/\)' \| \
21603 . : '\(.\)' 2>/dev/null ||
21605 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21606 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21607 /^X\(\/\/\)$/{ s//\1/; q; }
21608 /^X\(\/\).*/{ s//\1/; q; }
21611 test ! -n "$as_dirs" || mkdir
$as_dirs
21612 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21613 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21614 { (exit 1); exit 1; }; }; }
21618 if test "$ac_dir" != .
; then
21619 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21620 # A "../" for each directory in $ac_dir_suffix.
21621 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21623 ac_dir_suffix
= ac_top_builddir
=
21627 .
) # No --srcdir option. We are building in place.
21629 if test -z "$ac_top_builddir"; then
21632 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
21634 [\\/]* | ?
:[\\/]* ) # Absolute path.
21635 ac_srcdir
=$srcdir$ac_dir_suffix;
21636 ac_top_srcdir
=$srcdir ;;
21637 *) # Relative path.
21638 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
21639 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
21642 # Do not use `cd foo && pwd` to compute absolute paths, because
21643 # the directories may not exist.
21645 .
) ac_abs_builddir
="$ac_dir";;
21648 .
) ac_abs_builddir
=`pwd`;;
21649 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
21650 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
21653 case $ac_abs_builddir in
21654 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21656 case ${ac_top_builddir}.
in
21657 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
21658 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21659 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
21662 case $ac_abs_builddir in
21663 .
) ac_abs_srcdir
=$ac_srcdir;;
21666 .
) ac_abs_srcdir
=$ac_abs_builddir;;
21667 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
21668 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
21671 case $ac_abs_builddir in
21672 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
21674 case $ac_top_srcdir in
21675 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
21676 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
21677 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
21683 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
21684 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
21687 if test x
"$ac_file" != x-
; then
21688 { echo "$as_me:$LINENO: creating $ac_file" >&5
21689 echo "$as_me: creating $ac_file" >&6;}
21692 # Let's still pretend it is `configure' which instantiates (i.e., don't
21693 # use $as_me), people would be surprised to read:
21694 # /* config.h. Generated by config.status. */
21695 if test x
"$ac_file" = x-
; then
21698 configure_input
="$ac_file. "
21700 configure_input
=$configure_input"Generated from `echo $ac_file_in |
21701 sed 's,.*/,,'` by configure."
21703 # First look for the input files in the build tree, otherwise in the
21705 ac_file_inputs
=`IFS=:
21706 for f in $ac_file_in; do
21708 -) echo $tmp/stdin ;;
21710 # Absolute (can't be DOS-style, as IFS=:)
21711 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21712 echo "$as_me: error: cannot find input file: $f" >&2;}
21713 { (exit 1); exit 1; }; }
21716 if test -f "$f"; then
21719 elif test -f "$srcdir/$f"; then
21724 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21725 echo "$as_me: error: cannot find input file: $f" >&2;}
21726 { (exit 1); exit 1; }; }
21729 done` ||
{ (exit 1); exit 1; }
21731 cat >>$CONFIG_STATUS <<_ACEOF
21735 cat >>$CONFIG_STATUS <<\_ACEOF
21737 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
21738 s
,@configure_input@
,$configure_input,;t t
21739 s
,@srcdir@
,$ac_srcdir,;t t
21740 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
21741 s
,@top_srcdir@
,$ac_top_srcdir,;t t
21742 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
21743 s
,@builddir@
,$ac_builddir,;t t
21744 s
,@abs_builddir@
,$ac_abs_builddir,;t t
21745 s
,@top_builddir@
,$ac_top_builddir,;t t
21746 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
21747 s
,@INSTALL@
,$ac_INSTALL,;t t
21748 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
21750 if test x"$ac_file" != x-; then
21751 mv $tmp/out $ac_file
21759 cat >>$CONFIG_STATUS <<\_ACEOF
21762 # CONFIG_HEADER section.
21765 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
21766 # NAME is the cpp macro being defined and VALUE is the value it is being given.
21768 # ac_d sets the value in "#define NAME VALUE" lines.
21769 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
21770 ac_dB
='[ ].*$,\1#\2'
21773 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21774 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21775 ac_uB
='$,\1#\2define\3'
21779 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
21780 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21782 - |
*:- |
*:-:* ) # input from stdin
21784 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21785 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21786 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21787 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21788 * ) ac_file_in
=$ac_file.
in ;;
21791 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
21792 echo "$as_me: creating $ac_file" >&6;}
21794 # First look for the input files in the build tree, otherwise in the
21796 ac_file_inputs
=`IFS=:
21797 for f in $ac_file_in; do
21799 -) echo $tmp/stdin ;;
21801 # Absolute (can't be DOS-style, as IFS=:)
21802 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21803 echo "$as_me: error: cannot find input file: $f" >&2;}
21804 { (exit 1); exit 1; }; }
21805 # Do quote $f, to prevent DOS paths from being IFS'd.
21808 if test -f "$f"; then
21811 elif test -f "$srcdir/$f"; then
21816 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21817 echo "$as_me: error: cannot find input file: $f" >&2;}
21818 { (exit 1); exit 1; }; }
21821 done` ||
{ (exit 1); exit 1; }
21822 # Remove the trailing spaces.
21823 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
21827 # Transform confdefs.h into two sed scripts, `conftest.defines' and
21828 # `conftest.undefs', that substitutes the proper values into
21829 # config.h.in to produce config.h. The first handles `#define'
21830 # templates, and the second `#undef' templates.
21831 # And first: Protect against being on the right side of a sed subst in
21832 # config.status. Protect against being in an unquoted here document
21833 # in config.status.
21834 rm -f conftest.defines conftest.undefs
21835 # Using a here document instead of a string reduces the quoting nightmare.
21836 # Putting comments in sed scripts is not portable.
21838 # `end' is used to avoid that the second main sed command (meant for
21839 # 0-ary CPP macros) applies to n-ary macro definitions.
21840 # See the Autoconf documentation for `clear'.
21841 cat >confdef2sed.
sed <<\_ACEOF
21846 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
21848 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
21851 # If some macros were called several times there might be several times
21852 # the same #defines, which is useless. Nevertheless, we may not want to
21853 # sort them, since we want the *last* AC-DEFINE to be honored.
21854 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
21855 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
21856 rm -f confdef2sed.sed
21858 # This sed command replaces #undef with comments. This is necessary, for
21859 # example, in the case of _POSIX_SOURCE, which is predefined and required
21860 # on some systems where configure will not decide to define it.
21861 cat >>conftest.undefs <<\_ACEOF
21862 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
21865 # Break up conftest.defines because some shells have a limit on the size
21866 # of here documents, and old seds have small limits too (100 cmds).
21867 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
21868 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
21869 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
21870 echo ' :' >>$CONFIG_STATUS
21871 rm -f conftest.tail
21872 while grep . conftest.defines >/dev/null
21874 # Write a limited-size here document to $tmp/defines.sed.
21875 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
21876 # Speed up: don't consider the non `#define' lines.
21877 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
21878 # Work around the forget-to-reset-the-flag bug.
21879 echo 't clr' >>$CONFIG_STATUS
21880 echo ': clr' >>$CONFIG_STATUS
21881 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
21883 sed -f $tmp/defines.sed $tmp/in >$tmp/out
21885 mv $tmp/out $tmp/in
21887 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
21888 rm -f conftest.defines
21889 mv conftest.
tail conftest.defines
21891 rm -f conftest.defines
21892 echo ' fi # grep' >>$CONFIG_STATUS
21893 echo >>$CONFIG_STATUS
21895 # Break up conftest.undefs because some shells have a limit on the size
21896 # of here documents, and old seds have small limits too (100 cmds).
21897 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
21898 rm -f conftest.
tail
21899 while grep . conftest.undefs
>/dev
/null
21901 # Write a limited-size here document to $tmp/undefs.sed.
21902 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
21903 # Speed up: don't consider the non
`#undef'
21904 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
21905 # Work around the forget-to-reset-the-flag bug.
21906 echo 't clr' >>$CONFIG_STATUS
21907 echo ': clr' >>$CONFIG_STATUS
21908 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
21910 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
21912 mv $tmp/out $tmp/in
21914 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
21915 rm -f conftest.undefs
21916 mv conftest.tail conftest.undefs
21918 rm -f conftest.undefs
21920 cat >>$CONFIG_STATUS <<\_ACEOF
21921 # Let's still pretend it is `configure
' which instantiates (i.e., don't
21922 # use $as_me), people would be surprised to read:
21923 # /* config.h. Generated by config.status. */
21924 if test x
"$ac_file" = x-
; then
21925 echo "/* Generated by configure. */" >$tmp/config.h
21927 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
21929 cat $tmp/in >>$tmp/config.h
21931 if test x
"$ac_file" != x-
; then
21932 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
21933 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21934 echo "$as_me: $ac_file is unchanged" >&6;}
21936 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
21937 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21938 X"$ac_file" : 'X\(//\)[^/]' \| \
21939 X"$ac_file" : 'X\(//\)$' \| \
21940 X"$ac_file" : 'X\(/\)' \| \
21941 . : '\(.\)' 2>/dev/null ||
21943 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21944 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21945 /^X\(\/\/\)$/{ s//\1/; q; }
21946 /^X\(\/\).*/{ s//\1/; q; }
21948 { if $as_mkdir_p; then
21953 while test ! -d "$as_dir"; do
21954 as_dirs
="$as_dir $as_dirs"
21955 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21956 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21957 X"$as_dir" : 'X\(//\)[^/]' \| \
21958 X"$as_dir" : 'X\(//\)$' \| \
21959 X"$as_dir" : 'X\(/\)' \| \
21960 . : '\(.\)' 2>/dev/null ||
21962 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21963 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21964 /^X\(\/\/\)$/{ s//\1/; q; }
21965 /^X\(\/\).*/{ s//\1/; q; }
21968 test ! -n "$as_dirs" || mkdir
$as_dirs
21969 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21970 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21971 { (exit 1); exit 1; }; }; }
21974 mv $tmp/config.h
$ac_file
21978 rm -f $tmp/config.h
21983 cat >>$CONFIG_STATUS <<\_ACEOF
21985 { (exit 0); exit 0; }
21987 chmod +x
$CONFIG_STATUS
21988 ac_clean_files
=$ac_clean_files_save
21991 # configure is writing to config.log, and then calls config.status.
21992 # config.status does its own redirection, appending to config.log.
21993 # Unfortunately, on DOS this fails, as config.log is still kept open
21994 # by configure, so config.status won't be able to write to it; its
21995 # output is simply discarded. So we exec the FD to /dev/null,
21996 # effectively closing config.log, so it can be properly (re)opened and
21997 # appended to by config.status. When coming back to configure, we
21998 # need to make the FD available again.
21999 if test "$no_create" != yes; then
22001 ac_config_status_args
=
22002 test "$silent" = yes &&
22003 ac_config_status_args
="$ac_config_status_args --quiet"
22005 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22007 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22008 # would make configure fail if this is the last instruction.
22009 $ac_cs_success ||
{ (exit 1); exit 1; }
22013 abs_srcdir
="`cd $srcdir && pwd`"
22014 abs_builddir
="`pwd`"
22015 if test "$abs_srcdir" != "$abs_builddir"; then