2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # Check that we are running under the correct shell.
246 SHELL
=${CONFIG_SHELL-/bin/sh}
250 # Remove one level of quotation (which was required for Make).
251 ECHO
=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
256 if test "X$1" = X--no-reexec
; then
257 # Discard the --no-reexec flag, and continue.
259 elif test "X$1" = X--fallback-echo
; then
260 # Avoid inline document here, it may be left over
262 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
263 # Yippee, $echo works!
266 # Restart under the correct shell.
267 exec $SHELL "$0" --no-reexec ${1+"$@"}
270 if test "X$1" = X--fallback-echo
; then
271 # used as fallback echo
279 # The HP-UX ksh and POSIX shell print the target directory to stdout
281 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
283 if test -z "$ECHO"; then
284 if test "X${echo_test_string+set}" != Xset
; then
285 # find a string as large as possible, as long as the shell can cope with it
286 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
287 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
288 if (echo_test_string
="`eval $cmd`") 2>/dev
/null
&&
289 echo_test_string
="`eval $cmd`" &&
290 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev
/null
297 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
298 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
299 test "X$echo_testing_string" = "X$echo_test_string"; then
302 # The Solaris, AIX, and Digital Unix default echo programs unquote
303 # backslashes. This makes it impossible to quote backslashes using
304 # echo "$something" | sed 's/\\/\\\\/g'
306 # So, first we look for a working echo in the user's PATH.
308 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
309 for dir
in $PATH /usr
/ucb
; do
311 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
312 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
313 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
314 test "X$echo_testing_string" = "X$echo_test_string"; then
321 if test "X$echo" = Xecho
; then
322 # We didn't find a better echo, so look for alternatives.
323 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
324 echo_testing_string
=`(print -r "$echo_test_string") 2>/dev/null` &&
325 test "X$echo_testing_string" = "X$echo_test_string"; then
326 # This shell has a builtin print -r that does the trick.
328 elif (test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext) &&
329 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
330 # If we have ksh, try running configure again with it.
331 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
332 export ORIGINAL_CONFIG_SHELL
333 CONFIG_SHELL
=/bin
/ksh
335 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
339 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
340 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
341 test "X$echo_testing_string" = "X$echo_test_string"; then
344 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
345 test "X$echo_testing_string" = 'X\t' &&
346 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
347 test "X$echo_testing_string" = "X$echo_test_string"; then
348 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
350 SHELL
="$CONFIG_SHELL"
352 echo="$CONFIG_SHELL $0 --fallback-echo"
353 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
354 test "X$echo_testing_string" = 'X\t' &&
355 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
356 test "X$echo_testing_string" = "X$echo_test_string"; then
357 echo="$CONFIG_SHELL $0 --fallback-echo"
359 # maybe with a smaller string...
362 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
363 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev
/null
370 if test "$prev" != 'sed 50q "$0"'; then
371 echo_test_string
=`eval $prev`
372 export echo_test_string
373 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
375 # Oops. We lost completely, so just stick with echo.
384 # Copy echo and quote the copy suitably for passing to libtool from
385 # the Makefile, instead of quoting the original, which is used later.
387 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
388 ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
394 tagnames
=${tagnames+${tagnames},}CXX
396 tagnames
=${tagnames+${tagnames},}F77
399 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
400 # so uname gets run too.
401 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
408 ac_default_prefix
=/usr
/local
409 ac_config_libobj_dir
=.
414 SHELL
=${CONFIG_SHELL-/bin/sh}
416 # Maximum number of lines to put in a shell here document.
417 # This variable seems obsolete. It should probably be removed, and
418 # only ac_max_sed_lines should be used.
419 : ${ac_max_here_lines=38}
421 # Identity of this package.
428 ac_unique_file
="configure.ac"
429 # Factoring default headers for most tests.
430 ac_includes_default
="\
433 # include <sys/types.h>
436 # include <sys/stat.h>
447 # if !STDC_HEADERS && HAVE_MEMORY_H
453 # include <strings.h>
456 # include <inttypes.h>
466 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE build build_cpu build_vendor build_os host host_cpu host_vendor host_os EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL LIBRPATHX LTLIBRPATHX LIBRPATHY LTLIBRPATHY global_top_auxdir LIBOBJS LTLIBOBJS'
469 # Initialize some variables set by options.
471 ac_init_version
=false
472 # The variables have the same names as the options, with
473 # dashes changed to underlines.
481 program_transform_name
=s
,x
,x
,
489 # Installation directory options.
490 # These are left unexpanded so users can "make install exec_prefix=/foo"
491 # and all the variables that are supposed to be based on exec_prefix
492 # by default will actually change.
493 # Use braces instead of parens because sh, perl, etc. also accept them.
494 bindir
='${exec_prefix}/bin'
495 sbindir
='${exec_prefix}/sbin'
496 libexecdir
='${exec_prefix}/libexec'
497 datadir
='${prefix}/share'
498 sysconfdir
='${prefix}/etc'
499 sharedstatedir
='${prefix}/com'
500 localstatedir
='${prefix}/var'
501 libdir
='${exec_prefix}/lib'
502 includedir
='${prefix}/include'
503 oldincludedir
='/usr/include'
504 infodir
='${prefix}/info'
505 mandir
='${prefix}/man'
510 # If the previous option needs an argument, assign it.
511 if test -n "$ac_prev"; then
512 eval "$ac_prev=\$ac_option"
517 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
519 # Accept the important Cygnus configure options, so we can diagnose typos.
523 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
525 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
528 -build |
--build |
--buil |
--bui |
--bu)
529 ac_prev
=build_alias
;;
530 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
531 build_alias
=$ac_optarg ;;
533 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
534 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
535 ac_prev
=cache_file
;;
536 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
537 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
538 cache_file
=$ac_optarg ;;
541 cache_file
=config.cache
;;
543 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
545 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
547 datadir
=$ac_optarg ;;
549 -disable-* |
--disable-*)
550 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
551 # Reject names that are not valid shell variable names.
552 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
553 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
554 { (exit 1); exit 1; }; }
555 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
556 eval "enable_$ac_feature=no" ;;
558 -enable-* |
--enable-*)
559 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
560 # Reject names that are not valid shell variable names.
561 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
562 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
563 { (exit 1); exit 1; }; }
564 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
566 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
569 eval "enable_$ac_feature='$ac_optarg'" ;;
571 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
572 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
573 |
--exec |
--exe |
--ex)
574 ac_prev
=exec_prefix
;;
575 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
576 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
577 |
--exec=* |
--exe=* |
--ex=*)
578 exec_prefix
=$ac_optarg ;;
580 -gas |
--gas |
--ga |
--g)
581 # Obsolete; use --with-gas.
584 -help |
--help |
--hel |
--he |
-h)
586 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
587 ac_init_help
=recursive
;;
588 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
589 ac_init_help
=short
;;
591 -host |
--host |
--hos |
--ho)
592 ac_prev
=host_alias
;;
593 -host=* |
--host=* |
--hos=* |
--ho=*)
594 host_alias
=$ac_optarg ;;
596 -includedir |
--includedir |
--includedi |
--included |
--include \
597 |
--includ |
--inclu |
--incl |
--inc)
598 ac_prev
=includedir
;;
599 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
600 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
601 includedir
=$ac_optarg ;;
603 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
605 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
606 infodir
=$ac_optarg ;;
608 -libdir |
--libdir |
--libdi |
--libd)
610 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
613 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
614 |
--libexe |
--libex |
--libe)
615 ac_prev
=libexecdir
;;
616 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
617 |
--libexe=* |
--libex=* |
--libe=*)
618 libexecdir
=$ac_optarg ;;
620 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
621 |
--localstate |
--localstat |
--localsta |
--localst \
622 |
--locals |
--local |
--loca |
--loc |
--lo)
623 ac_prev
=localstatedir
;;
624 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
625 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
626 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
627 localstatedir
=$ac_optarg ;;
629 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
631 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
635 # Obsolete; use --without-fp.
638 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
639 |
--no-cr |
--no-c |
-n)
642 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
643 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
646 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
647 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
648 |
--oldin |
--oldi |
--old |
--ol |
--o)
649 ac_prev
=oldincludedir
;;
650 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
651 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
652 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
653 oldincludedir
=$ac_optarg ;;
655 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
657 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
660 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
661 |
--program-pre |
--program-pr |
--program-p)
662 ac_prev
=program_prefix
;;
663 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
664 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
665 program_prefix
=$ac_optarg ;;
667 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
668 |
--program-suf |
--program-su |
--program-s)
669 ac_prev
=program_suffix
;;
670 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
671 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
672 program_suffix
=$ac_optarg ;;
674 -program-transform-name |
--program-transform-name \
675 |
--program-transform-nam |
--program-transform-na \
676 |
--program-transform-n |
--program-transform- \
677 |
--program-transform |
--program-transfor \
678 |
--program-transfo |
--program-transf \
679 |
--program-trans |
--program-tran \
680 |
--progr-tra |
--program-tr |
--program-t)
681 ac_prev
=program_transform_name
;;
682 -program-transform-name=* |
--program-transform-name=* \
683 |
--program-transform-nam=* |
--program-transform-na=* \
684 |
--program-transform-n=* |
--program-transform-=* \
685 |
--program-transform=* |
--program-transfor=* \
686 |
--program-transfo=* |
--program-transf=* \
687 |
--program-trans=* |
--program-tran=* \
688 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
689 program_transform_name
=$ac_optarg ;;
691 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
692 |
-silent |
--silent |
--silen |
--sile |
--sil)
695 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
697 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
699 sbindir
=$ac_optarg ;;
701 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
702 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
703 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
705 ac_prev
=sharedstatedir
;;
706 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
707 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
708 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
710 sharedstatedir
=$ac_optarg ;;
712 -site |
--site |
--sit)
714 -site=* |
--site=* |
--sit=*)
717 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
719 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
722 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
723 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
724 ac_prev
=sysconfdir
;;
725 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
726 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
727 sysconfdir
=$ac_optarg ;;
729 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
730 ac_prev
=target_alias
;;
731 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
732 target_alias
=$ac_optarg ;;
734 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
737 -version |
--version |
--versio |
--versi |
--vers |
-V)
741 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
742 # Reject names that are not valid shell variable names.
743 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
744 { echo "$as_me: error: invalid package name: $ac_package" >&2
745 { (exit 1); exit 1; }; }
746 ac_package
=`echo $ac_package| sed 's/-/_/g'`
748 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
751 eval "with_$ac_package='$ac_optarg'" ;;
753 -without-* |
--without-*)
754 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
755 # Reject names that are not valid shell variable names.
756 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
757 { echo "$as_me: error: invalid package name: $ac_package" >&2
758 { (exit 1); exit 1; }; }
759 ac_package
=`echo $ac_package | sed 's/-/_/g'`
760 eval "with_$ac_package=no" ;;
763 # Obsolete; use --with-x.
766 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
767 |
--x-incl |
--x-inc |
--x-in |
--x-i)
768 ac_prev
=x_includes
;;
769 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
770 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
771 x_includes
=$ac_optarg ;;
773 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
774 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
775 ac_prev
=x_libraries
;;
776 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
777 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
778 x_libraries
=$ac_optarg ;;
780 -*) { echo "$as_me: error: unrecognized option: $ac_option
781 Try \`$0 --help' for more information." >&2
782 { (exit 1); exit 1; }; }
786 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
787 # Reject names that are not valid shell variable names.
788 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
789 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
790 { (exit 1); exit 1; }; }
791 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
792 eval "$ac_envvar='$ac_optarg'"
796 # FIXME: should be removed in autoconf 3.0.
797 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
798 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
799 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
800 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
806 if test -n "$ac_prev"; then
807 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
808 { echo "$as_me: error: missing argument to $ac_option" >&2
809 { (exit 1); exit 1; }; }
812 # Be sure to have absolute paths.
813 for ac_var
in exec_prefix prefix
815 eval ac_val
=$
`echo $ac_var`
817 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
818 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
819 { (exit 1); exit 1; }; };;
823 # Be sure to have absolute paths.
824 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
825 localstatedir libdir includedir oldincludedir infodir mandir
827 eval ac_val
=$
`echo $ac_var`
829 [\\/$
]* | ?
:[\\/]* ) ;;
830 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
831 { (exit 1); exit 1; }; };;
835 # There might be people who depend on the old broken behavior: `$host'
836 # used to hold the argument of --host etc.
837 # FIXME: To remove some day.
842 # FIXME: To remove some day.
843 if test "x$host_alias" != x
; then
844 if test "x$build_alias" = x
; then
845 cross_compiling
=maybe
846 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
847 If a cross compiler is detected then cross compile mode will be used." >&2
848 elif test "x$build_alias" != "x$host_alias"; then
854 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
856 test "$silent" = yes && exec 6>/dev
/null
859 # Find the source files, if location was not specified.
860 if test -z "$srcdir"; then
861 ac_srcdir_defaulted
=yes
862 # Try the directory containing this script, then its parent.
863 ac_confdir
=`(dirname "$0") 2>/dev/null ||
864 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
865 X"$0" : 'X\(//\)[^/]' \| \
866 X"$0" : 'X\(//\)$' \| \
867 X"$0" : 'X\(/\)' \| \
868 . : '\(.\)' 2>/dev/null ||
870 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
871 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
872 /^X\(\/\/\)$/{ s//\1/; q; }
873 /^X\(\/\).*/{ s//\1/; q; }
876 if test ! -r $srcdir/$ac_unique_file; then
880 ac_srcdir_defaulted
=no
882 if test ! -r $srcdir/$ac_unique_file; then
883 if test "$ac_srcdir_defaulted" = yes; then
884 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
885 { (exit 1); exit 1; }; }
887 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
888 { (exit 1); exit 1; }; }
891 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
892 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
893 { (exit 1); exit 1; }; }
894 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
895 ac_env_build_alias_set
=${build_alias+set}
896 ac_env_build_alias_value
=$build_alias
897 ac_cv_env_build_alias_set
=${build_alias+set}
898 ac_cv_env_build_alias_value
=$build_alias
899 ac_env_host_alias_set
=${host_alias+set}
900 ac_env_host_alias_value
=$host_alias
901 ac_cv_env_host_alias_set
=${host_alias+set}
902 ac_cv_env_host_alias_value
=$host_alias
903 ac_env_target_alias_set
=${target_alias+set}
904 ac_env_target_alias_value
=$target_alias
905 ac_cv_env_target_alias_set
=${target_alias+set}
906 ac_cv_env_target_alias_value
=$target_alias
907 ac_env_CC_set
=${CC+set}
909 ac_cv_env_CC_set
=${CC+set}
910 ac_cv_env_CC_value
=$CC
911 ac_env_CFLAGS_set
=${CFLAGS+set}
912 ac_env_CFLAGS_value
=$CFLAGS
913 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
914 ac_cv_env_CFLAGS_value
=$CFLAGS
915 ac_env_LDFLAGS_set
=${LDFLAGS+set}
916 ac_env_LDFLAGS_value
=$LDFLAGS
917 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
918 ac_cv_env_LDFLAGS_value
=$LDFLAGS
919 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
920 ac_env_CPPFLAGS_value
=$CPPFLAGS
921 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
922 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
923 ac_env_CPP_set
=${CPP+set}
924 ac_env_CPP_value
=$CPP
925 ac_cv_env_CPP_set
=${CPP+set}
926 ac_cv_env_CPP_value
=$CPP
927 ac_env_CXX_set
=${CXX+set}
928 ac_env_CXX_value
=$CXX
929 ac_cv_env_CXX_set
=${CXX+set}
930 ac_cv_env_CXX_value
=$CXX
931 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
932 ac_env_CXXFLAGS_value
=$CXXFLAGS
933 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
934 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
935 ac_env_CXXCPP_set
=${CXXCPP+set}
936 ac_env_CXXCPP_value
=$CXXCPP
937 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
938 ac_cv_env_CXXCPP_value
=$CXXCPP
939 ac_env_F77_set
=${F77+set}
940 ac_env_F77_value
=$F77
941 ac_cv_env_F77_set
=${F77+set}
942 ac_cv_env_F77_value
=$F77
943 ac_env_FFLAGS_set
=${FFLAGS+set}
944 ac_env_FFLAGS_value
=$FFLAGS
945 ac_cv_env_FFLAGS_set
=${FFLAGS+set}
946 ac_cv_env_FFLAGS_value
=$FFLAGS
949 # Report the --help message.
951 if test "$ac_init_help" = "long"; then
952 # Omit some internal or obsolete options to make the list less imposing.
953 # This message is too long to be a string in the A/UX 3.1 sh.
955 \`configure' configures this package to adapt to many kinds of systems.
957 Usage: $0 [OPTION]... [VAR=VALUE]...
959 To assign environment variables (e.g., CC, CFLAGS...), specify them as
960 VAR=VALUE. See below for descriptions of some of the useful variables.
962 Defaults for the options are specified in brackets.
965 -h, --help display this help and exit
966 --help=short display options specific to this package
967 --help=recursive display the short help of all the included packages
968 -V, --version display version information and exit
969 -q, --quiet, --silent do not print \`checking...' messages
970 --cache-file=FILE cache test results in FILE [disabled]
971 -C, --config-cache alias for \`--cache-file=config.cache'
972 -n, --no-create do not create output files
973 --srcdir=DIR find the sources in DIR [configure dir or \`..']
978 Installation directories:
979 --prefix=PREFIX install architecture-independent files in PREFIX
981 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
984 By default, \`make install' will install all the files in
985 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
986 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
987 for instance \`--prefix=\$HOME'.
989 For better control, use the options below.
991 Fine tuning of the installation directories:
992 --bindir=DIR user executables [EPREFIX/bin]
993 --sbindir=DIR system admin executables [EPREFIX/sbin]
994 --libexecdir=DIR program executables [EPREFIX/libexec]
995 --datadir=DIR read-only architecture-independent data [PREFIX/share]
996 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
997 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
998 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
999 --libdir=DIR object code libraries [EPREFIX/lib]
1000 --includedir=DIR C header files [PREFIX/include]
1001 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1002 --infodir=DIR info documentation [PREFIX/info]
1003 --mandir=DIR man documentation [PREFIX/man]
1009 --program-prefix=PREFIX prepend PREFIX to installed program names
1010 --program-suffix=SUFFIX append SUFFIX to installed program names
1011 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1014 --build=BUILD configure
for building on BUILD
[guessed
]
1015 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1019 if test -n "$ac_init_help"; then
1024 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1025 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1026 --disable-dependency-tracking speeds up one-time build
1027 --enable-dependency-tracking do not reject slow dependency extractors
1028 --enable-shared[=PKGS
]
1029 build shared libraries
[default
=yes]
1030 --enable-static[=PKGS
]
1031 build static libraries
[default
=yes]
1032 --enable-fast-install[=PKGS
]
1033 optimize
for fast installation
[default
=yes]
1034 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1035 --disable-rpath do not hardcode runtime library paths
1038 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1039 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1040 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1041 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1044 include additional configurations
[automatic
]
1045 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1046 --with-librpathx-prefix[=DIR
] search
for librpathx
in DIR
/include and DIR
/lib
1047 --without-librpathx-prefix don
't search for librpathx in includedir and libdir
1048 --with-librpathy-prefix[=DIR] search for librpathy in DIR/include and DIR/lib
1049 --without-librpathy-prefix don't search
for librpathy
in includedir and libdir
1051 Some influential environment variables
:
1052 CC C compiler
command
1053 CFLAGS C compiler flags
1054 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1055 nonstandard directory
<lib dir
>
1056 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1057 headers
in a nonstandard directory
<include dir
>
1059 CXX C
++ compiler
command
1060 CXXFLAGS C
++ compiler flags
1061 CXXCPP C
++ preprocessor
1062 F77 Fortran
77 compiler
command
1063 FFLAGS Fortran
77 compiler flags
1065 Use these variables to override the choices made by
`configure' or to help
1066 it to find libraries and programs with nonstandard names/locations.
1071 if test "$ac_init_help" = "recursive"; then
1072 # If there are subdirs, report their specific --help.
1074 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1075 test -d $ac_dir || continue
1078 if test "$ac_dir" != .; then
1079 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1080 # A "../" for each directory in $ac_dir_suffix.
1081 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
1083 ac_dir_suffix= ac_top_builddir=
1087 .) # No --srcdir option. We are building in place.
1089 if test -z "$ac_top_builddir"; then
1092 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
1094 [\\/]* | ?:[\\/]* ) # Absolute path.
1095 ac_srcdir=$srcdir$ac_dir_suffix;
1096 ac_top_srcdir=$srcdir ;;
1098 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1099 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1102 # Do not use `cd foo
&& pwd` to compute absolute paths, because
1103 # the directories may not exist.
1105 .) ac_abs_builddir="$ac_dir";;
1108 .) ac_abs_builddir=`pwd`;;
1109 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1110 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1113 case $ac_abs_builddir in
1114 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1116 case ${ac_top_builddir}. in
1117 .) ac_abs_top_builddir=$ac_abs_builddir;;
1118 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1119 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1122 case $ac_abs_builddir in
1123 .) ac_abs_srcdir=$ac_srcdir;;
1126 .) ac_abs_srcdir=$ac_abs_builddir;;
1127 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1128 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1131 case $ac_abs_builddir in
1132 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1134 case $ac_top_srcdir in
1135 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1136 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1137 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1142 # Check for guested configure; otherwise get Cygnus style configure.
1143 if test -f $ac_srcdir/configure.gnu; then
1145 $SHELL $ac_srcdir/configure.gnu --help=recursive
1146 elif test -f $ac_srcdir/configure; then
1148 $SHELL $ac_srcdir/configure --help=recursive
1149 elif test -f $ac_srcdir/configure.ac ||
1150 test -f $ac_srcdir/configure.in; then
1152 $ac_configure --help
1154 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1160 test -n "$ac_init_help" && exit 0
1161 if $ac_init_version; then
1164 Copyright (C) 2003 Free Software Foundation, Inc.
1165 This configure script is free software; the Free Software Foundation
1166 gives unlimited permission to copy, distribute and modify it.
1172 This file contains any messages produced by compilers while
1173 running configure, to aid debugging if configure makes a mistake.
1175 It was created by $as_me, which was
1176 generated by GNU Autoconf 2.59. Invocation command line was
1187 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1188 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1189 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1190 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1191 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1193 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1194 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1196 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1197 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1198 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1199 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1200 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1201 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1202 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1210 test -z "$as_dir" && as_dir=.
1211 echo "PATH: $as_dir"
1226 # Keep a trace of the command line.
1227 # Strip out --no-create and --no-recursion so they do not pile up.
1228 # Strip out --silent because we don't want to record it for future runs.
1229 # Also quote any args containing shell meta-characters.
1230 # Make two passes to allow for proper duplicate-argument suppression.
1235 ac_must_keep_next=false
1241 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1242 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1243 | -silent | --silent | --silen | --sile | --sil)
1245 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1246 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1249 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1251 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1252 if test $ac_must_keep_next = true; then
1253 ac_must_keep_next=false # Got value, back to normal.
1256 *=* | --config-cache | -C | -disable-* | --disable-* \
1257 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1258 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1259 | -with-* | --with-* | -without-* | --without-* | --x)
1260 case "$ac_configure_args0 " in
1261 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1264 -* ) ac_must_keep_next=true ;;
1267 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1268 # Get rid of the leading space.
1274 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1275 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1277 # When interrupted or exit'd, cleanup temporary files, and complete
1278 # config.log. We remove comments because anyway the quotes in there
1279 # would cause problems or look ugly.
1280 # WARNING: Be sure not to use single quotes in there, as some shells,
1281 # such as our DU 5.0 friend, will then `close
' the trap.
1282 trap 'exit_status
=$?
1283 # Save into config.log some information that might help in debugging.
1288 ## ---------------- ##
1289 ## Cache variables. ##
1290 ## ---------------- ##
1293 # The following way of writing the cache mishandles newlines in values,
1296 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1299 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1300 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1304 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1311 ## ----------------- ##
1312 ## Output variables. ##
1313 ## ----------------- ##
1316 for ac_var
in $ac_subst_vars
1318 eval ac_val
=$
`echo $ac_var`
1319 echo "$ac_var='"'"'$ac_val'"'"'"
1323 if test -n "$ac_subst_files"; then
1330 for ac_var
in $ac_subst_files
1332 eval ac_val
=$
`echo $ac_var`
1333 echo "$ac_var='"'"'$ac_val'"'"'"
1338 if test -s confdefs.h
; then
1345 sed "/^$/d" confdefs.h |
sort
1348 test "$ac_signal" != 0 &&
1349 echo "$as_me: caught signal $ac_signal"
1350 echo "$as_me: exit $exit_status"
1352 rm -f core
*.core
&&
1353 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1356 for ac_signal in 1 2 13 15; do
1357 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1361 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1362 rm -rf conftest* confdefs.h
1363 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1366 # Predefined preprocessor variables.
1368 cat >>confdefs.h <<_ACEOF
1369 #define PACKAGE_NAME "$PACKAGE_NAME"
1373 cat >>confdefs.h <<_ACEOF
1374 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1378 cat >>confdefs.h <<_ACEOF
1379 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1383 cat >>confdefs.h <<_ACEOF
1384 #define PACKAGE_STRING "$PACKAGE_STRING"
1388 cat >>confdefs.h <<_ACEOF
1389 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1393 # Let the site file select an alternate cache file if it wants to.
1394 # Prefer explicitly selected file to automatically selected ones.
1395 if test -z "$CONFIG_SITE"; then
1396 if test "x$prefix" != xNONE; then
1397 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1399 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1402 for ac_site_file in $CONFIG_SITE; do
1403 if test -r "$ac_site_file"; then
1404 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1405 echo "$as_me: loading site script $ac_site_file" >&6;}
1406 sed 's
/^
/|
/' "$ac_site_file" >&5
1411 if test -r "$cache_file"; then
1412 # Some versions of bash will fail to source /dev/null (special
1413 # files actually), so we avoid doing that.
1414 if test -f "$cache_file"; then
1415 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1416 echo "$as_me: loading cache $cache_file" >&6;}
1418 [\\/]* | ?:[\\/]* ) . $cache_file;;
1419 *) . ./$cache_file;;
1423 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1424 echo "$as_me: creating cache $cache_file" >&6;}
1428 # Check that the precious variables saved in the cache have kept the same
1430 ac_cache_corrupted=false
1431 for ac_var in `(set) 2>&1 |
1432 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1433 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1434 eval ac_new_set=\$ac_env_${ac_var}_set
1435 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1436 eval ac_new_val="\$ac_env_${ac_var}_value"
1437 case $ac_old_set,$ac_new_set in
1439 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1440 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1441 ac_cache_corrupted=: ;;
1443 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1444 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1445 ac_cache_corrupted=: ;;
1448 if test "x$ac_old_val" != "x$ac_new_val"; then
1449 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1450 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1451 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1452 echo "$as_me: former value: $ac_old_val" >&2;}
1453 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1454 echo "$as_me: current value: $ac_new_val" >&2;}
1455 ac_cache_corrupted=:
1458 # Pass precious variables to config.status.
1459 if test "$ac_new_set" = set; then
1461 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1462 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1463 *) ac_arg=$ac_var=$ac_new_val ;;
1465 case " $ac_configure_args " in
1466 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1467 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1471 if $ac_cache_corrupted; then
1472 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1473 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1474 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1475 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1476 { (exit 1); exit 1; }; }
1480 ac_cpp='$CPP $CPPFLAGS'
1481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1482 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1504 for ac_dir in ../../../build-aux $srcdir/../../../build-aux; do
1505 if test -f $ac_dir/install-sh; then
1507 ac_install_sh="$ac_aux_dir/install-sh -c"
1509 elif test -f $ac_dir/install.sh; then
1511 ac_install_sh="$ac_aux_dir/install.sh -c"
1513 elif test -f $ac_dir/shtool; then
1515 ac_install_sh="$ac_aux_dir/shtool install -c"
1519 if test -z "$ac_aux_dir"; then
1520 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ../../../build-aux $srcdir/../../../build-aux" >&5
1521 echo "$as_me: error: cannot find install-sh or install.sh in ../../../build-aux $srcdir/../../../build-aux" >&2;}
1522 { (exit 1); exit 1; }; }
1524 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1525 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1526 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1528 am__api_version="1.9"
1529 # Find a good install program. We prefer a C program (faster),
1530 # so one script is as good as another. But avoid the broken or
1531 # incompatible versions:
1532 # SysV /etc/install, /usr/sbin/install
1533 # SunOS /usr/etc/install
1534 # IRIX /sbin/install
1536 # AmigaOS /C/install, which installs bootblocks on floppy discs
1537 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1538 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1539 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1540 # OS/2's system install, which has a completely different semantic
1541 # ./install, which can be erroneously created by make from ./install.sh.
1542 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1543 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1544 if test -z "$INSTALL"; then
1545 if test "${ac_cv_path_install+set}" = set; then
1546 echo $ECHO_N "(cached) $ECHO_C" >&6
1548 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1552 test -z "$as_dir" && as_dir
=.
1553 # Account for people who put trailing slashes in PATH elements.
1555 .
/ | .
// |
/cC
/* | \
1556 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1557 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1560 # OSF1 and SCO ODT 3.0 have their own names for install.
1561 # Don't use installbsd from OSF since it installs stuff as root
1563 for ac_prog
in ginstall scoinst
install; do
1564 for ac_exec_ext
in '' $ac_executable_extensions; do
1565 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1566 if test $ac_prog = install &&
1567 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1568 # AIX install. It has an incompatible calling convention.
1570 elif test $ac_prog = install &&
1571 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1572 # program-specific install script used by HP pwplus--don't use.
1575 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1587 if test "${ac_cv_path_install+set}" = set; then
1588 INSTALL
=$ac_cv_path_install
1590 # As a last resort, use the slow shell script. We don't cache a
1591 # path for INSTALL within a source directory, because that will
1592 # break other packages using the cache if that directory is
1593 # removed, or if the path is relative.
1594 INSTALL
=$ac_install_sh
1597 echo "$as_me:$LINENO: result: $INSTALL" >&5
1598 echo "${ECHO_T}$INSTALL" >&6
1600 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1601 # It thinks the first close brace ends the variable substitution.
1602 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1604 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1606 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1608 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1609 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1612 echo timestamp
> conftest.
file
1613 # Do `set' in a subshell so we don't clobber the current shell's
1614 # arguments. Must try -L first in case configure is actually a
1615 # symlink; some systems play weird games with the mod time of symlinks
1616 # (eg FreeBSD returns the mod time of the symlink's containing
1619 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1620 if test "$*" = "X"; then
1622 set X
`ls -t $srcdir/configure conftest.file`
1625 if test "$*" != "X $srcdir/configure conftest.file" \
1626 && test "$*" != "X conftest.file $srcdir/configure"; then
1628 # If neither matched, then we have a broken ls. This can happen
1629 # if, for instance, CONFIG_SHELL is bash and it inherits a
1630 # broken ls alias from the environment. This has actually
1631 # happened. Such a system could not be considered "sane".
1632 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1633 alias in your environment" >&5
1634 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1635 alias in your environment" >&2;}
1636 { (exit 1); exit 1; }; }
1639 test "$2" = conftest.
file
1645 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1646 Check your system clock" >&5
1647 echo "$as_me: error: newly created file is older than distributed files!
1648 Check your system clock" >&2;}
1649 { (exit 1); exit 1; }; }
1651 echo "$as_me:$LINENO: result: yes" >&5
1652 echo "${ECHO_T}yes" >&6
1653 test "$program_prefix" != NONE
&&
1654 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1655 # Use a double $ so make ignores it.
1656 test "$program_suffix" != NONE
&&
1657 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1658 # Double any \ or $. echo might interpret backslashes.
1659 # By default was `s,x,x', remove it if useless.
1660 cat <<\_ACEOF
>conftest.
sed
1661 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1663 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1666 # expand $ac_aux_dir to an absolute path
1667 am_aux_dir
=`cd $ac_aux_dir && pwd`
1669 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1670 # Use eval to expand $SHELL
1671 if eval "$MISSING --run true"; then
1672 am_missing_run
="$MISSING --run "
1675 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1676 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1679 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1680 # We used to keeping the `.' as first argument, in order to
1681 # allow $(mkdir_p) to be used without argument. As in
1682 # $(mkdir_p) $(somedir)
1683 # where $(somedir) is conditionally defined. However this is wrong
1685 # 1. if the package is installed by a user who cannot write `.'
1686 # make install will fail,
1687 # 2. the above comment should most certainly read
1688 # $(mkdir_p) $(DESTDIR)$(somedir)
1689 # so it does not work when $(somedir) is undefined and
1690 # $(DESTDIR) is not.
1691 # To support the latter case, we have to write
1692 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1693 # so the `.' trick is pointless.
1694 mkdir_p
='mkdir -p --'
1696 # On NextStep and OpenStep, the `mkdir' command does not
1697 # recognize any option. It will interpret all options as
1698 # directories to create, and then abort because `.' already
1700 for d
in .
/-p .
/--version;
1702 test -d $d && rmdir $d
1704 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1705 if test -f "$ac_aux_dir/mkinstalldirs"; then
1706 mkdir_p
='$(mkinstalldirs)'
1708 mkdir_p
='$(install_sh) -d'
1712 for ac_prog
in gawk mawk nawk
awk
1714 # Extract the first word of "$ac_prog", so it can be a program name with args.
1715 set dummy
$ac_prog; ac_word
=$2
1716 echo "$as_me:$LINENO: checking for $ac_word" >&5
1717 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1718 if test "${ac_cv_prog_AWK+set}" = set; then
1719 echo $ECHO_N "(cached) $ECHO_C" >&6
1721 if test -n "$AWK"; then
1722 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1724 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1728 test -z "$as_dir" && as_dir
=.
1729 for ac_exec_ext
in '' $ac_executable_extensions; do
1730 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1731 ac_cv_prog_AWK
="$ac_prog"
1732 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1741 if test -n "$AWK"; then
1742 echo "$as_me:$LINENO: result: $AWK" >&5
1743 echo "${ECHO_T}$AWK" >&6
1745 echo "$as_me:$LINENO: result: no" >&5
1746 echo "${ECHO_T}no" >&6
1749 test -n "$AWK" && break
1752 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1753 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1754 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1755 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1756 echo $ECHO_N "(cached) $ECHO_C" >&6
1758 cat >conftest.
make <<\_ACEOF
1760 @
echo 'ac_maketemp="$(MAKE)"'
1762 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1763 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1764 if test -n "$ac_maketemp"; then
1765 eval ac_cv_prog_make_
${ac_make}_set
=yes
1767 eval ac_cv_prog_make_
${ac_make}_set
=no
1771 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1772 echo "$as_me:$LINENO: result: yes" >&5
1773 echo "${ECHO_T}yes" >&6
1776 echo "$as_me:$LINENO: result: no" >&5
1777 echo "${ECHO_T}no" >&6
1778 SET_MAKE
="MAKE=${MAKE-make}"
1781 rm -rf .tst
2>/dev
/null
1782 mkdir .tst
2>/dev
/null
1783 if test -d .tst
; then
1788 rmdir .tst
2>/dev
/null
1790 # test to see if srcdir already configured
1791 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1792 test -f $srcdir/config.status
; then
1793 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1794 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1795 { (exit 1); exit 1; }; }
1798 # test whether we have cygpath
1799 if test -z "$CYGPATH_W"; then
1800 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1801 CYGPATH_W
='cygpath -w'
1808 # Define the identity of the package.
1809 PACKAGE
=gettext_rpathz
1813 cat >>confdefs.h
<<_ACEOF
1814 #define PACKAGE "$PACKAGE"
1818 cat >>confdefs.h
<<_ACEOF
1819 #define VERSION "$VERSION"
1822 # Some tools Automake needs.
1824 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1827 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1830 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1833 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1836 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1838 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1840 # Installed binaries are usually stripped using `strip' when the user
1841 # run `make install-strip'. However `strip' might not be the right
1842 # tool to use in cross-compilation environments, therefore Automake
1843 # will honor the `STRIP' environment variable to overrule this program.
1844 if test "$cross_compiling" != no
; then
1845 if test -n "$ac_tool_prefix"; then
1846 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1847 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1848 echo "$as_me:$LINENO: checking for $ac_word" >&5
1849 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1850 if test "${ac_cv_prog_STRIP+set}" = set; then
1851 echo $ECHO_N "(cached) $ECHO_C" >&6
1853 if test -n "$STRIP"; then
1854 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1856 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1860 test -z "$as_dir" && as_dir
=.
1861 for ac_exec_ext
in '' $ac_executable_extensions; do
1862 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1863 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1864 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1872 STRIP
=$ac_cv_prog_STRIP
1873 if test -n "$STRIP"; then
1874 echo "$as_me:$LINENO: result: $STRIP" >&5
1875 echo "${ECHO_T}$STRIP" >&6
1877 echo "$as_me:$LINENO: result: no" >&5
1878 echo "${ECHO_T}no" >&6
1882 if test -z "$ac_cv_prog_STRIP"; then
1884 # Extract the first word of "strip", so it can be a program name with args.
1885 set dummy strip
; ac_word
=$2
1886 echo "$as_me:$LINENO: checking for $ac_word" >&5
1887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1888 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1889 echo $ECHO_N "(cached) $ECHO_C" >&6
1891 if test -n "$ac_ct_STRIP"; then
1892 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1894 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1898 test -z "$as_dir" && as_dir
=.
1899 for ac_exec_ext
in '' $ac_executable_extensions; do
1900 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1901 ac_cv_prog_ac_ct_STRIP
="strip"
1902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1908 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1911 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1912 if test -n "$ac_ct_STRIP"; then
1913 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1914 echo "${ECHO_T}$ac_ct_STRIP" >&6
1916 echo "$as_me:$LINENO: result: no" >&5
1917 echo "${ECHO_T}no" >&6
1922 STRIP
="$ac_cv_prog_STRIP"
1926 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1928 # We need awk for the "check" target. The system "awk" is bad on
1930 # Always define AMTAR for backward compatibility.
1932 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1934 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
1941 ac_cpp
='$CPP $CPPFLAGS'
1942 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1943 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1944 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1945 if test -n "$ac_tool_prefix"; then
1946 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1947 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1948 echo "$as_me:$LINENO: checking for $ac_word" >&5
1949 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1950 if test "${ac_cv_prog_CC+set}" = set; then
1951 echo $ECHO_N "(cached) $ECHO_C" >&6
1953 if test -n "$CC"; then
1954 ac_cv_prog_CC
="$CC" # Let the user override the test.
1956 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1960 test -z "$as_dir" && as_dir
=.
1961 for ac_exec_ext
in '' $ac_executable_extensions; do
1962 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1963 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1964 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1973 if test -n "$CC"; then
1974 echo "$as_me:$LINENO: result: $CC" >&5
1975 echo "${ECHO_T}$CC" >&6
1977 echo "$as_me:$LINENO: result: no" >&5
1978 echo "${ECHO_T}no" >&6
1982 if test -z "$ac_cv_prog_CC"; then
1984 # Extract the first word of "gcc", so it can be a program name with args.
1985 set dummy gcc
; ac_word
=$2
1986 echo "$as_me:$LINENO: checking for $ac_word" >&5
1987 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1988 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1989 echo $ECHO_N "(cached) $ECHO_C" >&6
1991 if test -n "$ac_ct_CC"; then
1992 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1994 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1998 test -z "$as_dir" && as_dir
=.
1999 for ac_exec_ext
in '' $ac_executable_extensions; do
2000 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2001 ac_cv_prog_ac_ct_CC
="gcc"
2002 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2010 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2011 if test -n "$ac_ct_CC"; then
2012 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2013 echo "${ECHO_T}$ac_ct_CC" >&6
2015 echo "$as_me:$LINENO: result: no" >&5
2016 echo "${ECHO_T}no" >&6
2024 if test -z "$CC"; then
2025 if test -n "$ac_tool_prefix"; then
2026 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2027 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2028 echo "$as_me:$LINENO: checking for $ac_word" >&5
2029 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2030 if test "${ac_cv_prog_CC+set}" = set; then
2031 echo $ECHO_N "(cached) $ECHO_C" >&6
2033 if test -n "$CC"; then
2034 ac_cv_prog_CC
="$CC" # Let the user override the test.
2036 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2040 test -z "$as_dir" && as_dir
=.
2041 for ac_exec_ext
in '' $ac_executable_extensions; do
2042 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2043 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2044 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2053 if test -n "$CC"; then
2054 echo "$as_me:$LINENO: result: $CC" >&5
2055 echo "${ECHO_T}$CC" >&6
2057 echo "$as_me:$LINENO: result: no" >&5
2058 echo "${ECHO_T}no" >&6
2062 if test -z "$ac_cv_prog_CC"; then
2064 # Extract the first word of "cc", so it can be a program name with args.
2065 set dummy cc
; ac_word
=$2
2066 echo "$as_me:$LINENO: checking for $ac_word" >&5
2067 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2068 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2069 echo $ECHO_N "(cached) $ECHO_C" >&6
2071 if test -n "$ac_ct_CC"; then
2072 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2074 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2078 test -z "$as_dir" && as_dir
=.
2079 for ac_exec_ext
in '' $ac_executable_extensions; do
2080 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2081 ac_cv_prog_ac_ct_CC
="cc"
2082 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2090 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2091 if test -n "$ac_ct_CC"; then
2092 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2093 echo "${ECHO_T}$ac_ct_CC" >&6
2095 echo "$as_me:$LINENO: result: no" >&5
2096 echo "${ECHO_T}no" >&6
2105 if test -z "$CC"; then
2106 # Extract the first word of "cc", so it can be a program name with args.
2107 set dummy cc
; ac_word
=$2
2108 echo "$as_me:$LINENO: checking for $ac_word" >&5
2109 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2110 if test "${ac_cv_prog_CC+set}" = set; then
2111 echo $ECHO_N "(cached) $ECHO_C" >&6
2113 if test -n "$CC"; then
2114 ac_cv_prog_CC
="$CC" # Let the user override the test.
2117 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2121 test -z "$as_dir" && as_dir
=.
2122 for ac_exec_ext
in '' $ac_executable_extensions; do
2123 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2124 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2125 ac_prog_rejected
=yes
2129 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2135 if test $ac_prog_rejected = yes; then
2136 # We found a bogon in the path, so make sure we never use it.
2137 set dummy
$ac_cv_prog_CC
2139 if test $# != 0; then
2140 # We chose a different compiler from the bogus one.
2141 # However, it has the same basename, so the bogon will be chosen
2142 # first if we set CC to just the basename; use the full file name.
2144 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2150 if test -n "$CC"; then
2151 echo "$as_me:$LINENO: result: $CC" >&5
2152 echo "${ECHO_T}$CC" >&6
2154 echo "$as_me:$LINENO: result: no" >&5
2155 echo "${ECHO_T}no" >&6
2159 if test -z "$CC"; then
2160 if test -n "$ac_tool_prefix"; then
2163 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2164 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2165 echo "$as_me:$LINENO: checking for $ac_word" >&5
2166 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2167 if test "${ac_cv_prog_CC+set}" = set; then
2168 echo $ECHO_N "(cached) $ECHO_C" >&6
2170 if test -n "$CC"; then
2171 ac_cv_prog_CC
="$CC" # Let the user override the test.
2173 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2177 test -z "$as_dir" && as_dir
=.
2178 for ac_exec_ext
in '' $ac_executable_extensions; do
2179 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2180 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2181 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2190 if test -n "$CC"; then
2191 echo "$as_me:$LINENO: result: $CC" >&5
2192 echo "${ECHO_T}$CC" >&6
2194 echo "$as_me:$LINENO: result: no" >&5
2195 echo "${ECHO_T}no" >&6
2198 test -n "$CC" && break
2201 if test -z "$CC"; then
2205 # Extract the first word of "$ac_prog", so it can be a program name with args.
2206 set dummy
$ac_prog; ac_word
=$2
2207 echo "$as_me:$LINENO: checking for $ac_word" >&5
2208 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2209 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2210 echo $ECHO_N "(cached) $ECHO_C" >&6
2212 if test -n "$ac_ct_CC"; then
2213 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2215 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2219 test -z "$as_dir" && as_dir
=.
2220 for ac_exec_ext
in '' $ac_executable_extensions; do
2221 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2222 ac_cv_prog_ac_ct_CC
="$ac_prog"
2223 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2231 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2232 if test -n "$ac_ct_CC"; then
2233 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2234 echo "${ECHO_T}$ac_ct_CC" >&6
2236 echo "$as_me:$LINENO: result: no" >&5
2237 echo "${ECHO_T}no" >&6
2240 test -n "$ac_ct_CC" && break
2249 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2250 See \`config.log' for more details." >&5
2251 echo "$as_me: error: no acceptable C compiler found in \$PATH
2252 See \`config.log' for more details." >&2;}
2253 { (exit 1); exit 1; }; }
2255 # Provide some information about the compiler.
2256 echo "$as_me:$LINENO:" \
2257 "checking for C compiler version" >&5
2258 ac_compiler
=`set X $ac_compile; echo $2`
2259 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2260 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2263 (exit $ac_status); }
2264 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2265 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2268 (exit $ac_status); }
2269 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2270 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2273 (exit $ac_status); }
2275 cat >conftest.
$ac_ext <<_ACEOF
2278 cat confdefs.h
>>conftest.
$ac_ext
2279 cat >>conftest.
$ac_ext <<_ACEOF
2280 /* end confdefs.h. */
2290 ac_clean_files_save
=$ac_clean_files
2291 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2292 # Try to create an executable without -o first, disregard a.out.
2293 # It will help us diagnose broken compilers, and finding out an intuition
2295 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2296 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2297 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2298 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2299 (eval $ac_link_default) 2>&5
2301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2302 (exit $ac_status); }; then
2303 # Find the output, starting from the most likely. This scheme is
2304 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2307 # Be careful to initialize this variable, since it used to be cached.
2308 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2310 # b.out is created by i960 compilers.
2311 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2313 test -f "$ac_file" ||
continue
2315 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2318 # This is the source file.
2321 # We found the default executable, but exeext='' is most
2325 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2326 # FIXME: I believe we export ac_cv_exeext for Libtool,
2327 # but it would be cool to find out if it's true. Does anybody
2328 # maintain Libtool? --akim.
2336 echo "$as_me: failed program was:" >&5
2337 sed 's/^/| /' conftest.
$ac_ext >&5
2339 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2340 See \`config.log' for more details." >&5
2341 echo "$as_me: error: C compiler cannot create executables
2342 See \`config.log' for more details." >&2;}
2343 { (exit 77); exit 77; }; }
2346 ac_exeext
=$ac_cv_exeext
2347 echo "$as_me:$LINENO: result: $ac_file" >&5
2348 echo "${ECHO_T}$ac_file" >&6
2350 # Check the compiler produces executables we can run. If not, either
2351 # the compiler is broken, or we cross compile.
2352 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2353 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2354 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2355 # If not cross compiling, check that we can run a simple program.
2356 if test "$cross_compiling" != yes; then
2357 if { ac_try
='./$ac_file'
2358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2362 (exit $ac_status); }; }; then
2365 if test "$cross_compiling" = maybe
; then
2368 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2369 If you meant to cross compile, use \`--host'.
2370 See \`config.log' for more details." >&5
2371 echo "$as_me: error: cannot run C compiled programs.
2372 If you meant to cross compile, use \`--host'.
2373 See \`config.log' for more details." >&2;}
2374 { (exit 1); exit 1; }; }
2378 echo "$as_me:$LINENO: result: yes" >&5
2379 echo "${ECHO_T}yes" >&6
2381 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2382 ac_clean_files
=$ac_clean_files_save
2383 # Check the compiler produces executables we can run. If not, either
2384 # the compiler is broken, or we cross compile.
2385 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2386 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2387 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2388 echo "${ECHO_T}$cross_compiling" >&6
2390 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2391 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2393 (eval $ac_link) 2>&5
2395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2396 (exit $ac_status); }; then
2397 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2398 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2399 # work properly (i.e., refer to `conftest.exe'), while it won't with
2401 for ac_file
in conftest.exe conftest conftest.
*; do
2402 test -f "$ac_file" ||
continue
2404 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2405 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2412 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2413 See \`config.log' for more details." >&5
2414 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2415 See \`config.log' for more details." >&2;}
2416 { (exit 1); exit 1; }; }
2419 rm -f conftest
$ac_cv_exeext
2420 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2421 echo "${ECHO_T}$ac_cv_exeext" >&6
2423 rm -f conftest.
$ac_ext
2424 EXEEXT
=$ac_cv_exeext
2426 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2427 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2428 if test "${ac_cv_objext+set}" = set; then
2429 echo $ECHO_N "(cached) $ECHO_C" >&6
2431 cat >conftest.
$ac_ext <<_ACEOF
2434 cat confdefs.h
>>conftest.
$ac_ext
2435 cat >>conftest.
$ac_ext <<_ACEOF
2436 /* end confdefs.h. */
2446 rm -f conftest.o conftest.obj
2447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2448 (eval $ac_compile) 2>&5
2450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2451 (exit $ac_status); }; then
2452 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2454 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2455 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2460 echo "$as_me: failed program was:" >&5
2461 sed 's/^/| /' conftest.
$ac_ext >&5
2463 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2464 See \`config.log' for more details." >&5
2465 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2466 See \`config.log' for more details." >&2;}
2467 { (exit 1); exit 1; }; }
2470 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2472 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2473 echo "${ECHO_T}$ac_cv_objext" >&6
2474 OBJEXT
=$ac_cv_objext
2476 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2477 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2478 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2479 echo $ECHO_N "(cached) $ECHO_C" >&6
2481 cat >conftest.
$ac_ext <<_ACEOF
2484 cat confdefs.h
>>conftest.
$ac_ext
2485 cat >>conftest.
$ac_ext <<_ACEOF
2486 /* end confdefs.h. */
2499 rm -f conftest.
$ac_objext
2500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2501 (eval $ac_compile) 2>conftest.er1
2503 grep -v '^ *+' conftest.er1
>conftest.err
2505 cat conftest.err
>&5
2506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2507 (exit $ac_status); } &&
2508 { ac_try
='test -z "$ac_c_werror_flag"
2509 || test ! -s conftest.err'
2510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2514 (exit $ac_status); }; } &&
2515 { ac_try
='test -s conftest.$ac_objext'
2516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2520 (exit $ac_status); }; }; then
2523 echo "$as_me: failed program was:" >&5
2524 sed 's/^/| /' conftest.
$ac_ext >&5
2528 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2529 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2532 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2533 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2534 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2535 ac_test_CFLAGS
=${CFLAGS+set}
2536 ac_save_CFLAGS
=$CFLAGS
2538 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2539 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2540 if test "${ac_cv_prog_cc_g+set}" = set; then
2541 echo $ECHO_N "(cached) $ECHO_C" >&6
2543 cat >conftest.
$ac_ext <<_ACEOF
2546 cat confdefs.h
>>conftest.
$ac_ext
2547 cat >>conftest.
$ac_ext <<_ACEOF
2548 /* end confdefs.h. */
2558 rm -f conftest.
$ac_objext
2559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2560 (eval $ac_compile) 2>conftest.er1
2562 grep -v '^ *+' conftest.er1
>conftest.err
2564 cat conftest.err
>&5
2565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2566 (exit $ac_status); } &&
2567 { ac_try
='test -z "$ac_c_werror_flag"
2568 || test ! -s conftest.err'
2569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2573 (exit $ac_status); }; } &&
2574 { ac_try
='test -s conftest.$ac_objext'
2575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2579 (exit $ac_status); }; }; then
2582 echo "$as_me: failed program was:" >&5
2583 sed 's/^/| /' conftest.
$ac_ext >&5
2587 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2589 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2590 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2591 if test "$ac_test_CFLAGS" = set; then
2592 CFLAGS
=$ac_save_CFLAGS
2593 elif test $ac_cv_prog_cc_g = yes; then
2594 if test "$GCC" = yes; then
2600 if test "$GCC" = yes; then
2606 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2607 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2608 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2609 echo $ECHO_N "(cached) $ECHO_C" >&6
2611 ac_cv_prog_cc_stdc
=no
2613 cat >conftest.
$ac_ext <<_ACEOF
2616 cat confdefs.h
>>conftest.
$ac_ext
2617 cat >>conftest.
$ac_ext <<_ACEOF
2618 /* end confdefs.h. */
2621 #include <sys/types.h>
2622 #include <sys/stat.h>
2623 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2624 struct buf { int x; };
2625 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2626 static char *e (p, i)
2632 static char *f (char * (*g) (char **, int), char **p, ...)
2637 s = g (p, va_arg (v,int));
2642 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2643 function prototypes and stuff, but not '\xHH' hex character constants.
2644 These don't provoke an error unfortunately, instead are silently treated
2645 as 'x'. The following induces an error, until -std1 is added to get
2646 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2647 array size at least. It's necessary to write '\x00'==0 to get something
2648 that's true only with -std1. */
2649 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2651 int test (int i, double x);
2652 struct s1 {int (*f) (int a);};
2653 struct s2 {int (*f) (double a);};
2654 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2660 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2665 # Don't try gcc -ansi; that turns off useful extensions and
2666 # breaks some systems' header files.
2667 # AIX -qlanglvl=ansi
2668 # Ultrix and OSF/1 -std1
2669 # HP-UX 10.20 and later -Ae
2670 # HP-UX older versions -Aa -D_HPUX_SOURCE
2671 # SVR4 -Xc -D__EXTENSIONS__
2672 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2674 CC
="$ac_save_CC $ac_arg"
2675 rm -f conftest.
$ac_objext
2676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2677 (eval $ac_compile) 2>conftest.er1
2679 grep -v '^ *+' conftest.er1
>conftest.err
2681 cat conftest.err
>&5
2682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2683 (exit $ac_status); } &&
2684 { ac_try
='test -z "$ac_c_werror_flag"
2685 || test ! -s conftest.err'
2686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2690 (exit $ac_status); }; } &&
2691 { ac_try
='test -s conftest.$ac_objext'
2692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2696 (exit $ac_status); }; }; then
2697 ac_cv_prog_cc_stdc
=$ac_arg
2700 echo "$as_me: failed program was:" >&5
2701 sed 's/^/| /' conftest.
$ac_ext >&5
2704 rm -f conftest.err conftest.
$ac_objext
2706 rm -f conftest.
$ac_ext conftest.
$ac_objext
2711 case "x$ac_cv_prog_cc_stdc" in
2713 echo "$as_me:$LINENO: result: none needed" >&5
2714 echo "${ECHO_T}none needed" >&6 ;;
2716 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2717 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2718 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2721 # Some people use a C++ compiler to compile C. Since we use `exit',
2722 # in C++ we need to declare it. In case someone uses the same compiler
2723 # for both compiling C and C++ we need to have the C++ compiler decide
2724 # the declaration of exit, since it's the most demanding environment.
2725 cat >conftest.
$ac_ext <<_ACEOF
2730 rm -f conftest.
$ac_objext
2731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2732 (eval $ac_compile) 2>conftest.er1
2734 grep -v '^ *+' conftest.er1
>conftest.err
2736 cat conftest.err
>&5
2737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2738 (exit $ac_status); } &&
2739 { ac_try
='test -z "$ac_c_werror_flag"
2740 || test ! -s conftest.err'
2741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2745 (exit $ac_status); }; } &&
2746 { ac_try
='test -s conftest.$ac_objext'
2747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2751 (exit $ac_status); }; }; then
2752 for ac_declaration
in \
2754 'extern "C" void std::exit (int) throw (); using std::exit;' \
2755 'extern "C" void std::exit (int); using std::exit;' \
2756 'extern "C" void exit (int) throw ();' \
2757 'extern "C" void exit (int);' \
2760 cat >conftest.
$ac_ext <<_ACEOF
2763 cat confdefs.h
>>conftest.
$ac_ext
2764 cat >>conftest.
$ac_ext <<_ACEOF
2765 /* end confdefs.h. */
2776 rm -f conftest.
$ac_objext
2777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2778 (eval $ac_compile) 2>conftest.er1
2780 grep -v '^ *+' conftest.er1
>conftest.err
2782 cat conftest.err
>&5
2783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2784 (exit $ac_status); } &&
2785 { ac_try
='test -z "$ac_c_werror_flag"
2786 || test ! -s conftest.err'
2787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2791 (exit $ac_status); }; } &&
2792 { ac_try
='test -s conftest.$ac_objext'
2793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2797 (exit $ac_status); }; }; then
2800 echo "$as_me: failed program was:" >&5
2801 sed 's/^/| /' conftest.
$ac_ext >&5
2805 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2806 cat >conftest.
$ac_ext <<_ACEOF
2809 cat confdefs.h
>>conftest.
$ac_ext
2810 cat >>conftest.
$ac_ext <<_ACEOF
2811 /* end confdefs.h. */
2821 rm -f conftest.
$ac_objext
2822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2823 (eval $ac_compile) 2>conftest.er1
2825 grep -v '^ *+' conftest.er1
>conftest.err
2827 cat conftest.err
>&5
2828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2829 (exit $ac_status); } &&
2830 { ac_try
='test -z "$ac_c_werror_flag"
2831 || test ! -s conftest.err'
2832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2836 (exit $ac_status); }; } &&
2837 { ac_try
='test -s conftest.$ac_objext'
2838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2842 (exit $ac_status); }; }; then
2845 echo "$as_me: failed program was:" >&5
2846 sed 's/^/| /' conftest.
$ac_ext >&5
2849 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2852 if test -n "$ac_declaration"; then
2853 echo '#ifdef __cplusplus' >>confdefs.h
2854 echo $ac_declaration >>confdefs.h
2855 echo '#endif' >>confdefs.h
2859 echo "$as_me: failed program was:" >&5
2860 sed 's/^/| /' conftest.
$ac_ext >&5
2863 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2865 ac_cpp
='$CPP $CPPFLAGS'
2866 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2867 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2868 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2869 DEPDIR
="${am__leading_dot}deps"
2871 ac_config_commands
="$ac_config_commands depfiles"
2874 am_make
=${MAKE-make}
2875 cat > confinc
<< 'END'
2880 # If we don't find an include directive, just comment out the code.
2881 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2882 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2886 # First try GNU make style include.
2887 echo "include confinc" > confmf
2888 # We grep out `Entering directory' and `Leaving directory'
2889 # messages which can occur if `w' ends up in MAKEFLAGS.
2890 # In particular we don't look at `^make:' because GNU make might
2891 # be invoked under some other name (usually "gmake"), in which
2892 # case it prints its new name instead of `make'.
2893 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2898 # Now try BSD make style include.
2899 if test "$am__include" = "#"; then
2900 echo '.include "confinc"' > confmf
2901 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2902 am__include
=.include
2909 echo "$as_me:$LINENO: result: $_am_result" >&5
2910 echo "${ECHO_T}$_am_result" >&6
2911 rm -f confinc confmf
2913 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2914 if test "${enable_dependency_tracking+set}" = set; then
2915 enableval
="$enable_dependency_tracking"
2918 if test "x$enable_dependency_tracking" != xno
; then
2919 am_depcomp
="$ac_aux_dir/depcomp"
2924 if test "x$enable_dependency_tracking" != xno; then
2935 depcc
="$CC" am_compiler_list
=
2937 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2938 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2939 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2940 echo $ECHO_N "(cached) $ECHO_C" >&6
2942 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2943 # We make a subdir and do the tests there. Otherwise we can end up
2944 # making bogus files that we don't know about and never remove. For
2945 # instance it was reported that on HP-UX the gcc test will end up
2946 # making a dummy file named `D' -- because `-MD' means `put the output
2949 # Copy depcomp to subdir because otherwise we won't find it if we're
2950 # using a relative directory.
2951 cp "$am_depcomp" conftest.dir
2953 # We will build objects and dependencies in a subdirectory because
2954 # it helps to detect inapplicable dependency modes. For instance
2955 # both Tru64's cc and ICC support -MD to output dependencies as a
2956 # side effect of compilation, but ICC will put the dependencies in
2957 # the current directory while Tru64 will put them in the object
2961 am_cv_CC_dependencies_compiler_type
=none
2962 if test "$am_compiler_list" = ""; then
2963 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2965 for depmode
in $am_compiler_list; do
2966 # Setup a source with many dependencies, because some compilers
2967 # like to wrap large dependency lists on column 80 (with \), and
2968 # we should not choose a depcomp mode which is confused by this.
2970 # We need to recreate these files for each test, as the compiler may
2971 # overwrite some of them when testing with obscure command lines.
2972 # This happens at least with the AIX C compiler.
2974 for i
in 1 2 3 4 5 6; do
2975 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
2976 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2977 # Solaris 8's {/usr,}/bin/sh.
2978 touch sub
/conftst
$i.h
2980 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2984 # after this tag, mechanisms are not by side-effect, so they'll
2985 # only be used when explicitly requested
2986 if test "x$enable_dependency_tracking" = xyes
; then
2994 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2995 # mode. It turns out that the SunPro C++ compiler does not properly
2996 # handle `-M -o', and we need to detect this.
2997 if depmode
=$depmode \
2998 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
2999 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3000 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3001 >/dev
/null
2>conftest.err
&&
3002 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3003 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3004 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3005 # icc doesn't choke on unknown options, it will just issue warnings
3006 # or remarks (even with -Werror). So we grep stderr for any message
3007 # that says an option was ignored or not supported.
3008 # When given -MP, icc 7.0 and 7.1 complain thusly:
3009 # icc: Command line warning: ignoring option '-M'; no argument required
3010 # The diagnosis changed in icc 8.0:
3011 # icc: Command line remark: option '-MP' not supported
3012 if (grep 'ignoring option' conftest.err ||
3013 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3014 am_cv_CC_dependencies_compiler_type
=$depmode
3023 am_cv_CC_dependencies_compiler_type
=none
3027 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3028 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3029 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3034 test "x$enable_dependency_tracking" != xno \
3035 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3037 am__fastdepCC_FALSE
='#'
3039 am__fastdepCC_TRUE
='#'
3040 am__fastdepCC_FALSE
=
3044 # Check whether --enable-shared or --disable-shared was given.
3045 if test "${enable_shared+set}" = set; then
3046 enableval
="$enable_shared"
3047 p
=${PACKAGE-default}
3049 yes) enable_shared
=yes ;;
3050 no
) enable_shared
=no
;;
3053 # Look at the argument we got. We use all the common list separators.
3054 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3055 for pkg
in $enableval; do
3057 if test "X$pkg" = "X$p"; then
3068 # Check whether --enable-static or --disable-static was given.
3069 if test "${enable_static+set}" = set; then
3070 enableval
="$enable_static"
3071 p
=${PACKAGE-default}
3073 yes) enable_static
=yes ;;
3074 no
) enable_static
=no
;;
3077 # Look at the argument we got. We use all the common list separators.
3078 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3079 for pkg
in $enableval; do
3081 if test "X$pkg" = "X$p"; then
3092 # Check whether --enable-fast-install or --disable-fast-install was given.
3093 if test "${enable_fast_install+set}" = set; then
3094 enableval
="$enable_fast_install"
3095 p
=${PACKAGE-default}
3097 yes) enable_fast_install
=yes ;;
3098 no
) enable_fast_install
=no
;;
3100 enable_fast_install
=no
3101 # Look at the argument we got. We use all the common list separators.
3102 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3103 for pkg
in $enableval; do
3105 if test "X$pkg" = "X$p"; then
3106 enable_fast_install
=yes
3113 enable_fast_install
=yes
3116 # Make sure we can run config.sub.
3117 $ac_config_sub sun4
>/dev
/null
2>&1 ||
3118 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
3119 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
3120 { (exit 1); exit 1; }; }
3122 echo "$as_me:$LINENO: checking build system type" >&5
3123 echo $ECHO_N "checking build system type... $ECHO_C" >&6
3124 if test "${ac_cv_build+set}" = set; then
3125 echo $ECHO_N "(cached) $ECHO_C" >&6
3127 ac_cv_build_alias
=$build_alias
3128 test -z "$ac_cv_build_alias" &&
3129 ac_cv_build_alias
=`$ac_config_guess`
3130 test -z "$ac_cv_build_alias" &&
3131 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3132 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3133 { (exit 1); exit 1; }; }
3134 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
3135 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
3136 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
3137 { (exit 1); exit 1; }; }
3140 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3141 echo "${ECHO_T}$ac_cv_build" >&6
3143 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3144 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3145 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3148 echo "$as_me:$LINENO: checking host system type" >&5
3149 echo $ECHO_N "checking host system type... $ECHO_C" >&6
3150 if test "${ac_cv_host+set}" = set; then
3151 echo $ECHO_N "(cached) $ECHO_C" >&6
3153 ac_cv_host_alias
=$host_alias
3154 test -z "$ac_cv_host_alias" &&
3155 ac_cv_host_alias
=$ac_cv_build_alias
3156 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
3157 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
3158 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
3159 { (exit 1); exit 1; }; }
3162 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3163 echo "${ECHO_T}$ac_cv_host" >&6
3165 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3166 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3167 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3170 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3171 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3172 if test "${lt_cv_path_SED+set}" = set; then
3173 echo $ECHO_N "(cached) $ECHO_C" >&6
3175 # Loop through the user's path and test for sed and gsed.
3176 # Then use that list of sed's as ones to test for truncation.
3177 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3181 test -z "$as_dir" && as_dir
=.
3182 for lt_ac_prog
in sed gsed
; do
3183 for ac_exec_ext
in '' $ac_executable_extensions; do
3184 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3185 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3192 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3193 # along with /bin/sed that truncates output.
3194 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
3195 test ! -f $lt_ac_sed && continue
3196 cat /dev
/null
> conftest.
in
3198 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
3199 # Check for GNU sed and select it if it is found.
3200 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
3201 lt_cv_path_SED
=$lt_ac_sed
3205 cat conftest.
in conftest.
in >conftest.tmp
3206 mv conftest.tmp conftest.
in
3207 cp conftest.
in conftest.
nl
3209 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
3210 cmp -s conftest.out conftest.
nl ||
break
3211 # 10000 chars as input seems more than enough
3212 test $lt_ac_count -gt 10 && break
3213 lt_ac_count
=`expr $lt_ac_count + 1`
3214 if test $lt_ac_count -gt $lt_ac_max; then
3215 lt_ac_max
=$lt_ac_count
3216 lt_cv_path_SED
=$lt_ac_sed
3224 echo "$as_me:$LINENO: result: $SED" >&5
3225 echo "${ECHO_T}$SED" >&6
3227 echo "$as_me:$LINENO: checking for egrep" >&5
3228 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3229 if test "${ac_cv_prog_egrep+set}" = set; then
3230 echo $ECHO_N "(cached) $ECHO_C" >&6
3232 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3233 then ac_cv_prog_egrep
='grep -E'
3234 else ac_cv_prog_egrep
='egrep'
3237 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3238 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3239 EGREP
=$ac_cv_prog_egrep
3243 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3244 if test "${with_gnu_ld+set}" = set; then
3245 withval
="$with_gnu_ld"
3246 test "$withval" = no || with_gnu_ld
=yes
3251 if test "$GCC" = yes; then
3252 # Check if gcc -print-prog-name=ld gives a path.
3253 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3254 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
3257 # gcc leaves a trailing carriage return which upsets mingw
3258 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3260 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3263 # Accept absolute paths.
3265 re_direlt
='/[^/][^/]*/\.\./'
3266 # Canonicalize the pathname of ld
3267 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
3268 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
3269 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
3271 test -z "$LD" && LD
="$ac_prog"
3274 # If it fails, then pretend we aren't using GCC.
3278 # If it is relative, then search for the first ld in PATH.
3282 elif test "$with_gnu_ld" = yes; then
3283 echo "$as_me:$LINENO: checking for GNU ld" >&5
3284 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3286 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3287 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3289 if test "${lt_cv_path_LD+set}" = set; then
3290 echo $ECHO_N "(cached) $ECHO_C" >&6
3292 if test -z "$LD"; then
3293 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
3294 for ac_dir
in $PATH; do
3296 test -z "$ac_dir" && ac_dir
=.
3297 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3298 lt_cv_path_LD
="$ac_dir/$ac_prog"
3299 # Check to see if the program is GNU ld. I'd rather use --version,
3300 # but apparently some GNU ld's only accept -v.
3301 # Break only if it was the GNU/non-GNU ld that we prefer.
3302 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3303 *GNU
* |
*'with BFD'*)
3304 test "$with_gnu_ld" != no
&& break
3307 test "$with_gnu_ld" != yes && break
3314 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3319 if test -n "$LD"; then
3320 echo "$as_me:$LINENO: result: $LD" >&5
3321 echo "${ECHO_T}$LD" >&6
3323 echo "$as_me:$LINENO: result: no" >&5
3324 echo "${ECHO_T}no" >&6
3326 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3327 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3328 { (exit 1); exit 1; }; }
3329 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3330 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3331 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3332 echo $ECHO_N "(cached) $ECHO_C" >&6
3334 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3335 case `$LD -v 2>&1 </dev/null` in
3336 *GNU
* |
*'with BFD'*)
3337 lt_cv_prog_gnu_ld
=yes
3340 lt_cv_prog_gnu_ld
=no
3344 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3345 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3346 with_gnu_ld
=$lt_cv_prog_gnu_ld
3349 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3350 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3351 if test "${lt_cv_ld_reload_flag+set}" = set; then
3352 echo $ECHO_N "(cached) $ECHO_C" >&6
3354 lt_cv_ld_reload_flag
='-r'
3356 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3357 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3358 reload_flag
=$lt_cv_ld_reload_flag
3359 case $reload_flag in
3361 *) reload_flag
=" $reload_flag" ;;
3363 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
3366 if test "$GCC" = yes; then
3367 reload_cmds
='$CC -nostdlib ${wl}-r -o $output$reload_objs'
3369 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
3374 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3375 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3376 if test "${lt_cv_path_NM+set}" = set; then
3377 echo $ECHO_N "(cached) $ECHO_C" >&6
3379 if test -n "$NM"; then
3380 # Let the user override the test.
3383 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
3384 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
3386 test -z "$ac_dir" && ac_dir
=.
3387 tmp_nm
="$ac_dir/${ac_tool_prefix}nm"
3388 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
3389 # Check to see if the nm accepts a BSD-compat flag.
3390 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3391 # nm: unknown option "B" ignored
3392 # Tru64's nm complains that /dev/null is an invalid object file
3393 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3394 */dev
/null
* |
*'Invalid file or object type'*)
3395 lt_cv_path_NM
="$tmp_nm -B"
3399 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3401 lt_cv_path_NM
="$tmp_nm -p"
3405 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3406 continue # so that we can try to find one that supports BSD flags
3413 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
3416 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
3417 echo "${ECHO_T}$lt_cv_path_NM" >&6
3420 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3421 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3423 if test "$LN_S" = "ln -s"; then
3424 echo "$as_me:$LINENO: result: yes" >&5
3425 echo "${ECHO_T}yes" >&6
3427 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3428 echo "${ECHO_T}no, using $LN_S" >&6
3431 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
3432 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
3433 if test "${lt_cv_deplibs_check_method+set}" = set; then
3434 echo $ECHO_N "(cached) $ECHO_C" >&6
3436 lt_cv_file_magic_cmd
='$MAGIC_CMD'
3437 lt_cv_file_magic_test_file
=
3438 lt_cv_deplibs_check_method
='unknown'
3439 # Need to set the preceding variable on all platforms that support
3440 # interlibrary dependencies.
3441 # 'none' -- dependencies not supported.
3442 # `unknown' -- same as none, but documents that we really don't know.
3443 # 'pass_all' -- all dependencies passed with no checks.
3444 # 'test_compile' -- check by making test program.
3445 # 'file_magic [[regex]]' -- check by looking for files in library path
3446 # which responds to the $file_magic_cmd with a given extended regex.
3447 # If you have `file' or equivalent on your system and you're not sure
3448 # whether `pass_all' will *always* work, you probably want this one.
3452 lt_cv_deplibs_check_method
=pass_all
3456 lt_cv_deplibs_check_method
=pass_all
3460 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3461 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3462 lt_cv_file_magic_test_file
=/shlib
/libc.so
3466 # func_win32_libid is a shell function defined in ltmain.sh
3467 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
3468 lt_cv_file_magic_cmd
='func_win32_libid'
3472 # Base MSYS/MinGW do not provide the 'file' command needed by
3473 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
3474 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
3475 lt_cv_file_magic_cmd
='$OBJDUMP -f'
3478 darwin
* | rhapsody
*)
3479 lt_cv_deplibs_check_method
=pass_all
3482 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
3483 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3486 # Not sure whether the presence of OpenBSD here was a mistake.
3487 # Let's accept both of them until this is cleared up.
3488 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
3489 lt_cv_file_magic_cmd
=/usr
/bin
/file
3490 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3494 lt_cv_deplibs_check_method
=pass_all
3499 lt_cv_deplibs_check_method
=pass_all
3502 hpux10.20
* | hpux11
*)
3503 lt_cv_file_magic_cmd
=/usr
/bin
/file
3506 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3507 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
3510 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]'
3511 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
3514 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3515 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
3520 irix5
* | irix6
* | nonstopux
*)
3522 *-32|
*"-32 ") libmagic
=32-bit;;
3523 *-n32|
*"-n32 ") libmagic
=N32
;;
3524 *-64|
*"-64 ") libmagic
=64-bit;;
3525 *) libmagic
=never-match
;;
3527 lt_cv_deplibs_check_method
=pass_all
3530 # This must be Linux ELF.
3532 lt_cv_deplibs_check_method
=pass_all
3536 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3537 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
3539 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
3544 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3545 lt_cv_file_magic_cmd
=/usr
/bin
/file
3546 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
3550 lt_cv_deplibs_check_method
=unknown
3554 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
3555 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
3557 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
3561 osf3
* | osf4
* | osf5
*)
3562 lt_cv_deplibs_check_method
=pass_all
3566 lt_cv_deplibs_check_method
=pass_all
3570 lt_cv_deplibs_check_method
=pass_all
3573 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
3574 case $host_vendor in
3576 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]'
3577 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
3580 lt_cv_deplibs_check_method
=pass_all
3583 lt_cv_file_magic_cmd
='/bin/file'
3584 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
3587 lt_cv_file_magic_cmd
='/bin/file'
3588 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
3589 lt_cv_file_magic_test_file
=/lib
/libc.so
3592 lt_cv_deplibs_check_method
=pass_all
3597 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
* | sysv4
*uw2
*)
3598 lt_cv_deplibs_check_method
=pass_all
3603 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3604 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3605 file_magic_cmd
=$lt_cv_file_magic_cmd
3606 deplibs_check_method
=$lt_cv_deplibs_check_method
3607 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
3612 # If no C compiler was specified, use CC.
3615 # Allow CC to be a program name with arguments.
3619 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
3620 if test "${enable_libtool_lock+set}" = set; then
3621 enableval
="$enable_libtool_lock"
3624 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
3626 # Some flags need to be propagated to the compiler or linker for good
3630 # Find out which ABI we are using.
3631 echo 'int i;' > conftest.
$ac_ext
3632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3633 (eval $ac_compile) 2>&5
3635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3636 (exit $ac_status); }; then
3637 case `/usr/bin/file conftest.$ac_objext` in
3649 # Find out which ABI we are using.
3650 echo '#line 3650 "configure"' > conftest.
$ac_ext
3651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3652 (eval $ac_compile) 2>&5
3654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3655 (exit $ac_status); }; then
3656 if test "$lt_cv_prog_gnu_ld" = yes; then
3657 case `/usr/bin/file conftest.$ac_objext` in
3659 LD
="${LD-ld} -melf32bsmip"
3662 LD
="${LD-ld} -melf32bmipn32"
3665 LD
="${LD-ld} -melf64bmip"
3669 case `/usr/bin/file conftest.$ac_objext` in
3685 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
3686 # Find out which ABI we are using.
3687 echo 'int i;' > conftest.
$ac_ext
3688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3689 (eval $ac_compile) 2>&5
3691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3692 (exit $ac_status); }; then
3693 case "`/usr/bin/file conftest.o`" in
3697 LD
="${LD-ld} -m elf_i386"
3699 ppc64-
*linux
*|powerpc64-
*linux
*)
3700 LD
="${LD-ld} -m elf32ppclinux"
3703 LD
="${LD-ld} -m elf_s390"
3706 LD
="${LD-ld} -m elf32_sparc"
3713 LD
="${LD-ld} -m elf_x86_64"
3715 ppc
*-*linux
*|powerpc
*-*linux
*)
3716 LD
="${LD-ld} -m elf64ppc"
3719 LD
="${LD-ld} -m elf64_s390"
3722 LD
="${LD-ld} -m elf64_sparc"
3732 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
3733 SAVE_CFLAGS
="$CFLAGS"
3734 CFLAGS
="$CFLAGS -belf"
3735 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
3736 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
3737 if test "${lt_cv_cc_needs_belf+set}" = set; then
3738 echo $ECHO_N "(cached) $ECHO_C" >&6
3741 ac_cpp
='$CPP $CPPFLAGS'
3742 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3743 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3744 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3746 cat >conftest.
$ac_ext <<_ACEOF
3749 cat confdefs.h
>>conftest.
$ac_ext
3750 cat >>conftest.
$ac_ext <<_ACEOF
3751 /* end confdefs.h. */
3761 rm -f conftest.
$ac_objext conftest
$ac_exeext
3762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3763 (eval $ac_link) 2>conftest.er1
3765 grep -v '^ *+' conftest.er1
>conftest.err
3767 cat conftest.err
>&5
3768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3769 (exit $ac_status); } &&
3770 { ac_try
='test -z "$ac_c_werror_flag"
3771 || test ! -s conftest.err'
3772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3776 (exit $ac_status); }; } &&
3777 { ac_try
='test -s conftest$ac_exeext'
3778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3782 (exit $ac_status); }; }; then
3783 lt_cv_cc_needs_belf
=yes
3785 echo "$as_me: failed program was:" >&5
3786 sed 's/^/| /' conftest.
$ac_ext >&5
3788 lt_cv_cc_needs_belf
=no
3790 rm -f conftest.err conftest.
$ac_objext \
3791 conftest
$ac_exeext conftest.
$ac_ext
3793 ac_cpp
='$CPP $CPPFLAGS'
3794 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3795 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3796 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3799 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
3800 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
3801 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
3802 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
3803 CFLAGS
="$SAVE_CFLAGS"
3809 need_locks
="$enable_libtool_lock"
3813 ac_cpp
='$CPP $CPPFLAGS'
3814 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3815 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3816 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3817 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3818 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3819 # On Suns, sometimes $CPP names a directory.
3820 if test -n "$CPP" && test -d "$CPP"; then
3823 if test -z "$CPP"; then
3824 if test "${ac_cv_prog_CPP+set}" = set; then
3825 echo $ECHO_N "(cached) $ECHO_C" >&6
3827 # Double quotes because CPP needs to be expanded
3828 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3831 for ac_c_preproc_warn_flag
in '' yes
3833 # Use a header file that comes with gcc, so configuring glibc
3834 # with a fresh cross-compiler works.
3835 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3836 # <limits.h> exists even on freestanding compilers.
3837 # On the NeXT, cc -E runs the code through the compiler's parser,
3838 # not just through cpp. "Syntax error" is here to catch this case.
3839 cat >conftest.
$ac_ext <<_ACEOF
3842 cat confdefs.h
>>conftest.
$ac_ext
3843 cat >>conftest.
$ac_ext <<_ACEOF
3844 /* end confdefs.h. */
3846 # include <limits.h>
3848 # include <assert.h>
3852 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3853 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3855 grep -v '^ *+' conftest.er1
>conftest.err
3857 cat conftest.err
>&5
3858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3859 (exit $ac_status); } >/dev
/null
; then
3860 if test -s conftest.err
; then
3861 ac_cpp_err
=$ac_c_preproc_warn_flag
3862 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3869 if test -z "$ac_cpp_err"; then
3872 echo "$as_me: failed program was:" >&5
3873 sed 's/^/| /' conftest.
$ac_ext >&5
3875 # Broken: fails on valid input.
3878 rm -f conftest.err conftest.
$ac_ext
3880 # OK, works on sane cases. Now check whether non-existent headers
3881 # can be detected and how.
3882 cat >conftest.
$ac_ext <<_ACEOF
3885 cat confdefs.h
>>conftest.
$ac_ext
3886 cat >>conftest.
$ac_ext <<_ACEOF
3887 /* end confdefs.h. */
3888 #include <ac_nonexistent.h>
3890 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3891 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3893 grep -v '^ *+' conftest.er1
>conftest.err
3895 cat conftest.err
>&5
3896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3897 (exit $ac_status); } >/dev
/null
; then
3898 if test -s conftest.err
; then
3899 ac_cpp_err
=$ac_c_preproc_warn_flag
3900 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3907 if test -z "$ac_cpp_err"; then
3908 # Broken: success on invalid input.
3911 echo "$as_me: failed program was:" >&5
3912 sed 's/^/| /' conftest.
$ac_ext >&5
3914 # Passes both tests.
3918 rm -f conftest.err conftest.
$ac_ext
3921 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3922 rm -f conftest.err conftest.
$ac_ext
3923 if $ac_preproc_ok; then
3935 echo "$as_me:$LINENO: result: $CPP" >&5
3936 echo "${ECHO_T}$CPP" >&6
3938 for ac_c_preproc_warn_flag
in '' yes
3940 # Use a header file that comes with gcc, so configuring glibc
3941 # with a fresh cross-compiler works.
3942 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3943 # <limits.h> exists even on freestanding compilers.
3944 # On the NeXT, cc -E runs the code through the compiler's parser,
3945 # not just through cpp. "Syntax error" is here to catch this case.
3946 cat >conftest.
$ac_ext <<_ACEOF
3949 cat confdefs.h
>>conftest.
$ac_ext
3950 cat >>conftest.
$ac_ext <<_ACEOF
3951 /* end confdefs.h. */
3953 # include <limits.h>
3955 # include <assert.h>
3959 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3960 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3962 grep -v '^ *+' conftest.er1
>conftest.err
3964 cat conftest.err
>&5
3965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3966 (exit $ac_status); } >/dev
/null
; then
3967 if test -s conftest.err
; then
3968 ac_cpp_err
=$ac_c_preproc_warn_flag
3969 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3976 if test -z "$ac_cpp_err"; then
3979 echo "$as_me: failed program was:" >&5
3980 sed 's/^/| /' conftest.
$ac_ext >&5
3982 # Broken: fails on valid input.
3985 rm -f conftest.err conftest.
$ac_ext
3987 # OK, works on sane cases. Now check whether non-existent headers
3988 # can be detected and how.
3989 cat >conftest.
$ac_ext <<_ACEOF
3992 cat confdefs.h
>>conftest.
$ac_ext
3993 cat >>conftest.
$ac_ext <<_ACEOF
3994 /* end confdefs.h. */
3995 #include <ac_nonexistent.h>
3997 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3998 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4000 grep -v '^ *+' conftest.er1
>conftest.err
4002 cat conftest.err
>&5
4003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4004 (exit $ac_status); } >/dev
/null
; then
4005 if test -s conftest.err
; then
4006 ac_cpp_err
=$ac_c_preproc_warn_flag
4007 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4014 if test -z "$ac_cpp_err"; then
4015 # Broken: success on invalid input.
4018 echo "$as_me: failed program was:" >&5
4019 sed 's/^/| /' conftest.
$ac_ext >&5
4021 # Passes both tests.
4025 rm -f conftest.err conftest.
$ac_ext
4028 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4029 rm -f conftest.err conftest.
$ac_ext
4030 if $ac_preproc_ok; then
4033 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4034 See \`config.log' for more details." >&5
4035 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4036 See \`config.log' for more details." >&2;}
4037 { (exit 1); exit 1; }; }
4041 ac_cpp
='$CPP $CPPFLAGS'
4042 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4043 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4044 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4047 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4048 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4049 if test "${ac_cv_header_stdc+set}" = set; then
4050 echo $ECHO_N "(cached) $ECHO_C" >&6
4052 cat >conftest.
$ac_ext <<_ACEOF
4055 cat confdefs.h
>>conftest.
$ac_ext
4056 cat >>conftest.
$ac_ext <<_ACEOF
4057 /* end confdefs.h. */
4071 rm -f conftest.
$ac_objext
4072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4073 (eval $ac_compile) 2>conftest.er1
4075 grep -v '^ *+' conftest.er1
>conftest.err
4077 cat conftest.err
>&5
4078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4079 (exit $ac_status); } &&
4080 { ac_try
='test -z "$ac_c_werror_flag"
4081 || test ! -s conftest.err'
4082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4086 (exit $ac_status); }; } &&
4087 { ac_try
='test -s conftest.$ac_objext'
4088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4092 (exit $ac_status); }; }; then
4093 ac_cv_header_stdc
=yes
4095 echo "$as_me: failed program was:" >&5
4096 sed 's/^/| /' conftest.
$ac_ext >&5
4098 ac_cv_header_stdc
=no
4100 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4102 if test $ac_cv_header_stdc = yes; then
4103 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4104 cat >conftest.
$ac_ext <<_ACEOF
4107 cat confdefs.h
>>conftest.
$ac_ext
4108 cat >>conftest.
$ac_ext <<_ACEOF
4109 /* end confdefs.h. */
4113 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4114 $EGREP "memchr" >/dev
/null
2>&1; then
4117 ac_cv_header_stdc
=no
4123 if test $ac_cv_header_stdc = yes; then
4124 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4125 cat >conftest.
$ac_ext <<_ACEOF
4128 cat confdefs.h
>>conftest.
$ac_ext
4129 cat >>conftest.
$ac_ext <<_ACEOF
4130 /* end confdefs.h. */
4134 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4135 $EGREP "free" >/dev
/null
2>&1; then
4138 ac_cv_header_stdc
=no
4144 if test $ac_cv_header_stdc = yes; then
4145 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4146 if test "$cross_compiling" = yes; then
4149 cat >conftest.
$ac_ext <<_ACEOF
4152 cat confdefs.h
>>conftest.
$ac_ext
4153 cat >>conftest.
$ac_ext <<_ACEOF
4154 /* end confdefs.h. */
4156 #if ((' ' & 0x0FF) == 0x020)
4157 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4158 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4160 # define ISLOWER(c) \
4161 (('a' <= (c) && (c) <= 'i') \
4162 || ('j' <= (c) && (c) <= 'r') \
4163 || ('s' <= (c) && (c) <= 'z'))
4164 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4167 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4172 for (i = 0; i < 256; i++)
4173 if (XOR (islower (i), ISLOWER (i))
4174 || toupper (i) != TOUPPER (i))
4179 rm -f conftest
$ac_exeext
4180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4181 (eval $ac_link) 2>&5
4183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4184 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4189 (exit $ac_status); }; }; then
4192 echo "$as_me: program exited with status $ac_status" >&5
4193 echo "$as_me: failed program was:" >&5
4194 sed 's/^/| /' conftest.
$ac_ext >&5
4197 ac_cv_header_stdc
=no
4199 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4203 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4204 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4205 if test $ac_cv_header_stdc = yes; then
4207 cat >>confdefs.h
<<\_ACEOF
4208 #define STDC_HEADERS 1
4213 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4223 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4224 inttypes.h stdint.h unistd.h
4226 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4227 echo "$as_me:$LINENO: checking for $ac_header" >&5
4228 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4229 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4230 echo $ECHO_N "(cached) $ECHO_C" >&6
4232 cat >conftest.
$ac_ext <<_ACEOF
4235 cat confdefs.h
>>conftest.
$ac_ext
4236 cat >>conftest.
$ac_ext <<_ACEOF
4237 /* end confdefs.h. */
4238 $ac_includes_default
4240 #include <$ac_header>
4242 rm -f conftest.
$ac_objext
4243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4244 (eval $ac_compile) 2>conftest.er1
4246 grep -v '^ *+' conftest.er1
>conftest.err
4248 cat conftest.err
>&5
4249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4250 (exit $ac_status); } &&
4251 { ac_try
='test -z "$ac_c_werror_flag"
4252 || test ! -s conftest.err'
4253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4257 (exit $ac_status); }; } &&
4258 { ac_try
='test -s conftest.$ac_objext'
4259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4263 (exit $ac_status); }; }; then
4264 eval "$as_ac_Header=yes"
4266 echo "$as_me: failed program was:" >&5
4267 sed 's/^/| /' conftest.
$ac_ext >&5
4269 eval "$as_ac_Header=no"
4271 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4274 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4275 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4276 cat >>confdefs.h
<<_ACEOF
4277 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4286 for ac_header
in dlfcn.h
4288 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4289 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4290 echo "$as_me:$LINENO: checking for $ac_header" >&5
4291 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4292 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4293 echo $ECHO_N "(cached) $ECHO_C" >&6
4295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4296 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4298 # Is the header compilable?
4299 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4300 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4301 cat >conftest.
$ac_ext <<_ACEOF
4304 cat confdefs.h
>>conftest.
$ac_ext
4305 cat >>conftest.
$ac_ext <<_ACEOF
4306 /* end confdefs.h. */
4307 $ac_includes_default
4308 #include <$ac_header>
4310 rm -f conftest.
$ac_objext
4311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4312 (eval $ac_compile) 2>conftest.er1
4314 grep -v '^ *+' conftest.er1
>conftest.err
4316 cat conftest.err
>&5
4317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4318 (exit $ac_status); } &&
4319 { ac_try
='test -z "$ac_c_werror_flag"
4320 || test ! -s conftest.err'
4321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4325 (exit $ac_status); }; } &&
4326 { ac_try
='test -s conftest.$ac_objext'
4327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4331 (exit $ac_status); }; }; then
4332 ac_header_compiler
=yes
4334 echo "$as_me: failed program was:" >&5
4335 sed 's/^/| /' conftest.
$ac_ext >&5
4337 ac_header_compiler
=no
4339 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4340 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4341 echo "${ECHO_T}$ac_header_compiler" >&6
4343 # Is the header present?
4344 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4345 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4346 cat >conftest.
$ac_ext <<_ACEOF
4349 cat confdefs.h
>>conftest.
$ac_ext
4350 cat >>conftest.
$ac_ext <<_ACEOF
4351 /* end confdefs.h. */
4352 #include <$ac_header>
4354 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4355 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4357 grep -v '^ *+' conftest.er1
>conftest.err
4359 cat conftest.err
>&5
4360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4361 (exit $ac_status); } >/dev
/null
; then
4362 if test -s conftest.err
; then
4363 ac_cpp_err
=$ac_c_preproc_warn_flag
4364 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4371 if test -z "$ac_cpp_err"; then
4372 ac_header_preproc
=yes
4374 echo "$as_me: failed program was:" >&5
4375 sed 's/^/| /' conftest.
$ac_ext >&5
4377 ac_header_preproc
=no
4379 rm -f conftest.err conftest.
$ac_ext
4380 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4381 echo "${ECHO_T}$ac_header_preproc" >&6
4383 # So? What about this header?
4384 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4386 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4387 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4388 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4389 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4390 ac_header_preproc
=yes
4393 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4394 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4395 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4396 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4397 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4398 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4399 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4400 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4401 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4402 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4403 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4404 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4407 ## ------------------------------------------ ##
4408 ## Report this to the AC_PACKAGE_NAME lists. ##
4409 ## ------------------------------------------ ##
4412 sed "s/^/$as_me: WARNING: /" >&2
4415 echo "$as_me:$LINENO: checking for $ac_header" >&5
4416 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4417 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4418 echo $ECHO_N "(cached) $ECHO_C" >&6
4420 eval "$as_ac_Header=\$ac_header_preproc"
4422 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4423 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4426 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4427 cat >>confdefs.h
<<_ACEOF
4428 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4436 ac_cpp
='$CXXCPP $CPPFLAGS'
4437 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4438 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4439 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4440 if test -n "$ac_tool_prefix"; then
4441 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
4443 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4444 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4445 echo "$as_me:$LINENO: checking for $ac_word" >&5
4446 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4447 if test "${ac_cv_prog_CXX+set}" = set; then
4448 echo $ECHO_N "(cached) $ECHO_C" >&6
4450 if test -n "$CXX"; then
4451 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
4453 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4457 test -z "$as_dir" && as_dir
=.
4458 for ac_exec_ext
in '' $ac_executable_extensions; do
4459 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4460 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
4461 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4470 if test -n "$CXX"; then
4471 echo "$as_me:$LINENO: result: $CXX" >&5
4472 echo "${ECHO_T}$CXX" >&6
4474 echo "$as_me:$LINENO: result: no" >&5
4475 echo "${ECHO_T}no" >&6
4478 test -n "$CXX" && break
4481 if test -z "$CXX"; then
4483 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
4485 # Extract the first word of "$ac_prog", so it can be a program name with args.
4486 set dummy
$ac_prog; ac_word
=$2
4487 echo "$as_me:$LINENO: checking for $ac_word" >&5
4488 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4489 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4490 echo $ECHO_N "(cached) $ECHO_C" >&6
4492 if test -n "$ac_ct_CXX"; then
4493 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
4495 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4499 test -z "$as_dir" && as_dir
=.
4500 for ac_exec_ext
in '' $ac_executable_extensions; do
4501 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4502 ac_cv_prog_ac_ct_CXX
="$ac_prog"
4503 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4511 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
4512 if test -n "$ac_ct_CXX"; then
4513 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4514 echo "${ECHO_T}$ac_ct_CXX" >&6
4516 echo "$as_me:$LINENO: result: no" >&5
4517 echo "${ECHO_T}no" >&6
4520 test -n "$ac_ct_CXX" && break
4522 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
4528 # Provide some information about the compiler.
4529 echo "$as_me:$LINENO:" \
4530 "checking for C++ compiler version" >&5
4531 ac_compiler
=`set X $ac_compile; echo $2`
4532 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4533 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
4535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4536 (exit $ac_status); }
4537 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4538 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
4540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4541 (exit $ac_status); }
4542 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4543 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
4545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4546 (exit $ac_status); }
4548 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4549 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
4550 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4551 echo $ECHO_N "(cached) $ECHO_C" >&6
4553 cat >conftest.
$ac_ext <<_ACEOF
4556 cat confdefs.h
>>conftest.
$ac_ext
4557 cat >>conftest.
$ac_ext <<_ACEOF
4558 /* end confdefs.h. */
4571 rm -f conftest.
$ac_objext
4572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4573 (eval $ac_compile) 2>conftest.er1
4575 grep -v '^ *+' conftest.er1
>conftest.err
4577 cat conftest.err
>&5
4578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4579 (exit $ac_status); } &&
4580 { ac_try
='test -z "$ac_cxx_werror_flag"
4581 || test ! -s conftest.err'
4582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4586 (exit $ac_status); }; } &&
4587 { ac_try
='test -s conftest.$ac_objext'
4588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4592 (exit $ac_status); }; }; then
4595 echo "$as_me: failed program was:" >&5
4596 sed 's/^/| /' conftest.
$ac_ext >&5
4600 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4601 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4604 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4605 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
4606 GXX
=`test $ac_compiler_gnu = yes && echo yes`
4607 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4608 ac_save_CXXFLAGS
=$CXXFLAGS
4610 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4611 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
4612 if test "${ac_cv_prog_cxx_g+set}" = set; then
4613 echo $ECHO_N "(cached) $ECHO_C" >&6
4615 cat >conftest.
$ac_ext <<_ACEOF
4618 cat confdefs.h
>>conftest.
$ac_ext
4619 cat >>conftest.
$ac_ext <<_ACEOF
4620 /* end confdefs.h. */
4630 rm -f conftest.
$ac_objext
4631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4632 (eval $ac_compile) 2>conftest.er1
4634 grep -v '^ *+' conftest.er1
>conftest.err
4636 cat conftest.err
>&5
4637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4638 (exit $ac_status); } &&
4639 { ac_try
='test -z "$ac_cxx_werror_flag"
4640 || test ! -s conftest.err'
4641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4645 (exit $ac_status); }; } &&
4646 { ac_try
='test -s conftest.$ac_objext'
4647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4651 (exit $ac_status); }; }; then
4652 ac_cv_prog_cxx_g
=yes
4654 echo "$as_me: failed program was:" >&5
4655 sed 's/^/| /' conftest.
$ac_ext >&5
4659 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4661 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4662 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
4663 if test "$ac_test_CXXFLAGS" = set; then
4664 CXXFLAGS
=$ac_save_CXXFLAGS
4665 elif test $ac_cv_prog_cxx_g = yes; then
4666 if test "$GXX" = yes; then
4672 if test "$GXX" = yes; then
4678 for ac_declaration
in \
4680 'extern "C" void std::exit (int) throw (); using std::exit;' \
4681 'extern "C" void std::exit (int); using std::exit;' \
4682 'extern "C" void exit (int) throw ();' \
4683 'extern "C" void exit (int);' \
4686 cat >conftest.
$ac_ext <<_ACEOF
4689 cat confdefs.h
>>conftest.
$ac_ext
4690 cat >>conftest.
$ac_ext <<_ACEOF
4691 /* end confdefs.h. */
4702 rm -f conftest.
$ac_objext
4703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4704 (eval $ac_compile) 2>conftest.er1
4706 grep -v '^ *+' conftest.er1
>conftest.err
4708 cat conftest.err
>&5
4709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4710 (exit $ac_status); } &&
4711 { ac_try
='test -z "$ac_cxx_werror_flag"
4712 || test ! -s conftest.err'
4713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4717 (exit $ac_status); }; } &&
4718 { ac_try
='test -s conftest.$ac_objext'
4719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4723 (exit $ac_status); }; }; then
4726 echo "$as_me: failed program was:" >&5
4727 sed 's/^/| /' conftest.
$ac_ext >&5
4731 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4732 cat >conftest.
$ac_ext <<_ACEOF
4735 cat confdefs.h
>>conftest.
$ac_ext
4736 cat >>conftest.
$ac_ext <<_ACEOF
4737 /* 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
4775 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4778 if test -n "$ac_declaration"; then
4779 echo '#ifdef __cplusplus' >>confdefs.h
4780 echo $ac_declaration >>confdefs.h
4781 echo '#endif' >>confdefs.h
4785 ac_cpp
='$CXXCPP $CPPFLAGS'
4786 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4787 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4788 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4790 depcc
="$CXX" am_compiler_list
=
4792 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4793 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
4794 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
4795 echo $ECHO_N "(cached) $ECHO_C" >&6
4797 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4798 # We make a subdir and do the tests there. Otherwise we can end up
4799 # making bogus files that we don't know about and never remove. For
4800 # instance it was reported that on HP-UX the gcc test will end up
4801 # making a dummy file named `D' -- because `-MD' means `put the output
4804 # Copy depcomp to subdir because otherwise we won't find it if we're
4805 # using a relative directory.
4806 cp "$am_depcomp" conftest.dir
4808 # We will build objects and dependencies in a subdirectory because
4809 # it helps to detect inapplicable dependency modes. For instance
4810 # both Tru64's cc and ICC support -MD to output dependencies as a
4811 # side effect of compilation, but ICC will put the dependencies in
4812 # the current directory while Tru64 will put them in the object
4816 am_cv_CXX_dependencies_compiler_type
=none
4817 if test "$am_compiler_list" = ""; then
4818 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4820 for depmode
in $am_compiler_list; do
4821 # Setup a source with many dependencies, because some compilers
4822 # like to wrap large dependency lists on column 80 (with \), and
4823 # we should not choose a depcomp mode which is confused by this.
4825 # We need to recreate these files for each test, as the compiler may
4826 # overwrite some of them when testing with obscure command lines.
4827 # This happens at least with the AIX C compiler.
4829 for i
in 1 2 3 4 5 6; do
4830 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4831 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4832 # Solaris 8's {/usr,}/bin/sh.
4833 touch sub
/conftst
$i.h
4835 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4839 # after this tag, mechanisms are not by side-effect, so they'll
4840 # only be used when explicitly requested
4841 if test "x$enable_dependency_tracking" = xyes
; then
4849 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4850 # mode. It turns out that the SunPro C++ compiler does not properly
4851 # handle `-M -o', and we need to detect this.
4852 if depmode
=$depmode \
4853 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
4854 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4855 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
4856 >/dev
/null
2>conftest.err
&&
4857 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4858 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
4859 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4860 # icc doesn't choke on unknown options, it will just issue warnings
4861 # or remarks (even with -Werror). So we grep stderr for any message
4862 # that says an option was ignored or not supported.
4863 # When given -MP, icc 7.0 and 7.1 complain thusly:
4864 # icc: Command line warning: ignoring option '-M'; no argument required
4865 # The diagnosis changed in icc 8.0:
4866 # icc: Command line remark: option '-MP' not supported
4867 if (grep 'ignoring option' conftest.err ||
4868 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4869 am_cv_CXX_dependencies_compiler_type
=$depmode
4878 am_cv_CXX_dependencies_compiler_type
=none
4882 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
4883 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
4884 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4889 test "x$enable_dependency_tracking" != xno \
4890 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4891 am__fastdepCXX_TRUE
=
4892 am__fastdepCXX_FALSE
='#'
4894 am__fastdepCXX_TRUE
='#'
4895 am__fastdepCXX_FALSE
=
4901 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
4902 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
4903 (test "X$CXX" != "Xg++"))) ; then
4905 ac_cpp
='$CXXCPP $CPPFLAGS'
4906 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4907 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4908 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4909 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4910 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4911 if test -z "$CXXCPP"; then
4912 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4913 echo $ECHO_N "(cached) $ECHO_C" >&6
4915 # Double quotes because CXXCPP needs to be expanded
4916 for CXXCPP
in "$CXX -E" "/lib/cpp"
4919 for ac_cxx_preproc_warn_flag
in '' yes
4921 # Use a header file that comes with gcc, so configuring glibc
4922 # with a fresh cross-compiler works.
4923 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4924 # <limits.h> exists even on freestanding compilers.
4925 # On the NeXT, cc -E runs the code through the compiler's parser,
4926 # not just through cpp. "Syntax error" is here to catch this case.
4927 cat >conftest.
$ac_ext <<_ACEOF
4930 cat confdefs.h
>>conftest.
$ac_ext
4931 cat >>conftest.
$ac_ext <<_ACEOF
4932 /* end confdefs.h. */
4934 # include <limits.h>
4936 # include <assert.h>
4940 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4941 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4943 grep -v '^ *+' conftest.er1
>conftest.err
4945 cat conftest.err
>&5
4946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4947 (exit $ac_status); } >/dev
/null
; then
4948 if test -s conftest.err
; then
4949 ac_cpp_err
=$ac_cxx_preproc_warn_flag
4950 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
4957 if test -z "$ac_cpp_err"; then
4960 echo "$as_me: failed program was:" >&5
4961 sed 's/^/| /' conftest.
$ac_ext >&5
4963 # Broken: fails on valid input.
4966 rm -f conftest.err conftest.
$ac_ext
4968 # OK, works on sane cases. Now check whether non-existent headers
4969 # can be detected and how.
4970 cat >conftest.
$ac_ext <<_ACEOF
4973 cat confdefs.h
>>conftest.
$ac_ext
4974 cat >>conftest.
$ac_ext <<_ACEOF
4975 /* end confdefs.h. */
4976 #include <ac_nonexistent.h>
4978 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4979 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4981 grep -v '^ *+' conftest.er1
>conftest.err
4983 cat conftest.err
>&5
4984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4985 (exit $ac_status); } >/dev
/null
; then
4986 if test -s conftest.err
; then
4987 ac_cpp_err
=$ac_cxx_preproc_warn_flag
4988 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
4995 if test -z "$ac_cpp_err"; then
4996 # Broken: success on invalid input.
4999 echo "$as_me: failed program was:" >&5
5000 sed 's/^/| /' conftest.
$ac_ext >&5
5002 # Passes both tests.
5006 rm -f conftest.err conftest.
$ac_ext
5009 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5010 rm -f conftest.err conftest.
$ac_ext
5011 if $ac_preproc_ok; then
5016 ac_cv_prog_CXXCPP
=$CXXCPP
5019 CXXCPP
=$ac_cv_prog_CXXCPP
5021 ac_cv_prog_CXXCPP
=$CXXCPP
5023 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5024 echo "${ECHO_T}$CXXCPP" >&6
5026 for ac_cxx_preproc_warn_flag
in '' yes
5028 # Use a header file that comes with gcc, so configuring glibc
5029 # with a fresh cross-compiler works.
5030 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5031 # <limits.h> exists even on freestanding compilers.
5032 # On the NeXT, cc -E runs the code through the compiler's parser,
5033 # not just through cpp. "Syntax error" is here to catch this case.
5034 cat >conftest.
$ac_ext <<_ACEOF
5037 cat confdefs.h
>>conftest.
$ac_ext
5038 cat >>conftest.
$ac_ext <<_ACEOF
5039 /* end confdefs.h. */
5041 # include <limits.h>
5043 # include <assert.h>
5047 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5048 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5050 grep -v '^ *+' conftest.er1
>conftest.err
5052 cat conftest.err
>&5
5053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5054 (exit $ac_status); } >/dev
/null
; then
5055 if test -s conftest.err
; then
5056 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5057 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5064 if test -z "$ac_cpp_err"; then
5067 echo "$as_me: failed program was:" >&5
5068 sed 's/^/| /' conftest.
$ac_ext >&5
5070 # Broken: fails on valid input.
5073 rm -f conftest.err conftest.
$ac_ext
5075 # OK, works on sane cases. Now check whether non-existent headers
5076 # can be detected and how.
5077 cat >conftest.
$ac_ext <<_ACEOF
5080 cat confdefs.h
>>conftest.
$ac_ext
5081 cat >>conftest.
$ac_ext <<_ACEOF
5082 /* end confdefs.h. */
5083 #include <ac_nonexistent.h>
5085 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5086 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5088 grep -v '^ *+' conftest.er1
>conftest.err
5090 cat conftest.err
>&5
5091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5092 (exit $ac_status); } >/dev
/null
; then
5093 if test -s conftest.err
; then
5094 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5095 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5102 if test -z "$ac_cpp_err"; then
5103 # Broken: success on invalid input.
5106 echo "$as_me: failed program was:" >&5
5107 sed 's/^/| /' conftest.
$ac_ext >&5
5109 # Passes both tests.
5113 rm -f conftest.err conftest.
$ac_ext
5116 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5117 rm -f conftest.err conftest.
$ac_ext
5118 if $ac_preproc_ok; then
5121 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5122 See \`config.log' for more details." >&5
5123 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5124 See \`config.log' for more details." >&2;}
5125 { (exit 1); exit 1; }; }
5129 ac_cpp
='$CXXCPP $CPPFLAGS'
5130 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5131 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5132 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5138 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5139 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5140 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
5141 if test -n "$ac_tool_prefix"; then
5142 for ac_prog
in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
5144 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5145 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5146 echo "$as_me:$LINENO: checking for $ac_word" >&5
5147 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5148 if test "${ac_cv_prog_F77+set}" = set; then
5149 echo $ECHO_N "(cached) $ECHO_C" >&6
5151 if test -n "$F77"; then
5152 ac_cv_prog_F77
="$F77" # Let the user override the test.
5154 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5158 test -z "$as_dir" && as_dir
=.
5159 for ac_exec_ext
in '' $ac_executable_extensions; do
5160 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5161 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
5162 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5171 if test -n "$F77"; then
5172 echo "$as_me:$LINENO: result: $F77" >&5
5173 echo "${ECHO_T}$F77" >&6
5175 echo "$as_me:$LINENO: result: no" >&5
5176 echo "${ECHO_T}no" >&6
5179 test -n "$F77" && break
5182 if test -z "$F77"; then
5184 for ac_prog
in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
5186 # Extract the first word of "$ac_prog", so it can be a program name with args.
5187 set dummy
$ac_prog; ac_word
=$2
5188 echo "$as_me:$LINENO: checking for $ac_word" >&5
5189 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5190 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5191 echo $ECHO_N "(cached) $ECHO_C" >&6
5193 if test -n "$ac_ct_F77"; then
5194 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
5196 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5200 test -z "$as_dir" && as_dir
=.
5201 for ac_exec_ext
in '' $ac_executable_extensions; do
5202 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5203 ac_cv_prog_ac_ct_F77
="$ac_prog"
5204 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5212 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
5213 if test -n "$ac_ct_F77"; then
5214 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5215 echo "${ECHO_T}$ac_ct_F77" >&6
5217 echo "$as_me:$LINENO: result: no" >&5
5218 echo "${ECHO_T}no" >&6
5221 test -n "$ac_ct_F77" && break
5228 # Provide some information about the compiler.
5229 echo "$as_me:5229:" \
5230 "checking for Fortran 77 compiler version" >&5
5231 ac_compiler
=`set X $ac_compile; echo $2`
5232 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5233 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
5235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5236 (exit $ac_status); }
5237 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5238 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
5240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5241 (exit $ac_status); }
5242 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5243 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
5245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5246 (exit $ac_status); }
5249 # If we don't use `.F' as extension, the preprocessor is not run on the
5250 # input file. (Note that this only needs to work for GNU compilers.)
5253 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5254 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
5255 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5256 echo $ECHO_N "(cached) $ECHO_C" >&6
5258 cat >conftest.
$ac_ext <<_ACEOF
5266 rm -f conftest.
$ac_objext
5267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5268 (eval $ac_compile) 2>conftest.er1
5270 grep -v '^ *+' conftest.er1
>conftest.err
5272 cat conftest.err
>&5
5273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5274 (exit $ac_status); } &&
5275 { ac_try
='test -z "$ac_f77_werror_flag"
5276 || test ! -s conftest.err'
5277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5281 (exit $ac_status); }; } &&
5282 { ac_try
='test -s conftest.$ac_objext'
5283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5287 (exit $ac_status); }; }; then
5290 echo "$as_me: failed program was:" >&5
5291 sed 's/^/| /' conftest.
$ac_ext >&5
5295 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5296 ac_cv_f77_compiler_gnu
=$ac_compiler_gnu
5299 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5300 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
5302 ac_test_FFLAGS
=${FFLAGS+set}
5303 ac_save_FFLAGS
=$FFLAGS
5305 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5306 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
5307 if test "${ac_cv_prog_f77_g+set}" = set; then
5308 echo $ECHO_N "(cached) $ECHO_C" >&6
5311 cat >conftest.
$ac_ext <<_ACEOF
5316 rm -f conftest.
$ac_objext
5317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5318 (eval $ac_compile) 2>conftest.er1
5320 grep -v '^ *+' conftest.er1
>conftest.err
5322 cat conftest.err
>&5
5323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5324 (exit $ac_status); } &&
5325 { ac_try
='test -z "$ac_f77_werror_flag"
5326 || test ! -s conftest.err'
5327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5331 (exit $ac_status); }; } &&
5332 { ac_try
='test -s conftest.$ac_objext'
5333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5337 (exit $ac_status); }; }; then
5338 ac_cv_prog_f77_g
=yes
5340 echo "$as_me: failed program was:" >&5
5341 sed 's/^/| /' conftest.
$ac_ext >&5
5345 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5348 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5349 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
5350 if test "$ac_test_FFLAGS" = set; then
5351 FFLAGS
=$ac_save_FFLAGS
5352 elif test $ac_cv_prog_f77_g = yes; then
5353 if test "x$ac_cv_f77_compiler_gnu" = xyes
; then
5359 if test "x$ac_cv_f77_compiler_gnu" = xyes
; then
5366 G77
=`test $ac_compiler_gnu = yes && echo yes`
5368 ac_cpp
='$CPP $CPPFLAGS'
5369 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5370 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5371 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5375 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5377 # find the maximum length of command line arguments
5378 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5379 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5380 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5381 echo $ECHO_N "(cached) $ECHO_C" >&6
5388 # On DJGPP, this test can blow up pretty badly due to problems in libc
5389 # (any single argument exceeding 2000 bytes causes a buffer overrun
5390 # during glob expansion). Even if it were fixed, the result of this
5391 # check would be larger than it should be.
5392 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5396 # Under GNU Hurd, this test is not required because there is
5397 # no limit to the length of command line arguments.
5398 # Libtool will interpret -1 as no limit whatsoever
5399 lt_cv_sys_max_cmd_len
=-1;
5403 # On Win9x/ME, this test blows up -- it succeeds, but takes
5404 # about 5 minutes as the teststring grows exponentially.
5405 # Worse, since 9x/ME are not pre-emptively multitasking,
5406 # you end up with a "frozen" computer, even though with patience
5407 # the test eventually succeeds (with a max line length of 256k).
5408 # Instead, let's just punt: use the minimum linelength reported by
5409 # all of the supported platforms: 8192 (on NT/2K/XP).
5410 lt_cv_sys_max_cmd_len
=8192;
5414 # On AmigaOS with pdksh, this test takes hours, literally.
5415 # So we just punt and use a minimum line length of 8192.
5416 lt_cv_sys_max_cmd_len
=8192;
5419 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5420 # This has been around since 386BSD, at least. Likely further.
5421 if test -x /sbin
/sysctl
; then
5422 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5423 elif test -x /usr
/sbin
/sysctl
; then
5424 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5426 lt_cv_sys_max_cmd_len
=65536 # usable default for *BSD
5428 # And add a safety zone
5429 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5432 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5433 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5434 # nice to cause kernel panics so lets avoid the loop below.
5435 # First set a reasonable default.
5436 lt_cv_sys_max_cmd_len
=16384
5438 if test -x /sbin
/sysconfig
; then
5439 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5440 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5445 # If test is not a shell built-in, we'll probably end up computing a
5446 # maximum length that is only half of the actual maximum length, but
5448 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5449 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
5450 = "XX$teststring") >/dev
/null
2>&1 &&
5451 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
5452 lt_cv_sys_max_cmd_len
=$new_result &&
5453 test $i != 17 # 1/2 MB should be enough
5456 teststring
=$teststring$teststring
5459 # Add a significant safety factor because C++ compilers can tack on massive
5460 # amounts of additional arguments before passing them to the linker.
5461 # It appears as though 1/2 is a usable value.
5462 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5468 if test -n $lt_cv_sys_max_cmd_len ; then
5469 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5470 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5472 echo "$as_me:$LINENO: result: none" >&5
5473 echo "${ECHO_T}none" >&6
5479 # Check for command to grab the raw symbol name followed by C symbol from nm.
5480 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5481 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5482 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5483 echo $ECHO_N "(cached) $ECHO_C" >&6
5486 # These are sane defaults that work on at least a few old systems.
5487 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5489 # Character class describing NM global symbol codes.
5490 symcode
='[BCDEGRST]'
5492 # Regexp to match symbols that can be accessed directly from C.
5493 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
5495 # Transform an extracted symbol line into a proper C declaration
5496 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5498 # Transform an extracted symbol line into symbol name and symbol address
5499 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'"
5501 # Define system-specific variables.
5506 cygwin
* | mingw
* | pw32
*)
5507 symcode
='[ABCDGISTW]'
5509 hpux
*) # Its linker distinguishes data from code symbols
5510 if test "$host_cpu" = ia64
; then
5511 symcode
='[ABCDEGRST]'
5513 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5514 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'"
5517 if test "$host_cpu" = ia64
; then
5518 symcode
='[ABCDGIRSTW]'
5519 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5520 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'"
5524 symcode
='[BCDEGRST]'
5527 symcode
='[BCDEGQRST]'
5537 # Handle CRLF in mingw tool chain
5541 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5545 # If we're using GNU nm, then use its standard symbol codes.
5546 case `$NM -V 2>&1` in
5547 *GNU
* |
*'with BFD'*)
5548 symcode
='[ABCDGIRSTW]' ;;
5551 # Try without a prefix undercore, then with it.
5552 for ac_symprfx
in "" "_"; do
5554 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5555 symxfrm
="\\1 $ac_symprfx\\2 \\2"
5557 # Write the raw and C identifiers.
5558 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5560 # Check to see that the pipe works correctly.
5564 cat > conftest.
$ac_ext <<EOF
5569 void nm_test_func(){}
5573 int main(){nm_test_var='a';nm_test_func();return(0);}
5576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5577 (eval $ac_compile) 2>&5
5579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5580 (exit $ac_status); }; then
5581 # Now try to grab the symbols.
5583 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5584 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
5586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5587 (exit $ac_status); } && test -s "$nlist"; then
5588 # Try sorting and uniquifying the output.
5589 if sort "$nlist" |
uniq > "$nlist"T
; then
5590 mv -f "$nlist"T
"$nlist"
5595 # Make sure that we snagged all the symbols we need.
5596 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
5597 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
5598 cat <<EOF > conftest.$ac_ext
5604 # Now generate the symbol file.
5605 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
5607 cat <<EOF >> conftest.$ac_ext
5608 #if defined (__STDC__) && __STDC__
5609 # define lt_ptr_t void *
5611 # define lt_ptr_t char *
5615 /* The mapping between symbol names and symbols. */
5620 lt_preloaded_symbols[] =
5623 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
5624 cat <<\EOF
>> conftest.
$ac_ext
5632 # Now try linking the two files.
5633 mv conftest.
$ac_objext conftstm.
$ac_objext
5634 lt_save_LIBS
="$LIBS"
5635 lt_save_CFLAGS
="$CFLAGS"
5636 LIBS
="conftstm.$ac_objext"
5637 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5639 (eval $ac_link) 2>&5
5641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5642 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
5645 LIBS
="$lt_save_LIBS"
5646 CFLAGS
="$lt_save_CFLAGS"
5648 echo "cannot find nm_test_func in $nlist" >&5
5651 echo "cannot find nm_test_var in $nlist" >&5
5654 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5657 echo "$progname: failed program was:" >&5
5658 cat conftest.
$ac_ext >&5
5660 rm -f conftest
* conftst
*
5662 # Do not use the global_symbol_pipe unless it works.
5663 if test "$pipe_works" = yes; then
5666 lt_cv_sys_global_symbol_pipe
=
5672 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5673 lt_cv_sys_global_symbol_to_cdecl
=
5675 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5676 echo "$as_me:$LINENO: result: failed" >&5
5677 echo "${ECHO_T}failed" >&6
5679 echo "$as_me:$LINENO: result: ok" >&5
5680 echo "${ECHO_T}ok" >&6
5683 echo "$as_me:$LINENO: checking for objdir" >&5
5684 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
5685 if test "${lt_cv_objdir+set}" = set; then
5686 echo $ECHO_N "(cached) $ECHO_C" >&6
5688 rm -f .libs
2>/dev
/null
5689 mkdir .libs
2>/dev
/null
5690 if test -d .libs
; then
5693 # MS-DOS does not allow filenames that begin with a dot.
5696 rmdir .libs
2>/dev
/null
5698 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5699 echo "${ECHO_T}$lt_cv_objdir" >&6
5700 objdir
=$lt_cv_objdir
5708 # AIX sometimes has problems with the GCC collect2 program. For some
5709 # reason, if we set the COLLECT_NAMES environment variable, the problems
5710 # vanish in a puff of smoke.
5711 if test "X${COLLECT_NAMES+set}" != Xset
; then
5713 export COLLECT_NAMES
5718 # Sed substitution that helps us do robust quoting. It backslashifies
5719 # metacharacters that are still active within double-quoted strings.
5720 Xsed
='sed -e s/^X//'
5721 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
5723 # Same as above, but do not quote variable references.
5724 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
5726 # Sed substitution to delay expansion of an escaped shell variable in a
5727 # double_quote_subst'ed string.
5728 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5730 # Sed substitution to avoid accidental globbing in evaled expressions
5731 no_glob_subst
='s/\*/\\\*/g'
5737 default_ofile
=libtool
5738 can_build_shared
=yes
5740 # All known linkers require a `.a' archive for static linking (except M$VC,
5741 # which needs '.lib').
5743 ltmain
="$ac_aux_dir/ltmain.sh"
5744 ofile
="$default_ofile"
5745 with_gnu_ld
="$lt_cv_prog_gnu_ld"
5747 if test -n "$ac_tool_prefix"; then
5748 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5749 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5750 echo "$as_me:$LINENO: checking for $ac_word" >&5
5751 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5752 if test "${ac_cv_prog_AR+set}" = set; then
5753 echo $ECHO_N "(cached) $ECHO_C" >&6
5755 if test -n "$AR"; then
5756 ac_cv_prog_AR
="$AR" # Let the user override the test.
5758 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5762 test -z "$as_dir" && as_dir
=.
5763 for ac_exec_ext
in '' $ac_executable_extensions; do
5764 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5765 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5766 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5775 if test -n "$AR"; then
5776 echo "$as_me:$LINENO: result: $AR" >&5
5777 echo "${ECHO_T}$AR" >&6
5779 echo "$as_me:$LINENO: result: no" >&5
5780 echo "${ECHO_T}no" >&6
5784 if test -z "$ac_cv_prog_AR"; then
5786 # Extract the first word of "ar", so it can be a program name with args.
5787 set dummy
ar; ac_word
=$2
5788 echo "$as_me:$LINENO: checking for $ac_word" >&5
5789 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5790 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5791 echo $ECHO_N "(cached) $ECHO_C" >&6
5793 if test -n "$ac_ct_AR"; then
5794 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5796 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5800 test -z "$as_dir" && as_dir
=.
5801 for ac_exec_ext
in '' $ac_executable_extensions; do
5802 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5803 ac_cv_prog_ac_ct_AR
="ar"
5804 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5810 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="false"
5813 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5814 if test -n "$ac_ct_AR"; then
5815 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5816 echo "${ECHO_T}$ac_ct_AR" >&6
5818 echo "$as_me:$LINENO: result: no" >&5
5819 echo "${ECHO_T}no" >&6
5827 if test -n "$ac_tool_prefix"; then
5828 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5829 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5830 echo "$as_me:$LINENO: checking for $ac_word" >&5
5831 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5832 if test "${ac_cv_prog_RANLIB+set}" = set; then
5833 echo $ECHO_N "(cached) $ECHO_C" >&6
5835 if test -n "$RANLIB"; then
5836 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5838 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5842 test -z "$as_dir" && as_dir
=.
5843 for ac_exec_ext
in '' $ac_executable_extensions; do
5844 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5845 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5846 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5854 RANLIB
=$ac_cv_prog_RANLIB
5855 if test -n "$RANLIB"; then
5856 echo "$as_me:$LINENO: result: $RANLIB" >&5
5857 echo "${ECHO_T}$RANLIB" >&6
5859 echo "$as_me:$LINENO: result: no" >&5
5860 echo "${ECHO_T}no" >&6
5864 if test -z "$ac_cv_prog_RANLIB"; then
5865 ac_ct_RANLIB
=$RANLIB
5866 # Extract the first word of "ranlib", so it can be a program name with args.
5867 set dummy ranlib
; ac_word
=$2
5868 echo "$as_me:$LINENO: checking for $ac_word" >&5
5869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5870 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5871 echo $ECHO_N "(cached) $ECHO_C" >&6
5873 if test -n "$ac_ct_RANLIB"; then
5874 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5880 test -z "$as_dir" && as_dir
=.
5881 for ac_exec_ext
in '' $ac_executable_extensions; do
5882 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5883 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5890 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
5893 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5894 if test -n "$ac_ct_RANLIB"; then
5895 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5896 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5898 echo "$as_me:$LINENO: result: no" >&5
5899 echo "${ECHO_T}no" >&6
5902 RANLIB
=$ac_ct_RANLIB
5904 RANLIB
="$ac_cv_prog_RANLIB"
5907 if test -n "$ac_tool_prefix"; then
5908 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5909 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5910 echo "$as_me:$LINENO: checking for $ac_word" >&5
5911 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5912 if test "${ac_cv_prog_STRIP+set}" = set; then
5913 echo $ECHO_N "(cached) $ECHO_C" >&6
5915 if test -n "$STRIP"; then
5916 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5918 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5922 test -z "$as_dir" && as_dir
=.
5923 for ac_exec_ext
in '' $ac_executable_extensions; do
5924 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5925 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5926 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5934 STRIP
=$ac_cv_prog_STRIP
5935 if test -n "$STRIP"; then
5936 echo "$as_me:$LINENO: result: $STRIP" >&5
5937 echo "${ECHO_T}$STRIP" >&6
5939 echo "$as_me:$LINENO: result: no" >&5
5940 echo "${ECHO_T}no" >&6
5944 if test -z "$ac_cv_prog_STRIP"; then
5946 # Extract the first word of "strip", so it can be a program name with args.
5947 set dummy strip
; ac_word
=$2
5948 echo "$as_me:$LINENO: checking for $ac_word" >&5
5949 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5950 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5951 echo $ECHO_N "(cached) $ECHO_C" >&6
5953 if test -n "$ac_ct_STRIP"; then
5954 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5956 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5960 test -z "$as_dir" && as_dir
=.
5961 for ac_exec_ext
in '' $ac_executable_extensions; do
5962 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5963 ac_cv_prog_ac_ct_STRIP
="strip"
5964 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5970 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
5973 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5974 if test -n "$ac_ct_STRIP"; then
5975 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5976 echo "${ECHO_T}$ac_ct_STRIP" >&6
5978 echo "$as_me:$LINENO: result: no" >&5
5979 echo "${ECHO_T}no" >&6
5984 STRIP
="$ac_cv_prog_STRIP"
5989 old_CFLAGS
="$CFLAGS"
5991 # Set sane defaults for various variables
5992 test -z "$AR" && AR
=ar
5993 test -z "$AR_FLAGS" && AR_FLAGS
=cru
5994 test -z "$AS" && AS
=as
5995 test -z "$CC" && CC
=cc
5996 test -z "$LTCC" && LTCC
=$CC
5997 test -z "$DLLTOOL" && DLLTOOL
=dlltool
5998 test -z "$LD" && LD
=ld
5999 test -z "$LN_S" && LN_S
="ln -s"
6000 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6001 test -z "$NM" && NM
=nm
6002 test -z "$SED" && SED
=sed
6003 test -z "$OBJDUMP" && OBJDUMP
=objdump
6004 test -z "$RANLIB" && RANLIB
=:
6005 test -z "$STRIP" && STRIP
=:
6006 test -z "$ac_objext" && ac_objext
=o
6008 # Determine commands to create old-style static archives.
6009 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
6010 old_postinstall_cmds
='chmod 644 $oldlib'
6011 old_postuninstall_cmds
=
6013 if test -n "$RANLIB"; then
6016 old_postinstall_cmds
="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
6019 old_postinstall_cmds
="\$RANLIB \$oldlib~$old_postinstall_cmds"
6022 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6025 cc_basename
=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
6027 # Only perform the check for file, if the check method requires it
6028 case $deplibs_check_method in
6030 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6031 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6032 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6033 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6034 echo $ECHO_N "(cached) $ECHO_C" >&6
6038 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6041 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6042 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6043 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6044 for ac_dir
in $ac_dummy; do
6046 test -z "$ac_dir" && ac_dir
=.
6047 if test -f $ac_dir/${ac_tool_prefix}file; then
6048 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6049 if test -n "$file_magic_test_file"; then
6050 case $deplibs_check_method in
6052 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6053 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6054 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6055 $EGREP "$file_magic_regex" > /dev
/null
; then
6060 *** Warning: the command libtool uses to detect shared libraries,
6061 *** $file_magic_cmd, produces output that libtool cannot recognize.
6062 *** The result is that libtool may fail to recognize shared libraries
6063 *** as such. This will affect the creation of libtool libraries that
6064 *** depend on shared libraries, but programs linked with such libtool
6065 *** libraries will work regardless of this problem. Nevertheless, you
6066 *** may want to report the problem to your system manager and/or to
6067 *** bug-libtool@gnu.org
6077 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6082 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6083 if test -n "$MAGIC_CMD"; then
6084 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6085 echo "${ECHO_T}$MAGIC_CMD" >&6
6087 echo "$as_me:$LINENO: result: no" >&5
6088 echo "${ECHO_T}no" >&6
6091 if test -z "$lt_cv_path_MAGIC_CMD"; then
6092 if test -n "$ac_tool_prefix"; then
6093 echo "$as_me:$LINENO: checking for file" >&5
6094 echo $ECHO_N "checking for file... $ECHO_C" >&6
6095 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6096 echo $ECHO_N "(cached) $ECHO_C" >&6
6100 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6103 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6104 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6105 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6106 for ac_dir
in $ac_dummy; do
6108 test -z "$ac_dir" && ac_dir
=.
6109 if test -f $ac_dir/file; then
6110 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
6111 if test -n "$file_magic_test_file"; then
6112 case $deplibs_check_method in
6114 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6115 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6116 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6117 $EGREP "$file_magic_regex" > /dev
/null
; then
6122 *** Warning: the command libtool uses to detect shared libraries,
6123 *** $file_magic_cmd, produces output that libtool cannot recognize.
6124 *** The result is that libtool may fail to recognize shared libraries
6125 *** as such. This will affect the creation of libtool libraries that
6126 *** depend on shared libraries, but programs linked with such libtool
6127 *** libraries will work regardless of this problem. Nevertheless, you
6128 *** may want to report the problem to your system manager and/or to
6129 *** bug-libtool@gnu.org
6139 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6144 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6145 if test -n "$MAGIC_CMD"; then
6146 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6147 echo "${ECHO_T}$MAGIC_CMD" >&6
6149 echo "$as_me:$LINENO: result: no" >&5
6150 echo "${ECHO_T}no" >&6
6165 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6166 if test "${enable_libtool_lock+set}" = set; then
6167 enableval
="$enable_libtool_lock"
6170 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6173 # Check whether --with-pic or --without-pic was given.
6174 if test "${with_pic+set}" = set; then
6180 test -z "$pic_mode" && pic_mode
=default
6182 # Use C for the default configuration in the libtool script
6186 ac_cpp
='$CPP $CPPFLAGS'
6187 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6188 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6189 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6192 # Source file extension for C test sources.
6195 # Object file extension for compiled C test sources.
6199 # Code to be used in simple compile tests
6200 lt_simple_compile_test_code
="int some_variable = 0;\n"
6202 # Code to be used in simple link tests
6203 lt_simple_link_test_code
='int main(){return(0);}\n'
6206 # If no C compiler was specified, use CC.
6209 # Allow CC to be a program name with arguments.
6214 # Check for any special shared library compilation flags.
6217 if test "$GCC" = no
; then
6220 lt_prog_cc_shlib
='-belf'
6224 if test -n "$lt_prog_cc_shlib"; then
6225 { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
6226 echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
6227 if echo "$old_CC $old_CFLAGS " |
grep "[ ]$lt_prog_cc_shlib[ ]" >/dev
/null
; then :
6229 { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
6230 echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
6231 lt_cv_prog_cc_can_build_shared
=no
6237 # Check to make sure the static flag actually works.
6239 echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
6240 echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
6241 if test "${lt_prog_compiler_static_works+set}" = set; then
6242 echo $ECHO_N "(cached) $ECHO_C" >&6
6244 lt_prog_compiler_static_works
=no
6245 save_LDFLAGS
="$LDFLAGS"
6246 LDFLAGS
="$LDFLAGS $lt_prog_compiler_static"
6247 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
6248 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
6249 # The compiler can only warn and ignore the option if not recognized
6250 # So say no if there are warnings
6251 if test -s conftest.err
; then
6252 # Append any errors to the config.log.
6253 cat conftest.err
1>&5
6255 lt_prog_compiler_static_works
=yes
6259 LDFLAGS
="$save_LDFLAGS"
6262 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6263 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6265 if test x
"$lt_prog_compiler_static_works" = xyes
; then
6268 lt_prog_compiler_static
=
6274 lt_prog_compiler_no_builtin_flag
=
6276 if test "$GCC" = yes; then
6277 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
6280 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6281 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6282 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6283 echo $ECHO_N "(cached) $ECHO_C" >&6
6285 lt_cv_prog_compiler_rtti_exceptions
=no
6286 ac_outfile
=conftest.
$ac_objext
6287 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6288 lt_compiler_flag
="-fno-rtti -fno-exceptions"
6289 # Insert the option either (1) after the last *FLAGS variable, or
6290 # (2) before a word containing "conftest.", or (3) at the end.
6291 # Note that $ac_compile itself does not contain backslashes and begins
6292 # with a dollar sign (not a hyphen), so the echo should work correctly.
6293 # The option is referenced via a variable to avoid confusing sed.
6294 lt_compile
=`echo "$ac_compile" | $SED \
6295 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6296 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6297 -e 's:$: $lt_compiler_flag:'`
6298 (eval echo "\"\$as_me:6298: $lt_compile\"" >&5)
6299 (eval "$lt_compile" 2>conftest.err
)
6301 cat conftest.err
>&5
6302 echo "$as_me:6302: \$? = $ac_status" >&5
6303 if (exit $ac_status) && test -s "$ac_outfile"; then
6304 # The compiler can only warn and ignore the option if not recognized
6305 # So say no if there are warnings
6306 if test ! -s conftest.err
; then
6307 lt_cv_prog_compiler_rtti_exceptions
=yes
6313 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6314 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6316 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
6317 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6324 lt_prog_compiler_wl
=
6325 lt_prog_compiler_pic
=
6326 lt_prog_compiler_static
=
6328 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6329 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6331 if test "$GCC" = yes; then
6332 lt_prog_compiler_wl
='-Wl,'
6333 lt_prog_compiler_static
='-static'
6337 # All AIX code is PIC.
6338 if test "$host_cpu" = ia64
; then
6339 # AIX 5 now supports IA64 processor
6340 lt_prog_compiler_static
='-Bstatic'
6345 # FIXME: we need at least 68020 code to build shared libraries, but
6346 # adding the `-m68020' flag to GCC prevents building anything better,
6348 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
6351 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
6352 # PIC is the default for these OSes.
6355 mingw
* | pw32
* | os2
*)
6356 # This hack is so that the source file can tell whether it is being
6357 # built for inclusion in a dll (and should export symbols for example).
6358 lt_prog_compiler_pic
='-DDLL_EXPORT'
6361 darwin
* | rhapsody
*)
6362 # PIC is the default on this platform
6363 # Common symbols not allowed in MH_DYLIB files
6364 lt_prog_compiler_pic
='-fno-common'
6368 # Just because we use GCC doesn't mean we suddenly get shared libraries
6369 # on systems that don't support them.
6370 lt_prog_compiler_can_build_shared
=no
6375 if test -d /usr
/nec
; then
6376 lt_prog_compiler_pic
=-Kconform_pic
6381 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6388 lt_prog_compiler_pic
='-fPIC'
6394 lt_prog_compiler_pic
='-fPIC'
6398 # PORTME Check for flag to pass linker flags through the system compiler.
6401 lt_prog_compiler_wl
='-Wl,'
6402 if test "$host_cpu" = ia64
; then
6403 # AIX 5 now supports IA64 processor
6404 lt_prog_compiler_static
='-Bstatic'
6406 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
6410 # PIC is the default on this platform
6411 # Common symbols not allowed in MH_DYLIB files
6412 case "$cc_basename" in
6414 lt_prog_compiler_pic
='-qnocommon'
6415 lt_prog_compiler_wl
='-Wl,'
6420 mingw
* | pw32
* | os2
*)
6421 # This hack is so that the source file can tell whether it is being
6422 # built for inclusion in a dll (and should export symbols for example).
6423 lt_prog_compiler_pic
='-DDLL_EXPORT'
6426 hpux9
* | hpux10
* | hpux11
*)
6427 lt_prog_compiler_wl
='-Wl,'
6428 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6435 lt_prog_compiler_pic
='+Z'
6438 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6439 lt_prog_compiler_static
='${wl}-a ${wl}archive'
6442 irix5
* | irix6
* | nonstopux
*)
6443 lt_prog_compiler_wl
='-Wl,'
6444 # PIC (with -KPIC) is the default.
6445 lt_prog_compiler_static
='-non_shared'
6449 lt_prog_compiler_pic
='-KPIC'
6450 lt_prog_compiler_static
='-Bstatic'
6454 case $cc_basename in
6456 lt_prog_compiler_wl
='-Wl,'
6457 lt_prog_compiler_pic
='-KPIC'
6458 lt_prog_compiler_static
='-static'
6460 pgcc | pgf77 | pgf90
)
6461 # Portland Group compilers (*not* the Pentium gcc compiler,
6462 # which looks to be a dead project)
6463 lt_prog_compiler_wl
='-Wl,'
6464 lt_prog_compiler_pic
='-fpic'
6465 lt_prog_compiler_static
='-static'
6468 lt_prog_compiler_wl
='-Wl,'
6469 # All Alpha code is PIC.
6470 lt_prog_compiler_static
='-non_shared'
6473 lt_prog_compiler_wl
='-lopt='
6478 osf3
* | osf4
* | osf5
*)
6479 lt_prog_compiler_wl
='-Wl,'
6480 # All OSF/1 code is PIC.
6481 lt_prog_compiler_static
='-non_shared'
6485 lt_prog_compiler_pic
='-Kpic'
6486 lt_prog_compiler_static
='-dn'
6490 lt_prog_compiler_wl
='-Wl,'
6491 lt_prog_compiler_pic
='-KPIC'
6492 lt_prog_compiler_static
='-Bstatic'
6496 lt_prog_compiler_wl
='-Qoption ld '
6497 lt_prog_compiler_pic
='-PIC'
6498 lt_prog_compiler_static
='-Bstatic'
6501 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
6502 lt_prog_compiler_wl
='-Wl,'
6503 lt_prog_compiler_pic
='-KPIC'
6504 lt_prog_compiler_static
='-Bstatic'
6508 if test -d /usr
/nec
;then
6509 lt_prog_compiler_pic
='-Kconform_pic'
6510 lt_prog_compiler_static
='-Bstatic'
6515 lt_prog_compiler_wl
='-Wl,'
6516 lt_prog_compiler_can_build_shared
=no
6520 lt_prog_compiler_pic
='-pic'
6521 lt_prog_compiler_static
='-Bstatic'
6525 lt_prog_compiler_can_build_shared
=no
6530 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6531 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6534 # Check to make sure the PIC flag actually works.
6536 if test -n "$lt_prog_compiler_pic"; then
6538 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6539 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6540 if test "${lt_prog_compiler_pic_works+set}" = set; then
6541 echo $ECHO_N "(cached) $ECHO_C" >&6
6543 lt_prog_compiler_pic_works
=no
6544 ac_outfile
=conftest.
$ac_objext
6545 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6546 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
6547 # Insert the option either (1) after the last *FLAGS variable, or
6548 # (2) before a word containing "conftest.", or (3) at the end.
6549 # Note that $ac_compile itself does not contain backslashes and begins
6550 # with a dollar sign (not a hyphen), so the echo should work correctly.
6551 # The option is referenced via a variable to avoid confusing sed.
6552 lt_compile
=`echo "$ac_compile" | $SED \
6553 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6554 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6555 -e 's:$: $lt_compiler_flag:'`
6556 (eval echo "\"\$as_me:6556: $lt_compile\"" >&5)
6557 (eval "$lt_compile" 2>conftest.err
)
6559 cat conftest.err
>&5
6560 echo "$as_me:6560: \$? = $ac_status" >&5
6561 if (exit $ac_status) && test -s "$ac_outfile"; then
6562 # The compiler can only warn and ignore the option if not recognized
6563 # So say no if there are warnings
6564 if test ! -s conftest.err
; then
6565 lt_prog_compiler_pic_works
=yes
6571 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6572 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6574 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
6575 case $lt_prog_compiler_pic in
6577 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
6580 lt_prog_compiler_pic
=
6581 lt_prog_compiler_can_build_shared
=no
6586 # For platforms which do not support PIC, -DPIC is meaningless:
6588 lt_prog_compiler_pic
=
6591 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
6595 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6596 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6597 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6598 echo $ECHO_N "(cached) $ECHO_C" >&6
6600 lt_cv_prog_compiler_c_o
=no
6601 $rm -r conftest
2>/dev
/null
6605 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6607 lt_compiler_flag
="-o out/conftest2.$ac_objext"
6608 # Insert the option either (1) after the last *FLAGS variable, or
6609 # (2) before a word containing "conftest.", or (3) at the end.
6610 # Note that $ac_compile itself does not contain backslashes and begins
6611 # with a dollar sign (not a hyphen), so the echo should work correctly.
6612 lt_compile
=`echo "$ac_compile" | $SED \
6613 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6614 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6615 -e 's:$: $lt_compiler_flag:'`
6616 (eval echo "\"\$as_me:6616: $lt_compile\"" >&5)
6617 (eval "$lt_compile" 2>out
/conftest.err
)
6619 cat out
/conftest.err
>&5
6620 echo "$as_me:6620: \$? = $ac_status" >&5
6621 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
6623 # The compiler can only warn and ignore the option if not recognized
6624 # So say no if there are warnings
6625 if test ! -s out
/conftest.err
; then
6626 lt_cv_prog_compiler_c_o
=yes
6631 # SGI C++ compiler will create directory out/ii_files/ for
6632 # template instantiation
6633 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
6634 $rm out
/* && rmdir out
6640 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6641 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6644 hard_links
="nottested"
6645 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
6646 # do not overwrite the value of need_locks provided by the user
6647 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6648 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
6651 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
6653 ln conftest.a conftest.b
2>&5 || hard_links
=no
6654 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
6655 echo "$as_me:$LINENO: result: $hard_links" >&5
6656 echo "${ECHO_T}$hard_links" >&6
6657 if test "$hard_links" = no
; then
6658 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6659 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6666 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6667 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
6670 allow_undefined_flag
=
6671 enable_shared_with_static_runtimes
=no
6673 archive_expsym_cmds
=
6674 old_archive_From_new_cmds
=
6675 old_archive_from_expsyms_cmds
=
6676 export_dynamic_flag_spec
=
6677 whole_archive_flag_spec
=
6678 thread_safe_flag_spec
=
6679 hardcode_libdir_flag_spec
=
6680 hardcode_libdir_flag_spec_ld
=
6681 hardcode_libdir_separator
=
6684 hardcode_shlibpath_var
=unsupported
6685 link_all_deplibs
=unknown
6686 hardcode_automatic
=no
6689 always_export_symbols
=no
6690 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6691 # include_expsyms should be a list of space-separated symbols to be *always*
6692 # included in the symbol list
6694 # exclude_expsyms can be an extended regexp of symbols to exclude
6695 # it will be wrapped by ` (' and `)$', so one must not match beginning or
6696 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6697 # as well as any symbol that contains `d'.
6698 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
6699 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6700 # platforms (ab)use it in PIC code, but their linkers get confused if
6701 # the symbol is explicitly referenced. Since portable code cannot
6702 # rely on this symbol name, it's probably fine to never include it in
6703 # preloaded symbol tables.
6704 extract_expsyms_cmds
=
6707 cygwin
* | mingw
* | pw32
*)
6708 # FIXME: the MSVC++ port hasn't been tested in a loooong time
6709 # When not using gcc, we currently assume that we are using
6710 # Microsoft Visual C++.
6711 if test "$GCC" != yes; then
6721 if test "$with_gnu_ld" = yes; then
6722 # If archive_cmds runs LD, not CC, wlarc should be empty
6725 # See if GNU ld supports shared libraries.
6727 aix3
* | aix4
* | aix5
*)
6728 # On AIX/PPC, the GNU linker is very broken
6729 if test "$host_cpu" != ia64
; then
6733 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
6734 *** to be unable to reliably create shared libraries on AIX.
6735 *** Therefore, libtool is disabling shared libraries support. If you
6736 *** really care for shared libraries, you may want to modify your PATH
6737 *** so that a non-GNU linker is found, and then restart.
6744 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)'
6745 hardcode_libdir_flag_spec
='-L$libdir'
6746 hardcode_minus_L
=yes
6748 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
6749 # that the semantics of dynamic libraries on AmigaOS, at least up
6750 # to version 4, is to share data among multiple programs linked
6751 # with the same dynamic library. Since this doesn't match the
6752 # behavior of shared libraries on other platforms, we can't use
6758 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
6759 allow_undefined_flag
=unsupported
6760 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
6761 # support --undefined. This deserves some investigation. FIXME
6762 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6768 cygwin
* | mingw
* | pw32
*)
6769 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
6770 # as there is no search path for DLLs.
6771 hardcode_libdir_flag_spec
='-L$libdir'
6772 allow_undefined_flag
=unsupported
6773 always_export_symbols
=no
6774 enable_shared_with_static_runtimes
=yes
6775 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
6777 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
6778 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6779 # If the export-symbols file already is a .def file (1st line
6780 # is EXPORTS), use it as is; otherwise, prepend...
6781 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
6782 cp $export_symbols $output_objdir/$soname.def;
6784 echo EXPORTS > $output_objdir/$soname.def;
6785 cat $export_symbols >> $output_objdir/$soname.def;
6787 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6794 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
6795 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
6798 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6799 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6804 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
6808 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
6809 *** create shared libraries on Solaris systems. Therefore, libtool
6810 *** is disabling shared libraries support. We urge you to upgrade GNU
6811 *** binutils to release 2.9.1 or newer. Another option is to modify
6812 *** your PATH or compiler configuration so that the native linker is
6813 *** used, and then restart.
6816 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
6817 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6818 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6825 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6828 hardcode_shlibpath_var
=no
6832 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
6834 case $CC,$host_cpu in
6835 pgf77
* | pgf90
* ) # Portland Group f77 and f90 compilers
6836 tmp_addflag
=' -fpic' ;;
6837 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
6838 tmp_addflag
=' -i_dynamic' ;;
6839 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
6840 tmp_addflag
=' -i_dynamic -nofor_main' ;;
6841 ifc
* | ifort
*) # Intel Fortran compiler
6842 tmp_addflag
=' -nofor_main' ;;
6844 archive_cmds
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6845 supports_anon_versioning
=no
6846 case `$LD -v 2>/dev/null` in
6847 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
6848 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
6849 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
6850 *\
2.11.
*) ;; # other 2.11 versions
6851 *) supports_anon_versioning
=yes ;;
6853 if test $supports_anon_versioning = yes; then
6854 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
6855 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
6856 $echo "local: *; };" >> $output_objdir/$libname.ver~
6857 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
6859 archive_expsym_cmds
=$archive_cmds
6867 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
6868 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6869 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6876 if test "$ld_shlibs" = yes; then
6877 runpath_var
=LD_RUN_PATH
6878 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
6879 export_dynamic_flag_spec
='${wl}--export-dynamic'
6880 # ancient GNU ld didn't support --whole-archive et. al.
6881 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
6882 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6884 whole_archive_flag_spec
=
6888 # PORTME fill in a description of your system's linker (not GNU ld)
6891 allow_undefined_flag
=unsupported
6892 always_export_symbols
=yes
6893 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'
6894 # Note: this linker hardcodes the directories in LIBPATH if there
6895 # are no directories specified by -L.
6896 hardcode_minus_L
=yes
6897 if test "$GCC" = yes && test -z "$link_static_flag"; then
6898 # Neither direct hardcoding nor static linking is supported with a
6900 hardcode_direct
=unsupported
6905 if test "$host_cpu" = ia64
; then
6906 # On IA64, the linker does run time linking by default, so we don't
6907 # have to do anything special.
6908 aix_use_runtimelinking
=no
6909 exp_sym_flag
='-Bexport'
6912 # If we're using GNU nm, then we don't want the "-C" option.
6913 # -C means demangle to AIX nm, but means don't demangle with GNU nm
6914 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
6915 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'
6917 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'
6919 aix_use_runtimelinking
=no
6921 # Test if we are trying to use run time linking or normal
6922 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
6923 # need to do runtime linking.
6924 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
6925 for ld_flag
in $LDFLAGS; do
6926 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
6927 aix_use_runtimelinking
=yes
6933 exp_sym_flag
='-bexport'
6934 no_entry_flag
='-bnoentry'
6937 # When large executables or shared objects are built, AIX ld can
6938 # have problems creating the table of contents. If linking a library
6939 # or program results in "error TOC overflow" add -mminimal-toc to
6940 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
6941 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
6945 hardcode_libdir_separator
=':'
6946 link_all_deplibs
=yes
6948 if test "$GCC" = yes; then
6949 case $host_os in aix4.
[012]|aix4.
[012].
*)
6950 # We only want to do this on AIX 4.2 and lower, the check
6951 # below for broken collect2 doesn't work under 4.3+
6952 collect2name
=`${CC} -print-prog-name=collect2`
6953 if test -f "$collect2name" && \
6954 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
6956 # We have reworked collect2
6959 # We have old collect2
6960 hardcode_direct
=unsupported
6961 # It fails to find uninstalled libraries when the uninstalled
6962 # path is not listed in the libpath. Setting hardcode_minus_L
6963 # to unsupported forces relinking
6964 hardcode_minus_L
=yes
6965 hardcode_libdir_flag_spec
='-L$libdir'
6966 hardcode_libdir_separator
=
6969 shared_flag
='-shared'
6970 if test "$aix_use_runtimelinking" = yes; then
6971 shared_flag
="$shared_flag "'${wl}-G'
6975 if test "$host_cpu" = ia64
; then
6976 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
6977 # chokes on -Wl,-G. The following line is correct:
6980 if test "$aix_use_runtimelinking" = yes; then
6981 shared_flag
='${wl}-G'
6983 shared_flag
='${wl}-bM:SRE'
6988 # It seems that -bexpall does not export symbols beginning with
6989 # underscore (_), so it is better to generate a list of symbols to export.
6990 always_export_symbols
=yes
6991 if test "$aix_use_runtimelinking" = yes; then
6992 # Warning - without using the other runtime loading flags (-brtl),
6993 # -berok will link without error, but may produce a broken library.
6994 allow_undefined_flag
='-berok'
6995 # Determine the default libpath from the value encoded in an empty executable.
6996 cat >conftest.
$ac_ext <<_ACEOF
6999 cat confdefs.h
>>conftest.
$ac_ext
7000 cat >>conftest.
$ac_ext <<_ACEOF
7001 /* end confdefs.h. */
7011 rm -f conftest.
$ac_objext conftest
$ac_exeext
7012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7013 (eval $ac_link) 2>conftest.er1
7015 grep -v '^ *+' conftest.er1
>conftest.err
7017 cat conftest.err
>&5
7018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7019 (exit $ac_status); } &&
7020 { ac_try
='test -z "$ac_c_werror_flag"
7021 || test ! -s conftest.err'
7022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7026 (exit $ac_status); }; } &&
7027 { ac_try
='test -s conftest$ac_exeext'
7028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7032 (exit $ac_status); }; }; then
7034 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7036 # Check for a 64-bit object if we didn't find anything.
7037 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; }
7040 echo "$as_me: failed program was:" >&5
7041 sed 's/^/| /' conftest.
$ac_ext >&5
7044 rm -f conftest.err conftest.
$ac_objext \
7045 conftest
$ac_exeext conftest.
$ac_ext
7046 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7048 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7049 archive_expsym_cmds
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
7051 if test "$host_cpu" = ia64; then
7052 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr
/lib
:/lib
'
7053 allow_undefined_flag="-z nodefs"
7054 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\
$export_symbols"
7056 # Determine the default libpath from the value encoded in an empty executable.
7057 cat >conftest.$ac_ext <<_ACEOF
7060 cat confdefs.h >>conftest.$ac_ext
7061 cat >>conftest.$ac_ext <<_ACEOF
7062 /* end confdefs.h. */
7072 rm -f conftest.$ac_objext conftest$ac_exeext
7073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7074 (eval $ac_link) 2>conftest.er1
7076 grep -v '^ *+' conftest.er1 >conftest.err
7078 cat conftest.err >&5
7079 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7080 (exit $ac_status); } &&
7081 { ac_try='test -z "$ac_c_werror_flag"
7082 || test ! -s conftest.err'
7083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7086 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7087 (exit $ac_status); }; } &&
7088 { ac_try='test -s conftest$ac_exeext'
7089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7092 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7093 (exit $ac_status); }; }; then
7095 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7097 # Check for a 64-bit object if we didn't find anything.
7098 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; }
7101 echo "$as_me: failed program was
:" >&5
7102 sed 's/^/| /' conftest.$ac_ext >&5
7105 rm -f conftest.err conftest.$ac_objext \
7106 conftest$ac_exeext conftest.$ac_ext
7107 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
7109 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7110 # Warning - without using the other run time loading flags,
7111 # -berok will link without error, but may produce a broken library.
7112 no_undefined_flag=' ${wl}-bernotok'
7113 allow_undefined_flag=' ${wl}-berok'
7114 # -bexpall does not export symbols beginning with underscore (_)
7115 always_export_symbols=yes
7116 # Exported symbols can be pulled into shared objects from archives
7117 whole_archive_flag_spec=' '
7118 archive_cmds_need_lc=yes
7119 # This is similar to how AIX traditionally builds it's shared libraries.
7120 archive_expsym_cmds="\
$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
7126 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)'
7127 hardcode_libdir_flag_spec
='-L$libdir'
7128 hardcode_minus_L
=yes
7129 # see comment about different semantics on the GNU ld section
7134 export_dynamic_flag_spec
=-rdynamic
7137 cygwin
* | mingw
* | pw32
*)
7138 # When not using gcc, we currently assume that we are using
7139 # Microsoft Visual C++.
7140 # hardcode_libdir_flag_spec is actually meaningless, as there is
7141 # no search path for DLLs.
7142 hardcode_libdir_flag_spec
=' '
7143 allow_undefined_flag
=unsupported
7144 # Tell ltmain to make .lib files, not .a files.
7146 # Tell ltmain to make .dll files, not .so files.
7148 # FIXME: Setting linknames here is a bad hack.
7149 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
7150 # The linker will automatically build a .lib file if we build a DLL.
7151 old_archive_From_new_cmds
='true'
7152 # FIXME: Should let the user specify the lib program.
7153 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
7154 fix_srcfile_path
='`cygpath -w "$srcfile"`'
7155 enable_shared_with_static_runtimes
=yes
7158 darwin
* | rhapsody
*)
7160 rhapsody
* | darwin1.
[012])
7161 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
7164 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
7165 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7167 case ${MACOSX_DEPLOYMENT_TARGET} in
7169 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7172 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
7178 archive_cmds_need_lc
=no
7180 hardcode_automatic
=yes
7181 hardcode_shlibpath_var
=unsupported
7182 whole_archive_flag_spec
=''
7183 link_all_deplibs
=yes
7184 if test "$GCC" = yes ; then
7185 output_verbose_link_cmd
='echo'
7186 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7187 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7188 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
7189 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}'
7190 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}'
7192 case "$cc_basename" in
7194 output_verbose_link_cmd
='echo'
7195 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
7196 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7197 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
7198 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}'
7199 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}'
7209 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7210 hardcode_libdir_flag_spec
='-L$libdir'
7211 hardcode_shlibpath_var
=no
7218 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7219 # support. Future versions do this automatically, but an explicit c++rt0.o
7220 # does not break anything, and helps significantly (at the cost of a little
7223 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7224 hardcode_libdir_flag_spec
='-R$libdir'
7226 hardcode_shlibpath_var
=no
7229 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7231 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7233 hardcode_minus_L
=yes
7234 hardcode_shlibpath_var
=no
7237 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7238 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
7239 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7240 hardcode_libdir_flag_spec
='-R$libdir'
7242 hardcode_shlibpath_var
=no
7246 if test "$GCC" = yes; then
7247 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'
7249 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'
7251 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7252 hardcode_libdir_separator
=:
7255 # hardcode_minus_L: Not really in the search PATH,
7256 # but as the default location of the library.
7257 hardcode_minus_L
=yes
7258 export_dynamic_flag_spec
='${wl}-E'
7262 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7265 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7268 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7274 archive_cmds
='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
7277 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7281 if test "$with_gnu_ld" = no
; then
7284 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7285 hardcode_libdir_flag_spec_ld
='+b $libdir'
7286 hardcode_libdir_separator
=:
7288 hardcode_shlibpath_var
=no
7291 hardcode_libdir_flag_spec
='-L$libdir'
7293 hardcode_shlibpath_var
=no
7295 # hardcode_minus_L: Not really in the search PATH,
7296 # but as the default location of the library.
7297 hardcode_minus_L
=yes
7300 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7301 hardcode_libdir_separator
=:
7303 export_dynamic_flag_spec
='${wl}-E'
7305 # hardcode_minus_L: Not really in the search PATH,
7306 # but as the default location of the library.
7307 hardcode_minus_L
=yes
7313 irix5
* | irix6
* | nonstopux
*)
7314 if test "$GCC" = yes; then
7315 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'
7317 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'
7318 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
7320 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7321 hardcode_libdir_separator
=:
7322 link_all_deplibs
=yes
7326 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7327 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7329 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7331 hardcode_libdir_flag_spec
='-R$libdir'
7333 hardcode_shlibpath_var
=no
7337 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7339 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7340 hardcode_libdir_separator
=:
7341 hardcode_shlibpath_var
=no
7346 hardcode_shlibpath_var
=no
7347 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7348 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7349 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
7350 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7351 export_dynamic_flag_spec
='${wl}-E'
7354 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
7355 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7356 hardcode_libdir_flag_spec
='-R$libdir'
7359 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7360 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7367 hardcode_libdir_flag_spec
='-L$libdir'
7368 hardcode_minus_L
=yes
7369 allow_undefined_flag
=unsupported
7370 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'
7371 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7375 if test "$GCC" = yes; then
7376 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
7377 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'
7379 allow_undefined_flag
=' -expect_unresolved \*'
7380 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'
7382 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7383 hardcode_libdir_separator
=:
7386 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
7387 if test "$GCC" = yes; then
7388 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
7389 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'
7390 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7392 allow_undefined_flag
=' -expect_unresolved \*'
7393 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'
7394 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
7395 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
7397 # Both c and cxx compiler support -rpath directly
7398 hardcode_libdir_flag_spec
='-rpath $libdir'
7400 hardcode_libdir_separator
=:
7404 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7405 hardcode_shlibpath_var
=no
7406 export_dynamic_flag_spec
='${wl}-Bexport'
7407 runpath_var
=LD_RUN_PATH
7408 hardcode_runpath_var
=yes
7412 no_undefined_flag
=' -z text'
7413 if test "$GCC" = yes; then
7414 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7415 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7416 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
7418 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7419 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7420 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7422 hardcode_libdir_flag_spec
='-R$libdir'
7423 hardcode_shlibpath_var
=no
7425 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
7426 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
7427 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' ;;
7429 link_all_deplibs
=yes
7433 if test "x$host_vendor" = xsequent
; then
7434 # Use $CC to link under sequent, because it throws in some extra .o
7435 # files that make .init and .fini sections work.
7436 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7438 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7440 hardcode_libdir_flag_spec
='-L$libdir'
7442 hardcode_minus_L
=yes
7443 hardcode_shlibpath_var
=no
7447 case $host_vendor in
7449 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7450 hardcode_direct
=yes # is this really true???
7453 ## LD is ld it makes a PLAMLIB
7454 ## CC just makes a GrossModule.
7455 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7456 reload_cmds
='$CC -r -o $output$reload_objs'
7460 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7461 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
7464 runpath_var
='LD_RUN_PATH'
7465 hardcode_shlibpath_var
=no
7469 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7470 hardcode_shlibpath_var
=no
7471 export_dynamic_flag_spec
='-Bexport'
7475 if test -d /usr
/nec
; then
7476 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7477 hardcode_shlibpath_var
=no
7478 runpath_var
=LD_RUN_PATH
7479 hardcode_runpath_var
=yes
7485 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7488 hardcode_shlibpath_var
=no
7489 hardcode_runpath_var
=yes
7490 runpath_var
=LD_RUN_PATH
7493 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
7494 no_undefined_flag
='${wl}-z ${wl}text'
7495 if test "$GCC" = yes; then
7496 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7498 archive_cmds
='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7500 runpath_var
='LD_RUN_PATH'
7501 hardcode_shlibpath_var
=no
7505 no_undefined_flag
=' -z text'
7506 # $CC -shared without GNU ld will not create a library from C++
7507 # object files and a static libstdc++, better avoid it by now
7508 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7509 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7510 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7511 hardcode_libdir_flag_spec
=
7512 hardcode_shlibpath_var
=no
7513 runpath_var
='LD_RUN_PATH'
7517 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7518 hardcode_libdir_flag_spec
='-L$libdir'
7519 hardcode_shlibpath_var
=no
7528 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7529 echo "${ECHO_T}$ld_shlibs" >&6
7530 test "$ld_shlibs" = no
&& can_build_shared
=no
7532 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
7533 if test "$GCC" = yes; then
7534 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
7538 # Do we need to explicitly link libc?
7540 case "x$archive_cmds_need_lc" in
7542 # Assume -lc should be added
7543 archive_cmds_need_lc
=yes
7545 if test "$enable_shared" = yes && test "$GCC" = yes; then
7546 case $archive_cmds in
7548 # FIXME: we may have to deal with multi-command sequences.
7551 # Test whether the compiler implicitly links with -lc since on some
7552 # systems, -lgcc has to come before -lc. If gcc already passes -lc
7553 # to ld, don't add -lc before -lgcc.
7554 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7555 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
7557 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7560 (eval $ac_compile) 2>&5
7562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7563 (exit $ac_status); } 2>conftest.err
; then
7566 libobjs
=conftest.
$ac_objext
7568 wl
=$lt_prog_compiler_wl
7574 lt_save_allow_undefined_flag
=$allow_undefined_flag
7575 allow_undefined_flag
=
7576 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
7577 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
7579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7580 (exit $ac_status); }
7582 archive_cmds_need_lc
=no
7584 archive_cmds_need_lc
=yes
7586 allow_undefined_flag
=$lt_save_allow_undefined_flag
7588 cat conftest.err
1>&5
7591 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7592 echo "${ECHO_T}$archive_cmds_need_lc" >&6
7599 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7600 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
7602 libname_spec
='lib$name'
7610 shlibpath_overrides_runpath
=unknown
7612 dynamic_linker
="$host_os ld.so"
7613 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
7614 if test "$GCC" = yes; then
7615 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7616 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
7617 # if the path contains ";" then we assume it to be the separator
7618 # otherwise default to the standard path separator (i.e. ":") - it is
7619 # assumed that no part of a normal pathname contains ";" but that should
7620 # okay in the real world where ";" in dirpaths is itself problematic.
7621 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7623 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7626 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
7628 need_lib_prefix
=unknown
7629 hardcode_into_libs
=no
7631 # when you set need_version to no, make sure it does not cause -set_version
7632 # flags to be left without arguments
7633 need_version
=unknown
7638 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
7639 shlibpath_var
=LIBPATH
7641 # AIX 3 has no versioning support, so we append a major version to the name.
7642 soname_spec
='${libname}${release}${shared_ext}$major'
7649 hardcode_into_libs
=yes
7650 if test "$host_cpu" = ia64
; then
7651 # AIX 5 supports IA64
7652 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
7653 shlibpath_var
=LD_LIBRARY_PATH
7655 # With GCC up to 2.95.x, collect2 would create an import file
7656 # for dependence libraries. The import file would start with
7657 # the line `#! .'. This would cause the generated library to
7658 # depend on `.', always an invalid library. This was fixed in
7659 # development snapshots of GCC prior to 3.0.
7661 aix4 | aix4.
[01] | aix4.
[01].
*)
7662 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
7664 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
7671 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
7672 # soname into executable. Probably we can add versioning support to
7673 # collect2, so additional links can be useful in future.
7674 if test "$aix_use_runtimelinking" = yes; then
7675 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
7676 # instead of lib<name>.a to let people know that these are not
7677 # typical AIX shared libraries.
7678 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7680 # We preserve .a as extension for shared libraries through AIX4.2
7681 # and later when we are not doing run time linking.
7682 library_names_spec
='${libname}${release}.a $libname.a'
7683 soname_spec
='${libname}${release}${shared_ext}$major'
7685 shlibpath_var
=LIBPATH
7690 library_names_spec
='$libname.ixlibrary $libname.a'
7691 # Create ${libname}_ixlibrary.a entries in /sys/libs.
7692 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'
7696 library_names_spec
='${libname}${shared_ext}'
7697 dynamic_linker
="$host_os ld.so"
7698 shlibpath_var
=LIBRARY_PATH
7704 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7705 soname_spec
='${libname}${release}${shared_ext}$major'
7706 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
7707 shlibpath_var
=LD_LIBRARY_PATH
7708 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
7709 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
7710 # the default ld.so.conf also contains /usr/contrib/lib and
7711 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
7712 # libtool to hard-code these into programs
7715 cygwin
* | mingw
* | pw32
*)
7716 version_type
=windows
7721 case $GCC,$host_os in
7722 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
7723 library_names_spec
='$libname.dll.a'
7724 # DLL is installed to $(libdir)/../bin by postinstall_cmds
7725 postinstall_cmds
='base_file=`basename \${file}`~
7726 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
7727 dldir=$destdir/`dirname \$dlpath`~
7728 test -d \$dldir || mkdir -p \$dldir~
7729 $install_prog $dir/$dlname \$dldir/$dlname'
7730 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
7731 dlpath=$dir/\$dldll~
7733 shlibpath_overrides_runpath
=yes
7737 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
7738 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7739 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
7742 # MinGW DLLs use traditional 'lib' prefix
7743 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7744 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7745 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
7746 # It is most probably a Windows format PATH printed by
7747 # mingw gcc, but we are running on Cygwin. Gcc prints its search
7748 # path with ; separators, and with drive letters. We can handle the
7749 # drive letters (cygwin fileutils understands them), so leave them,
7750 # especially as we might pass files found there to a mingw objdump,
7751 # which wouldn't understand a cygwinified path. Ahh.
7752 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7754 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7758 # pw32 DLLs use 'pw' prefix rather than 'lib'
7759 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7765 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
7768 dynamic_linker
='Win32 ld.exe'
7769 # FIXME: first we should search . and the directory the executable is in
7773 darwin
* | rhapsody
*)
7774 dynamic_linker
="$host_os dyld"
7778 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
7779 soname_spec
='${libname}${release}${major}$shared_ext'
7780 shlibpath_overrides_runpath
=yes
7781 shlibpath_var
=DYLD_LIBRARY_PATH
7782 shrext_cmds
='$(test .$module = .yes && echo .so || echo .dylib)'
7783 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
7784 if test "$GCC" = yes; then
7785 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"`
7787 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
7789 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
7796 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
7797 soname_spec
='${libname}${release}${shared_ext}$major'
7798 shlibpath_var
=LD_LIBRARY_PATH
7809 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
7810 soname_spec
='${libname}${release}${shared_ext}$major'
7811 shlibpath_var
=LD_LIBRARY_PATH
7812 shlibpath_overrides_runpath
=no
7813 hardcode_into_libs
=yes
7814 dynamic_linker
='GNU ld.so'
7817 freebsd
* | dragonfly
*)
7818 # DragonFly does not have aout. When/if they implement a new
7819 # versioning mechanism, adjust this.
7820 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
7821 version_type
=freebsd-
$objformat
7822 case $version_type in
7824 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
7829 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
7833 shlibpath_var
=LD_LIBRARY_PATH
7836 shlibpath_overrides_runpath
=yes
7838 freebsd3.
[01]* | freebsdelf3.
[01]*)
7839 shlibpath_overrides_runpath
=yes
7840 hardcode_into_libs
=yes
7843 shlibpath_overrides_runpath
=no
7844 hardcode_into_libs
=yes
7853 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
7854 soname_spec
='${libname}${release}${shared_ext}$major'
7855 shlibpath_var
=LD_LIBRARY_PATH
7856 hardcode_into_libs
=yes
7859 hpux9
* | hpux10
* | hpux11
*)
7860 # Give a soname corresponding to the major version so that dld.sl refuses to
7861 # link against other versions.
7868 hardcode_into_libs
=yes
7869 dynamic_linker
="$host_os dld.so"
7870 shlibpath_var
=LD_LIBRARY_PATH
7871 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
7872 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7873 soname_spec
='${libname}${release}${shared_ext}$major'
7874 if test "X$HPUX_IA64_MODE" = X32
; then
7875 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
7877 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
7879 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
7883 hardcode_into_libs
=yes
7884 dynamic_linker
="$host_os dld.sl"
7885 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
7886 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
7887 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7888 soname_spec
='${libname}${release}${shared_ext}$major'
7889 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
7890 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
7894 dynamic_linker
="$host_os dld.sl"
7895 shlibpath_var
=SHLIB_PATH
7896 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
7897 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7898 soname_spec
='${libname}${release}${shared_ext}$major'
7901 # HP-UX runs *really* slowly unless shared libraries are mode 555.
7902 postinstall_cmds
='chmod 555 $lib'
7905 irix5
* | irix6
* | nonstopux
*)
7907 nonstopux
*) version_type
=nonstopux
;;
7909 if test "$lt_cv_prog_gnu_ld" = yes; then
7917 soname_spec
='${libname}${release}${shared_ext}$major'
7918 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
7920 irix5
* | nonstopux
*)
7924 case $LD in # libtool.m4 will add one of these switches to LD
7925 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
7926 libsuff
= shlibsuff
= libmagic
=32-bit;;
7927 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
7928 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
7929 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
7930 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
7931 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
7935 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
7936 shlibpath_overrides_runpath
=no
7937 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
7938 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
7939 hardcode_into_libs
=yes
7942 # No shared lib support for Linux oldld, aout, or coff.
7943 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
7947 # This must be Linux ELF.
7952 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7953 soname_spec
='${libname}${release}${shared_ext}$major'
7954 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
7955 shlibpath_var
=LD_LIBRARY_PATH
7956 shlibpath_overrides_runpath
=no
7957 # This implies no fast_install, which is unacceptable.
7958 # Some rework will be needed to allow for fast_install
7959 # before this can be enabled.
7960 hardcode_into_libs
=yes
7962 # Append ld.so.conf contents to the search path
7963 if test -f /etc
/ld.so.conf
; then
7964 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/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
7965 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
7968 # We used to test for /lib/ld.so.1 and disable shared libraries on
7969 # powerpc, because MkLinux only supported shared libraries with the
7970 # GNU dynamic linker. Since this was broken with cross compilers,
7971 # most powerpc-linux boxes support dynamic linking these days and
7972 # people can always --disable-shared, the test was removed, and we
7973 # assume the GNU/Linux dynamic linker is in use.
7974 dynamic_linker
='GNU/Linux ld.so'
7981 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
7982 soname_spec
='${libname}${release}${shared_ext}$major'
7983 shlibpath_var
=LD_LIBRARY_PATH
7984 shlibpath_overrides_runpath
=no
7985 hardcode_into_libs
=yes
7986 dynamic_linker
='GNU ld.so'
7993 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7994 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7995 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7996 dynamic_linker
='NetBSD (a.out) ld.so'
7998 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
7999 soname_spec
='${libname}${release}${shared_ext}$major'
8000 dynamic_linker
='NetBSD ld.elf_so'
8002 shlibpath_var
=LD_LIBRARY_PATH
8003 shlibpath_overrides_runpath
=yes
8004 hardcode_into_libs
=yes
8009 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8010 shlibpath_var
=LD_LIBRARY_PATH
8011 shlibpath_overrides_runpath
=yes
8018 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8019 soname_spec
='${libname}${release}${shared_ext}$major'
8020 shlibpath_var
=LD_LIBRARY_PATH
8021 shlibpath_overrides_runpath
=yes
8028 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8029 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8030 shlibpath_var
=LD_LIBRARY_PATH
8031 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8033 openbsd2.
[89] | openbsd2.
[89].
*)
8034 shlibpath_overrides_runpath
=no
8037 shlibpath_overrides_runpath
=yes
8041 shlibpath_overrides_runpath
=yes
8046 libname_spec
='$name'
8049 library_names_spec
='$libname${shared_ext} $libname.a'
8050 dynamic_linker
='OS/2 ld.exe'
8051 shlibpath_var
=LIBPATH
8054 osf3
* | osf4
* | osf5
*)
8058 soname_spec
='${libname}${release}${shared_ext}$major'
8059 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8060 shlibpath_var
=LD_LIBRARY_PATH
8061 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
8062 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
8067 soname_spec
='${libname}${release}${shared_ext}$major'
8068 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8069 shlibpath_var
=LD_LIBRARY_PATH
8076 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8077 soname_spec
='${libname}${release}${shared_ext}$major'
8078 shlibpath_var
=LD_LIBRARY_PATH
8079 shlibpath_overrides_runpath
=yes
8080 hardcode_into_libs
=yes
8081 # ldd complains unless libraries are executable
8082 postinstall_cmds
='chmod +x $lib'
8087 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8088 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
8089 shlibpath_var
=LD_LIBRARY_PATH
8090 shlibpath_overrides_runpath
=yes
8091 if test "$with_gnu_ld" = yes; then
8097 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
8099 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8100 soname_spec
='${libname}${release}${shared_ext}$major'
8101 shlibpath_var
=LD_LIBRARY_PATH
8102 case $host_vendor in
8104 shlibpath_overrides_runpath
=no
8106 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8107 runpath_var
=LD_RUN_PATH
8115 shlibpath_overrides_runpath
=no
8116 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
8122 if test -d /usr
/nec
;then
8124 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8125 soname_spec
='$libname${shared_ext}.$major'
8126 shlibpath_var
=LD_LIBRARY_PATH
8132 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8133 soname_spec
='${libname}${release}${shared_ext}$major'
8134 shlibpath_var
=LD_LIBRARY_PATH
8141 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8142 echo "${ECHO_T}$dynamic_linker" >&6
8143 test "$dynamic_linker" = no
&& can_build_shared
=no
8145 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
8146 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
8148 if test -n "$hardcode_libdir_flag_spec" || \
8149 test -n "$runpath_var" || \
8150 test "X$hardcode_automatic" = "Xyes" ; then
8152 # We can hardcode non-existant directories.
8153 if test "$hardcode_direct" != no
&&
8154 # If the only mechanism to avoid hardcoding is shlibpath_var, we
8155 # have to relink, otherwise we might link with an installed library
8156 # when we should be linking with a yet-to-be-installed one
8157 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
8158 test "$hardcode_minus_L" != no
; then
8159 # Linking always hardcodes the temporary library directory.
8160 hardcode_action
=relink
8162 # We can link without hardcoding, and we can hardcode nonexisting dirs.
8163 hardcode_action
=immediate
8166 # We cannot hardcode anything, or else we can only hardcode existing
8168 hardcode_action
=unsupported
8170 echo "$as_me:$LINENO: result: $hardcode_action" >&5
8171 echo "${ECHO_T}$hardcode_action" >&6
8173 if test "$hardcode_action" = relink
; then
8174 # Fast installation is not supported
8175 enable_fast_install
=no
8176 elif test "$shlibpath_overrides_runpath" = yes ||
8177 test "$enable_shared" = no
; then
8178 # Fast installation is not necessary
8179 enable_fast_install
=needless
8184 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
8185 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
8186 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
8187 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
8188 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
8189 echo "$as_me:$LINENO: result: yes" >&5
8190 echo "${ECHO_T}yes" >&6
8192 # FIXME - insert some real tests, host_os isn't really good enough
8195 if test -n "$STRIP" ; then
8196 striplib
="$STRIP -x"
8197 echo "$as_me:$LINENO: result: yes" >&5
8198 echo "${ECHO_T}yes" >&6
8200 echo "$as_me:$LINENO: result: no" >&5
8201 echo "${ECHO_T}no" >&6
8205 echo "$as_me:$LINENO: result: no" >&5
8206 echo "${ECHO_T}no" >&6
8211 if test "x$enable_dlopen" != xyes
; then
8212 enable_dlopen
=unknown
8213 enable_dlopen_self
=unknown
8214 enable_dlopen_self_static
=unknown
8221 lt_cv_dlopen
="load_add_on"
8223 lt_cv_dlopen_self
=yes
8227 lt_cv_dlopen
="LoadLibrary"
8232 lt_cv_dlopen
="dlopen"
8237 # if libdl is installed we need to link against it
8238 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8239 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8240 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8241 echo $ECHO_N "(cached) $ECHO_C" >&6
8243 ac_check_lib_save_LIBS
=$LIBS
8245 cat >conftest.
$ac_ext <<_ACEOF
8248 cat confdefs.h
>>conftest.
$ac_ext
8249 cat >>conftest.
$ac_ext <<_ACEOF
8250 /* end confdefs.h. */
8252 /* Override any gcc2 internal prototype to avoid an error. */
8256 /* We use char because int might match the return type of a gcc2
8257 builtin and then its argument prototype would still apply. */
8267 rm -f conftest.
$ac_objext conftest
$ac_exeext
8268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8269 (eval $ac_link) 2>conftest.er1
8271 grep -v '^ *+' conftest.er1
>conftest.err
8273 cat conftest.err
>&5
8274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8275 (exit $ac_status); } &&
8276 { ac_try
='test -z "$ac_c_werror_flag"
8277 || test ! -s conftest.err'
8278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8282 (exit $ac_status); }; } &&
8283 { ac_try
='test -s conftest$ac_exeext'
8284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8288 (exit $ac_status); }; }; then
8289 ac_cv_lib_dl_dlopen
=yes
8291 echo "$as_me: failed program was:" >&5
8292 sed 's/^/| /' conftest.
$ac_ext >&5
8294 ac_cv_lib_dl_dlopen
=no
8296 rm -f conftest.err conftest.
$ac_objext \
8297 conftest
$ac_exeext conftest.
$ac_ext
8298 LIBS
=$ac_check_lib_save_LIBS
8300 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8301 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8302 if test $ac_cv_lib_dl_dlopen = yes; then
8303 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
8308 lt_cv_dlopen_self
=yes
8315 echo "$as_me:$LINENO: checking for shl_load" >&5
8316 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
8317 if test "${ac_cv_func_shl_load+set}" = set; then
8318 echo $ECHO_N "(cached) $ECHO_C" >&6
8320 cat >conftest.
$ac_ext <<_ACEOF
8323 cat confdefs.h
>>conftest.
$ac_ext
8324 cat >>conftest.
$ac_ext <<_ACEOF
8325 /* end confdefs.h. */
8326 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
8327 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8328 #define shl_load innocuous_shl_load
8330 /* System header to define __stub macros and hopefully few prototypes,
8331 which can conflict with char shl_load (); below.
8332 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8333 <limits.h> exists even on freestanding compilers. */
8336 # include <limits.h>
8338 # include <assert.h>
8343 /* Override any gcc2 internal prototype to avoid an error. */
8348 /* We use char because int might match the return type of a gcc2
8349 builtin and then its argument prototype would still apply. */
8351 /* The GNU C library defines this for functions which it implements
8352 to always fail with ENOSYS. Some functions are actually named
8353 something starting with __ and the normal name is an alias. */
8354 #if defined (__stub_shl_load) || defined (__stub___shl_load)
8357 char (*f) () = shl_load;
8366 return f != shl_load;
8371 rm -f conftest.
$ac_objext conftest
$ac_exeext
8372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8373 (eval $ac_link) 2>conftest.er1
8375 grep -v '^ *+' conftest.er1
>conftest.err
8377 cat conftest.err
>&5
8378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8379 (exit $ac_status); } &&
8380 { ac_try
='test -z "$ac_c_werror_flag"
8381 || test ! -s conftest.err'
8382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8386 (exit $ac_status); }; } &&
8387 { ac_try
='test -s conftest$ac_exeext'
8388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8392 (exit $ac_status); }; }; then
8393 ac_cv_func_shl_load
=yes
8395 echo "$as_me: failed program was:" >&5
8396 sed 's/^/| /' conftest.
$ac_ext >&5
8398 ac_cv_func_shl_load
=no
8400 rm -f conftest.err conftest.
$ac_objext \
8401 conftest
$ac_exeext conftest.
$ac_ext
8403 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8404 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
8405 if test $ac_cv_func_shl_load = yes; then
8406 lt_cv_dlopen
="shl_load"
8408 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8409 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
8410 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8411 echo $ECHO_N "(cached) $ECHO_C" >&6
8413 ac_check_lib_save_LIBS
=$LIBS
8415 cat >conftest.
$ac_ext <<_ACEOF
8418 cat confdefs.h
>>conftest.
$ac_ext
8419 cat >>conftest.
$ac_ext <<_ACEOF
8420 /* end confdefs.h. */
8422 /* Override any gcc2 internal prototype to avoid an error. */
8426 /* We use char because int might match the return type of a gcc2
8427 builtin and then its argument prototype would still apply. */
8437 rm -f conftest.
$ac_objext conftest
$ac_exeext
8438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8439 (eval $ac_link) 2>conftest.er1
8441 grep -v '^ *+' conftest.er1
>conftest.err
8443 cat conftest.err
>&5
8444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8445 (exit $ac_status); } &&
8446 { ac_try
='test -z "$ac_c_werror_flag"
8447 || test ! -s conftest.err'
8448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8452 (exit $ac_status); }; } &&
8453 { ac_try
='test -s conftest$ac_exeext'
8454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8458 (exit $ac_status); }; }; then
8459 ac_cv_lib_dld_shl_load
=yes
8461 echo "$as_me: failed program was:" >&5
8462 sed 's/^/| /' conftest.
$ac_ext >&5
8464 ac_cv_lib_dld_shl_load
=no
8466 rm -f conftest.err conftest.
$ac_objext \
8467 conftest
$ac_exeext conftest.
$ac_ext
8468 LIBS
=$ac_check_lib_save_LIBS
8470 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8471 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
8472 if test $ac_cv_lib_dld_shl_load = yes; then
8473 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
8475 echo "$as_me:$LINENO: checking for dlopen" >&5
8476 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
8477 if test "${ac_cv_func_dlopen+set}" = set; then
8478 echo $ECHO_N "(cached) $ECHO_C" >&6
8480 cat >conftest.
$ac_ext <<_ACEOF
8483 cat confdefs.h
>>conftest.
$ac_ext
8484 cat >>conftest.
$ac_ext <<_ACEOF
8485 /* end confdefs.h. */
8486 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
8487 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8488 #define dlopen innocuous_dlopen
8490 /* System header to define __stub macros and hopefully few prototypes,
8491 which can conflict with char dlopen (); below.
8492 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8493 <limits.h> exists even on freestanding compilers. */
8496 # include <limits.h>
8498 # include <assert.h>
8503 /* Override any gcc2 internal prototype to avoid an error. */
8508 /* We use char because int might match the return type of a gcc2
8509 builtin and then its argument prototype would still apply. */
8511 /* The GNU C library defines this for functions which it implements
8512 to always fail with ENOSYS. Some functions are actually named
8513 something starting with __ and the normal name is an alias. */
8514 #if defined (__stub_dlopen) || defined (__stub___dlopen)
8517 char (*f) () = dlopen;
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_func_dlopen
=yes
8555 echo "$as_me: failed program was:" >&5
8556 sed 's/^/| /' conftest.
$ac_ext >&5
8558 ac_cv_func_dlopen
=no
8560 rm -f conftest.err conftest.
$ac_objext \
8561 conftest
$ac_exeext conftest.
$ac_ext
8563 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8564 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
8565 if test $ac_cv_func_dlopen = yes; then
8566 lt_cv_dlopen
="dlopen"
8568 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8569 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8570 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8571 echo $ECHO_N "(cached) $ECHO_C" >&6
8573 ac_check_lib_save_LIBS
=$LIBS
8575 cat >conftest.
$ac_ext <<_ACEOF
8578 cat confdefs.h
>>conftest.
$ac_ext
8579 cat >>conftest.
$ac_ext <<_ACEOF
8580 /* end confdefs.h. */
8582 /* Override any gcc2 internal prototype to avoid an error. */
8586 /* We use char because int might match the return type of a gcc2
8587 builtin and then its argument prototype would still apply. */
8597 rm -f conftest.
$ac_objext conftest
$ac_exeext
8598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8599 (eval $ac_link) 2>conftest.er1
8601 grep -v '^ *+' conftest.er1
>conftest.err
8603 cat conftest.err
>&5
8604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8605 (exit $ac_status); } &&
8606 { ac_try
='test -z "$ac_c_werror_flag"
8607 || test ! -s conftest.err'
8608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8612 (exit $ac_status); }; } &&
8613 { ac_try
='test -s conftest$ac_exeext'
8614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8618 (exit $ac_status); }; }; then
8619 ac_cv_lib_dl_dlopen
=yes
8621 echo "$as_me: failed program was:" >&5
8622 sed 's/^/| /' conftest.
$ac_ext >&5
8624 ac_cv_lib_dl_dlopen
=no
8626 rm -f conftest.err conftest.
$ac_objext \
8627 conftest
$ac_exeext conftest.
$ac_ext
8628 LIBS
=$ac_check_lib_save_LIBS
8630 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8631 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8632 if test $ac_cv_lib_dl_dlopen = yes; then
8633 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
8635 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
8636 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
8637 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
8638 echo $ECHO_N "(cached) $ECHO_C" >&6
8640 ac_check_lib_save_LIBS
=$LIBS
8642 cat >conftest.
$ac_ext <<_ACEOF
8645 cat confdefs.h
>>conftest.
$ac_ext
8646 cat >>conftest.
$ac_ext <<_ACEOF
8647 /* end confdefs.h. */
8649 /* Override any gcc2 internal prototype to avoid an error. */
8653 /* We use char because int might match the return type of a gcc2
8654 builtin and then its argument prototype would still apply. */
8664 rm -f conftest.
$ac_objext conftest
$ac_exeext
8665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8666 (eval $ac_link) 2>conftest.er1
8668 grep -v '^ *+' conftest.er1
>conftest.err
8670 cat conftest.err
>&5
8671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8672 (exit $ac_status); } &&
8673 { ac_try
='test -z "$ac_c_werror_flag"
8674 || test ! -s conftest.err'
8675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8679 (exit $ac_status); }; } &&
8680 { ac_try
='test -s conftest$ac_exeext'
8681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8685 (exit $ac_status); }; }; then
8686 ac_cv_lib_svld_dlopen
=yes
8688 echo "$as_me: failed program was:" >&5
8689 sed 's/^/| /' conftest.
$ac_ext >&5
8691 ac_cv_lib_svld_dlopen
=no
8693 rm -f conftest.err conftest.
$ac_objext \
8694 conftest
$ac_exeext conftest.
$ac_ext
8695 LIBS
=$ac_check_lib_save_LIBS
8697 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
8698 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
8699 if test $ac_cv_lib_svld_dlopen = yes; then
8700 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
8702 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
8703 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
8704 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
8705 echo $ECHO_N "(cached) $ECHO_C" >&6
8707 ac_check_lib_save_LIBS
=$LIBS
8709 cat >conftest.
$ac_ext <<_ACEOF
8712 cat confdefs.h
>>conftest.
$ac_ext
8713 cat >>conftest.
$ac_ext <<_ACEOF
8714 /* end confdefs.h. */
8716 /* Override any gcc2 internal prototype to avoid an error. */
8720 /* We use char because int might match the return type of a gcc2
8721 builtin and then its argument prototype would still apply. */
8731 rm -f conftest.
$ac_objext conftest
$ac_exeext
8732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8733 (eval $ac_link) 2>conftest.er1
8735 grep -v '^ *+' conftest.er1
>conftest.err
8737 cat conftest.err
>&5
8738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8739 (exit $ac_status); } &&
8740 { ac_try
='test -z "$ac_c_werror_flag"
8741 || test ! -s conftest.err'
8742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8746 (exit $ac_status); }; } &&
8747 { ac_try
='test -s conftest$ac_exeext'
8748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8752 (exit $ac_status); }; }; then
8753 ac_cv_lib_dld_dld_link
=yes
8755 echo "$as_me: failed program was:" >&5
8756 sed 's/^/| /' conftest.
$ac_ext >&5
8758 ac_cv_lib_dld_dld_link
=no
8760 rm -f conftest.err conftest.
$ac_objext \
8761 conftest
$ac_exeext conftest.
$ac_ext
8762 LIBS
=$ac_check_lib_save_LIBS
8764 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
8765 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
8766 if test $ac_cv_lib_dld_dld_link = yes; then
8767 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
8788 if test "x$lt_cv_dlopen" != xno
; then
8794 case $lt_cv_dlopen in
8796 save_CPPFLAGS
="$CPPFLAGS"
8797 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
8799 save_LDFLAGS
="$LDFLAGS"
8800 eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
8803 LIBS
="$lt_cv_dlopen_libs $LIBS"
8805 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
8806 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
8807 if test "${lt_cv_dlopen_self+set}" = set; then
8808 echo $ECHO_N "(cached) $ECHO_C" >&6
8810 if test "$cross_compiling" = yes; then :
8811 lt_cv_dlopen_self
=cross
8813 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
8814 lt_status
=$lt_dlunknown
8815 cat > conftest.
$ac_ext <<EOF
8816 #line 8816 "configure"
8817 #include "confdefs.h"
8826 # define LT_DLGLOBAL RTLD_GLOBAL
8829 # define LT_DLGLOBAL DL_GLOBAL
8831 # define LT_DLGLOBAL 0
8835 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8836 find out it does not work in some platform. */
8837 #ifndef LT_DLLAZY_OR_NOW
8839 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8842 # define LT_DLLAZY_OR_NOW DL_LAZY
8845 # define LT_DLLAZY_OR_NOW RTLD_NOW
8848 # define LT_DLLAZY_OR_NOW DL_NOW
8850 # define LT_DLLAZY_OR_NOW 0
8858 extern "C" void exit (int);
8861 void fnord() { int i=42;}
8864 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8865 int status = $lt_dlunknown;
8869 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8870 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8871 /* dlclose (self); */
8877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8878 (eval $ac_link) 2>&5
8880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8881 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
8882 (.
/conftest
; exit; ) 2>/dev
/null
8885 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
8886 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
8887 x
$lt_unknown|x
*) lt_cv_dlopen_self
=no
;;
8890 # compilation failed
8891 lt_cv_dlopen_self
=no
8898 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
8899 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
8901 if test "x$lt_cv_dlopen_self" = xyes
; then
8902 LDFLAGS
="$LDFLAGS $link_static_flag"
8903 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
8904 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
8905 if test "${lt_cv_dlopen_self_static+set}" = set; then
8906 echo $ECHO_N "(cached) $ECHO_C" >&6
8908 if test "$cross_compiling" = yes; then :
8909 lt_cv_dlopen_self_static
=cross
8911 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
8912 lt_status
=$lt_dlunknown
8913 cat > conftest.
$ac_ext <<EOF
8914 #line 8914 "configure"
8915 #include "confdefs.h"
8924 # define LT_DLGLOBAL RTLD_GLOBAL
8927 # define LT_DLGLOBAL DL_GLOBAL
8929 # define LT_DLGLOBAL 0
8933 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8934 find out it does not work in some platform. */
8935 #ifndef LT_DLLAZY_OR_NOW
8937 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8940 # define LT_DLLAZY_OR_NOW DL_LAZY
8943 # define LT_DLLAZY_OR_NOW RTLD_NOW
8946 # define LT_DLLAZY_OR_NOW DL_NOW
8948 # define LT_DLLAZY_OR_NOW 0
8956 extern "C" void exit (int);
8959 void fnord() { int i=42;}
8962 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8963 int status = $lt_dlunknown;
8967 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8968 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8969 /* dlclose (self); */
8975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8976 (eval $ac_link) 2>&5
8978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8979 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
8980 (.
/conftest
; exit; ) 2>/dev
/null
8983 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
8984 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
8985 x
$lt_unknown|x
*) lt_cv_dlopen_self_static
=no
;;
8988 # compilation failed
8989 lt_cv_dlopen_self_static
=no
8996 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
8997 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
9000 CPPFLAGS
="$save_CPPFLAGS"
9001 LDFLAGS
="$save_LDFLAGS"
9006 case $lt_cv_dlopen_self in
9007 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
9008 *) enable_dlopen_self
=unknown
;;
9011 case $lt_cv_dlopen_self_static in
9012 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
9013 *) enable_dlopen_self_static
=unknown
;;
9018 # Report which librarie types wil actually be built
9019 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9020 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
9021 echo "$as_me:$LINENO: result: $can_build_shared" >&5
9022 echo "${ECHO_T}$can_build_shared" >&6
9024 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9025 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
9026 test "$can_build_shared" = "no" && enable_shared
=no
9028 # On AIX, shared libraries and static libraries use the same namespace, and
9029 # are all built from PIC.
9032 test "$enable_shared" = yes && enable_static
=no
9033 if test -n "$RANLIB"; then
9034 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
9035 postinstall_cmds
='$RANLIB $lib'
9040 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
9041 test "$enable_shared" = yes && enable_static
=no
9045 echo "$as_me:$LINENO: result: $enable_shared" >&5
9046 echo "${ECHO_T}$enable_shared" >&6
9048 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9049 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
9050 # Make sure either enable_shared or enable_static is yes.
9051 test "$enable_shared" = yes || enable_static
=yes
9052 echo "$as_me:$LINENO: result: $enable_static" >&5
9053 echo "${ECHO_T}$enable_static" >&6
9055 # The else clause should only fire when bootstrapping the
9056 # libtool distribution, otherwise you forgot to ship ltmain.sh
9057 # with your package, and you will get complaints that there are
9058 # no rules to generate ltmain.sh.
9059 if test -f "$ltmain"; then
9060 # See if we are running on zsh, and set the options which allow our commands through
9061 # without removal of \ escapes.
9062 if test -n "${ZSH_VERSION+set}" ; then
9063 setopt NO_GLOB_SUBST
9065 # Now quote all the things that may contain metacharacters while being
9066 # careful not to overquote the AC_SUBSTed values. We take copies of the
9067 # variables and quote the copies for generation of the libtool script.
9068 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
9070 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
9071 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
9072 deplibs_check_method reload_flag reload_cmds need_locks \
9073 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
9074 lt_cv_sys_global_symbol_to_c_name_address \
9075 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
9076 old_postinstall_cmds old_postuninstall_cmds \
9080 lt_prog_compiler_wl \
9081 lt_prog_compiler_pic \
9082 lt_prog_compiler_static \
9083 lt_prog_compiler_no_builtin_flag \
9084 export_dynamic_flag_spec \
9085 thread_safe_flag_spec \
9086 whole_archive_flag_spec \
9087 enable_shared_with_static_runtimes \
9089 old_archive_from_new_cmds \
9094 compiler_lib_search_path \
9096 archive_expsym_cmds \
9098 postuninstall_cmds \
9099 old_archive_from_expsyms_cmds \
9100 allow_undefined_flag \
9102 export_symbols_cmds \
9103 hardcode_libdir_flag_spec \
9104 hardcode_libdir_flag_spec_ld \
9105 hardcode_libdir_separator \
9106 hardcode_automatic \
9108 module_expsym_cmds \
9109 lt_cv_prog_compiler_c_o \
9114 old_archive_cmds | \
9115 old_archive_from_new_cmds | \
9117 archive_expsym_cmds | \
9119 module_expsym_cmds | \
9120 old_archive_from_expsyms_cmds | \
9121 export_symbols_cmds | \
9122 extract_expsyms_cmds | reload_cmds | finish_cmds | \
9123 postinstall_cmds | postuninstall_cmds | \
9124 old_postinstall_cmds | old_postuninstall_cmds | \
9125 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
9126 # Double-quote double-evaled strings.
9127 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
9130 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
9136 *'\$0 --fallback-echo"')
9137 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
9142 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
9144 { echo "$as_me:$LINENO: creating $ofile" >&5
9145 echo "$as_me: creating $ofile" >&6;}
9147 cat <<__EOF__ >> "$cfgfile"
9150 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
9151 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
9152 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
9154 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
9155 # Free Software Foundation, Inc.
9157 # This file is part of GNU Libtool:
9158 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
9160 # This program is free software; you can redistribute it and/or modify
9161 # it under the terms of the GNU General Public License as published by
9162 # the Free Software Foundation; either version 2 of the License, or
9163 # (at your option) any later version.
9165 # This program is distributed in the hope that it will be useful, but
9166 # WITHOUT ANY WARRANTY; without even the implied warranty of
9167 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
9168 # General Public License for more details.
9170 # You should have received a copy of the GNU General Public License
9171 # along with this program; if not, write to the Free Software
9172 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
9174 # As a special exception to the GNU General Public License, if you
9175 # distribute this file as part of a program that contains a
9176 # configuration script generated by Autoconf, you may include it under
9177 # the same distribution terms that you use for the rest of that program.
9179 # A sed program that does not truncate output.
9182 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
9183 Xsed="$SED -e s/^X//"
9185 # The HP-UX ksh and POSIX shell print the target directory to stdout
9187 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
9189 # The names of the tagged configurations supported by this script.
9192 # ### BEGIN LIBTOOL CONFIG
9194 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
9196 # Shell to use when invoking shell scripts.
9199 # Whether or not to build shared libraries.
9200 build_libtool_libs=$enable_shared
9202 # Whether or not to build static libraries.
9203 build_old_libs=$enable_static
9205 # Whether or not to add -lc for building shared libraries.
9206 build_libtool_need_lc=$archive_cmds_need_lc
9208 # Whether or not to disallow shared libs when runtime libs are static
9209 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
9211 # Whether or not to optimize for fast installation.
9212 fast_install=$enable_fast_install
9215 host_alias=$host_alias
9220 build_alias=$build_alias
9224 # An echo program that does not interpret backslashes.
9229 AR_FLAGS=$lt_AR_FLAGS
9234 # A language-specific compiler.
9237 # Is the compiler the GNU C compiler?
9243 # The linker used to build libraries.
9246 # Whether we need hard or soft links.
9249 # A BSD-compatible nm program.
9252 # A symbol stripping program
9255 # Used to examine libraries when file_magic_cmd begins "file"
9256 MAGIC_CMD=$MAGIC_CMD
9258 # Used on cygwin: DLL creation program.
9261 # Used on cygwin: object dumper.
9264 # Used on cygwin: assembler.
9267 # The name of the directory that contains temporary libtool files.
9270 # How to create reloadable object files.
9271 reload_flag=$lt_reload_flag
9272 reload_cmds=$lt_reload_cmds
9274 # How to pass a linker flag through the compiler.
9275 wl=$lt_lt_prog_compiler_wl
9277 # Object file suffix (normally "o").
9280 # Old archive suffix (normally "a").
9283 # Shared library suffix (normally ".so").
9284 shrext_cmds='$shrext_cmds'
9286 # Executable file suffix (normally "").
9289 # Additional compiler flags for building library objects.
9290 pic_flag=$lt_lt_prog_compiler_pic
9293 # What is the maximum length of a command?
9294 max_cmd_len=$lt_cv_sys_max_cmd_len
9296 # Does compiler simultaneously support -c and -o options?
9297 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
9299 # Must we lock files when doing compilation ?
9300 need_locks=$lt_need_locks
9302 # Do we need the lib prefix for modules?
9303 need_lib_prefix=$need_lib_prefix
9305 # Do we need a version for libraries?
9306 need_version=$need_version
9308 # Whether dlopen is supported.
9309 dlopen_support=$enable_dlopen
9311 # Whether dlopen of programs is supported.
9312 dlopen_self=$enable_dlopen_self
9314 # Whether dlopen of statically linked programs is supported.
9315 dlopen_self_static=$enable_dlopen_self_static
9317 # Compiler flag to prevent dynamic linking.
9318 link_static_flag=$lt_lt_prog_compiler_static
9320 # Compiler flag to turn off builtin functions.
9321 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
9323 # Compiler flag to allow reflexive dlopens.
9324 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
9326 # Compiler flag to generate shared objects directly from archives.
9327 whole_archive_flag_spec=$lt_whole_archive_flag_spec
9329 # Compiler flag to generate thread-safe objects.
9330 thread_safe_flag_spec=$lt_thread_safe_flag_spec
9332 # Library versioning type.
9333 version_type=$version_type
9335 # Format of library name prefix.
9336 libname_spec=$lt_libname_spec
9338 # List of archive names. First name is the real one, the rest are links.
9339 # The last name is the one that the linker finds with -lNAME.
9340 library_names_spec=$lt_library_names_spec
9342 # The coded name of the library, if different from the real name.
9343 soname_spec=$lt_soname_spec
9345 # Commands used to build and install an old-style archive.
9347 old_archive_cmds=$lt_old_archive_cmds
9348 old_postinstall_cmds=$lt_old_postinstall_cmds
9349 old_postuninstall_cmds=$lt_old_postuninstall_cmds
9351 # Create an old-style archive from a shared archive.
9352 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
9354 # Create a temporary old-style archive to link instead of a shared archive.
9355 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
9357 # Commands used to build and install a shared archive.
9358 archive_cmds=$lt_archive_cmds
9359 archive_expsym_cmds=$lt_archive_expsym_cmds
9360 postinstall_cmds=$lt_postinstall_cmds
9361 postuninstall_cmds=$lt_postuninstall_cmds
9363 # Commands used to build a loadable module (assumed same as above if empty)
9364 module_cmds=$lt_module_cmds
9365 module_expsym_cmds=$lt_module_expsym_cmds
9367 # Commands to strip libraries.
9368 old_striplib=$lt_old_striplib
9369 striplib=$lt_striplib
9371 # Dependencies to place before the objects being linked to create a
9373 predep_objects=$lt_predep_objects
9375 # Dependencies to place after the objects being linked to create a
9377 postdep_objects=$lt_postdep_objects
9379 # Dependencies to place before the objects being linked to create a
9383 # Dependencies to place after the objects being linked to create a
9385 postdeps=$lt_postdeps
9387 # The library search path used internally by the compiler when linking
9389 compiler_lib_search_path=$lt_compiler_lib_search_path
9391 # Method to check whether dependent libraries are shared objects.
9392 deplibs_check_method=$lt_deplibs_check_method
9394 # Command to use when deplibs_check_method == file_magic.
9395 file_magic_cmd=$lt_file_magic_cmd
9397 # Flag that allows shared libraries with undefined symbols to be built.
9398 allow_undefined_flag=$lt_allow_undefined_flag
9400 # Flag that forces no undefined symbols.
9401 no_undefined_flag=$lt_no_undefined_flag
9403 # Commands used to finish a libtool library installation in a directory.
9404 finish_cmds=$lt_finish_cmds
9406 # Same as above, but a single script fragment to be evaled but not shown.
9407 finish_eval=$lt_finish_eval
9409 # Take the output of nm and produce a listing of raw symbols and C names.
9410 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
9412 # Transform the output of nm in a proper C declaration
9413 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
9415 # Transform the output of nm in a C name address pair
9416 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
9418 # This is the shared library runtime path variable.
9419 runpath_var=$runpath_var
9421 # This is the shared library path variable.
9422 shlibpath_var=$shlibpath_var
9424 # Is shlibpath searched before the hard-coded library search path?
9425 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
9427 # How to hardcode a shared library path into an executable.
9428 hardcode_action=$hardcode_action
9430 # Whether we should hardcode library paths into libraries.
9431 hardcode_into_libs=$hardcode_into_libs
9433 # Flag to hardcode \$libdir into a binary during linking.
9434 # This must work even if \$libdir does not exist.
9435 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
9437 # If ld is used when linking, flag to hardcode \$libdir into
9438 # a binary during linking. This must work even if \$libdir does
9440 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
9442 # Whether we need a single -rpath flag with a separated argument.
9443 hardcode_libdir_separator=$lt_hardcode_libdir_separator
9445 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
9447 hardcode_direct=$hardcode_direct
9449 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
9451 hardcode_minus_L=$hardcode_minus_L
9453 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
9454 # the resulting binary.
9455 hardcode_shlibpath_var=$hardcode_shlibpath_var
9457 # Set to yes if building a shared library automatically hardcodes DIR into the library
9458 # and all subsequent libraries and executables linked against it.
9459 hardcode_automatic=$hardcode_automatic
9461 # Variables whose values should be saved in libtool wrapper scripts and
9462 # restored at relink time.
9463 variables_saved_for_relink="$variables_saved_for_relink"
9465 # Whether libtool must link a program against all its dependency libraries.
9466 link_all_deplibs=$link_all_deplibs
9468 # Compile-time system search path for libraries
9469 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
9471 # Run-time system search path for libraries
9472 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
9474 # Fix the shell variable \$srcfile for the compiler.
9475 fix_srcfile_path="$fix_srcfile_path"
9477 # Set to yes if exported symbols are required.
9478 always_export_symbols=$always_export_symbols
9480 # The commands to list exported symbols.
9481 export_symbols_cmds=$lt_export_symbols_cmds
9483 # The commands to extract the exported symbol list from a shared archive.
9484 extract_expsyms_cmds=$lt_extract_expsyms_cmds
9486 # Symbols that should not be listed in the preloaded symbols.
9487 exclude_expsyms=$lt_exclude_expsyms
9489 # Symbols that must always be exported.
9490 include_expsyms=$lt_include_expsyms
9492 # ### END LIBTOOL CONFIG
9499 cat <<\EOF
>> "$cfgfile"
9501 # AIX sometimes has problems with the GCC collect2 program. For some
9502 # reason, if we set the COLLECT_NAMES environment variable, the problems
9503 # vanish in a puff of smoke.
9504 if test "X${COLLECT_NAMES+set}" != Xset
; then
9506 export COLLECT_NAMES
9512 # We use sed instead of cat because bash on DJGPP gets confused if
9513 # if finds mixed CR/LF and LF-only lines. Since sed operates in
9514 # text mode, it properly converts lines to CR/LF. This bash problem
9515 # is reportedly fixed, but why not run on old versions too?
9516 sed '$q' "$ltmain" >> "$cfgfile" ||
(rm -f "$cfgfile"; exit 1)
9518 mv -f "$cfgfile" "$ofile" || \
9519 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
9523 # If there is no Makefile yet, we rely on a make rule to execute
9524 # `config.status --recheck' to rerun these tests and create the
9525 # libtool script then.
9526 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
9527 if test -f "$ltmain_in"; then
9528 test -f Makefile
&& make "$ltmain"
9534 ac_cpp
='$CPP $CPPFLAGS'
9535 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9536 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9537 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9542 # Check whether --with-tags or --without-tags was given.
9543 if test "${with_tags+set}" = set; then
9544 withval
="$with_tags"
9548 if test -f "$ltmain" && test -n "$tagnames"; then
9549 if test ! -f "${ofile}"; then
9550 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
9551 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
9554 if test -z "$LTCC"; then
9555 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
9556 if test -z "$LTCC"; then
9557 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
9558 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
9560 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
9561 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
9565 # Extract list of available tagged configurations in $ofile.
9566 # Note that this assumes the entire list is on one line.
9567 available_tags
=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
9569 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9570 for tagname
in $tagnames; do
9572 # Check whether tagname contains only valid characters
9573 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
9575 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
9576 echo "$as_me: error: invalid tag name: $tagname" >&2;}
9577 { (exit 1); exit 1; }; }
9581 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev
/null
9583 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
9584 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
9585 { (exit 1); exit 1; }; }
9588 # Update the list of available tags.
9589 if test -n "$tagname"; then
9590 echo appending configuration tag
\"$tagname\" to
$ofile
9594 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
9595 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
9596 (test "X$CXX" != "Xg++"))) ; then
9598 ac_cpp
='$CXXCPP $CPPFLAGS'
9599 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9600 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9601 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
9606 archive_cmds_need_lc_CXX
=no
9607 allow_undefined_flag_CXX
=
9608 always_export_symbols_CXX
=no
9609 archive_expsym_cmds_CXX
=
9610 export_dynamic_flag_spec_CXX
=
9611 hardcode_direct_CXX
=no
9612 hardcode_libdir_flag_spec_CXX
=
9613 hardcode_libdir_flag_spec_ld_CXX
=
9614 hardcode_libdir_separator_CXX
=
9615 hardcode_minus_L_CXX
=no
9616 hardcode_automatic_CXX
=no
9618 module_expsym_cmds_CXX
=
9619 link_all_deplibs_CXX
=unknown
9620 old_archive_cmds_CXX
=$old_archive_cmds
9621 no_undefined_flag_CXX
=
9622 whole_archive_flag_spec_CXX
=
9623 enable_shared_with_static_runtimes_CXX
=no
9625 # Dependencies to place before and after the object being linked:
9627 postdep_objects_CXX
=
9630 compiler_lib_search_path_CXX
=
9632 # Source file extension for C++ test sources.
9635 # Object file extension for compiled C++ test sources.
9639 # Code to be used in simple compile tests
9640 lt_simple_compile_test_code
="int some_variable = 0;\n"
9642 # Code to be used in simple link tests
9643 lt_simple_link_test_code
='int main(int, char *) { return(0); }\n'
9645 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
9647 # If no C compiler was specified, use CC.
9650 # Allow CC to be a program name with arguments.
9654 # Allow CC to be a program name with arguments.
9659 lt_save_with_gnu_ld
=$with_gnu_ld
9660 lt_save_path_LD
=$lt_cv_path_LD
9661 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
9662 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
9664 unset lt_cv_prog_gnu_ld
9666 if test -n "${lt_cv_path_LDCXX+set}"; then
9667 lt_cv_path_LD
=$lt_cv_path_LDCXX
9671 test -z "${LDCXX+set}" || LD
=$LDCXX
9675 cc_basename
=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
9677 # We don't want -fno-exception wen compiling C++ code, so set the
9678 # no_builtin_flag separately
9679 if test "$GXX" = yes; then
9680 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
9682 lt_prog_compiler_no_builtin_flag_CXX
=
9685 if test "$GXX" = yes; then
9686 # Set up default GNU C++ configuration
9689 # Check whether --with-gnu-ld or --without-gnu-ld was given.
9690 if test "${with_gnu_ld+set}" = set; then
9691 withval
="$with_gnu_ld"
9692 test "$withval" = no || with_gnu_ld
=yes
9697 if test "$GCC" = yes; then
9698 # Check if gcc -print-prog-name=ld gives a path.
9699 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
9700 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
9703 # gcc leaves a trailing carriage return which upsets mingw
9704 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
9706 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
9709 # Accept absolute paths.
9711 re_direlt
='/[^/][^/]*/\.\./'
9712 # Canonicalize the pathname of ld
9713 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
9714 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
9715 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
9717 test -z "$LD" && LD
="$ac_prog"
9720 # If it fails, then pretend we aren't using GCC.
9724 # If it is relative, then search for the first ld in PATH.
9728 elif test "$with_gnu_ld" = yes; then
9729 echo "$as_me:$LINENO: checking for GNU ld" >&5
9730 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
9732 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9733 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
9735 if test "${lt_cv_path_LD+set}" = set; then
9736 echo $ECHO_N "(cached) $ECHO_C" >&6
9738 if test -z "$LD"; then
9739 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9740 for ac_dir
in $PATH; do
9742 test -z "$ac_dir" && ac_dir
=.
9743 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
9744 lt_cv_path_LD
="$ac_dir/$ac_prog"
9745 # Check to see if the program is GNU ld. I'd rather use --version,
9746 # but apparently some GNU ld's only accept -v.
9747 # Break only if it was the GNU/non-GNU ld that we prefer.
9748 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
9749 *GNU
* |
*'with BFD'*)
9750 test "$with_gnu_ld" != no
&& break
9753 test "$with_gnu_ld" != yes && break
9760 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
9765 if test -n "$LD"; then
9766 echo "$as_me:$LINENO: result: $LD" >&5
9767 echo "${ECHO_T}$LD" >&6
9769 echo "$as_me:$LINENO: result: no" >&5
9770 echo "${ECHO_T}no" >&6
9772 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
9773 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
9774 { (exit 1); exit 1; }; }
9775 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9776 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
9777 if test "${lt_cv_prog_gnu_ld+set}" = set; then
9778 echo $ECHO_N "(cached) $ECHO_C" >&6
9780 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
9781 case `$LD -v 2>&1 </dev/null` in
9782 *GNU
* |
*'with BFD'*)
9783 lt_cv_prog_gnu_ld
=yes
9786 lt_cv_prog_gnu_ld
=no
9790 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
9791 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
9792 with_gnu_ld
=$lt_cv_prog_gnu_ld
9796 # Check if GNU C++ uses GNU ld as the underlying linker, since the
9797 # archiving commands below assume that GNU ld is being used.
9798 if test "$with_gnu_ld" = yes; then
9799 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
9800 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'
9802 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
9803 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
9805 # If archive_cmds runs LD, not CC, wlarc should be empty
9806 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
9807 # investigate it a little bit more. (MM)
9810 # ancient GNU ld didn't support --whole-archive et. al.
9811 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
9812 grep 'no-whole-archive' > /dev
/null
; then
9813 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9815 whole_archive_flag_spec_CXX
=
9821 # A generic and very simple default shared library creation
9822 # command for GNU C++ for the case where it uses the native
9823 # linker, instead of GNU ld. If possible, this setting should
9824 # overridden to take advantage of the native linker features on
9825 # the platform it is being used on.
9826 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
9829 # Commands to make compiler produce verbose output that lists
9830 # what "hidden" libraries, object files and flags are used when
9831 # linking a shared library.
9832 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
9840 # PORTME: fill in a description of your system's C++ link characteristics
9841 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9842 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
9846 # FIXME: insert proper C++ library support
9850 if test "$host_cpu" = ia64
; then
9851 # On IA64, the linker does run time linking by default, so we don't
9852 # have to do anything special.
9853 aix_use_runtimelinking
=no
9854 exp_sym_flag
='-Bexport'
9857 aix_use_runtimelinking
=no
9859 # Test if we are trying to use run time linking or normal
9860 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9861 # need to do runtime linking.
9862 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
9863 for ld_flag
in $LDFLAGS; do
9866 aix_use_runtimelinking
=yes
9873 exp_sym_flag
='-bexport'
9874 no_entry_flag
='-bnoentry'
9877 # When large executables or shared objects are built, AIX ld can
9878 # have problems creating the table of contents. If linking a library
9879 # or program results in "error TOC overflow" add -mminimal-toc to
9880 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9881 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9884 hardcode_direct_CXX
=yes
9885 hardcode_libdir_separator_CXX
=':'
9886 link_all_deplibs_CXX
=yes
9888 if test "$GXX" = yes; then
9889 case $host_os in aix4.
[012]|aix4.
[012].
*)
9890 # We only want to do this on AIX 4.2 and lower, the check
9891 # below for broken collect2 doesn't work under 4.3+
9892 collect2name
=`${CC} -print-prog-name=collect2`
9893 if test -f "$collect2name" && \
9894 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
9896 # We have reworked collect2
9897 hardcode_direct_CXX
=yes
9899 # We have old collect2
9900 hardcode_direct_CXX
=unsupported
9901 # It fails to find uninstalled libraries when the uninstalled
9902 # path is not listed in the libpath. Setting hardcode_minus_L
9903 # to unsupported forces relinking
9904 hardcode_minus_L_CXX
=yes
9905 hardcode_libdir_flag_spec_CXX
='-L$libdir'
9906 hardcode_libdir_separator_CXX
=
9909 shared_flag
='-shared'
9910 if test "$aix_use_runtimelinking" = yes; then
9911 shared_flag
="$shared_flag "'${wl}-G'
9915 if test "$host_cpu" = ia64
; then
9916 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9917 # chokes on -Wl,-G. The following line is correct:
9920 if test "$aix_use_runtimelinking" = yes; then
9921 shared_flag
='${wl}-G'
9923 shared_flag
='${wl}-bM:SRE'
9928 # It seems that -bexpall does not export symbols beginning with
9929 # underscore (_), so it is better to generate a list of symbols to export.
9930 always_export_symbols_CXX
=yes
9931 if test "$aix_use_runtimelinking" = yes; then
9932 # Warning - without using the other runtime loading flags (-brtl),
9933 # -berok will link without error, but may produce a broken library.
9934 allow_undefined_flag_CXX
='-berok'
9935 # Determine the default libpath from the value encoded in an empty executable.
9936 cat >conftest.
$ac_ext <<_ACEOF
9939 cat confdefs.h
>>conftest.
$ac_ext
9940 cat >>conftest.
$ac_ext <<_ACEOF
9941 /* end confdefs.h. */
9951 rm -f conftest.
$ac_objext conftest
$ac_exeext
9952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9953 (eval $ac_link) 2>conftest.er1
9955 grep -v '^ *+' conftest.er1
>conftest.err
9957 cat conftest.err
>&5
9958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9959 (exit $ac_status); } &&
9960 { ac_try
='test -z "$ac_cxx_werror_flag"
9961 || test ! -s conftest.err'
9962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9966 (exit $ac_status); }; } &&
9967 { ac_try
='test -s conftest$ac_exeext'
9968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9972 (exit $ac_status); }; }; then
9974 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9976 # Check for a 64-bit object if we didn't find anything.
9977 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; }
9980 echo "$as_me: failed program was:" >&5
9981 sed 's/^/| /' conftest.
$ac_ext >&5
9984 rm -f conftest.err conftest.
$ac_objext \
9985 conftest
$ac_exeext conftest.
$ac_ext
9986 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9988 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
9990 archive_expsym_cmds_CXX
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9992 if test "$host_cpu" = ia64; then
9993 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr
/lib
:/lib
'
9994 allow_undefined_flag_CXX="-z nodefs"
9995 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\
$export_symbols"
9997 # Determine the default libpath from the value encoded in an empty executable.
9998 cat >conftest.$ac_ext <<_ACEOF
10001 cat confdefs.h >>conftest.$ac_ext
10002 cat >>conftest.$ac_ext <<_ACEOF
10003 /* end confdefs.h. */
10013 rm -f conftest.$ac_objext conftest$ac_exeext
10014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10015 (eval $ac_link) 2>conftest.er1
10017 grep -v '^ *+' conftest.er1 >conftest.err
10019 cat conftest.err >&5
10020 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10021 (exit $ac_status); } &&
10022 { ac_try='test -z "$ac_cxx_werror_flag"
10023 || test ! -s conftest.err'
10024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10025 (eval $ac_try) 2>&5
10027 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10028 (exit $ac_status); }; } &&
10029 { ac_try='test -s conftest$ac_exeext'
10030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10031 (eval $ac_try) 2>&5
10033 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10034 (exit $ac_status); }; }; then
10036 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10038 # Check for a 64-bit object if we didn't find anything.
10039 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; }
10042 echo "$as_me: failed program was
:" >&5
10043 sed 's/^/| /' conftest.$ac_ext >&5
10046 rm -f conftest.err conftest.$ac_objext \
10047 conftest$ac_exeext conftest.$ac_ext
10048 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
10050 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
10051 # Warning - without using the other run time loading flags,
10052 # -berok will link without error, but may produce a broken library.
10053 no_undefined_flag_CXX=' ${wl}-bernotok'
10054 allow_undefined_flag_CXX=' ${wl}-berok'
10055 # -bexpall does not export symbols beginning with underscore (_)
10056 always_export_symbols_CXX=yes
10057 # Exported symbols can be pulled into shared objects from archives
10058 whole_archive_flag_spec_CXX=' '
10059 archive_cmds_need_lc_CXX=yes
10060 # This is similar to how AIX traditionally builds it's shared libraries.
10061 archive_expsym_cmds_CXX="\
$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
10066 case $cc_basename in
10068 # FIXME: insert proper C++ library support
10075 cygwin* | mingw* | pw32*)
10076 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
10077 # as there is no search path for DLLs.
10078 hardcode_libdir_flag_spec_CXX='-L$libdir'
10079 allow_undefined_flag_CXX=unsupported
10080 always_export_symbols_CXX=no
10081 enable_shared_with_static_runtimes_CXX=yes
10083 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
10084 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
10085 # If the export-symbols file already is a .def file (1st line
10086 # is EXPORTS), use it as is; otherwise, prepend...
10087 archive_expsym_cmds_CXX='if test "x
`$SED 1q $export_symbols`" = xEXPORTS; then
10088 cp $export_symbols $output_objdir/$soname.def;
10090 echo EXPORTS > $output_objdir/$soname.def;
10091 cat $export_symbols >> $output_objdir/$soname.def;
10093 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
10098 darwin* | rhapsody*)
10100 rhapsody* | darwin1.[012])
10101 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
10104 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10105 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10107 case ${MACOSX_DEPLOYMENT_TARGET} in
10109 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10112 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
10118 archive_cmds_need_lc_CXX=no
10119 hardcode_direct_CXX=no
10120 hardcode_automatic_CXX=yes
10121 hardcode_shlibpath_var_CXX=unsupported
10122 whole_archive_flag_spec_CXX=''
10123 link_all_deplibs_CXX=yes
10125 if test "$GXX" = yes ; then
10126 lt_int_apple_cc_single_mod=no
10127 output_verbose_link_cmd='echo'
10128 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
10129 lt_int_apple_cc_single_mod=yes
10131 if test "X
$lt_int_apple_cc_single_mod" = Xyes ; then
10132 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10134 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'
10136 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10137 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
10138 if test "X
$lt_int_apple_cc_single_mod" = Xyes ; then
10139 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}'
10141 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}'
10143 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}'
10145 case "$cc_basename" in
10147 output_verbose_link_cmd
='echo'
10148 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'
10149 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10150 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
10151 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}'
10152 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}'
10162 case $cc_basename in
10164 # FIXME: insert proper C++ library support
10168 # Green Hills C++ Compiler
10169 # FIXME: insert proper C++ library support
10173 # FIXME: insert proper C++ library support
10179 # C++ shared libraries reported to be fairly broken before switch to ELF
10183 archive_cmds_need_lc_CXX
=no
10185 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
10186 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
10193 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
10194 hardcode_libdir_separator_CXX
=:
10195 export_dynamic_flag_spec_CXX
='${wl}-E'
10196 hardcode_direct_CXX
=yes
10197 hardcode_minus_L_CXX
=yes # Not in the search PATH,
10198 # but as the default
10199 # location of the library.
10201 case $cc_basename in
10203 # FIXME: insert proper C++ library support
10207 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'
10208 # Commands to make compiler produce verbose output that lists
10209 # what "hidden" libraries, object files and flags are used when
10210 # linking a shared library.
10212 # There doesn't appear to be a way to prevent this compiler from
10213 # explicitly linking system object files so we need to strip them
10214 # from the output so that they don't get included in the library
10216 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'
10219 if test "$GXX" = yes; then
10220 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'
10222 # FIXME: insert proper C++ library support
10229 if test $with_gnu_ld = no
; then
10230 case "$host_cpu" in
10232 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
10233 hardcode_libdir_flag_spec_ld_CXX
='+b $libdir'
10234 hardcode_libdir_separator_CXX
=:
10237 hardcode_libdir_flag_spec_CXX
='-L$libdir'
10240 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
10241 hardcode_libdir_separator_CXX
=:
10242 export_dynamic_flag_spec_CXX
='${wl}-E'
10246 case "$host_cpu" in
10248 hardcode_direct_CXX
=no
10249 hardcode_shlibpath_var_CXX
=no
10252 hardcode_direct_CXX
=no
10253 hardcode_shlibpath_var_CXX
=no
10254 hardcode_minus_L_CXX
=yes # Not in the search PATH,
10255 # but as the default
10256 # location of the library.
10259 hardcode_direct_CXX
=yes
10260 hardcode_minus_L_CXX
=yes # Not in the search PATH,
10261 # but as the default
10262 # location of the library.
10266 case $cc_basename in
10268 # FIXME: insert proper C++ library support
10272 case "$host_cpu" in
10274 archive_cmds_CXX
='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
10277 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10280 # Commands to make compiler produce verbose output that lists
10281 # what "hidden" libraries, object files and flags are used when
10282 # linking a shared library.
10284 # There doesn't appear to be a way to prevent this compiler from
10285 # explicitly linking system object files so we need to strip them
10286 # from the output so that they don't get included in the library
10288 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'
10291 if test "$GXX" = yes; then
10292 if test $with_gnu_ld = no
; then
10293 case "$host_cpu" in
10295 archive_cmds_CXX
='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
10298 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'
10303 # FIXME: insert proper C++ library support
10310 case $cc_basename in
10313 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 ${objdir}/so_locations -o $lib'
10315 # Archives containing C++ object files must be created using
10316 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
10317 # necessary to make sure instantiated templates are included
10319 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
10322 if test "$GXX" = yes; then
10323 if test "$with_gnu_ld" = no
; then
10324 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}${objdir}/so_locations -o $lib'
10326 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'
10329 link_all_deplibs_CXX
=yes
10332 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10333 hardcode_libdir_separator_CXX
=:
10336 case $cc_basename in
10338 # Kuck and Associates, Inc. (KAI) C++ Compiler
10340 # KCC will only create a shared library if the output file
10341 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10342 # to its proper name (with version) after linking.
10343 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'
10344 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'
10345 # Commands to make compiler produce verbose output that lists
10346 # what "hidden" libraries, object files and flags are used when
10347 # linking a shared library.
10349 # There doesn't appear to be a way to prevent this compiler from
10350 # explicitly linking system object files so we need to strip them
10351 # from the output so that they don't get included in the library
10353 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'
10355 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
10356 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10358 # Archives containing C++ object files must be created using
10359 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10360 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
10365 # version 8.0 and above of icpc choke on multiply defined symbols
10366 # if we add $predep_objects and $postdep_objects, however 7.1 and
10367 # earlier do not add the objects themselves.
10368 case `$CC -V 2>&1` in
10370 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10371 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'
10373 *) # Version 8.0 or newer
10376 ia64
*) tmp_idyn
=' -i_dynamic';;
10378 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10379 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'
10382 archive_cmds_need_lc_CXX
=no
10383 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10384 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10385 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10388 # Portland Group C++ compiler
10389 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
10390 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'
10392 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
10393 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10397 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10398 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'
10400 runpath_var
=LD_RUN_PATH
10401 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
10402 hardcode_libdir_separator_CXX
=:
10404 # Commands to make compiler produce verbose output that lists
10405 # what "hidden" libraries, object files and flags are used when
10406 # linking a shared library.
10408 # There doesn't appear to be a way to prevent this compiler from
10409 # explicitly linking system object files so we need to strip them
10410 # from the output so that they don't get included in the library
10412 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'
10417 # FIXME: insert proper C++ library support
10421 # FIXME: insert proper C++ library support
10425 case $cc_basename in
10427 # FIXME: insert proper C++ library support
10431 # FIXME: insert proper C++ library support
10437 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
10438 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10440 hardcode_libdir_flag_spec_CXX
='-R$libdir'
10441 hardcode_direct_CXX
=yes
10442 hardcode_shlibpath_var_CXX
=no
10444 # Workaround some broken pre-1.5 toolchains
10445 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
10448 # C++ shared libraries are fairly broken
10452 hardcode_direct_CXX
=yes
10453 hardcode_shlibpath_var_CXX
=no
10454 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10455 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10456 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10457 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
10458 export_dynamic_flag_spec_CXX
='${wl}-E'
10459 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10461 output_verbose_link_cmd
='echo'
10464 case $cc_basename in
10466 # Kuck and Associates, Inc. (KAI) C++ Compiler
10468 # KCC will only create a shared library if the output file
10469 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10470 # to its proper name (with version) after linking.
10471 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'
10473 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10474 hardcode_libdir_separator_CXX
=:
10476 # Archives containing C++ object files must be created using
10477 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10478 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
10482 # Rational C++ 2.4.1
10483 # FIXME: insert proper C++ library support
10487 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
10488 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 ${objdir}/so_locations -o $lib'
10490 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10491 hardcode_libdir_separator_CXX
=:
10493 # Commands to make compiler produce verbose output that lists
10494 # what "hidden" libraries, object files and flags are used when
10495 # linking a shared library.
10497 # There doesn't appear to be a way to prevent this compiler from
10498 # explicitly linking system object files so we need to strip them
10499 # from the output so that they don't get included in the library
10501 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'
10504 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
10505 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
10506 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}${objdir}/so_locations -o $lib'
10508 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10509 hardcode_libdir_separator_CXX
=:
10511 # Commands to make compiler produce verbose output that lists
10512 # what "hidden" libraries, object files and flags are used when
10513 # linking a shared library.
10514 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10517 # FIXME: insert proper C++ library support
10524 case $cc_basename in
10526 # Kuck and Associates, Inc. (KAI) C++ Compiler
10528 # KCC will only create a shared library if the output file
10529 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10530 # to its proper name (with version) after linking.
10531 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'
10533 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10534 hardcode_libdir_separator_CXX
=:
10536 # Archives containing C++ object files must be created using
10537 # the KAI C++ compiler.
10538 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
10541 # Rational C++ 2.4.1
10542 # FIXME: insert proper C++ library support
10546 allow_undefined_flag_CXX
=' -expect_unresolved \*'
10547 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 ${objdir}/so_locations -o $lib'
10548 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
10549 echo "-hidden">> $lib.exp~
10550 $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 $objdir/so_locations -o $lib~
10553 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
10554 hardcode_libdir_separator_CXX
=:
10556 # Commands to make compiler produce verbose output that lists
10557 # what "hidden" libraries, object files and flags are used when
10558 # linking a shared library.
10560 # There doesn't appear to be a way to prevent this compiler from
10561 # explicitly linking system object files so we need to strip them
10562 # from the output so that they don't get included in the library
10564 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'
10567 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
10568 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
10569 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}${objdir}/so_locations -o $lib'
10571 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10572 hardcode_libdir_separator_CXX
=:
10574 # Commands to make compiler produce verbose output that lists
10575 # what "hidden" libraries, object files and flags are used when
10576 # linking a shared library.
10577 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10580 # FIXME: insert proper C++ library support
10587 # FIXME: insert proper C++ library support
10591 archive_cmds_need_lc_CXX
=no
10592 case $cc_basename in
10594 # FIXME: insert proper C++ library support
10598 # FIXME: insert proper C++ library support
10604 case $cc_basename in
10607 # FIXME: insert proper C++ library support
10612 # FIXME: insert proper C++ library support
10616 # FIXME: insert proper C++ library support
10622 case $cc_basename in
10624 # Sun C++ 4.2, 5.x and Centerline C++
10625 no_undefined_flag_CXX
=' -zdefs'
10626 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10627 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10628 $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10630 hardcode_libdir_flag_spec_CXX
='-R$libdir'
10631 hardcode_shlibpath_var_CXX
=no
10633 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10635 # The C++ compiler is used as linker so we must use $wl
10636 # flag to pass the commands to the underlying system
10638 # Supported since Solaris 2.6 (maybe 2.5.1?)
10639 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10642 link_all_deplibs_CXX
=yes
10644 # Commands to make compiler produce verbose output that lists
10645 # what "hidden" libraries, object files and flags are used when
10646 # linking a shared library.
10648 # There doesn't appear to be a way to prevent this compiler from
10649 # explicitly linking system object files so we need to strip them
10650 # from the output so that they don't get included in the library
10652 output_verbose_link_cmd
='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[LR]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
10654 # Archives containing C++ object files must be created using
10655 # "CC -xar", where "CC" is the Sun C++ compiler. This is
10656 # necessary to make sure instantiated templates are included
10658 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
10661 # Green Hills C++ Compiler
10662 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10664 # The C++ compiler must be used to create the archive.
10665 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
10668 # GNU C++ compiler with Solaris linker
10669 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
10670 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
10671 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
10672 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10673 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10674 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10676 # Commands to make compiler produce verbose output that lists
10677 # what "hidden" libraries, object files and flags are used when
10678 # linking a shared library.
10679 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10681 # g++ 2.7 appears to require `-G' NOT `-shared' on this
10683 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10684 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10685 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10687 # Commands to make compiler produce verbose output that lists
10688 # what "hidden" libraries, object files and flags are used when
10689 # linking a shared library.
10690 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10693 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
10698 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
10699 archive_cmds_need_lc_CXX
=no
10702 case $cc_basename in
10704 # NonStop-UX NCC 3.20
10705 # FIXME: insert proper C++ library support
10709 # FIXME: insert proper C++ library support
10715 # FIXME: insert proper C++ library support
10719 # FIXME: insert proper C++ library support
10723 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10724 echo "${ECHO_T}$ld_shlibs_CXX" >&6
10725 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
10731 cat > conftest.
$ac_ext <<EOF
10735 Foo (void) { a = 0; }
10741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10742 (eval $ac_compile) 2>&5
10744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10745 (exit $ac_status); }; then
10746 # Parse the compiler output and extract the necessary
10747 # objects, libraries and library flags.
10749 # Sentinel used to keep track of whether or not we are before
10750 # the conftest object file.
10751 pre_test_object_deps_done
=no
10753 # The `*' in the case matches for architectures that use `case' in
10754 # $output_verbose_cmd can trigger glob expansion during the loop
10755 # eval without this substitution.
10756 output_verbose_link_cmd
="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
10758 for p
in `eval $output_verbose_link_cmd`; do
10762 # Some compilers place space between "-{L,R}" and the path.
10763 # Remove the space.
10764 if test $p = "-L" \
10765 ||
test $p = "-R"; then
10772 if test "$pre_test_object_deps_done" = no
; then
10775 # Internal compiler library paths should come after those
10776 # provided the user. The postdeps already come after the
10777 # user supplied libs so there is no need to process them.
10778 if test -z "$compiler_lib_search_path_CXX"; then
10779 compiler_lib_search_path_CXX
="${prev}${p}"
10781 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
10784 # The "-l" case would never come before the object being
10785 # linked, so don't bother handling this case.
10788 if test -z "$postdeps_CXX"; then
10789 postdeps_CXX
="${prev}${p}"
10791 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
10797 # This assumes that the test object file only shows up
10798 # once in the compiler output.
10799 if test "$p" = "conftest.$objext"; then
10800 pre_test_object_deps_done
=yes
10804 if test "$pre_test_object_deps_done" = no
; then
10805 if test -z "$predep_objects_CXX"; then
10806 predep_objects_CXX
="$p"
10808 predep_objects_CXX
="$predep_objects_CXX $p"
10811 if test -z "$postdep_objects_CXX"; then
10812 postdep_objects_CXX
="$p"
10814 postdep_objects_CXX
="$postdep_objects_CXX $p"
10819 *) ;; # Ignore the rest.
10827 echo "libtool.m4: error: problem compiling CXX test program"
10830 $rm -f confest.
$objext
10832 case " $postdeps_CXX " in
10833 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
10836 lt_prog_compiler_wl_CXX
=
10837 lt_prog_compiler_pic_CXX
=
10838 lt_prog_compiler_static_CXX
=
10840 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10841 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
10843 # C++ specific cases for pic, static, wl, etc.
10844 if test "$GXX" = yes; then
10845 lt_prog_compiler_wl_CXX
='-Wl,'
10846 lt_prog_compiler_static_CXX
='-static'
10850 # All AIX code is PIC.
10851 if test "$host_cpu" = ia64
; then
10852 # AIX 5 now supports IA64 processor
10853 lt_prog_compiler_static_CXX
='-Bstatic'
10857 # FIXME: we need at least 68020 code to build shared libraries, but
10858 # adding the `-m68020' flag to GCC prevents building anything better,
10860 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
10862 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
10863 # PIC is the default for these OSes.
10865 mingw
* | os2
* | pw32
*)
10866 # This hack is so that the source file can tell whether it is being
10867 # built for inclusion in a dll (and should export symbols for example).
10868 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
10870 darwin
* | rhapsody
*)
10871 # PIC is the default on this platform
10872 # Common symbols not allowed in MH_DYLIB files
10873 lt_prog_compiler_pic_CXX
='-fno-common'
10876 # DJGPP does not support shared libraries at all
10877 lt_prog_compiler_pic_CXX
=
10880 if test -d /usr
/nec
; then
10881 lt_prog_compiler_pic_CXX
=-Kconform_pic
10885 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10886 # not for PA HP-UX.
10887 case "$host_cpu" in
10891 lt_prog_compiler_pic_CXX
='-fPIC'
10896 lt_prog_compiler_pic_CXX
='-fPIC'
10902 # All AIX code is PIC.
10903 if test "$host_cpu" = ia64
; then
10904 # AIX 5 now supports IA64 processor
10905 lt_prog_compiler_static_CXX
='-Bstatic'
10907 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
10911 case $cc_basename in
10913 # Green Hills C++ Compiler
10914 # _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"
10919 # PIC is the default on this platform
10920 # Common symbols not allowed in MH_DYLIB files
10921 case "$cc_basename" in
10923 lt_prog_compiler_pic_CXX
='-qnocommon'
10924 lt_prog_compiler_wl_CXX
='-Wl,'
10929 case $cc_basename in
10931 lt_prog_compiler_pic_CXX
='-KPIC'
10934 # Green Hills C++ Compiler
10935 lt_prog_compiler_pic_CXX
='-pic'
10941 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
10942 # FreeBSD uses GNU C++
10944 hpux9
* | hpux10
* | hpux11
*)
10945 case $cc_basename in
10947 lt_prog_compiler_wl_CXX
='-Wl,'
10948 lt_prog_compiler_static_CXX
="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10949 if test "$host_cpu" != ia64
; then
10950 lt_prog_compiler_pic_CXX
='+Z'
10954 lt_prog_compiler_wl_CXX
='-Wl,'
10955 lt_prog_compiler_static_CXX
="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10956 case "$host_cpu" in
10961 lt_prog_compiler_pic_CXX
='+Z'
10969 irix5
* | irix6
* | nonstopux
*)
10970 case $cc_basename in
10972 lt_prog_compiler_wl_CXX
='-Wl,'
10973 lt_prog_compiler_static_CXX
='-non_shared'
10974 # CC pic flag -KPIC is the default.
10981 case $cc_basename in
10984 lt_prog_compiler_wl_CXX
='--backend -Wl,'
10985 lt_prog_compiler_pic_CXX
='-fPIC'
10989 lt_prog_compiler_wl_CXX
='-Wl,'
10990 lt_prog_compiler_pic_CXX
='-KPIC'
10991 lt_prog_compiler_static_CXX
='-static'
10994 # Portland Group C++ compiler.
10995 lt_prog_compiler_wl_CXX
='-Wl,'
10996 lt_prog_compiler_pic_CXX
='-fpic'
10997 lt_prog_compiler_static_CXX
='-static'
11001 # Make sure the PIC flag is empty. It appears that all Alpha
11002 # Linux and Compaq Tru64 Unix objects are PIC.
11003 lt_prog_compiler_pic_CXX
=
11004 lt_prog_compiler_static_CXX
='-non_shared'
11015 case $cc_basename in
11017 lt_prog_compiler_pic_CXX
='-W c,exportall'
11025 osf3
* | osf4
* | osf5
*)
11026 case $cc_basename in
11028 lt_prog_compiler_wl_CXX
='--backend -Wl,'
11031 # Rational C++ 2.4.1
11032 lt_prog_compiler_pic_CXX
='-pic'
11035 # Digital/Compaq C++
11036 lt_prog_compiler_wl_CXX
='-Wl,'
11037 # Make sure the PIC flag is empty. It appears that all Alpha
11038 # Linux and Compaq Tru64 Unix objects are PIC.
11039 lt_prog_compiler_pic_CXX
=
11040 lt_prog_compiler_static_CXX
='-non_shared'
11049 case $cc_basename in
11051 lt_prog_compiler_pic_CXX
='-fPIC'
11058 case $cc_basename in
11060 # Sun C++ 4.2, 5.x and Centerline C++
11061 lt_prog_compiler_pic_CXX
='-KPIC'
11062 lt_prog_compiler_static_CXX
='-Bstatic'
11063 lt_prog_compiler_wl_CXX
='-Qoption ld '
11066 # Green Hills C++ Compiler
11067 lt_prog_compiler_pic_CXX
='-PIC'
11074 case $cc_basename in
11077 lt_prog_compiler_pic_CXX
='-pic'
11078 lt_prog_compiler_static_CXX
='-Bstatic'
11082 lt_prog_compiler_pic_CXX
='-pic'
11089 case $cc_basename in
11091 # NonStop-UX NCC 3.20
11092 lt_prog_compiler_pic_CXX
='-KPIC'
11103 lt_prog_compiler_can_build_shared_CXX
=no
11108 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
11109 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
11112 # Check to make sure the PIC flag actually works.
11114 if test -n "$lt_prog_compiler_pic_CXX"; then
11116 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
11117 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
11118 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
11119 echo $ECHO_N "(cached) $ECHO_C" >&6
11121 lt_prog_compiler_pic_works_CXX
=no
11122 ac_outfile
=conftest.
$ac_objext
11123 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11124 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
11125 # Insert the option either (1) after the last *FLAGS variable, or
11126 # (2) before a word containing "conftest.", or (3) at the end.
11127 # Note that $ac_compile itself does not contain backslashes and begins
11128 # with a dollar sign (not a hyphen), so the echo should work correctly.
11129 # The option is referenced via a variable to avoid confusing sed.
11130 lt_compile
=`echo "$ac_compile" | $SED \
11131 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
11132 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11133 -e 's:$: $lt_compiler_flag:'`
11134 (eval echo "\"\$as_me:11134: $lt_compile\"" >&5)
11135 (eval "$lt_compile" 2>conftest.err
)
11137 cat conftest.err
>&5
11138 echo "$as_me:11138: \$? = $ac_status" >&5
11139 if (exit $ac_status) && test -s "$ac_outfile"; then
11140 # The compiler can only warn and ignore the option if not recognized
11141 # So say no if there are warnings
11142 if test ! -s conftest.err
; then
11143 lt_prog_compiler_pic_works_CXX
=yes
11149 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
11150 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
11152 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
11153 case $lt_prog_compiler_pic_CXX in
11155 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
11158 lt_prog_compiler_pic_CXX
=
11159 lt_prog_compiler_can_build_shared_CXX
=no
11164 # For platforms which do not support PIC, -DPIC is meaningless:
11166 lt_prog_compiler_pic_CXX
=
11169 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
11173 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11174 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
11175 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
11176 echo $ECHO_N "(cached) $ECHO_C" >&6
11178 lt_cv_prog_compiler_c_o_CXX
=no
11179 $rm -r conftest
2>/dev
/null
11183 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11185 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11186 # Insert the option either (1) after the last *FLAGS variable, or
11187 # (2) before a word containing "conftest.", or (3) at the end.
11188 # Note that $ac_compile itself does not contain backslashes and begins
11189 # with a dollar sign (not a hyphen), so the echo should work correctly.
11190 lt_compile
=`echo "$ac_compile" | $SED \
11191 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
11192 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11193 -e 's:$: $lt_compiler_flag:'`
11194 (eval echo "\"\$as_me:11194: $lt_compile\"" >&5)
11195 (eval "$lt_compile" 2>out
/conftest.err
)
11197 cat out
/conftest.err
>&5
11198 echo "$as_me:11198: \$? = $ac_status" >&5
11199 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
11201 # The compiler can only warn and ignore the option if not recognized
11202 # So say no if there are warnings
11203 if test ! -s out
/conftest.err
; then
11204 lt_cv_prog_compiler_c_o_CXX
=yes
11209 # SGI C++ compiler will create directory out/ii_files/ for
11210 # template instantiation
11211 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
11212 $rm out
/* && rmdir out
11218 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
11219 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
11222 hard_links
="nottested"
11223 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
11224 # do not overwrite the value of need_locks provided by the user
11225 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11226 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
11229 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11231 ln conftest.a conftest.b
2>&5 || hard_links
=no
11232 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11233 echo "$as_me:$LINENO: result: $hard_links" >&5
11234 echo "${ECHO_T}$hard_links" >&6
11235 if test "$hard_links" = no
; then
11236 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11237 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11244 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11245 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11247 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11250 # If we're using GNU nm, then we don't want the "-C" option.
11251 # -C means demangle to AIX nm, but means don't demangle with GNU nm
11252 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
11253 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'
11255 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'
11259 export_symbols_cmds_CXX
="$ltdll_cmds"
11262 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'
11265 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11269 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11270 echo "${ECHO_T}$ld_shlibs_CXX" >&6
11271 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
11273 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11274 if test "$GCC" = yes; then
11275 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11279 # Do we need to explicitly link libc?
11281 case "x$archive_cmds_need_lc_CXX" in
11283 # Assume -lc should be added
11284 archive_cmds_need_lc_CXX
=yes
11286 if test "$enable_shared" = yes && test "$GCC" = yes; then
11287 case $archive_cmds_CXX in
11289 # FIXME: we may have to deal with multi-command sequences.
11292 # Test whether the compiler implicitly links with -lc since on some
11293 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11294 # to ld, don't add -lc before -lgcc.
11295 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11296 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
11298 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11301 (eval $ac_compile) 2>&5
11303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11304 (exit $ac_status); } 2>conftest.err
; then
11307 libobjs
=conftest.
$ac_objext
11309 wl
=$lt_prog_compiler_wl_CXX
11315 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
11316 allow_undefined_flag_CXX
=
11317 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
11318 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11321 (exit $ac_status); }
11323 archive_cmds_need_lc_CXX
=no
11325 archive_cmds_need_lc_CXX
=yes
11327 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
11329 cat conftest.err
1>&5
11332 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
11333 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
11340 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11341 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
11342 library_names_spec
=
11343 libname_spec
='lib$name'
11347 postuninstall_cmds
=
11351 shlibpath_overrides_runpath
=unknown
11353 dynamic_linker
="$host_os ld.so"
11354 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11355 if test "$GCC" = yes; then
11356 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11357 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
11358 # if the path contains ";" then we assume it to be the separator
11359 # otherwise default to the standard path separator (i.e. ":") - it is
11360 # assumed that no part of a normal pathname contains ";" but that should
11361 # okay in the real world where ";" in dirpaths is itself problematic.
11362 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11364 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11367 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11369 need_lib_prefix
=unknown
11370 hardcode_into_libs
=no
11372 # when you set need_version to no, make sure it does not cause -set_version
11373 # flags to be left without arguments
11374 need_version
=unknown
11379 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11380 shlibpath_var
=LIBPATH
11382 # AIX 3 has no versioning support, so we append a major version to the name.
11383 soname_spec
='${libname}${release}${shared_ext}$major'
11390 hardcode_into_libs
=yes
11391 if test "$host_cpu" = ia64
; then
11392 # AIX 5 supports IA64
11393 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11394 shlibpath_var
=LD_LIBRARY_PATH
11396 # With GCC up to 2.95.x, collect2 would create an import file
11397 # for dependence libraries. The import file would start with
11398 # the line `#! .'. This would cause the generated library to
11399 # depend on `.', always an invalid library. This was fixed in
11400 # development snapshots of GCC prior to 3.0.
11402 aix4 | aix4.
[01] | aix4.
[01].
*)
11403 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11405 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
11408 can_build_shared
=no
11412 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11413 # soname into executable. Probably we can add versioning support to
11414 # collect2, so additional links can be useful in future.
11415 if test "$aix_use_runtimelinking" = yes; then
11416 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11417 # instead of lib<name>.a to let people know that these are not
11418 # typical AIX shared libraries.
11419 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11421 # We preserve .a as extension for shared libraries through AIX4.2
11422 # and later when we are not doing run time linking.
11423 library_names_spec
='${libname}${release}.a $libname.a'
11424 soname_spec
='${libname}${release}${shared_ext}$major'
11426 shlibpath_var
=LIBPATH
11431 library_names_spec
='$libname.ixlibrary $libname.a'
11432 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11433 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'
11437 library_names_spec
='${libname}${shared_ext}'
11438 dynamic_linker
="$host_os ld.so"
11439 shlibpath_var
=LIBRARY_PATH
11445 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11446 soname_spec
='${libname}${release}${shared_ext}$major'
11447 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11448 shlibpath_var
=LD_LIBRARY_PATH
11449 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11450 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11451 # the default ld.so.conf also contains /usr/contrib/lib and
11452 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11453 # libtool to hard-code these into programs
11456 cygwin
* | mingw
* | pw32
*)
11457 version_type
=windows
11462 case $GCC,$host_os in
11463 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
11464 library_names_spec
='$libname.dll.a'
11465 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11466 postinstall_cmds
='base_file=`basename \${file}`~
11467 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
11468 dldir=$destdir/`dirname \$dlpath`~
11469 test -d \$dldir || mkdir -p \$dldir~
11470 $install_prog $dir/$dlname \$dldir/$dlname'
11471 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11472 dlpath=$dir/\$dldll~
11474 shlibpath_overrides_runpath
=yes
11478 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11479 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11480 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
11483 # MinGW DLLs use traditional 'lib' prefix
11484 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11485 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11486 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
11487 # It is most probably a Windows format PATH printed by
11488 # mingw gcc, but we are running on Cygwin. Gcc prints its search
11489 # path with ; separators, and with drive letters. We can handle the
11490 # drive letters (cygwin fileutils understands them), so leave them,
11491 # especially as we might pass files found there to a mingw objdump,
11492 # which wouldn't understand a cygwinified path. Ahh.
11493 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11495 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11499 # pw32 DLLs use 'pw' prefix rather than 'lib'
11500 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11506 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11509 dynamic_linker
='Win32 ld.exe'
11510 # FIXME: first we should search . and the directory the executable is in
11514 darwin
* | rhapsody
*)
11515 dynamic_linker
="$host_os dyld"
11516 version_type
=darwin
11519 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11520 soname_spec
='${libname}${release}${major}$shared_ext'
11521 shlibpath_overrides_runpath
=yes
11522 shlibpath_var
=DYLD_LIBRARY_PATH
11523 shrext_cmds
='$(test .$module = .yes && echo .so || echo .dylib)'
11524 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
11525 if test "$GCC" = yes; then
11526 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"`
11528 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
11530 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11537 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11538 soname_spec
='${libname}${release}${shared_ext}$major'
11539 shlibpath_var
=LD_LIBRARY_PATH
11550 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11551 soname_spec
='${libname}${release}${shared_ext}$major'
11552 shlibpath_var
=LD_LIBRARY_PATH
11553 shlibpath_overrides_runpath
=no
11554 hardcode_into_libs
=yes
11555 dynamic_linker
='GNU ld.so'
11558 freebsd
* | dragonfly
*)
11559 # DragonFly does not have aout. When/if they implement a new
11560 # versioning mechanism, adjust this.
11561 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
11562 version_type
=freebsd-
$objformat
11563 case $version_type in
11565 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11570 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11574 shlibpath_var
=LD_LIBRARY_PATH
11577 shlibpath_overrides_runpath
=yes
11579 freebsd3.
[01]* | freebsdelf3.
[01]*)
11580 shlibpath_overrides_runpath
=yes
11581 hardcode_into_libs
=yes
11584 shlibpath_overrides_runpath
=no
11585 hardcode_into_libs
=yes
11594 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11595 soname_spec
='${libname}${release}${shared_ext}$major'
11596 shlibpath_var
=LD_LIBRARY_PATH
11597 hardcode_into_libs
=yes
11600 hpux9
* | hpux10
* | hpux11
*)
11601 # Give a soname corresponding to the major version so that dld.sl refuses to
11602 # link against other versions.
11606 case "$host_cpu" in
11609 hardcode_into_libs
=yes
11610 dynamic_linker
="$host_os dld.so"
11611 shlibpath_var
=LD_LIBRARY_PATH
11612 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11613 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11614 soname_spec
='${libname}${release}${shared_ext}$major'
11615 if test "X$HPUX_IA64_MODE" = X32
; then
11616 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11618 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11620 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11624 hardcode_into_libs
=yes
11625 dynamic_linker
="$host_os dld.sl"
11626 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11627 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11628 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11629 soname_spec
='${libname}${release}${shared_ext}$major'
11630 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11631 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11635 dynamic_linker
="$host_os dld.sl"
11636 shlibpath_var
=SHLIB_PATH
11637 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11638 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11639 soname_spec
='${libname}${release}${shared_ext}$major'
11642 # HP-UX runs *really* slowly unless shared libraries are mode 555.
11643 postinstall_cmds
='chmod 555 $lib'
11646 irix5
* | irix6
* | nonstopux
*)
11648 nonstopux
*) version_type
=nonstopux
;;
11650 if test "$lt_cv_prog_gnu_ld" = yes; then
11658 soname_spec
='${libname}${release}${shared_ext}$major'
11659 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11661 irix5
* | nonstopux
*)
11662 libsuff
= shlibsuff
=
11665 case $LD in # libtool.m4 will add one of these switches to LD
11666 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11667 libsuff
= shlibsuff
= libmagic
=32-bit;;
11668 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11669 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11670 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11671 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11672 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11676 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11677 shlibpath_overrides_runpath
=no
11678 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11679 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11680 hardcode_into_libs
=yes
11683 # No shared lib support for Linux oldld, aout, or coff.
11684 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11688 # This must be Linux ELF.
11693 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11694 soname_spec
='${libname}${release}${shared_ext}$major'
11695 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11696 shlibpath_var
=LD_LIBRARY_PATH
11697 shlibpath_overrides_runpath
=no
11698 # This implies no fast_install, which is unacceptable.
11699 # Some rework will be needed to allow for fast_install
11700 # before this can be enabled.
11701 hardcode_into_libs
=yes
11703 # Append ld.so.conf contents to the search path
11704 if test -f /etc
/ld.so.conf
; then
11705 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/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
11706 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11709 # We used to test for /lib/ld.so.1 and disable shared libraries on
11710 # powerpc, because MkLinux only supported shared libraries with the
11711 # GNU dynamic linker. Since this was broken with cross compilers,
11712 # most powerpc-linux boxes support dynamic linking these days and
11713 # people can always --disable-shared, the test was removed, and we
11714 # assume the GNU/Linux dynamic linker is in use.
11715 dynamic_linker
='GNU/Linux ld.so'
11722 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11723 soname_spec
='${libname}${release}${shared_ext}$major'
11724 shlibpath_var
=LD_LIBRARY_PATH
11725 shlibpath_overrides_runpath
=no
11726 hardcode_into_libs
=yes
11727 dynamic_linker
='GNU ld.so'
11734 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
11735 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11736 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11737 dynamic_linker
='NetBSD (a.out) ld.so'
11739 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11740 soname_spec
='${libname}${release}${shared_ext}$major'
11741 dynamic_linker
='NetBSD ld.elf_so'
11743 shlibpath_var
=LD_LIBRARY_PATH
11744 shlibpath_overrides_runpath
=yes
11745 hardcode_into_libs
=yes
11750 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11751 shlibpath_var
=LD_LIBRARY_PATH
11752 shlibpath_overrides_runpath
=yes
11759 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11760 soname_spec
='${libname}${release}${shared_ext}$major'
11761 shlibpath_var
=LD_LIBRARY_PATH
11762 shlibpath_overrides_runpath
=yes
11769 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11770 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11771 shlibpath_var
=LD_LIBRARY_PATH
11772 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11774 openbsd2.
[89] | openbsd2.
[89].
*)
11775 shlibpath_overrides_runpath
=no
11778 shlibpath_overrides_runpath
=yes
11782 shlibpath_overrides_runpath
=yes
11787 libname_spec
='$name'
11790 library_names_spec
='$libname${shared_ext} $libname.a'
11791 dynamic_linker
='OS/2 ld.exe'
11792 shlibpath_var
=LIBPATH
11795 osf3
* | osf4
* | osf5
*)
11799 soname_spec
='${libname}${release}${shared_ext}$major'
11800 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11801 shlibpath_var
=LD_LIBRARY_PATH
11802 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11803 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11808 soname_spec
='${libname}${release}${shared_ext}$major'
11809 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11810 shlibpath_var
=LD_LIBRARY_PATH
11817 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11818 soname_spec
='${libname}${release}${shared_ext}$major'
11819 shlibpath_var
=LD_LIBRARY_PATH
11820 shlibpath_overrides_runpath
=yes
11821 hardcode_into_libs
=yes
11822 # ldd complains unless libraries are executable
11823 postinstall_cmds
='chmod +x $lib'
11828 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11829 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11830 shlibpath_var
=LD_LIBRARY_PATH
11831 shlibpath_overrides_runpath
=yes
11832 if test "$with_gnu_ld" = yes; then
11838 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11840 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11841 soname_spec
='${libname}${release}${shared_ext}$major'
11842 shlibpath_var
=LD_LIBRARY_PATH
11843 case $host_vendor in
11845 shlibpath_overrides_runpath
=no
11847 export_dynamic_flag_spec
='${wl}-Blargedynsym'
11848 runpath_var
=LD_RUN_PATH
11856 shlibpath_overrides_runpath
=no
11857 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11863 if test -d /usr
/nec
;then
11865 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11866 soname_spec
='$libname${shared_ext}.$major'
11867 shlibpath_var
=LD_LIBRARY_PATH
11873 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11874 soname_spec
='${libname}${release}${shared_ext}$major'
11875 shlibpath_var
=LD_LIBRARY_PATH
11882 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11883 echo "${ECHO_T}$dynamic_linker" >&6
11884 test "$dynamic_linker" = no
&& can_build_shared
=no
11886 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11887 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
11888 hardcode_action_CXX
=
11889 if test -n "$hardcode_libdir_flag_spec_CXX" || \
11890 test -n "$runpath_var_CXX" || \
11891 test "X$hardcode_automatic_CXX" = "Xyes" ; then
11893 # We can hardcode non-existant directories.
11894 if test "$hardcode_direct_CXX" != no
&&
11895 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11896 # have to relink, otherwise we might link with an installed library
11897 # when we should be linking with a yet-to-be-installed one
11898 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
11899 test "$hardcode_minus_L_CXX" != no
; then
11900 # Linking always hardcodes the temporary library directory.
11901 hardcode_action_CXX
=relink
11903 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11904 hardcode_action_CXX
=immediate
11907 # We cannot hardcode anything, or else we can only hardcode existing
11909 hardcode_action_CXX
=unsupported
11911 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
11912 echo "${ECHO_T}$hardcode_action_CXX" >&6
11914 if test "$hardcode_action_CXX" = relink
; then
11915 # Fast installation is not supported
11916 enable_fast_install
=no
11917 elif test "$shlibpath_overrides_runpath" = yes ||
11918 test "$enable_shared" = no
; then
11919 # Fast installation is not necessary
11920 enable_fast_install
=needless
11925 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11926 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
11927 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
11928 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11929 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11930 echo "$as_me:$LINENO: result: yes" >&5
11931 echo "${ECHO_T}yes" >&6
11933 # FIXME - insert some real tests, host_os isn't really good enough
11936 if test -n "$STRIP" ; then
11937 striplib
="$STRIP -x"
11938 echo "$as_me:$LINENO: result: yes" >&5
11939 echo "${ECHO_T}yes" >&6
11941 echo "$as_me:$LINENO: result: no" >&5
11942 echo "${ECHO_T}no" >&6
11946 echo "$as_me:$LINENO: result: no" >&5
11947 echo "${ECHO_T}no" >&6
11952 if test "x$enable_dlopen" != xyes
; then
11953 enable_dlopen
=unknown
11954 enable_dlopen_self
=unknown
11955 enable_dlopen_self_static
=unknown
11962 lt_cv_dlopen
="load_add_on"
11964 lt_cv_dlopen_self
=yes
11968 lt_cv_dlopen
="LoadLibrary"
11973 lt_cv_dlopen
="dlopen"
11978 # if libdl is installed we need to link against it
11979 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11980 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11981 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11982 echo $ECHO_N "(cached) $ECHO_C" >&6
11984 ac_check_lib_save_LIBS
=$LIBS
11986 cat >conftest.
$ac_ext <<_ACEOF
11989 cat confdefs.h
>>conftest.
$ac_ext
11990 cat >>conftest.
$ac_ext <<_ACEOF
11991 /* end confdefs.h. */
11993 /* Override any gcc2 internal prototype to avoid an error. */
11997 /* We use char because int might match the return type of a gcc2
11998 builtin and then its argument prototype would still apply. */
12008 rm -f conftest.
$ac_objext conftest
$ac_exeext
12009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12010 (eval $ac_link) 2>conftest.er1
12012 grep -v '^ *+' conftest.er1
>conftest.err
12014 cat conftest.err
>&5
12015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12016 (exit $ac_status); } &&
12017 { ac_try
='test -z "$ac_cxx_werror_flag"
12018 || test ! -s conftest.err'
12019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12020 (eval $ac_try) 2>&5
12022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12023 (exit $ac_status); }; } &&
12024 { ac_try
='test -s conftest$ac_exeext'
12025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12026 (eval $ac_try) 2>&5
12028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12029 (exit $ac_status); }; }; then
12030 ac_cv_lib_dl_dlopen
=yes
12032 echo "$as_me: failed program was:" >&5
12033 sed 's/^/| /' conftest.
$ac_ext >&5
12035 ac_cv_lib_dl_dlopen
=no
12037 rm -f conftest.err conftest.
$ac_objext \
12038 conftest
$ac_exeext conftest.
$ac_ext
12039 LIBS
=$ac_check_lib_save_LIBS
12041 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12042 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
12043 if test $ac_cv_lib_dl_dlopen = yes; then
12044 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12047 lt_cv_dlopen
="dyld"
12049 lt_cv_dlopen_self
=yes
12056 echo "$as_me:$LINENO: checking for shl_load" >&5
12057 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
12058 if test "${ac_cv_func_shl_load+set}" = set; then
12059 echo $ECHO_N "(cached) $ECHO_C" >&6
12061 cat >conftest.
$ac_ext <<_ACEOF
12064 cat confdefs.h
>>conftest.
$ac_ext
12065 cat >>conftest.
$ac_ext <<_ACEOF
12066 /* end confdefs.h. */
12067 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
12068 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12069 #define shl_load innocuous_shl_load
12071 /* System header to define __stub macros and hopefully few prototypes,
12072 which can conflict with char shl_load (); below.
12073 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12074 <limits.h> exists even on freestanding compilers. */
12077 # include <limits.h>
12079 # include <assert.h>
12084 /* Override any gcc2 internal prototype to avoid an error. */
12089 /* We use char because int might match the return type of a gcc2
12090 builtin and then its argument prototype would still apply. */
12092 /* The GNU C library defines this for functions which it implements
12093 to always fail with ENOSYS. Some functions are actually named
12094 something starting with __ and the normal name is an alias. */
12095 #if defined (__stub_shl_load) || defined (__stub___shl_load)
12098 char (*f) () = shl_load;
12107 return f != shl_load;
12112 rm -f conftest.
$ac_objext conftest
$ac_exeext
12113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12114 (eval $ac_link) 2>conftest.er1
12116 grep -v '^ *+' conftest.er1
>conftest.err
12118 cat conftest.err
>&5
12119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12120 (exit $ac_status); } &&
12121 { ac_try
='test -z "$ac_cxx_werror_flag"
12122 || test ! -s conftest.err'
12123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12124 (eval $ac_try) 2>&5
12126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12127 (exit $ac_status); }; } &&
12128 { ac_try
='test -s conftest$ac_exeext'
12129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12130 (eval $ac_try) 2>&5
12132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12133 (exit $ac_status); }; }; then
12134 ac_cv_func_shl_load
=yes
12136 echo "$as_me: failed program was:" >&5
12137 sed 's/^/| /' conftest.
$ac_ext >&5
12139 ac_cv_func_shl_load
=no
12141 rm -f conftest.err conftest.
$ac_objext \
12142 conftest
$ac_exeext conftest.
$ac_ext
12144 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
12145 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
12146 if test $ac_cv_func_shl_load = yes; then
12147 lt_cv_dlopen
="shl_load"
12149 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
12150 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
12151 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
12152 echo $ECHO_N "(cached) $ECHO_C" >&6
12154 ac_check_lib_save_LIBS
=$LIBS
12156 cat >conftest.
$ac_ext <<_ACEOF
12159 cat confdefs.h
>>conftest.
$ac_ext
12160 cat >>conftest.
$ac_ext <<_ACEOF
12161 /* end confdefs.h. */
12163 /* Override any gcc2 internal prototype to avoid an error. */
12167 /* We use char because int might match the return type of a gcc2
12168 builtin and then its argument prototype would still apply. */
12178 rm -f conftest.
$ac_objext conftest
$ac_exeext
12179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12180 (eval $ac_link) 2>conftest.er1
12182 grep -v '^ *+' conftest.er1
>conftest.err
12184 cat conftest.err
>&5
12185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12186 (exit $ac_status); } &&
12187 { ac_try
='test -z "$ac_cxx_werror_flag"
12188 || test ! -s conftest.err'
12189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12190 (eval $ac_try) 2>&5
12192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12193 (exit $ac_status); }; } &&
12194 { ac_try
='test -s conftest$ac_exeext'
12195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12196 (eval $ac_try) 2>&5
12198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12199 (exit $ac_status); }; }; then
12200 ac_cv_lib_dld_shl_load
=yes
12202 echo "$as_me: failed program was:" >&5
12203 sed 's/^/| /' conftest.
$ac_ext >&5
12205 ac_cv_lib_dld_shl_load
=no
12207 rm -f conftest.err conftest.
$ac_objext \
12208 conftest
$ac_exeext conftest.
$ac_ext
12209 LIBS
=$ac_check_lib_save_LIBS
12211 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
12212 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
12213 if test $ac_cv_lib_dld_shl_load = yes; then
12214 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
12216 echo "$as_me:$LINENO: checking for dlopen" >&5
12217 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
12218 if test "${ac_cv_func_dlopen+set}" = set; then
12219 echo $ECHO_N "(cached) $ECHO_C" >&6
12221 cat >conftest.
$ac_ext <<_ACEOF
12224 cat confdefs.h
>>conftest.
$ac_ext
12225 cat >>conftest.
$ac_ext <<_ACEOF
12226 /* end confdefs.h. */
12227 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
12228 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12229 #define dlopen innocuous_dlopen
12231 /* System header to define __stub macros and hopefully few prototypes,
12232 which can conflict with char dlopen (); below.
12233 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12234 <limits.h> exists even on freestanding compilers. */
12237 # include <limits.h>
12239 # include <assert.h>
12244 /* Override any gcc2 internal prototype to avoid an error. */
12249 /* We use char because int might match the return type of a gcc2
12250 builtin and then its argument prototype would still apply. */
12252 /* The GNU C library defines this for functions which it implements
12253 to always fail with ENOSYS. Some functions are actually named
12254 something starting with __ and the normal name is an alias. */
12255 #if defined (__stub_dlopen) || defined (__stub___dlopen)
12258 char (*f) () = dlopen;
12267 return f != dlopen;
12272 rm -f conftest.
$ac_objext conftest
$ac_exeext
12273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12274 (eval $ac_link) 2>conftest.er1
12276 grep -v '^ *+' conftest.er1
>conftest.err
12278 cat conftest.err
>&5
12279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12280 (exit $ac_status); } &&
12281 { ac_try
='test -z "$ac_cxx_werror_flag"
12282 || test ! -s conftest.err'
12283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12284 (eval $ac_try) 2>&5
12286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12287 (exit $ac_status); }; } &&
12288 { ac_try
='test -s conftest$ac_exeext'
12289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12290 (eval $ac_try) 2>&5
12292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12293 (exit $ac_status); }; }; then
12294 ac_cv_func_dlopen
=yes
12296 echo "$as_me: failed program was:" >&5
12297 sed 's/^/| /' conftest.
$ac_ext >&5
12299 ac_cv_func_dlopen
=no
12301 rm -f conftest.err conftest.
$ac_objext \
12302 conftest
$ac_exeext conftest.
$ac_ext
12304 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12305 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
12306 if test $ac_cv_func_dlopen = yes; then
12307 lt_cv_dlopen
="dlopen"
12309 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12310 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
12311 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12312 echo $ECHO_N "(cached) $ECHO_C" >&6
12314 ac_check_lib_save_LIBS
=$LIBS
12316 cat >conftest.
$ac_ext <<_ACEOF
12319 cat confdefs.h
>>conftest.
$ac_ext
12320 cat >>conftest.
$ac_ext <<_ACEOF
12321 /* end confdefs.h. */
12323 /* Override any gcc2 internal prototype to avoid an error. */
12327 /* We use char because int might match the return type of a gcc2
12328 builtin and then its argument prototype would still apply. */
12338 rm -f conftest.
$ac_objext conftest
$ac_exeext
12339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12340 (eval $ac_link) 2>conftest.er1
12342 grep -v '^ *+' conftest.er1
>conftest.err
12344 cat conftest.err
>&5
12345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12346 (exit $ac_status); } &&
12347 { ac_try
='test -z "$ac_cxx_werror_flag"
12348 || test ! -s conftest.err'
12349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12350 (eval $ac_try) 2>&5
12352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12353 (exit $ac_status); }; } &&
12354 { ac_try
='test -s conftest$ac_exeext'
12355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12356 (eval $ac_try) 2>&5
12358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12359 (exit $ac_status); }; }; then
12360 ac_cv_lib_dl_dlopen
=yes
12362 echo "$as_me: failed program was:" >&5
12363 sed 's/^/| /' conftest.
$ac_ext >&5
12365 ac_cv_lib_dl_dlopen
=no
12367 rm -f conftest.err conftest.
$ac_objext \
12368 conftest
$ac_exeext conftest.
$ac_ext
12369 LIBS
=$ac_check_lib_save_LIBS
12371 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12372 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
12373 if test $ac_cv_lib_dl_dlopen = yes; then
12374 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12376 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
12377 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
12378 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
12379 echo $ECHO_N "(cached) $ECHO_C" >&6
12381 ac_check_lib_save_LIBS
=$LIBS
12382 LIBS
="-lsvld $LIBS"
12383 cat >conftest.
$ac_ext <<_ACEOF
12386 cat confdefs.h
>>conftest.
$ac_ext
12387 cat >>conftest.
$ac_ext <<_ACEOF
12388 /* end confdefs.h. */
12390 /* Override any gcc2 internal prototype to avoid an error. */
12394 /* We use char because int might match the return type of a gcc2
12395 builtin and then its argument prototype would still apply. */
12405 rm -f conftest.
$ac_objext conftest
$ac_exeext
12406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12407 (eval $ac_link) 2>conftest.er1
12409 grep -v '^ *+' conftest.er1
>conftest.err
12411 cat conftest.err
>&5
12412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12413 (exit $ac_status); } &&
12414 { ac_try
='test -z "$ac_cxx_werror_flag"
12415 || test ! -s conftest.err'
12416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12417 (eval $ac_try) 2>&5
12419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12420 (exit $ac_status); }; } &&
12421 { ac_try
='test -s conftest$ac_exeext'
12422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12423 (eval $ac_try) 2>&5
12425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12426 (exit $ac_status); }; }; then
12427 ac_cv_lib_svld_dlopen
=yes
12429 echo "$as_me: failed program was:" >&5
12430 sed 's/^/| /' conftest.
$ac_ext >&5
12432 ac_cv_lib_svld_dlopen
=no
12434 rm -f conftest.err conftest.
$ac_objext \
12435 conftest
$ac_exeext conftest.
$ac_ext
12436 LIBS
=$ac_check_lib_save_LIBS
12438 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12439 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
12440 if test $ac_cv_lib_svld_dlopen = yes; then
12441 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12443 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12444 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
12445 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12446 echo $ECHO_N "(cached) $ECHO_C" >&6
12448 ac_check_lib_save_LIBS
=$LIBS
12450 cat >conftest.
$ac_ext <<_ACEOF
12453 cat confdefs.h
>>conftest.
$ac_ext
12454 cat >>conftest.
$ac_ext <<_ACEOF
12455 /* end confdefs.h. */
12457 /* Override any gcc2 internal prototype to avoid an error. */
12461 /* We use char because int might match the return type of a gcc2
12462 builtin and then its argument prototype would still apply. */
12472 rm -f conftest.
$ac_objext conftest
$ac_exeext
12473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12474 (eval $ac_link) 2>conftest.er1
12476 grep -v '^ *+' conftest.er1
>conftest.err
12478 cat conftest.err
>&5
12479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12480 (exit $ac_status); } &&
12481 { ac_try
='test -z "$ac_cxx_werror_flag"
12482 || test ! -s conftest.err'
12483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12484 (eval $ac_try) 2>&5
12486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12487 (exit $ac_status); }; } &&
12488 { ac_try
='test -s conftest$ac_exeext'
12489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12490 (eval $ac_try) 2>&5
12492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12493 (exit $ac_status); }; }; then
12494 ac_cv_lib_dld_dld_link
=yes
12496 echo "$as_me: failed program was:" >&5
12497 sed 's/^/| /' conftest.
$ac_ext >&5
12499 ac_cv_lib_dld_dld_link
=no
12501 rm -f conftest.err conftest.
$ac_objext \
12502 conftest
$ac_exeext conftest.
$ac_ext
12503 LIBS
=$ac_check_lib_save_LIBS
12505 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12506 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
12507 if test $ac_cv_lib_dld_dld_link = yes; then
12508 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
12529 if test "x$lt_cv_dlopen" != xno
; then
12535 case $lt_cv_dlopen in
12537 save_CPPFLAGS
="$CPPFLAGS"
12538 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12540 save_LDFLAGS
="$LDFLAGS"
12541 eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12544 LIBS
="$lt_cv_dlopen_libs $LIBS"
12546 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12547 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
12548 if test "${lt_cv_dlopen_self+set}" = set; then
12549 echo $ECHO_N "(cached) $ECHO_C" >&6
12551 if test "$cross_compiling" = yes; then :
12552 lt_cv_dlopen_self
=cross
12554 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12555 lt_status
=$lt_dlunknown
12556 cat > conftest.
$ac_ext <<EOF
12557 #line 12557 "configure"
12558 #include "confdefs.h"
12567 # define LT_DLGLOBAL RTLD_GLOBAL
12570 # define LT_DLGLOBAL DL_GLOBAL
12572 # define LT_DLGLOBAL 0
12576 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12577 find out it does not work in some platform. */
12578 #ifndef LT_DLLAZY_OR_NOW
12580 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12583 # define LT_DLLAZY_OR_NOW DL_LAZY
12586 # define LT_DLLAZY_OR_NOW RTLD_NOW
12589 # define LT_DLLAZY_OR_NOW DL_NOW
12591 # define LT_DLLAZY_OR_NOW 0
12599 extern "C" void exit (int);
12602 void fnord() { int i=42;}
12605 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12606 int status = $lt_dlunknown;
12610 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12611 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12612 /* dlclose (self); */
12618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12619 (eval $ac_link) 2>&5
12621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12622 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12623 (.
/conftest
; exit; ) 2>/dev
/null
12625 case x
$lt_status in
12626 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12627 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12628 x
$lt_unknown|x
*) lt_cv_dlopen_self
=no
;;
12631 # compilation failed
12632 lt_cv_dlopen_self
=no
12639 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12640 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
12642 if test "x$lt_cv_dlopen_self" = xyes
; then
12643 LDFLAGS
="$LDFLAGS $link_static_flag"
12644 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12645 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
12646 if test "${lt_cv_dlopen_self_static+set}" = set; then
12647 echo $ECHO_N "(cached) $ECHO_C" >&6
12649 if test "$cross_compiling" = yes; then :
12650 lt_cv_dlopen_self_static
=cross
12652 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12653 lt_status
=$lt_dlunknown
12654 cat > conftest.
$ac_ext <<EOF
12655 #line 12655 "configure"
12656 #include "confdefs.h"
12665 # define LT_DLGLOBAL RTLD_GLOBAL
12668 # define LT_DLGLOBAL DL_GLOBAL
12670 # define LT_DLGLOBAL 0
12674 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12675 find out it does not work in some platform. */
12676 #ifndef LT_DLLAZY_OR_NOW
12678 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12681 # define LT_DLLAZY_OR_NOW DL_LAZY
12684 # define LT_DLLAZY_OR_NOW RTLD_NOW
12687 # define LT_DLLAZY_OR_NOW DL_NOW
12689 # define LT_DLLAZY_OR_NOW 0
12697 extern "C" void exit (int);
12700 void fnord() { int i=42;}
12703 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12704 int status = $lt_dlunknown;
12708 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12709 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12710 /* dlclose (self); */
12716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12717 (eval $ac_link) 2>&5
12719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12720 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12721 (.
/conftest
; exit; ) 2>/dev
/null
12723 case x
$lt_status in
12724 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12725 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12726 x
$lt_unknown|x
*) lt_cv_dlopen_self_static
=no
;;
12729 # compilation failed
12730 lt_cv_dlopen_self_static
=no
12737 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12738 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
12741 CPPFLAGS
="$save_CPPFLAGS"
12742 LDFLAGS
="$save_LDFLAGS"
12747 case $lt_cv_dlopen_self in
12748 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12749 *) enable_dlopen_self
=unknown
;;
12752 case $lt_cv_dlopen_self_static in
12753 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12754 *) enable_dlopen_self_static
=unknown
;;
12759 # The else clause should only fire when bootstrapping the
12760 # libtool distribution, otherwise you forgot to ship ltmain.sh
12761 # with your package, and you will get complaints that there are
12762 # no rules to generate ltmain.sh.
12763 if test -f "$ltmain"; then
12764 # See if we are running on zsh, and set the options which allow our commands through
12765 # without removal of \ escapes.
12766 if test -n "${ZSH_VERSION+set}" ; then
12767 setopt NO_GLOB_SUBST
12769 # Now quote all the things that may contain metacharacters while being
12770 # careful not to overquote the AC_SUBSTed values. We take copies of the
12771 # variables and quote the copies for generation of the libtool script.
12772 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
12774 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12775 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12776 deplibs_check_method reload_flag reload_cmds need_locks \
12777 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12778 lt_cv_sys_global_symbol_to_c_name_address \
12779 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12780 old_postinstall_cmds old_postuninstall_cmds \
12784 lt_prog_compiler_wl_CXX \
12785 lt_prog_compiler_pic_CXX \
12786 lt_prog_compiler_static_CXX \
12787 lt_prog_compiler_no_builtin_flag_CXX \
12788 export_dynamic_flag_spec_CXX \
12789 thread_safe_flag_spec_CXX \
12790 whole_archive_flag_spec_CXX \
12791 enable_shared_with_static_runtimes_CXX \
12792 old_archive_cmds_CXX \
12793 old_archive_from_new_cmds_CXX \
12794 predep_objects_CXX \
12795 postdep_objects_CXX \
12798 compiler_lib_search_path_CXX \
12800 archive_expsym_cmds_CXX \
12801 postinstall_cmds_CXX \
12802 postuninstall_cmds_CXX \
12803 old_archive_from_expsyms_cmds_CXX \
12804 allow_undefined_flag_CXX \
12805 no_undefined_flag_CXX \
12806 export_symbols_cmds_CXX \
12807 hardcode_libdir_flag_spec_CXX \
12808 hardcode_libdir_flag_spec_ld_CXX \
12809 hardcode_libdir_separator_CXX \
12810 hardcode_automatic_CXX \
12812 module_expsym_cmds_CXX \
12813 lt_cv_prog_compiler_c_o_CXX \
12814 exclude_expsyms_CXX \
12815 include_expsyms_CXX
; do
12818 old_archive_cmds_CXX | \
12819 old_archive_from_new_cmds_CXX | \
12820 archive_cmds_CXX | \
12821 archive_expsym_cmds_CXX | \
12822 module_cmds_CXX | \
12823 module_expsym_cmds_CXX | \
12824 old_archive_from_expsyms_cmds_CXX | \
12825 export_symbols_cmds_CXX | \
12826 extract_expsyms_cmds | reload_cmds | finish_cmds | \
12827 postinstall_cmds | postuninstall_cmds | \
12828 old_postinstall_cmds | old_postuninstall_cmds | \
12829 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
12830 # Double-quote double-evaled strings.
12831 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
12834 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
12840 *'\$0 --fallback-echo"')
12841 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12847 cat <<__EOF__ >> "$cfgfile"
12848 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
12850 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12852 # Shell to use when invoking shell scripts.
12855 # Whether or not to build shared libraries.
12856 build_libtool_libs=$enable_shared
12858 # Whether or not to build static libraries.
12859 build_old_libs=$enable_static
12861 # Whether or not to add -lc for building shared libraries.
12862 build_libtool_need_lc=$archive_cmds_need_lc_CXX
12864 # Whether or not to disallow shared libs when runtime libs are static
12865 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
12867 # Whether or not to optimize for fast installation.
12868 fast_install=$enable_fast_install
12871 host_alias=$host_alias
12875 # The build system.
12876 build_alias=$build_alias
12880 # An echo program that does not interpret backslashes.
12885 AR_FLAGS=$lt_AR_FLAGS
12890 # A language-specific compiler.
12891 CC=$lt_compiler_CXX
12893 # Is the compiler the GNU C compiler?
12899 # The linker used to build libraries.
12902 # Whether we need hard or soft links.
12905 # A BSD-compatible nm program.
12908 # A symbol stripping program
12911 # Used to examine libraries when file_magic_cmd begins "file"
12912 MAGIC_CMD=$MAGIC_CMD
12914 # Used on cygwin: DLL creation program.
12917 # Used on cygwin: object dumper.
12920 # Used on cygwin: assembler.
12923 # The name of the directory that contains temporary libtool files.
12926 # How to create reloadable object files.
12927 reload_flag=$lt_reload_flag
12928 reload_cmds=$lt_reload_cmds
12930 # How to pass a linker flag through the compiler.
12931 wl=$lt_lt_prog_compiler_wl_CXX
12933 # Object file suffix (normally "o").
12934 objext="$ac_objext"
12936 # Old archive suffix (normally "a").
12939 # Shared library suffix (normally ".so").
12940 shrext_cmds='$shrext_cmds'
12942 # Executable file suffix (normally "").
12945 # Additional compiler flags for building library objects.
12946 pic_flag=$lt_lt_prog_compiler_pic_CXX
12949 # What is the maximum length of a command?
12950 max_cmd_len=$lt_cv_sys_max_cmd_len
12952 # Does compiler simultaneously support -c and -o options?
12953 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
12955 # Must we lock files when doing compilation ?
12956 need_locks=$lt_need_locks
12958 # Do we need the lib prefix for modules?
12959 need_lib_prefix=$need_lib_prefix
12961 # Do we need a version for libraries?
12962 need_version=$need_version
12964 # Whether dlopen is supported.
12965 dlopen_support=$enable_dlopen
12967 # Whether dlopen of programs is supported.
12968 dlopen_self=$enable_dlopen_self
12970 # Whether dlopen of statically linked programs is supported.
12971 dlopen_self_static=$enable_dlopen_self_static
12973 # Compiler flag to prevent dynamic linking.
12974 link_static_flag=$lt_lt_prog_compiler_static_CXX
12976 # Compiler flag to turn off builtin functions.
12977 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
12979 # Compiler flag to allow reflexive dlopens.
12980 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
12982 # Compiler flag to generate shared objects directly from archives.
12983 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
12985 # Compiler flag to generate thread-safe objects.
12986 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
12988 # Library versioning type.
12989 version_type=$version_type
12991 # Format of library name prefix.
12992 libname_spec=$lt_libname_spec
12994 # List of archive names. First name is the real one, the rest are links.
12995 # The last name is the one that the linker finds with -lNAME.
12996 library_names_spec=$lt_library_names_spec
12998 # The coded name of the library, if different from the real name.
12999 soname_spec=$lt_soname_spec
13001 # Commands used to build and install an old-style archive.
13003 old_archive_cmds=$lt_old_archive_cmds_CXX
13004 old_postinstall_cmds=$lt_old_postinstall_cmds
13005 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13007 # Create an old-style archive from a shared archive.
13008 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13010 # Create a temporary old-style archive to link instead of a shared archive.
13011 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13013 # Commands used to build and install a shared archive.
13014 archive_cmds=$lt_archive_cmds_CXX
13015 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13016 postinstall_cmds=$lt_postinstall_cmds
13017 postuninstall_cmds=$lt_postuninstall_cmds
13019 # Commands used to build a loadable module (assumed same as above if empty)
13020 module_cmds=$lt_module_cmds_CXX
13021 module_expsym_cmds=$lt_module_expsym_cmds_CXX
13023 # Commands to strip libraries.
13024 old_striplib=$lt_old_striplib
13025 striplib=$lt_striplib
13027 # Dependencies to place before the objects being linked to create a
13029 predep_objects=$lt_predep_objects_CXX
13031 # Dependencies to place after the objects being linked to create a
13033 postdep_objects=$lt_postdep_objects_CXX
13035 # Dependencies to place before the objects being linked to create a
13037 predeps=$lt_predeps_CXX
13039 # Dependencies to place after the objects being linked to create a
13041 postdeps=$lt_postdeps_CXX
13043 # The library search path used internally by the compiler when linking
13044 # a shared library.
13045 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13047 # Method to check whether dependent libraries are shared objects.
13048 deplibs_check_method=$lt_deplibs_check_method
13050 # Command to use when deplibs_check_method == file_magic.
13051 file_magic_cmd=$lt_file_magic_cmd
13053 # Flag that allows shared libraries with undefined symbols to be built.
13054 allow_undefined_flag=$lt_allow_undefined_flag_CXX
13056 # Flag that forces no undefined symbols.
13057 no_undefined_flag=$lt_no_undefined_flag_CXX
13059 # Commands used to finish a libtool library installation in a directory.
13060 finish_cmds=$lt_finish_cmds
13062 # Same as above, but a single script fragment to be evaled but not shown.
13063 finish_eval=$lt_finish_eval
13065 # Take the output of nm and produce a listing of raw symbols and C names.
13066 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13068 # Transform the output of nm in a proper C declaration
13069 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13071 # Transform the output of nm in a C name address pair
13072 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13074 # This is the shared library runtime path variable.
13075 runpath_var=$runpath_var
13077 # This is the shared library path variable.
13078 shlibpath_var=$shlibpath_var
13080 # Is shlibpath searched before the hard-coded library search path?
13081 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13083 # How to hardcode a shared library path into an executable.
13084 hardcode_action=$hardcode_action_CXX
13086 # Whether we should hardcode library paths into libraries.
13087 hardcode_into_libs=$hardcode_into_libs
13089 # Flag to hardcode \$libdir into a binary during linking.
13090 # This must work even if \$libdir does not exist.
13091 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
13093 # If ld is used when linking, flag to hardcode \$libdir into
13094 # a binary during linking. This must work even if \$libdir does
13096 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
13098 # Whether we need a single -rpath flag with a separated argument.
13099 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
13101 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13102 # resulting binary.
13103 hardcode_direct=$hardcode_direct_CXX
13105 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13106 # resulting binary.
13107 hardcode_minus_L=$hardcode_minus_L_CXX
13109 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13110 # the resulting binary.
13111 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
13113 # Set to yes if building a shared library automatically hardcodes DIR into the library
13114 # and all subsequent libraries and executables linked against it.
13115 hardcode_automatic=$hardcode_automatic_CXX
13117 # Variables whose values should be saved in libtool wrapper scripts and
13118 # restored at relink time.
13119 variables_saved_for_relink="$variables_saved_for_relink"
13121 # Whether libtool must link a program against all its dependency libraries.
13122 link_all_deplibs=$link_all_deplibs_CXX
13124 # Compile-time system search path for libraries
13125 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13127 # Run-time system search path for libraries
13128 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13130 # Fix the shell variable \$srcfile for the compiler.
13131 fix_srcfile_path="$fix_srcfile_path_CXX"
13133 # Set to yes if exported symbols are required.
13134 always_export_symbols=$always_export_symbols_CXX
13136 # The commands to list exported symbols.
13137 export_symbols_cmds=$lt_export_symbols_cmds_CXX
13139 # The commands to extract the exported symbol list from a shared archive.
13140 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13142 # Symbols that should not be listed in the preloaded symbols.
13143 exclude_expsyms=$lt_exclude_expsyms_CXX
13145 # Symbols that must always be exported.
13146 include_expsyms=$lt_include_expsyms_CXX
13148 # ### END LIBTOOL TAG CONFIG: $tagname
13154 # If there is no Makefile yet, we rely on a make rule to execute
13155 # `config.status --recheck' to rerun these tests and create the
13156 # libtool script then.
13157 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
13158 if test -f "$ltmain_in"; then
13159 test -f Makefile
&& make "$ltmain"
13165 ac_cpp
='$CPP $CPPFLAGS'
13166 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13167 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13168 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13174 with_gnu_ldcxx
=$with_gnu_ld
13175 with_gnu_ld
=$lt_save_with_gnu_ld
13176 lt_cv_path_LDCXX
=$lt_cv_path_LD
13177 lt_cv_path_LD
=$lt_save_path_LD
13178 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
13179 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
13187 if test -n "$F77" && test "X$F77" != "Xno"; then
13190 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
13191 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13192 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
13195 archive_cmds_need_lc_F77
=no
13196 allow_undefined_flag_F77
=
13197 always_export_symbols_F77
=no
13198 archive_expsym_cmds_F77
=
13199 export_dynamic_flag_spec_F77
=
13200 hardcode_direct_F77
=no
13201 hardcode_libdir_flag_spec_F77
=
13202 hardcode_libdir_flag_spec_ld_F77
=
13203 hardcode_libdir_separator_F77
=
13204 hardcode_minus_L_F77
=no
13205 hardcode_automatic_F77
=no
13207 module_expsym_cmds_F77
=
13208 link_all_deplibs_F77
=unknown
13209 old_archive_cmds_F77
=$old_archive_cmds
13210 no_undefined_flag_F77
=
13211 whole_archive_flag_spec_F77
=
13212 enable_shared_with_static_runtimes_F77
=no
13214 # Source file extension for f77 test sources.
13217 # Object file extension for compiled f77 test sources.
13221 # Code to be used in simple compile tests
13222 lt_simple_compile_test_code
=" subroutine t\n return\n end\n"
13224 # Code to be used in simple link tests
13225 lt_simple_link_test_code
=" program t\n end\n"
13227 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13229 # If no C compiler was specified, use CC.
13232 # Allow CC to be a program name with arguments.
13236 # Allow CC to be a program name with arguments.
13241 cc_basename
=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
13243 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13244 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
13245 echo "$as_me:$LINENO: result: $can_build_shared" >&5
13246 echo "${ECHO_T}$can_build_shared" >&6
13248 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13249 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
13250 test "$can_build_shared" = "no" && enable_shared
=no
13252 # On AIX, shared libraries and static libraries use the same namespace, and
13253 # are all built from PIC.
13256 test "$enable_shared" = yes && enable_static
=no
13257 if test -n "$RANLIB"; then
13258 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13259 postinstall_cmds
='$RANLIB $lib'
13263 test "$enable_shared" = yes && enable_static
=no
13266 echo "$as_me:$LINENO: result: $enable_shared" >&5
13267 echo "${ECHO_T}$enable_shared" >&6
13269 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13270 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
13271 # Make sure either enable_shared or enable_static is yes.
13272 test "$enable_shared" = yes || enable_static
=yes
13273 echo "$as_me:$LINENO: result: $enable_static" >&5
13274 echo "${ECHO_T}$enable_static" >&6
13276 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
13281 lt_prog_compiler_wl_F77
=
13282 lt_prog_compiler_pic_F77
=
13283 lt_prog_compiler_static_F77
=
13285 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13286 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
13288 if test "$GCC" = yes; then
13289 lt_prog_compiler_wl_F77
='-Wl,'
13290 lt_prog_compiler_static_F77
='-static'
13294 # All AIX code is PIC.
13295 if test "$host_cpu" = ia64
; then
13296 # AIX 5 now supports IA64 processor
13297 lt_prog_compiler_static_F77
='-Bstatic'
13302 # FIXME: we need at least 68020 code to build shared libraries, but
13303 # adding the `-m68020' flag to GCC prevents building anything better,
13305 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
13308 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13309 # PIC is the default for these OSes.
13312 mingw
* | pw32
* | os2
*)
13313 # This hack is so that the source file can tell whether it is being
13314 # built for inclusion in a dll (and should export symbols for example).
13315 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13318 darwin
* | rhapsody
*)
13319 # PIC is the default on this platform
13320 # Common symbols not allowed in MH_DYLIB files
13321 lt_prog_compiler_pic_F77
='-fno-common'
13325 # Just because we use GCC doesn't mean we suddenly get shared libraries
13326 # on systems that don't support them.
13327 lt_prog_compiler_can_build_shared_F77
=no
13332 if test -d /usr
/nec
; then
13333 lt_prog_compiler_pic_F77
=-Kconform_pic
13338 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13339 # not for PA HP-UX.
13340 case "$host_cpu" in
13345 lt_prog_compiler_pic_F77
='-fPIC'
13351 lt_prog_compiler_pic_F77
='-fPIC'
13355 # PORTME Check for flag to pass linker flags through the system compiler.
13358 lt_prog_compiler_wl_F77
='-Wl,'
13359 if test "$host_cpu" = ia64
; then
13360 # AIX 5 now supports IA64 processor
13361 lt_prog_compiler_static_F77
='-Bstatic'
13363 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
13367 # PIC is the default on this platform
13368 # Common symbols not allowed in MH_DYLIB files
13369 case "$cc_basename" in
13371 lt_prog_compiler_pic_F77
='-qnocommon'
13372 lt_prog_compiler_wl_F77
='-Wl,'
13377 mingw
* | pw32
* | os2
*)
13378 # This hack is so that the source file can tell whether it is being
13379 # built for inclusion in a dll (and should export symbols for example).
13380 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13383 hpux9
* | hpux10
* | hpux11
*)
13384 lt_prog_compiler_wl_F77
='-Wl,'
13385 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13386 # not for PA HP-UX.
13387 case "$host_cpu" in
13392 lt_prog_compiler_pic_F77
='+Z'
13395 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13396 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
13399 irix5
* | irix6
* | nonstopux
*)
13400 lt_prog_compiler_wl_F77
='-Wl,'
13401 # PIC (with -KPIC) is the default.
13402 lt_prog_compiler_static_F77
='-non_shared'
13406 lt_prog_compiler_pic_F77
='-KPIC'
13407 lt_prog_compiler_static_F77
='-Bstatic'
13411 case $cc_basename in
13413 lt_prog_compiler_wl_F77
='-Wl,'
13414 lt_prog_compiler_pic_F77
='-KPIC'
13415 lt_prog_compiler_static_F77
='-static'
13417 pgcc | pgf77 | pgf90
)
13418 # Portland Group compilers (*not* the Pentium gcc compiler,
13419 # which looks to be a dead project)
13420 lt_prog_compiler_wl_F77
='-Wl,'
13421 lt_prog_compiler_pic_F77
='-fpic'
13422 lt_prog_compiler_static_F77
='-static'
13425 lt_prog_compiler_wl_F77
='-Wl,'
13426 # All Alpha code is PIC.
13427 lt_prog_compiler_static_F77
='-non_shared'
13430 lt_prog_compiler_wl_F77
='-lopt='
13435 osf3
* | osf4
* | osf5
*)
13436 lt_prog_compiler_wl_F77
='-Wl,'
13437 # All OSF/1 code is PIC.
13438 lt_prog_compiler_static_F77
='-non_shared'
13442 lt_prog_compiler_pic_F77
='-Kpic'
13443 lt_prog_compiler_static_F77
='-dn'
13447 lt_prog_compiler_wl_F77
='-Wl,'
13448 lt_prog_compiler_pic_F77
='-KPIC'
13449 lt_prog_compiler_static_F77
='-Bstatic'
13453 lt_prog_compiler_wl_F77
='-Qoption ld '
13454 lt_prog_compiler_pic_F77
='-PIC'
13455 lt_prog_compiler_static_F77
='-Bstatic'
13458 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
13459 lt_prog_compiler_wl_F77
='-Wl,'
13460 lt_prog_compiler_pic_F77
='-KPIC'
13461 lt_prog_compiler_static_F77
='-Bstatic'
13465 if test -d /usr
/nec
;then
13466 lt_prog_compiler_pic_F77
='-Kconform_pic'
13467 lt_prog_compiler_static_F77
='-Bstatic'
13472 lt_prog_compiler_wl_F77
='-Wl,'
13473 lt_prog_compiler_can_build_shared_F77
=no
13477 lt_prog_compiler_pic_F77
='-pic'
13478 lt_prog_compiler_static_F77
='-Bstatic'
13482 lt_prog_compiler_can_build_shared_F77
=no
13487 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13488 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
13491 # Check to make sure the PIC flag actually works.
13493 if test -n "$lt_prog_compiler_pic_F77"; then
13495 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13496 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
13497 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13498 echo $ECHO_N "(cached) $ECHO_C" >&6
13500 lt_prog_compiler_pic_works_F77
=no
13501 ac_outfile
=conftest.
$ac_objext
13502 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13503 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
13504 # Insert the option either (1) after the last *FLAGS variable, or
13505 # (2) before a word containing "conftest.", or (3) at the end.
13506 # Note that $ac_compile itself does not contain backslashes and begins
13507 # with a dollar sign (not a hyphen), so the echo should work correctly.
13508 # The option is referenced via a variable to avoid confusing sed.
13509 lt_compile
=`echo "$ac_compile" | $SED \
13510 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13511 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13512 -e 's:$: $lt_compiler_flag:'`
13513 (eval echo "\"\$as_me:13513: $lt_compile\"" >&5)
13514 (eval "$lt_compile" 2>conftest.err
)
13516 cat conftest.err
>&5
13517 echo "$as_me:13517: \$? = $ac_status" >&5
13518 if (exit $ac_status) && test -s "$ac_outfile"; then
13519 # The compiler can only warn and ignore the option if not recognized
13520 # So say no if there are warnings
13521 if test ! -s conftest.err
; then
13522 lt_prog_compiler_pic_works_F77
=yes
13528 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13529 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
13531 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
13532 case $lt_prog_compiler_pic_F77 in
13534 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
13537 lt_prog_compiler_pic_F77
=
13538 lt_prog_compiler_can_build_shared_F77
=no
13543 # For platforms which do not support PIC, -DPIC is meaningless:
13545 lt_prog_compiler_pic_F77
=
13548 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
13552 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13553 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13554 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13555 echo $ECHO_N "(cached) $ECHO_C" >&6
13557 lt_cv_prog_compiler_c_o_F77
=no
13558 $rm -r conftest
2>/dev
/null
13562 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13564 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13565 # Insert the option either (1) after the last *FLAGS variable, or
13566 # (2) before a word containing "conftest.", or (3) at the end.
13567 # Note that $ac_compile itself does not contain backslashes and begins
13568 # with a dollar sign (not a hyphen), so the echo should work correctly.
13569 lt_compile
=`echo "$ac_compile" | $SED \
13570 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13571 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13572 -e 's:$: $lt_compiler_flag:'`
13573 (eval echo "\"\$as_me:13573: $lt_compile\"" >&5)
13574 (eval "$lt_compile" 2>out
/conftest.err
)
13576 cat out
/conftest.err
>&5
13577 echo "$as_me:13577: \$? = $ac_status" >&5
13578 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13580 # The compiler can only warn and ignore the option if not recognized
13581 # So say no if there are warnings
13582 if test ! -s out
/conftest.err
; then
13583 lt_cv_prog_compiler_c_o_F77
=yes
13588 # SGI C++ compiler will create directory out/ii_files/ for
13589 # template instantiation
13590 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
13591 $rm out
/* && rmdir out
13597 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13598 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
13601 hard_links
="nottested"
13602 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
13603 # do not overwrite the value of need_locks provided by the user
13604 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13605 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13608 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13610 ln conftest.a conftest.b
2>&5 || hard_links
=no
13611 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13612 echo "$as_me:$LINENO: result: $hard_links" >&5
13613 echo "${ECHO_T}$hard_links" >&6
13614 if test "$hard_links" = no
; then
13615 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13616 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13623 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13624 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13627 allow_undefined_flag_F77
=
13628 enable_shared_with_static_runtimes_F77
=no
13630 archive_expsym_cmds_F77
=
13631 old_archive_From_new_cmds_F77
=
13632 old_archive_from_expsyms_cmds_F77
=
13633 export_dynamic_flag_spec_F77
=
13634 whole_archive_flag_spec_F77
=
13635 thread_safe_flag_spec_F77
=
13636 hardcode_libdir_flag_spec_F77
=
13637 hardcode_libdir_flag_spec_ld_F77
=
13638 hardcode_libdir_separator_F77
=
13639 hardcode_direct_F77
=no
13640 hardcode_minus_L_F77
=no
13641 hardcode_shlibpath_var_F77
=unsupported
13642 link_all_deplibs_F77
=unknown
13643 hardcode_automatic_F77
=no
13645 module_expsym_cmds_F77
=
13646 always_export_symbols_F77
=no
13647 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13648 # include_expsyms should be a list of space-separated symbols to be *always*
13649 # included in the symbol list
13650 include_expsyms_F77
=
13651 # exclude_expsyms can be an extended regexp of symbols to exclude
13652 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13653 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13654 # as well as any symbol that contains `d'.
13655 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
13656 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13657 # platforms (ab)use it in PIC code, but their linkers get confused if
13658 # the symbol is explicitly referenced. Since portable code cannot
13659 # rely on this symbol name, it's probably fine to never include it in
13660 # preloaded symbol tables.
13661 extract_expsyms_cmds
=
13664 cygwin
* | mingw
* | pw32
*)
13665 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13666 # When not using gcc, we currently assume that we are using
13667 # Microsoft Visual C++.
13668 if test "$GCC" != yes; then
13678 if test "$with_gnu_ld" = yes; then
13679 # If archive_cmds runs LD, not CC, wlarc should be empty
13682 # See if GNU ld supports shared libraries.
13684 aix3
* | aix4
* | aix5
*)
13685 # On AIX/PPC, the GNU linker is very broken
13686 if test "$host_cpu" != ia64
; then
13690 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
13691 *** to be unable to reliably create shared libraries on AIX.
13692 *** Therefore, libtool is disabling shared libraries support. If you
13693 *** really care for shared libraries, you may want to modify your PATH
13694 *** so that a non-GNU linker is found, and then restart.
13701 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)'
13702 hardcode_libdir_flag_spec_F77
='-L$libdir'
13703 hardcode_minus_L_F77
=yes
13705 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
13706 # that the semantics of dynamic libraries on AmigaOS, at least up
13707 # to version 4, is to share data among multiple programs linked
13708 # with the same dynamic library. Since this doesn't match the
13709 # behavior of shared libraries on other platforms, we can't use
13715 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13716 allow_undefined_flag_F77
=unsupported
13717 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13718 # support --undefined. This deserves some investigation. FIXME
13719 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13725 cygwin
* | mingw
* | pw32
*)
13726 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
13727 # as there is no search path for DLLs.
13728 hardcode_libdir_flag_spec_F77
='-L$libdir'
13729 allow_undefined_flag_F77
=unsupported
13730 always_export_symbols_F77
=no
13731 enable_shared_with_static_runtimes_F77
=yes
13732 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13734 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
13735 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13736 # If the export-symbols file already is a .def file (1st line
13737 # is EXPORTS), use it as is; otherwise, prepend...
13738 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13739 cp $export_symbols $output_objdir/$soname.def;
13741 echo EXPORTS > $output_objdir/$soname.def;
13742 cat $export_symbols >> $output_objdir/$soname.def;
13744 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13751 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
13752 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13755 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13756 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13761 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
13765 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13766 *** create shared libraries on Solaris systems. Therefore, libtool
13767 *** is disabling shared libraries support. We urge you to upgrade GNU
13768 *** binutils to release 2.9.1 or newer. Another option is to modify
13769 *** your PATH or compiler configuration so that the native linker is
13770 *** used, and then restart.
13773 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13774 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13775 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13782 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13784 hardcode_direct_F77
=yes
13785 hardcode_shlibpath_var_F77
=no
13789 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13791 case $CC,$host_cpu in
13792 pgf77
* | pgf90
* ) # Portland Group f77 and f90 compilers
13793 tmp_addflag
=' -fpic' ;;
13794 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
13795 tmp_addflag
=' -i_dynamic' ;;
13796 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
13797 tmp_addflag
=' -i_dynamic -nofor_main' ;;
13798 ifc
* | ifort
*) # Intel Fortran compiler
13799 tmp_addflag
=' -nofor_main' ;;
13801 archive_cmds_F77
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13802 supports_anon_versioning
=no
13803 case `$LD -v 2>/dev/null` in
13804 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
13805 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
13806 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
13807 *\
2.11.
*) ;; # other 2.11 versions
13808 *) supports_anon_versioning
=yes ;;
13810 if test $supports_anon_versioning = yes; then
13811 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
13812 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13813 $echo "local: *; };" >> $output_objdir/$libname.ver~
13814 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13816 archive_expsym_cmds_F77
=$archive_cmds_F77
13824 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13825 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13826 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13833 if test "$ld_shlibs_F77" = yes; then
13834 runpath_var
=LD_RUN_PATH
13835 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
13836 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
13837 # ancient GNU ld didn't support --whole-archive et. al.
13838 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
13839 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13841 whole_archive_flag_spec_F77
=
13845 # PORTME fill in a description of your system's linker (not GNU ld)
13848 allow_undefined_flag_F77
=unsupported
13849 always_export_symbols_F77
=yes
13850 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'
13851 # Note: this linker hardcodes the directories in LIBPATH if there
13852 # are no directories specified by -L.
13853 hardcode_minus_L_F77
=yes
13854 if test "$GCC" = yes && test -z "$link_static_flag"; then
13855 # Neither direct hardcoding nor static linking is supported with a
13857 hardcode_direct_F77
=unsupported
13862 if test "$host_cpu" = ia64
; then
13863 # On IA64, the linker does run time linking by default, so we don't
13864 # have to do anything special.
13865 aix_use_runtimelinking
=no
13866 exp_sym_flag
='-Bexport'
13869 # If we're using GNU nm, then we don't want the "-C" option.
13870 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13871 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
13872 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'
13874 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'
13876 aix_use_runtimelinking
=no
13878 # Test if we are trying to use run time linking or normal
13879 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13880 # need to do runtime linking.
13881 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
13882 for ld_flag
in $LDFLAGS; do
13883 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
13884 aix_use_runtimelinking
=yes
13890 exp_sym_flag
='-bexport'
13891 no_entry_flag
='-bnoentry'
13894 # When large executables or shared objects are built, AIX ld can
13895 # have problems creating the table of contents. If linking a library
13896 # or program results in "error TOC overflow" add -mminimal-toc to
13897 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13898 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13900 archive_cmds_F77
=''
13901 hardcode_direct_F77
=yes
13902 hardcode_libdir_separator_F77
=':'
13903 link_all_deplibs_F77
=yes
13905 if test "$GCC" = yes; then
13906 case $host_os in aix4.
[012]|aix4.
[012].
*)
13907 # We only want to do this on AIX 4.2 and lower, the check
13908 # below for broken collect2 doesn't work under 4.3+
13909 collect2name
=`${CC} -print-prog-name=collect2`
13910 if test -f "$collect2name" && \
13911 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
13913 # We have reworked collect2
13914 hardcode_direct_F77
=yes
13916 # We have old collect2
13917 hardcode_direct_F77
=unsupported
13918 # It fails to find uninstalled libraries when the uninstalled
13919 # path is not listed in the libpath. Setting hardcode_minus_L
13920 # to unsupported forces relinking
13921 hardcode_minus_L_F77
=yes
13922 hardcode_libdir_flag_spec_F77
='-L$libdir'
13923 hardcode_libdir_separator_F77
=
13926 shared_flag
='-shared'
13927 if test "$aix_use_runtimelinking" = yes; then
13928 shared_flag
="$shared_flag "'${wl}-G'
13932 if test "$host_cpu" = ia64
; then
13933 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13934 # chokes on -Wl,-G. The following line is correct:
13937 if test "$aix_use_runtimelinking" = yes; then
13938 shared_flag
='${wl}-G'
13940 shared_flag
='${wl}-bM:SRE'
13945 # It seems that -bexpall does not export symbols beginning with
13946 # underscore (_), so it is better to generate a list of symbols to export.
13947 always_export_symbols_F77
=yes
13948 if test "$aix_use_runtimelinking" = yes; then
13949 # Warning - without using the other runtime loading flags (-brtl),
13950 # -berok will link without error, but may produce a broken library.
13951 allow_undefined_flag_F77
='-berok'
13952 # Determine the default libpath from the value encoded in an empty executable.
13953 cat >conftest.
$ac_ext <<_ACEOF
13958 rm -f conftest.
$ac_objext conftest
$ac_exeext
13959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13960 (eval $ac_link) 2>conftest.er1
13962 grep -v '^ *+' conftest.er1
>conftest.err
13964 cat conftest.err
>&5
13965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13966 (exit $ac_status); } &&
13967 { ac_try
='test -z "$ac_f77_werror_flag"
13968 || test ! -s conftest.err'
13969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13970 (eval $ac_try) 2>&5
13972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13973 (exit $ac_status); }; } &&
13974 { ac_try
='test -s conftest$ac_exeext'
13975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13976 (eval $ac_try) 2>&5
13978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13979 (exit $ac_status); }; }; then
13981 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13983 # Check for a 64-bit object if we didn't find anything.
13984 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13987 echo "$as_me: failed program was:" >&5
13988 sed 's/^/| /' conftest.
$ac_ext >&5
13991 rm -f conftest.err conftest.
$ac_objext \
13992 conftest
$ac_exeext conftest.
$ac_ext
13993 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13995 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
13996 archive_expsym_cmds_F77
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
13998 if test "$host_cpu" = ia64; then
13999 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr
/lib
:/lib
'
14000 allow_undefined_flag_F77="-z nodefs"
14001 archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\
$export_symbols"
14003 # Determine the default libpath from the value encoded in an empty executable.
14004 cat >conftest.$ac_ext <<_ACEOF
14009 rm -f conftest.$ac_objext conftest$ac_exeext
14010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14011 (eval $ac_link) 2>conftest.er1
14013 grep -v '^ *+' conftest.er1 >conftest.err
14015 cat conftest.err >&5
14016 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14017 (exit $ac_status); } &&
14018 { ac_try='test -z "$ac_f77_werror_flag"
14019 || test ! -s conftest.err'
14020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14021 (eval $ac_try) 2>&5
14023 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14024 (exit $ac_status); }; } &&
14025 { ac_try='test -s conftest$ac_exeext'
14026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14027 (eval $ac_try) 2>&5
14029 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14030 (exit $ac_status); }; }; then
14032 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14034 # Check for a 64-bit object if we didn't find anything.
14035 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; }
14038 echo "$as_me: failed program was
:" >&5
14039 sed 's/^/| /' conftest.$ac_ext >&5
14042 rm -f conftest.err conftest.$ac_objext \
14043 conftest$ac_exeext conftest.$ac_ext
14044 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
14046 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14047 # Warning - without using the other run time loading flags,
14048 # -berok will link without error, but may produce a broken library.
14049 no_undefined_flag_F77=' ${wl}-bernotok'
14050 allow_undefined_flag_F77=' ${wl}-berok'
14051 # -bexpall does not export symbols beginning with underscore (_)
14052 always_export_symbols_F77=yes
14053 # Exported symbols can be pulled into shared objects from archives
14054 whole_archive_flag_spec_F77=' '
14055 archive_cmds_need_lc_F77=yes
14056 # This is similar to how AIX traditionally builds it's shared libraries.
14057 archive_expsym_cmds_F77="\
$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
14063 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)'
14064 hardcode_libdir_flag_spec_F77
='-L$libdir'
14065 hardcode_minus_L_F77
=yes
14066 # see comment about different semantics on the GNU ld section
14071 export_dynamic_flag_spec_F77
=-rdynamic
14074 cygwin
* | mingw
* | pw32
*)
14075 # When not using gcc, we currently assume that we are using
14076 # Microsoft Visual C++.
14077 # hardcode_libdir_flag_spec is actually meaningless, as there is
14078 # no search path for DLLs.
14079 hardcode_libdir_flag_spec_F77
=' '
14080 allow_undefined_flag_F77
=unsupported
14081 # Tell ltmain to make .lib files, not .a files.
14083 # Tell ltmain to make .dll files, not .so files.
14085 # FIXME: Setting linknames here is a bad hack.
14086 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
14087 # The linker will automatically build a .lib file if we build a DLL.
14088 old_archive_From_new_cmds_F77
='true'
14089 # FIXME: Should let the user specify the lib program.
14090 old_archive_cmds_F77
='lib /OUT:$oldlib$oldobjs$old_deplibs'
14091 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
14092 enable_shared_with_static_runtimes_F77
=yes
14095 darwin
* | rhapsody
*)
14097 rhapsody
* | darwin1.
[012])
14098 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
14101 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14102 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14104 case ${MACOSX_DEPLOYMENT_TARGET} in
14106 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14109 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
14115 archive_cmds_need_lc_F77
=no
14116 hardcode_direct_F77
=no
14117 hardcode_automatic_F77
=yes
14118 hardcode_shlibpath_var_F77
=unsupported
14119 whole_archive_flag_spec_F77
=''
14120 link_all_deplibs_F77
=yes
14121 if test "$GCC" = yes ; then
14122 output_verbose_link_cmd
='echo'
14123 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14124 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14125 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
14126 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}'
14127 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}'
14129 case "$cc_basename" in
14131 output_verbose_link_cmd
='echo'
14132 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
14133 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14134 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
14135 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}'
14136 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}'
14146 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14147 hardcode_libdir_flag_spec_F77
='-L$libdir'
14148 hardcode_shlibpath_var_F77
=no
14155 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14156 # support. Future versions do this automatically, but an explicit c++rt0.o
14157 # does not break anything, and helps significantly (at the cost of a little
14160 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14161 hardcode_libdir_flag_spec_F77
='-R$libdir'
14162 hardcode_direct_F77
=yes
14163 hardcode_shlibpath_var_F77
=no
14166 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14168 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14169 hardcode_direct_F77
=yes
14170 hardcode_minus_L_F77
=yes
14171 hardcode_shlibpath_var_F77
=no
14174 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14175 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
14176 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14177 hardcode_libdir_flag_spec_F77
='-R$libdir'
14178 hardcode_direct_F77
=yes
14179 hardcode_shlibpath_var_F77
=no
14183 if test "$GCC" = yes; then
14184 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'
14186 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'
14188 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14189 hardcode_libdir_separator_F77
=:
14190 hardcode_direct_F77
=yes
14192 # hardcode_minus_L: Not really in the search PATH,
14193 # but as the default location of the library.
14194 hardcode_minus_L_F77
=yes
14195 export_dynamic_flag_spec_F77
='${wl}-E'
14199 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14200 case "$host_cpu" in
14202 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14205 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14209 case "$host_cpu" in
14211 archive_cmds_F77
='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
14214 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14218 if test "$with_gnu_ld" = no
; then
14219 case "$host_cpu" in
14221 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14222 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
14223 hardcode_libdir_separator_F77
=:
14224 hardcode_direct_F77
=no
14225 hardcode_shlibpath_var_F77
=no
14228 hardcode_libdir_flag_spec_F77
='-L$libdir'
14229 hardcode_direct_F77
=no
14230 hardcode_shlibpath_var_F77
=no
14232 # hardcode_minus_L: Not really in the search PATH,
14233 # but as the default location of the library.
14234 hardcode_minus_L_F77
=yes
14237 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14238 hardcode_libdir_separator_F77
=:
14239 hardcode_direct_F77
=yes
14240 export_dynamic_flag_spec_F77
='${wl}-E'
14242 # hardcode_minus_L: Not really in the search PATH,
14243 # but as the default location of the library.
14244 hardcode_minus_L_F77
=yes
14250 irix5
* | irix6
* | nonstopux
*)
14251 if test "$GCC" = yes; then
14252 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'
14254 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'
14255 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
14257 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14258 hardcode_libdir_separator_F77
=:
14259 link_all_deplibs_F77
=yes
14263 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14264 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14266 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14268 hardcode_libdir_flag_spec_F77
='-R$libdir'
14269 hardcode_direct_F77
=yes
14270 hardcode_shlibpath_var_F77
=no
14274 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14275 hardcode_direct_F77
=yes
14276 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14277 hardcode_libdir_separator_F77
=:
14278 hardcode_shlibpath_var_F77
=no
14282 hardcode_direct_F77
=yes
14283 hardcode_shlibpath_var_F77
=no
14284 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14285 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14286 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14287 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14288 export_dynamic_flag_spec_F77
='${wl}-E'
14291 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
14292 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14293 hardcode_libdir_flag_spec_F77
='-R$libdir'
14296 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14297 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14304 hardcode_libdir_flag_spec_F77
='-L$libdir'
14305 hardcode_minus_L_F77
=yes
14306 allow_undefined_flag_F77
=unsupported
14307 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'
14308 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14312 if test "$GCC" = yes; then
14313 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14314 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'
14316 allow_undefined_flag_F77
=' -expect_unresolved \*'
14317 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'
14319 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14320 hardcode_libdir_separator_F77
=:
14323 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
14324 if test "$GCC" = yes; then
14325 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14326 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'
14327 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14329 allow_undefined_flag_F77
=' -expect_unresolved \*'
14330 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'
14331 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~
14332 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
14334 # Both c and cxx compiler support -rpath directly
14335 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
14337 hardcode_libdir_separator_F77
=:
14341 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14342 hardcode_shlibpath_var_F77
=no
14343 export_dynamic_flag_spec_F77
='${wl}-Bexport'
14344 runpath_var
=LD_RUN_PATH
14345 hardcode_runpath_var
=yes
14349 no_undefined_flag_F77
=' -z text'
14350 if test "$GCC" = yes; then
14351 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14352 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14353 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
14355 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14356 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14357 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14359 hardcode_libdir_flag_spec_F77
='-R$libdir'
14360 hardcode_shlibpath_var_F77
=no
14362 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14363 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
14364 whole_archive_flag_spec_F77
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' ;;
14366 link_all_deplibs_F77
=yes
14370 if test "x$host_vendor" = xsequent
; then
14371 # Use $CC to link under sequent, because it throws in some extra .o
14372 # files that make .init and .fini sections work.
14373 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14375 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14377 hardcode_libdir_flag_spec_F77
='-L$libdir'
14378 hardcode_direct_F77
=yes
14379 hardcode_minus_L_F77
=yes
14380 hardcode_shlibpath_var_F77
=no
14384 case $host_vendor in
14386 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14387 hardcode_direct_F77
=yes # is this really true???
14390 ## LD is ld it makes a PLAMLIB
14391 ## CC just makes a GrossModule.
14392 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14393 reload_cmds_F77
='$CC -r -o $output$reload_objs'
14394 hardcode_direct_F77
=no
14397 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14398 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
14401 runpath_var
='LD_RUN_PATH'
14402 hardcode_shlibpath_var_F77
=no
14406 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14407 hardcode_shlibpath_var_F77
=no
14408 export_dynamic_flag_spec_F77
='-Bexport'
14412 if test -d /usr
/nec
; then
14413 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14414 hardcode_shlibpath_var_F77
=no
14415 runpath_var
=LD_RUN_PATH
14416 hardcode_runpath_var
=yes
14422 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14423 hardcode_direct_F77
=yes
14424 hardcode_minus_L_F77
=no
14425 hardcode_shlibpath_var_F77
=no
14426 hardcode_runpath_var
=yes
14427 runpath_var
=LD_RUN_PATH
14430 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
14431 no_undefined_flag_F77
='${wl}-z ${wl}text'
14432 if test "$GCC" = yes; then
14433 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14435 archive_cmds_F77
='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14437 runpath_var
='LD_RUN_PATH'
14438 hardcode_shlibpath_var_F77
=no
14442 no_undefined_flag_F77
=' -z text'
14443 # $CC -shared without GNU ld will not create a library from C++
14444 # object files and a static libstdc++, better avoid it by now
14445 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14446 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14447 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14448 hardcode_libdir_flag_spec_F77
=
14449 hardcode_shlibpath_var_F77
=no
14450 runpath_var
='LD_RUN_PATH'
14454 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14455 hardcode_libdir_flag_spec_F77
='-L$libdir'
14456 hardcode_shlibpath_var_F77
=no
14465 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
14466 echo "${ECHO_T}$ld_shlibs_F77" >&6
14467 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
14469 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14470 if test "$GCC" = yes; then
14471 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14475 # Do we need to explicitly link libc?
14477 case "x$archive_cmds_need_lc_F77" in
14479 # Assume -lc should be added
14480 archive_cmds_need_lc_F77
=yes
14482 if test "$enable_shared" = yes && test "$GCC" = yes; then
14483 case $archive_cmds_F77 in
14485 # FIXME: we may have to deal with multi-command sequences.
14488 # Test whether the compiler implicitly links with -lc since on some
14489 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14490 # to ld, don't add -lc before -lgcc.
14491 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14492 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
14494 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14497 (eval $ac_compile) 2>&5
14499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14500 (exit $ac_status); } 2>conftest.err
; then
14503 libobjs
=conftest.
$ac_objext
14505 wl
=$lt_prog_compiler_wl_F77
14511 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
14512 allow_undefined_flag_F77
=
14513 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
14514 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14517 (exit $ac_status); }
14519 archive_cmds_need_lc_F77
=no
14521 archive_cmds_need_lc_F77
=yes
14523 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
14525 cat conftest.err
1>&5
14528 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
14529 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
14536 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14537 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14538 library_names_spec
=
14539 libname_spec
='lib$name'
14543 postuninstall_cmds
=
14547 shlibpath_overrides_runpath
=unknown
14549 dynamic_linker
="$host_os ld.so"
14550 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14551 if test "$GCC" = yes; then
14552 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14553 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
14554 # if the path contains ";" then we assume it to be the separator
14555 # otherwise default to the standard path separator (i.e. ":") - it is
14556 # assumed that no part of a normal pathname contains ";" but that should
14557 # okay in the real world where ";" in dirpaths is itself problematic.
14558 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14560 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14563 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
14565 need_lib_prefix
=unknown
14566 hardcode_into_libs
=no
14568 # when you set need_version to no, make sure it does not cause -set_version
14569 # flags to be left without arguments
14570 need_version
=unknown
14575 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14576 shlibpath_var
=LIBPATH
14578 # AIX 3 has no versioning support, so we append a major version to the name.
14579 soname_spec
='${libname}${release}${shared_ext}$major'
14586 hardcode_into_libs
=yes
14587 if test "$host_cpu" = ia64
; then
14588 # AIX 5 supports IA64
14589 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14590 shlibpath_var
=LD_LIBRARY_PATH
14592 # With GCC up to 2.95.x, collect2 would create an import file
14593 # for dependence libraries. The import file would start with
14594 # the line `#! .'. This would cause the generated library to
14595 # depend on `.', always an invalid library. This was fixed in
14596 # development snapshots of GCC prior to 3.0.
14598 aix4 | aix4.
[01] | aix4.
[01].
*)
14599 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14601 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
14604 can_build_shared
=no
14608 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14609 # soname into executable. Probably we can add versioning support to
14610 # collect2, so additional links can be useful in future.
14611 if test "$aix_use_runtimelinking" = yes; then
14612 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14613 # instead of lib<name>.a to let people know that these are not
14614 # typical AIX shared libraries.
14615 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14617 # We preserve .a as extension for shared libraries through AIX4.2
14618 # and later when we are not doing run time linking.
14619 library_names_spec
='${libname}${release}.a $libname.a'
14620 soname_spec
='${libname}${release}${shared_ext}$major'
14622 shlibpath_var
=LIBPATH
14627 library_names_spec
='$libname.ixlibrary $libname.a'
14628 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14629 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'
14633 library_names_spec
='${libname}${shared_ext}'
14634 dynamic_linker
="$host_os ld.so"
14635 shlibpath_var
=LIBRARY_PATH
14641 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14642 soname_spec
='${libname}${release}${shared_ext}$major'
14643 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14644 shlibpath_var
=LD_LIBRARY_PATH
14645 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14646 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14647 # the default ld.so.conf also contains /usr/contrib/lib and
14648 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14649 # libtool to hard-code these into programs
14652 cygwin
* | mingw
* | pw32
*)
14653 version_type
=windows
14658 case $GCC,$host_os in
14659 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
14660 library_names_spec
='$libname.dll.a'
14661 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14662 postinstall_cmds
='base_file=`basename \${file}`~
14663 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14664 dldir=$destdir/`dirname \$dlpath`~
14665 test -d \$dldir || mkdir -p \$dldir~
14666 $install_prog $dir/$dlname \$dldir/$dlname'
14667 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14668 dlpath=$dir/\$dldll~
14670 shlibpath_overrides_runpath
=yes
14674 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14675 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14676 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
14679 # MinGW DLLs use traditional 'lib' prefix
14680 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14681 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14682 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
14683 # It is most probably a Windows format PATH printed by
14684 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14685 # path with ; separators, and with drive letters. We can handle the
14686 # drive letters (cygwin fileutils understands them), so leave them,
14687 # especially as we might pass files found there to a mingw objdump,
14688 # which wouldn't understand a cygwinified path. Ahh.
14689 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14691 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14695 # pw32 DLLs use 'pw' prefix rather than 'lib'
14696 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14702 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14705 dynamic_linker
='Win32 ld.exe'
14706 # FIXME: first we should search . and the directory the executable is in
14710 darwin
* | rhapsody
*)
14711 dynamic_linker
="$host_os dyld"
14712 version_type
=darwin
14715 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14716 soname_spec
='${libname}${release}${major}$shared_ext'
14717 shlibpath_overrides_runpath
=yes
14718 shlibpath_var
=DYLD_LIBRARY_PATH
14719 shrext_cmds
='$(test .$module = .yes && echo .so || echo .dylib)'
14720 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14721 if test "$GCC" = yes; then
14722 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"`
14724 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
14726 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14733 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14734 soname_spec
='${libname}${release}${shared_ext}$major'
14735 shlibpath_var
=LD_LIBRARY_PATH
14746 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14747 soname_spec
='${libname}${release}${shared_ext}$major'
14748 shlibpath_var
=LD_LIBRARY_PATH
14749 shlibpath_overrides_runpath
=no
14750 hardcode_into_libs
=yes
14751 dynamic_linker
='GNU ld.so'
14754 freebsd
* | dragonfly
*)
14755 # DragonFly does not have aout. When/if they implement a new
14756 # versioning mechanism, adjust this.
14757 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
14758 version_type
=freebsd-
$objformat
14759 case $version_type in
14761 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14766 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14770 shlibpath_var
=LD_LIBRARY_PATH
14773 shlibpath_overrides_runpath
=yes
14775 freebsd3.
[01]* | freebsdelf3.
[01]*)
14776 shlibpath_overrides_runpath
=yes
14777 hardcode_into_libs
=yes
14780 shlibpath_overrides_runpath
=no
14781 hardcode_into_libs
=yes
14790 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14791 soname_spec
='${libname}${release}${shared_ext}$major'
14792 shlibpath_var
=LD_LIBRARY_PATH
14793 hardcode_into_libs
=yes
14796 hpux9
* | hpux10
* | hpux11
*)
14797 # Give a soname corresponding to the major version so that dld.sl refuses to
14798 # link against other versions.
14802 case "$host_cpu" in
14805 hardcode_into_libs
=yes
14806 dynamic_linker
="$host_os dld.so"
14807 shlibpath_var
=LD_LIBRARY_PATH
14808 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14809 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14810 soname_spec
='${libname}${release}${shared_ext}$major'
14811 if test "X$HPUX_IA64_MODE" = X32
; then
14812 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14814 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14816 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14820 hardcode_into_libs
=yes
14821 dynamic_linker
="$host_os dld.sl"
14822 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14823 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14824 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14825 soname_spec
='${libname}${release}${shared_ext}$major'
14826 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14827 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14831 dynamic_linker
="$host_os dld.sl"
14832 shlibpath_var
=SHLIB_PATH
14833 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14834 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14835 soname_spec
='${libname}${release}${shared_ext}$major'
14838 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14839 postinstall_cmds
='chmod 555 $lib'
14842 irix5
* | irix6
* | nonstopux
*)
14844 nonstopux
*) version_type
=nonstopux
;;
14846 if test "$lt_cv_prog_gnu_ld" = yes; then
14854 soname_spec
='${libname}${release}${shared_ext}$major'
14855 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14857 irix5
* | nonstopux
*)
14858 libsuff
= shlibsuff
=
14861 case $LD in # libtool.m4 will add one of these switches to LD
14862 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14863 libsuff
= shlibsuff
= libmagic
=32-bit;;
14864 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14865 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14866 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14867 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14868 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14872 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14873 shlibpath_overrides_runpath
=no
14874 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14875 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14876 hardcode_into_libs
=yes
14879 # No shared lib support for Linux oldld, aout, or coff.
14880 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14884 # This must be Linux ELF.
14889 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14890 soname_spec
='${libname}${release}${shared_ext}$major'
14891 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14892 shlibpath_var
=LD_LIBRARY_PATH
14893 shlibpath_overrides_runpath
=no
14894 # This implies no fast_install, which is unacceptable.
14895 # Some rework will be needed to allow for fast_install
14896 # before this can be enabled.
14897 hardcode_into_libs
=yes
14899 # Append ld.so.conf contents to the search path
14900 if test -f /etc
/ld.so.conf
; then
14901 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/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
14902 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
14905 # We used to test for /lib/ld.so.1 and disable shared libraries on
14906 # powerpc, because MkLinux only supported shared libraries with the
14907 # GNU dynamic linker. Since this was broken with cross compilers,
14908 # most powerpc-linux boxes support dynamic linking these days and
14909 # people can always --disable-shared, the test was removed, and we
14910 # assume the GNU/Linux dynamic linker is in use.
14911 dynamic_linker
='GNU/Linux ld.so'
14918 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14919 soname_spec
='${libname}${release}${shared_ext}$major'
14920 shlibpath_var
=LD_LIBRARY_PATH
14921 shlibpath_overrides_runpath
=no
14922 hardcode_into_libs
=yes
14923 dynamic_linker
='GNU ld.so'
14930 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14931 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14932 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14933 dynamic_linker
='NetBSD (a.out) ld.so'
14935 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14936 soname_spec
='${libname}${release}${shared_ext}$major'
14937 dynamic_linker
='NetBSD ld.elf_so'
14939 shlibpath_var
=LD_LIBRARY_PATH
14940 shlibpath_overrides_runpath
=yes
14941 hardcode_into_libs
=yes
14946 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14947 shlibpath_var
=LD_LIBRARY_PATH
14948 shlibpath_overrides_runpath
=yes
14955 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14956 soname_spec
='${libname}${release}${shared_ext}$major'
14957 shlibpath_var
=LD_LIBRARY_PATH
14958 shlibpath_overrides_runpath
=yes
14965 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14966 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14967 shlibpath_var
=LD_LIBRARY_PATH
14968 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14970 openbsd2.
[89] | openbsd2.
[89].
*)
14971 shlibpath_overrides_runpath
=no
14974 shlibpath_overrides_runpath
=yes
14978 shlibpath_overrides_runpath
=yes
14983 libname_spec
='$name'
14986 library_names_spec
='$libname${shared_ext} $libname.a'
14987 dynamic_linker
='OS/2 ld.exe'
14988 shlibpath_var
=LIBPATH
14991 osf3
* | osf4
* | osf5
*)
14995 soname_spec
='${libname}${release}${shared_ext}$major'
14996 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14997 shlibpath_var
=LD_LIBRARY_PATH
14998 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14999 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15004 soname_spec
='${libname}${release}${shared_ext}$major'
15005 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15006 shlibpath_var
=LD_LIBRARY_PATH
15013 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15014 soname_spec
='${libname}${release}${shared_ext}$major'
15015 shlibpath_var
=LD_LIBRARY_PATH
15016 shlibpath_overrides_runpath
=yes
15017 hardcode_into_libs
=yes
15018 # ldd complains unless libraries are executable
15019 postinstall_cmds
='chmod +x $lib'
15024 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15025 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15026 shlibpath_var
=LD_LIBRARY_PATH
15027 shlibpath_overrides_runpath
=yes
15028 if test "$with_gnu_ld" = yes; then
15034 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
15036 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15037 soname_spec
='${libname}${release}${shared_ext}$major'
15038 shlibpath_var
=LD_LIBRARY_PATH
15039 case $host_vendor in
15041 shlibpath_overrides_runpath
=no
15043 export_dynamic_flag_spec
='${wl}-Blargedynsym'
15044 runpath_var
=LD_RUN_PATH
15052 shlibpath_overrides_runpath
=no
15053 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15059 if test -d /usr
/nec
;then
15061 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15062 soname_spec
='$libname${shared_ext}.$major'
15063 shlibpath_var
=LD_LIBRARY_PATH
15069 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15070 soname_spec
='${libname}${release}${shared_ext}$major'
15071 shlibpath_var
=LD_LIBRARY_PATH
15078 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15079 echo "${ECHO_T}$dynamic_linker" >&6
15080 test "$dynamic_linker" = no
&& can_build_shared
=no
15082 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15083 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
15084 hardcode_action_F77
=
15085 if test -n "$hardcode_libdir_flag_spec_F77" || \
15086 test -n "$runpath_var_F77" || \
15087 test "X$hardcode_automatic_F77" = "Xyes" ; then
15089 # We can hardcode non-existant directories.
15090 if test "$hardcode_direct_F77" != no
&&
15091 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15092 # have to relink, otherwise we might link with an installed library
15093 # when we should be linking with a yet-to-be-installed one
15094 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
15095 test "$hardcode_minus_L_F77" != no
; then
15096 # Linking always hardcodes the temporary library directory.
15097 hardcode_action_F77
=relink
15099 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15100 hardcode_action_F77
=immediate
15103 # We cannot hardcode anything, or else we can only hardcode existing
15105 hardcode_action_F77
=unsupported
15107 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15108 echo "${ECHO_T}$hardcode_action_F77" >&6
15110 if test "$hardcode_action_F77" = relink
; then
15111 # Fast installation is not supported
15112 enable_fast_install
=no
15113 elif test "$shlibpath_overrides_runpath" = yes ||
15114 test "$enable_shared" = no
; then
15115 # Fast installation is not necessary
15116 enable_fast_install
=needless
15121 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
15122 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
15123 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
15124 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
15125 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
15126 echo "$as_me:$LINENO: result: yes" >&5
15127 echo "${ECHO_T}yes" >&6
15129 # FIXME - insert some real tests, host_os isn't really good enough
15132 if test -n "$STRIP" ; then
15133 striplib
="$STRIP -x"
15134 echo "$as_me:$LINENO: result: yes" >&5
15135 echo "${ECHO_T}yes" >&6
15137 echo "$as_me:$LINENO: result: no" >&5
15138 echo "${ECHO_T}no" >&6
15142 echo "$as_me:$LINENO: result: no" >&5
15143 echo "${ECHO_T}no" >&6
15150 # The else clause should only fire when bootstrapping the
15151 # libtool distribution, otherwise you forgot to ship ltmain.sh
15152 # with your package, and you will get complaints that there are
15153 # no rules to generate ltmain.sh.
15154 if test -f "$ltmain"; then
15155 # See if we are running on zsh, and set the options which allow our commands through
15156 # without removal of \ escapes.
15157 if test -n "${ZSH_VERSION+set}" ; then
15158 setopt NO_GLOB_SUBST
15160 # Now quote all the things that may contain metacharacters while being
15161 # careful not to overquote the AC_SUBSTed values. We take copies of the
15162 # variables and quote the copies for generation of the libtool script.
15163 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
15165 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15166 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15167 deplibs_check_method reload_flag reload_cmds need_locks \
15168 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15169 lt_cv_sys_global_symbol_to_c_name_address \
15170 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15171 old_postinstall_cmds old_postuninstall_cmds \
15175 lt_prog_compiler_wl_F77 \
15176 lt_prog_compiler_pic_F77 \
15177 lt_prog_compiler_static_F77 \
15178 lt_prog_compiler_no_builtin_flag_F77 \
15179 export_dynamic_flag_spec_F77 \
15180 thread_safe_flag_spec_F77 \
15181 whole_archive_flag_spec_F77 \
15182 enable_shared_with_static_runtimes_F77 \
15183 old_archive_cmds_F77 \
15184 old_archive_from_new_cmds_F77 \
15185 predep_objects_F77 \
15186 postdep_objects_F77 \
15189 compiler_lib_search_path_F77 \
15191 archive_expsym_cmds_F77 \
15192 postinstall_cmds_F77 \
15193 postuninstall_cmds_F77 \
15194 old_archive_from_expsyms_cmds_F77 \
15195 allow_undefined_flag_F77 \
15196 no_undefined_flag_F77 \
15197 export_symbols_cmds_F77 \
15198 hardcode_libdir_flag_spec_F77 \
15199 hardcode_libdir_flag_spec_ld_F77 \
15200 hardcode_libdir_separator_F77 \
15201 hardcode_automatic_F77 \
15203 module_expsym_cmds_F77 \
15204 lt_cv_prog_compiler_c_o_F77 \
15205 exclude_expsyms_F77 \
15206 include_expsyms_F77
; do
15209 old_archive_cmds_F77 | \
15210 old_archive_from_new_cmds_F77 | \
15211 archive_cmds_F77 | \
15212 archive_expsym_cmds_F77 | \
15213 module_cmds_F77 | \
15214 module_expsym_cmds_F77 | \
15215 old_archive_from_expsyms_cmds_F77 | \
15216 export_symbols_cmds_F77 | \
15217 extract_expsyms_cmds | reload_cmds | finish_cmds | \
15218 postinstall_cmds | postuninstall_cmds | \
15219 old_postinstall_cmds | old_postuninstall_cmds | \
15220 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
15221 # Double-quote double-evaled strings.
15222 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15225 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15231 *'\$0 --fallback-echo"')
15232 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15238 cat <<__EOF__ >> "$cfgfile"
15239 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
15241 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15243 # Shell to use when invoking shell scripts.
15246 # Whether or not to build shared libraries.
15247 build_libtool_libs=$enable_shared
15249 # Whether or not to build static libraries.
15250 build_old_libs=$enable_static
15252 # Whether or not to add -lc for building shared libraries.
15253 build_libtool_need_lc=$archive_cmds_need_lc_F77
15255 # Whether or not to disallow shared libs when runtime libs are static
15256 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
15258 # Whether or not to optimize for fast installation.
15259 fast_install=$enable_fast_install
15262 host_alias=$host_alias
15266 # The build system.
15267 build_alias=$build_alias
15271 # An echo program that does not interpret backslashes.
15276 AR_FLAGS=$lt_AR_FLAGS
15281 # A language-specific compiler.
15282 CC=$lt_compiler_F77
15284 # Is the compiler the GNU C compiler?
15290 # The linker used to build libraries.
15293 # Whether we need hard or soft links.
15296 # A BSD-compatible nm program.
15299 # A symbol stripping program
15302 # Used to examine libraries when file_magic_cmd begins "file"
15303 MAGIC_CMD=$MAGIC_CMD
15305 # Used on cygwin: DLL creation program.
15308 # Used on cygwin: object dumper.
15311 # Used on cygwin: assembler.
15314 # The name of the directory that contains temporary libtool files.
15317 # How to create reloadable object files.
15318 reload_flag=$lt_reload_flag
15319 reload_cmds=$lt_reload_cmds
15321 # How to pass a linker flag through the compiler.
15322 wl=$lt_lt_prog_compiler_wl_F77
15324 # Object file suffix (normally "o").
15325 objext="$ac_objext"
15327 # Old archive suffix (normally "a").
15330 # Shared library suffix (normally ".so").
15331 shrext_cmds='$shrext_cmds'
15333 # Executable file suffix (normally "").
15336 # Additional compiler flags for building library objects.
15337 pic_flag=$lt_lt_prog_compiler_pic_F77
15340 # What is the maximum length of a command?
15341 max_cmd_len=$lt_cv_sys_max_cmd_len
15343 # Does compiler simultaneously support -c and -o options?
15344 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
15346 # Must we lock files when doing compilation ?
15347 need_locks=$lt_need_locks
15349 # Do we need the lib prefix for modules?
15350 need_lib_prefix=$need_lib_prefix
15352 # Do we need a version for libraries?
15353 need_version=$need_version
15355 # Whether dlopen is supported.
15356 dlopen_support=$enable_dlopen
15358 # Whether dlopen of programs is supported.
15359 dlopen_self=$enable_dlopen_self
15361 # Whether dlopen of statically linked programs is supported.
15362 dlopen_self_static=$enable_dlopen_self_static
15364 # Compiler flag to prevent dynamic linking.
15365 link_static_flag=$lt_lt_prog_compiler_static_F77
15367 # Compiler flag to turn off builtin functions.
15368 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
15370 # Compiler flag to allow reflexive dlopens.
15371 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
15373 # Compiler flag to generate shared objects directly from archives.
15374 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
15376 # Compiler flag to generate thread-safe objects.
15377 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
15379 # Library versioning type.
15380 version_type=$version_type
15382 # Format of library name prefix.
15383 libname_spec=$lt_libname_spec
15385 # List of archive names. First name is the real one, the rest are links.
15386 # The last name is the one that the linker finds with -lNAME.
15387 library_names_spec=$lt_library_names_spec
15389 # The coded name of the library, if different from the real name.
15390 soname_spec=$lt_soname_spec
15392 # Commands used to build and install an old-style archive.
15394 old_archive_cmds=$lt_old_archive_cmds_F77
15395 old_postinstall_cmds=$lt_old_postinstall_cmds
15396 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15398 # Create an old-style archive from a shared archive.
15399 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
15401 # Create a temporary old-style archive to link instead of a shared archive.
15402 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
15404 # Commands used to build and install a shared archive.
15405 archive_cmds=$lt_archive_cmds_F77
15406 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
15407 postinstall_cmds=$lt_postinstall_cmds
15408 postuninstall_cmds=$lt_postuninstall_cmds
15410 # Commands used to build a loadable module (assumed same as above if empty)
15411 module_cmds=$lt_module_cmds_F77
15412 module_expsym_cmds=$lt_module_expsym_cmds_F77
15414 # Commands to strip libraries.
15415 old_striplib=$lt_old_striplib
15416 striplib=$lt_striplib
15418 # Dependencies to place before the objects being linked to create a
15420 predep_objects=$lt_predep_objects_F77
15422 # Dependencies to place after the objects being linked to create a
15424 postdep_objects=$lt_postdep_objects_F77
15426 # Dependencies to place before the objects being linked to create a
15428 predeps=$lt_predeps_F77
15430 # Dependencies to place after the objects being linked to create a
15432 postdeps=$lt_postdeps_F77
15434 # The library search path used internally by the compiler when linking
15435 # a shared library.
15436 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
15438 # Method to check whether dependent libraries are shared objects.
15439 deplibs_check_method=$lt_deplibs_check_method
15441 # Command to use when deplibs_check_method == file_magic.
15442 file_magic_cmd=$lt_file_magic_cmd
15444 # Flag that allows shared libraries with undefined symbols to be built.
15445 allow_undefined_flag=$lt_allow_undefined_flag_F77
15447 # Flag that forces no undefined symbols.
15448 no_undefined_flag=$lt_no_undefined_flag_F77
15450 # Commands used to finish a libtool library installation in a directory.
15451 finish_cmds=$lt_finish_cmds
15453 # Same as above, but a single script fragment to be evaled but not shown.
15454 finish_eval=$lt_finish_eval
15456 # Take the output of nm and produce a listing of raw symbols and C names.
15457 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15459 # Transform the output of nm in a proper C declaration
15460 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15462 # Transform the output of nm in a C name address pair
15463 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15465 # This is the shared library runtime path variable.
15466 runpath_var=$runpath_var
15468 # This is the shared library path variable.
15469 shlibpath_var=$shlibpath_var
15471 # Is shlibpath searched before the hard-coded library search path?
15472 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15474 # How to hardcode a shared library path into an executable.
15475 hardcode_action=$hardcode_action_F77
15477 # Whether we should hardcode library paths into libraries.
15478 hardcode_into_libs=$hardcode_into_libs
15480 # Flag to hardcode \$libdir into a binary during linking.
15481 # This must work even if \$libdir does not exist.
15482 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
15484 # If ld is used when linking, flag to hardcode \$libdir into
15485 # a binary during linking. This must work even if \$libdir does
15487 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
15489 # Whether we need a single -rpath flag with a separated argument.
15490 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
15492 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
15493 # resulting binary.
15494 hardcode_direct=$hardcode_direct_F77
15496 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
15497 # resulting binary.
15498 hardcode_minus_L=$hardcode_minus_L_F77
15500 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
15501 # the resulting binary.
15502 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
15504 # Set to yes if building a shared library automatically hardcodes DIR into the library
15505 # and all subsequent libraries and executables linked against it.
15506 hardcode_automatic=$hardcode_automatic_F77
15508 # Variables whose values should be saved in libtool wrapper scripts and
15509 # restored at relink time.
15510 variables_saved_for_relink="$variables_saved_for_relink"
15512 # Whether libtool must link a program against all its dependency libraries.
15513 link_all_deplibs=$link_all_deplibs_F77
15515 # Compile-time system search path for libraries
15516 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15518 # Run-time system search path for libraries
15519 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15521 # Fix the shell variable \$srcfile for the compiler.
15522 fix_srcfile_path="$fix_srcfile_path_F77"
15524 # Set to yes if exported symbols are required.
15525 always_export_symbols=$always_export_symbols_F77
15527 # The commands to list exported symbols.
15528 export_symbols_cmds=$lt_export_symbols_cmds_F77
15530 # The commands to extract the exported symbol list from a shared archive.
15531 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15533 # Symbols that should not be listed in the preloaded symbols.
15534 exclude_expsyms=$lt_exclude_expsyms_F77
15536 # Symbols that must always be exported.
15537 include_expsyms=$lt_include_expsyms_F77
15539 # ### END LIBTOOL TAG CONFIG: $tagname
15545 # If there is no Makefile yet, we rely on a make rule to execute
15546 # `config.status --recheck' to rerun these tests and create the
15547 # libtool script then.
15548 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
15549 if test -f "$ltmain_in"; then
15550 test -f Makefile
&& make "$ltmain"
15556 ac_cpp
='$CPP $CPPFLAGS'
15557 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15558 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15559 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15569 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
15573 # Source file extension for Java test sources.
15576 # Object file extension for compiled Java test sources.
15580 # Code to be used in simple compile tests
15581 lt_simple_compile_test_code
="class foo {}\n"
15583 # Code to be used in simple link tests
15584 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }\n'
15586 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15588 # If no C compiler was specified, use CC.
15591 # Allow CC to be a program name with arguments.
15595 # Allow CC to be a program name with arguments.
15601 # GCJ did not exist at the time GCC didn't implicitly link libc in.
15602 archive_cmds_need_lc_GCJ
=no
15605 lt_prog_compiler_no_builtin_flag_GCJ
=
15607 if test "$GCC" = yes; then
15608 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
15611 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15612 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
15613 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15614 echo $ECHO_N "(cached) $ECHO_C" >&6
15616 lt_cv_prog_compiler_rtti_exceptions
=no
15617 ac_outfile
=conftest.
$ac_objext
15618 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15619 lt_compiler_flag
="-fno-rtti -fno-exceptions"
15620 # Insert the option either (1) after the last *FLAGS variable, or
15621 # (2) before a word containing "conftest.", or (3) at the end.
15622 # Note that $ac_compile itself does not contain backslashes and begins
15623 # with a dollar sign (not a hyphen), so the echo should work correctly.
15624 # The option is referenced via a variable to avoid confusing sed.
15625 lt_compile
=`echo "$ac_compile" | $SED \
15626 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15627 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15628 -e 's:$: $lt_compiler_flag:'`
15629 (eval echo "\"\$as_me:15629: $lt_compile\"" >&5)
15630 (eval "$lt_compile" 2>conftest.err
)
15632 cat conftest.err
>&5
15633 echo "$as_me:15633: \$? = $ac_status" >&5
15634 if (exit $ac_status) && test -s "$ac_outfile"; then
15635 # The compiler can only warn and ignore the option if not recognized
15636 # So say no if there are warnings
15637 if test ! -s conftest.err
; then
15638 lt_cv_prog_compiler_rtti_exceptions
=yes
15644 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15645 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
15647 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
15648 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15655 lt_prog_compiler_wl_GCJ
=
15656 lt_prog_compiler_pic_GCJ
=
15657 lt_prog_compiler_static_GCJ
=
15659 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15660 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15662 if test "$GCC" = yes; then
15663 lt_prog_compiler_wl_GCJ
='-Wl,'
15664 lt_prog_compiler_static_GCJ
='-static'
15668 # All AIX code is PIC.
15669 if test "$host_cpu" = ia64
; then
15670 # AIX 5 now supports IA64 processor
15671 lt_prog_compiler_static_GCJ
='-Bstatic'
15676 # FIXME: we need at least 68020 code to build shared libraries, but
15677 # adding the `-m68020' flag to GCC prevents building anything better,
15679 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
15682 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
15683 # PIC is the default for these OSes.
15686 mingw
* | pw32
* | os2
*)
15687 # This hack is so that the source file can tell whether it is being
15688 # built for inclusion in a dll (and should export symbols for example).
15689 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
15692 darwin
* | rhapsody
*)
15693 # PIC is the default on this platform
15694 # Common symbols not allowed in MH_DYLIB files
15695 lt_prog_compiler_pic_GCJ
='-fno-common'
15699 # Just because we use GCC doesn't mean we suddenly get shared libraries
15700 # on systems that don't support them.
15701 lt_prog_compiler_can_build_shared_GCJ
=no
15706 if test -d /usr
/nec
; then
15707 lt_prog_compiler_pic_GCJ
=-Kconform_pic
15712 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15713 # not for PA HP-UX.
15714 case "$host_cpu" in
15719 lt_prog_compiler_pic_GCJ
='-fPIC'
15725 lt_prog_compiler_pic_GCJ
='-fPIC'
15729 # PORTME Check for flag to pass linker flags through the system compiler.
15732 lt_prog_compiler_wl_GCJ
='-Wl,'
15733 if test "$host_cpu" = ia64
; then
15734 # AIX 5 now supports IA64 processor
15735 lt_prog_compiler_static_GCJ
='-Bstatic'
15737 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
15741 # PIC is the default on this platform
15742 # Common symbols not allowed in MH_DYLIB files
15743 case "$cc_basename" in
15745 lt_prog_compiler_pic_GCJ
='-qnocommon'
15746 lt_prog_compiler_wl_GCJ
='-Wl,'
15751 mingw
* | pw32
* | os2
*)
15752 # This hack is so that the source file can tell whether it is being
15753 # built for inclusion in a dll (and should export symbols for example).
15754 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
15757 hpux9
* | hpux10
* | hpux11
*)
15758 lt_prog_compiler_wl_GCJ
='-Wl,'
15759 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15760 # not for PA HP-UX.
15761 case "$host_cpu" in
15766 lt_prog_compiler_pic_GCJ
='+Z'
15769 # Is there a better lt_prog_compiler_static that works with the bundled CC?
15770 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
15773 irix5
* | irix6
* | nonstopux
*)
15774 lt_prog_compiler_wl_GCJ
='-Wl,'
15775 # PIC (with -KPIC) is the default.
15776 lt_prog_compiler_static_GCJ
='-non_shared'
15780 lt_prog_compiler_pic_GCJ
='-KPIC'
15781 lt_prog_compiler_static_GCJ
='-Bstatic'
15785 case $cc_basename in
15787 lt_prog_compiler_wl_GCJ
='-Wl,'
15788 lt_prog_compiler_pic_GCJ
='-KPIC'
15789 lt_prog_compiler_static_GCJ
='-static'
15791 pgcc | pgf77 | pgf90
)
15792 # Portland Group compilers (*not* the Pentium gcc compiler,
15793 # which looks to be a dead project)
15794 lt_prog_compiler_wl_GCJ
='-Wl,'
15795 lt_prog_compiler_pic_GCJ
='-fpic'
15796 lt_prog_compiler_static_GCJ
='-static'
15799 lt_prog_compiler_wl_GCJ
='-Wl,'
15800 # All Alpha code is PIC.
15801 lt_prog_compiler_static_GCJ
='-non_shared'
15804 lt_prog_compiler_wl_GCJ
='-lopt='
15809 osf3
* | osf4
* | osf5
*)
15810 lt_prog_compiler_wl_GCJ
='-Wl,'
15811 # All OSF/1 code is PIC.
15812 lt_prog_compiler_static_GCJ
='-non_shared'
15816 lt_prog_compiler_pic_GCJ
='-Kpic'
15817 lt_prog_compiler_static_GCJ
='-dn'
15821 lt_prog_compiler_wl_GCJ
='-Wl,'
15822 lt_prog_compiler_pic_GCJ
='-KPIC'
15823 lt_prog_compiler_static_GCJ
='-Bstatic'
15827 lt_prog_compiler_wl_GCJ
='-Qoption ld '
15828 lt_prog_compiler_pic_GCJ
='-PIC'
15829 lt_prog_compiler_static_GCJ
='-Bstatic'
15832 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
15833 lt_prog_compiler_wl_GCJ
='-Wl,'
15834 lt_prog_compiler_pic_GCJ
='-KPIC'
15835 lt_prog_compiler_static_GCJ
='-Bstatic'
15839 if test -d /usr
/nec
;then
15840 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
15841 lt_prog_compiler_static_GCJ
='-Bstatic'
15846 lt_prog_compiler_wl_GCJ
='-Wl,'
15847 lt_prog_compiler_can_build_shared_GCJ
=no
15851 lt_prog_compiler_pic_GCJ
='-pic'
15852 lt_prog_compiler_static_GCJ
='-Bstatic'
15856 lt_prog_compiler_can_build_shared_GCJ
=no
15861 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
15862 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
15865 # Check to make sure the PIC flag actually works.
15867 if test -n "$lt_prog_compiler_pic_GCJ"; then
15869 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
15870 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
15871 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
15872 echo $ECHO_N "(cached) $ECHO_C" >&6
15874 lt_prog_compiler_pic_works_GCJ
=no
15875 ac_outfile
=conftest.
$ac_objext
15876 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15877 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
15878 # Insert the option either (1) after the last *FLAGS variable, or
15879 # (2) before a word containing "conftest.", or (3) at the end.
15880 # Note that $ac_compile itself does not contain backslashes and begins
15881 # with a dollar sign (not a hyphen), so the echo should work correctly.
15882 # The option is referenced via a variable to avoid confusing sed.
15883 lt_compile
=`echo "$ac_compile" | $SED \
15884 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15885 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15886 -e 's:$: $lt_compiler_flag:'`
15887 (eval echo "\"\$as_me:15887: $lt_compile\"" >&5)
15888 (eval "$lt_compile" 2>conftest.err
)
15890 cat conftest.err
>&5
15891 echo "$as_me:15891: \$? = $ac_status" >&5
15892 if (exit $ac_status) && test -s "$ac_outfile"; then
15893 # The compiler can only warn and ignore the option if not recognized
15894 # So say no if there are warnings
15895 if test ! -s conftest.err
; then
15896 lt_prog_compiler_pic_works_GCJ
=yes
15902 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
15903 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
15905 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
15906 case $lt_prog_compiler_pic_GCJ in
15908 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
15911 lt_prog_compiler_pic_GCJ
=
15912 lt_prog_compiler_can_build_shared_GCJ
=no
15917 # For platforms which do not support PIC, -DPIC is meaningless:
15919 lt_prog_compiler_pic_GCJ
=
15922 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
15926 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15927 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
15928 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
15929 echo $ECHO_N "(cached) $ECHO_C" >&6
15931 lt_cv_prog_compiler_c_o_GCJ
=no
15932 $rm -r conftest
2>/dev
/null
15936 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15938 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15939 # Insert the option either (1) after the last *FLAGS variable, or
15940 # (2) before a word containing "conftest.", or (3) at the end.
15941 # Note that $ac_compile itself does not contain backslashes and begins
15942 # with a dollar sign (not a hyphen), so the echo should work correctly.
15943 lt_compile
=`echo "$ac_compile" | $SED \
15944 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15945 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15946 -e 's:$: $lt_compiler_flag:'`
15947 (eval echo "\"\$as_me:15947: $lt_compile\"" >&5)
15948 (eval "$lt_compile" 2>out
/conftest.err
)
15950 cat out
/conftest.err
>&5
15951 echo "$as_me:15951: \$? = $ac_status" >&5
15952 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15954 # The compiler can only warn and ignore the option if not recognized
15955 # So say no if there are warnings
15956 if test ! -s out
/conftest.err
; then
15957 lt_cv_prog_compiler_c_o_GCJ
=yes
15962 # SGI C++ compiler will create directory out/ii_files/ for
15963 # template instantiation
15964 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
15965 $rm out
/* && rmdir out
15971 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
15972 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
15975 hard_links
="nottested"
15976 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
15977 # do not overwrite the value of need_locks provided by the user
15978 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15979 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
15982 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15984 ln conftest.a conftest.b
2>&5 || hard_links
=no
15985 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15986 echo "$as_me:$LINENO: result: $hard_links" >&5
15987 echo "${ECHO_T}$hard_links" >&6
15988 if test "$hard_links" = no
; then
15989 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15990 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15997 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15998 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
16001 allow_undefined_flag_GCJ
=
16002 enable_shared_with_static_runtimes_GCJ
=no
16004 archive_expsym_cmds_GCJ
=
16005 old_archive_From_new_cmds_GCJ
=
16006 old_archive_from_expsyms_cmds_GCJ
=
16007 export_dynamic_flag_spec_GCJ
=
16008 whole_archive_flag_spec_GCJ
=
16009 thread_safe_flag_spec_GCJ
=
16010 hardcode_libdir_flag_spec_GCJ
=
16011 hardcode_libdir_flag_spec_ld_GCJ
=
16012 hardcode_libdir_separator_GCJ
=
16013 hardcode_direct_GCJ
=no
16014 hardcode_minus_L_GCJ
=no
16015 hardcode_shlibpath_var_GCJ
=unsupported
16016 link_all_deplibs_GCJ
=unknown
16017 hardcode_automatic_GCJ
=no
16019 module_expsym_cmds_GCJ
=
16020 always_export_symbols_GCJ
=no
16021 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16022 # include_expsyms should be a list of space-separated symbols to be *always*
16023 # included in the symbol list
16024 include_expsyms_GCJ
=
16025 # exclude_expsyms can be an extended regexp of symbols to exclude
16026 # it will be wrapped by ` (' and `)$', so one must not match beginning or
16027 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16028 # as well as any symbol that contains `d'.
16029 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
16030 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16031 # platforms (ab)use it in PIC code, but their linkers get confused if
16032 # the symbol is explicitly referenced. Since portable code cannot
16033 # rely on this symbol name, it's probably fine to never include it in
16034 # preloaded symbol tables.
16035 extract_expsyms_cmds
=
16038 cygwin
* | mingw
* | pw32
*)
16039 # FIXME: the MSVC++ port hasn't been tested in a loooong time
16040 # When not using gcc, we currently assume that we are using
16041 # Microsoft Visual C++.
16042 if test "$GCC" != yes; then
16052 if test "$with_gnu_ld" = yes; then
16053 # If archive_cmds runs LD, not CC, wlarc should be empty
16056 # See if GNU ld supports shared libraries.
16058 aix3
* | aix4
* | aix5
*)
16059 # On AIX/PPC, the GNU linker is very broken
16060 if test "$host_cpu" != ia64
; then
16064 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
16065 *** to be unable to reliably create shared libraries on AIX.
16066 *** Therefore, libtool is disabling shared libraries support. If you
16067 *** really care for shared libraries, you may want to modify your PATH
16068 *** so that a non-GNU linker is found, and then restart.
16075 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)'
16076 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16077 hardcode_minus_L_GCJ
=yes
16079 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16080 # that the semantics of dynamic libraries on AmigaOS, at least up
16081 # to version 4, is to share data among multiple programs linked
16082 # with the same dynamic library. Since this doesn't match the
16083 # behavior of shared libraries on other platforms, we can't use
16089 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16090 allow_undefined_flag_GCJ
=unsupported
16091 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16092 # support --undefined. This deserves some investigation. FIXME
16093 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16099 cygwin
* | mingw
* | pw32
*)
16100 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
16101 # as there is no search path for DLLs.
16102 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16103 allow_undefined_flag_GCJ
=unsupported
16104 always_export_symbols_GCJ
=no
16105 enable_shared_with_static_runtimes_GCJ
=yes
16106 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
16108 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
16109 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
16110 # If the export-symbols file already is a .def file (1st line
16111 # is EXPORTS), use it as is; otherwise, prepend...
16112 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16113 cp $export_symbols $output_objdir/$soname.def;
16115 echo EXPORTS > $output_objdir/$soname.def;
16116 cat $export_symbols >> $output_objdir/$soname.def;
16118 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
16125 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16126 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16129 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16130 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16135 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
16139 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
16140 *** create shared libraries on Solaris systems. Therefore, libtool
16141 *** is disabling shared libraries support. We urge you to upgrade GNU
16142 *** binutils to release 2.9.1 or newer. Another option is to modify
16143 *** your PATH or compiler configuration so that the native linker is
16144 *** used, and then restart.
16147 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16148 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16149 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16156 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16158 hardcode_direct_GCJ
=yes
16159 hardcode_shlibpath_var_GCJ
=no
16163 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16165 case $CC,$host_cpu in
16166 pgf77
* | pgf90
* ) # Portland Group f77 and f90 compilers
16167 tmp_addflag
=' -fpic' ;;
16168 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
16169 tmp_addflag
=' -i_dynamic' ;;
16170 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
16171 tmp_addflag
=' -i_dynamic -nofor_main' ;;
16172 ifc
* | ifort
*) # Intel Fortran compiler
16173 tmp_addflag
=' -nofor_main' ;;
16175 archive_cmds_GCJ
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16176 supports_anon_versioning
=no
16177 case `$LD -v 2>/dev/null` in
16178 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
16179 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
16180 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
16181 *\
2.11.
*) ;; # other 2.11 versions
16182 *) supports_anon_versioning
=yes ;;
16184 if test $supports_anon_versioning = yes; then
16185 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
16186 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16187 $echo "local: *; };" >> $output_objdir/$libname.ver~
16188 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16190 archive_expsym_cmds_GCJ
=$archive_cmds_GCJ
16198 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16199 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16200 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16207 if test "$ld_shlibs_GCJ" = yes; then
16208 runpath_var
=LD_RUN_PATH
16209 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
16210 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
16211 # ancient GNU ld didn't support --whole-archive et. al.
16212 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
16213 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16215 whole_archive_flag_spec_GCJ
=
16219 # PORTME fill in a description of your system's linker (not GNU ld)
16222 allow_undefined_flag_GCJ
=unsupported
16223 always_export_symbols_GCJ
=yes
16224 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'
16225 # Note: this linker hardcodes the directories in LIBPATH if there
16226 # are no directories specified by -L.
16227 hardcode_minus_L_GCJ
=yes
16228 if test "$GCC" = yes && test -z "$link_static_flag"; then
16229 # Neither direct hardcoding nor static linking is supported with a
16231 hardcode_direct_GCJ
=unsupported
16236 if test "$host_cpu" = ia64
; then
16237 # On IA64, the linker does run time linking by default, so we don't
16238 # have to do anything special.
16239 aix_use_runtimelinking
=no
16240 exp_sym_flag
='-Bexport'
16243 # If we're using GNU nm, then we don't want the "-C" option.
16244 # -C means demangle to AIX nm, but means don't demangle with GNU nm
16245 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
16246 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'
16248 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'
16250 aix_use_runtimelinking
=no
16252 # Test if we are trying to use run time linking or normal
16253 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16254 # need to do runtime linking.
16255 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
16256 for ld_flag
in $LDFLAGS; do
16257 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
16258 aix_use_runtimelinking
=yes
16264 exp_sym_flag
='-bexport'
16265 no_entry_flag
='-bnoentry'
16268 # When large executables or shared objects are built, AIX ld can
16269 # have problems creating the table of contents. If linking a library
16270 # or program results in "error TOC overflow" add -mminimal-toc to
16271 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
16272 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16274 archive_cmds_GCJ
=''
16275 hardcode_direct_GCJ
=yes
16276 hardcode_libdir_separator_GCJ
=':'
16277 link_all_deplibs_GCJ
=yes
16279 if test "$GCC" = yes; then
16280 case $host_os in aix4.
[012]|aix4.
[012].
*)
16281 # We only want to do this on AIX 4.2 and lower, the check
16282 # below for broken collect2 doesn't work under 4.3+
16283 collect2name
=`${CC} -print-prog-name=collect2`
16284 if test -f "$collect2name" && \
16285 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
16287 # We have reworked collect2
16288 hardcode_direct_GCJ
=yes
16290 # We have old collect2
16291 hardcode_direct_GCJ
=unsupported
16292 # It fails to find uninstalled libraries when the uninstalled
16293 # path is not listed in the libpath. Setting hardcode_minus_L
16294 # to unsupported forces relinking
16295 hardcode_minus_L_GCJ
=yes
16296 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16297 hardcode_libdir_separator_GCJ
=
16300 shared_flag
='-shared'
16301 if test "$aix_use_runtimelinking" = yes; then
16302 shared_flag
="$shared_flag "'${wl}-G'
16306 if test "$host_cpu" = ia64
; then
16307 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16308 # chokes on -Wl,-G. The following line is correct:
16311 if test "$aix_use_runtimelinking" = yes; then
16312 shared_flag
='${wl}-G'
16314 shared_flag
='${wl}-bM:SRE'
16319 # It seems that -bexpall does not export symbols beginning with
16320 # underscore (_), so it is better to generate a list of symbols to export.
16321 always_export_symbols_GCJ
=yes
16322 if test "$aix_use_runtimelinking" = yes; then
16323 # Warning - without using the other runtime loading flags (-brtl),
16324 # -berok will link without error, but may produce a broken library.
16325 allow_undefined_flag_GCJ
='-berok'
16326 # Determine the default libpath from the value encoded in an empty executable.
16327 cat >conftest.
$ac_ext <<_ACEOF
16330 cat confdefs.h
>>conftest.
$ac_ext
16331 cat >>conftest.
$ac_ext <<_ACEOF
16332 /* end confdefs.h. */
16342 rm -f conftest.
$ac_objext conftest
$ac_exeext
16343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16344 (eval $ac_link) 2>conftest.er1
16346 grep -v '^ *+' conftest.er1
>conftest.err
16348 cat conftest.err
>&5
16349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16350 (exit $ac_status); } &&
16351 { ac_try
='test -z "$ac_c_werror_flag"
16352 || test ! -s conftest.err'
16353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16354 (eval $ac_try) 2>&5
16356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16357 (exit $ac_status); }; } &&
16358 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
16365 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16367 # Check for a 64-bit object if we didn't find anything.
16368 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; }
16371 echo "$as_me: failed program was:" >&5
16372 sed 's/^/| /' conftest.
$ac_ext >&5
16375 rm -f conftest.err conftest.
$ac_objext \
16376 conftest
$ac_exeext conftest.
$ac_ext
16377 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
16379 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
16380 archive_expsym_cmds_GCJ
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
16382 if test "$host_cpu" = ia64; then
16383 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr
/lib
:/lib
'
16384 allow_undefined_flag_GCJ="-z nodefs"
16385 archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\
$export_symbols"
16387 # Determine the default libpath from the value encoded in an empty executable.
16388 cat >conftest.$ac_ext <<_ACEOF
16391 cat confdefs.h >>conftest.$ac_ext
16392 cat >>conftest.$ac_ext <<_ACEOF
16393 /* end confdefs.h. */
16403 rm -f conftest.$ac_objext conftest$ac_exeext
16404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16405 (eval $ac_link) 2>conftest.er1
16407 grep -v '^ *+' conftest.er1 >conftest.err
16409 cat conftest.err >&5
16410 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16411 (exit $ac_status); } &&
16412 { ac_try='test -z "$ac_c_werror_flag"
16413 || test ! -s conftest.err'
16414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16415 (eval $ac_try) 2>&5
16417 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16418 (exit $ac_status); }; } &&
16419 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
16426 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16428 # Check for a 64-bit object if we didn't find anything.
16429 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; }
16432 echo "$as_me: failed program was
:" >&5
16433 sed 's/^/| /' conftest.$ac_ext >&5
16436 rm -f conftest.err conftest.$ac_objext \
16437 conftest$ac_exeext conftest.$ac_ext
16438 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
16440 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
16441 # Warning - without using the other run time loading flags,
16442 # -berok will link without error, but may produce a broken library.
16443 no_undefined_flag_GCJ=' ${wl}-bernotok'
16444 allow_undefined_flag_GCJ=' ${wl}-berok'
16445 # -bexpall does not export symbols beginning with underscore (_)
16446 always_export_symbols_GCJ=yes
16447 # Exported symbols can be pulled into shared objects from archives
16448 whole_archive_flag_spec_GCJ=' '
16449 archive_cmds_need_lc_GCJ=yes
16450 # This is similar to how AIX traditionally builds it's shared libraries.
16451 archive_expsym_cmds_GCJ="\
$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
16457 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)'
16458 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16459 hardcode_minus_L_GCJ
=yes
16460 # see comment about different semantics on the GNU ld section
16465 export_dynamic_flag_spec_GCJ
=-rdynamic
16468 cygwin
* | mingw
* | pw32
*)
16469 # When not using gcc, we currently assume that we are using
16470 # Microsoft Visual C++.
16471 # hardcode_libdir_flag_spec is actually meaningless, as there is
16472 # no search path for DLLs.
16473 hardcode_libdir_flag_spec_GCJ
=' '
16474 allow_undefined_flag_GCJ
=unsupported
16475 # Tell ltmain to make .lib files, not .a files.
16477 # Tell ltmain to make .dll files, not .so files.
16479 # FIXME: Setting linknames here is a bad hack.
16480 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
16481 # The linker will automatically build a .lib file if we build a DLL.
16482 old_archive_From_new_cmds_GCJ
='true'
16483 # FIXME: Should let the user specify the lib program.
16484 old_archive_cmds_GCJ
='lib /OUT:$oldlib$oldobjs$old_deplibs'
16485 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
16486 enable_shared_with_static_runtimes_GCJ
=yes
16489 darwin
* | rhapsody
*)
16491 rhapsody
* | darwin1.
[012])
16492 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
16495 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
16496 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16498 case ${MACOSX_DEPLOYMENT_TARGET} in
16500 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16503 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
16509 archive_cmds_need_lc_GCJ
=no
16510 hardcode_direct_GCJ
=no
16511 hardcode_automatic_GCJ
=yes
16512 hardcode_shlibpath_var_GCJ
=unsupported
16513 whole_archive_flag_spec_GCJ
=''
16514 link_all_deplibs_GCJ
=yes
16515 if test "$GCC" = yes ; then
16516 output_verbose_link_cmd
='echo'
16517 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16518 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16519 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
16520 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}'
16521 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}'
16523 case "$cc_basename" in
16525 output_verbose_link_cmd
='echo'
16526 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
16527 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16528 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
16529 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}'
16530 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}'
16540 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16541 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16542 hardcode_shlibpath_var_GCJ
=no
16549 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
16550 # support. Future versions do this automatically, but an explicit c++rt0.o
16551 # does not break anything, and helps significantly (at the cost of a little
16554 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
16555 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16556 hardcode_direct_GCJ
=yes
16557 hardcode_shlibpath_var_GCJ
=no
16560 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
16562 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16563 hardcode_direct_GCJ
=yes
16564 hardcode_minus_L_GCJ
=yes
16565 hardcode_shlibpath_var_GCJ
=no
16568 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16569 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
16570 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16571 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16572 hardcode_direct_GCJ
=yes
16573 hardcode_shlibpath_var_GCJ
=no
16577 if test "$GCC" = yes; then
16578 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'
16580 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'
16582 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16583 hardcode_libdir_separator_GCJ
=:
16584 hardcode_direct_GCJ
=yes
16586 # hardcode_minus_L: Not really in the search PATH,
16587 # but as the default location of the library.
16588 hardcode_minus_L_GCJ
=yes
16589 export_dynamic_flag_spec_GCJ
='${wl}-E'
16593 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
16594 case "$host_cpu" in
16596 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16599 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16603 case "$host_cpu" in
16605 archive_cmds_GCJ
='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
16608 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
16612 if test "$with_gnu_ld" = no
; then
16613 case "$host_cpu" in
16615 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16616 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
16617 hardcode_libdir_separator_GCJ
=:
16618 hardcode_direct_GCJ
=no
16619 hardcode_shlibpath_var_GCJ
=no
16622 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16623 hardcode_direct_GCJ
=no
16624 hardcode_shlibpath_var_GCJ
=no
16626 # hardcode_minus_L: Not really in the search PATH,
16627 # but as the default location of the library.
16628 hardcode_minus_L_GCJ
=yes
16631 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16632 hardcode_libdir_separator_GCJ
=:
16633 hardcode_direct_GCJ
=yes
16634 export_dynamic_flag_spec_GCJ
='${wl}-E'
16636 # hardcode_minus_L: Not really in the search PATH,
16637 # but as the default location of the library.
16638 hardcode_minus_L_GCJ
=yes
16644 irix5
* | irix6
* | nonstopux
*)
16645 if test "$GCC" = yes; then
16646 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'
16648 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'
16649 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
16651 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16652 hardcode_libdir_separator_GCJ
=:
16653 link_all_deplibs_GCJ
=yes
16657 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16658 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
16660 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
16662 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16663 hardcode_direct_GCJ
=yes
16664 hardcode_shlibpath_var_GCJ
=no
16668 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16669 hardcode_direct_GCJ
=yes
16670 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16671 hardcode_libdir_separator_GCJ
=:
16672 hardcode_shlibpath_var_GCJ
=no
16676 hardcode_direct_GCJ
=yes
16677 hardcode_shlibpath_var_GCJ
=no
16678 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16679 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16680 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
16681 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16682 export_dynamic_flag_spec_GCJ
='${wl}-E'
16685 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
16686 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16687 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16690 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16691 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16698 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16699 hardcode_minus_L_GCJ
=yes
16700 allow_undefined_flag_GCJ
=unsupported
16701 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'
16702 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16706 if test "$GCC" = yes; then
16707 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
16708 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'
16710 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
16711 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'
16713 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16714 hardcode_libdir_separator_GCJ
=:
16717 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
16718 if test "$GCC" = yes; then
16719 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
16720 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'
16721 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16723 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
16724 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'
16725 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~
16726 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
16728 # Both c and cxx compiler support -rpath directly
16729 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
16731 hardcode_libdir_separator_GCJ
=:
16735 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16736 hardcode_shlibpath_var_GCJ
=no
16737 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
16738 runpath_var
=LD_RUN_PATH
16739 hardcode_runpath_var
=yes
16743 no_undefined_flag_GCJ
=' -z text'
16744 if test "$GCC" = yes; then
16745 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16746 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16747 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16749 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16750 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16751 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16753 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16754 hardcode_shlibpath_var_GCJ
=no
16756 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
16757 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
16758 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' ;;
16760 link_all_deplibs_GCJ
=yes
16764 if test "x$host_vendor" = xsequent
; then
16765 # Use $CC to link under sequent, because it throws in some extra .o
16766 # files that make .init and .fini sections work.
16767 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16769 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16771 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16772 hardcode_direct_GCJ
=yes
16773 hardcode_minus_L_GCJ
=yes
16774 hardcode_shlibpath_var_GCJ
=no
16778 case $host_vendor in
16780 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16781 hardcode_direct_GCJ
=yes # is this really true???
16784 ## LD is ld it makes a PLAMLIB
16785 ## CC just makes a GrossModule.
16786 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16787 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
16788 hardcode_direct_GCJ
=no
16791 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16792 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
16795 runpath_var
='LD_RUN_PATH'
16796 hardcode_shlibpath_var_GCJ
=no
16800 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16801 hardcode_shlibpath_var_GCJ
=no
16802 export_dynamic_flag_spec_GCJ
='-Bexport'
16806 if test -d /usr
/nec
; then
16807 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16808 hardcode_shlibpath_var_GCJ
=no
16809 runpath_var
=LD_RUN_PATH
16810 hardcode_runpath_var
=yes
16816 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16817 hardcode_direct_GCJ
=yes
16818 hardcode_minus_L_GCJ
=no
16819 hardcode_shlibpath_var_GCJ
=no
16820 hardcode_runpath_var
=yes
16821 runpath_var
=LD_RUN_PATH
16824 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
16825 no_undefined_flag_GCJ
='${wl}-z ${wl}text'
16826 if test "$GCC" = yes; then
16827 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16829 archive_cmds_GCJ
='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16831 runpath_var
='LD_RUN_PATH'
16832 hardcode_shlibpath_var_GCJ
=no
16836 no_undefined_flag_GCJ
=' -z text'
16837 # $CC -shared without GNU ld will not create a library from C++
16838 # object files and a static libstdc++, better avoid it by now
16839 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16840 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16841 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16842 hardcode_libdir_flag_spec_GCJ
=
16843 hardcode_shlibpath_var_GCJ
=no
16844 runpath_var
='LD_RUN_PATH'
16848 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16849 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16850 hardcode_shlibpath_var_GCJ
=no
16859 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
16860 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
16861 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
16863 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16864 if test "$GCC" = yes; then
16865 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16869 # Do we need to explicitly link libc?
16871 case "x$archive_cmds_need_lc_GCJ" in
16873 # Assume -lc should be added
16874 archive_cmds_need_lc_GCJ
=yes
16876 if test "$enable_shared" = yes && test "$GCC" = yes; then
16877 case $archive_cmds_GCJ in
16879 # FIXME: we may have to deal with multi-command sequences.
16882 # Test whether the compiler implicitly links with -lc since on some
16883 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16884 # to ld, don't add -lc before -lgcc.
16885 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16886 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
16888 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16891 (eval $ac_compile) 2>&5
16893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16894 (exit $ac_status); } 2>conftest.err
; then
16897 libobjs
=conftest.
$ac_objext
16899 wl
=$lt_prog_compiler_wl_GCJ
16905 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
16906 allow_undefined_flag_GCJ
=
16907 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16908 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
16910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16911 (exit $ac_status); }
16913 archive_cmds_need_lc_GCJ
=no
16915 archive_cmds_need_lc_GCJ
=yes
16917 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
16919 cat conftest.err
1>&5
16922 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
16923 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
16930 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16931 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
16932 library_names_spec
=
16933 libname_spec
='lib$name'
16937 postuninstall_cmds
=
16941 shlibpath_overrides_runpath
=unknown
16943 dynamic_linker
="$host_os ld.so"
16944 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
16945 if test "$GCC" = yes; then
16946 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16947 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
16948 # if the path contains ";" then we assume it to be the separator
16949 # otherwise default to the standard path separator (i.e. ":") - it is
16950 # assumed that no part of a normal pathname contains ";" but that should
16951 # okay in the real world where ";" in dirpaths is itself problematic.
16952 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16954 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16957 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
16959 need_lib_prefix
=unknown
16960 hardcode_into_libs
=no
16962 # when you set need_version to no, make sure it does not cause -set_version
16963 # flags to be left without arguments
16964 need_version
=unknown
16969 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
16970 shlibpath_var
=LIBPATH
16972 # AIX 3 has no versioning support, so we append a major version to the name.
16973 soname_spec
='${libname}${release}${shared_ext}$major'
16980 hardcode_into_libs
=yes
16981 if test "$host_cpu" = ia64
; then
16982 # AIX 5 supports IA64
16983 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16984 shlibpath_var
=LD_LIBRARY_PATH
16986 # With GCC up to 2.95.x, collect2 would create an import file
16987 # for dependence libraries. The import file would start with
16988 # the line `#! .'. This would cause the generated library to
16989 # depend on `.', always an invalid library. This was fixed in
16990 # development snapshots of GCC prior to 3.0.
16992 aix4 | aix4.
[01] | aix4.
[01].
*)
16993 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16995 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
16998 can_build_shared
=no
17002 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17003 # soname into executable. Probably we can add versioning support to
17004 # collect2, so additional links can be useful in future.
17005 if test "$aix_use_runtimelinking" = yes; then
17006 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17007 # instead of lib<name>.a to let people know that these are not
17008 # typical AIX shared libraries.
17009 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17011 # We preserve .a as extension for shared libraries through AIX4.2
17012 # and later when we are not doing run time linking.
17013 library_names_spec
='${libname}${release}.a $libname.a'
17014 soname_spec
='${libname}${release}${shared_ext}$major'
17016 shlibpath_var
=LIBPATH
17021 library_names_spec
='$libname.ixlibrary $libname.a'
17022 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17023 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'
17027 library_names_spec
='${libname}${shared_ext}'
17028 dynamic_linker
="$host_os ld.so"
17029 shlibpath_var
=LIBRARY_PATH
17035 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17036 soname_spec
='${libname}${release}${shared_ext}$major'
17037 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
17038 shlibpath_var
=LD_LIBRARY_PATH
17039 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17040 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
17041 # the default ld.so.conf also contains /usr/contrib/lib and
17042 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17043 # libtool to hard-code these into programs
17046 cygwin
* | mingw
* | pw32
*)
17047 version_type
=windows
17052 case $GCC,$host_os in
17053 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
17054 library_names_spec
='$libname.dll.a'
17055 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17056 postinstall_cmds
='base_file=`basename \${file}`~
17057 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17058 dldir=$destdir/`dirname \$dlpath`~
17059 test -d \$dldir || mkdir -p \$dldir~
17060 $install_prog $dir/$dlname \$dldir/$dlname'
17061 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17062 dlpath=$dir/\$dldll~
17064 shlibpath_overrides_runpath
=yes
17068 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17069 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17070 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
17073 # MinGW DLLs use traditional 'lib' prefix
17074 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17075 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17076 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
17077 # It is most probably a Windows format PATH printed by
17078 # mingw gcc, but we are running on Cygwin. Gcc prints its search
17079 # path with ; separators, and with drive letters. We can handle the
17080 # drive letters (cygwin fileutils understands them), so leave them,
17081 # especially as we might pass files found there to a mingw objdump,
17082 # which wouldn't understand a cygwinified path. Ahh.
17083 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17085 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17089 # pw32 DLLs use 'pw' prefix rather than 'lib'
17090 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17096 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17099 dynamic_linker
='Win32 ld.exe'
17100 # FIXME: first we should search . and the directory the executable is in
17104 darwin
* | rhapsody
*)
17105 dynamic_linker
="$host_os dyld"
17106 version_type
=darwin
17109 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17110 soname_spec
='${libname}${release}${major}$shared_ext'
17111 shlibpath_overrides_runpath
=yes
17112 shlibpath_var
=DYLD_LIBRARY_PATH
17113 shrext_cmds
='$(test .$module = .yes && echo .so || echo .dylib)'
17114 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
17115 if test "$GCC" = yes; then
17116 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"`
17118 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
17120 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
17127 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17128 soname_spec
='${libname}${release}${shared_ext}$major'
17129 shlibpath_var
=LD_LIBRARY_PATH
17140 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17141 soname_spec
='${libname}${release}${shared_ext}$major'
17142 shlibpath_var
=LD_LIBRARY_PATH
17143 shlibpath_overrides_runpath
=no
17144 hardcode_into_libs
=yes
17145 dynamic_linker
='GNU ld.so'
17148 freebsd
* | dragonfly
*)
17149 # DragonFly does not have aout. When/if they implement a new
17150 # versioning mechanism, adjust this.
17151 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
17152 version_type
=freebsd-
$objformat
17153 case $version_type in
17155 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17160 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17164 shlibpath_var
=LD_LIBRARY_PATH
17167 shlibpath_overrides_runpath
=yes
17169 freebsd3.
[01]* | freebsdelf3.
[01]*)
17170 shlibpath_overrides_runpath
=yes
17171 hardcode_into_libs
=yes
17174 shlibpath_overrides_runpath
=no
17175 hardcode_into_libs
=yes
17184 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17185 soname_spec
='${libname}${release}${shared_ext}$major'
17186 shlibpath_var
=LD_LIBRARY_PATH
17187 hardcode_into_libs
=yes
17190 hpux9
* | hpux10
* | hpux11
*)
17191 # Give a soname corresponding to the major version so that dld.sl refuses to
17192 # link against other versions.
17196 case "$host_cpu" in
17199 hardcode_into_libs
=yes
17200 dynamic_linker
="$host_os dld.so"
17201 shlibpath_var
=LD_LIBRARY_PATH
17202 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17203 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17204 soname_spec
='${libname}${release}${shared_ext}$major'
17205 if test "X$HPUX_IA64_MODE" = X32
; then
17206 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17208 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
17210 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17214 hardcode_into_libs
=yes
17215 dynamic_linker
="$host_os dld.sl"
17216 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
17217 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17218 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17219 soname_spec
='${libname}${release}${shared_ext}$major'
17220 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17221 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17225 dynamic_linker
="$host_os dld.sl"
17226 shlibpath_var
=SHLIB_PATH
17227 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
17228 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17229 soname_spec
='${libname}${release}${shared_ext}$major'
17232 # HP-UX runs *really* slowly unless shared libraries are mode 555.
17233 postinstall_cmds
='chmod 555 $lib'
17236 irix5
* | irix6
* | nonstopux
*)
17238 nonstopux
*) version_type
=nonstopux
;;
17240 if test "$lt_cv_prog_gnu_ld" = yes; then
17248 soname_spec
='${libname}${release}${shared_ext}$major'
17249 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17251 irix5
* | nonstopux
*)
17252 libsuff
= shlibsuff
=
17255 case $LD in # libtool.m4 will add one of these switches to LD
17256 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
17257 libsuff
= shlibsuff
= libmagic
=32-bit;;
17258 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
17259 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
17260 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
17261 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
17262 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
17266 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
17267 shlibpath_overrides_runpath
=no
17268 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17269 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
17270 hardcode_into_libs
=yes
17273 # No shared lib support for Linux oldld, aout, or coff.
17274 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
17278 # This must be Linux ELF.
17283 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17284 soname_spec
='${libname}${release}${shared_ext}$major'
17285 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17286 shlibpath_var
=LD_LIBRARY_PATH
17287 shlibpath_overrides_runpath
=no
17288 # This implies no fast_install, which is unacceptable.
17289 # Some rework will be needed to allow for fast_install
17290 # before this can be enabled.
17291 hardcode_into_libs
=yes
17293 # Append ld.so.conf contents to the search path
17294 if test -f /etc
/ld.so.conf
; then
17295 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/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
17296 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
17299 # We used to test for /lib/ld.so.1 and disable shared libraries on
17300 # powerpc, because MkLinux only supported shared libraries with the
17301 # GNU dynamic linker. Since this was broken with cross compilers,
17302 # most powerpc-linux boxes support dynamic linking these days and
17303 # people can always --disable-shared, the test was removed, and we
17304 # assume the GNU/Linux dynamic linker is in use.
17305 dynamic_linker
='GNU/Linux ld.so'
17312 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17313 soname_spec
='${libname}${release}${shared_ext}$major'
17314 shlibpath_var
=LD_LIBRARY_PATH
17315 shlibpath_overrides_runpath
=no
17316 hardcode_into_libs
=yes
17317 dynamic_linker
='GNU ld.so'
17324 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17325 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17326 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17327 dynamic_linker
='NetBSD (a.out) ld.so'
17329 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17330 soname_spec
='${libname}${release}${shared_ext}$major'
17331 dynamic_linker
='NetBSD ld.elf_so'
17333 shlibpath_var
=LD_LIBRARY_PATH
17334 shlibpath_overrides_runpath
=yes
17335 hardcode_into_libs
=yes
17340 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17341 shlibpath_var
=LD_LIBRARY_PATH
17342 shlibpath_overrides_runpath
=yes
17349 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17350 soname_spec
='${libname}${release}${shared_ext}$major'
17351 shlibpath_var
=LD_LIBRARY_PATH
17352 shlibpath_overrides_runpath
=yes
17359 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17360 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17361 shlibpath_var
=LD_LIBRARY_PATH
17362 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17364 openbsd2.
[89] | openbsd2.
[89].
*)
17365 shlibpath_overrides_runpath
=no
17368 shlibpath_overrides_runpath
=yes
17372 shlibpath_overrides_runpath
=yes
17377 libname_spec
='$name'
17380 library_names_spec
='$libname${shared_ext} $libname.a'
17381 dynamic_linker
='OS/2 ld.exe'
17382 shlibpath_var
=LIBPATH
17385 osf3
* | osf4
* | osf5
*)
17389 soname_spec
='${libname}${release}${shared_ext}$major'
17390 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17391 shlibpath_var
=LD_LIBRARY_PATH
17392 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17393 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
17398 soname_spec
='${libname}${release}${shared_ext}$major'
17399 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17400 shlibpath_var
=LD_LIBRARY_PATH
17407 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17408 soname_spec
='${libname}${release}${shared_ext}$major'
17409 shlibpath_var
=LD_LIBRARY_PATH
17410 shlibpath_overrides_runpath
=yes
17411 hardcode_into_libs
=yes
17412 # ldd complains unless libraries are executable
17413 postinstall_cmds
='chmod +x $lib'
17418 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17419 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17420 shlibpath_var
=LD_LIBRARY_PATH
17421 shlibpath_overrides_runpath
=yes
17422 if test "$with_gnu_ld" = yes; then
17428 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
17430 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17431 soname_spec
='${libname}${release}${shared_ext}$major'
17432 shlibpath_var
=LD_LIBRARY_PATH
17433 case $host_vendor in
17435 shlibpath_overrides_runpath
=no
17437 export_dynamic_flag_spec
='${wl}-Blargedynsym'
17438 runpath_var
=LD_RUN_PATH
17446 shlibpath_overrides_runpath
=no
17447 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
17453 if test -d /usr
/nec
;then
17455 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17456 soname_spec
='$libname${shared_ext}.$major'
17457 shlibpath_var
=LD_LIBRARY_PATH
17463 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17464 soname_spec
='${libname}${release}${shared_ext}$major'
17465 shlibpath_var
=LD_LIBRARY_PATH
17472 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17473 echo "${ECHO_T}$dynamic_linker" >&6
17474 test "$dynamic_linker" = no
&& can_build_shared
=no
17476 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17477 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
17478 hardcode_action_GCJ
=
17479 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
17480 test -n "$runpath_var_GCJ" || \
17481 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
17483 # We can hardcode non-existant directories.
17484 if test "$hardcode_direct_GCJ" != no
&&
17485 # If the only mechanism to avoid hardcoding is shlibpath_var, we
17486 # have to relink, otherwise we might link with an installed library
17487 # when we should be linking with a yet-to-be-installed one
17488 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
17489 test "$hardcode_minus_L_GCJ" != no
; then
17490 # Linking always hardcodes the temporary library directory.
17491 hardcode_action_GCJ
=relink
17493 # We can link without hardcoding, and we can hardcode nonexisting dirs.
17494 hardcode_action_GCJ
=immediate
17497 # We cannot hardcode anything, or else we can only hardcode existing
17499 hardcode_action_GCJ
=unsupported
17501 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
17502 echo "${ECHO_T}$hardcode_action_GCJ" >&6
17504 if test "$hardcode_action_GCJ" = relink
; then
17505 # Fast installation is not supported
17506 enable_fast_install
=no
17507 elif test "$shlibpath_overrides_runpath" = yes ||
17508 test "$enable_shared" = no
; then
17509 # Fast installation is not necessary
17510 enable_fast_install
=needless
17515 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
17516 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
17517 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
17518 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
17519 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
17520 echo "$as_me:$LINENO: result: yes" >&5
17521 echo "${ECHO_T}yes" >&6
17523 # FIXME - insert some real tests, host_os isn't really good enough
17526 if test -n "$STRIP" ; then
17527 striplib
="$STRIP -x"
17528 echo "$as_me:$LINENO: result: yes" >&5
17529 echo "${ECHO_T}yes" >&6
17531 echo "$as_me:$LINENO: result: no" >&5
17532 echo "${ECHO_T}no" >&6
17536 echo "$as_me:$LINENO: result: no" >&5
17537 echo "${ECHO_T}no" >&6
17542 if test "x$enable_dlopen" != xyes
; then
17543 enable_dlopen
=unknown
17544 enable_dlopen_self
=unknown
17545 enable_dlopen_self_static
=unknown
17552 lt_cv_dlopen
="load_add_on"
17554 lt_cv_dlopen_self
=yes
17558 lt_cv_dlopen
="LoadLibrary"
17563 lt_cv_dlopen
="dlopen"
17568 # if libdl is installed we need to link against it
17569 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17570 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
17571 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17572 echo $ECHO_N "(cached) $ECHO_C" >&6
17574 ac_check_lib_save_LIBS
=$LIBS
17576 cat >conftest.
$ac_ext <<_ACEOF
17579 cat confdefs.h
>>conftest.
$ac_ext
17580 cat >>conftest.
$ac_ext <<_ACEOF
17581 /* end confdefs.h. */
17583 /* Override any gcc2 internal prototype to avoid an error. */
17587 /* We use char because int might match the return type of a gcc2
17588 builtin and then its argument prototype would still apply. */
17598 rm -f conftest.
$ac_objext conftest
$ac_exeext
17599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17600 (eval $ac_link) 2>conftest.er1
17602 grep -v '^ *+' conftest.er1
>conftest.err
17604 cat conftest.err
>&5
17605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17606 (exit $ac_status); } &&
17607 { ac_try
='test -z "$ac_c_werror_flag"
17608 || test ! -s conftest.err'
17609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17610 (eval $ac_try) 2>&5
17612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17613 (exit $ac_status); }; } &&
17614 { ac_try
='test -s conftest$ac_exeext'
17615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17616 (eval $ac_try) 2>&5
17618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17619 (exit $ac_status); }; }; then
17620 ac_cv_lib_dl_dlopen
=yes
17622 echo "$as_me: failed program was:" >&5
17623 sed 's/^/| /' conftest.
$ac_ext >&5
17625 ac_cv_lib_dl_dlopen
=no
17627 rm -f conftest.err conftest.
$ac_objext \
17628 conftest
$ac_exeext conftest.
$ac_ext
17629 LIBS
=$ac_check_lib_save_LIBS
17631 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17632 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
17633 if test $ac_cv_lib_dl_dlopen = yes; then
17634 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
17637 lt_cv_dlopen
="dyld"
17639 lt_cv_dlopen_self
=yes
17646 echo "$as_me:$LINENO: checking for shl_load" >&5
17647 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
17648 if test "${ac_cv_func_shl_load+set}" = set; then
17649 echo $ECHO_N "(cached) $ECHO_C" >&6
17651 cat >conftest.
$ac_ext <<_ACEOF
17654 cat confdefs.h
>>conftest.
$ac_ext
17655 cat >>conftest.
$ac_ext <<_ACEOF
17656 /* end confdefs.h. */
17657 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
17658 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17659 #define shl_load innocuous_shl_load
17661 /* System header to define __stub macros and hopefully few prototypes,
17662 which can conflict with char shl_load (); below.
17663 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17664 <limits.h> exists even on freestanding compilers. */
17667 # include <limits.h>
17669 # include <assert.h>
17674 /* Override any gcc2 internal prototype to avoid an error. */
17679 /* We use char because int might match the return type of a gcc2
17680 builtin and then its argument prototype would still apply. */
17682 /* The GNU C library defines this for functions which it implements
17683 to always fail with ENOSYS. Some functions are actually named
17684 something starting with __ and the normal name is an alias. */
17685 #if defined (__stub_shl_load) || defined (__stub___shl_load)
17688 char (*f) () = shl_load;
17697 return f != shl_load;
17702 rm -f conftest.
$ac_objext conftest
$ac_exeext
17703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17704 (eval $ac_link) 2>conftest.er1
17706 grep -v '^ *+' conftest.er1
>conftest.err
17708 cat conftest.err
>&5
17709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17710 (exit $ac_status); } &&
17711 { ac_try
='test -z "$ac_c_werror_flag"
17712 || test ! -s conftest.err'
17713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17714 (eval $ac_try) 2>&5
17716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17717 (exit $ac_status); }; } &&
17718 { ac_try
='test -s conftest$ac_exeext'
17719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17720 (eval $ac_try) 2>&5
17722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17723 (exit $ac_status); }; }; then
17724 ac_cv_func_shl_load
=yes
17726 echo "$as_me: failed program was:" >&5
17727 sed 's/^/| /' conftest.
$ac_ext >&5
17729 ac_cv_func_shl_load
=no
17731 rm -f conftest.err conftest.
$ac_objext \
17732 conftest
$ac_exeext conftest.
$ac_ext
17734 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
17735 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
17736 if test $ac_cv_func_shl_load = yes; then
17737 lt_cv_dlopen
="shl_load"
17739 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
17740 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
17741 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
17742 echo $ECHO_N "(cached) $ECHO_C" >&6
17744 ac_check_lib_save_LIBS
=$LIBS
17746 cat >conftest.
$ac_ext <<_ACEOF
17749 cat confdefs.h
>>conftest.
$ac_ext
17750 cat >>conftest.
$ac_ext <<_ACEOF
17751 /* end confdefs.h. */
17753 /* Override any gcc2 internal prototype to avoid an error. */
17757 /* We use char because int might match the return type of a gcc2
17758 builtin and then its argument prototype would still apply. */
17768 rm -f conftest.
$ac_objext conftest
$ac_exeext
17769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17770 (eval $ac_link) 2>conftest.er1
17772 grep -v '^ *+' conftest.er1
>conftest.err
17774 cat conftest.err
>&5
17775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17776 (exit $ac_status); } &&
17777 { ac_try
='test -z "$ac_c_werror_flag"
17778 || test ! -s conftest.err'
17779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17780 (eval $ac_try) 2>&5
17782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17783 (exit $ac_status); }; } &&
17784 { ac_try
='test -s conftest$ac_exeext'
17785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17786 (eval $ac_try) 2>&5
17788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17789 (exit $ac_status); }; }; then
17790 ac_cv_lib_dld_shl_load
=yes
17792 echo "$as_me: failed program was:" >&5
17793 sed 's/^/| /' conftest.
$ac_ext >&5
17795 ac_cv_lib_dld_shl_load
=no
17797 rm -f conftest.err conftest.
$ac_objext \
17798 conftest
$ac_exeext conftest.
$ac_ext
17799 LIBS
=$ac_check_lib_save_LIBS
17801 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
17802 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
17803 if test $ac_cv_lib_dld_shl_load = yes; then
17804 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
17806 echo "$as_me:$LINENO: checking for dlopen" >&5
17807 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
17808 if test "${ac_cv_func_dlopen+set}" = set; then
17809 echo $ECHO_N "(cached) $ECHO_C" >&6
17811 cat >conftest.
$ac_ext <<_ACEOF
17814 cat confdefs.h
>>conftest.
$ac_ext
17815 cat >>conftest.
$ac_ext <<_ACEOF
17816 /* end confdefs.h. */
17817 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
17818 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17819 #define dlopen innocuous_dlopen
17821 /* System header to define __stub macros and hopefully few prototypes,
17822 which can conflict with char dlopen (); below.
17823 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17824 <limits.h> exists even on freestanding compilers. */
17827 # include <limits.h>
17829 # include <assert.h>
17834 /* Override any gcc2 internal prototype to avoid an error. */
17839 /* We use char because int might match the return type of a gcc2
17840 builtin and then its argument prototype would still apply. */
17842 /* The GNU C library defines this for functions which it implements
17843 to always fail with ENOSYS. Some functions are actually named
17844 something starting with __ and the normal name is an alias. */
17845 #if defined (__stub_dlopen) || defined (__stub___dlopen)
17848 char (*f) () = dlopen;
17857 return f != dlopen;
17862 rm -f conftest.
$ac_objext conftest
$ac_exeext
17863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17864 (eval $ac_link) 2>conftest.er1
17866 grep -v '^ *+' conftest.er1
>conftest.err
17868 cat conftest.err
>&5
17869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17870 (exit $ac_status); } &&
17871 { ac_try
='test -z "$ac_c_werror_flag"
17872 || test ! -s conftest.err'
17873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17874 (eval $ac_try) 2>&5
17876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17877 (exit $ac_status); }; } &&
17878 { ac_try
='test -s conftest$ac_exeext'
17879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17880 (eval $ac_try) 2>&5
17882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17883 (exit $ac_status); }; }; then
17884 ac_cv_func_dlopen
=yes
17886 echo "$as_me: failed program was:" >&5
17887 sed 's/^/| /' conftest.
$ac_ext >&5
17889 ac_cv_func_dlopen
=no
17891 rm -f conftest.err conftest.
$ac_objext \
17892 conftest
$ac_exeext conftest.
$ac_ext
17894 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
17895 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
17896 if test $ac_cv_func_dlopen = yes; then
17897 lt_cv_dlopen
="dlopen"
17899 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17900 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
17901 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17902 echo $ECHO_N "(cached) $ECHO_C" >&6
17904 ac_check_lib_save_LIBS
=$LIBS
17906 cat >conftest.
$ac_ext <<_ACEOF
17909 cat confdefs.h
>>conftest.
$ac_ext
17910 cat >>conftest.
$ac_ext <<_ACEOF
17911 /* end confdefs.h. */
17913 /* Override any gcc2 internal prototype to avoid an error. */
17917 /* We use char because int might match the return type of a gcc2
17918 builtin and then its argument prototype would still apply. */
17928 rm -f conftest.
$ac_objext conftest
$ac_exeext
17929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17930 (eval $ac_link) 2>conftest.er1
17932 grep -v '^ *+' conftest.er1
>conftest.err
17934 cat conftest.err
>&5
17935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17936 (exit $ac_status); } &&
17937 { ac_try
='test -z "$ac_c_werror_flag"
17938 || test ! -s conftest.err'
17939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17940 (eval $ac_try) 2>&5
17942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17943 (exit $ac_status); }; } &&
17944 { ac_try
='test -s conftest$ac_exeext'
17945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17946 (eval $ac_try) 2>&5
17948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17949 (exit $ac_status); }; }; then
17950 ac_cv_lib_dl_dlopen
=yes
17952 echo "$as_me: failed program was:" >&5
17953 sed 's/^/| /' conftest.
$ac_ext >&5
17955 ac_cv_lib_dl_dlopen
=no
17957 rm -f conftest.err conftest.
$ac_objext \
17958 conftest
$ac_exeext conftest.
$ac_ext
17959 LIBS
=$ac_check_lib_save_LIBS
17961 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17962 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
17963 if test $ac_cv_lib_dl_dlopen = yes; then
17964 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
17966 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
17967 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
17968 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
17969 echo $ECHO_N "(cached) $ECHO_C" >&6
17971 ac_check_lib_save_LIBS
=$LIBS
17972 LIBS
="-lsvld $LIBS"
17973 cat >conftest.
$ac_ext <<_ACEOF
17976 cat confdefs.h
>>conftest.
$ac_ext
17977 cat >>conftest.
$ac_ext <<_ACEOF
17978 /* end confdefs.h. */
17980 /* Override any gcc2 internal prototype to avoid an error. */
17984 /* We use char because int might match the return type of a gcc2
17985 builtin and then its argument prototype would still apply. */
17995 rm -f conftest.
$ac_objext conftest
$ac_exeext
17996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17997 (eval $ac_link) 2>conftest.er1
17999 grep -v '^ *+' conftest.er1
>conftest.err
18001 cat conftest.err
>&5
18002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18003 (exit $ac_status); } &&
18004 { ac_try
='test -z "$ac_c_werror_flag"
18005 || test ! -s conftest.err'
18006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18007 (eval $ac_try) 2>&5
18009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18010 (exit $ac_status); }; } &&
18011 { ac_try
='test -s conftest$ac_exeext'
18012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18013 (eval $ac_try) 2>&5
18015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18016 (exit $ac_status); }; }; then
18017 ac_cv_lib_svld_dlopen
=yes
18019 echo "$as_me: failed program was:" >&5
18020 sed 's/^/| /' conftest.
$ac_ext >&5
18022 ac_cv_lib_svld_dlopen
=no
18024 rm -f conftest.err conftest.
$ac_objext \
18025 conftest
$ac_exeext conftest.
$ac_ext
18026 LIBS
=$ac_check_lib_save_LIBS
18028 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
18029 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
18030 if test $ac_cv_lib_svld_dlopen = yes; then
18031 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
18033 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
18034 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
18035 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
18036 echo $ECHO_N "(cached) $ECHO_C" >&6
18038 ac_check_lib_save_LIBS
=$LIBS
18040 cat >conftest.
$ac_ext <<_ACEOF
18043 cat confdefs.h
>>conftest.
$ac_ext
18044 cat >>conftest.
$ac_ext <<_ACEOF
18045 /* end confdefs.h. */
18047 /* Override any gcc2 internal prototype to avoid an error. */
18051 /* We use char because int might match the return type of a gcc2
18052 builtin and then its argument prototype would still apply. */
18062 rm -f conftest.
$ac_objext conftest
$ac_exeext
18063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18064 (eval $ac_link) 2>conftest.er1
18066 grep -v '^ *+' conftest.er1
>conftest.err
18068 cat conftest.err
>&5
18069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18070 (exit $ac_status); } &&
18071 { ac_try
='test -z "$ac_c_werror_flag"
18072 || test ! -s conftest.err'
18073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18074 (eval $ac_try) 2>&5
18076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18077 (exit $ac_status); }; } &&
18078 { ac_try
='test -s conftest$ac_exeext'
18079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18080 (eval $ac_try) 2>&5
18082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18083 (exit $ac_status); }; }; then
18084 ac_cv_lib_dld_dld_link
=yes
18086 echo "$as_me: failed program was:" >&5
18087 sed 's/^/| /' conftest.
$ac_ext >&5
18089 ac_cv_lib_dld_dld_link
=no
18091 rm -f conftest.err conftest.
$ac_objext \
18092 conftest
$ac_exeext conftest.
$ac_ext
18093 LIBS
=$ac_check_lib_save_LIBS
18095 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
18096 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
18097 if test $ac_cv_lib_dld_dld_link = yes; then
18098 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
18119 if test "x$lt_cv_dlopen" != xno
; then
18125 case $lt_cv_dlopen in
18127 save_CPPFLAGS
="$CPPFLAGS"
18128 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
18130 save_LDFLAGS
="$LDFLAGS"
18131 eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
18134 LIBS
="$lt_cv_dlopen_libs $LIBS"
18136 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
18137 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
18138 if test "${lt_cv_dlopen_self+set}" = set; then
18139 echo $ECHO_N "(cached) $ECHO_C" >&6
18141 if test "$cross_compiling" = yes; then :
18142 lt_cv_dlopen_self
=cross
18144 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
18145 lt_status
=$lt_dlunknown
18146 cat > conftest.
$ac_ext <<EOF
18147 #line 18147 "configure"
18148 #include "confdefs.h"
18157 # define LT_DLGLOBAL RTLD_GLOBAL
18160 # define LT_DLGLOBAL DL_GLOBAL
18162 # define LT_DLGLOBAL 0
18166 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
18167 find out it does not work in some platform. */
18168 #ifndef LT_DLLAZY_OR_NOW
18170 # define LT_DLLAZY_OR_NOW RTLD_LAZY
18173 # define LT_DLLAZY_OR_NOW DL_LAZY
18176 # define LT_DLLAZY_OR_NOW RTLD_NOW
18179 # define LT_DLLAZY_OR_NOW DL_NOW
18181 # define LT_DLLAZY_OR_NOW 0
18189 extern "C" void exit (int);
18192 void fnord() { int i=42;}
18195 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18196 int status = $lt_dlunknown;
18200 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
18201 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
18202 /* dlclose (self); */
18208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18209 (eval $ac_link) 2>&5
18211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18212 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
18213 (.
/conftest
; exit; ) 2>/dev
/null
18215 case x
$lt_status in
18216 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
18217 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
18218 x
$lt_unknown|x
*) lt_cv_dlopen_self
=no
;;
18221 # compilation failed
18222 lt_cv_dlopen_self
=no
18229 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
18230 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
18232 if test "x$lt_cv_dlopen_self" = xyes
; then
18233 LDFLAGS
="$LDFLAGS $link_static_flag"
18234 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
18235 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
18236 if test "${lt_cv_dlopen_self_static+set}" = set; then
18237 echo $ECHO_N "(cached) $ECHO_C" >&6
18239 if test "$cross_compiling" = yes; then :
18240 lt_cv_dlopen_self_static
=cross
18242 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
18243 lt_status
=$lt_dlunknown
18244 cat > conftest.
$ac_ext <<EOF
18245 #line 18245 "configure"
18246 #include "confdefs.h"
18255 # define LT_DLGLOBAL RTLD_GLOBAL
18258 # define LT_DLGLOBAL DL_GLOBAL
18260 # define LT_DLGLOBAL 0
18264 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
18265 find out it does not work in some platform. */
18266 #ifndef LT_DLLAZY_OR_NOW
18268 # define LT_DLLAZY_OR_NOW RTLD_LAZY
18271 # define LT_DLLAZY_OR_NOW DL_LAZY
18274 # define LT_DLLAZY_OR_NOW RTLD_NOW
18277 # define LT_DLLAZY_OR_NOW DL_NOW
18279 # define LT_DLLAZY_OR_NOW 0
18287 extern "C" void exit (int);
18290 void fnord() { int i=42;}
18293 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18294 int status = $lt_dlunknown;
18298 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
18299 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
18300 /* dlclose (self); */
18306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18307 (eval $ac_link) 2>&5
18309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18310 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
18311 (.
/conftest
; exit; ) 2>/dev
/null
18313 case x
$lt_status in
18314 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
18315 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
18316 x
$lt_unknown|x
*) lt_cv_dlopen_self_static
=no
;;
18319 # compilation failed
18320 lt_cv_dlopen_self_static
=no
18327 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
18328 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
18331 CPPFLAGS
="$save_CPPFLAGS"
18332 LDFLAGS
="$save_LDFLAGS"
18337 case $lt_cv_dlopen_self in
18338 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
18339 *) enable_dlopen_self
=unknown
;;
18342 case $lt_cv_dlopen_self_static in
18343 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
18344 *) enable_dlopen_self_static
=unknown
;;
18349 # The else clause should only fire when bootstrapping the
18350 # libtool distribution, otherwise you forgot to ship ltmain.sh
18351 # with your package, and you will get complaints that there are
18352 # no rules to generate ltmain.sh.
18353 if test -f "$ltmain"; then
18354 # See if we are running on zsh, and set the options which allow our commands through
18355 # without removal of \ escapes.
18356 if test -n "${ZSH_VERSION+set}" ; then
18357 setopt NO_GLOB_SUBST
18359 # Now quote all the things that may contain metacharacters while being
18360 # careful not to overquote the AC_SUBSTed values. We take copies of the
18361 # variables and quote the copies for generation of the libtool script.
18362 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
18364 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18365 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18366 deplibs_check_method reload_flag reload_cmds need_locks \
18367 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18368 lt_cv_sys_global_symbol_to_c_name_address \
18369 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18370 old_postinstall_cmds old_postuninstall_cmds \
18374 lt_prog_compiler_wl_GCJ \
18375 lt_prog_compiler_pic_GCJ \
18376 lt_prog_compiler_static_GCJ \
18377 lt_prog_compiler_no_builtin_flag_GCJ \
18378 export_dynamic_flag_spec_GCJ \
18379 thread_safe_flag_spec_GCJ \
18380 whole_archive_flag_spec_GCJ \
18381 enable_shared_with_static_runtimes_GCJ \
18382 old_archive_cmds_GCJ \
18383 old_archive_from_new_cmds_GCJ \
18384 predep_objects_GCJ \
18385 postdep_objects_GCJ \
18388 compiler_lib_search_path_GCJ \
18390 archive_expsym_cmds_GCJ \
18391 postinstall_cmds_GCJ \
18392 postuninstall_cmds_GCJ \
18393 old_archive_from_expsyms_cmds_GCJ \
18394 allow_undefined_flag_GCJ \
18395 no_undefined_flag_GCJ \
18396 export_symbols_cmds_GCJ \
18397 hardcode_libdir_flag_spec_GCJ \
18398 hardcode_libdir_flag_spec_ld_GCJ \
18399 hardcode_libdir_separator_GCJ \
18400 hardcode_automatic_GCJ \
18402 module_expsym_cmds_GCJ \
18403 lt_cv_prog_compiler_c_o_GCJ \
18404 exclude_expsyms_GCJ \
18405 include_expsyms_GCJ
; do
18408 old_archive_cmds_GCJ | \
18409 old_archive_from_new_cmds_GCJ | \
18410 archive_cmds_GCJ | \
18411 archive_expsym_cmds_GCJ | \
18412 module_cmds_GCJ | \
18413 module_expsym_cmds_GCJ | \
18414 old_archive_from_expsyms_cmds_GCJ | \
18415 export_symbols_cmds_GCJ | \
18416 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18417 postinstall_cmds | postuninstall_cmds | \
18418 old_postinstall_cmds | old_postuninstall_cmds | \
18419 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18420 # Double-quote double-evaled strings.
18421 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18424 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18430 *'\$0 --fallback-echo"')
18431 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18437 cat <<__EOF__ >> "$cfgfile"
18438 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18440 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18442 # Shell to use when invoking shell scripts.
18445 # Whether or not to build shared libraries.
18446 build_libtool_libs=$enable_shared
18448 # Whether or not to build static libraries.
18449 build_old_libs=$enable_static
18451 # Whether or not to add -lc for building shared libraries.
18452 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
18454 # Whether or not to disallow shared libs when runtime libs are static
18455 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
18457 # Whether or not to optimize for fast installation.
18458 fast_install=$enable_fast_install
18461 host_alias=$host_alias
18465 # The build system.
18466 build_alias=$build_alias
18470 # An echo program that does not interpret backslashes.
18475 AR_FLAGS=$lt_AR_FLAGS
18480 # A language-specific compiler.
18481 CC=$lt_compiler_GCJ
18483 # Is the compiler the GNU C compiler?
18489 # The linker used to build libraries.
18492 # Whether we need hard or soft links.
18495 # A BSD-compatible nm program.
18498 # A symbol stripping program
18501 # Used to examine libraries when file_magic_cmd begins "file"
18502 MAGIC_CMD=$MAGIC_CMD
18504 # Used on cygwin: DLL creation program.
18507 # Used on cygwin: object dumper.
18510 # Used on cygwin: assembler.
18513 # The name of the directory that contains temporary libtool files.
18516 # How to create reloadable object files.
18517 reload_flag=$lt_reload_flag
18518 reload_cmds=$lt_reload_cmds
18520 # How to pass a linker flag through the compiler.
18521 wl=$lt_lt_prog_compiler_wl_GCJ
18523 # Object file suffix (normally "o").
18524 objext="$ac_objext"
18526 # Old archive suffix (normally "a").
18529 # Shared library suffix (normally ".so").
18530 shrext_cmds='$shrext_cmds'
18532 # Executable file suffix (normally "").
18535 # Additional compiler flags for building library objects.
18536 pic_flag=$lt_lt_prog_compiler_pic_GCJ
18539 # What is the maximum length of a command?
18540 max_cmd_len=$lt_cv_sys_max_cmd_len
18542 # Does compiler simultaneously support -c and -o options?
18543 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
18545 # Must we lock files when doing compilation ?
18546 need_locks=$lt_need_locks
18548 # Do we need the lib prefix for modules?
18549 need_lib_prefix=$need_lib_prefix
18551 # Do we need a version for libraries?
18552 need_version=$need_version
18554 # Whether dlopen is supported.
18555 dlopen_support=$enable_dlopen
18557 # Whether dlopen of programs is supported.
18558 dlopen_self=$enable_dlopen_self
18560 # Whether dlopen of statically linked programs is supported.
18561 dlopen_self_static=$enable_dlopen_self_static
18563 # Compiler flag to prevent dynamic linking.
18564 link_static_flag=$lt_lt_prog_compiler_static_GCJ
18566 # Compiler flag to turn off builtin functions.
18567 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
18569 # Compiler flag to allow reflexive dlopens.
18570 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
18572 # Compiler flag to generate shared objects directly from archives.
18573 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
18575 # Compiler flag to generate thread-safe objects.
18576 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
18578 # Library versioning type.
18579 version_type=$version_type
18581 # Format of library name prefix.
18582 libname_spec=$lt_libname_spec
18584 # List of archive names. First name is the real one, the rest are links.
18585 # The last name is the one that the linker finds with -lNAME.
18586 library_names_spec=$lt_library_names_spec
18588 # The coded name of the library, if different from the real name.
18589 soname_spec=$lt_soname_spec
18591 # Commands used to build and install an old-style archive.
18593 old_archive_cmds=$lt_old_archive_cmds_GCJ
18594 old_postinstall_cmds=$lt_old_postinstall_cmds
18595 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18597 # Create an old-style archive from a shared archive.
18598 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
18600 # Create a temporary old-style archive to link instead of a shared archive.
18601 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
18603 # Commands used to build and install a shared archive.
18604 archive_cmds=$lt_archive_cmds_GCJ
18605 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
18606 postinstall_cmds=$lt_postinstall_cmds
18607 postuninstall_cmds=$lt_postuninstall_cmds
18609 # Commands used to build a loadable module (assumed same as above if empty)
18610 module_cmds=$lt_module_cmds_GCJ
18611 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
18613 # Commands to strip libraries.
18614 old_striplib=$lt_old_striplib
18615 striplib=$lt_striplib
18617 # Dependencies to place before the objects being linked to create a
18619 predep_objects=$lt_predep_objects_GCJ
18621 # Dependencies to place after the objects being linked to create a
18623 postdep_objects=$lt_postdep_objects_GCJ
18625 # Dependencies to place before the objects being linked to create a
18627 predeps=$lt_predeps_GCJ
18629 # Dependencies to place after the objects being linked to create a
18631 postdeps=$lt_postdeps_GCJ
18633 # The library search path used internally by the compiler when linking
18634 # a shared library.
18635 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
18637 # Method to check whether dependent libraries are shared objects.
18638 deplibs_check_method=$lt_deplibs_check_method
18640 # Command to use when deplibs_check_method == file_magic.
18641 file_magic_cmd=$lt_file_magic_cmd
18643 # Flag that allows shared libraries with undefined symbols to be built.
18644 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
18646 # Flag that forces no undefined symbols.
18647 no_undefined_flag=$lt_no_undefined_flag_GCJ
18649 # Commands used to finish a libtool library installation in a directory.
18650 finish_cmds=$lt_finish_cmds
18652 # Same as above, but a single script fragment to be evaled but not shown.
18653 finish_eval=$lt_finish_eval
18655 # Take the output of nm and produce a listing of raw symbols and C names.
18656 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18658 # Transform the output of nm in a proper C declaration
18659 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18661 # Transform the output of nm in a C name address pair
18662 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18664 # This is the shared library runtime path variable.
18665 runpath_var=$runpath_var
18667 # This is the shared library path variable.
18668 shlibpath_var=$shlibpath_var
18670 # Is shlibpath searched before the hard-coded library search path?
18671 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18673 # How to hardcode a shared library path into an executable.
18674 hardcode_action=$hardcode_action_GCJ
18676 # Whether we should hardcode library paths into libraries.
18677 hardcode_into_libs=$hardcode_into_libs
18679 # Flag to hardcode \$libdir into a binary during linking.
18680 # This must work even if \$libdir does not exist.
18681 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
18683 # If ld is used when linking, flag to hardcode \$libdir into
18684 # a binary during linking. This must work even if \$libdir does
18686 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
18688 # Whether we need a single -rpath flag with a separated argument.
18689 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
18691 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18692 # resulting binary.
18693 hardcode_direct=$hardcode_direct_GCJ
18695 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18696 # resulting binary.
18697 hardcode_minus_L=$hardcode_minus_L_GCJ
18699 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18700 # the resulting binary.
18701 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
18703 # Set to yes if building a shared library automatically hardcodes DIR into the library
18704 # and all subsequent libraries and executables linked against it.
18705 hardcode_automatic=$hardcode_automatic_GCJ
18707 # Variables whose values should be saved in libtool wrapper scripts and
18708 # restored at relink time.
18709 variables_saved_for_relink="$variables_saved_for_relink"
18711 # Whether libtool must link a program against all its dependency libraries.
18712 link_all_deplibs=$link_all_deplibs_GCJ
18714 # Compile-time system search path for libraries
18715 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18717 # Run-time system search path for libraries
18718 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18720 # Fix the shell variable \$srcfile for the compiler.
18721 fix_srcfile_path="$fix_srcfile_path_GCJ"
18723 # Set to yes if exported symbols are required.
18724 always_export_symbols=$always_export_symbols_GCJ
18726 # The commands to list exported symbols.
18727 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
18729 # The commands to extract the exported symbol list from a shared archive.
18730 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18732 # Symbols that should not be listed in the preloaded symbols.
18733 exclude_expsyms=$lt_exclude_expsyms_GCJ
18735 # Symbols that must always be exported.
18736 include_expsyms=$lt_include_expsyms_GCJ
18738 # ### END LIBTOOL TAG CONFIG: $tagname
18744 # If there is no Makefile yet, we rely on a make rule to execute
18745 # `config.status --recheck' to rerun these tests and create the
18746 # libtool script then.
18747 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18748 if test -f "$ltmain_in"; then
18749 test -f Makefile
&& make "$ltmain"
18755 ac_cpp
='$CPP $CPPFLAGS'
18756 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18757 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18758 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18771 # Source file extension for RC test sources.
18774 # Object file extension for compiled RC test sources.
18778 # Code to be used in simple compile tests
18779 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
18781 # Code to be used in simple link tests
18782 lt_simple_link_test_code
="$lt_simple_compile_test_code"
18784 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18786 # If no C compiler was specified, use CC.
18789 # Allow CC to be a program name with arguments.
18793 # Allow CC to be a program name with arguments.
18798 lt_cv_prog_compiler_c_o_RC
=yes
18800 # The else clause should only fire when bootstrapping the
18801 # libtool distribution, otherwise you forgot to ship ltmain.sh
18802 # with your package, and you will get complaints that there are
18803 # no rules to generate ltmain.sh.
18804 if test -f "$ltmain"; then
18805 # See if we are running on zsh, and set the options which allow our commands through
18806 # without removal of \ escapes.
18807 if test -n "${ZSH_VERSION+set}" ; then
18808 setopt NO_GLOB_SUBST
18810 # Now quote all the things that may contain metacharacters while being
18811 # careful not to overquote the AC_SUBSTed values. We take copies of the
18812 # variables and quote the copies for generation of the libtool script.
18813 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
18815 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18816 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18817 deplibs_check_method reload_flag reload_cmds need_locks \
18818 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18819 lt_cv_sys_global_symbol_to_c_name_address \
18820 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18821 old_postinstall_cmds old_postuninstall_cmds \
18825 lt_prog_compiler_wl_RC \
18826 lt_prog_compiler_pic_RC \
18827 lt_prog_compiler_static_RC \
18828 lt_prog_compiler_no_builtin_flag_RC \
18829 export_dynamic_flag_spec_RC \
18830 thread_safe_flag_spec_RC \
18831 whole_archive_flag_spec_RC \
18832 enable_shared_with_static_runtimes_RC \
18833 old_archive_cmds_RC \
18834 old_archive_from_new_cmds_RC \
18835 predep_objects_RC \
18836 postdep_objects_RC \
18839 compiler_lib_search_path_RC \
18841 archive_expsym_cmds_RC \
18842 postinstall_cmds_RC \
18843 postuninstall_cmds_RC \
18844 old_archive_from_expsyms_cmds_RC \
18845 allow_undefined_flag_RC \
18846 no_undefined_flag_RC \
18847 export_symbols_cmds_RC \
18848 hardcode_libdir_flag_spec_RC \
18849 hardcode_libdir_flag_spec_ld_RC \
18850 hardcode_libdir_separator_RC \
18851 hardcode_automatic_RC \
18853 module_expsym_cmds_RC \
18854 lt_cv_prog_compiler_c_o_RC \
18855 exclude_expsyms_RC \
18856 include_expsyms_RC
; do
18859 old_archive_cmds_RC | \
18860 old_archive_from_new_cmds_RC | \
18861 archive_cmds_RC | \
18862 archive_expsym_cmds_RC | \
18864 module_expsym_cmds_RC | \
18865 old_archive_from_expsyms_cmds_RC | \
18866 export_symbols_cmds_RC | \
18867 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18868 postinstall_cmds | postuninstall_cmds | \
18869 old_postinstall_cmds | old_postuninstall_cmds | \
18870 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18871 # Double-quote double-evaled strings.
18872 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18875 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18881 *'\$0 --fallback-echo"')
18882 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18888 cat <<__EOF__ >> "$cfgfile"
18889 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18891 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18893 # Shell to use when invoking shell scripts.
18896 # Whether or not to build shared libraries.
18897 build_libtool_libs=$enable_shared
18899 # Whether or not to build static libraries.
18900 build_old_libs=$enable_static
18902 # Whether or not to add -lc for building shared libraries.
18903 build_libtool_need_lc=$archive_cmds_need_lc_RC
18905 # Whether or not to disallow shared libs when runtime libs are static
18906 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
18908 # Whether or not to optimize for fast installation.
18909 fast_install=$enable_fast_install
18912 host_alias=$host_alias
18916 # The build system.
18917 build_alias=$build_alias
18921 # An echo program that does not interpret backslashes.
18926 AR_FLAGS=$lt_AR_FLAGS
18931 # A language-specific compiler.
18934 # Is the compiler the GNU C compiler?
18940 # The linker used to build libraries.
18943 # Whether we need hard or soft links.
18946 # A BSD-compatible nm program.
18949 # A symbol stripping program
18952 # Used to examine libraries when file_magic_cmd begins "file"
18953 MAGIC_CMD=$MAGIC_CMD
18955 # Used on cygwin: DLL creation program.
18958 # Used on cygwin: object dumper.
18961 # Used on cygwin: assembler.
18964 # The name of the directory that contains temporary libtool files.
18967 # How to create reloadable object files.
18968 reload_flag=$lt_reload_flag
18969 reload_cmds=$lt_reload_cmds
18971 # How to pass a linker flag through the compiler.
18972 wl=$lt_lt_prog_compiler_wl_RC
18974 # Object file suffix (normally "o").
18975 objext="$ac_objext"
18977 # Old archive suffix (normally "a").
18980 # Shared library suffix (normally ".so").
18981 shrext_cmds='$shrext_cmds'
18983 # Executable file suffix (normally "").
18986 # Additional compiler flags for building library objects.
18987 pic_flag=$lt_lt_prog_compiler_pic_RC
18990 # What is the maximum length of a command?
18991 max_cmd_len=$lt_cv_sys_max_cmd_len
18993 # Does compiler simultaneously support -c and -o options?
18994 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
18996 # Must we lock files when doing compilation ?
18997 need_locks=$lt_need_locks
18999 # Do we need the lib prefix for modules?
19000 need_lib_prefix=$need_lib_prefix
19002 # Do we need a version for libraries?
19003 need_version=$need_version
19005 # Whether dlopen is supported.
19006 dlopen_support=$enable_dlopen
19008 # Whether dlopen of programs is supported.
19009 dlopen_self=$enable_dlopen_self
19011 # Whether dlopen of statically linked programs is supported.
19012 dlopen_self_static=$enable_dlopen_self_static
19014 # Compiler flag to prevent dynamic linking.
19015 link_static_flag=$lt_lt_prog_compiler_static_RC
19017 # Compiler flag to turn off builtin functions.
19018 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19020 # Compiler flag to allow reflexive dlopens.
19021 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19023 # Compiler flag to generate shared objects directly from archives.
19024 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19026 # Compiler flag to generate thread-safe objects.
19027 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19029 # Library versioning type.
19030 version_type=$version_type
19032 # Format of library name prefix.
19033 libname_spec=$lt_libname_spec
19035 # List of archive names. First name is the real one, the rest are links.
19036 # The last name is the one that the linker finds with -lNAME.
19037 library_names_spec=$lt_library_names_spec
19039 # The coded name of the library, if different from the real name.
19040 soname_spec=$lt_soname_spec
19042 # Commands used to build and install an old-style archive.
19044 old_archive_cmds=$lt_old_archive_cmds_RC
19045 old_postinstall_cmds=$lt_old_postinstall_cmds
19046 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19048 # Create an old-style archive from a shared archive.
19049 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19051 # Create a temporary old-style archive to link instead of a shared archive.
19052 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19054 # Commands used to build and install a shared archive.
19055 archive_cmds=$lt_archive_cmds_RC
19056 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19057 postinstall_cmds=$lt_postinstall_cmds
19058 postuninstall_cmds=$lt_postuninstall_cmds
19060 # Commands used to build a loadable module (assumed same as above if empty)
19061 module_cmds=$lt_module_cmds_RC
19062 module_expsym_cmds=$lt_module_expsym_cmds_RC
19064 # Commands to strip libraries.
19065 old_striplib=$lt_old_striplib
19066 striplib=$lt_striplib
19068 # Dependencies to place before the objects being linked to create a
19070 predep_objects=$lt_predep_objects_RC
19072 # Dependencies to place after the objects being linked to create a
19074 postdep_objects=$lt_postdep_objects_RC
19076 # Dependencies to place before the objects being linked to create a
19078 predeps=$lt_predeps_RC
19080 # Dependencies to place after the objects being linked to create a
19082 postdeps=$lt_postdeps_RC
19084 # The library search path used internally by the compiler when linking
19085 # a shared library.
19086 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19088 # Method to check whether dependent libraries are shared objects.
19089 deplibs_check_method=$lt_deplibs_check_method
19091 # Command to use when deplibs_check_method == file_magic.
19092 file_magic_cmd=$lt_file_magic_cmd
19094 # Flag that allows shared libraries with undefined symbols to be built.
19095 allow_undefined_flag=$lt_allow_undefined_flag_RC
19097 # Flag that forces no undefined symbols.
19098 no_undefined_flag=$lt_no_undefined_flag_RC
19100 # Commands used to finish a libtool library installation in a directory.
19101 finish_cmds=$lt_finish_cmds
19103 # Same as above, but a single script fragment to be evaled but not shown.
19104 finish_eval=$lt_finish_eval
19106 # Take the output of nm and produce a listing of raw symbols and C names.
19107 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19109 # Transform the output of nm in a proper C declaration
19110 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19112 # Transform the output of nm in a C name address pair
19113 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19115 # This is the shared library runtime path variable.
19116 runpath_var=$runpath_var
19118 # This is the shared library path variable.
19119 shlibpath_var=$shlibpath_var
19121 # Is shlibpath searched before the hard-coded library search path?
19122 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19124 # How to hardcode a shared library path into an executable.
19125 hardcode_action=$hardcode_action_RC
19127 # Whether we should hardcode library paths into libraries.
19128 hardcode_into_libs=$hardcode_into_libs
19130 # Flag to hardcode \$libdir into a binary during linking.
19131 # This must work even if \$libdir does not exist.
19132 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19134 # If ld is used when linking, flag to hardcode \$libdir into
19135 # a binary during linking. This must work even if \$libdir does
19137 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19139 # Whether we need a single -rpath flag with a separated argument.
19140 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19142 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19143 # resulting binary.
19144 hardcode_direct=$hardcode_direct_RC
19146 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19147 # resulting binary.
19148 hardcode_minus_L=$hardcode_minus_L_RC
19150 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19151 # the resulting binary.
19152 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19154 # Set to yes if building a shared library automatically hardcodes DIR into the library
19155 # and all subsequent libraries and executables linked against it.
19156 hardcode_automatic=$hardcode_automatic_RC
19158 # Variables whose values should be saved in libtool wrapper scripts and
19159 # restored at relink time.
19160 variables_saved_for_relink="$variables_saved_for_relink"
19162 # Whether libtool must link a program against all its dependency libraries.
19163 link_all_deplibs=$link_all_deplibs_RC
19165 # Compile-time system search path for libraries
19166 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19168 # Run-time system search path for libraries
19169 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19171 # Fix the shell variable \$srcfile for the compiler.
19172 fix_srcfile_path="$fix_srcfile_path_RC"
19174 # Set to yes if exported symbols are required.
19175 always_export_symbols=$always_export_symbols_RC
19177 # The commands to list exported symbols.
19178 export_symbols_cmds=$lt_export_symbols_cmds_RC
19180 # The commands to extract the exported symbol list from a shared archive.
19181 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19183 # Symbols that should not be listed in the preloaded symbols.
19184 exclude_expsyms=$lt_exclude_expsyms_RC
19186 # Symbols that must always be exported.
19187 include_expsyms=$lt_include_expsyms_RC
19189 # ### END LIBTOOL TAG CONFIG: $tagname
19195 # If there is no Makefile yet, we rely on a make rule to execute
19196 # `config.status --recheck' to rerun these tests and create the
19197 # libtool script then.
19198 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19199 if test -f "$ltmain_in"; then
19200 test -f Makefile
&& make "$ltmain"
19206 ac_cpp
='$CPP $CPPFLAGS'
19207 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19208 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19209 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19216 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19217 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19218 { (exit 1); exit 1; }; }
19222 # Append the new tag name to the list of available tags.
19223 if test -n "$tagname" ; then
19224 available_tags
="$available_tags $tagname"
19230 # Now substitute the updated list of available tags.
19231 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19232 mv "${ofile}T" "$ofile"
19236 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19237 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19238 { (exit 1); exit 1; }; }
19244 # This can be used to rebuild libtool when needed
19245 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
19247 # Always use our own libtool.
19248 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
19250 # Prevent multiple expansion
19272 if test "X$prefix" = "XNONE"; then
19273 acl_final_prefix
="$ac_default_prefix"
19275 acl_final_prefix
="$prefix"
19277 if test "X$exec_prefix" = "XNONE"; then
19278 acl_final_exec_prefix
='${prefix}'
19280 acl_final_exec_prefix
="$exec_prefix"
19282 acl_save_prefix
="$prefix"
19283 prefix
="$acl_final_prefix"
19284 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
19285 prefix
="$acl_save_prefix"
19288 # Check whether --with-gnu-ld or --without-gnu-ld was given.
19289 if test "${with_gnu_ld+set}" = set; then
19290 withval
="$with_gnu_ld"
19291 test "$withval" = no || with_gnu_ld
=yes
19295 # Prepare PATH_SEPARATOR.
19296 # The user is always right.
19297 if test "${PATH_SEPARATOR+set}" != set; then
19298 echo "#! /bin/sh" >conf$$.sh
19299 echo "exit 0" >>conf$$.sh
19301 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
19309 if test "$GCC" = yes; then
19310 # Check if gcc -print-prog-name=ld gives a path.
19311 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
19312 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
19315 # gcc leaves a trailing carriage return which upsets mingw
19316 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
19318 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
19321 # Accept absolute paths.
19322 [\\/]* |
[A-Za-z
]:[\\/]*)
19323 re_direlt
='/[^/][^/]*/\.\./'
19324 # Canonicalize the path of ld
19325 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
19326 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
19327 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
19329 test -z "$LD" && LD
="$ac_prog"
19332 # If it fails, then pretend we aren't using GCC.
19336 # If it is relative, then search for the first ld in PATH.
19337 with_gnu_ld
=unknown
19340 elif test "$with_gnu_ld" = yes; then
19341 echo "$as_me:$LINENO: checking for GNU ld" >&5
19342 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
19344 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
19345 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
19347 if test "${acl_cv_path_LD+set}" = set; then
19348 echo $ECHO_N "(cached) $ECHO_C" >&6
19350 if test -z "$LD"; then
19351 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
19352 for ac_dir
in $PATH; do
19353 test -z "$ac_dir" && ac_dir
=.
19354 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
19355 acl_cv_path_LD
="$ac_dir/$ac_prog"
19356 # Check to see if the program is GNU ld. I'd rather use --version,
19357 # but apparently some GNU ld's only accept -v.
19358 # Break only if it was the GNU/non-GNU ld that we prefer.
19359 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
19360 *GNU
* |
*'with BFD'*)
19361 test "$with_gnu_ld" != no
&& break ;;
19363 test "$with_gnu_ld" != yes && break ;;
19369 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
19373 LD
="$acl_cv_path_LD"
19374 if test -n "$LD"; then
19375 echo "$as_me:$LINENO: result: $LD" >&5
19376 echo "${ECHO_T}$LD" >&6
19378 echo "$as_me:$LINENO: result: no" >&5
19379 echo "${ECHO_T}no" >&6
19381 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
19382 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
19383 { (exit 1); exit 1; }; }
19384 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
19385 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
19386 if test "${acl_cv_prog_gnu_ld+set}" = set; then
19387 echo $ECHO_N "(cached) $ECHO_C" >&6
19389 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
19390 case `$LD -v 2>&1 </dev/null` in
19391 *GNU
* |
*'with BFD'*)
19392 acl_cv_prog_gnu_ld
=yes ;;
19394 acl_cv_prog_gnu_ld
=no
;;
19397 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
19398 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
19399 with_gnu_ld
=$acl_cv_prog_gnu_ld
19404 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
19405 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
19406 if test "${acl_cv_rpath+set}" = set; then
19407 echo $ECHO_N "(cached) $ECHO_C" >&6
19410 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
19411 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
19413 rm -f .
/conftest.sh
19417 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
19418 echo "${ECHO_T}$acl_cv_rpath" >&6
19420 libext
="$acl_cv_libext"
19421 shlibext
="$acl_cv_shlibext"
19422 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
19423 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
19424 hardcode_direct
="$acl_cv_hardcode_direct"
19425 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
19426 # Check whether --enable-rpath or --disable-rpath was given.
19427 if test "${enable_rpath+set}" = set; then
19428 enableval
="$enable_rpath"
19439 echo "$as_me:$LINENO: checking how to link with librpathx" >&5
19440 echo $ECHO_N "checking how to link with librpathx... $ECHO_C" >&6
19441 if test "${ac_cv_librpathx_libs+set}" = set; then
19442 echo $ECHO_N "(cached) $ECHO_C" >&6
19449 acl_save_prefix
="$prefix"
19450 prefix
="$acl_final_prefix"
19451 acl_save_exec_prefix
="$exec_prefix"
19452 exec_prefix
="$acl_final_exec_prefix"
19454 eval additional_includedir
=\"$includedir\"
19455 eval additional_libdir
=\"$libdir\"
19457 exec_prefix
="$acl_save_exec_prefix"
19458 prefix
="$acl_save_prefix"
19461 # Check whether --with-librpathx-prefix or --without-librpathx-prefix was given.
19462 if test "${with_librpathx_prefix+set}" = set; then
19463 withval
="$with_librpathx_prefix"
19465 if test "X$withval" = "Xno"; then
19468 if test "X$withval" = "X"; then
19470 acl_save_prefix
="$prefix"
19471 prefix
="$acl_final_prefix"
19472 acl_save_exec_prefix
="$exec_prefix"
19473 exec_prefix
="$acl_final_exec_prefix"
19475 eval additional_includedir
=\"$includedir\"
19476 eval additional_libdir
=\"$libdir\"
19478 exec_prefix
="$acl_save_exec_prefix"
19479 prefix
="$acl_save_prefix"
19482 additional_includedir
="$withval/include"
19483 additional_libdir
="$withval/lib"
19493 names_already_handled
=
19494 names_next_round
='rpathx '
19495 while test -n "$names_next_round"; do
19496 names_this_round
="$names_next_round"
19498 for name
in $names_this_round; do
19500 for n
in $names_already_handled; do
19501 if test "$n" = "$name"; then
19502 already_handled
=yes
19506 if test -z "$already_handled"; then
19507 names_already_handled
="$names_already_handled $name"
19508 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
19509 eval value
=\"\
$HAVE_LIB$uppername\"
19510 if test -n "$value"; then
19511 if test "$value" = yes; then
19512 eval value
=\"\
$LIB$uppername\"
19513 test -z "$value" || LIBRPATHX
="${LIBRPATHX}${LIBRPATHX:+ }$value"
19514 eval value
=\"\
$LTLIB$uppername\"
19515 test -z "$value" || LTLIBRPATHX
="${LTLIBRPATHX}${LTLIBRPATHX:+ }$value"
19524 if test $use_additional = yes; then
19525 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
19526 found_dir
="$additional_libdir"
19527 found_so
="$additional_libdir/lib$name.$shlibext"
19528 if test -f "$additional_libdir/lib$name.la"; then
19529 found_la
="$additional_libdir/lib$name.la"
19532 if test -f "$additional_libdir/lib$name.$libext"; then
19533 found_dir
="$additional_libdir"
19534 found_a
="$additional_libdir/lib$name.$libext"
19535 if test -f "$additional_libdir/lib$name.la"; then
19536 found_la
="$additional_libdir/lib$name.la"
19541 if test "X$found_dir" = "X"; then
19542 for x
in $LDFLAGS $LTLIBRPATHX; do
19544 acl_save_prefix
="$prefix"
19545 prefix
="$acl_final_prefix"
19546 acl_save_exec_prefix
="$exec_prefix"
19547 exec_prefix
="$acl_final_exec_prefix"
19549 exec_prefix
="$acl_save_exec_prefix"
19550 prefix
="$acl_save_prefix"
19554 dir
=`echo "X$x" | sed -e 's/^X-L//'`
19555 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
19557 found_so
="$dir/lib$name.$shlibext"
19558 if test -f "$dir/lib$name.la"; then
19559 found_la
="$dir/lib$name.la"
19562 if test -f "$dir/lib$name.$libext"; then
19564 found_a
="$dir/lib$name.$libext"
19565 if test -f "$dir/lib$name.la"; then
19566 found_la
="$dir/lib$name.la"
19572 if test "X$found_dir" != "X"; then
19577 if test "X$found_dir" != "X"; then
19578 LTLIBRPATHX
="${LTLIBRPATHX}${LTLIBRPATHX:+ }-L$found_dir -l$name"
19579 if test "X$found_so" != "X"; then
19580 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
19581 LIBRPATHX
="${LIBRPATHX}${LIBRPATHX:+ }$found_so"
19584 for x
in $ltrpathdirs; do
19585 if test "X$x" = "X$found_dir"; then
19590 if test -z "$haveit"; then
19591 ltrpathdirs
="$ltrpathdirs $found_dir"
19593 if test "$hardcode_direct" = yes; then
19594 LIBRPATHX
="${LIBRPATHX}${LIBRPATHX:+ }$found_so"
19596 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
19597 LIBRPATHX
="${LIBRPATHX}${LIBRPATHX:+ }$found_so"
19599 for x
in $rpathdirs; do
19600 if test "X$x" = "X$found_dir"; then
19605 if test -z "$haveit"; then
19606 rpathdirs
="$rpathdirs $found_dir"
19610 for x
in $LDFLAGS $LIBRPATHX; do
19612 acl_save_prefix
="$prefix"
19613 prefix
="$acl_final_prefix"
19614 acl_save_exec_prefix
="$exec_prefix"
19615 exec_prefix
="$acl_final_exec_prefix"
19617 exec_prefix
="$acl_save_exec_prefix"
19618 prefix
="$acl_save_prefix"
19620 if test "X$x" = "X-L$found_dir"; then
19625 if test -z "$haveit"; then
19626 LIBRPATHX
="${LIBRPATHX}${LIBRPATHX:+ }-L$found_dir"
19628 if test "$hardcode_minus_L" != no
; then
19629 LIBRPATHX
="${LIBRPATHX}${LIBRPATHX:+ }$found_so"
19631 LIBRPATHX
="${LIBRPATHX}${LIBRPATHX:+ }-l$name"
19637 if test "X$found_a" != "X"; then
19638 LIBRPATHX
="${LIBRPATHX}${LIBRPATHX:+ }$found_a"
19640 LIBRPATHX
="${LIBRPATHX}${LIBRPATHX:+ }-L$found_dir -l$name"
19643 additional_includedir
=
19644 case "$found_dir" in
19646 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
19647 additional_includedir
="$basedir/include"
19650 if test "X$additional_includedir" != "X"; then
19651 if test "X$additional_includedir" != "X/usr/include"; then
19653 if test "X$additional_includedir" = "X/usr/local/include"; then
19654 if test -n "$GCC"; then
19656 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
19660 if test -z "$haveit"; then
19661 for x
in $CPPFLAGS $INCRPATHX; do
19663 acl_save_prefix
="$prefix"
19664 prefix
="$acl_final_prefix"
19665 acl_save_exec_prefix
="$exec_prefix"
19666 exec_prefix
="$acl_final_exec_prefix"
19668 exec_prefix
="$acl_save_exec_prefix"
19669 prefix
="$acl_save_prefix"
19671 if test "X$x" = "X-I$additional_includedir"; then
19676 if test -z "$haveit"; then
19677 if test -d "$additional_includedir"; then
19678 INCRPATHX
="${INCRPATHX}${INCRPATHX:+ }-I$additional_includedir"
19684 if test -n "$found_la"; then
19685 save_libdir
="$libdir"
19686 case "$found_la" in
19687 */* |
*\\*) .
"$found_la" ;;
19688 *) .
"./$found_la" ;;
19690 libdir
="$save_libdir"
19691 for dep
in $dependency_libs; do
19694 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
19695 if test "X$additional_libdir" != "X/usr/lib"; then
19697 if test "X$additional_libdir" = "X/usr/local/lib"; then
19698 if test -n "$GCC"; then
19700 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
19704 if test -z "$haveit"; then
19706 for x
in $LDFLAGS $LIBRPATHX; do
19708 acl_save_prefix
="$prefix"
19709 prefix
="$acl_final_prefix"
19710 acl_save_exec_prefix
="$exec_prefix"
19711 exec_prefix
="$acl_final_exec_prefix"
19713 exec_prefix
="$acl_save_exec_prefix"
19714 prefix
="$acl_save_prefix"
19716 if test "X$x" = "X-L$additional_libdir"; then
19721 if test -z "$haveit"; then
19722 if test -d "$additional_libdir"; then
19723 LIBRPATHX
="${LIBRPATHX}${LIBRPATHX:+ }-L$additional_libdir"
19727 for x
in $LDFLAGS $LTLIBRPATHX; do
19729 acl_save_prefix
="$prefix"
19730 prefix
="$acl_final_prefix"
19731 acl_save_exec_prefix
="$exec_prefix"
19732 exec_prefix
="$acl_final_exec_prefix"
19734 exec_prefix
="$acl_save_exec_prefix"
19735 prefix
="$acl_save_prefix"
19737 if test "X$x" = "X-L$additional_libdir"; then
19742 if test -z "$haveit"; then
19743 if test -d "$additional_libdir"; then
19744 LTLIBRPATHX
="${LTLIBRPATHX}${LTLIBRPATHX:+ }-L$additional_libdir"
19751 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
19752 if test "$enable_rpath" != no
; then
19754 for x
in $rpathdirs; do
19755 if test "X$x" = "X$dir"; then
19760 if test -z "$haveit"; then
19761 rpathdirs
="$rpathdirs $dir"
19764 for x
in $ltrpathdirs; do
19765 if test "X$x" = "X$dir"; then
19770 if test -z "$haveit"; then
19771 ltrpathdirs
="$ltrpathdirs $dir"
19776 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
19779 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
19782 LIBRPATHX
="${LIBRPATHX}${LIBRPATHX:+ }$dep"
19783 LTLIBRPATHX
="${LTLIBRPATHX}${LTLIBRPATHX:+ }$dep"
19789 LIBRPATHX
="${LIBRPATHX}${LIBRPATHX:+ }-l$name"
19790 LTLIBRPATHX
="${LTLIBRPATHX}${LTLIBRPATHX:+ }-l$name"
19796 if test "X$rpathdirs" != "X"; then
19797 if test -n "$hardcode_libdir_separator"; then
19799 for found_dir
in $rpathdirs; do
19800 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
19802 acl_save_libdir
="$libdir"
19804 eval flag
=\"$hardcode_libdir_flag_spec\"
19805 libdir
="$acl_save_libdir"
19806 LIBRPATHX
="${LIBRPATHX}${LIBRPATHX:+ }$flag"
19808 for found_dir
in $rpathdirs; do
19809 acl_save_libdir
="$libdir"
19810 libdir
="$found_dir"
19811 eval flag
=\"$hardcode_libdir_flag_spec\"
19812 libdir
="$acl_save_libdir"
19813 LIBRPATHX
="${LIBRPATHX}${LIBRPATHX:+ }$flag"
19817 if test "X$ltrpathdirs" != "X"; then
19818 for found_dir
in $ltrpathdirs; do
19819 LTLIBRPATHX
="${LTLIBRPATHX}${LTLIBRPATHX:+ }-R$found_dir"
19823 ac_cv_librpathx_libs
="$LIBRPATHX"
19824 ac_cv_librpathx_ltlibs
="$LTLIBRPATHX"
19825 ac_cv_librpathx_cppflags
="$INCRPATHX"
19828 echo "$as_me:$LINENO: result: $ac_cv_librpathx_libs" >&5
19829 echo "${ECHO_T}$ac_cv_librpathx_libs" >&6
19830 LIBRPATHX
="$ac_cv_librpathx_libs"
19831 LTLIBRPATHX
="$ac_cv_librpathx_ltlibs"
19832 INCRPATHX
="$ac_cv_librpathx_cppflags"
19834 for element
in $INCRPATHX; do
19836 for x
in $CPPFLAGS; do
19838 acl_save_prefix
="$prefix"
19839 prefix
="$acl_final_prefix"
19840 acl_save_exec_prefix
="$exec_prefix"
19841 exec_prefix
="$acl_final_exec_prefix"
19843 exec_prefix
="$acl_save_exec_prefix"
19844 prefix
="$acl_save_prefix"
19846 if test "X$x" = "X$element"; then
19851 if test -z "$haveit"; then
19852 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
19867 echo "$as_me:$LINENO: checking how to link with librpathy" >&5
19868 echo $ECHO_N "checking how to link with librpathy... $ECHO_C" >&6
19869 if test "${ac_cv_librpathy_libs+set}" = set; then
19870 echo $ECHO_N "(cached) $ECHO_C" >&6
19877 acl_save_prefix
="$prefix"
19878 prefix
="$acl_final_prefix"
19879 acl_save_exec_prefix
="$exec_prefix"
19880 exec_prefix
="$acl_final_exec_prefix"
19882 eval additional_includedir
=\"$includedir\"
19883 eval additional_libdir
=\"$libdir\"
19885 exec_prefix
="$acl_save_exec_prefix"
19886 prefix
="$acl_save_prefix"
19889 # Check whether --with-librpathy-prefix or --without-librpathy-prefix was given.
19890 if test "${with_librpathy_prefix+set}" = set; then
19891 withval
="$with_librpathy_prefix"
19893 if test "X$withval" = "Xno"; then
19896 if test "X$withval" = "X"; then
19898 acl_save_prefix
="$prefix"
19899 prefix
="$acl_final_prefix"
19900 acl_save_exec_prefix
="$exec_prefix"
19901 exec_prefix
="$acl_final_exec_prefix"
19903 eval additional_includedir
=\"$includedir\"
19904 eval additional_libdir
=\"$libdir\"
19906 exec_prefix
="$acl_save_exec_prefix"
19907 prefix
="$acl_save_prefix"
19910 additional_includedir
="$withval/include"
19911 additional_libdir
="$withval/lib"
19921 names_already_handled
=
19922 names_next_round
='rpathy rpathx'
19923 while test -n "$names_next_round"; do
19924 names_this_round
="$names_next_round"
19926 for name
in $names_this_round; do
19928 for n
in $names_already_handled; do
19929 if test "$n" = "$name"; then
19930 already_handled
=yes
19934 if test -z "$already_handled"; then
19935 names_already_handled
="$names_already_handled $name"
19936 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
19937 eval value
=\"\
$HAVE_LIB$uppername\"
19938 if test -n "$value"; then
19939 if test "$value" = yes; then
19940 eval value
=\"\
$LIB$uppername\"
19941 test -z "$value" || LIBRPATHY
="${LIBRPATHY}${LIBRPATHY:+ }$value"
19942 eval value
=\"\
$LTLIB$uppername\"
19943 test -z "$value" || LTLIBRPATHY
="${LTLIBRPATHY}${LTLIBRPATHY:+ }$value"
19952 if test $use_additional = yes; then
19953 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
19954 found_dir
="$additional_libdir"
19955 found_so
="$additional_libdir/lib$name.$shlibext"
19956 if test -f "$additional_libdir/lib$name.la"; then
19957 found_la
="$additional_libdir/lib$name.la"
19960 if test -f "$additional_libdir/lib$name.$libext"; then
19961 found_dir
="$additional_libdir"
19962 found_a
="$additional_libdir/lib$name.$libext"
19963 if test -f "$additional_libdir/lib$name.la"; then
19964 found_la
="$additional_libdir/lib$name.la"
19969 if test "X$found_dir" = "X"; then
19970 for x
in $LDFLAGS $LTLIBRPATHY; do
19972 acl_save_prefix
="$prefix"
19973 prefix
="$acl_final_prefix"
19974 acl_save_exec_prefix
="$exec_prefix"
19975 exec_prefix
="$acl_final_exec_prefix"
19977 exec_prefix
="$acl_save_exec_prefix"
19978 prefix
="$acl_save_prefix"
19982 dir
=`echo "X$x" | sed -e 's/^X-L//'`
19983 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
19985 found_so
="$dir/lib$name.$shlibext"
19986 if test -f "$dir/lib$name.la"; then
19987 found_la
="$dir/lib$name.la"
19990 if test -f "$dir/lib$name.$libext"; then
19992 found_a
="$dir/lib$name.$libext"
19993 if test -f "$dir/lib$name.la"; then
19994 found_la
="$dir/lib$name.la"
20000 if test "X$found_dir" != "X"; then
20005 if test "X$found_dir" != "X"; then
20006 LTLIBRPATHY
="${LTLIBRPATHY}${LTLIBRPATHY:+ }-L$found_dir -l$name"
20007 if test "X$found_so" != "X"; then
20008 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
20009 LIBRPATHY
="${LIBRPATHY}${LIBRPATHY:+ }$found_so"
20012 for x
in $ltrpathdirs; do
20013 if test "X$x" = "X$found_dir"; then
20018 if test -z "$haveit"; then
20019 ltrpathdirs
="$ltrpathdirs $found_dir"
20021 if test "$hardcode_direct" = yes; then
20022 LIBRPATHY
="${LIBRPATHY}${LIBRPATHY:+ }$found_so"
20024 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
20025 LIBRPATHY
="${LIBRPATHY}${LIBRPATHY:+ }$found_so"
20027 for x
in $rpathdirs; do
20028 if test "X$x" = "X$found_dir"; then
20033 if test -z "$haveit"; then
20034 rpathdirs
="$rpathdirs $found_dir"
20038 for x
in $LDFLAGS $LIBRPATHY; do
20040 acl_save_prefix
="$prefix"
20041 prefix
="$acl_final_prefix"
20042 acl_save_exec_prefix
="$exec_prefix"
20043 exec_prefix
="$acl_final_exec_prefix"
20045 exec_prefix
="$acl_save_exec_prefix"
20046 prefix
="$acl_save_prefix"
20048 if test "X$x" = "X-L$found_dir"; then
20053 if test -z "$haveit"; then
20054 LIBRPATHY
="${LIBRPATHY}${LIBRPATHY:+ }-L$found_dir"
20056 if test "$hardcode_minus_L" != no
; then
20057 LIBRPATHY
="${LIBRPATHY}${LIBRPATHY:+ }$found_so"
20059 LIBRPATHY
="${LIBRPATHY}${LIBRPATHY:+ }-l$name"
20065 if test "X$found_a" != "X"; then
20066 LIBRPATHY
="${LIBRPATHY}${LIBRPATHY:+ }$found_a"
20068 LIBRPATHY
="${LIBRPATHY}${LIBRPATHY:+ }-L$found_dir -l$name"
20071 additional_includedir
=
20072 case "$found_dir" in
20074 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
20075 additional_includedir
="$basedir/include"
20078 if test "X$additional_includedir" != "X"; then
20079 if test "X$additional_includedir" != "X/usr/include"; then
20081 if test "X$additional_includedir" = "X/usr/local/include"; then
20082 if test -n "$GCC"; then
20084 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
20088 if test -z "$haveit"; then
20089 for x
in $CPPFLAGS $INCRPATHY; do
20091 acl_save_prefix
="$prefix"
20092 prefix
="$acl_final_prefix"
20093 acl_save_exec_prefix
="$exec_prefix"
20094 exec_prefix
="$acl_final_exec_prefix"
20096 exec_prefix
="$acl_save_exec_prefix"
20097 prefix
="$acl_save_prefix"
20099 if test "X$x" = "X-I$additional_includedir"; then
20104 if test -z "$haveit"; then
20105 if test -d "$additional_includedir"; then
20106 INCRPATHY
="${INCRPATHY}${INCRPATHY:+ }-I$additional_includedir"
20112 if test -n "$found_la"; then
20113 save_libdir
="$libdir"
20114 case "$found_la" in
20115 */* |
*\\*) .
"$found_la" ;;
20116 *) .
"./$found_la" ;;
20118 libdir
="$save_libdir"
20119 for dep
in $dependency_libs; do
20122 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
20123 if test "X$additional_libdir" != "X/usr/lib"; then
20125 if test "X$additional_libdir" = "X/usr/local/lib"; then
20126 if test -n "$GCC"; then
20128 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
20132 if test -z "$haveit"; then
20134 for x
in $LDFLAGS $LIBRPATHY; do
20136 acl_save_prefix
="$prefix"
20137 prefix
="$acl_final_prefix"
20138 acl_save_exec_prefix
="$exec_prefix"
20139 exec_prefix
="$acl_final_exec_prefix"
20141 exec_prefix
="$acl_save_exec_prefix"
20142 prefix
="$acl_save_prefix"
20144 if test "X$x" = "X-L$additional_libdir"; then
20149 if test -z "$haveit"; then
20150 if test -d "$additional_libdir"; then
20151 LIBRPATHY
="${LIBRPATHY}${LIBRPATHY:+ }-L$additional_libdir"
20155 for x
in $LDFLAGS $LTLIBRPATHY; do
20157 acl_save_prefix
="$prefix"
20158 prefix
="$acl_final_prefix"
20159 acl_save_exec_prefix
="$exec_prefix"
20160 exec_prefix
="$acl_final_exec_prefix"
20162 exec_prefix
="$acl_save_exec_prefix"
20163 prefix
="$acl_save_prefix"
20165 if test "X$x" = "X-L$additional_libdir"; then
20170 if test -z "$haveit"; then
20171 if test -d "$additional_libdir"; then
20172 LTLIBRPATHY
="${LTLIBRPATHY}${LTLIBRPATHY:+ }-L$additional_libdir"
20179 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
20180 if test "$enable_rpath" != no
; then
20182 for x
in $rpathdirs; do
20183 if test "X$x" = "X$dir"; then
20188 if test -z "$haveit"; then
20189 rpathdirs
="$rpathdirs $dir"
20192 for x
in $ltrpathdirs; do
20193 if test "X$x" = "X$dir"; then
20198 if test -z "$haveit"; then
20199 ltrpathdirs
="$ltrpathdirs $dir"
20204 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
20207 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
20210 LIBRPATHY
="${LIBRPATHY}${LIBRPATHY:+ }$dep"
20211 LTLIBRPATHY
="${LTLIBRPATHY}${LTLIBRPATHY:+ }$dep"
20217 LIBRPATHY
="${LIBRPATHY}${LIBRPATHY:+ }-l$name"
20218 LTLIBRPATHY
="${LTLIBRPATHY}${LTLIBRPATHY:+ }-l$name"
20224 if test "X$rpathdirs" != "X"; then
20225 if test -n "$hardcode_libdir_separator"; then
20227 for found_dir
in $rpathdirs; do
20228 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
20230 acl_save_libdir
="$libdir"
20232 eval flag
=\"$hardcode_libdir_flag_spec\"
20233 libdir
="$acl_save_libdir"
20234 LIBRPATHY
="${LIBRPATHY}${LIBRPATHY:+ }$flag"
20236 for found_dir
in $rpathdirs; do
20237 acl_save_libdir
="$libdir"
20238 libdir
="$found_dir"
20239 eval flag
=\"$hardcode_libdir_flag_spec\"
20240 libdir
="$acl_save_libdir"
20241 LIBRPATHY
="${LIBRPATHY}${LIBRPATHY:+ }$flag"
20245 if test "X$ltrpathdirs" != "X"; then
20246 for found_dir
in $ltrpathdirs; do
20247 LTLIBRPATHY
="${LTLIBRPATHY}${LTLIBRPATHY:+ }-R$found_dir"
20251 ac_cv_librpathy_libs
="$LIBRPATHY"
20252 ac_cv_librpathy_ltlibs
="$LTLIBRPATHY"
20253 ac_cv_librpathy_cppflags
="$INCRPATHY"
20256 echo "$as_me:$LINENO: result: $ac_cv_librpathy_libs" >&5
20257 echo "${ECHO_T}$ac_cv_librpathy_libs" >&6
20258 LIBRPATHY
="$ac_cv_librpathy_libs"
20259 LTLIBRPATHY
="$ac_cv_librpathy_ltlibs"
20260 INCRPATHY
="$ac_cv_librpathy_cppflags"
20262 for element
in $INCRPATHY; do
20264 for x
in $CPPFLAGS; do
20266 acl_save_prefix
="$prefix"
20267 prefix
="$acl_final_prefix"
20268 acl_save_exec_prefix
="$exec_prefix"
20269 exec_prefix
="$acl_final_exec_prefix"
20271 exec_prefix
="$acl_save_exec_prefix"
20272 prefix
="$acl_save_prefix"
20274 if test "X$x" = "X$element"; then
20279 if test -z "$haveit"; then
20280 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
20291 ac_config_files
="$ac_config_files Makefile"
20292 cat >confcache
<<\_ACEOF
20293 # This file is a shell script that caches the results of configure
20294 # tests run on this system so they can be shared between configure
20295 # scripts and configure runs, see configure's option --config-cache.
20296 # It is not useful on other systems. If it contains results you don't
20297 # want to keep, you may remove or edit it.
20299 # config.status only pays attention to the cache file if you give it
20300 # the --recheck option to rerun configure.
20302 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20303 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20304 # following values.
20308 # The following way of writing the cache mishandles newlines in values,
20309 # but we know of no workaround that is simple, portable, and efficient.
20310 # So, don't put newlines in cache variables' values.
20311 # Ultrix sh set writes to stderr and can't be redirected directly,
20312 # and sets the high bit in the cache file unless we assign to the vars.
20315 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20317 # `set' does not quote correctly, so add quotes (double-quote
20318 # substitution turns \\\\ into \\, and sed turns \\ into \).
20321 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20324 # `set' quotes correctly as required by POSIX, so do not add quotes.
20326 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20333 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20335 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20337 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
20338 if test -w $cache_file; then
20339 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20340 cat confcache
>$cache_file
20342 echo "not updating unwritable cache $cache_file"
20347 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20348 # Let make expand exec_prefix.
20349 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20351 # VPATH may cause trouble with some makes, so we remove $(srcdir),
20352 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
20353 # trailing colons and then remove the whole line if VPATH becomes empty
20354 # (actually we leave an empty line to preserve line numbers).
20355 if test "x$srcdir" = x.
; then
20356 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
20357 s/:*\$(srcdir):*/:/;
20358 s/:*\${srcdir}:*/:/;
20360 s/^\([^=]*=[ ]*\):*/\1/;
20366 # Transform confdefs.h into DEFS.
20367 # Protect against shell expansion while executing Makefile rules.
20368 # Protect against Makefile macro expansion.
20370 # If the first sed substitution is executed (which looks for macros that
20371 # take arguments), then we branch to the quote section. Otherwise,
20372 # look for a macro that doesn't take arguments.
20373 cat >confdef2opt.
sed <<\_ACEOF
20376 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
20378 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
20382 s
,[ `~#$^&*(){}\\|;'"<>?],\\&,g
20388 # We use echo to avoid assuming a particular line-breaking character.
20389 # The extra dot is to prevent the shell from consuming trailing
20390 # line-breaks from the sub-command output. A line-break within
20391 # single-quotes doesn't work because, if this script is created in a
20392 # platform that uses two characters for line-breaks (e.g., DOS), tr
20394 ac_LF_and_DOT=`echo; echo .
`
20395 DEFS=`sed -n -f confdef2opt.
sed confdefs.h |
tr "$ac_LF_and_DOT" ' .'`
20396 rm -f confdef2opt.sed
20401 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20402 # 1. Remove the extension, and $U if already installed.
20403 ac_i=`echo "$ac_i" |
20404 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
20406 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
20407 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
20409 LIBOBJS=$ac_libobjs
20411 LTLIBOBJS=$ac_ltlibobjs
20414 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
20415 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
20416 Usually this means the macro was only invoked conditionally." >&5
20417 echo "$as_me: error: conditional \"AMDEP\" was never defined.
20418 Usually this means the macro was only invoked conditionally." >&2;}
20419 { (exit 1); exit 1; }; }
20421 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20422 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
20423 Usually this means the macro was only invoked conditionally." >&5
20424 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
20425 Usually this means the macro was only invoked conditionally." >&2;}
20426 { (exit 1); exit 1; }; }
20428 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
20429 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
20430 Usually this means the macro was only invoked conditionally." >&5
20431 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
20432 Usually this means the macro was only invoked conditionally." >&2;}
20433 { (exit 1); exit 1; }; }
20436 : ${CONFIG_STATUS=./config.status}
20437 ac_clean_files_save=$ac_clean_files
20438 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20439 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20440 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20441 cat >$CONFIG_STATUS <<_ACEOF
20443 # Generated by $as_me.
20444 # Run this file to recreate the current configuration.
20445 # Compiler output produced by configure, useful for debugging
20446 # configure, is in config.log if it exists.
20449 ac_cs_recheck=false
20451 SHELL=\${CONFIG_SHELL-$SHELL}
20454 cat >>$CONFIG_STATUS <<\_ACEOF
20455 ## --------------------- ##
20456 ## M4sh Initialization. ##
20457 ## --------------------- ##
20459 # Be Bourne compatible
20460 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20463 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20464 # is contrary to our usage. Disable this feature.
20465 alias -g '${1+"$@"}'='"$@"'
20466 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20469 DUALCASE=1; export DUALCASE # for MKS sh
20471 # Support unset when possible.
20472 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
20479 # Work around bugs in pre-3.0 UWIN ksh.
20480 $as_unset ENV MAIL MAILPATH
20487 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20488 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20489 LC_TELEPHONE LC_TIME
20491 if (set +x; test -z "`(eval $as_var=C
; export $as_var) 2>&1`"); then
20492 eval $as_var=C; export $as_var
20498 # Required to use basename.
20499 if expr a : '\(a\)' >/dev/null 2>&1; then
20505 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
20506 as_basename=basename
20512 # Name of the executable.
20513 as_me=`$as_basename "$0" ||
20514 $as_expr X
/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20515 X
"$0" : 'X\(//\)$' \| \
20516 X
"$0" : 'X\(/\)$' \| \
20517 .
: '\(.\)' 2>/dev
/null ||
20519 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
20520 /^X\/\(\/\/\)$/{ s//\1/; q; }
20521 /^X\/\(\/\).*/{ s//\1/; q; }
20525 # PATH needs CR, and LINENO needs CR and PATH.
20526 # Avoid depending upon Character Ranges.
20527 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20528 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20529 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20530 as_cr_digits='0123456789'
20531 as_cr_alnum=$as_cr_Letters$as_cr_digits
20533 # The user is always right.
20534 if test "${PATH_SEPARATOR+set}" != set; then
20535 echo "#! /bin/sh" >conf$$.sh
20536 echo "exit 0" >>conf$$.sh
20538 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
20547 as_lineno_1=$LINENO
20548 as_lineno_2=$LINENO
20549 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev
/null
`
20550 test "x$as_lineno_1" != "x$as_lineno_2" &&
20551 test "x$as_lineno_3" = "x$as_lineno_2" || {
20552 # Find who we are. Look in the path if we contain no path at all
20555 *[\\/]* ) as_myself=$0 ;;
20556 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20557 for as_dir in $PATH
20560 test -z "$as_dir" && as_dir=.
20561 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20566 # We did not find ourselves, most probably we were run as `sh COMMAND
'
20567 # in which case we are not to be found in the path.
20568 if test "x$as_myself" = x; then
20571 if test ! -f "$as_myself"; then
20572 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
20573 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
20574 { (exit 1); exit 1; }; }
20576 case $CONFIG_SHELL in
20578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20579 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
20582 test -z "$as_dir" && as_dir=.
20583 for as_base in sh bash ksh sh5; do
20586 if ("$as_dir/$as_base" -c '
20587 as_lineno_1
=$LINENO
20588 as_lineno_2
=$LINENO
20589 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
20590 test "x$as_lineno_1" != "x$as_lineno_2" &&
20591 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
20592 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
20593 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
20594 CONFIG_SHELL=$as_dir/$as_base
20595 export CONFIG_SHELL
20596 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
20604 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20605 # uniformly replaced by the line number. The first 'sed' inserts a
20606 # line-number line before each line; the second 'sed' does the real
20607 # work. The second script uses 'N
' to pair each line-number line
20608 # with the numbered line, and appends trailing '-' during
20609 # substitution so that $LINENO is not a special case at line end.
20610 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20611 # second 'sed' script. Blame Lee E. McMahon for sed's syntax.
:-)
20612 sed '=' <$as_myself |
20617 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
20620 s,^['$as_cr_digits']*\n,,
20621 ' >$as_me.lineno
&&
20622 chmod +x
$as_me.lineno ||
20623 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
20624 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
20625 { (exit 1); exit 1; }; }
20627 # Don't try to exec as it changes $[0], causing all sort of problems
20628 # (the dirname of $[0] is not the place where we might find the
20629 # original and so on. Autoconf is especially sensible to this).
20631 # Exit status is that of the last command.
20636 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
20637 *c
*,-n*) ECHO_N
= ECHO_C
='
20639 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
20640 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
20643 if expr a
: '\(a\)' >/dev
/null
2>&1; then
20649 rm -f conf$$ conf$$.exe conf$$.
file
20651 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20652 # We could just check for DJGPP; but this test a) works b) is more generic
20653 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
20654 if test -f conf$$.exe
; then
20655 # Don't use ln at all; we don't have any links
20660 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20665 rm -f conf$$ conf$$.exe conf$$.
file
20667 if mkdir
-p .
2>/dev
/null
; then
20670 test -d .
/-p && rmdir .
/-p
20674 as_executable_p
="test -f"
20676 # Sed expression to map a string onto a valid CPP name.
20677 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20679 # Sed expression to map a string onto a valid variable name.
20680 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20684 # We need space, tab and new line, in precisely that order.
20694 # Open the log real soon, to keep \$[0] and so on meaningful, and to
20695 # report actual input values of CONFIG_FILES etc. instead of their
20696 # values after options handling. Logging --version etc. is OK.
20700 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20701 ## Running $as_me. ##
20706 This file was extended by $as_me, which was
20707 generated by GNU Autoconf 2.59. Invocation command line was
20709 CONFIG_FILES = $CONFIG_FILES
20710 CONFIG_HEADERS = $CONFIG_HEADERS
20711 CONFIG_LINKS = $CONFIG_LINKS
20712 CONFIG_COMMANDS = $CONFIG_COMMANDS
20716 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
20720 # Files that config.status was made for.
20721 if test -n "$ac_config_files"; then
20722 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
20725 if test -n "$ac_config_headers"; then
20726 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
20729 if test -n "$ac_config_links"; then
20730 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
20733 if test -n "$ac_config_commands"; then
20734 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
20737 cat >>$CONFIG_STATUS <<\_ACEOF
20740 \`$as_me' instantiates files from templates according to the
20741 current configuration.
20743 Usage: $0 [OPTIONS] [FILE]...
20745 -h, --help print this help, then exit
20746 -V, --version print version number, then exit
20747 -q, --quiet do not print progress messages
20748 -d, --debug don't remove temporary files
20749 --recheck update $as_me by reconfiguring in the same conditions
20750 --file=FILE[:TEMPLATE]
20751 instantiate the configuration file FILE
20753 Configuration files:
20756 Configuration commands:
20759 Report bugs to <bug-autoconf@gnu.org>."
20762 cat >>$CONFIG_STATUS <<_ACEOF
20765 configured by $0, generated by GNU Autoconf 2.59,
20766 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
20768 Copyright (C) 2003 Free Software Foundation, Inc.
20769 This config.status script is free software; the Free Software Foundation
20770 gives unlimited permission to copy, distribute and modify it."
20775 cat >>$CONFIG_STATUS <<\_ACEOF
20776 # If no file are specified by the user, then we need to provide default
20777 # value. By we need to know if files were specified by the user.
20783 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
20784 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
20792 *) # This is not an option, so the user has probably given explicit
20795 ac_need_defaults
=false
;;
20799 # Handling of the options.
20801 cat >>$CONFIG_STATUS <<\_ACEOF
20802 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
20804 --version |
--vers* |
-V )
20805 echo "$ac_cs_version"; exit 0 ;;
20807 # Conflict between --help and --header
20808 { { echo "$as_me:$LINENO: error: ambiguous option: $1
20809 Try \`$0 --help' for more information." >&5
20810 echo "$as_me: error: ambiguous option: $1
20811 Try \`$0 --help' for more information." >&2;}
20812 { (exit 1); exit 1; }; };;
20813 --help |
--hel |
-h )
20814 echo "$ac_cs_usage"; exit 0 ;;
20815 --debug |
--d* |
-d )
20817 --file |
--fil |
--fi |
--f )
20819 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
20820 ac_need_defaults
=false
;;
20821 --header |
--heade |
--head |
--hea )
20823 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
20824 ac_need_defaults
=false
;;
20825 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
20826 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
20829 # This is an error.
20830 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
20831 Try \`$0 --help' for more information." >&5
20832 echo "$as_me: error: unrecognized option: $1
20833 Try \`$0 --help' for more information." >&2;}
20834 { (exit 1); exit 1; }; } ;;
20836 *) ac_config_targets
="$ac_config_targets $1" ;;
20842 ac_configure_extra_args
=
20844 if $ac_cs_silent; then
20846 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20850 cat >>$CONFIG_STATUS <<_ACEOF
20851 if \$ac_cs_recheck; then
20852 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20853 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20858 cat >>$CONFIG_STATUS <<_ACEOF
20860 # INIT-COMMANDS section.
20863 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20869 cat >>$CONFIG_STATUS <<\_ACEOF
20870 for ac_config_target
in $ac_config_targets
20872 case "$ac_config_target" in
20873 # Handling of arguments.
20874 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
20875 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
20876 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
20877 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
20878 { (exit 1); exit 1; }; };;
20882 # If the user did not use the arguments to specify the items to instantiate,
20883 # then the envvar interface is used. Set only those that are not.
20884 # We use the long form for the default assignment because of an extremely
20885 # bizarre bug on SunOS 4.1.3.
20886 if $ac_need_defaults; then
20887 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
20888 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
20891 # Have a temporary directory for convenience. Make it in the build tree
20892 # simply because there is no reason to put it here, and in addition,
20893 # creating and moving files from /tmp can sometimes cause problems.
20894 # Create a temporary directory, and hook for its removal unless debugging.
20897 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
20898 trap '{ (exit 1); exit 1; }' 1 2 13 15
20901 # Create a (secure) tmp directory for tmp files.
20904 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
20905 test -n "$tmp" && test -d "$tmp"
20908 tmp
=.
/confstat$$
-$RANDOM
20909 (umask 077 && mkdir
$tmp)
20912 echo "$me: cannot create a temporary directory in ." >&2
20913 { (exit 1); exit 1; }
20918 cat >>$CONFIG_STATUS <<_ACEOF
20921 # CONFIG_FILES section.
20924 # No need to generate the scripts if there are no CONFIG_FILES.
20925 # This happens for instance when ./config.status config.h
20926 if test -n "\$CONFIG_FILES"; then
20927 # Protect against being on the right side of a sed subst in config.status.
20928 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
20929 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
20930 s,@SHELL@,$SHELL,;t t
20931 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
20932 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
20933 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
20934 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
20935 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
20936 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
20937 s,@exec_prefix@,$exec_prefix,;t t
20938 s,@prefix@,$prefix,;t t
20939 s,@program_transform_name@,$program_transform_name,;t t
20940 s,@bindir@,$bindir,;t t
20941 s,@sbindir@,$sbindir,;t t
20942 s,@libexecdir@,$libexecdir,;t t
20943 s,@datadir@,$datadir,;t t
20944 s,@sysconfdir@,$sysconfdir,;t t
20945 s,@sharedstatedir@,$sharedstatedir,;t t
20946 s,@localstatedir@,$localstatedir,;t t
20947 s,@libdir@,$libdir,;t t
20948 s,@includedir@,$includedir,;t t
20949 s,@oldincludedir@,$oldincludedir,;t t
20950 s,@infodir@,$infodir,;t t
20951 s,@mandir@,$mandir,;t t
20952 s,@build_alias@,$build_alias,;t t
20953 s,@host_alias@,$host_alias,;t t
20954 s,@target_alias@,$target_alias,;t t
20955 s,@DEFS@,$DEFS,;t t
20956 s,@ECHO_C@,$ECHO_C,;t t
20957 s,@ECHO_N@,$ECHO_N,;t t
20958 s,@ECHO_T@,$ECHO_T,;t t
20959 s,@LIBS@,$LIBS,;t t
20960 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
20961 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
20962 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
20963 s,@CYGPATH_W@,$CYGPATH_W,;t t
20964 s,@PACKAGE@,$PACKAGE,;t t
20965 s,@VERSION@,$VERSION,;t t
20966 s,@ACLOCAL@,$ACLOCAL,;t t
20967 s,@AUTOCONF@,$AUTOCONF,;t t
20968 s,@AUTOMAKE@,$AUTOMAKE,;t t
20969 s,@AUTOHEADER@,$AUTOHEADER,;t t
20970 s,@MAKEINFO@,$MAKEINFO,;t t
20971 s,@install_sh@,$install_sh,;t t
20972 s,@STRIP@,$STRIP,;t t
20973 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
20974 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
20975 s,@mkdir_p@,$mkdir_p,;t t
20977 s,@SET_MAKE@,$SET_MAKE,;t t
20978 s,@am__leading_dot@,$am__leading_dot,;t t
20979 s,@AMTAR@,$AMTAR,;t t
20980 s,@am__tar@,$am__tar,;t t
20981 s,@am__untar@,$am__untar,;t t
20983 s,@CFLAGS@,$CFLAGS,;t t
20984 s,@LDFLAGS@,$LDFLAGS,;t t
20985 s,@CPPFLAGS@,$CPPFLAGS,;t t
20986 s,@ac_ct_CC@,$ac_ct_CC,;t t
20987 s,@EXEEXT@,$EXEEXT,;t t
20988 s,@OBJEXT@,$OBJEXT,;t t
20989 s,@DEPDIR@,$DEPDIR,;t t
20990 s,@am__include@,$am__include,;t t
20991 s,@am__quote@,$am__quote,;t t
20992 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
20993 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
20994 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
20995 s,@CCDEPMODE@,$CCDEPMODE,;t t
20996 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
20997 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
20998 s,@build@,$build,;t t
20999 s,@build_cpu@,$build_cpu,;t t
21000 s,@build_vendor@,$build_vendor,;t t
21001 s,@build_os@,$build_os,;t t
21002 s,@host@,$host,;t t
21003 s,@host_cpu@,$host_cpu,;t t
21004 s,@host_vendor@,$host_vendor,;t t
21005 s,@host_os@,$host_os,;t t
21006 s,@EGREP@,$EGREP,;t t
21007 s,@LN_S@,$LN_S,;t t
21008 s,@ECHO@,$ECHO,;t t
21010 s,@ac_ct_AR@,$ac_ct_AR,;t t
21011 s,@RANLIB@,$RANLIB,;t t
21012 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
21015 s,@CXXFLAGS@,$CXXFLAGS,;t t
21016 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
21017 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
21018 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
21019 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
21020 s,@CXXCPP@,$CXXCPP,;t t
21022 s,@FFLAGS@,$FFLAGS,;t t
21023 s,@ac_ct_F77@,$ac_ct_F77,;t t
21024 s,@LIBTOOL@,$LIBTOOL,;t t
21025 s,@LIBRPATHX@,$LIBRPATHX,;t t
21026 s,@LTLIBRPATHX@,$LTLIBRPATHX,;t t
21027 s,@LIBRPATHY@,$LIBRPATHY,;t t
21028 s,@LTLIBRPATHY@,$LTLIBRPATHY,;t t
21029 s,@global_top_auxdir@,$global_top_auxdir,;t t
21030 s,@LIBOBJS@,$LIBOBJS,;t t
21031 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
21036 cat >>$CONFIG_STATUS <<\_ACEOF
21037 # Split the substitutions into bite-sized pieces for seds with
21038 # small command number limits, like on Digital OSF/1 and HP-UX.
21039 ac_max_sed_lines
=48
21040 ac_sed_frag
=1 # Number of current file.
21041 ac_beg
=1 # First line for current file.
21042 ac_end
=$ac_max_sed_lines # Line after last line for current file.
21045 while $ac_more_lines; do
21046 if test $ac_beg -gt 1; then
21047 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
21049 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
21051 if test ! -s $tmp/subs.frag
; then
21052 ac_more_lines
=false
21054 # The purpose of the label and of the branching condition is to
21055 # speed up the sed processing (if there are no `@' at all, there
21056 # is no need to browse any of the substitutions).
21057 # These are the two extra sed commands mentioned above.
21059 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
21060 if test -z "$ac_sed_cmds"; then
21061 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
21063 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
21065 ac_sed_frag
=`expr $ac_sed_frag + 1`
21067 ac_end
=`expr $ac_end + $ac_max_sed_lines`
21070 if test -z "$ac_sed_cmds"; then
21073 fi # test -n "$CONFIG_FILES"
21076 cat >>$CONFIG_STATUS <<\_ACEOF
21077 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
21078 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21080 - |
*:- |
*:-:* ) # input from stdin
21082 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21083 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21084 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21085 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21086 * ) ac_file_in
=$ac_file.
in ;;
21089 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
21090 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
21091 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21092 X"$ac_file" : 'X\(//\)[^/]' \| \
21093 X"$ac_file" : 'X\(//\)$' \| \
21094 X"$ac_file" : 'X\(/\)' \| \
21095 . : '\(.\)' 2>/dev/null ||
21097 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21098 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21099 /^X\(\/\/\)$/{ s//\1/; q; }
21100 /^X\(\/\).*/{ s//\1/; q; }
21102 { if $as_mkdir_p; then
21107 while test ! -d "$as_dir"; do
21108 as_dirs
="$as_dir $as_dirs"
21109 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21110 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21111 X"$as_dir" : 'X\(//\)[^/]' \| \
21112 X"$as_dir" : 'X\(//\)$' \| \
21113 X"$as_dir" : 'X\(/\)' \| \
21114 . : '\(.\)' 2>/dev/null ||
21116 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21117 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21118 /^X\(\/\/\)$/{ s//\1/; q; }
21119 /^X\(\/\).*/{ s//\1/; q; }
21122 test ! -n "$as_dirs" || mkdir
$as_dirs
21123 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21124 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21125 { (exit 1); exit 1; }; }; }
21129 if test "$ac_dir" != .
; then
21130 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21131 # A "../" for each directory in $ac_dir_suffix.
21132 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21134 ac_dir_suffix
= ac_top_builddir
=
21138 .
) # No --srcdir option. We are building in place.
21140 if test -z "$ac_top_builddir"; then
21143 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
21145 [\\/]* | ?
:[\\/]* ) # Absolute path.
21146 ac_srcdir
=$srcdir$ac_dir_suffix;
21147 ac_top_srcdir
=$srcdir ;;
21148 *) # Relative path.
21149 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
21150 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
21153 # Do not use `cd foo && pwd` to compute absolute paths, because
21154 # the directories may not exist.
21156 .
) ac_abs_builddir
="$ac_dir";;
21159 .
) ac_abs_builddir
=`pwd`;;
21160 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
21161 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
21164 case $ac_abs_builddir in
21165 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21167 case ${ac_top_builddir}.
in
21168 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
21169 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21170 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
21173 case $ac_abs_builddir in
21174 .
) ac_abs_srcdir
=$ac_srcdir;;
21177 .
) ac_abs_srcdir
=$ac_abs_builddir;;
21178 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
21179 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
21182 case $ac_abs_builddir in
21183 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
21185 case $ac_top_srcdir in
21186 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
21187 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
21188 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
21194 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
21195 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
21198 if test x
"$ac_file" != x-
; then
21199 { echo "$as_me:$LINENO: creating $ac_file" >&5
21200 echo "$as_me: creating $ac_file" >&6;}
21203 # Let's still pretend it is `configure' which instantiates (i.e., don't
21204 # use $as_me), people would be surprised to read:
21205 # /* config.h. Generated by config.status. */
21206 if test x
"$ac_file" = x-
; then
21209 configure_input
="$ac_file. "
21211 configure_input
=$configure_input"Generated from `echo $ac_file_in |
21212 sed 's,.*/,,'` by configure."
21214 # First look for the input files in the build tree, otherwise in the
21216 ac_file_inputs
=`IFS=:
21217 for f in $ac_file_in; do
21219 -) echo $tmp/stdin ;;
21221 # Absolute (can't be DOS-style, as IFS=:)
21222 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21223 echo "$as_me: error: cannot find input file: $f" >&2;}
21224 { (exit 1); exit 1; }; }
21227 if test -f "$f"; then
21230 elif test -f "$srcdir/$f"; then
21235 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21236 echo "$as_me: error: cannot find input file: $f" >&2;}
21237 { (exit 1); exit 1; }; }
21240 done` ||
{ (exit 1); exit 1; }
21242 cat >>$CONFIG_STATUS <<_ACEOF
21246 cat >>$CONFIG_STATUS <<\_ACEOF
21248 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
21249 s
,@configure_input@
,$configure_input,;t t
21250 s
,@srcdir@
,$ac_srcdir,;t t
21251 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
21252 s
,@top_srcdir@
,$ac_top_srcdir,;t t
21253 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
21254 s
,@builddir@
,$ac_builddir,;t t
21255 s
,@abs_builddir@
,$ac_abs_builddir,;t t
21256 s
,@top_builddir@
,$ac_top_builddir,;t t
21257 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
21258 s
,@INSTALL@
,$ac_INSTALL,;t t
21259 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
21261 if test x"$ac_file" != x-; then
21262 mv $tmp/out $ac_file
21270 cat >>$CONFIG_STATUS <<\_ACEOF
21273 # CONFIG_COMMANDS section.
21275 for ac_file in : $CONFIG_COMMANDS; do test "x
$ac_file" = x: && continue
21276 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
21277 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
21278 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
21279 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21280 X"$ac_dest" : 'X\(//\)[^/]' \| \
21281 X"$ac_dest" : 'X\(//\)$' \| \
21282 X"$ac_dest" : 'X\(/\)' \| \
21283 . : '\(.\)' 2>/dev/null ||
21285 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21286 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21287 /^X\(\/\/\)$/{ s//\1/; q; }
21288 /^X\(\/\).*/{ s//\1/; q; }
21290 { if $as_mkdir_p; then
21295 while test ! -d "$as_dir"; do
21296 as_dirs="$as_dir $as_dirs"
21297 as_dir=`(dirname "$as_dir") 2>/dev/null ||
21298 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21299 X"$as_dir" : 'X\(//\)[^/]' \| \
21300 X"$as_dir" : 'X\(//\)$' \| \
21301 X"$as_dir" : 'X\(/\)' \| \
21302 . : '\(.\)' 2>/dev/null ||
21304 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21305 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21306 /^X\(\/\/\)$/{ s//\1/; q; }
21307 /^X\(\/\).*/{ s//\1/; q; }
21310 test ! -n "$as_dirs" || mkdir $as_dirs
21311 fi || { { echo "$as_me:$LINENO: error
: cannot create directory
\"$ac_dir\"" >&5
21312 echo "$as_me: error
: cannot create directory
\"$ac_dir\"" >&2;}
21313 { (exit 1); exit 1; }; }; }
21317 if test "$ac_dir" != .; then
21318 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21319 # A "..
/" for each directory in $ac_dir_suffix.
21320 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21322 ac_dir_suffix= ac_top_builddir=
21326 .) # No --srcdir option. We are building in place.
21328 if test -z "$ac_top_builddir"; then
21331 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
21333 [\\/]* | ?:[\\/]* ) # Absolute path.
21334 ac_srcdir=$srcdir$ac_dir_suffix;
21335 ac_top_srcdir=$srcdir ;;
21336 *) # Relative path.
21337 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
21338 ac_top_srcdir=$ac_top_builddir$srcdir ;;
21341 # Do not use `cd foo && pwd` to compute absolute paths, because
21342 # the directories may not exist.
21344 .) ac_abs_builddir="$ac_dir";;
21347 .) ac_abs_builddir=`pwd`;;
21348 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
21349 *) ac_abs_builddir=`pwd`/"$ac_dir";;
21352 case $ac_abs_builddir in
21353 .) ac_abs_top_builddir=${ac_top_builddir}.;;
21355 case ${ac_top_builddir}. in
21356 .) ac_abs_top_builddir=$ac_abs_builddir;;
21357 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
21358 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
21361 case $ac_abs_builddir in
21362 .) ac_abs_srcdir=$ac_srcdir;;
21365 .) ac_abs_srcdir=$ac_abs_builddir;;
21366 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
21367 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
21370 case $ac_abs_builddir in
21371 .) ac_abs_top_srcdir=$ac_top_srcdir;;
21373 case $ac_top_srcdir in
21374 .) ac_abs_top_srcdir=$ac_abs_builddir;;
21375 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
21376 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
21381 { echo "$as_me:$LINENO: executing
$ac_dest commands
" >&5
21382 echo "$as_me: executing
$ac_dest commands
" >&6;}
21384 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
21385 # Strip MF so we end up with the name of the file.
21386 mf=`echo "$mf" | sed -e 's/:.*$//'`
21387 # Check whether this is an Automake generated Makefile or not.
21388 # We used to match only the files named `Makefile.in', but
21389 # some people rename them; so instead we look at the file content.
21390 # Grep'ing the first line is not enough: some people post-process
21391 # each Makefile.in and add a new line on top of each file to say so.
21392 # So let's grep whole file.
21393 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
21394 dirpart=`(dirname "$mf") 2>/dev/null ||
21395 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21396 X"$mf" : 'X\(//\)[^/]' \| \
21397 X"$mf" : 'X\(//\)$' \| \
21398 X"$mf" : 'X\(/\)' \| \
21399 . : '\(.\)' 2>/dev/null ||
21401 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21402 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21403 /^X\(\/\/\)$/{ s//\1/; q; }
21404 /^X\(\/\).*/{ s//\1/; q; }
21409 # Extract the definition of DEPDIR, am__include, and am__quote
21410 # from the Makefile without running `make'.
21411 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
21412 test -z "$DEPDIR" && continue
21413 am__include=`sed -n 's/^am__include = //p' < "$mf"`
21414 test -z "am__include
" && continue
21415 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
21416 # When using ansi2knr, U may be empty or an underscore; expand it
21417 U=`sed -n 's/^U = //p' < "$mf"`
21418 # Find all dependency output files, they are included files with
21419 # $(DEPDIR) in their names. We invoke sed twice because it is the
21420 # simplest approach to changing $(DEPDIR) to its actual value in the
21422 for file in `sed -n "
21423 s
/^
$am__include $am__quote\
(.
*(DEPDIR
).
*\
)$am__quote"'$/\1/p' <"$mf" | \
21424 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21425 # Make sure the directory exists.
21426 test -f "$dirpart/$file" && continue
21427 fdir=`(dirname "$file") 2>/dev/null ||
21428 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21429 X"$file" : 'X\(//\)[^/]' \| \
21430 X"$file" : 'X\(//\)$' \| \
21431 X"$file" : 'X\(/\)' \| \
21432 . : '\(.\)' 2>/dev/null ||
21434 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21435 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21436 /^X\(\/\/\)$/{ s//\1/; q; }
21437 /^X\(\/\).*/{ s//\1/; q; }
21439 { if $as_mkdir_p; then
21440 mkdir -p $dirpart/$fdir
21442 as_dir=$dirpart/$fdir
21444 while test ! -d "$as_dir"; do
21445 as_dirs="$as_dir $as_dirs"
21446 as_dir=`(dirname "$as_dir") 2>/dev/null ||
21447 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21448 X"$as_dir" : 'X\(//\)[^/]' \| \
21449 X"$as_dir" : 'X\(//\)$' \| \
21450 X"$as_dir" : 'X\(/\)' \| \
21451 . : '\(.\)' 2>/dev/null ||
21453 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21454 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21455 /^X\(\/\/\)$/{ s//\1/; q; }
21456 /^X\(\/\).*/{ s//\1/; q; }
21459 test ! -n "$as_dirs" || mkdir $as_dirs
21460 fi || { { echo "$as_me:$LINENO: error
: cannot create directory
$dirpart/$fdir" >&5
21461 echo "$as_me: error
: cannot create directory
$dirpart/$fdir" >&2;}
21462 { (exit 1); exit 1; }; }; }
21464 # echo "creating
$dirpart/$file"
21465 echo '# dummy' > "$dirpart/$file"
21473 cat >>$CONFIG_STATUS <<\_ACEOF
21475 { (exit 0); exit 0; }
21477 chmod +x $CONFIG_STATUS
21478 ac_clean_files=$ac_clean_files_save
21481 # configure is writing to config.log, and then calls config.status.
21482 # config.status does its own redirection, appending to config.log.
21483 # Unfortunately, on DOS this fails, as config.log is still kept open
21484 # by configure, so config.status won't be able to write to it; its
21485 # output is simply discarded. So we exec the FD to /dev/null,
21486 # effectively closing config.log, so it can be properly (re)opened and
21487 # appended to by config.status. When coming back to configure, we
21488 # need to make the FD available again.
21489 if test "$no_create" != yes; then
21491 ac_config_status_args=
21492 test "$silent" = yes &&
21493 ac_config_status_args="$ac_config_status_args --quiet"
21495 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
21497 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21498 # would make configure fail if this is the last instruction.
21499 $ac_cs_success || { (exit 1); exit 1; }