2 # From configure.ac Id: configure.ac,v 1.12 2004/01/23 23:22:46 rob Exp .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59 for ID3 Tag 0.15.1b.
6 # Report bugs to <support@underbit.com>.
8 # Copyright (C) 2003 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
25 DUALCASE
=1; export DUALCASE
# for MKS sh
27 # Support unset when possible.
28 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
47 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C
; export $as_var
54 # Required to use basename.
55 if expr a
: '\(a\)' >/dev
/null
2>&1; then
61 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
68 # Name of the executable.
69 as_me
=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits
='0123456789'
87 as_cr_alnum
=$as_cr_Letters$as_cr_digits
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
94 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
105 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
108 # Find who we are. Look in the path if we contain no path at all
111 *[\\/]* ) as_myself
=$0 ;;
112 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
116 test -z "$as_dir" && as_dir
=.
117 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x
; then
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
131 case $CONFIG_SHELL in
133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
134 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
137 test -z "$as_dir" && as_dir
=.
138 for as_base
in sh bash ksh sh5
; do
141 if ("$as_dir/$as_base" -c '
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
147 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
148 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
149 CONFIG_SHELL
=$as_dir/$as_base
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
175 s,^['$as_cr_digits']*\n,,
177 chmod +x
$as_me.lineno ||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
185 # Exit status is that of the last command.
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c
*,-n*) ECHO_N
= ECHO_C
='
193 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
194 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
197 if expr a
: '\(a\)' >/dev
/null
2>&1; then
203 rm -f conf$$ conf$$.exe conf$$.
file
205 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe
; then
209 # Don't use ln at all; we don't have any links
214 elif ln conf$$.
file conf$$
2>/dev
/null
; then
219 rm -f conf$$ conf$$.exe conf$$.
file
221 if mkdir
-p .
2>/dev
/null
; then
224 test -d .
/-p && rmdir .
/-p
228 as_executable_p
="test -f"
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
238 # We need space, tab and new line, in precisely that order.
248 # Check that we are running under the correct shell.
249 SHELL
=${CONFIG_SHELL-/bin/sh}
253 # Remove one level of quotation (which was required for Make).
254 ECHO
=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
259 if test "X$1" = X--no-reexec
; then
260 # Discard the --no-reexec flag, and continue.
262 elif test "X$1" = X--fallback-echo
; then
263 # Avoid inline document here, it may be left over
265 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
266 # Yippee, $echo works!
269 # Restart under the correct shell.
270 exec $SHELL "$0" --no-reexec ${1+"$@"}
273 if test "X$1" = X--fallback-echo
; then
274 # used as fallback echo
282 # The HP-UX ksh and POSIX shell print the target directory to stdout
284 if test "X${CDPATH+set}" = Xset
; then CDPATH
=:; export CDPATH
; fi
286 if test -z "$ECHO"; then
287 if test "X${echo_test_string+set}" != Xset
; then
288 # find a string as large as possible, as long as the shell can cope with it
289 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
290 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
291 if (echo_test_string
="`eval $cmd`") 2>/dev
/null
&&
292 echo_test_string
="`eval $cmd`" &&
293 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev
/null
300 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
301 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
302 test "X$echo_testing_string" = "X$echo_test_string"; then
305 # The Solaris, AIX, and Digital Unix default echo programs unquote
306 # backslashes. This makes it impossible to quote backslashes using
307 # echo "$something" | sed 's/\\/\\\\/g'
309 # So, first we look for a working echo in the user's PATH.
311 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
312 for dir
in $PATH /usr
/ucb
; do
314 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
315 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
316 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
317 test "X$echo_testing_string" = "X$echo_test_string"; then
324 if test "X$echo" = Xecho
; then
325 # We didn't find a better echo, so look for alternatives.
326 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
327 echo_testing_string
=`(print -r "$echo_test_string") 2>/dev/null` &&
328 test "X$echo_testing_string" = "X$echo_test_string"; then
329 # This shell has a builtin print -r that does the trick.
331 elif (test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext) &&
332 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
333 # If we have ksh, try running configure again with it.
334 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
335 export ORIGINAL_CONFIG_SHELL
336 CONFIG_SHELL
=/bin
/ksh
338 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
342 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
343 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
344 test "X$echo_testing_string" = "X$echo_test_string"; then
347 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
348 test "X$echo_testing_string" = 'X\t' &&
349 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
350 test "X$echo_testing_string" = "X$echo_test_string"; then
351 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
353 SHELL
="$CONFIG_SHELL"
355 echo="$CONFIG_SHELL $0 --fallback-echo"
356 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
357 test "X$echo_testing_string" = 'X\t' &&
358 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
359 test "X$echo_testing_string" = "X$echo_test_string"; then
360 echo="$CONFIG_SHELL $0 --fallback-echo"
362 # maybe with a smaller string...
365 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
366 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev
/null
373 if test "$prev" != 'sed 50q "$0"'; then
374 echo_test_string
=`eval $prev`
375 export echo_test_string
376 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
378 # Oops. We lost completely, so just stick with echo.
387 # Copy echo and quote the copy suitably for passing to libtool from
388 # the Makefile, instead of quoting the original, which is used later.
390 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
391 ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
397 tagnames
=${tagnames+${tagnames},}CXX
399 tagnames
=${tagnames+${tagnames},}F77
402 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
403 # so uname gets run too.
404 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
411 ac_default_prefix
=/usr
/local
412 ac_config_libobj_dir
=.
417 SHELL
=${CONFIG_SHELL-/bin/sh}
419 # Maximum number of lines to put in a shell here document.
420 # This variable seems obsolete. It should probably be removed, and
421 # only ac_max_sed_lines should be used.
422 : ${ac_max_here_lines=38}
424 # Identity of this package.
425 PACKAGE_NAME
='ID3 Tag'
426 PACKAGE_TARNAME
='libid3tag'
427 PACKAGE_VERSION
='0.15.1b'
428 PACKAGE_STRING
='ID3 Tag 0.15.1b'
429 PACKAGE_BUGREPORT
='support@underbit.com'
431 ac_unique_file
="id3tag.h"
432 # Factoring default headers for most tests.
433 ac_includes_default
="\
436 # include <sys/types.h>
439 # include <sys/stat.h>
450 # if !STDC_HEADERS && HAVE_MEMORY_H
456 # include <strings.h>
459 # include <inttypes.h>
469 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 AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot build build_cpu build_vendor build_os host host_cpu host_vendor host_os 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 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 LIBTOOL_DEPS DEBUG_TRUE DEBUG_FALSE LIBOBJS LTLIBOBJS'
472 # Initialize some variables set by options.
474 ac_init_version
=false
475 # The variables have the same names as the options, with
476 # dashes changed to underlines.
484 program_transform_name
=s
,x
,x
,
492 # Installation directory options.
493 # These are left unexpanded so users can "make install exec_prefix=/foo"
494 # and all the variables that are supposed to be based on exec_prefix
495 # by default will actually change.
496 # Use braces instead of parens because sh, perl, etc. also accept them.
497 bindir
='${exec_prefix}/bin'
498 sbindir
='${exec_prefix}/sbin'
499 libexecdir
='${exec_prefix}/libexec'
500 datadir
='${prefix}/share'
501 sysconfdir
='${prefix}/etc'
502 sharedstatedir
='${prefix}/com'
503 localstatedir
='${prefix}/var'
504 libdir
='${exec_prefix}/lib'
505 includedir
='${prefix}/include'
506 oldincludedir
='/usr/include'
507 infodir
='${prefix}/info'
508 mandir
='${prefix}/man'
513 # If the previous option needs an argument, assign it.
514 if test -n "$ac_prev"; then
515 eval "$ac_prev=\$ac_option"
520 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
522 # Accept the important Cygnus configure options, so we can diagnose typos.
526 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
528 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
531 -build |
--build |
--buil |
--bui |
--bu)
532 ac_prev
=build_alias
;;
533 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
534 build_alias
=$ac_optarg ;;
536 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
537 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
538 ac_prev
=cache_file
;;
539 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
540 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
541 cache_file
=$ac_optarg ;;
544 cache_file
=config.cache
;;
546 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
548 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
550 datadir
=$ac_optarg ;;
552 -disable-* |
--disable-*)
553 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
554 # Reject names that are not valid shell variable names.
555 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
556 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
557 { (exit 1); exit 1; }; }
558 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
559 eval "enable_$ac_feature=no" ;;
561 -enable-* |
--enable-*)
562 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
563 # Reject names that are not valid shell variable names.
564 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
565 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
566 { (exit 1); exit 1; }; }
567 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
569 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
572 eval "enable_$ac_feature='$ac_optarg'" ;;
574 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
575 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
576 |
--exec |
--exe |
--ex)
577 ac_prev
=exec_prefix
;;
578 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
579 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
580 |
--exec=* |
--exe=* |
--ex=*)
581 exec_prefix
=$ac_optarg ;;
583 -gas |
--gas |
--ga |
--g)
584 # Obsolete; use --with-gas.
587 -help |
--help |
--hel |
--he |
-h)
589 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
590 ac_init_help
=recursive
;;
591 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
592 ac_init_help
=short
;;
594 -host |
--host |
--hos |
--ho)
595 ac_prev
=host_alias
;;
596 -host=* |
--host=* |
--hos=* |
--ho=*)
597 host_alias
=$ac_optarg ;;
599 -includedir |
--includedir |
--includedi |
--included |
--include \
600 |
--includ |
--inclu |
--incl |
--inc)
601 ac_prev
=includedir
;;
602 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
603 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
604 includedir
=$ac_optarg ;;
606 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
608 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
609 infodir
=$ac_optarg ;;
611 -libdir |
--libdir |
--libdi |
--libd)
613 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
616 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
617 |
--libexe |
--libex |
--libe)
618 ac_prev
=libexecdir
;;
619 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
620 |
--libexe=* |
--libex=* |
--libe=*)
621 libexecdir
=$ac_optarg ;;
623 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
624 |
--localstate |
--localstat |
--localsta |
--localst \
625 |
--locals |
--local |
--loca |
--loc |
--lo)
626 ac_prev
=localstatedir
;;
627 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
628 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
629 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
630 localstatedir
=$ac_optarg ;;
632 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
634 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
638 # Obsolete; use --without-fp.
641 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
642 |
--no-cr |
--no-c |
-n)
645 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
646 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
649 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
650 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
651 |
--oldin |
--oldi |
--old |
--ol |
--o)
652 ac_prev
=oldincludedir
;;
653 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
654 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
655 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
656 oldincludedir
=$ac_optarg ;;
658 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
660 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
663 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
664 |
--program-pre |
--program-pr |
--program-p)
665 ac_prev
=program_prefix
;;
666 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
667 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
668 program_prefix
=$ac_optarg ;;
670 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
671 |
--program-suf |
--program-su |
--program-s)
672 ac_prev
=program_suffix
;;
673 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
674 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
675 program_suffix
=$ac_optarg ;;
677 -program-transform-name |
--program-transform-name \
678 |
--program-transform-nam |
--program-transform-na \
679 |
--program-transform-n |
--program-transform- \
680 |
--program-transform |
--program-transfor \
681 |
--program-transfo |
--program-transf \
682 |
--program-trans |
--program-tran \
683 |
--progr-tra |
--program-tr |
--program-t)
684 ac_prev
=program_transform_name
;;
685 -program-transform-name=* |
--program-transform-name=* \
686 |
--program-transform-nam=* |
--program-transform-na=* \
687 |
--program-transform-n=* |
--program-transform-=* \
688 |
--program-transform=* |
--program-transfor=* \
689 |
--program-transfo=* |
--program-transf=* \
690 |
--program-trans=* |
--program-tran=* \
691 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
692 program_transform_name
=$ac_optarg ;;
694 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
695 |
-silent |
--silent |
--silen |
--sile |
--sil)
698 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
700 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
702 sbindir
=$ac_optarg ;;
704 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
705 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
706 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
708 ac_prev
=sharedstatedir
;;
709 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
710 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
711 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
713 sharedstatedir
=$ac_optarg ;;
715 -site |
--site |
--sit)
717 -site=* |
--site=* |
--sit=*)
720 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
722 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
725 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
726 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
727 ac_prev
=sysconfdir
;;
728 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
729 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
730 sysconfdir
=$ac_optarg ;;
732 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
733 ac_prev
=target_alias
;;
734 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
735 target_alias
=$ac_optarg ;;
737 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
740 -version |
--version |
--versio |
--versi |
--vers |
-V)
744 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
745 # Reject names that are not valid shell variable names.
746 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
747 { echo "$as_me: error: invalid package name: $ac_package" >&2
748 { (exit 1); exit 1; }; }
749 ac_package
=`echo $ac_package| sed 's/-/_/g'`
751 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
754 eval "with_$ac_package='$ac_optarg'" ;;
756 -without-* |
--without-*)
757 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
758 # Reject names that are not valid shell variable names.
759 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
760 { echo "$as_me: error: invalid package name: $ac_package" >&2
761 { (exit 1); exit 1; }; }
762 ac_package
=`echo $ac_package | sed 's/-/_/g'`
763 eval "with_$ac_package=no" ;;
766 # Obsolete; use --with-x.
769 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
770 |
--x-incl |
--x-inc |
--x-in |
--x-i)
771 ac_prev
=x_includes
;;
772 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
773 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
774 x_includes
=$ac_optarg ;;
776 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
777 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
778 ac_prev
=x_libraries
;;
779 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
780 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
781 x_libraries
=$ac_optarg ;;
783 -*) { echo "$as_me: error: unrecognized option: $ac_option
784 Try \`$0 --help' for more information." >&2
785 { (exit 1); exit 1; }; }
789 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
790 # Reject names that are not valid shell variable names.
791 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
792 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
793 { (exit 1); exit 1; }; }
794 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
795 eval "$ac_envvar='$ac_optarg'"
799 # FIXME: should be removed in autoconf 3.0.
800 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
801 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
802 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
803 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
809 if test -n "$ac_prev"; then
810 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
811 { echo "$as_me: error: missing argument to $ac_option" >&2
812 { (exit 1); exit 1; }; }
815 # Be sure to have absolute paths.
816 for ac_var
in exec_prefix prefix
818 eval ac_val
=$
`echo $ac_var`
820 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
821 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
822 { (exit 1); exit 1; }; };;
826 # Be sure to have absolute paths.
827 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
828 localstatedir libdir includedir oldincludedir infodir mandir
830 eval ac_val
=$
`echo $ac_var`
832 [\\/$
]* | ?
:[\\/]* ) ;;
833 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
834 { (exit 1); exit 1; }; };;
838 # There might be people who depend on the old broken behavior: `$host'
839 # used to hold the argument of --host etc.
840 # FIXME: To remove some day.
845 # FIXME: To remove some day.
846 if test "x$host_alias" != x
; then
847 if test "x$build_alias" = x
; then
848 cross_compiling
=maybe
849 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
850 If a cross compiler is detected then cross compile mode will be used." >&2
851 elif test "x$build_alias" != "x$host_alias"; then
857 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
859 test "$silent" = yes && exec 6>/dev
/null
862 # Find the source files, if location was not specified.
863 if test -z "$srcdir"; then
864 ac_srcdir_defaulted
=yes
865 # Try the directory containing this script, then its parent.
866 ac_confdir
=`(dirname "$0") 2>/dev/null ||
867 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
868 X"$0" : 'X\(//\)[^/]' \| \
869 X"$0" : 'X\(//\)$' \| \
870 X"$0" : 'X\(/\)' \| \
871 . : '\(.\)' 2>/dev/null ||
873 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
874 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
875 /^X\(\/\/\)$/{ s//\1/; q; }
876 /^X\(\/\).*/{ s//\1/; q; }
879 if test ! -r $srcdir/$ac_unique_file; then
883 ac_srcdir_defaulted
=no
885 if test ! -r $srcdir/$ac_unique_file; then
886 if test "$ac_srcdir_defaulted" = yes; then
887 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
888 { (exit 1); exit 1; }; }
890 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
891 { (exit 1); exit 1; }; }
894 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
895 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
896 { (exit 1); exit 1; }; }
897 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
898 ac_env_build_alias_set
=${build_alias+set}
899 ac_env_build_alias_value
=$build_alias
900 ac_cv_env_build_alias_set
=${build_alias+set}
901 ac_cv_env_build_alias_value
=$build_alias
902 ac_env_host_alias_set
=${host_alias+set}
903 ac_env_host_alias_value
=$host_alias
904 ac_cv_env_host_alias_set
=${host_alias+set}
905 ac_cv_env_host_alias_value
=$host_alias
906 ac_env_target_alias_set
=${target_alias+set}
907 ac_env_target_alias_value
=$target_alias
908 ac_cv_env_target_alias_set
=${target_alias+set}
909 ac_cv_env_target_alias_value
=$target_alias
910 ac_env_CC_set
=${CC+set}
912 ac_cv_env_CC_set
=${CC+set}
913 ac_cv_env_CC_value
=$CC
914 ac_env_CFLAGS_set
=${CFLAGS+set}
915 ac_env_CFLAGS_value
=$CFLAGS
916 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
917 ac_cv_env_CFLAGS_value
=$CFLAGS
918 ac_env_LDFLAGS_set
=${LDFLAGS+set}
919 ac_env_LDFLAGS_value
=$LDFLAGS
920 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
921 ac_cv_env_LDFLAGS_value
=$LDFLAGS
922 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
923 ac_env_CPPFLAGS_value
=$CPPFLAGS
924 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
925 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
926 ac_env_CPP_set
=${CPP+set}
927 ac_env_CPP_value
=$CPP
928 ac_cv_env_CPP_set
=${CPP+set}
929 ac_cv_env_CPP_value
=$CPP
930 ac_env_CXX_set
=${CXX+set}
931 ac_env_CXX_value
=$CXX
932 ac_cv_env_CXX_set
=${CXX+set}
933 ac_cv_env_CXX_value
=$CXX
934 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
935 ac_env_CXXFLAGS_value
=$CXXFLAGS
936 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
937 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
938 ac_env_CXXCPP_set
=${CXXCPP+set}
939 ac_env_CXXCPP_value
=$CXXCPP
940 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
941 ac_cv_env_CXXCPP_value
=$CXXCPP
942 ac_env_F77_set
=${F77+set}
943 ac_env_F77_value
=$F77
944 ac_cv_env_F77_set
=${F77+set}
945 ac_cv_env_F77_value
=$F77
946 ac_env_FFLAGS_set
=${FFLAGS+set}
947 ac_env_FFLAGS_value
=$FFLAGS
948 ac_cv_env_FFLAGS_set
=${FFLAGS+set}
949 ac_cv_env_FFLAGS_value
=$FFLAGS
952 # Report the --help message.
954 if test "$ac_init_help" = "long"; then
955 # Omit some internal or obsolete options to make the list less imposing.
956 # This message is too long to be a string in the A/UX 3.1 sh.
958 \`configure' configures ID3 Tag 0.15.1b to adapt to many kinds of systems.
960 Usage: $0 [OPTION]... [VAR=VALUE]...
962 To assign environment variables (e.g., CC, CFLAGS...), specify them as
963 VAR=VALUE. See below for descriptions of some of the useful variables.
965 Defaults for the options are specified in brackets.
968 -h, --help display this help and exit
969 --help=short display options specific to this package
970 --help=recursive display the short help of all the included packages
971 -V, --version display version information and exit
972 -q, --quiet, --silent do not print \`checking...' messages
973 --cache-file=FILE cache test results in FILE [disabled]
974 -C, --config-cache alias for \`--cache-file=config.cache'
975 -n, --no-create do not create output files
976 --srcdir=DIR find the sources in DIR [configure dir or \`..']
981 Installation directories:
982 --prefix=PREFIX install architecture-independent files in PREFIX
984 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
987 By default, \`make install' will install all the files in
988 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
989 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
990 for instance \`--prefix=\$HOME'.
992 For better control, use the options below.
994 Fine tuning of the installation directories:
995 --bindir=DIR user executables [EPREFIX/bin]
996 --sbindir=DIR system admin executables [EPREFIX/sbin]
997 --libexecdir=DIR program executables [EPREFIX/libexec]
998 --datadir=DIR read-only architecture-independent data [PREFIX/share]
999 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1000 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1001 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1002 --libdir=DIR object code libraries [EPREFIX/lib]
1003 --includedir=DIR C header files [PREFIX/include]
1004 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1005 --infodir=DIR info documentation [PREFIX/info]
1006 --mandir=DIR man documentation [PREFIX/man]
1012 --program-prefix=PREFIX prepend PREFIX to installed program names
1013 --program-suffix=SUFFIX append SUFFIX to installed program names
1014 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1017 --build=BUILD configure
for building on BUILD
[guessed
]
1018 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1022 if test -n "$ac_init_help"; then
1023 case $ac_init_help in
1024 short | recursive
) echo "Configuration of ID3 Tag 0.15.1b:";;
1029 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1030 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1031 --disable-dependency-tracking speeds up one-time build
1032 --enable-dependency-tracking do not reject slow dependency extractors
1033 --enable-shared[=PKGS
]
1034 build shared libraries
[default
=yes]
1035 --enable-static[=PKGS
]
1036 build static libraries
[default
=yes]
1037 --enable-fast-install[=PKGS
]
1038 optimize
for fast installation
[default
=yes]
1039 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1040 --enable-profiling generate profiling code
1041 --enable-debugging enable diagnostic debugging support
1042 --disable-debugging do not
enable debugging and use
more optimization
1045 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1046 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1047 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1048 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1051 include additional configurations
[automatic
]
1053 Some influential environment variables
:
1054 CC C compiler
command
1055 CFLAGS C compiler flags
1056 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1057 nonstandard directory
<lib dir
>
1058 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1059 headers
in a nonstandard directory
<include dir
>
1061 CXX C
++ compiler
command
1062 CXXFLAGS C
++ compiler flags
1063 CXXCPP C
++ preprocessor
1064 F77 Fortran
77 compiler
command
1065 FFLAGS Fortran
77 compiler flags
1067 Use these variables to override the choices made by
`configure' or to help
1068 it to find libraries and programs with nonstandard names/locations.
1070 Report bugs to <support@underbit.com>.
1074 if test "$ac_init_help" = "recursive"; then
1075 # If there are subdirs, report their specific --help.
1077 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1078 test -d $ac_dir || continue
1081 if test "$ac_dir" != .; then
1082 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1083 # A "../" for each directory in $ac_dir_suffix.
1084 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
1086 ac_dir_suffix= ac_top_builddir=
1090 .) # No --srcdir option. We are building in place.
1092 if test -z "$ac_top_builddir"; then
1095 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
1097 [\\/]* | ?:[\\/]* ) # Absolute path.
1098 ac_srcdir=$srcdir$ac_dir_suffix;
1099 ac_top_srcdir=$srcdir ;;
1101 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1102 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1105 # Do not use `cd foo
&& pwd` to compute absolute paths, because
1106 # the directories may not exist.
1108 .) ac_abs_builddir="$ac_dir";;
1111 .) ac_abs_builddir=`pwd`;;
1112 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1113 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1116 case $ac_abs_builddir in
1117 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1119 case ${ac_top_builddir}. in
1120 .) ac_abs_top_builddir=$ac_abs_builddir;;
1121 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1122 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1125 case $ac_abs_builddir in
1126 .) ac_abs_srcdir=$ac_srcdir;;
1129 .) ac_abs_srcdir=$ac_abs_builddir;;
1130 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1131 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1134 case $ac_abs_builddir in
1135 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1137 case $ac_top_srcdir in
1138 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1139 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1140 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1145 # Check for guested configure; otherwise get Cygnus style configure.
1146 if test -f $ac_srcdir/configure.gnu; then
1148 $SHELL $ac_srcdir/configure.gnu --help=recursive
1149 elif test -f $ac_srcdir/configure; then
1151 $SHELL $ac_srcdir/configure --help=recursive
1152 elif test -f $ac_srcdir/configure.ac ||
1153 test -f $ac_srcdir/configure.in; then
1155 $ac_configure --help
1157 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1163 test -n "$ac_init_help" && exit 0
1164 if $ac_init_version; then
1166 ID3 Tag configure 0.15.1b
1167 generated by GNU Autoconf 2.59
1169 Copyright (C) 2003 Free Software Foundation, Inc.
1170 This configure script is free software; the Free Software Foundation
1171 gives unlimited permission to copy, distribute and modify it.
1177 This file contains any messages produced by compilers while
1178 running configure, to aid debugging if configure makes a mistake.
1180 It was created by ID3 Tag $as_me 0.15.1b, which was
1181 generated by GNU Autoconf 2.59. Invocation command line was
1192 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1193 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1194 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1195 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1196 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1198 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1199 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1201 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1202 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1203 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1204 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1205 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1206 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1207 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1215 test -z "$as_dir" && as_dir=.
1216 echo "PATH: $as_dir"
1231 # Keep a trace of the command line.
1232 # Strip out --no-create and --no-recursion so they do not pile up.
1233 # Strip out --silent because we don't want to record it for future runs.
1234 # Also quote any args containing shell meta-characters.
1235 # Make two passes to allow for proper duplicate-argument suppression.
1240 ac_must_keep_next=false
1246 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1247 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1248 | -silent | --silent | --silen | --sile | --sil)
1250 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1251 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1254 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1256 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1257 if test $ac_must_keep_next = true; then
1258 ac_must_keep_next=false # Got value, back to normal.
1261 *=* | --config-cache | -C | -disable-* | --disable-* \
1262 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1263 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1264 | -with-* | --with-* | -without-* | --without-* | --x)
1265 case "$ac_configure_args0 " in
1266 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1269 -* ) ac_must_keep_next=true ;;
1272 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1273 # Get rid of the leading space.
1279 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1280 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1282 # When interrupted or exit'd, cleanup temporary files, and complete
1283 # config.log. We remove comments because anyway the quotes in there
1284 # would cause problems or look ugly.
1285 # WARNING: Be sure not to use single quotes in there, as some shells,
1286 # such as our DU 5.0 friend, will then `close
' the trap.
1287 trap 'exit_status
=$?
1288 # Save into config.log some information that might help in debugging.
1293 ## ---------------- ##
1294 ## Cache variables. ##
1295 ## ---------------- ##
1298 # The following way of writing the cache mishandles newlines in values,
1301 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1304 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1305 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1309 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1316 ## ----------------- ##
1317 ## Output variables. ##
1318 ## ----------------- ##
1321 for ac_var
in $ac_subst_vars
1323 eval ac_val
=$
`echo $ac_var`
1324 echo "$ac_var='"'"'$ac_val'"'"'"
1328 if test -n "$ac_subst_files"; then
1335 for ac_var
in $ac_subst_files
1337 eval ac_val
=$
`echo $ac_var`
1338 echo "$ac_var='"'"'$ac_val'"'"'"
1343 if test -s confdefs.h
; then
1350 sed "/^$/d" confdefs.h |
sort
1353 test "$ac_signal" != 0 &&
1354 echo "$as_me: caught signal $ac_signal"
1355 echo "$as_me: exit $exit_status"
1357 rm -f core
*.core
&&
1358 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1361 for ac_signal in 1 2 13 15; do
1362 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1366 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1367 rm -rf conftest* confdefs.h
1368 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1371 # Predefined preprocessor variables.
1373 cat >>confdefs.h <<_ACEOF
1374 #define PACKAGE_NAME "$PACKAGE_NAME"
1378 cat >>confdefs.h <<_ACEOF
1379 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1383 cat >>confdefs.h <<_ACEOF
1384 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1388 cat >>confdefs.h <<_ACEOF
1389 #define PACKAGE_STRING "$PACKAGE_STRING"
1393 cat >>confdefs.h <<_ACEOF
1394 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1398 # Let the site file select an alternate cache file if it wants to.
1399 # Prefer explicitly selected file to automatically selected ones.
1400 if test -z "$CONFIG_SITE"; then
1401 if test "x$prefix" != xNONE; then
1402 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1404 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1407 for ac_site_file in $CONFIG_SITE; do
1408 if test -r "$ac_site_file"; then
1409 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1410 echo "$as_me: loading site script $ac_site_file" >&6;}
1411 sed 's
/^
/|
/' "$ac_site_file" >&5
1416 if test -r "$cache_file"; then
1417 # Some versions of bash will fail to source /dev/null (special
1418 # files actually), so we avoid doing that.
1419 if test -f "$cache_file"; then
1420 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1421 echo "$as_me: loading cache $cache_file" >&6;}
1423 [\\/]* | ?:[\\/]* ) . $cache_file;;
1424 *) . ./$cache_file;;
1428 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1429 echo "$as_me: creating cache $cache_file" >&6;}
1433 # Check that the precious variables saved in the cache have kept the same
1435 ac_cache_corrupted=false
1436 for ac_var in `(set) 2>&1 |
1437 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1438 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1439 eval ac_new_set=\$ac_env_${ac_var}_set
1440 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1441 eval ac_new_val="\$ac_env_${ac_var}_value"
1442 case $ac_old_set,$ac_new_set in
1444 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1445 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1446 ac_cache_corrupted=: ;;
1448 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1449 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1450 ac_cache_corrupted=: ;;
1453 if test "x$ac_old_val" != "x$ac_new_val"; then
1454 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1455 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1456 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1457 echo "$as_me: former value: $ac_old_val" >&2;}
1458 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1459 echo "$as_me: current value: $ac_new_val" >&2;}
1460 ac_cache_corrupted=:
1463 # Pass precious variables to config.status.
1464 if test "$ac_new_set" = set; then
1466 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1467 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1468 *) ac_arg=$ac_var=$ac_new_val ;;
1470 case " $ac_configure_args " in
1471 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1472 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1476 if $ac_cache_corrupted; then
1477 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1478 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1479 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1480 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1481 { (exit 1); exit 1; }; }
1485 ac_cpp='$CPP $CPPFLAGS'
1486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1487 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1520 am__api_version="1.8"
1522 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1523 if test -f $ac_dir/install-sh; then
1525 ac_install_sh="$ac_aux_dir/install-sh -c"
1527 elif test -f $ac_dir/install.sh; then
1529 ac_install_sh="$ac_aux_dir/install.sh -c"
1531 elif test -f $ac_dir/shtool; then
1533 ac_install_sh="$ac_aux_dir/shtool install -c"
1537 if test -z "$ac_aux_dir"; then
1538 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1539 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1540 { (exit 1); exit 1; }; }
1542 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1543 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1544 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1546 # Find a good install program. We prefer a C program (faster),
1547 # so one script is as good as another. But avoid the broken or
1548 # incompatible versions:
1549 # SysV /etc/install, /usr/sbin/install
1550 # SunOS /usr/etc/install
1551 # IRIX /sbin/install
1553 # AmigaOS /C/install, which installs bootblocks on floppy discs
1554 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1555 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1556 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1557 # OS/2's system install, which has a completely different semantic
1558 # ./install, which can be erroneously created by make from ./install.sh.
1559 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1560 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1561 if test -z "$INSTALL"; then
1562 if test "${ac_cv_path_install+set}" = set; then
1563 echo $ECHO_N "(cached) $ECHO_C" >&6
1565 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1569 test -z "$as_dir" && as_dir
=.
1570 # Account for people who put trailing slashes in PATH elements.
1572 .
/ | .
// |
/cC
/* | \
1573 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1574 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1577 # OSF1 and SCO ODT 3.0 have their own names for install.
1578 # Don't use installbsd from OSF since it installs stuff as root
1580 for ac_prog
in ginstall scoinst
install; do
1581 for ac_exec_ext
in '' $ac_executable_extensions; do
1582 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1583 if test $ac_prog = install &&
1584 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1585 # AIX install. It has an incompatible calling convention.
1587 elif test $ac_prog = install &&
1588 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1589 # program-specific install script used by HP pwplus--don't use.
1592 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1604 if test "${ac_cv_path_install+set}" = set; then
1605 INSTALL
=$ac_cv_path_install
1607 # As a last resort, use the slow shell script. We don't cache a
1608 # path for INSTALL within a source directory, because that will
1609 # break other packages using the cache if that directory is
1610 # removed, or if the path is relative.
1611 INSTALL
=$ac_install_sh
1614 echo "$as_me:$LINENO: result: $INSTALL" >&5
1615 echo "${ECHO_T}$INSTALL" >&6
1617 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1618 # It thinks the first close brace ends the variable substitution.
1619 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1621 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1623 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1625 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1626 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1629 echo timestamp
> conftest.
file
1630 # Do `set' in a subshell so we don't clobber the current shell's
1631 # arguments. Must try -L first in case configure is actually a
1632 # symlink; some systems play weird games with the mod time of symlinks
1633 # (eg FreeBSD returns the mod time of the symlink's containing
1636 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1637 if test "$*" = "X"; then
1639 set X
`ls -t $srcdir/configure conftest.file`
1642 if test "$*" != "X $srcdir/configure conftest.file" \
1643 && test "$*" != "X conftest.file $srcdir/configure"; then
1645 # If neither matched, then we have a broken ls. This can happen
1646 # if, for instance, CONFIG_SHELL is bash and it inherits a
1647 # broken ls alias from the environment. This has actually
1648 # happened. Such a system could not be considered "sane".
1649 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1650 alias in your environment" >&5
1651 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1652 alias in your environment" >&2;}
1653 { (exit 1); exit 1; }; }
1656 test "$2" = conftest.
file
1662 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1663 Check your system clock" >&5
1664 echo "$as_me: error: newly created file is older than distributed files!
1665 Check your system clock" >&2;}
1666 { (exit 1); exit 1; }; }
1668 echo "$as_me:$LINENO: result: yes" >&5
1669 echo "${ECHO_T}yes" >&6
1670 test "$program_prefix" != NONE
&&
1671 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1672 # Use a double $ so make ignores it.
1673 test "$program_suffix" != NONE
&&
1674 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1675 # Double any \ or $. echo might interpret backslashes.
1676 # By default was `s,x,x', remove it if useless.
1677 cat <<\_ACEOF
>conftest.
sed
1678 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1680 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1683 # expand $ac_aux_dir to an absolute path
1684 am_aux_dir
=`cd $ac_aux_dir && pwd`
1686 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1687 # Use eval to expand $SHELL
1688 if eval "$MISSING --run true"; then
1689 am_missing_run
="$MISSING --run "
1692 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1693 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1696 if mkdir
-p -- .
2>/dev
/null
; then
1697 # Keeping the `.' argument allows $(mkdir_p) to be used without
1698 # argument. Indeed, we sometimes output rules like
1699 # $(mkdir_p) $(somedir)
1700 # where $(somedir) is conditionally defined.
1701 # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
1702 # expensive solution, as it forces Make to start a sub-shell.)
1703 mkdir_p
='mkdir -p -- .'
1705 # On NextStep and OpenStep, the `mkdir' command does not
1706 # recognize any option. It will interpret all options as
1707 # directories to create, and then abort because `.' already
1711 test -d $d && rmdir $d
1713 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1714 if test -f "$ac_aux_dir/mkinstalldirs"; then
1715 mkdir_p
='$(mkinstalldirs)'
1717 mkdir_p
='$(install_sh) -d'
1721 for ac_prog
in gawk mawk nawk
awk
1723 # Extract the first word of "$ac_prog", so it can be a program name with args.
1724 set dummy
$ac_prog; ac_word
=$2
1725 echo "$as_me:$LINENO: checking for $ac_word" >&5
1726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1727 if test "${ac_cv_prog_AWK+set}" = set; then
1728 echo $ECHO_N "(cached) $ECHO_C" >&6
1730 if test -n "$AWK"; then
1731 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1733 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1737 test -z "$as_dir" && as_dir
=.
1738 for ac_exec_ext
in '' $ac_executable_extensions; do
1739 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1740 ac_cv_prog_AWK
="$ac_prog"
1741 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1750 if test -n "$AWK"; then
1751 echo "$as_me:$LINENO: result: $AWK" >&5
1752 echo "${ECHO_T}$AWK" >&6
1754 echo "$as_me:$LINENO: result: no" >&5
1755 echo "${ECHO_T}no" >&6
1758 test -n "$AWK" && break
1761 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1762 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1763 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1764 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1765 echo $ECHO_N "(cached) $ECHO_C" >&6
1767 cat >conftest.
make <<\_ACEOF
1769 @
echo 'ac_maketemp="$(MAKE)"'
1771 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1772 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1773 if test -n "$ac_maketemp"; then
1774 eval ac_cv_prog_make_
${ac_make}_set
=yes
1776 eval ac_cv_prog_make_
${ac_make}_set
=no
1780 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1781 echo "$as_me:$LINENO: result: yes" >&5
1782 echo "${ECHO_T}yes" >&6
1785 echo "$as_me:$LINENO: result: no" >&5
1786 echo "${ECHO_T}no" >&6
1787 SET_MAKE
="MAKE=${MAKE-make}"
1790 rm -rf .tst
2>/dev
/null
1791 mkdir .tst
2>/dev
/null
1792 if test -d .tst
; then
1797 rmdir .tst
2>/dev
/null
1799 # test to see if srcdir already configured
1800 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1801 test -f $srcdir/config.status
; then
1802 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1803 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1804 { (exit 1); exit 1; }; }
1807 # test whether we have cygpath
1808 if test -z "$CYGPATH_W"; then
1809 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1810 CYGPATH_W
='cygpath -w'
1817 # Define the identity of the package.
1822 cat >>confdefs.h
<<_ACEOF
1823 #define PACKAGE "$PACKAGE"
1827 cat >>confdefs.h
<<_ACEOF
1828 #define VERSION "$VERSION"
1831 # Some tools Automake needs.
1833 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1836 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1839 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1842 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1845 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1848 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1850 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1852 # Installed binaries are usually stripped using `strip' when the user
1853 # run `make install-strip'. However `strip' might not be the right
1854 # tool to use in cross-compilation environments, therefore Automake
1855 # will honor the `STRIP' environment variable to overrule this program.
1856 if test "$cross_compiling" != no
; then
1857 if test -n "$ac_tool_prefix"; then
1858 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1859 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1860 echo "$as_me:$LINENO: checking for $ac_word" >&5
1861 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1862 if test "${ac_cv_prog_STRIP+set}" = set; then
1863 echo $ECHO_N "(cached) $ECHO_C" >&6
1865 if test -n "$STRIP"; then
1866 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1868 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1872 test -z "$as_dir" && as_dir
=.
1873 for ac_exec_ext
in '' $ac_executable_extensions; do
1874 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1875 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1876 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1884 STRIP
=$ac_cv_prog_STRIP
1885 if test -n "$STRIP"; then
1886 echo "$as_me:$LINENO: result: $STRIP" >&5
1887 echo "${ECHO_T}$STRIP" >&6
1889 echo "$as_me:$LINENO: result: no" >&5
1890 echo "${ECHO_T}no" >&6
1894 if test -z "$ac_cv_prog_STRIP"; then
1896 # Extract the first word of "strip", so it can be a program name with args.
1897 set dummy strip
; ac_word
=$2
1898 echo "$as_me:$LINENO: checking for $ac_word" >&5
1899 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1900 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1901 echo $ECHO_N "(cached) $ECHO_C" >&6
1903 if test -n "$ac_ct_STRIP"; then
1904 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1906 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1910 test -z "$as_dir" && as_dir
=.
1911 for ac_exec_ext
in '' $ac_executable_extensions; do
1912 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1913 ac_cv_prog_ac_ct_STRIP
="strip"
1914 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1920 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1923 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1924 if test -n "$ac_ct_STRIP"; then
1925 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1926 echo "${ECHO_T}$ac_ct_STRIP" >&6
1928 echo "$as_me:$LINENO: result: no" >&5
1929 echo "${ECHO_T}no" >&6
1934 STRIP
="$ac_cv_prog_STRIP"
1938 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1940 # We need awk for the "check" target. The system "awk" is bad on
1946 ac_config_headers
="$ac_config_headers config.h"
1950 # Make sure we can run config.sub.
1951 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1952 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1953 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1954 { (exit 1); exit 1; }; }
1956 echo "$as_me:$LINENO: checking build system type" >&5
1957 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1958 if test "${ac_cv_build+set}" = set; then
1959 echo $ECHO_N "(cached) $ECHO_C" >&6
1961 ac_cv_build_alias
=$build_alias
1962 test -z "$ac_cv_build_alias" &&
1963 ac_cv_build_alias
=`$ac_config_guess`
1964 test -z "$ac_cv_build_alias" &&
1965 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1966 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1967 { (exit 1); exit 1; }; }
1968 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1969 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1970 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1971 { (exit 1); exit 1; }; }
1974 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1975 echo "${ECHO_T}$ac_cv_build" >&6
1977 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1978 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1979 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1982 echo "$as_me:$LINENO: checking host system type" >&5
1983 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1984 if test "${ac_cv_host+set}" = set; then
1985 echo $ECHO_N "(cached) $ECHO_C" >&6
1987 ac_cv_host_alias
=$host_alias
1988 test -z "$ac_cv_host_alias" &&
1989 ac_cv_host_alias
=$ac_cv_build_alias
1990 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1991 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1992 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1993 { (exit 1); exit 1; }; }
1996 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1997 echo "${ECHO_T}$ac_cv_host" >&6
1999 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2000 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2001 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2007 ac_cpp
='$CPP $CPPFLAGS'
2008 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2009 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2010 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2011 if test -n "$ac_tool_prefix"; then
2012 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2013 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2014 echo "$as_me:$LINENO: checking for $ac_word" >&5
2015 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2016 if test "${ac_cv_prog_CC+set}" = set; then
2017 echo $ECHO_N "(cached) $ECHO_C" >&6
2019 if test -n "$CC"; then
2020 ac_cv_prog_CC
="$CC" # Let the user override the test.
2022 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2026 test -z "$as_dir" && as_dir
=.
2027 for ac_exec_ext
in '' $ac_executable_extensions; do
2028 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2029 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2030 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2039 if test -n "$CC"; then
2040 echo "$as_me:$LINENO: result: $CC" >&5
2041 echo "${ECHO_T}$CC" >&6
2043 echo "$as_me:$LINENO: result: no" >&5
2044 echo "${ECHO_T}no" >&6
2048 if test -z "$ac_cv_prog_CC"; then
2050 # Extract the first word of "gcc", so it can be a program name with args.
2051 set dummy gcc
; ac_word
=$2
2052 echo "$as_me:$LINENO: checking for $ac_word" >&5
2053 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2054 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2055 echo $ECHO_N "(cached) $ECHO_C" >&6
2057 if test -n "$ac_ct_CC"; then
2058 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2060 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2064 test -z "$as_dir" && as_dir
=.
2065 for ac_exec_ext
in '' $ac_executable_extensions; do
2066 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2067 ac_cv_prog_ac_ct_CC
="gcc"
2068 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2076 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2077 if test -n "$ac_ct_CC"; then
2078 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2079 echo "${ECHO_T}$ac_ct_CC" >&6
2081 echo "$as_me:$LINENO: result: no" >&5
2082 echo "${ECHO_T}no" >&6
2090 if test -z "$CC"; then
2091 if test -n "$ac_tool_prefix"; then
2092 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2093 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2094 echo "$as_me:$LINENO: checking for $ac_word" >&5
2095 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2096 if test "${ac_cv_prog_CC+set}" = set; then
2097 echo $ECHO_N "(cached) $ECHO_C" >&6
2099 if test -n "$CC"; then
2100 ac_cv_prog_CC
="$CC" # Let the user override the test.
2102 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2106 test -z "$as_dir" && as_dir
=.
2107 for ac_exec_ext
in '' $ac_executable_extensions; do
2108 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2109 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2110 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2119 if test -n "$CC"; then
2120 echo "$as_me:$LINENO: result: $CC" >&5
2121 echo "${ECHO_T}$CC" >&6
2123 echo "$as_me:$LINENO: result: no" >&5
2124 echo "${ECHO_T}no" >&6
2128 if test -z "$ac_cv_prog_CC"; then
2130 # Extract the first word of "cc", so it can be a program name with args.
2131 set dummy cc
; ac_word
=$2
2132 echo "$as_me:$LINENO: checking for $ac_word" >&5
2133 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2134 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2135 echo $ECHO_N "(cached) $ECHO_C" >&6
2137 if test -n "$ac_ct_CC"; then
2138 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2140 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2144 test -z "$as_dir" && as_dir
=.
2145 for ac_exec_ext
in '' $ac_executable_extensions; do
2146 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2147 ac_cv_prog_ac_ct_CC
="cc"
2148 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2156 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2157 if test -n "$ac_ct_CC"; then
2158 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2159 echo "${ECHO_T}$ac_ct_CC" >&6
2161 echo "$as_me:$LINENO: result: no" >&5
2162 echo "${ECHO_T}no" >&6
2171 if test -z "$CC"; then
2172 # Extract the first word of "cc", so it can be a program name with args.
2173 set dummy cc
; ac_word
=$2
2174 echo "$as_me:$LINENO: checking for $ac_word" >&5
2175 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2176 if test "${ac_cv_prog_CC+set}" = set; then
2177 echo $ECHO_N "(cached) $ECHO_C" >&6
2179 if test -n "$CC"; then
2180 ac_cv_prog_CC
="$CC" # Let the user override the test.
2183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2187 test -z "$as_dir" && as_dir
=.
2188 for ac_exec_ext
in '' $ac_executable_extensions; do
2189 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2190 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2191 ac_prog_rejected
=yes
2195 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2201 if test $ac_prog_rejected = yes; then
2202 # We found a bogon in the path, so make sure we never use it.
2203 set dummy
$ac_cv_prog_CC
2205 if test $# != 0; then
2206 # We chose a different compiler from the bogus one.
2207 # However, it has the same basename, so the bogon will be chosen
2208 # first if we set CC to just the basename; use the full file name.
2210 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2216 if test -n "$CC"; then
2217 echo "$as_me:$LINENO: result: $CC" >&5
2218 echo "${ECHO_T}$CC" >&6
2220 echo "$as_me:$LINENO: result: no" >&5
2221 echo "${ECHO_T}no" >&6
2225 if test -z "$CC"; then
2226 if test -n "$ac_tool_prefix"; then
2229 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2230 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2231 echo "$as_me:$LINENO: checking for $ac_word" >&5
2232 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2233 if test "${ac_cv_prog_CC+set}" = set; then
2234 echo $ECHO_N "(cached) $ECHO_C" >&6
2236 if test -n "$CC"; then
2237 ac_cv_prog_CC
="$CC" # Let the user override the test.
2239 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2243 test -z "$as_dir" && as_dir
=.
2244 for ac_exec_ext
in '' $ac_executable_extensions; do
2245 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2246 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2247 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2256 if test -n "$CC"; then
2257 echo "$as_me:$LINENO: result: $CC" >&5
2258 echo "${ECHO_T}$CC" >&6
2260 echo "$as_me:$LINENO: result: no" >&5
2261 echo "${ECHO_T}no" >&6
2264 test -n "$CC" && break
2267 if test -z "$CC"; then
2271 # Extract the first word of "$ac_prog", so it can be a program name with args.
2272 set dummy
$ac_prog; ac_word
=$2
2273 echo "$as_me:$LINENO: checking for $ac_word" >&5
2274 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2275 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2276 echo $ECHO_N "(cached) $ECHO_C" >&6
2278 if test -n "$ac_ct_CC"; then
2279 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2281 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2285 test -z "$as_dir" && as_dir
=.
2286 for ac_exec_ext
in '' $ac_executable_extensions; do
2287 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2288 ac_cv_prog_ac_ct_CC
="$ac_prog"
2289 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2297 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2298 if test -n "$ac_ct_CC"; then
2299 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2300 echo "${ECHO_T}$ac_ct_CC" >&6
2302 echo "$as_me:$LINENO: result: no" >&5
2303 echo "${ECHO_T}no" >&6
2306 test -n "$ac_ct_CC" && break
2315 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2316 See \`config.log' for more details." >&5
2317 echo "$as_me: error: no acceptable C compiler found in \$PATH
2318 See \`config.log' for more details." >&2;}
2319 { (exit 1); exit 1; }; }
2321 # Provide some information about the compiler.
2322 echo "$as_me:$LINENO:" \
2323 "checking for C compiler version" >&5
2324 ac_compiler
=`set X $ac_compile; echo $2`
2325 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2326 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2329 (exit $ac_status); }
2330 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2331 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2334 (exit $ac_status); }
2335 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2336 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2339 (exit $ac_status); }
2341 cat >conftest.
$ac_ext <<_ACEOF
2344 cat confdefs.h
>>conftest.
$ac_ext
2345 cat >>conftest.
$ac_ext <<_ACEOF
2346 /* end confdefs.h. */
2356 ac_clean_files_save
=$ac_clean_files
2357 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2358 # Try to create an executable without -o first, disregard a.out.
2359 # It will help us diagnose broken compilers, and finding out an intuition
2361 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2362 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2363 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2364 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2365 (eval $ac_link_default) 2>&5
2367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2368 (exit $ac_status); }; then
2369 # Find the output, starting from the most likely. This scheme is
2370 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2373 # Be careful to initialize this variable, since it used to be cached.
2374 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2376 # b.out is created by i960 compilers.
2377 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2379 test -f "$ac_file" ||
continue
2381 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2384 # This is the source file.
2387 # We found the default executable, but exeext='' is most
2391 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2392 # FIXME: I believe we export ac_cv_exeext for Libtool,
2393 # but it would be cool to find out if it's true. Does anybody
2394 # maintain Libtool? --akim.
2402 echo "$as_me: failed program was:" >&5
2403 sed 's/^/| /' conftest.
$ac_ext >&5
2405 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2406 See \`config.log' for more details." >&5
2407 echo "$as_me: error: C compiler cannot create executables
2408 See \`config.log' for more details." >&2;}
2409 { (exit 77); exit 77; }; }
2412 ac_exeext
=$ac_cv_exeext
2413 echo "$as_me:$LINENO: result: $ac_file" >&5
2414 echo "${ECHO_T}$ac_file" >&6
2416 # Check the compiler produces executables we can run. If not, either
2417 # the compiler is broken, or we cross compile.
2418 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2419 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2420 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2421 # If not cross compiling, check that we can run a simple program.
2422 if test "$cross_compiling" != yes; then
2423 if { ac_try
='./$ac_file'
2424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2428 (exit $ac_status); }; }; then
2431 if test "$cross_compiling" = maybe
; then
2434 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2435 If you meant to cross compile, use \`--host'.
2436 See \`config.log' for more details." >&5
2437 echo "$as_me: error: cannot run C compiled programs.
2438 If you meant to cross compile, use \`--host'.
2439 See \`config.log' for more details." >&2;}
2440 { (exit 1); exit 1; }; }
2444 echo "$as_me:$LINENO: result: yes" >&5
2445 echo "${ECHO_T}yes" >&6
2447 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2448 ac_clean_files
=$ac_clean_files_save
2449 # Check the compiler produces executables we can run. If not, either
2450 # the compiler is broken, or we cross compile.
2451 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2452 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2453 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2454 echo "${ECHO_T}$cross_compiling" >&6
2456 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2457 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2459 (eval $ac_link) 2>&5
2461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2462 (exit $ac_status); }; then
2463 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2464 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2465 # work properly (i.e., refer to `conftest.exe'), while it won't with
2467 for ac_file
in conftest.exe conftest conftest.
*; do
2468 test -f "$ac_file" ||
continue
2470 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2471 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2478 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2479 See \`config.log' for more details." >&5
2480 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2481 See \`config.log' for more details." >&2;}
2482 { (exit 1); exit 1; }; }
2485 rm -f conftest
$ac_cv_exeext
2486 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2487 echo "${ECHO_T}$ac_cv_exeext" >&6
2489 rm -f conftest.
$ac_ext
2490 EXEEXT
=$ac_cv_exeext
2492 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2493 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2494 if test "${ac_cv_objext+set}" = set; then
2495 echo $ECHO_N "(cached) $ECHO_C" >&6
2497 cat >conftest.
$ac_ext <<_ACEOF
2500 cat confdefs.h
>>conftest.
$ac_ext
2501 cat >>conftest.
$ac_ext <<_ACEOF
2502 /* end confdefs.h. */
2512 rm -f conftest.o conftest.obj
2513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2514 (eval $ac_compile) 2>&5
2516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2517 (exit $ac_status); }; then
2518 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2520 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2521 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2526 echo "$as_me: failed program was:" >&5
2527 sed 's/^/| /' conftest.
$ac_ext >&5
2529 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2530 See \`config.log' for more details." >&5
2531 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2532 See \`config.log' for more details." >&2;}
2533 { (exit 1); exit 1; }; }
2536 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2538 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2539 echo "${ECHO_T}$ac_cv_objext" >&6
2540 OBJEXT
=$ac_cv_objext
2542 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2543 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2544 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2545 echo $ECHO_N "(cached) $ECHO_C" >&6
2547 cat >conftest.
$ac_ext <<_ACEOF
2550 cat confdefs.h
>>conftest.
$ac_ext
2551 cat >>conftest.
$ac_ext <<_ACEOF
2552 /* end confdefs.h. */
2565 rm -f conftest.
$ac_objext
2566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2567 (eval $ac_compile) 2>conftest.er1
2569 grep -v '^ *+' conftest.er1
>conftest.err
2571 cat conftest.err
>&5
2572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2573 (exit $ac_status); } &&
2574 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2579 (exit $ac_status); }; } &&
2580 { ac_try
='test -s conftest.$ac_objext'
2581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2585 (exit $ac_status); }; }; then
2588 echo "$as_me: failed program was:" >&5
2589 sed 's/^/| /' conftest.
$ac_ext >&5
2593 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2594 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2597 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2598 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2599 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2600 ac_test_CFLAGS
=${CFLAGS+set}
2601 ac_save_CFLAGS
=$CFLAGS
2603 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2604 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2605 if test "${ac_cv_prog_cc_g+set}" = set; then
2606 echo $ECHO_N "(cached) $ECHO_C" >&6
2608 cat >conftest.
$ac_ext <<_ACEOF
2611 cat confdefs.h
>>conftest.
$ac_ext
2612 cat >>conftest.
$ac_ext <<_ACEOF
2613 /* end confdefs.h. */
2623 rm -f conftest.
$ac_objext
2624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2625 (eval $ac_compile) 2>conftest.er1
2627 grep -v '^ *+' conftest.er1
>conftest.err
2629 cat conftest.err
>&5
2630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2631 (exit $ac_status); } &&
2632 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2637 (exit $ac_status); }; } &&
2638 { ac_try
='test -s conftest.$ac_objext'
2639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2643 (exit $ac_status); }; }; then
2646 echo "$as_me: failed program was:" >&5
2647 sed 's/^/| /' conftest.
$ac_ext >&5
2651 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2653 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2654 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2655 if test "$ac_test_CFLAGS" = set; then
2656 CFLAGS
=$ac_save_CFLAGS
2657 elif test $ac_cv_prog_cc_g = yes; then
2658 if test "$GCC" = yes; then
2664 if test "$GCC" = yes; then
2670 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2671 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2672 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2673 echo $ECHO_N "(cached) $ECHO_C" >&6
2675 ac_cv_prog_cc_stdc
=no
2677 cat >conftest.
$ac_ext <<_ACEOF
2680 cat confdefs.h
>>conftest.
$ac_ext
2681 cat >>conftest.
$ac_ext <<_ACEOF
2682 /* end confdefs.h. */
2685 #include <sys/types.h>
2686 #include <sys/stat.h>
2687 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2688 struct buf { int x; };
2689 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2690 static char *e (p, i)
2696 static char *f (char * (*g) (char **, int), char **p, ...)
2701 s = g (p, va_arg (v,int));
2706 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2707 function prototypes and stuff, but not '\xHH' hex character constants.
2708 These don't provoke an error unfortunately, instead are silently treated
2709 as 'x'. The following induces an error, until -std1 is added to get
2710 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2711 array size at least. It's necessary to write '\x00'==0 to get something
2712 that's true only with -std1. */
2713 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2715 int test (int i, double x);
2716 struct s1 {int (*f) (int a);};
2717 struct s2 {int (*f) (double a);};
2718 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2724 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2729 # Don't try gcc -ansi; that turns off useful extensions and
2730 # breaks some systems' header files.
2731 # AIX -qlanglvl=ansi
2732 # Ultrix and OSF/1 -std1
2733 # HP-UX 10.20 and later -Ae
2734 # HP-UX older versions -Aa -D_HPUX_SOURCE
2735 # SVR4 -Xc -D__EXTENSIONS__
2736 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2738 CC
="$ac_save_CC $ac_arg"
2739 rm -f conftest.
$ac_objext
2740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2741 (eval $ac_compile) 2>conftest.er1
2743 grep -v '^ *+' conftest.er1
>conftest.err
2745 cat conftest.err
>&5
2746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2747 (exit $ac_status); } &&
2748 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2753 (exit $ac_status); }; } &&
2754 { ac_try
='test -s conftest.$ac_objext'
2755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2759 (exit $ac_status); }; }; then
2760 ac_cv_prog_cc_stdc
=$ac_arg
2763 echo "$as_me: failed program was:" >&5
2764 sed 's/^/| /' conftest.
$ac_ext >&5
2767 rm -f conftest.err conftest.
$ac_objext
2769 rm -f conftest.
$ac_ext conftest.
$ac_objext
2774 case "x$ac_cv_prog_cc_stdc" in
2776 echo "$as_me:$LINENO: result: none needed" >&5
2777 echo "${ECHO_T}none needed" >&6 ;;
2779 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2780 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2781 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2784 # Some people use a C++ compiler to compile C. Since we use `exit',
2785 # in C++ we need to declare it. In case someone uses the same compiler
2786 # for both compiling C and C++ we need to have the C++ compiler decide
2787 # the declaration of exit, since it's the most demanding environment.
2788 cat >conftest.
$ac_ext <<_ACEOF
2793 rm -f conftest.
$ac_objext
2794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2795 (eval $ac_compile) 2>conftest.er1
2797 grep -v '^ *+' conftest.er1
>conftest.err
2799 cat conftest.err
>&5
2800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2801 (exit $ac_status); } &&
2802 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2807 (exit $ac_status); }; } &&
2808 { ac_try
='test -s conftest.$ac_objext'
2809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2813 (exit $ac_status); }; }; then
2814 for ac_declaration
in \
2816 'extern "C" void std::exit (int) throw (); using std::exit;' \
2817 'extern "C" void std::exit (int); using std::exit;' \
2818 'extern "C" void exit (int) throw ();' \
2819 'extern "C" void exit (int);' \
2822 cat >conftest.
$ac_ext <<_ACEOF
2825 cat confdefs.h
>>conftest.
$ac_ext
2826 cat >>conftest.
$ac_ext <<_ACEOF
2827 /* end confdefs.h. */
2838 rm -f conftest.
$ac_objext
2839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2840 (eval $ac_compile) 2>conftest.er1
2842 grep -v '^ *+' conftest.er1
>conftest.err
2844 cat conftest.err
>&5
2845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2846 (exit $ac_status); } &&
2847 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2852 (exit $ac_status); }; } &&
2853 { ac_try
='test -s conftest.$ac_objext'
2854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2858 (exit $ac_status); }; }; then
2861 echo "$as_me: failed program was:" >&5
2862 sed 's/^/| /' conftest.
$ac_ext >&5
2866 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2867 cat >conftest.
$ac_ext <<_ACEOF
2870 cat confdefs.h
>>conftest.
$ac_ext
2871 cat >>conftest.
$ac_ext <<_ACEOF
2872 /* end confdefs.h. */
2882 rm -f conftest.
$ac_objext
2883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2884 (eval $ac_compile) 2>conftest.er1
2886 grep -v '^ *+' conftest.er1
>conftest.err
2888 cat conftest.err
>&5
2889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2890 (exit $ac_status); } &&
2891 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2896 (exit $ac_status); }; } &&
2897 { ac_try
='test -s conftest.$ac_objext'
2898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2902 (exit $ac_status); }; }; then
2905 echo "$as_me: failed program was:" >&5
2906 sed 's/^/| /' conftest.
$ac_ext >&5
2909 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2912 if test -n "$ac_declaration"; then
2913 echo '#ifdef __cplusplus' >>confdefs.h
2914 echo $ac_declaration >>confdefs.h
2915 echo '#endif' >>confdefs.h
2919 echo "$as_me: failed program was:" >&5
2920 sed 's/^/| /' conftest.
$ac_ext >&5
2923 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2925 ac_cpp
='$CPP $CPPFLAGS'
2926 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2927 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2928 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2929 DEPDIR
="${am__leading_dot}deps"
2931 ac_config_commands
="$ac_config_commands depfiles"
2934 am_make
=${MAKE-make}
2935 cat > confinc
<< 'END'
2940 # If we don't find an include directive, just comment out the code.
2941 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2942 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2946 # First try GNU make style include.
2947 echo "include confinc" > confmf
2948 # We grep out `Entering directory' and `Leaving directory'
2949 # messages which can occur if `w' ends up in MAKEFLAGS.
2950 # In particular we don't look at `^make:' because GNU make might
2951 # be invoked under some other name (usually "gmake"), in which
2952 # case it prints its new name instead of `make'.
2953 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2958 # Now try BSD make style include.
2959 if test "$am__include" = "#"; then
2960 echo '.include "confinc"' > confmf
2961 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2962 am__include
=.include
2969 echo "$as_me:$LINENO: result: $_am_result" >&5
2970 echo "${ECHO_T}$_am_result" >&6
2971 rm -f confinc confmf
2973 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2974 if test "${enable_dependency_tracking+set}" = set; then
2975 enableval
="$enable_dependency_tracking"
2978 if test "x$enable_dependency_tracking" != xno
; then
2979 am_depcomp
="$ac_aux_dir/depcomp"
2984 if test "x$enable_dependency_tracking" != xno; then
2995 depcc
="$CC" am_compiler_list
=
2997 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2998 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2999 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3000 echo $ECHO_N "(cached) $ECHO_C" >&6
3002 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3003 # We make a subdir and do the tests there. Otherwise we can end up
3004 # making bogus files that we don't know about and never remove. For
3005 # instance it was reported that on HP-UX the gcc test will end up
3006 # making a dummy file named `D' -- because `-MD' means `put the output
3009 # Copy depcomp to subdir because otherwise we won't find it if we're
3010 # using a relative directory.
3011 cp "$am_depcomp" conftest.dir
3013 # We will build objects and dependencies in a subdirectory because
3014 # it helps to detect inapplicable dependency modes. For instance
3015 # both Tru64's cc and ICC support -MD to output dependencies as a
3016 # side effect of compilation, but ICC will put the dependencies in
3017 # the current directory while Tru64 will put them in the object
3021 am_cv_CC_dependencies_compiler_type
=none
3022 if test "$am_compiler_list" = ""; then
3023 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3025 for depmode
in $am_compiler_list; do
3026 # Setup a source with many dependencies, because some compilers
3027 # like to wrap large dependency lists on column 80 (with \), and
3028 # we should not choose a depcomp mode which is confused by this.
3030 # We need to recreate these files for each test, as the compiler may
3031 # overwrite some of them when testing with obscure command lines.
3032 # This happens at least with the AIX C compiler.
3034 for i
in 1 2 3 4 5 6; do
3035 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3038 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3042 # after this tag, mechanisms are not by side-effect, so they'll
3043 # only be used when explicitly requested
3044 if test "x$enable_dependency_tracking" = xyes
; then
3052 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3053 # mode. It turns out that the SunPro C++ compiler does not properly
3054 # handle `-M -o', and we need to detect this.
3055 if depmode
=$depmode \
3056 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3057 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3058 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3059 >/dev
/null
2>conftest.err
&&
3060 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3061 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3062 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3063 # icc doesn't choke on unknown options, it will just issue warnings
3064 # (even with -Werror). So we grep stderr for any message
3065 # that says an option was ignored.
3066 if grep 'ignoring option' conftest.err
>/dev
/null
2>&1; then :; else
3067 am_cv_CC_dependencies_compiler_type
=$depmode
3076 am_cv_CC_dependencies_compiler_type
=none
3080 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3081 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3082 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3087 test "x$enable_dependency_tracking" != xno \
3088 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3090 am__fastdepCC_FALSE
='#'
3092 am__fastdepCC_TRUE
='#'
3093 am__fastdepCC_FALSE
=
3098 if test "$GCC" = yes
3104 CPPFLAGS
="$CPPFLAGS -mno-cygwin"
3105 LDFLAGS
="$LDFLAGS -mno-cygwin"
3113 # Check whether --enable-shared or --disable-shared was given.
3114 if test "${enable_shared+set}" = set; then
3115 enableval
="$enable_shared"
3116 p
=${PACKAGE-default}
3118 yes) enable_shared
=yes ;;
3119 no
) enable_shared
=no
;;
3122 # Look at the argument we got. We use all the common list separators.
3123 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3124 for pkg
in $enableval; do
3126 if test "X$pkg" = "X$p"; then
3137 # Check whether --enable-static or --disable-static was given.
3138 if test "${enable_static+set}" = set; then
3139 enableval
="$enable_static"
3140 p
=${PACKAGE-default}
3142 yes) enable_static
=yes ;;
3143 no
) enable_static
=no
;;
3146 # Look at the argument we got. We use all the common list separators.
3147 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3148 for pkg
in $enableval; do
3150 if test "X$pkg" = "X$p"; then
3161 # Check whether --enable-fast-install or --disable-fast-install was given.
3162 if test "${enable_fast_install+set}" = set; then
3163 enableval
="$enable_fast_install"
3164 p
=${PACKAGE-default}
3166 yes) enable_fast_install
=yes ;;
3167 no
) enable_fast_install
=no
;;
3169 enable_fast_install
=no
3170 # Look at the argument we got. We use all the common list separators.
3171 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3172 for pkg
in $enableval; do
3174 if test "X$pkg" = "X$p"; then
3175 enable_fast_install
=yes
3182 enable_fast_install
=yes
3185 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3186 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3187 if test "${lt_cv_path_SED+set}" = set; then
3188 echo $ECHO_N "(cached) $ECHO_C" >&6
3190 # Loop through the user's path and test for sed and gsed.
3191 # Then use that list of sed's as ones to test for truncation.
3192 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3196 test -z "$as_dir" && as_dir
=.
3197 for lt_ac_prog
in sed gsed
; do
3198 for ac_exec_ext
in '' $ac_executable_extensions; do
3199 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3200 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3207 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3208 # along with /bin/sed that truncates output.
3209 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
3210 test ! -f $lt_ac_sed && break
3211 cat /dev
/null
> conftest.
in
3213 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
3214 # Check for GNU sed and select it if it is found.
3215 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
3216 lt_cv_path_SED
=$lt_ac_sed
3220 cat conftest.
in conftest.
in >conftest.tmp
3221 mv conftest.tmp conftest.
in
3222 cp conftest.
in conftest.
nl
3224 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
3225 cmp -s conftest.out conftest.
nl ||
break
3226 # 10000 chars as input seems more than enough
3227 test $lt_ac_count -gt 10 && break
3228 lt_ac_count
=`expr $lt_ac_count + 1`
3229 if test $lt_ac_count -gt $lt_ac_max; then
3230 lt_ac_max
=$lt_ac_count
3231 lt_cv_path_SED
=$lt_ac_sed
3239 echo "$as_me:$LINENO: result: $SED" >&5
3240 echo "${ECHO_T}$SED" >&6
3242 echo "$as_me:$LINENO: checking for egrep" >&5
3243 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3244 if test "${ac_cv_prog_egrep+set}" = set; then
3245 echo $ECHO_N "(cached) $ECHO_C" >&6
3247 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3248 then ac_cv_prog_egrep
='grep -E'
3249 else ac_cv_prog_egrep
='egrep'
3252 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3253 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3254 EGREP
=$ac_cv_prog_egrep
3258 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3259 if test "${with_gnu_ld+set}" = set; then
3260 withval
="$with_gnu_ld"
3261 test "$withval" = no || with_gnu_ld
=yes
3266 if test "$GCC" = yes; then
3267 # Check if gcc -print-prog-name=ld gives a path.
3268 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3269 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
3272 # gcc leaves a trailing carriage return which upsets mingw
3273 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3275 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3278 # Accept absolute paths.
3280 re_direlt
='/[^/][^/]*/\.\./'
3281 # Canonicalize the pathname of ld
3282 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
3283 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
3284 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
3286 test -z "$LD" && LD
="$ac_prog"
3289 # If it fails, then pretend we aren't using GCC.
3293 # If it is relative, then search for the first ld in PATH.
3297 elif test "$with_gnu_ld" = yes; then
3298 echo "$as_me:$LINENO: checking for GNU ld" >&5
3299 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3301 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3302 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3304 if test "${lt_cv_path_LD+set}" = set; then
3305 echo $ECHO_N "(cached) $ECHO_C" >&6
3307 if test -z "$LD"; then
3308 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
3309 for ac_dir
in $PATH; do
3311 test -z "$ac_dir" && ac_dir
=.
3312 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3313 lt_cv_path_LD
="$ac_dir/$ac_prog"
3314 # Check to see if the program is GNU ld. I'd rather use --version,
3315 # but apparently some GNU ld's only accept -v.
3316 # Break only if it was the GNU/non-GNU ld that we prefer.
3317 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3318 *GNU
* |
*'with BFD'*)
3319 test "$with_gnu_ld" != no
&& break
3322 test "$with_gnu_ld" != yes && break
3329 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3334 if test -n "$LD"; then
3335 echo "$as_me:$LINENO: result: $LD" >&5
3336 echo "${ECHO_T}$LD" >&6
3338 echo "$as_me:$LINENO: result: no" >&5
3339 echo "${ECHO_T}no" >&6
3341 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3342 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3343 { (exit 1); exit 1; }; }
3344 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3345 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3346 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3347 echo $ECHO_N "(cached) $ECHO_C" >&6
3349 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3350 case `$LD -v 2>&1 </dev/null` in
3351 *GNU
* |
*'with BFD'*)
3352 lt_cv_prog_gnu_ld
=yes
3355 lt_cv_prog_gnu_ld
=no
3359 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3360 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3361 with_gnu_ld
=$lt_cv_prog_gnu_ld
3364 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3365 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3366 if test "${lt_cv_ld_reload_flag+set}" = set; then
3367 echo $ECHO_N "(cached) $ECHO_C" >&6
3369 lt_cv_ld_reload_flag
='-r'
3371 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3372 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3373 reload_flag
=$lt_cv_ld_reload_flag
3374 case $reload_flag in
3376 *) reload_flag
=" $reload_flag" ;;
3378 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
3380 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3381 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3382 if test "${lt_cv_path_NM+set}" = set; then
3383 echo $ECHO_N "(cached) $ECHO_C" >&6
3385 if test -n "$NM"; then
3386 # Let the user override the test.
3389 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
3390 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
3392 test -z "$ac_dir" && ac_dir
=.
3393 tmp_nm
="$ac_dir/${ac_tool_prefix}nm"
3394 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
3395 # Check to see if the nm accepts a BSD-compat flag.
3396 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3397 # nm: unknown option "B" ignored
3398 # Tru64's nm complains that /dev/null is an invalid object file
3399 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3400 */dev
/null
* |
*'Invalid file or object type'*)
3401 lt_cv_path_NM
="$tmp_nm -B"
3405 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3407 lt_cv_path_NM
="$tmp_nm -p"
3411 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3412 continue # so that we can try to find one that supports BSD flags
3419 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
3422 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
3423 echo "${ECHO_T}$lt_cv_path_NM" >&6
3426 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3427 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3429 if test "$LN_S" = "ln -s"; then
3430 echo "$as_me:$LINENO: result: yes" >&5
3431 echo "${ECHO_T}yes" >&6
3433 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3434 echo "${ECHO_T}no, using $LN_S" >&6
3437 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
3438 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
3439 if test "${lt_cv_deplibs_check_method+set}" = set; then
3440 echo $ECHO_N "(cached) $ECHO_C" >&6
3442 lt_cv_file_magic_cmd
='$MAGIC_CMD'
3443 lt_cv_file_magic_test_file
=
3444 lt_cv_deplibs_check_method
='unknown'
3445 # Need to set the preceding variable on all platforms that support
3446 # interlibrary dependencies.
3447 # 'none' -- dependencies not supported.
3448 # `unknown' -- same as none, but documents that we really don't know.
3449 # 'pass_all' -- all dependencies passed with no checks.
3450 # 'test_compile' -- check by making test program.
3451 # 'file_magic [[regex]]' -- check by looking for files in library path
3452 # which responds to the $file_magic_cmd with a given extended regex.
3453 # If you have `file' or equivalent on your system and you're not sure
3454 # whether `pass_all' will *always* work, you probably want this one.
3458 lt_cv_deplibs_check_method
=pass_all
3462 lt_cv_deplibs_check_method
=pass_all
3466 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3467 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3468 lt_cv_file_magic_test_file
=/shlib
/libc.so
3472 # win32_libid is a shell function defined in ltmain.sh
3473 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
3474 lt_cv_file_magic_cmd
='win32_libid'
3478 # Base MSYS/MinGW do not provide the 'file' command needed by
3479 # win32_libid shell function, so use a weaker test based on 'objdump'.
3480 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
3481 lt_cv_file_magic_cmd
='$OBJDUMP -f'
3484 darwin
* | rhapsody
*)
3485 lt_cv_deplibs_check_method
=pass_all
3488 freebsd
* | kfreebsd
*-gnu)
3489 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3492 # Not sure whether the presence of OpenBSD here was a mistake.
3493 # Let's accept both of them until this is cleared up.
3494 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3495 lt_cv_file_magic_cmd
=/usr
/bin
/file
3496 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3500 lt_cv_deplibs_check_method
=pass_all
3505 lt_cv_deplibs_check_method
=pass_all
3508 hpux10.20
* | hpux11
*)
3509 lt_cv_file_magic_cmd
=/usr
/bin
/file
3512 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3513 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
3516 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]'
3517 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
3520 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3521 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
3526 irix5
* | irix6
* | nonstopux
*)
3528 *-32|
*"-32 ") libmagic
=32-bit;;
3529 *-n32|
*"-n32 ") libmagic
=N32
;;
3530 *-64|
*"-64 ") libmagic
=64-bit;;
3531 *) libmagic
=never-match
;;
3533 lt_cv_deplibs_check_method
=pass_all
3536 # This must be Linux ELF.
3538 lt_cv_deplibs_check_method
=pass_all
3541 netbsd
* | knetbsd
*-gnu)
3542 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3543 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
3545 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
3550 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3551 lt_cv_file_magic_cmd
=/usr
/bin
/file
3552 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
3556 lt_cv_deplibs_check_method
=unknown
3560 lt_cv_file_magic_cmd
=/usr
/bin
/file
3561 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3562 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
3563 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
3565 lt_cv_deplibs_check_method
='file_magic OpenBSD.* shared library'
3569 osf3
* | osf4
* | osf5
*)
3570 lt_cv_deplibs_check_method
=pass_all
3574 lt_cv_deplibs_check_method
=pass_all
3578 lt_cv_deplibs_check_method
=pass_all
3581 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
3582 case $host_vendor in
3584 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]'
3585 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
3588 lt_cv_deplibs_check_method
=pass_all
3591 lt_cv_file_magic_cmd
='/bin/file'
3592 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
3595 lt_cv_file_magic_cmd
='/bin/file'
3596 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
3597 lt_cv_file_magic_test_file
=/lib
/libc.so
3600 lt_cv_deplibs_check_method
=pass_all
3605 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
* | sysv4
*uw2
*)
3606 lt_cv_deplibs_check_method
=pass_all
3611 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3612 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3613 file_magic_cmd
=$lt_cv_file_magic_cmd
3614 deplibs_check_method
=$lt_cv_deplibs_check_method
3615 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
3620 # If no C compiler was specified, use CC.
3623 # Allow CC to be a program name with arguments.
3627 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
3628 if test "${enable_libtool_lock+set}" = set; then
3629 enableval
="$enable_libtool_lock"
3632 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
3634 # Some flags need to be propagated to the compiler or linker for good
3638 # Find out which ABI we are using.
3639 echo 'int i;' > conftest.
$ac_ext
3640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3641 (eval $ac_compile) 2>&5
3643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3644 (exit $ac_status); }; then
3645 case `/usr/bin/file conftest.$ac_objext` in
3657 # Find out which ABI we are using.
3658 echo '#line 3658 "configure"' > conftest.
$ac_ext
3659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3660 (eval $ac_compile) 2>&5
3662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3663 (exit $ac_status); }; then
3664 if test "$lt_cv_prog_gnu_ld" = yes; then
3665 case `/usr/bin/file conftest.$ac_objext` in
3667 LD
="${LD-ld} -melf32bsmip"
3670 LD
="${LD-ld} -melf32bmipn32"
3673 LD
="${LD-ld} -melf64bmip"
3677 case `/usr/bin/file conftest.$ac_objext` in
3693 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
3694 # Find out which ABI we are using.
3695 echo 'int i;' > conftest.
$ac_ext
3696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3697 (eval $ac_compile) 2>&5
3699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3700 (exit $ac_status); }; then
3701 case "`/usr/bin/file conftest.o`" in
3705 LD
="${LD-ld} -m elf_i386"
3707 ppc64-
*linux
*|powerpc64-
*linux
*)
3708 LD
="${LD-ld} -m elf32ppclinux"
3711 LD
="${LD-ld} -m elf_s390"
3714 LD
="${LD-ld} -m elf32_sparc"
3721 LD
="${LD-ld} -m elf_x86_64"
3723 ppc
*-*linux
*|powerpc
*-*linux
*)
3724 LD
="${LD-ld} -m elf64ppc"
3727 LD
="${LD-ld} -m elf64_s390"
3730 LD
="${LD-ld} -m elf64_sparc"
3740 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
3741 SAVE_CFLAGS
="$CFLAGS"
3742 CFLAGS
="$CFLAGS -belf"
3743 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
3744 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
3745 if test "${lt_cv_cc_needs_belf+set}" = set; then
3746 echo $ECHO_N "(cached) $ECHO_C" >&6
3749 ac_cpp
='$CPP $CPPFLAGS'
3750 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3751 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3752 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3754 cat >conftest.
$ac_ext <<_ACEOF
3757 cat confdefs.h
>>conftest.
$ac_ext
3758 cat >>conftest.
$ac_ext <<_ACEOF
3759 /* end confdefs.h. */
3769 rm -f conftest.
$ac_objext conftest
$ac_exeext
3770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3771 (eval $ac_link) 2>conftest.er1
3773 grep -v '^ *+' conftest.er1
>conftest.err
3775 cat conftest.err
>&5
3776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3777 (exit $ac_status); } &&
3778 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3783 (exit $ac_status); }; } &&
3784 { ac_try
='test -s conftest$ac_exeext'
3785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3789 (exit $ac_status); }; }; then
3790 lt_cv_cc_needs_belf
=yes
3792 echo "$as_me: failed program was:" >&5
3793 sed 's/^/| /' conftest.
$ac_ext >&5
3795 lt_cv_cc_needs_belf
=no
3797 rm -f conftest.err conftest.
$ac_objext \
3798 conftest
$ac_exeext conftest.
$ac_ext
3800 ac_cpp
='$CPP $CPPFLAGS'
3801 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3802 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3803 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3806 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
3807 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
3808 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
3809 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
3810 CFLAGS
="$SAVE_CFLAGS"
3816 need_locks
="$enable_libtool_lock"
3820 ac_cpp
='$CPP $CPPFLAGS'
3821 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3822 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3823 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3824 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3825 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3826 # On Suns, sometimes $CPP names a directory.
3827 if test -n "$CPP" && test -d "$CPP"; then
3830 if test -z "$CPP"; then
3831 if test "${ac_cv_prog_CPP+set}" = set; then
3832 echo $ECHO_N "(cached) $ECHO_C" >&6
3834 # Double quotes because CPP needs to be expanded
3835 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3838 for ac_c_preproc_warn_flag
in '' yes
3840 # Use a header file that comes with gcc, so configuring glibc
3841 # with a fresh cross-compiler works.
3842 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3843 # <limits.h> exists even on freestanding compilers.
3844 # On the NeXT, cc -E runs the code through the compiler's parser,
3845 # not just through cpp. "Syntax error" is here to catch this case.
3846 cat >conftest.
$ac_ext <<_ACEOF
3849 cat confdefs.h
>>conftest.
$ac_ext
3850 cat >>conftest.
$ac_ext <<_ACEOF
3851 /* end confdefs.h. */
3853 # include <limits.h>
3855 # include <assert.h>
3859 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3860 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3862 grep -v '^ *+' conftest.er1
>conftest.err
3864 cat conftest.err
>&5
3865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3866 (exit $ac_status); } >/dev
/null
; then
3867 if test -s conftest.err
; then
3868 ac_cpp_err
=$ac_c_preproc_warn_flag
3869 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3876 if test -z "$ac_cpp_err"; then
3879 echo "$as_me: failed program was:" >&5
3880 sed 's/^/| /' conftest.
$ac_ext >&5
3882 # Broken: fails on valid input.
3885 rm -f conftest.err conftest.
$ac_ext
3887 # OK, works on sane cases. Now check whether non-existent headers
3888 # can be detected and how.
3889 cat >conftest.
$ac_ext <<_ACEOF
3892 cat confdefs.h
>>conftest.
$ac_ext
3893 cat >>conftest.
$ac_ext <<_ACEOF
3894 /* end confdefs.h. */
3895 #include <ac_nonexistent.h>
3897 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3898 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3900 grep -v '^ *+' conftest.er1
>conftest.err
3902 cat conftest.err
>&5
3903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3904 (exit $ac_status); } >/dev
/null
; then
3905 if test -s conftest.err
; then
3906 ac_cpp_err
=$ac_c_preproc_warn_flag
3907 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3914 if test -z "$ac_cpp_err"; then
3915 # Broken: success on invalid input.
3918 echo "$as_me: failed program was:" >&5
3919 sed 's/^/| /' conftest.
$ac_ext >&5
3921 # Passes both tests.
3925 rm -f conftest.err conftest.
$ac_ext
3928 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3929 rm -f conftest.err conftest.
$ac_ext
3930 if $ac_preproc_ok; then
3942 echo "$as_me:$LINENO: result: $CPP" >&5
3943 echo "${ECHO_T}$CPP" >&6
3945 for ac_c_preproc_warn_flag
in '' yes
3947 # Use a header file that comes with gcc, so configuring glibc
3948 # with a fresh cross-compiler works.
3949 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3950 # <limits.h> exists even on freestanding compilers.
3951 # On the NeXT, cc -E runs the code through the compiler's parser,
3952 # not just through cpp. "Syntax error" is here to catch this case.
3953 cat >conftest.
$ac_ext <<_ACEOF
3956 cat confdefs.h
>>conftest.
$ac_ext
3957 cat >>conftest.
$ac_ext <<_ACEOF
3958 /* end confdefs.h. */
3960 # include <limits.h>
3962 # include <assert.h>
3966 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3967 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3969 grep -v '^ *+' conftest.er1
>conftest.err
3971 cat conftest.err
>&5
3972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3973 (exit $ac_status); } >/dev
/null
; then
3974 if test -s conftest.err
; then
3975 ac_cpp_err
=$ac_c_preproc_warn_flag
3976 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3983 if test -z "$ac_cpp_err"; then
3986 echo "$as_me: failed program was:" >&5
3987 sed 's/^/| /' conftest.
$ac_ext >&5
3989 # Broken: fails on valid input.
3992 rm -f conftest.err conftest.
$ac_ext
3994 # OK, works on sane cases. Now check whether non-existent headers
3995 # can be detected and how.
3996 cat >conftest.
$ac_ext <<_ACEOF
3999 cat confdefs.h
>>conftest.
$ac_ext
4000 cat >>conftest.
$ac_ext <<_ACEOF
4001 /* end confdefs.h. */
4002 #include <ac_nonexistent.h>
4004 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4005 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4007 grep -v '^ *+' conftest.er1
>conftest.err
4009 cat conftest.err
>&5
4010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4011 (exit $ac_status); } >/dev
/null
; then
4012 if test -s conftest.err
; then
4013 ac_cpp_err
=$ac_c_preproc_warn_flag
4014 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4021 if test -z "$ac_cpp_err"; then
4022 # Broken: success on invalid input.
4025 echo "$as_me: failed program was:" >&5
4026 sed 's/^/| /' conftest.
$ac_ext >&5
4028 # Passes both tests.
4032 rm -f conftest.err conftest.
$ac_ext
4035 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4036 rm -f conftest.err conftest.
$ac_ext
4037 if $ac_preproc_ok; then
4040 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4041 See \`config.log' for more details." >&5
4042 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4043 See \`config.log' for more details." >&2;}
4044 { (exit 1); exit 1; }; }
4048 ac_cpp
='$CPP $CPPFLAGS'
4049 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4050 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4051 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4054 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4055 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4056 if test "${ac_cv_header_stdc+set}" = set; then
4057 echo $ECHO_N "(cached) $ECHO_C" >&6
4059 cat >conftest.
$ac_ext <<_ACEOF
4062 cat confdefs.h
>>conftest.
$ac_ext
4063 cat >>conftest.
$ac_ext <<_ACEOF
4064 /* end confdefs.h. */
4078 rm -f conftest.
$ac_objext
4079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4080 (eval $ac_compile) 2>conftest.er1
4082 grep -v '^ *+' conftest.er1
>conftest.err
4084 cat conftest.err
>&5
4085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4086 (exit $ac_status); } &&
4087 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4092 (exit $ac_status); }; } &&
4093 { ac_try
='test -s conftest.$ac_objext'
4094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4098 (exit $ac_status); }; }; then
4099 ac_cv_header_stdc
=yes
4101 echo "$as_me: failed program was:" >&5
4102 sed 's/^/| /' conftest.
$ac_ext >&5
4104 ac_cv_header_stdc
=no
4106 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4108 if test $ac_cv_header_stdc = yes; then
4109 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4110 cat >conftest.
$ac_ext <<_ACEOF
4113 cat confdefs.h
>>conftest.
$ac_ext
4114 cat >>conftest.
$ac_ext <<_ACEOF
4115 /* end confdefs.h. */
4119 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4120 $EGREP "memchr" >/dev
/null
2>&1; then
4123 ac_cv_header_stdc
=no
4129 if test $ac_cv_header_stdc = yes; then
4130 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4131 cat >conftest.
$ac_ext <<_ACEOF
4134 cat confdefs.h
>>conftest.
$ac_ext
4135 cat >>conftest.
$ac_ext <<_ACEOF
4136 /* end confdefs.h. */
4140 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4141 $EGREP "free" >/dev
/null
2>&1; then
4144 ac_cv_header_stdc
=no
4150 if test $ac_cv_header_stdc = yes; then
4151 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4152 if test "$cross_compiling" = yes; then
4155 cat >conftest.
$ac_ext <<_ACEOF
4158 cat confdefs.h
>>conftest.
$ac_ext
4159 cat >>conftest.
$ac_ext <<_ACEOF
4160 /* end confdefs.h. */
4162 #if ((' ' & 0x0FF) == 0x020)
4163 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4164 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4166 # define ISLOWER(c) \
4167 (('a' <= (c) && (c) <= 'i') \
4168 || ('j' <= (c) && (c) <= 'r') \
4169 || ('s' <= (c) && (c) <= 'z'))
4170 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4173 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4178 for (i = 0; i < 256; i++)
4179 if (XOR (islower (i), ISLOWER (i))
4180 || toupper (i) != TOUPPER (i))
4185 rm -f conftest
$ac_exeext
4186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4187 (eval $ac_link) 2>&5
4189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4190 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4195 (exit $ac_status); }; }; then
4198 echo "$as_me: program exited with status $ac_status" >&5
4199 echo "$as_me: failed program was:" >&5
4200 sed 's/^/| /' conftest.
$ac_ext >&5
4203 ac_cv_header_stdc
=no
4205 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4209 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4210 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4211 if test $ac_cv_header_stdc = yes; then
4213 cat >>confdefs.h
<<\_ACEOF
4214 #define STDC_HEADERS 1
4219 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4229 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4230 inttypes.h stdint.h unistd.h
4232 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4233 echo "$as_me:$LINENO: checking for $ac_header" >&5
4234 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4235 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4236 echo $ECHO_N "(cached) $ECHO_C" >&6
4238 cat >conftest.
$ac_ext <<_ACEOF
4241 cat confdefs.h
>>conftest.
$ac_ext
4242 cat >>conftest.
$ac_ext <<_ACEOF
4243 /* end confdefs.h. */
4244 $ac_includes_default
4246 #include <$ac_header>
4248 rm -f conftest.
$ac_objext
4249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4250 (eval $ac_compile) 2>conftest.er1
4252 grep -v '^ *+' conftest.er1
>conftest.err
4254 cat conftest.err
>&5
4255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4256 (exit $ac_status); } &&
4257 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4262 (exit $ac_status); }; } &&
4263 { ac_try
='test -s conftest.$ac_objext'
4264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4268 (exit $ac_status); }; }; then
4269 eval "$as_ac_Header=yes"
4271 echo "$as_me: failed program was:" >&5
4272 sed 's/^/| /' conftest.
$ac_ext >&5
4274 eval "$as_ac_Header=no"
4276 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4278 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4279 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4280 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4281 cat >>confdefs.h
<<_ACEOF
4282 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4291 for ac_header
in dlfcn.h
4293 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4294 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4295 echo "$as_me:$LINENO: checking for $ac_header" >&5
4296 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4297 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4298 echo $ECHO_N "(cached) $ECHO_C" >&6
4300 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4301 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4303 # Is the header compilable?
4304 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4305 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4306 cat >conftest.
$ac_ext <<_ACEOF
4309 cat confdefs.h
>>conftest.
$ac_ext
4310 cat >>conftest.
$ac_ext <<_ACEOF
4311 /* end confdefs.h. */
4312 $ac_includes_default
4313 #include <$ac_header>
4315 rm -f conftest.
$ac_objext
4316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4317 (eval $ac_compile) 2>conftest.er1
4319 grep -v '^ *+' conftest.er1
>conftest.err
4321 cat conftest.err
>&5
4322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4323 (exit $ac_status); } &&
4324 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4329 (exit $ac_status); }; } &&
4330 { ac_try
='test -s conftest.$ac_objext'
4331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4335 (exit $ac_status); }; }; then
4336 ac_header_compiler
=yes
4338 echo "$as_me: failed program was:" >&5
4339 sed 's/^/| /' conftest.
$ac_ext >&5
4341 ac_header_compiler
=no
4343 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4344 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4345 echo "${ECHO_T}$ac_header_compiler" >&6
4347 # Is the header present?
4348 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4349 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4350 cat >conftest.
$ac_ext <<_ACEOF
4353 cat confdefs.h
>>conftest.
$ac_ext
4354 cat >>conftest.
$ac_ext <<_ACEOF
4355 /* end confdefs.h. */
4356 #include <$ac_header>
4358 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4359 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4361 grep -v '^ *+' conftest.er1
>conftest.err
4363 cat conftest.err
>&5
4364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4365 (exit $ac_status); } >/dev
/null
; then
4366 if test -s conftest.err
; then
4367 ac_cpp_err
=$ac_c_preproc_warn_flag
4368 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4375 if test -z "$ac_cpp_err"; then
4376 ac_header_preproc
=yes
4378 echo "$as_me: failed program was:" >&5
4379 sed 's/^/| /' conftest.
$ac_ext >&5
4381 ac_header_preproc
=no
4383 rm -f conftest.err conftest.
$ac_ext
4384 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4385 echo "${ECHO_T}$ac_header_preproc" >&6
4387 # So? What about this header?
4388 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4390 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4391 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4392 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4393 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4394 ac_header_preproc
=yes
4397 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4398 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4399 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4400 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4401 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4402 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4403 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4404 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4405 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4406 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4407 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4408 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4411 ## ----------------------------------- ##
4412 ## Report this to support@underbit.com ##
4413 ## ----------------------------------- ##
4416 sed "s/^/$as_me: WARNING: /" >&2
4419 echo "$as_me:$LINENO: checking for $ac_header" >&5
4420 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4421 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4422 echo $ECHO_N "(cached) $ECHO_C" >&6
4424 eval "$as_ac_Header=\$ac_header_preproc"
4426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4427 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4430 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4431 cat >>confdefs.h
<<_ACEOF
4432 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4440 ac_cpp
='$CXXCPP $CPPFLAGS'
4441 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4442 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4443 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4444 if test -n "$ac_tool_prefix"; then
4445 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
4447 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4448 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4449 echo "$as_me:$LINENO: checking for $ac_word" >&5
4450 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4451 if test "${ac_cv_prog_CXX+set}" = set; then
4452 echo $ECHO_N "(cached) $ECHO_C" >&6
4454 if test -n "$CXX"; then
4455 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
4457 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4461 test -z "$as_dir" && as_dir
=.
4462 for ac_exec_ext
in '' $ac_executable_extensions; do
4463 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4464 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
4465 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4474 if test -n "$CXX"; then
4475 echo "$as_me:$LINENO: result: $CXX" >&5
4476 echo "${ECHO_T}$CXX" >&6
4478 echo "$as_me:$LINENO: result: no" >&5
4479 echo "${ECHO_T}no" >&6
4482 test -n "$CXX" && break
4485 if test -z "$CXX"; then
4487 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
4489 # Extract the first word of "$ac_prog", so it can be a program name with args.
4490 set dummy
$ac_prog; ac_word
=$2
4491 echo "$as_me:$LINENO: checking for $ac_word" >&5
4492 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4493 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4494 echo $ECHO_N "(cached) $ECHO_C" >&6
4496 if test -n "$ac_ct_CXX"; then
4497 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
4499 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4503 test -z "$as_dir" && as_dir
=.
4504 for ac_exec_ext
in '' $ac_executable_extensions; do
4505 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4506 ac_cv_prog_ac_ct_CXX
="$ac_prog"
4507 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4515 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
4516 if test -n "$ac_ct_CXX"; then
4517 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4518 echo "${ECHO_T}$ac_ct_CXX" >&6
4520 echo "$as_me:$LINENO: result: no" >&5
4521 echo "${ECHO_T}no" >&6
4524 test -n "$ac_ct_CXX" && break
4526 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
4532 # Provide some information about the compiler.
4533 echo "$as_me:$LINENO:" \
4534 "checking for C++ compiler version" >&5
4535 ac_compiler
=`set X $ac_compile; echo $2`
4536 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4537 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
4539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4540 (exit $ac_status); }
4541 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4542 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
4544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4545 (exit $ac_status); }
4546 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4547 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
4549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4550 (exit $ac_status); }
4552 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4553 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
4554 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4555 echo $ECHO_N "(cached) $ECHO_C" >&6
4557 cat >conftest.
$ac_ext <<_ACEOF
4560 cat confdefs.h
>>conftest.
$ac_ext
4561 cat >>conftest.
$ac_ext <<_ACEOF
4562 /* end confdefs.h. */
4575 rm -f conftest.
$ac_objext
4576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4577 (eval $ac_compile) 2>conftest.er1
4579 grep -v '^ *+' conftest.er1
>conftest.err
4581 cat conftest.err
>&5
4582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4583 (exit $ac_status); } &&
4584 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4589 (exit $ac_status); }; } &&
4590 { ac_try
='test -s conftest.$ac_objext'
4591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4595 (exit $ac_status); }; }; then
4598 echo "$as_me: failed program was:" >&5
4599 sed 's/^/| /' conftest.
$ac_ext >&5
4603 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4604 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4607 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4608 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
4609 GXX
=`test $ac_compiler_gnu = yes && echo yes`
4610 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4611 ac_save_CXXFLAGS
=$CXXFLAGS
4613 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4614 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
4615 if test "${ac_cv_prog_cxx_g+set}" = set; then
4616 echo $ECHO_N "(cached) $ECHO_C" >&6
4618 cat >conftest.
$ac_ext <<_ACEOF
4621 cat confdefs.h
>>conftest.
$ac_ext
4622 cat >>conftest.
$ac_ext <<_ACEOF
4623 /* end confdefs.h. */
4633 rm -f conftest.
$ac_objext
4634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4635 (eval $ac_compile) 2>conftest.er1
4637 grep -v '^ *+' conftest.er1
>conftest.err
4639 cat conftest.err
>&5
4640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4641 (exit $ac_status); } &&
4642 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4647 (exit $ac_status); }; } &&
4648 { ac_try
='test -s conftest.$ac_objext'
4649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4653 (exit $ac_status); }; }; then
4654 ac_cv_prog_cxx_g
=yes
4656 echo "$as_me: failed program was:" >&5
4657 sed 's/^/| /' conftest.
$ac_ext >&5
4661 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4663 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4664 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
4665 if test "$ac_test_CXXFLAGS" = set; then
4666 CXXFLAGS
=$ac_save_CXXFLAGS
4667 elif test $ac_cv_prog_cxx_g = yes; then
4668 if test "$GXX" = yes; then
4674 if test "$GXX" = yes; then
4680 for ac_declaration
in \
4682 'extern "C" void std::exit (int) throw (); using std::exit;' \
4683 'extern "C" void std::exit (int); using std::exit;' \
4684 'extern "C" void exit (int) throw ();' \
4685 'extern "C" void exit (int);' \
4688 cat >conftest.
$ac_ext <<_ACEOF
4691 cat confdefs.h
>>conftest.
$ac_ext
4692 cat >>conftest.
$ac_ext <<_ACEOF
4693 /* end confdefs.h. */
4704 rm -f conftest.
$ac_objext
4705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4706 (eval $ac_compile) 2>conftest.er1
4708 grep -v '^ *+' conftest.er1
>conftest.err
4710 cat conftest.err
>&5
4711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4712 (exit $ac_status); } &&
4713 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4718 (exit $ac_status); }; } &&
4719 { ac_try
='test -s conftest.$ac_objext'
4720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4724 (exit $ac_status); }; }; then
4727 echo "$as_me: failed program was:" >&5
4728 sed 's/^/| /' conftest.
$ac_ext >&5
4732 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4733 cat >conftest.
$ac_ext <<_ACEOF
4736 cat confdefs.h
>>conftest.
$ac_ext
4737 cat >>conftest.
$ac_ext <<_ACEOF
4738 /* end confdefs.h. */
4748 rm -f conftest.
$ac_objext
4749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4750 (eval $ac_compile) 2>conftest.er1
4752 grep -v '^ *+' conftest.er1
>conftest.err
4754 cat conftest.err
>&5
4755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4756 (exit $ac_status); } &&
4757 { ac_try
='test -z "$ac_cxx_werror_flag" || 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
4833 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4837 # after this tag, mechanisms are not by side-effect, so they'll
4838 # only be used when explicitly requested
4839 if test "x$enable_dependency_tracking" = xyes
; then
4847 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4848 # mode. It turns out that the SunPro C++ compiler does not properly
4849 # handle `-M -o', and we need to detect this.
4850 if depmode
=$depmode \
4851 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
4852 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4853 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
4854 >/dev
/null
2>conftest.err
&&
4855 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4856 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
4857 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4858 # icc doesn't choke on unknown options, it will just issue warnings
4859 # (even with -Werror). So we grep stderr for any message
4860 # that says an option was ignored.
4861 if grep 'ignoring option' conftest.err
>/dev
/null
2>&1; then :; else
4862 am_cv_CXX_dependencies_compiler_type
=$depmode
4871 am_cv_CXX_dependencies_compiler_type
=none
4875 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
4876 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
4877 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4882 test "x$enable_dependency_tracking" != xno \
4883 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4884 am__fastdepCXX_TRUE
=
4885 am__fastdepCXX_FALSE
='#'
4887 am__fastdepCXX_TRUE
='#'
4888 am__fastdepCXX_FALSE
=
4893 ac_cpp
='$CXXCPP $CPPFLAGS'
4894 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4895 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4896 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4897 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4898 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4899 if test -z "$CXXCPP"; then
4900 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4901 echo $ECHO_N "(cached) $ECHO_C" >&6
4903 # Double quotes because CXXCPP needs to be expanded
4904 for CXXCPP
in "$CXX -E" "/lib/cpp"
4907 for ac_cxx_preproc_warn_flag
in '' yes
4909 # Use a header file that comes with gcc, so configuring glibc
4910 # with a fresh cross-compiler works.
4911 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4912 # <limits.h> exists even on freestanding compilers.
4913 # On the NeXT, cc -E runs the code through the compiler's parser,
4914 # not just through cpp. "Syntax error" is here to catch this case.
4915 cat >conftest.
$ac_ext <<_ACEOF
4918 cat confdefs.h
>>conftest.
$ac_ext
4919 cat >>conftest.
$ac_ext <<_ACEOF
4920 /* end confdefs.h. */
4922 # include <limits.h>
4924 # include <assert.h>
4928 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4929 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4931 grep -v '^ *+' conftest.er1
>conftest.err
4933 cat conftest.err
>&5
4934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4935 (exit $ac_status); } >/dev
/null
; then
4936 if test -s conftest.err
; then
4937 ac_cpp_err
=$ac_cxx_preproc_warn_flag
4938 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
4945 if test -z "$ac_cpp_err"; then
4948 echo "$as_me: failed program was:" >&5
4949 sed 's/^/| /' conftest.
$ac_ext >&5
4951 # Broken: fails on valid input.
4954 rm -f conftest.err conftest.
$ac_ext
4956 # OK, works on sane cases. Now check whether non-existent headers
4957 # can be detected and how.
4958 cat >conftest.
$ac_ext <<_ACEOF
4961 cat confdefs.h
>>conftest.
$ac_ext
4962 cat >>conftest.
$ac_ext <<_ACEOF
4963 /* end confdefs.h. */
4964 #include <ac_nonexistent.h>
4966 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4967 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4969 grep -v '^ *+' conftest.er1
>conftest.err
4971 cat conftest.err
>&5
4972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4973 (exit $ac_status); } >/dev
/null
; then
4974 if test -s conftest.err
; then
4975 ac_cpp_err
=$ac_cxx_preproc_warn_flag
4976 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
4983 if test -z "$ac_cpp_err"; then
4984 # Broken: success on invalid input.
4987 echo "$as_me: failed program was:" >&5
4988 sed 's/^/| /' conftest.
$ac_ext >&5
4990 # Passes both tests.
4994 rm -f conftest.err conftest.
$ac_ext
4997 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4998 rm -f conftest.err conftest.
$ac_ext
4999 if $ac_preproc_ok; then
5004 ac_cv_prog_CXXCPP
=$CXXCPP
5007 CXXCPP
=$ac_cv_prog_CXXCPP
5009 ac_cv_prog_CXXCPP
=$CXXCPP
5011 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5012 echo "${ECHO_T}$CXXCPP" >&6
5014 for ac_cxx_preproc_warn_flag
in '' yes
5016 # Use a header file that comes with gcc, so configuring glibc
5017 # with a fresh cross-compiler works.
5018 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5019 # <limits.h> exists even on freestanding compilers.
5020 # On the NeXT, cc -E runs the code through the compiler's parser,
5021 # not just through cpp. "Syntax error" is here to catch this case.
5022 cat >conftest.
$ac_ext <<_ACEOF
5025 cat confdefs.h
>>conftest.
$ac_ext
5026 cat >>conftest.
$ac_ext <<_ACEOF
5027 /* end confdefs.h. */
5029 # include <limits.h>
5031 # include <assert.h>
5035 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5036 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5038 grep -v '^ *+' conftest.er1
>conftest.err
5040 cat conftest.err
>&5
5041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5042 (exit $ac_status); } >/dev
/null
; then
5043 if test -s conftest.err
; then
5044 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5045 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5052 if test -z "$ac_cpp_err"; then
5055 echo "$as_me: failed program was:" >&5
5056 sed 's/^/| /' conftest.
$ac_ext >&5
5058 # Broken: fails on valid input.
5061 rm -f conftest.err conftest.
$ac_ext
5063 # OK, works on sane cases. Now check whether non-existent headers
5064 # can be detected and how.
5065 cat >conftest.
$ac_ext <<_ACEOF
5068 cat confdefs.h
>>conftest.
$ac_ext
5069 cat >>conftest.
$ac_ext <<_ACEOF
5070 /* end confdefs.h. */
5071 #include <ac_nonexistent.h>
5073 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5074 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5076 grep -v '^ *+' conftest.er1
>conftest.err
5078 cat conftest.err
>&5
5079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5080 (exit $ac_status); } >/dev
/null
; then
5081 if test -s conftest.err
; then
5082 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5083 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5090 if test -z "$ac_cpp_err"; then
5091 # Broken: success on invalid input.
5094 echo "$as_me: failed program was:" >&5
5095 sed 's/^/| /' conftest.
$ac_ext >&5
5097 # Passes both tests.
5101 rm -f conftest.err conftest.
$ac_ext
5104 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5105 rm -f conftest.err conftest.
$ac_ext
5106 if $ac_preproc_ok; then
5109 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5110 See \`config.log' for more details." >&5
5111 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5112 See \`config.log' for more details." >&2;}
5113 { (exit 1); exit 1; }; }
5117 ac_cpp
='$CXXCPP $CPPFLAGS'
5118 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5119 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5120 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5124 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5125 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5126 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
5127 if test -n "$ac_tool_prefix"; then
5128 for ac_prog
in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
5130 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5131 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5132 echo "$as_me:$LINENO: checking for $ac_word" >&5
5133 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5134 if test "${ac_cv_prog_F77+set}" = set; then
5135 echo $ECHO_N "(cached) $ECHO_C" >&6
5137 if test -n "$F77"; then
5138 ac_cv_prog_F77
="$F77" # Let the user override the test.
5140 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5144 test -z "$as_dir" && as_dir
=.
5145 for ac_exec_ext
in '' $ac_executable_extensions; do
5146 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5147 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
5148 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5157 if test -n "$F77"; then
5158 echo "$as_me:$LINENO: result: $F77" >&5
5159 echo "${ECHO_T}$F77" >&6
5161 echo "$as_me:$LINENO: result: no" >&5
5162 echo "${ECHO_T}no" >&6
5165 test -n "$F77" && break
5168 if test -z "$F77"; then
5170 for ac_prog
in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
5172 # Extract the first word of "$ac_prog", so it can be a program name with args.
5173 set dummy
$ac_prog; ac_word
=$2
5174 echo "$as_me:$LINENO: checking for $ac_word" >&5
5175 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5176 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5177 echo $ECHO_N "(cached) $ECHO_C" >&6
5179 if test -n "$ac_ct_F77"; then
5180 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
5182 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5186 test -z "$as_dir" && as_dir
=.
5187 for ac_exec_ext
in '' $ac_executable_extensions; do
5188 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5189 ac_cv_prog_ac_ct_F77
="$ac_prog"
5190 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5198 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
5199 if test -n "$ac_ct_F77"; then
5200 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5201 echo "${ECHO_T}$ac_ct_F77" >&6
5203 echo "$as_me:$LINENO: result: no" >&5
5204 echo "${ECHO_T}no" >&6
5207 test -n "$ac_ct_F77" && break
5214 # Provide some information about the compiler.
5215 echo "$as_me:5215:" \
5216 "checking for Fortran 77 compiler version" >&5
5217 ac_compiler
=`set X $ac_compile; echo $2`
5218 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5219 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
5221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5222 (exit $ac_status); }
5223 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5224 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
5226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5227 (exit $ac_status); }
5228 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5229 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
5231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5232 (exit $ac_status); }
5235 # If we don't use `.F' as extension, the preprocessor is not run on the
5236 # input file. (Note that this only needs to work for GNU compilers.)
5239 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5240 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
5241 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5242 echo $ECHO_N "(cached) $ECHO_C" >&6
5244 cat >conftest.
$ac_ext <<_ACEOF
5252 rm -f conftest.
$ac_objext
5253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5254 (eval $ac_compile) 2>conftest.er1
5256 grep -v '^ *+' conftest.er1
>conftest.err
5258 cat conftest.err
>&5
5259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5260 (exit $ac_status); } &&
5261 { ac_try
='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
5262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5266 (exit $ac_status); }; } &&
5267 { ac_try
='test -s conftest.$ac_objext'
5268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5272 (exit $ac_status); }; }; then
5275 echo "$as_me: failed program was:" >&5
5276 sed 's/^/| /' conftest.
$ac_ext >&5
5280 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5281 ac_cv_f77_compiler_gnu
=$ac_compiler_gnu
5284 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5285 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
5287 ac_test_FFLAGS
=${FFLAGS+set}
5288 ac_save_FFLAGS
=$FFLAGS
5290 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5291 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
5292 if test "${ac_cv_prog_f77_g+set}" = set; then
5293 echo $ECHO_N "(cached) $ECHO_C" >&6
5296 cat >conftest.
$ac_ext <<_ACEOF
5301 rm -f conftest.
$ac_objext
5302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5303 (eval $ac_compile) 2>conftest.er1
5305 grep -v '^ *+' conftest.er1
>conftest.err
5307 cat conftest.err
>&5
5308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5309 (exit $ac_status); } &&
5310 { ac_try
='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
5311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5315 (exit $ac_status); }; } &&
5316 { ac_try
='test -s conftest.$ac_objext'
5317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5321 (exit $ac_status); }; }; then
5322 ac_cv_prog_f77_g
=yes
5324 echo "$as_me: failed program was:" >&5
5325 sed 's/^/| /' conftest.
$ac_ext >&5
5329 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5332 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5333 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
5334 if test "$ac_test_FFLAGS" = set; then
5335 FFLAGS
=$ac_save_FFLAGS
5336 elif test $ac_cv_prog_f77_g = yes; then
5337 if test "x$ac_cv_f77_compiler_gnu" = xyes
; then
5343 if test "x$ac_cv_f77_compiler_gnu" = xyes
; then
5350 G77
=`test $ac_compiler_gnu = yes && echo yes`
5352 ac_cpp
='$CPP $CPPFLAGS'
5353 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5354 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5355 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5359 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5361 # find the maximum length of command line arguments
5362 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5363 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5364 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5365 echo $ECHO_N "(cached) $ECHO_C" >&6
5372 # On DJGPP, this test can blow up pretty badly due to problems in libc
5373 # (any single argument exceeding 2000 bytes causes a buffer overrun
5374 # during glob expansion). Even if it were fixed, the result of this
5375 # check would be larger than it should be.
5376 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5380 # Under GNU Hurd, this test is not required because there is
5381 # no limit to the length of command line arguments.
5382 # Libtool will interpret -1 as no limit whatsoever
5383 lt_cv_sys_max_cmd_len
=-1;
5387 # On Win9x/ME, this test blows up -- it succeeds, but takes
5388 # about 5 minutes as the teststring grows exponentially.
5389 # Worse, since 9x/ME are not pre-emptively multitasking,
5390 # you end up with a "frozen" computer, even though with patience
5391 # the test eventually succeeds (with a max line length of 256k).
5392 # Instead, let's just punt: use the minimum linelength reported by
5393 # all of the supported platforms: 8192 (on NT/2K/XP).
5394 lt_cv_sys_max_cmd_len
=8192;
5398 # On AmigaOS with pdksh, this test takes hours, literally.
5399 # So we just punt and use a minimum line length of 8192.
5400 lt_cv_sys_max_cmd_len
=8192;
5404 # If test is not a shell built-in, we'll probably end up computing a
5405 # maximum length that is only half of the actual maximum length, but
5407 while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \
5408 = "XX$testring") >/dev
/null
2>&1 &&
5409 new_result
=`expr "X$testring" : ".*" 2>&1` &&
5410 lt_cv_sys_max_cmd_len
=$new_result &&
5411 test $i != 17 # 1/2 MB should be enough
5414 testring
=$testring$testring
5417 # Add a significant safety factor because C++ compilers can tack on massive
5418 # amounts of additional arguments before passing them to the linker.
5419 # It appears as though 1/2 is a usable value.
5420 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5426 if test -n $lt_cv_sys_max_cmd_len ; then
5427 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5428 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5430 echo "$as_me:$LINENO: result: none" >&5
5431 echo "${ECHO_T}none" >&6
5437 # Check for command to grab the raw symbol name followed by C symbol from nm.
5438 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5439 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5440 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5441 echo $ECHO_N "(cached) $ECHO_C" >&6
5444 # These are sane defaults that work on at least a few old systems.
5445 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5447 # Character class describing NM global symbol codes.
5448 symcode
='[BCDEGRST]'
5450 # Regexp to match symbols that can be accessed directly from C.
5451 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
5453 # Transform the above into a raw symbol and a C symbol.
5454 symxfrm
='\1 \2\3 \3'
5456 # Transform an extracted symbol line into a proper C declaration
5457 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5459 # Transform an extracted symbol line into symbol name and symbol address
5460 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'"
5462 # Define system-specific variables.
5467 cygwin
* | mingw
* | pw32
*)
5468 symcode
='[ABCDGISTW]'
5470 hpux
*) # Its linker distinguishes data from code symbols
5471 if test "$host_cpu" = ia64
; then
5472 symcode
='[ABCDEGRST]'
5474 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5475 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'"
5478 symcode
='[BCDEGRST]'
5481 symcode
='[BCDEGQRST]'
5491 # Handle CRLF in mingw tool chain
5495 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5499 # If we're using GNU nm, then use its standard symbol codes.
5500 case `$NM -V 2>&1` in
5501 *GNU
* |
*'with BFD'*)
5502 symcode
='[ABCDGIRSTW]' ;;
5505 # Try without a prefix undercore, then with it.
5506 for ac_symprfx
in "" "_"; do
5508 # Write the raw and C identifiers.
5509 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
5511 # Check to see that the pipe works correctly.
5515 cat > conftest.
$ac_ext <<EOF
5520 void nm_test_func(){}
5524 int main(){nm_test_var='a';nm_test_func();return(0);}
5527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5528 (eval $ac_compile) 2>&5
5530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5531 (exit $ac_status); }; then
5532 # Now try to grab the symbols.
5534 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5535 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
5537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5538 (exit $ac_status); } && test -s "$nlist"; then
5539 # Try sorting and uniquifying the output.
5540 if sort "$nlist" |
uniq > "$nlist"T
; then
5541 mv -f "$nlist"T
"$nlist"
5546 # Make sure that we snagged all the symbols we need.
5547 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
5548 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
5549 cat <<EOF > conftest.$ac_ext
5555 # Now generate the symbol file.
5556 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
5558 cat <<EOF >> conftest.$ac_ext
5559 #if defined (__STDC__) && __STDC__
5560 # define lt_ptr_t void *
5562 # define lt_ptr_t char *
5566 /* The mapping between symbol names and symbols. */
5571 lt_preloaded_symbols[] =
5574 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
5575 cat <<\EOF
>> conftest.
$ac_ext
5583 # Now try linking the two files.
5584 mv conftest.
$ac_objext conftstm.
$ac_objext
5585 lt_save_LIBS
="$LIBS"
5586 lt_save_CFLAGS
="$CFLAGS"
5587 LIBS
="conftstm.$ac_objext"
5588 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5590 (eval $ac_link) 2>&5
5592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5593 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
5596 LIBS
="$lt_save_LIBS"
5597 CFLAGS
="$lt_save_CFLAGS"
5599 echo "cannot find nm_test_func in $nlist" >&5
5602 echo "cannot find nm_test_var in $nlist" >&5
5605 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5608 echo "$progname: failed program was:" >&5
5609 cat conftest.
$ac_ext >&5
5611 rm -f conftest
* conftst
*
5613 # Do not use the global_symbol_pipe unless it works.
5614 if test "$pipe_works" = yes; then
5617 lt_cv_sys_global_symbol_pipe
=
5623 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5624 lt_cv_sys_global_symbol_to_cdecl
=
5626 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5627 echo "$as_me:$LINENO: result: failed" >&5
5628 echo "${ECHO_T}failed" >&6
5630 echo "$as_me:$LINENO: result: ok" >&5
5631 echo "${ECHO_T}ok" >&6
5634 echo "$as_me:$LINENO: checking for objdir" >&5
5635 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
5636 if test "${lt_cv_objdir+set}" = set; then
5637 echo $ECHO_N "(cached) $ECHO_C" >&6
5639 rm -f .libs
2>/dev
/null
5640 mkdir .libs
2>/dev
/null
5641 if test -d .libs
; then
5644 # MS-DOS does not allow filenames that begin with a dot.
5647 rmdir .libs
2>/dev
/null
5649 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5650 echo "${ECHO_T}$lt_cv_objdir" >&6
5651 objdir
=$lt_cv_objdir
5659 # AIX sometimes has problems with the GCC collect2 program. For some
5660 # reason, if we set the COLLECT_NAMES environment variable, the problems
5661 # vanish in a puff of smoke.
5662 if test "X${COLLECT_NAMES+set}" != Xset
; then
5664 export COLLECT_NAMES
5669 # Sed substitution that helps us do robust quoting. It backslashifies
5670 # metacharacters that are still active within double-quoted strings.
5671 Xsed
='sed -e s/^X//'
5672 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
5674 # Same as above, but do not quote variable references.
5675 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
5677 # Sed substitution to delay expansion of an escaped shell variable in a
5678 # double_quote_subst'ed string.
5679 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5681 # Sed substitution to avoid accidental globbing in evaled expressions
5682 no_glob_subst
='s/\*/\\\*/g'
5688 default_ofile
=libtool
5689 can_build_shared
=yes
5691 # All known linkers require a `.a' archive for static linking (except M$VC,
5692 # which needs '.lib').
5694 ltmain
="$ac_aux_dir/ltmain.sh"
5695 ofile
="$default_ofile"
5696 with_gnu_ld
="$lt_cv_prog_gnu_ld"
5698 if test -n "$ac_tool_prefix"; then
5699 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5700 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5701 echo "$as_me:$LINENO: checking for $ac_word" >&5
5702 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5703 if test "${ac_cv_prog_AR+set}" = set; then
5704 echo $ECHO_N "(cached) $ECHO_C" >&6
5706 if test -n "$AR"; then
5707 ac_cv_prog_AR
="$AR" # Let the user override the test.
5709 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5713 test -z "$as_dir" && as_dir
=.
5714 for ac_exec_ext
in '' $ac_executable_extensions; do
5715 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5716 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5717 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5726 if test -n "$AR"; then
5727 echo "$as_me:$LINENO: result: $AR" >&5
5728 echo "${ECHO_T}$AR" >&6
5730 echo "$as_me:$LINENO: result: no" >&5
5731 echo "${ECHO_T}no" >&6
5735 if test -z "$ac_cv_prog_AR"; then
5737 # Extract the first word of "ar", so it can be a program name with args.
5738 set dummy
ar; ac_word
=$2
5739 echo "$as_me:$LINENO: checking for $ac_word" >&5
5740 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5741 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5742 echo $ECHO_N "(cached) $ECHO_C" >&6
5744 if test -n "$ac_ct_AR"; then
5745 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5747 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5751 test -z "$as_dir" && as_dir
=.
5752 for ac_exec_ext
in '' $ac_executable_extensions; do
5753 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5754 ac_cv_prog_ac_ct_AR
="ar"
5755 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5761 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="false"
5764 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5765 if test -n "$ac_ct_AR"; then
5766 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5767 echo "${ECHO_T}$ac_ct_AR" >&6
5769 echo "$as_me:$LINENO: result: no" >&5
5770 echo "${ECHO_T}no" >&6
5778 if test -n "$ac_tool_prefix"; then
5779 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5780 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5781 echo "$as_me:$LINENO: checking for $ac_word" >&5
5782 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5783 if test "${ac_cv_prog_RANLIB+set}" = set; then
5784 echo $ECHO_N "(cached) $ECHO_C" >&6
5786 if test -n "$RANLIB"; then
5787 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5789 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5793 test -z "$as_dir" && as_dir
=.
5794 for ac_exec_ext
in '' $ac_executable_extensions; do
5795 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5796 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5797 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5805 RANLIB
=$ac_cv_prog_RANLIB
5806 if test -n "$RANLIB"; then
5807 echo "$as_me:$LINENO: result: $RANLIB" >&5
5808 echo "${ECHO_T}$RANLIB" >&6
5810 echo "$as_me:$LINENO: result: no" >&5
5811 echo "${ECHO_T}no" >&6
5815 if test -z "$ac_cv_prog_RANLIB"; then
5816 ac_ct_RANLIB
=$RANLIB
5817 # Extract the first word of "ranlib", so it can be a program name with args.
5818 set dummy ranlib
; ac_word
=$2
5819 echo "$as_me:$LINENO: checking for $ac_word" >&5
5820 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5821 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5822 echo $ECHO_N "(cached) $ECHO_C" >&6
5824 if test -n "$ac_ct_RANLIB"; then
5825 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5827 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5831 test -z "$as_dir" && as_dir
=.
5832 for ac_exec_ext
in '' $ac_executable_extensions; do
5833 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5834 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5835 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5841 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
5844 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5845 if test -n "$ac_ct_RANLIB"; then
5846 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5847 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5849 echo "$as_me:$LINENO: result: no" >&5
5850 echo "${ECHO_T}no" >&6
5853 RANLIB
=$ac_ct_RANLIB
5855 RANLIB
="$ac_cv_prog_RANLIB"
5858 if test -n "$ac_tool_prefix"; then
5859 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5860 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5861 echo "$as_me:$LINENO: checking for $ac_word" >&5
5862 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5863 if test "${ac_cv_prog_STRIP+set}" = set; then
5864 echo $ECHO_N "(cached) $ECHO_C" >&6
5866 if test -n "$STRIP"; then
5867 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5869 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5873 test -z "$as_dir" && as_dir
=.
5874 for ac_exec_ext
in '' $ac_executable_extensions; do
5875 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5876 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5877 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5885 STRIP
=$ac_cv_prog_STRIP
5886 if test -n "$STRIP"; then
5887 echo "$as_me:$LINENO: result: $STRIP" >&5
5888 echo "${ECHO_T}$STRIP" >&6
5890 echo "$as_me:$LINENO: result: no" >&5
5891 echo "${ECHO_T}no" >&6
5895 if test -z "$ac_cv_prog_STRIP"; then
5897 # Extract the first word of "strip", so it can be a program name with args.
5898 set dummy strip
; ac_word
=$2
5899 echo "$as_me:$LINENO: checking for $ac_word" >&5
5900 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5901 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5902 echo $ECHO_N "(cached) $ECHO_C" >&6
5904 if test -n "$ac_ct_STRIP"; then
5905 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5907 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5911 test -z "$as_dir" && as_dir
=.
5912 for ac_exec_ext
in '' $ac_executable_extensions; do
5913 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5914 ac_cv_prog_ac_ct_STRIP
="strip"
5915 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5921 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
5924 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5925 if test -n "$ac_ct_STRIP"; then
5926 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5927 echo "${ECHO_T}$ac_ct_STRIP" >&6
5929 echo "$as_me:$LINENO: result: no" >&5
5930 echo "${ECHO_T}no" >&6
5935 STRIP
="$ac_cv_prog_STRIP"
5940 old_CFLAGS
="$CFLAGS"
5942 # Set sane defaults for various variables
5943 test -z "$AR" && AR
=ar
5944 test -z "$AR_FLAGS" && AR_FLAGS
=cru
5945 test -z "$AS" && AS
=as
5946 test -z "$CC" && CC
=cc
5947 test -z "$LTCC" && LTCC
=$CC
5948 test -z "$DLLTOOL" && DLLTOOL
=dlltool
5949 test -z "$LD" && LD
=ld
5950 test -z "$LN_S" && LN_S
="ln -s"
5951 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
5952 test -z "$NM" && NM
=nm
5953 test -z "$SED" && SED
=sed
5954 test -z "$OBJDUMP" && OBJDUMP
=objdump
5955 test -z "$RANLIB" && RANLIB
=:
5956 test -z "$STRIP" && STRIP
=:
5957 test -z "$ac_objext" && ac_objext
=o
5959 # Determine commands to create old-style static archives.
5960 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5961 old_postinstall_cmds
='chmod 644 $oldlib'
5962 old_postuninstall_cmds
=
5964 if test -n "$RANLIB"; then
5967 old_postinstall_cmds
="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
5970 old_postinstall_cmds
="\$RANLIB \$oldlib~$old_postinstall_cmds"
5973 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
5976 # Only perform the check for file, if the check method requires it
5977 case $deplibs_check_method in
5979 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
5980 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
5981 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
5982 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5983 echo $ECHO_N "(cached) $ECHO_C" >&6
5987 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
5990 lt_save_MAGIC_CMD
="$MAGIC_CMD"
5991 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5992 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
5993 for ac_dir
in $ac_dummy; do
5995 test -z "$ac_dir" && ac_dir
=.
5996 if test -f $ac_dir/${ac_tool_prefix}file; then
5997 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
5998 if test -n "$file_magic_test_file"; then
5999 case $deplibs_check_method in
6001 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6002 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6003 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6004 $EGREP "$file_magic_regex" > /dev
/null
; then
6009 *** Warning: the command libtool uses to detect shared libraries,
6010 *** $file_magic_cmd, produces output that libtool cannot recognize.
6011 *** The result is that libtool may fail to recognize shared libraries
6012 *** as such. This will affect the creation of libtool libraries that
6013 *** depend on shared libraries, but programs linked with such libtool
6014 *** libraries will work regardless of this problem. Nevertheless, you
6015 *** may want to report the problem to your system manager and/or to
6016 *** bug-libtool@gnu.org
6026 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6031 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6032 if test -n "$MAGIC_CMD"; then
6033 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6034 echo "${ECHO_T}$MAGIC_CMD" >&6
6036 echo "$as_me:$LINENO: result: no" >&5
6037 echo "${ECHO_T}no" >&6
6040 if test -z "$lt_cv_path_MAGIC_CMD"; then
6041 if test -n "$ac_tool_prefix"; then
6042 echo "$as_me:$LINENO: checking for file" >&5
6043 echo $ECHO_N "checking for file... $ECHO_C" >&6
6044 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6045 echo $ECHO_N "(cached) $ECHO_C" >&6
6049 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6052 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6053 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6054 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6055 for ac_dir
in $ac_dummy; do
6057 test -z "$ac_dir" && ac_dir
=.
6058 if test -f $ac_dir/file; then
6059 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
6060 if test -n "$file_magic_test_file"; then
6061 case $deplibs_check_method in
6063 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6064 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6065 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6066 $EGREP "$file_magic_regex" > /dev
/null
; then
6071 *** Warning: the command libtool uses to detect shared libraries,
6072 *** $file_magic_cmd, produces output that libtool cannot recognize.
6073 *** The result is that libtool may fail to recognize shared libraries
6074 *** as such. This will affect the creation of libtool libraries that
6075 *** depend on shared libraries, but programs linked with such libtool
6076 *** libraries will work regardless of this problem. Nevertheless, you
6077 *** may want to report the problem to your system manager and/or to
6078 *** bug-libtool@gnu.org
6088 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6093 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6094 if test -n "$MAGIC_CMD"; then
6095 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6096 echo "${ECHO_T}$MAGIC_CMD" >&6
6098 echo "$as_me:$LINENO: result: no" >&5
6099 echo "${ECHO_T}no" >&6
6114 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6115 if test "${enable_libtool_lock+set}" = set; then
6116 enableval
="$enable_libtool_lock"
6119 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6122 # Check whether --with-pic or --without-pic was given.
6123 if test "${with_pic+set}" = set; then
6129 test -z "$pic_mode" && pic_mode
=default
6131 # Use C for the default configuration in the libtool script
6135 ac_cpp
='$CPP $CPPFLAGS'
6136 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6137 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6138 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6141 # Source file extension for C test sources.
6144 # Object file extension for compiled C test sources.
6148 # Code to be used in simple compile tests
6149 lt_simple_compile_test_code
="int some_variable = 0;\n"
6151 # Code to be used in simple link tests
6152 lt_simple_link_test_code
='int main(){return(0);}\n'
6155 # If no C compiler was specified, use CC.
6158 # Allow CC to be a program name with arguments.
6163 # Check for any special shared library compilation flags.
6166 if test "$GCC" = no
; then
6169 lt_prog_cc_shlib
='-belf'
6173 if test -n "$lt_prog_cc_shlib"; then
6174 { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
6175 echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
6176 if echo "$old_CC $old_CFLAGS " |
grep "[ ]$lt_prog_cc_shlib[ ]" >/dev
/null
; then :
6178 { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
6179 echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
6180 lt_cv_prog_cc_can_build_shared
=no
6186 # Check to make sure the static flag actually works.
6188 echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
6189 echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
6190 if test "${lt_prog_compiler_static_works+set}" = set; then
6191 echo $ECHO_N "(cached) $ECHO_C" >&6
6193 lt_prog_compiler_static_works
=no
6194 save_LDFLAGS
="$LDFLAGS"
6195 LDFLAGS
="$LDFLAGS $lt_prog_compiler_static"
6196 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
6197 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
6198 # The compiler can only warn and ignore the option if not recognized
6199 # So say no if there are warnings
6200 if test -s conftest.err
; then
6201 # Append any errors to the config.log.
6202 cat conftest.err
1>&5
6204 lt_prog_compiler_static_works
=yes
6208 LDFLAGS
="$save_LDFLAGS"
6211 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6212 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6214 if test x
"$lt_prog_compiler_static_works" = xyes
; then
6217 lt_prog_compiler_static
=
6223 lt_prog_compiler_no_builtin_flag
=
6225 if test "$GCC" = yes; then
6226 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
6229 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6230 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6231 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6232 echo $ECHO_N "(cached) $ECHO_C" >&6
6234 lt_cv_prog_compiler_rtti_exceptions
=no
6235 ac_outfile
=conftest.
$ac_objext
6236 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6237 lt_compiler_flag
="-fno-rtti -fno-exceptions"
6238 # Insert the option either (1) after the last *FLAGS variable, or
6239 # (2) before a word containing "conftest.", or (3) at the end.
6240 # Note that $ac_compile itself does not contain backslashes and begins
6241 # with a dollar sign (not a hyphen), so the echo should work correctly.
6242 # The option is referenced via a variable to avoid confusing sed.
6243 lt_compile
=`echo "$ac_compile" | $SED \
6244 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6245 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6246 -e 's:$: $lt_compiler_flag:'`
6247 (eval echo "\"\$as_me:6247: $lt_compile\"" >&5)
6248 (eval "$lt_compile" 2>conftest.err
)
6250 cat conftest.err
>&5
6251 echo "$as_me:6251: \$? = $ac_status" >&5
6252 if (exit $ac_status) && test -s "$ac_outfile"; then
6253 # The compiler can only warn and ignore the option if not recognized
6254 # So say no if there are warnings
6255 if test ! -s conftest.err
; then
6256 lt_cv_prog_compiler_rtti_exceptions
=yes
6262 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6263 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6265 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
6266 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6273 lt_prog_compiler_wl
=
6274 lt_prog_compiler_pic
=
6275 lt_prog_compiler_static
=
6277 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6278 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6280 if test "$GCC" = yes; then
6281 lt_prog_compiler_wl
='-Wl,'
6282 lt_prog_compiler_static
='-static'
6286 # All AIX code is PIC.
6287 if test "$host_cpu" = ia64
; then
6288 # AIX 5 now supports IA64 processor
6289 lt_prog_compiler_static
='-Bstatic'
6294 # FIXME: we need at least 68020 code to build shared libraries, but
6295 # adding the `-m68020' flag to GCC prevents building anything better,
6297 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
6300 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
6301 # PIC is the default for these OSes.
6304 mingw
* | pw32
* | os2
*)
6305 # This hack is so that the source file can tell whether it is being
6306 # built for inclusion in a dll (and should export symbols for example).
6307 lt_prog_compiler_pic
='-DDLL_EXPORT'
6310 darwin
* | rhapsody
*)
6311 # PIC is the default on this platform
6312 # Common symbols not allowed in MH_DYLIB files
6313 lt_prog_compiler_pic
='-fno-common'
6317 # Just because we use GCC doesn't mean we suddenly get shared libraries
6318 # on systems that don't support them.
6319 lt_prog_compiler_can_build_shared
=no
6324 if test -d /usr
/nec
; then
6325 lt_prog_compiler_pic
=-Kconform_pic
6330 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6337 lt_prog_compiler_pic
='-fPIC'
6343 lt_prog_compiler_pic
='-fPIC'
6347 # PORTME Check for flag to pass linker flags through the system compiler.
6350 lt_prog_compiler_wl
='-Wl,'
6351 if test "$host_cpu" = ia64
; then
6352 # AIX 5 now supports IA64 processor
6353 lt_prog_compiler_static
='-Bstatic'
6355 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
6359 mingw
* | pw32
* | os2
*)
6360 # This hack is so that the source file can tell whether it is being
6361 # built for inclusion in a dll (and should export symbols for example).
6362 lt_prog_compiler_pic
='-DDLL_EXPORT'
6365 hpux9
* | hpux10
* | hpux11
*)
6366 lt_prog_compiler_wl
='-Wl,'
6367 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6374 lt_prog_compiler_pic
='+Z'
6377 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6378 lt_prog_compiler_static
='${wl}-a ${wl}archive'
6381 irix5
* | irix6
* | nonstopux
*)
6382 lt_prog_compiler_wl
='-Wl,'
6383 # PIC (with -KPIC) is the default.
6384 lt_prog_compiler_static
='-non_shared'
6388 lt_prog_compiler_pic
='-KPIC'
6389 lt_prog_compiler_static
='-Bstatic'
6395 lt_prog_compiler_wl
='-Wl,'
6396 lt_prog_compiler_pic
='-KPIC'
6397 lt_prog_compiler_static
='-static'
6400 lt_prog_compiler_wl
='-Wl,'
6401 # All Alpha code is PIC.
6402 lt_prog_compiler_static
='-non_shared'
6407 osf3
* | osf4
* | osf5
*)
6408 lt_prog_compiler_wl
='-Wl,'
6409 # All OSF/1 code is PIC.
6410 lt_prog_compiler_static
='-non_shared'
6414 lt_prog_compiler_pic
='-Kpic'
6415 lt_prog_compiler_static
='-dn'
6419 lt_prog_compiler_wl
='-Wl,'
6420 lt_prog_compiler_pic
='-KPIC'
6421 lt_prog_compiler_static
='-Bstatic'
6425 lt_prog_compiler_wl
='-Qoption ld '
6426 lt_prog_compiler_pic
='-PIC'
6427 lt_prog_compiler_static
='-Bstatic'
6430 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
6431 lt_prog_compiler_wl
='-Wl,'
6432 lt_prog_compiler_pic
='-KPIC'
6433 lt_prog_compiler_static
='-Bstatic'
6437 if test -d /usr
/nec
;then
6438 lt_prog_compiler_pic
='-Kconform_pic'
6439 lt_prog_compiler_static
='-Bstatic'
6444 lt_prog_compiler_pic
='-pic'
6445 lt_prog_compiler_static
='-Bstatic'
6449 lt_prog_compiler_can_build_shared
=no
6454 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6455 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6458 # Check to make sure the PIC flag actually works.
6460 if test -n "$lt_prog_compiler_pic"; then
6462 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6463 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6464 if test "${lt_prog_compiler_pic_works+set}" = set; then
6465 echo $ECHO_N "(cached) $ECHO_C" >&6
6467 lt_prog_compiler_pic_works
=no
6468 ac_outfile
=conftest.
$ac_objext
6469 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6470 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
6471 # Insert the option either (1) after the last *FLAGS variable, or
6472 # (2) before a word containing "conftest.", or (3) at the end.
6473 # Note that $ac_compile itself does not contain backslashes and begins
6474 # with a dollar sign (not a hyphen), so the echo should work correctly.
6475 # The option is referenced via a variable to avoid confusing sed.
6476 lt_compile
=`echo "$ac_compile" | $SED \
6477 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6478 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6479 -e 's:$: $lt_compiler_flag:'`
6480 (eval echo "\"\$as_me:6480: $lt_compile\"" >&5)
6481 (eval "$lt_compile" 2>conftest.err
)
6483 cat conftest.err
>&5
6484 echo "$as_me:6484: \$? = $ac_status" >&5
6485 if (exit $ac_status) && test -s "$ac_outfile"; then
6486 # The compiler can only warn and ignore the option if not recognized
6487 # So say no if there are warnings
6488 if test ! -s conftest.err
; then
6489 lt_prog_compiler_pic_works
=yes
6495 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6496 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6498 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
6499 case $lt_prog_compiler_pic in
6501 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
6504 lt_prog_compiler_pic
=
6505 lt_prog_compiler_can_build_shared
=no
6510 # For platforms which do not support PIC, -DPIC is meaningless:
6512 lt_prog_compiler_pic
=
6515 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
6519 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6520 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6521 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6522 echo $ECHO_N "(cached) $ECHO_C" >&6
6524 lt_cv_prog_compiler_c_o
=no
6525 $rm -r conftest
2>/dev
/null
6529 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6531 lt_compiler_flag
="-o out/conftest2.$ac_objext"
6532 # Insert the option either (1) after the last *FLAGS variable, or
6533 # (2) before a word containing "conftest.", or (3) at the end.
6534 # Note that $ac_compile itself does not contain backslashes and begins
6535 # with a dollar sign (not a hyphen), so the echo should work correctly.
6536 lt_compile
=`echo "$ac_compile" | $SED \
6537 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6538 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6539 -e 's:$: $lt_compiler_flag:'`
6540 (eval echo "\"\$as_me:6540: $lt_compile\"" >&5)
6541 (eval "$lt_compile" 2>out
/conftest.err
)
6543 cat out
/conftest.err
>&5
6544 echo "$as_me:6544: \$? = $ac_status" >&5
6545 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
6547 # The compiler can only warn and ignore the option if not recognized
6548 # So say no if there are warnings
6549 if test ! -s out
/conftest.err
; then
6550 lt_cv_prog_compiler_c_o
=yes
6555 # SGI C++ compiler will create directory out/ii_files/ for
6556 # template instantiation
6557 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
6558 $rm out
/* && rmdir out
6564 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6565 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6568 hard_links
="nottested"
6569 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
6570 # do not overwrite the value of need_locks provided by the user
6571 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6572 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
6575 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
6577 ln conftest.a conftest.b
2>&5 || hard_links
=no
6578 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
6579 echo "$as_me:$LINENO: result: $hard_links" >&5
6580 echo "${ECHO_T}$hard_links" >&6
6581 if test "$hard_links" = no
; then
6582 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6583 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6590 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6591 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
6594 allow_undefined_flag
=
6595 enable_shared_with_static_runtimes
=no
6597 archive_expsym_cmds
=
6598 old_archive_From_new_cmds
=
6599 old_archive_from_expsyms_cmds
=
6600 export_dynamic_flag_spec
=
6601 whole_archive_flag_spec
=
6602 thread_safe_flag_spec
=
6603 hardcode_libdir_flag_spec
=
6604 hardcode_libdir_flag_spec_ld
=
6605 hardcode_libdir_separator
=
6608 hardcode_shlibpath_var
=unsupported
6609 link_all_deplibs
=unknown
6610 hardcode_automatic
=no
6613 always_export_symbols
=no
6614 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6615 # include_expsyms should be a list of space-separated symbols to be *always*
6616 # included in the symbol list
6618 # exclude_expsyms can be an extended regexp of symbols to exclude
6619 # it will be wrapped by ` (' and `)$', so one must not match beginning or
6620 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6621 # as well as any symbol that contains `d'.
6622 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
6623 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6624 # platforms (ab)use it in PIC code, but their linkers get confused if
6625 # the symbol is explicitly referenced. Since portable code cannot
6626 # rely on this symbol name, it's probably fine to never include it in
6627 # preloaded symbol tables.
6628 extract_expsyms_cmds
=
6631 cygwin
* | mingw
* | pw32
*)
6632 # FIXME: the MSVC++ port hasn't been tested in a loooong time
6633 # When not using gcc, we currently assume that we are using
6634 # Microsoft Visual C++.
6635 if test "$GCC" != yes; then
6645 if test "$with_gnu_ld" = yes; then
6646 # If archive_cmds runs LD, not CC, wlarc should be empty
6649 # See if GNU ld supports shared libraries.
6651 aix3
* | aix4
* | aix5
*)
6652 # On AIX/PPC, the GNU linker is very broken
6653 if test "$host_cpu" != ia64
; then
6657 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
6658 *** to be unable to reliably create shared libraries on AIX.
6659 *** Therefore, libtool is disabling shared libraries support. If you
6660 *** really care for shared libraries, you may want to modify your PATH
6661 *** so that a non-GNU linker is found, and then restart.
6668 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)'
6669 hardcode_libdir_flag_spec
='-L$libdir'
6670 hardcode_minus_L
=yes
6672 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
6673 # that the semantics of dynamic libraries on AmigaOS, at least up
6674 # to version 4, is to share data among multiple programs linked
6675 # with the same dynamic library. Since this doesn't match the
6676 # behavior of shared libraries on other platforms, we can't use
6682 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
6683 allow_undefined_flag
=unsupported
6684 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
6685 # support --undefined. This deserves some investigation. FIXME
6686 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6692 cygwin
* | mingw
* | pw32
*)
6693 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
6694 # as there is no search path for DLLs.
6695 hardcode_libdir_flag_spec
='-L$libdir'
6696 allow_undefined_flag
=unsupported
6697 always_export_symbols
=no
6698 enable_shared_with_static_runtimes
=yes
6699 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
6701 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
6702 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6703 # If the export-symbols file already is a .def file (1st line
6704 # is EXPORTS), use it as is; otherwise, prepend...
6705 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
6706 cp $export_symbols $output_objdir/$soname.def;
6708 echo EXPORTS > $output_objdir/$soname.def;
6709 cat $export_symbols >> $output_objdir/$soname.def;
6711 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6717 netbsd
* | knetbsd
*-gnu)
6718 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
6719 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
6722 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6723 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6728 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
6732 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
6733 *** create shared libraries on Solaris systems. Therefore, libtool
6734 *** is disabling shared libraries support. We urge you to upgrade GNU
6735 *** binutils to release 2.9.1 or newer. Another option is to modify
6736 *** your PATH or compiler configuration so that the native linker is
6737 *** used, and then restart.
6740 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
6741 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6742 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6749 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6752 hardcode_shlibpath_var
=no
6756 if $LD --help 2>&1 |
egrep ': supported targets:.* elf' > /dev
/null
; then
6757 tmp_archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6758 archive_cmds
="$tmp_archive_cmds"
6759 supports_anon_versioning
=no
6760 case `$LD -v 2>/dev/null` in
6761 *\
01.
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
6762 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
6763 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
6764 *\
2.11.
*) ;; # other 2.11 versions
6765 *) supports_anon_versioning
=yes ;;
6767 if test $supports_anon_versioning = yes; then
6768 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
6769 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
6770 $echo "local: *; };" >> $output_objdir/$libname.ver~
6771 $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
6773 archive_expsym_cmds
="$tmp_archive_cmds"
6781 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
6782 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6783 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6790 if test "$ld_shlibs" = yes; then
6791 runpath_var
=LD_RUN_PATH
6792 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
6793 export_dynamic_flag_spec
='${wl}--export-dynamic'
6794 # ancient GNU ld didn't support --whole-archive et. al.
6795 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
6796 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6798 whole_archive_flag_spec
=
6802 # PORTME fill in a description of your system's linker (not GNU ld)
6805 allow_undefined_flag
=unsupported
6806 always_export_symbols
=yes
6807 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'
6808 # Note: this linker hardcodes the directories in LIBPATH if there
6809 # are no directories specified by -L.
6810 hardcode_minus_L
=yes
6811 if test "$GCC" = yes && test -z "$link_static_flag"; then
6812 # Neither direct hardcoding nor static linking is supported with a
6814 hardcode_direct
=unsupported
6819 if test "$host_cpu" = ia64
; then
6820 # On IA64, the linker does run time linking by default, so we don't
6821 # have to do anything special.
6822 aix_use_runtimelinking
=no
6823 exp_sym_flag
='-Bexport'
6826 # If we're using GNU nm, then we don't want the "-C" option.
6827 # -C means demangle to AIX nm, but means don't demangle with GNU nm
6828 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
6829 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'
6831 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'
6833 aix_use_runtimelinking
=no
6835 # Test if we are trying to use run time linking or normal
6836 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
6837 # need to do runtime linking.
6838 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
6839 for ld_flag
in $LDFLAGS; do
6840 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
6841 aix_use_runtimelinking
=yes
6847 exp_sym_flag
='-bexport'
6848 no_entry_flag
='-bnoentry'
6851 # When large executables or shared objects are built, AIX ld can
6852 # have problems creating the table of contents. If linking a library
6853 # or program results in "error TOC overflow" add -mminimal-toc to
6854 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
6855 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
6859 hardcode_libdir_separator
=':'
6860 link_all_deplibs
=yes
6862 if test "$GCC" = yes; then
6863 case $host_os in aix4.012|aix4.012.
*)
6864 # We only want to do this on AIX 4.2 and lower, the check
6865 # below for broken collect2 doesn't work under 4.3+
6866 collect2name
=`${CC} -print-prog-name=collect2`
6867 if test -f "$collect2name" && \
6868 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
6870 # We have reworked collect2
6873 # We have old collect2
6874 hardcode_direct
=unsupported
6875 # It fails to find uninstalled libraries when the uninstalled
6876 # path is not listed in the libpath. Setting hardcode_minus_L
6877 # to unsupported forces relinking
6878 hardcode_minus_L
=yes
6879 hardcode_libdir_flag_spec
='-L$libdir'
6880 hardcode_libdir_separator
=
6883 shared_flag
='-shared'
6886 if test "$host_cpu" = ia64
; then
6887 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
6888 # chokes on -Wl,-G. The following line is correct:
6891 if test "$aix_use_runtimelinking" = yes; then
6892 shared_flag
='${wl}-G'
6894 shared_flag
='${wl}-bM:SRE'
6899 # It seems that -bexpall does not export symbols beginning with
6900 # underscore (_), so it is better to generate a list of symbols to export.
6901 always_export_symbols
=yes
6902 if test "$aix_use_runtimelinking" = yes; then
6903 # Warning - without using the other runtime loading flags (-brtl),
6904 # -berok will link without error, but may produce a broken library.
6905 allow_undefined_flag
='-berok'
6906 # Determine the default libpath from the value encoded in an empty executable.
6907 cat >conftest.
$ac_ext <<_ACEOF
6910 cat confdefs.h
>>conftest.
$ac_ext
6911 cat >>conftest.
$ac_ext <<_ACEOF
6912 /* end confdefs.h. */
6922 rm -f conftest.
$ac_objext conftest
$ac_exeext
6923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6924 (eval $ac_link) 2>conftest.er1
6926 grep -v '^ *+' conftest.er1
>conftest.err
6928 cat conftest.err
>&5
6929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6930 (exit $ac_status); } &&
6931 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6936 (exit $ac_status); }; } &&
6937 { ac_try
='test -s conftest$ac_exeext'
6938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6942 (exit $ac_status); }; }; then
6944 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6946 # Check for a 64-bit object if we didn't find anything.
6947 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; }
6950 echo "$as_me: failed program was:" >&5
6951 sed 's/^/| /' conftest.
$ac_ext >&5
6954 rm -f conftest.err conftest.
$ac_objext \
6955 conftest
$ac_exeext conftest.
$ac_ext
6956 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
6958 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
6959 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"
6961 if test "$host_cpu" = ia64; then
6962 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr
/lib
:/lib
'
6963 allow_undefined_flag="-z nodefs"
6964 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"
6966 # Determine the default libpath from the value encoded in an empty executable.
6967 cat >conftest.$ac_ext <<_ACEOF
6970 cat confdefs.h >>conftest.$ac_ext
6971 cat >>conftest.$ac_ext <<_ACEOF
6972 /* end confdefs.h. */
6982 rm -f conftest.$ac_objext conftest$ac_exeext
6983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6984 (eval $ac_link) 2>conftest.er1
6986 grep -v '^ *+' conftest.er1 >conftest.err
6988 cat conftest.err >&5
6989 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6990 (exit $ac_status); } &&
6991 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6995 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6996 (exit $ac_status); }; } &&
6997 { ac_try='test -s conftest$ac_exeext'
6998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7001 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7002 (exit $ac_status); }; }; then
7004 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7006 # Check for a 64-bit object if we didn't find anything.
7007 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; }
7010 echo "$as_me: failed program was
:" >&5
7011 sed 's/^/| /' conftest.$ac_ext >&5
7014 rm -f conftest.err conftest.$ac_objext \
7015 conftest$ac_exeext conftest.$ac_ext
7016 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
7018 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7019 # Warning - without using the other run time loading flags,
7020 # -berok will link without error, but may produce a broken library.
7021 no_undefined_flag=' ${wl}-bernotok'
7022 allow_undefined_flag=' ${wl}-berok'
7023 # -bexpall does not export symbols beginning with underscore (_)
7024 always_export_symbols=yes
7025 # Exported symbols can be pulled into shared objects from archives
7026 whole_archive_flag_spec=' '
7027 archive_cmds_need_lc=yes
7028 # This is similar to how AIX traditionally builds it's shared libraries.
7029 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'
7035 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)'
7036 hardcode_libdir_flag_spec
='-L$libdir'
7037 hardcode_minus_L
=yes
7038 # see comment about different semantics on the GNU ld section
7043 export_dynamic_flag_spec
=-rdynamic
7046 cygwin
* | mingw
* | pw32
*)
7047 # When not using gcc, we currently assume that we are using
7048 # Microsoft Visual C++.
7049 # hardcode_libdir_flag_spec is actually meaningless, as there is
7050 # no search path for DLLs.
7051 hardcode_libdir_flag_spec
=' '
7052 allow_undefined_flag
=unsupported
7053 # Tell ltmain to make .lib files, not .a files.
7055 # Tell ltmain to make .dll files, not .so files.
7057 # FIXME: Setting linknames here is a bad hack.
7058 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
7059 # The linker will automatically build a .lib file if we build a DLL.
7060 old_archive_From_new_cmds
='true'
7061 # FIXME: Should let the user specify the lib program.
7062 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
7063 fix_srcfile_path
='`cygpath -w "$srcfile"`'
7064 enable_shared_with_static_runtimes
=yes
7067 darwin
* | rhapsody
*)
7068 if test "$GXX" = yes ; then
7069 archive_cmds_need_lc
=no
7071 rhapsody
* | darwin1.
[012])
7072 allow_undefined_flag
='-undefined suppress'
7075 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
7076 allow_undefined_flag
='-flat_namespace -undefined suppress'
7078 case ${MACOSX_DEPLOYMENT_TARGET} in
7080 allow_undefined_flag
='-flat_namespace -undefined suppress'
7083 allow_undefined_flag
='-undefined dynamic_lookup'
7089 lt_int_apple_cc_single_mod
=no
7090 output_verbose_link_cmd
='echo'
7091 if $CC -dumpspecs 2>&1 |
grep 'single_module' >/dev
/null
; then
7092 lt_int_apple_cc_single_mod
=yes
7094 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
7095 archive_cmds
='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7097 archive_cmds
='$CC -r ${wl}-bind_at_load -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'
7099 module_cmds
='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7100 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
7101 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
7102 archive_expsym_cmds
='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}'
7104 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -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}'
7106 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}'
7108 hardcode_automatic
=yes
7109 hardcode_shlibpath_var
=unsupported
7110 whole_archive_flag_spec
='-all_load $convenience'
7111 link_all_deplibs
=yes
7118 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7119 hardcode_libdir_flag_spec
='-L$libdir'
7120 hardcode_shlibpath_var
=no
7127 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7128 # support. Future versions do this automatically, but an explicit c++rt0.o
7129 # does not break anything, and helps significantly (at the cost of a little
7132 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7133 hardcode_libdir_flag_spec
='-R$libdir'
7135 hardcode_shlibpath_var
=no
7138 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7140 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7142 hardcode_minus_L
=yes
7143 hardcode_shlibpath_var
=no
7146 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7147 freebsd
* | kfreebsd
*-gnu)
7148 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7149 hardcode_libdir_flag_spec
='-R$libdir'
7151 hardcode_shlibpath_var
=no
7155 if test "$GCC" = yes; then
7156 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'
7158 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'
7160 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7161 hardcode_libdir_separator
=:
7164 # hardcode_minus_L: Not really in the search PATH,
7165 # but as the default location of the library.
7166 hardcode_minus_L
=yes
7167 export_dynamic_flag_spec
='${wl}-E'
7171 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7174 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7177 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7183 archive_cmds
='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
7186 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7190 if test "$with_gnu_ld" = no
; then
7193 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7194 hardcode_libdir_flag_spec_ld
='+b $libdir'
7195 hardcode_libdir_separator
=:
7197 hardcode_shlibpath_var
=no
7200 hardcode_libdir_flag_spec
='-L$libdir'
7202 hardcode_shlibpath_var
=no
7204 # hardcode_minus_L: Not really in the search PATH,
7205 # but as the default location of the library.
7206 hardcode_minus_L
=yes
7209 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7210 hardcode_libdir_separator
=:
7212 export_dynamic_flag_spec
='${wl}-E'
7214 # hardcode_minus_L: Not really in the search PATH,
7215 # but as the default location of the library.
7216 hardcode_minus_L
=yes
7222 irix5
* | irix6
* | nonstopux
*)
7223 if test "$GCC" = yes; then
7224 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'
7226 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'
7227 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
7229 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7230 hardcode_libdir_separator
=:
7231 link_all_deplibs
=yes
7234 netbsd
* | knetbsd
*-gnu)
7235 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7236 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7238 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7240 hardcode_libdir_flag_spec
='-R$libdir'
7242 hardcode_shlibpath_var
=no
7246 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7248 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7249 hardcode_libdir_separator
=:
7250 hardcode_shlibpath_var
=no
7255 hardcode_shlibpath_var
=no
7256 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7257 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7258 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7259 export_dynamic_flag_spec
='${wl}-E'
7262 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
7263 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7264 hardcode_libdir_flag_spec
='-R$libdir'
7267 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7268 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7275 hardcode_libdir_flag_spec
='-L$libdir'
7276 hardcode_minus_L
=yes
7277 allow_undefined_flag
=unsupported
7278 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'
7279 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7283 if test "$GCC" = yes; then
7284 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
7285 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'
7287 allow_undefined_flag
=' -expect_unresolved \*'
7288 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'
7290 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7291 hardcode_libdir_separator
=:
7294 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
7295 if test "$GCC" = yes; then
7296 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
7297 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'
7298 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7300 allow_undefined_flag
=' -expect_unresolved \*'
7301 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'
7302 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
7303 $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'
7305 # Both c and cxx compiler support -rpath directly
7306 hardcode_libdir_flag_spec
='-rpath $libdir'
7308 hardcode_libdir_separator
=:
7312 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7313 hardcode_shlibpath_var
=no
7314 export_dynamic_flag_spec
='${wl}-Bexport'
7315 runpath_var
=LD_RUN_PATH
7316 hardcode_runpath_var
=yes
7320 no_undefined_flag
=' -z text'
7321 if test "$GCC" = yes; then
7322 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7323 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7324 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
7326 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7327 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7328 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7330 hardcode_libdir_flag_spec
='-R$libdir'
7331 hardcode_shlibpath_var
=no
7333 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
7334 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
7335 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;;
7337 link_all_deplibs
=yes
7341 if test "x$host_vendor" = xsequent
; then
7342 # Use $CC to link under sequent, because it throws in some extra .o
7343 # files that make .init and .fini sections work.
7344 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7346 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7348 hardcode_libdir_flag_spec
='-L$libdir'
7350 hardcode_minus_L
=yes
7351 hardcode_shlibpath_var
=no
7355 case $host_vendor in
7357 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7358 hardcode_direct
=yes # is this really true???
7361 ## LD is ld it makes a PLAMLIB
7362 ## CC just makes a GrossModule.
7363 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7364 reload_cmds
='$CC -r -o $output$reload_objs'
7368 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7369 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
7372 runpath_var
='LD_RUN_PATH'
7373 hardcode_shlibpath_var
=no
7377 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7378 hardcode_shlibpath_var
=no
7379 export_dynamic_flag_spec
='-Bexport'
7383 if test -d /usr
/nec
; then
7384 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7385 hardcode_shlibpath_var
=no
7386 runpath_var
=LD_RUN_PATH
7387 hardcode_runpath_var
=yes
7393 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7396 hardcode_shlibpath_var
=no
7397 hardcode_runpath_var
=yes
7398 runpath_var
=LD_RUN_PATH
7401 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
7402 no_undefined_flag
='${wl}-z ${wl}text'
7403 if test "$GCC" = yes; then
7404 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7406 archive_cmds
='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7408 runpath_var
='LD_RUN_PATH'
7409 hardcode_shlibpath_var
=no
7413 no_undefined_flag
=' -z text'
7414 # $CC -shared without GNU ld will not create a library from C++
7415 # object files and a static libstdc++, better avoid it by now
7416 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7417 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7418 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7419 hardcode_libdir_flag_spec
=
7420 hardcode_shlibpath_var
=no
7421 runpath_var
='LD_RUN_PATH'
7425 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7426 hardcode_libdir_flag_spec
='-L$libdir'
7427 hardcode_shlibpath_var
=no
7436 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7437 echo "${ECHO_T}$ld_shlibs" >&6
7438 test "$ld_shlibs" = no
&& can_build_shared
=no
7440 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
7441 if test "$GCC" = yes; then
7442 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
7446 # Do we need to explicitly link libc?
7448 case "x$archive_cmds_need_lc" in
7450 # Assume -lc should be added
7451 archive_cmds_need_lc
=yes
7453 if test "$enable_shared" = yes && test "$GCC" = yes; then
7454 case $archive_cmds in
7456 # FIXME: we may have to deal with multi-command sequences.
7459 # Test whether the compiler implicitly links with -lc since on some
7460 # systems, -lgcc has to come before -lc. If gcc already passes -lc
7461 # to ld, don't add -lc before -lgcc.
7462 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7463 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
7465 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7468 (eval $ac_compile) 2>&5
7470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7471 (exit $ac_status); } 2>conftest.err
; then
7474 libobjs
=conftest.
$ac_objext
7476 wl
=$lt_prog_compiler_wl
7482 lt_save_allow_undefined_flag
=$allow_undefined_flag
7483 allow_undefined_flag
=
7484 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
7485 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
7487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7488 (exit $ac_status); }
7490 archive_cmds_need_lc
=no
7492 archive_cmds_need_lc
=yes
7494 allow_undefined_flag
=$lt_save_allow_undefined_flag
7496 cat conftest.err
1>&5
7499 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7500 echo "${ECHO_T}$archive_cmds_need_lc" >&6
7507 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7508 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
7510 libname_spec
='lib$name'
7518 shlibpath_overrides_runpath
=unknown
7520 dynamic_linker
="$host_os ld.so"
7521 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
7522 if test "$GCC" = yes; then
7523 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7524 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
7525 # if the path contains ";" then we assume it to be the separator
7526 # otherwise default to the standard path separator (i.e. ":") - it is
7527 # assumed that no part of a normal pathname contains ";" but that should
7528 # okay in the real world where ";" in dirpaths is itself problematic.
7529 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7531 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7534 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
7536 need_lib_prefix
=unknown
7537 hardcode_into_libs
=no
7539 # when you set need_version to no, make sure it does not cause -set_version
7540 # flags to be left without arguments
7541 need_version
=unknown
7546 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
7547 shlibpath_var
=LIBPATH
7549 # AIX 3 has no versioning support, so we append a major version to the name.
7550 soname_spec
='${libname}${release}${shared_ext}$major'
7557 hardcode_into_libs
=yes
7558 if test "$host_cpu" = ia64
; then
7559 # AIX 5 supports IA64
7560 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
7561 shlibpath_var
=LD_LIBRARY_PATH
7563 # With GCC up to 2.95.x, collect2 would create an import file
7564 # for dependence libraries. The import file would start with
7565 # the line `#! .'. This would cause the generated library to
7566 # depend on `.', always an invalid library. This was fixed in
7567 # development snapshots of GCC prior to 3.0.
7569 aix4 | aix4.
[01] | aix4.
[01].
*)
7570 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
7572 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
7579 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
7580 # soname into executable. Probably we can add versioning support to
7581 # collect2, so additional links can be useful in future.
7582 if test "$aix_use_runtimelinking" = yes; then
7583 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
7584 # instead of lib<name>.a to let people know that these are not
7585 # typical AIX shared libraries.
7586 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7588 # We preserve .a as extension for shared libraries through AIX4.2
7589 # and later when we are not doing run time linking.
7590 library_names_spec
='${libname}${release}.a $libname.a'
7591 soname_spec
='${libname}${release}${shared_ext}$major'
7593 shlibpath_var
=LIBPATH
7598 library_names_spec
='$libname.ixlibrary $libname.a'
7599 # Create ${libname}_ixlibrary.a entries in /sys/libs.
7600 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'
7604 library_names_spec
='${libname}${shared_ext}'
7605 dynamic_linker
="$host_os ld.so"
7606 shlibpath_var
=LIBRARY_PATH
7612 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7613 soname_spec
='${libname}${release}${shared_ext}$major'
7614 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
7615 shlibpath_var
=LD_LIBRARY_PATH
7616 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
7617 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
7618 # the default ld.so.conf also contains /usr/contrib/lib and
7619 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
7620 # libtool to hard-code these into programs
7623 cygwin
* | mingw
* | pw32
*)
7624 version_type
=windows
7629 case $GCC,$host_os in
7630 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
7631 library_names_spec
='$libname.dll.a'
7632 # DLL is installed to $(libdir)/../bin by postinstall_cmds
7633 postinstall_cmds
='base_file=`basename \${file}`~
7634 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
7635 dldir=$destdir/`dirname \$dlpath`~
7636 test -d \$dldir || mkdir -p \$dldir~
7637 $install_prog $dir/$dlname \$dldir/$dlname'
7638 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
7639 dlpath=$dir/\$dldll~
7641 shlibpath_overrides_runpath
=yes
7645 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
7646 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7647 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
7650 # MinGW DLLs use traditional 'lib' prefix
7651 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7652 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7653 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
7654 # It is most probably a Windows format PATH printed by
7655 # mingw gcc, but we are running on Cygwin. Gcc prints its search
7656 # path with ; separators, and with drive letters. We can handle the
7657 # drive letters (cygwin fileutils understands them), so leave them,
7658 # especially as we might pass files found there to a mingw objdump,
7659 # which wouldn't understand a cygwinified path. Ahh.
7660 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7662 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7666 # pw32 DLLs use 'pw' prefix rather than 'lib'
7667 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
7673 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
7676 dynamic_linker
='Win32 ld.exe'
7677 # FIXME: first we should search . and the directory the executable is in
7681 darwin
* | rhapsody
*)
7682 dynamic_linker
="$host_os dyld"
7686 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
7687 soname_spec
='${libname}${release}${major}$shared_ext'
7688 shlibpath_overrides_runpath
=yes
7689 shlibpath_var
=DYLD_LIBRARY_PATH
7690 shrext
='$(test .$module = .yes && echo .so || echo .dylib)'
7691 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
7692 if test "$GCC" = yes; then
7693 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"`
7695 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
7697 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
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 shlibpath_var
=LD_LIBRARY_PATH
7717 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
7718 soname_spec
='${libname}${release}${shared_ext}$major'
7719 shlibpath_var
=LD_LIBRARY_PATH
7720 shlibpath_overrides_runpath
=no
7721 hardcode_into_libs
=yes
7722 dynamic_linker
='GNU ld.so'
7726 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
7727 version_type
=freebsd-
$objformat
7728 case $version_type in
7730 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
7735 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
7739 shlibpath_var
=LD_LIBRARY_PATH
7742 shlibpath_overrides_runpath
=yes
7744 freebsd3.01
* | freebsdelf3.01
*)
7745 shlibpath_overrides_runpath
=yes
7746 hardcode_into_libs
=yes
7749 shlibpath_overrides_runpath
=no
7750 hardcode_into_libs
=yes
7759 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
7760 soname_spec
='${libname}${release}${shared_ext}$major'
7761 shlibpath_var
=LD_LIBRARY_PATH
7762 hardcode_into_libs
=yes
7765 hpux9
* | hpux10
* | hpux11
*)
7766 # Give a soname corresponding to the major version so that dld.sl refuses to
7767 # link against other versions.
7774 hardcode_into_libs
=yes
7775 dynamic_linker
="$host_os dld.so"
7776 shlibpath_var
=LD_LIBRARY_PATH
7777 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
7778 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7779 soname_spec
='${libname}${release}${shared_ext}$major'
7780 if test "X$HPUX_IA64_MODE" = X32
; then
7781 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
7783 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
7785 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
7789 hardcode_into_libs
=yes
7790 dynamic_linker
="$host_os dld.sl"
7791 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
7792 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
7793 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7794 soname_spec
='${libname}${release}${shared_ext}$major'
7795 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
7796 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
7800 dynamic_linker
="$host_os dld.sl"
7801 shlibpath_var
=SHLIB_PATH
7802 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
7803 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7804 soname_spec
='${libname}${release}${shared_ext}$major'
7807 # HP-UX runs *really* slowly unless shared libraries are mode 555.
7808 postinstall_cmds
='chmod 555 $lib'
7811 irix5
* | irix6
* | nonstopux
*)
7813 nonstopux
*) version_type
=nonstopux
;;
7815 if test "$lt_cv_prog_gnu_ld" = yes; then
7823 soname_spec
='${libname}${release}${shared_ext}$major'
7824 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
7826 irix5
* | nonstopux
*)
7830 case $LD in # libtool.m4 will add one of these switches to LD
7831 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
7832 libsuff
= shlibsuff
= libmagic
=32-bit;;
7833 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
7834 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
7835 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
7836 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
7837 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
7841 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
7842 shlibpath_overrides_runpath
=no
7843 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
7844 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
7845 hardcode_into_libs
=yes
7848 # No shared lib support for Linux oldld, aout, or coff.
7849 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
7853 # This must be Linux ELF.
7858 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7859 soname_spec
='${libname}${release}${shared_ext}$major'
7860 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
7861 shlibpath_var
=LD_LIBRARY_PATH
7862 shlibpath_overrides_runpath
=no
7863 # This implies no fast_install, which is unacceptable.
7864 # Some rework will be needed to allow for fast_install
7865 # before this can be enabled.
7866 hardcode_into_libs
=yes
7868 # Append ld.so.conf contents to the search path
7869 if test -f /etc
/ld.so.conf
; then
7870 ld_extra
=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf`
7871 sys_lib_dlsearch_path_spec
="/lib /usr/lib $ld_extra"
7874 # We used to test for /lib/ld.so.1 and disable shared libraries on
7875 # powerpc, because MkLinux only supported shared libraries with the
7876 # GNU dynamic linker. Since this was broken with cross compilers,
7877 # most powerpc-linux boxes support dynamic linking these days and
7878 # people can always --disable-shared, the test was removed, and we
7879 # assume the GNU/Linux dynamic linker is in use.
7880 dynamic_linker
='GNU/Linux ld.so'
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 shlibpath_var
=LD_LIBRARY_PATH
7890 shlibpath_overrides_runpath
=no
7891 hardcode_into_libs
=yes
7892 dynamic_linker
='GNU ld.so'
7899 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7900 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7901 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7902 dynamic_linker
='NetBSD (a.out) ld.so'
7904 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
7905 soname_spec
='${libname}${release}${shared_ext}$major'
7906 dynamic_linker
='NetBSD ld.elf_so'
7908 shlibpath_var
=LD_LIBRARY_PATH
7909 shlibpath_overrides_runpath
=yes
7910 hardcode_into_libs
=yes
7915 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7916 shlibpath_var
=LD_LIBRARY_PATH
7917 shlibpath_overrides_runpath
=yes
7924 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7925 soname_spec
='${libname}${release}${shared_ext}$major'
7926 shlibpath_var
=LD_LIBRARY_PATH
7927 shlibpath_overrides_runpath
=yes
7934 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7935 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7936 shlibpath_var
=LD_LIBRARY_PATH
7937 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7939 openbsd2.
[89] | openbsd2.
[89].
*)
7940 shlibpath_overrides_runpath
=no
7943 shlibpath_overrides_runpath
=yes
7947 shlibpath_overrides_runpath
=yes
7952 libname_spec
='$name'
7955 library_names_spec
='$libname${shared_ext} $libname.a'
7956 dynamic_linker
='OS/2 ld.exe'
7957 shlibpath_var
=LIBPATH
7960 osf3
* | osf4
* | osf5
*)
7964 soname_spec
='${libname}${release}${shared_ext}$major'
7965 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7966 shlibpath_var
=LD_LIBRARY_PATH
7967 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
7968 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
7973 soname_spec
='${libname}${release}${shared_ext}$major'
7974 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7975 shlibpath_var
=LD_LIBRARY_PATH
7982 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7983 soname_spec
='${libname}${release}${shared_ext}$major'
7984 shlibpath_var
=LD_LIBRARY_PATH
7985 shlibpath_overrides_runpath
=yes
7986 hardcode_into_libs
=yes
7987 # ldd complains unless libraries are executable
7988 postinstall_cmds
='chmod +x $lib'
7993 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7994 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
7995 shlibpath_var
=LD_LIBRARY_PATH
7996 shlibpath_overrides_runpath
=yes
7997 if test "$with_gnu_ld" = yes; then
8003 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
8005 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8006 soname_spec
='${libname}${release}${shared_ext}$major'
8007 shlibpath_var
=LD_LIBRARY_PATH
8008 case $host_vendor in
8010 shlibpath_overrides_runpath
=no
8012 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8013 runpath_var
=LD_RUN_PATH
8021 shlibpath_overrides_runpath
=no
8022 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
8028 if test -d /usr
/nec
;then
8030 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8031 soname_spec
='$libname${shared_ext}.$major'
8032 shlibpath_var
=LD_LIBRARY_PATH
8038 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8039 soname_spec
='${libname}${release}${shared_ext}$major'
8040 shlibpath_var
=LD_LIBRARY_PATH
8047 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8048 echo "${ECHO_T}$dynamic_linker" >&6
8049 test "$dynamic_linker" = no
&& can_build_shared
=no
8051 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
8052 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
8054 if test -n "$hardcode_libdir_flag_spec" || \
8055 test -n "$runpath_var " || \
8056 test "X$hardcode_automatic"="Xyes" ; then
8058 # We can hardcode non-existant directories.
8059 if test "$hardcode_direct" != no
&&
8060 # If the only mechanism to avoid hardcoding is shlibpath_var, we
8061 # have to relink, otherwise we might link with an installed library
8062 # when we should be linking with a yet-to-be-installed one
8063 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
8064 test "$hardcode_minus_L" != no
; then
8065 # Linking always hardcodes the temporary library directory.
8066 hardcode_action
=relink
8068 # We can link without hardcoding, and we can hardcode nonexisting dirs.
8069 hardcode_action
=immediate
8072 # We cannot hardcode anything, or else we can only hardcode existing
8074 hardcode_action
=unsupported
8076 echo "$as_me:$LINENO: result: $hardcode_action" >&5
8077 echo "${ECHO_T}$hardcode_action" >&6
8079 if test "$hardcode_action" = relink
; then
8080 # Fast installation is not supported
8081 enable_fast_install
=no
8082 elif test "$shlibpath_overrides_runpath" = yes ||
8083 test "$enable_shared" = no
; then
8084 # Fast installation is not necessary
8085 enable_fast_install
=needless
8090 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
8091 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
8092 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
8093 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
8094 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
8095 echo "$as_me:$LINENO: result: yes" >&5
8096 echo "${ECHO_T}yes" >&6
8098 # FIXME - insert some real tests, host_os isn't really good enough
8101 if test -n "$STRIP" ; then
8102 striplib
="$STRIP -x"
8103 echo "$as_me:$LINENO: result: yes" >&5
8104 echo "${ECHO_T}yes" >&6
8106 echo "$as_me:$LINENO: result: no" >&5
8107 echo "${ECHO_T}no" >&6
8111 echo "$as_me:$LINENO: result: no" >&5
8112 echo "${ECHO_T}no" >&6
8117 if test "x$enable_dlopen" != xyes
; then
8118 enable_dlopen
=unknown
8119 enable_dlopen_self
=unknown
8120 enable_dlopen_self_static
=unknown
8127 lt_cv_dlopen
="load_add_on"
8129 lt_cv_dlopen_self
=yes
8133 lt_cv_dlopen
="LoadLibrary"
8138 lt_cv_dlopen
="dlopen"
8143 # if libdl is installed we need to link against it
8144 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8145 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8146 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8147 echo $ECHO_N "(cached) $ECHO_C" >&6
8149 ac_check_lib_save_LIBS
=$LIBS
8151 cat >conftest.
$ac_ext <<_ACEOF
8154 cat confdefs.h
>>conftest.
$ac_ext
8155 cat >>conftest.
$ac_ext <<_ACEOF
8156 /* end confdefs.h. */
8158 /* Override any gcc2 internal prototype to avoid an error. */
8162 /* We use char because int might match the return type of a gcc2
8163 builtin and then its argument prototype would still apply. */
8173 rm -f conftest.
$ac_objext conftest
$ac_exeext
8174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8175 (eval $ac_link) 2>conftest.er1
8177 grep -v '^ *+' conftest.er1
>conftest.err
8179 cat conftest.err
>&5
8180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8181 (exit $ac_status); } &&
8182 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8187 (exit $ac_status); }; } &&
8188 { ac_try
='test -s conftest$ac_exeext'
8189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8193 (exit $ac_status); }; }; then
8194 ac_cv_lib_dl_dlopen
=yes
8196 echo "$as_me: failed program was:" >&5
8197 sed 's/^/| /' conftest.
$ac_ext >&5
8199 ac_cv_lib_dl_dlopen
=no
8201 rm -f conftest.err conftest.
$ac_objext \
8202 conftest
$ac_exeext conftest.
$ac_ext
8203 LIBS
=$ac_check_lib_save_LIBS
8205 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8206 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8207 if test $ac_cv_lib_dl_dlopen = yes; then
8208 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
8213 lt_cv_dlopen_self
=yes
8220 echo "$as_me:$LINENO: checking for shl_load" >&5
8221 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
8222 if test "${ac_cv_func_shl_load+set}" = set; then
8223 echo $ECHO_N "(cached) $ECHO_C" >&6
8225 cat >conftest.
$ac_ext <<_ACEOF
8228 cat confdefs.h
>>conftest.
$ac_ext
8229 cat >>conftest.
$ac_ext <<_ACEOF
8230 /* end confdefs.h. */
8231 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
8232 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8233 #define shl_load innocuous_shl_load
8235 /* System header to define __stub macros and hopefully few prototypes,
8236 which can conflict with char shl_load (); below.
8237 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8238 <limits.h> exists even on freestanding compilers. */
8241 # include <limits.h>
8243 # include <assert.h>
8248 /* Override any gcc2 internal prototype to avoid an error. */
8253 /* We use char because int might match the return type of a gcc2
8254 builtin and then its argument prototype would still apply. */
8256 /* The GNU C library defines this for functions which it implements
8257 to always fail with ENOSYS. Some functions are actually named
8258 something starting with __ and the normal name is an alias. */
8259 #if defined (__stub_shl_load) || defined (__stub___shl_load)
8262 char (*f) () = shl_load;
8271 return f != shl_load;
8276 rm -f conftest.
$ac_objext conftest
$ac_exeext
8277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8278 (eval $ac_link) 2>conftest.er1
8280 grep -v '^ *+' conftest.er1
>conftest.err
8282 cat conftest.err
>&5
8283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8284 (exit $ac_status); } &&
8285 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8290 (exit $ac_status); }; } &&
8291 { ac_try
='test -s conftest$ac_exeext'
8292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8296 (exit $ac_status); }; }; then
8297 ac_cv_func_shl_load
=yes
8299 echo "$as_me: failed program was:" >&5
8300 sed 's/^/| /' conftest.
$ac_ext >&5
8302 ac_cv_func_shl_load
=no
8304 rm -f conftest.err conftest.
$ac_objext \
8305 conftest
$ac_exeext conftest.
$ac_ext
8307 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8308 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
8309 if test $ac_cv_func_shl_load = yes; then
8310 lt_cv_dlopen
="shl_load"
8312 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8313 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
8314 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8315 echo $ECHO_N "(cached) $ECHO_C" >&6
8317 ac_check_lib_save_LIBS
=$LIBS
8319 cat >conftest.
$ac_ext <<_ACEOF
8322 cat confdefs.h
>>conftest.
$ac_ext
8323 cat >>conftest.
$ac_ext <<_ACEOF
8324 /* end confdefs.h. */
8326 /* Override any gcc2 internal prototype to avoid an error. */
8330 /* We use char because int might match the return type of a gcc2
8331 builtin and then its argument prototype would still apply. */
8341 rm -f conftest.
$ac_objext conftest
$ac_exeext
8342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8343 (eval $ac_link) 2>conftest.er1
8345 grep -v '^ *+' conftest.er1
>conftest.err
8347 cat conftest.err
>&5
8348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8349 (exit $ac_status); } &&
8350 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8355 (exit $ac_status); }; } &&
8356 { ac_try
='test -s conftest$ac_exeext'
8357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8361 (exit $ac_status); }; }; then
8362 ac_cv_lib_dld_shl_load
=yes
8364 echo "$as_me: failed program was:" >&5
8365 sed 's/^/| /' conftest.
$ac_ext >&5
8367 ac_cv_lib_dld_shl_load
=no
8369 rm -f conftest.err conftest.
$ac_objext \
8370 conftest
$ac_exeext conftest.
$ac_ext
8371 LIBS
=$ac_check_lib_save_LIBS
8373 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8374 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
8375 if test $ac_cv_lib_dld_shl_load = yes; then
8376 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
8378 echo "$as_me:$LINENO: checking for dlopen" >&5
8379 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
8380 if test "${ac_cv_func_dlopen+set}" = set; then
8381 echo $ECHO_N "(cached) $ECHO_C" >&6
8383 cat >conftest.
$ac_ext <<_ACEOF
8386 cat confdefs.h
>>conftest.
$ac_ext
8387 cat >>conftest.
$ac_ext <<_ACEOF
8388 /* end confdefs.h. */
8389 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
8390 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8391 #define dlopen innocuous_dlopen
8393 /* System header to define __stub macros and hopefully few prototypes,
8394 which can conflict with char dlopen (); below.
8395 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8396 <limits.h> exists even on freestanding compilers. */
8399 # include <limits.h>
8401 # include <assert.h>
8406 /* Override any gcc2 internal prototype to avoid an error. */
8411 /* We use char because int might match the return type of a gcc2
8412 builtin and then its argument prototype would still apply. */
8414 /* The GNU C library defines this for functions which it implements
8415 to always fail with ENOSYS. Some functions are actually named
8416 something starting with __ and the normal name is an alias. */
8417 #if defined (__stub_dlopen) || defined (__stub___dlopen)
8420 char (*f) () = dlopen;
8434 rm -f conftest.
$ac_objext conftest
$ac_exeext
8435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8436 (eval $ac_link) 2>conftest.er1
8438 grep -v '^ *+' conftest.er1
>conftest.err
8440 cat conftest.err
>&5
8441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8442 (exit $ac_status); } &&
8443 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8448 (exit $ac_status); }; } &&
8449 { ac_try
='test -s conftest$ac_exeext'
8450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8454 (exit $ac_status); }; }; then
8455 ac_cv_func_dlopen
=yes
8457 echo "$as_me: failed program was:" >&5
8458 sed 's/^/| /' conftest.
$ac_ext >&5
8460 ac_cv_func_dlopen
=no
8462 rm -f conftest.err conftest.
$ac_objext \
8463 conftest
$ac_exeext conftest.
$ac_ext
8465 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8466 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
8467 if test $ac_cv_func_dlopen = yes; then
8468 lt_cv_dlopen
="dlopen"
8470 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8471 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8472 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8473 echo $ECHO_N "(cached) $ECHO_C" >&6
8475 ac_check_lib_save_LIBS
=$LIBS
8477 cat >conftest.
$ac_ext <<_ACEOF
8480 cat confdefs.h
>>conftest.
$ac_ext
8481 cat >>conftest.
$ac_ext <<_ACEOF
8482 /* end confdefs.h. */
8484 /* Override any gcc2 internal prototype to avoid an error. */
8488 /* We use char because int might match the return type of a gcc2
8489 builtin and then its argument prototype would still apply. */
8499 rm -f conftest.
$ac_objext conftest
$ac_exeext
8500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8501 (eval $ac_link) 2>conftest.er1
8503 grep -v '^ *+' conftest.er1
>conftest.err
8505 cat conftest.err
>&5
8506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8507 (exit $ac_status); } &&
8508 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8513 (exit $ac_status); }; } &&
8514 { ac_try
='test -s conftest$ac_exeext'
8515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8519 (exit $ac_status); }; }; then
8520 ac_cv_lib_dl_dlopen
=yes
8522 echo "$as_me: failed program was:" >&5
8523 sed 's/^/| /' conftest.
$ac_ext >&5
8525 ac_cv_lib_dl_dlopen
=no
8527 rm -f conftest.err conftest.
$ac_objext \
8528 conftest
$ac_exeext conftest.
$ac_ext
8529 LIBS
=$ac_check_lib_save_LIBS
8531 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8532 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8533 if test $ac_cv_lib_dl_dlopen = yes; then
8534 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
8536 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
8537 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
8538 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
8539 echo $ECHO_N "(cached) $ECHO_C" >&6
8541 ac_check_lib_save_LIBS
=$LIBS
8543 cat >conftest.
$ac_ext <<_ACEOF
8546 cat confdefs.h
>>conftest.
$ac_ext
8547 cat >>conftest.
$ac_ext <<_ACEOF
8548 /* end confdefs.h. */
8550 /* Override any gcc2 internal prototype to avoid an error. */
8554 /* We use char because int might match the return type of a gcc2
8555 builtin and then its argument prototype would still apply. */
8565 rm -f conftest.
$ac_objext conftest
$ac_exeext
8566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8567 (eval $ac_link) 2>conftest.er1
8569 grep -v '^ *+' conftest.er1
>conftest.err
8571 cat conftest.err
>&5
8572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8573 (exit $ac_status); } &&
8574 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8579 (exit $ac_status); }; } &&
8580 { ac_try
='test -s conftest$ac_exeext'
8581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8585 (exit $ac_status); }; }; then
8586 ac_cv_lib_svld_dlopen
=yes
8588 echo "$as_me: failed program was:" >&5
8589 sed 's/^/| /' conftest.
$ac_ext >&5
8591 ac_cv_lib_svld_dlopen
=no
8593 rm -f conftest.err conftest.
$ac_objext \
8594 conftest
$ac_exeext conftest.
$ac_ext
8595 LIBS
=$ac_check_lib_save_LIBS
8597 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
8598 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
8599 if test $ac_cv_lib_svld_dlopen = yes; then
8600 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
8602 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
8603 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
8604 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
8605 echo $ECHO_N "(cached) $ECHO_C" >&6
8607 ac_check_lib_save_LIBS
=$LIBS
8609 cat >conftest.
$ac_ext <<_ACEOF
8612 cat confdefs.h
>>conftest.
$ac_ext
8613 cat >>conftest.
$ac_ext <<_ACEOF
8614 /* end confdefs.h. */
8616 /* Override any gcc2 internal prototype to avoid an error. */
8620 /* We use char because int might match the return type of a gcc2
8621 builtin and then its argument prototype would still apply. */
8631 rm -f conftest.
$ac_objext conftest
$ac_exeext
8632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8633 (eval $ac_link) 2>conftest.er1
8635 grep -v '^ *+' conftest.er1
>conftest.err
8637 cat conftest.err
>&5
8638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8639 (exit $ac_status); } &&
8640 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8645 (exit $ac_status); }; } &&
8646 { ac_try
='test -s conftest$ac_exeext'
8647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8651 (exit $ac_status); }; }; then
8652 ac_cv_lib_dld_dld_link
=yes
8654 echo "$as_me: failed program was:" >&5
8655 sed 's/^/| /' conftest.
$ac_ext >&5
8657 ac_cv_lib_dld_dld_link
=no
8659 rm -f conftest.err conftest.
$ac_objext \
8660 conftest
$ac_exeext conftest.
$ac_ext
8661 LIBS
=$ac_check_lib_save_LIBS
8663 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
8664 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
8665 if test $ac_cv_lib_dld_dld_link = yes; then
8666 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
8687 if test "x$lt_cv_dlopen" != xno
; then
8693 case $lt_cv_dlopen in
8695 save_CPPFLAGS
="$CPPFLAGS"
8696 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
8698 save_LDFLAGS
="$LDFLAGS"
8699 eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
8702 LIBS
="$lt_cv_dlopen_libs $LIBS"
8704 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
8705 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
8706 if test "${lt_cv_dlopen_self+set}" = set; then
8707 echo $ECHO_N "(cached) $ECHO_C" >&6
8709 if test "$cross_compiling" = yes; then :
8710 lt_cv_dlopen_self
=cross
8712 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
8713 lt_status
=$lt_dlunknown
8714 cat > conftest.
$ac_ext <<EOF
8715 #line 8715 "configure"
8716 #include "confdefs.h"
8725 # define LT_DLGLOBAL RTLD_GLOBAL
8728 # define LT_DLGLOBAL DL_GLOBAL
8730 # define LT_DLGLOBAL 0
8734 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8735 find out it does not work in some platform. */
8736 #ifndef LT_DLLAZY_OR_NOW
8738 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8741 # define LT_DLLAZY_OR_NOW DL_LAZY
8744 # define LT_DLLAZY_OR_NOW RTLD_NOW
8747 # define LT_DLLAZY_OR_NOW DL_NOW
8749 # define LT_DLLAZY_OR_NOW 0
8757 extern "C" void exit (int);
8760 void fnord() { int i=42;}
8763 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8764 int status = $lt_dlunknown;
8768 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8769 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8770 /* dlclose (self); */
8776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8777 (eval $ac_link) 2>&5
8779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8780 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
8781 (.
/conftest
; exit; ) 2>/dev
/null
8784 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
8785 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
8786 x
$lt_unknown|x
*) lt_cv_dlopen_self
=no
;;
8789 # compilation failed
8790 lt_cv_dlopen_self
=no
8797 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
8798 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
8800 if test "x$lt_cv_dlopen_self" = xyes
; then
8801 LDFLAGS
="$LDFLAGS $link_static_flag"
8802 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
8803 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
8804 if test "${lt_cv_dlopen_self_static+set}" = set; then
8805 echo $ECHO_N "(cached) $ECHO_C" >&6
8807 if test "$cross_compiling" = yes; then :
8808 lt_cv_dlopen_self_static
=cross
8810 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
8811 lt_status
=$lt_dlunknown
8812 cat > conftest.
$ac_ext <<EOF
8813 #line 8813 "configure"
8814 #include "confdefs.h"
8823 # define LT_DLGLOBAL RTLD_GLOBAL
8826 # define LT_DLGLOBAL DL_GLOBAL
8828 # define LT_DLGLOBAL 0
8832 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8833 find out it does not work in some platform. */
8834 #ifndef LT_DLLAZY_OR_NOW
8836 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8839 # define LT_DLLAZY_OR_NOW DL_LAZY
8842 # define LT_DLLAZY_OR_NOW RTLD_NOW
8845 # define LT_DLLAZY_OR_NOW DL_NOW
8847 # define LT_DLLAZY_OR_NOW 0
8855 extern "C" void exit (int);
8858 void fnord() { int i=42;}
8861 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8862 int status = $lt_dlunknown;
8866 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8867 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8868 /* dlclose (self); */
8874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8875 (eval $ac_link) 2>&5
8877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8878 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
8879 (.
/conftest
; exit; ) 2>/dev
/null
8882 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
8883 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
8884 x
$lt_unknown|x
*) lt_cv_dlopen_self_static
=no
;;
8887 # compilation failed
8888 lt_cv_dlopen_self_static
=no
8895 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
8896 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
8899 CPPFLAGS
="$save_CPPFLAGS"
8900 LDFLAGS
="$save_LDFLAGS"
8905 case $lt_cv_dlopen_self in
8906 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
8907 *) enable_dlopen_self
=unknown
;;
8910 case $lt_cv_dlopen_self_static in
8911 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
8912 *) enable_dlopen_self_static
=unknown
;;
8917 # Report which librarie types wil actually be built
8918 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
8919 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
8920 echo "$as_me:$LINENO: result: $can_build_shared" >&5
8921 echo "${ECHO_T}$can_build_shared" >&6
8923 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
8924 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
8925 test "$can_build_shared" = "no" && enable_shared
=no
8927 # On AIX, shared libraries and static libraries use the same namespace, and
8928 # are all built from PIC.
8931 test "$enable_shared" = yes && enable_static
=no
8932 if test -n "$RANLIB"; then
8933 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
8934 postinstall_cmds
='$RANLIB $lib'
8939 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
8940 test "$enable_shared" = yes && enable_static
=no
8943 darwin
* | rhapsody
*)
8944 if test "$GCC" = yes; then
8945 archive_cmds_need_lc
=no
8947 rhapsody
* | darwin1.
[012])
8948 allow_undefined_flag
='-undefined suppress'
8951 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8952 allow_undefined_flag
='-flat_namespace -undefined suppress'
8954 case ${MACOSX_DEPLOYMENT_TARGET} in
8956 allow_undefined_flag
='-flat_namespace -undefined suppress'
8959 allow_undefined_flag
='-undefined dynamic_lookup'
8965 output_verbose_link_cmd
='echo'
8966 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
8967 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8968 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
8969 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}'
8970 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}'
8972 hardcode_automatic
=yes
8973 hardcode_shlibpath_var
=unsupported
8974 whole_archive_flag_spec
='-all_load $convenience'
8975 link_all_deplibs
=yes
8981 echo "$as_me:$LINENO: result: $enable_shared" >&5
8982 echo "${ECHO_T}$enable_shared" >&6
8984 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
8985 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
8986 # Make sure either enable_shared or enable_static is yes.
8987 test "$enable_shared" = yes || enable_static
=yes
8988 echo "$as_me:$LINENO: result: $enable_static" >&5
8989 echo "${ECHO_T}$enable_static" >&6
8991 # The else clause should only fire when bootstrapping the
8992 # libtool distribution, otherwise you forgot to ship ltmain.sh
8993 # with your package, and you will get complaints that there are
8994 # no rules to generate ltmain.sh.
8995 if test -f "$ltmain"; then
8996 # See if we are running on zsh, and set the options which allow our commands through
8997 # without removal of \ escapes.
8998 if test -n "${ZSH_VERSION+set}" ; then
8999 setopt NO_GLOB_SUBST
9001 # Now quote all the things that may contain metacharacters while being
9002 # careful not to overquote the AC_SUBSTed values. We take copies of the
9003 # variables and quote the copies for generation of the libtool script.
9004 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
9006 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
9007 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
9008 deplibs_check_method reload_flag reload_cmds need_locks \
9009 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
9010 lt_cv_sys_global_symbol_to_c_name_address \
9011 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
9012 old_postinstall_cmds old_postuninstall_cmds \
9016 lt_prog_compiler_wl \
9017 lt_prog_compiler_pic \
9018 lt_prog_compiler_static \
9019 lt_prog_compiler_no_builtin_flag \
9020 export_dynamic_flag_spec \
9021 thread_safe_flag_spec \
9022 whole_archive_flag_spec \
9023 enable_shared_with_static_runtimes \
9025 old_archive_from_new_cmds \
9030 compiler_lib_search_path \
9032 archive_expsym_cmds \
9034 postuninstall_cmds \
9035 old_archive_from_expsyms_cmds \
9036 allow_undefined_flag \
9038 export_symbols_cmds \
9039 hardcode_libdir_flag_spec \
9040 hardcode_libdir_flag_spec_ld \
9041 hardcode_libdir_separator \
9042 hardcode_automatic \
9044 module_expsym_cmds \
9045 lt_cv_prog_compiler_c_o \
9050 old_archive_cmds | \
9051 old_archive_from_new_cmds | \
9053 archive_expsym_cmds | \
9055 module_expsym_cmds | \
9056 old_archive_from_expsyms_cmds | \
9057 export_symbols_cmds | \
9058 extract_expsyms_cmds | reload_cmds | finish_cmds | \
9059 postinstall_cmds | postuninstall_cmds | \
9060 old_postinstall_cmds | old_postuninstall_cmds | \
9061 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
9062 # Double-quote double-evaled strings.
9063 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
9066 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
9072 *'\$0 --fallback-echo"')
9073 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
9078 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
9080 { echo "$as_me:$LINENO: creating $ofile" >&5
9081 echo "$as_me: creating $ofile" >&6;}
9083 cat <<__EOF__ >> "$cfgfile"
9086 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
9087 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
9088 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
9090 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
9091 # Free Software Foundation, Inc.
9093 # This file is part of GNU Libtool:
9094 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
9096 # This program is free software; you can redistribute it and/or modify
9097 # it under the terms of the GNU General Public License as published by
9098 # the Free Software Foundation; either version 2 of the License, or
9099 # (at your option) any later version.
9101 # This program is distributed in the hope that it will be useful, but
9102 # WITHOUT ANY WARRANTY; without even the implied warranty of
9103 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
9104 # General Public License for more details.
9106 # You should have received a copy of the GNU General Public License
9107 # along with this program; if not, write to the Free Software
9108 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
9110 # As a special exception to the GNU General Public License, if you
9111 # distribute this file as part of a program that contains a
9112 # configuration script generated by Autoconf, you may include it under
9113 # the same distribution terms that you use for the rest of that program.
9115 # A sed program that does not truncate output.
9118 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
9119 Xsed="$SED -e s/^X//"
9121 # The HP-UX ksh and POSIX shell print the target directory to stdout
9123 if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
9125 # The names of the tagged configurations supported by this script.
9128 # ### BEGIN LIBTOOL CONFIG
9130 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
9132 # Shell to use when invoking shell scripts.
9135 # Whether or not to build shared libraries.
9136 build_libtool_libs=$enable_shared
9138 # Whether or not to build static libraries.
9139 build_old_libs=$enable_static
9141 # Whether or not to add -lc for building shared libraries.
9142 build_libtool_need_lc=$archive_cmds_need_lc
9144 # Whether or not to disallow shared libs when runtime libs are static
9145 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
9147 # Whether or not to optimize for fast installation.
9148 fast_install=$enable_fast_install
9151 host_alias=$host_alias
9154 # An echo program that does not interpret backslashes.
9159 AR_FLAGS=$lt_AR_FLAGS
9164 # A language-specific compiler.
9167 # Is the compiler the GNU C compiler?
9173 # The linker used to build libraries.
9176 # Whether we need hard or soft links.
9179 # A BSD-compatible nm program.
9182 # A symbol stripping program
9185 # Used to examine libraries when file_magic_cmd begins "file"
9186 MAGIC_CMD=$MAGIC_CMD
9188 # Used on cygwin: DLL creation program.
9191 # Used on cygwin: object dumper.
9194 # Used on cygwin: assembler.
9197 # The name of the directory that contains temporary libtool files.
9200 # How to create reloadable object files.
9201 reload_flag=$lt_reload_flag
9202 reload_cmds=$lt_reload_cmds
9204 # How to pass a linker flag through the compiler.
9205 wl=$lt_lt_prog_compiler_wl
9207 # Object file suffix (normally "o").
9210 # Old archive suffix (normally "a").
9213 # Shared library suffix (normally ".so").
9216 # Executable file suffix (normally "").
9219 # Additional compiler flags for building library objects.
9220 pic_flag=$lt_lt_prog_compiler_pic
9223 # What is the maximum length of a command?
9224 max_cmd_len=$lt_cv_sys_max_cmd_len
9226 # Does compiler simultaneously support -c and -o options?
9227 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
9229 # Must we lock files when doing compilation ?
9230 need_locks=$lt_need_locks
9232 # Do we need the lib prefix for modules?
9233 need_lib_prefix=$need_lib_prefix
9235 # Do we need a version for libraries?
9236 need_version=$need_version
9238 # Whether dlopen is supported.
9239 dlopen_support=$enable_dlopen
9241 # Whether dlopen of programs is supported.
9242 dlopen_self=$enable_dlopen_self
9244 # Whether dlopen of statically linked programs is supported.
9245 dlopen_self_static=$enable_dlopen_self_static
9247 # Compiler flag to prevent dynamic linking.
9248 link_static_flag=$lt_lt_prog_compiler_static
9250 # Compiler flag to turn off builtin functions.
9251 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
9253 # Compiler flag to allow reflexive dlopens.
9254 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
9256 # Compiler flag to generate shared objects directly from archives.
9257 whole_archive_flag_spec=$lt_whole_archive_flag_spec
9259 # Compiler flag to generate thread-safe objects.
9260 thread_safe_flag_spec=$lt_thread_safe_flag_spec
9262 # Library versioning type.
9263 version_type=$version_type
9265 # Format of library name prefix.
9266 libname_spec=$lt_libname_spec
9268 # List of archive names. First name is the real one, the rest are links.
9269 # The last name is the one that the linker finds with -lNAME.
9270 library_names_spec=$lt_library_names_spec
9272 # The coded name of the library, if different from the real name.
9273 soname_spec=$lt_soname_spec
9275 # Commands used to build and install an old-style archive.
9277 old_archive_cmds=$lt_old_archive_cmds
9278 old_postinstall_cmds=$lt_old_postinstall_cmds
9279 old_postuninstall_cmds=$lt_old_postuninstall_cmds
9281 # Create an old-style archive from a shared archive.
9282 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
9284 # Create a temporary old-style archive to link instead of a shared archive.
9285 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
9287 # Commands used to build and install a shared archive.
9288 archive_cmds=$lt_archive_cmds
9289 archive_expsym_cmds=$lt_archive_expsym_cmds
9290 postinstall_cmds=$lt_postinstall_cmds
9291 postuninstall_cmds=$lt_postuninstall_cmds
9293 # Commands used to build a loadable module (assumed same as above if empty)
9294 module_cmds=$lt_module_cmds
9295 module_expsym_cmds=$lt_module_expsym_cmds
9297 # Commands to strip libraries.
9298 old_striplib=$lt_old_striplib
9299 striplib=$lt_striplib
9301 # Dependencies to place before the objects being linked to create a
9303 predep_objects=$lt_predep_objects
9305 # Dependencies to place after the objects being linked to create a
9307 postdep_objects=$lt_postdep_objects
9309 # Dependencies to place before the objects being linked to create a
9313 # Dependencies to place after the objects being linked to create a
9315 postdeps=$lt_postdeps
9317 # The library search path used internally by the compiler when linking
9319 compiler_lib_search_path=$lt_compiler_lib_search_path
9321 # Method to check whether dependent libraries are shared objects.
9322 deplibs_check_method=$lt_deplibs_check_method
9324 # Command to use when deplibs_check_method == file_magic.
9325 file_magic_cmd=$lt_file_magic_cmd
9327 # Flag that allows shared libraries with undefined symbols to be built.
9328 allow_undefined_flag=$lt_allow_undefined_flag
9330 # Flag that forces no undefined symbols.
9331 no_undefined_flag=$lt_no_undefined_flag
9333 # Commands used to finish a libtool library installation in a directory.
9334 finish_cmds=$lt_finish_cmds
9336 # Same as above, but a single script fragment to be evaled but not shown.
9337 finish_eval=$lt_finish_eval
9339 # Take the output of nm and produce a listing of raw symbols and C names.
9340 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
9342 # Transform the output of nm in a proper C declaration
9343 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
9345 # Transform the output of nm in a C name address pair
9346 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
9348 # This is the shared library runtime path variable.
9349 runpath_var=$runpath_var
9351 # This is the shared library path variable.
9352 shlibpath_var=$shlibpath_var
9354 # Is shlibpath searched before the hard-coded library search path?
9355 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
9357 # How to hardcode a shared library path into an executable.
9358 hardcode_action=$hardcode_action
9360 # Whether we should hardcode library paths into libraries.
9361 hardcode_into_libs=$hardcode_into_libs
9363 # Flag to hardcode \$libdir into a binary during linking.
9364 # This must work even if \$libdir does not exist.
9365 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
9367 # If ld is used when linking, flag to hardcode \$libdir into
9368 # a binary during linking. This must work even if \$libdir does
9370 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
9372 # Whether we need a single -rpath flag with a separated argument.
9373 hardcode_libdir_separator=$lt_hardcode_libdir_separator
9375 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
9377 hardcode_direct=$hardcode_direct
9379 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
9381 hardcode_minus_L=$hardcode_minus_L
9383 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
9384 # the resulting binary.
9385 hardcode_shlibpath_var=$hardcode_shlibpath_var
9387 # Set to yes if building a shared library automatically hardcodes DIR into the library
9388 # and all subsequent libraries and executables linked against it.
9389 hardcode_automatic=$hardcode_automatic
9391 # Variables whose values should be saved in libtool wrapper scripts and
9392 # restored at relink time.
9393 variables_saved_for_relink="$variables_saved_for_relink"
9395 # Whether libtool must link a program against all its dependency libraries.
9396 link_all_deplibs=$link_all_deplibs
9398 # Compile-time system search path for libraries
9399 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
9401 # Run-time system search path for libraries
9402 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
9404 # Fix the shell variable \$srcfile for the compiler.
9405 fix_srcfile_path="$fix_srcfile_path"
9407 # Set to yes if exported symbols are required.
9408 always_export_symbols=$always_export_symbols
9410 # The commands to list exported symbols.
9411 export_symbols_cmds=$lt_export_symbols_cmds
9413 # The commands to extract the exported symbol list from a shared archive.
9414 extract_expsyms_cmds=$lt_extract_expsyms_cmds
9416 # Symbols that should not be listed in the preloaded symbols.
9417 exclude_expsyms=$lt_exclude_expsyms
9419 # Symbols that must always be exported.
9420 include_expsyms=$lt_include_expsyms
9422 # ### END LIBTOOL CONFIG
9429 cat <<\EOF
>> "$cfgfile"
9431 # AIX sometimes has problems with the GCC collect2 program. For some
9432 # reason, if we set the COLLECT_NAMES environment variable, the problems
9433 # vanish in a puff of smoke.
9434 if test "X${COLLECT_NAMES+set}" != Xset
; then
9436 export COLLECT_NAMES
9442 # We use sed instead of cat because bash on DJGPP gets confused if
9443 # if finds mixed CR/LF and LF-only lines. Since sed operates in
9444 # text mode, it properly converts lines to CR/LF. This bash problem
9445 # is reportedly fixed, but why not run on old versions too?
9446 sed '$q' "$ltmain" >> "$cfgfile" ||
(rm -f "$cfgfile"; exit 1)
9448 mv -f "$cfgfile" "$ofile" || \
9449 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
9453 # If there is no Makefile yet, we rely on a make rule to execute
9454 # `config.status --recheck' to rerun these tests and create the
9455 # libtool script then.
9456 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
9457 if test -f "$ltmain_in"; then
9458 test -f Makefile
&& make "$ltmain"
9464 ac_cpp
='$CPP $CPPFLAGS'
9465 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9466 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9467 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9472 # Check whether --with-tags or --without-tags was given.
9473 if test "${with_tags+set}" = set; then
9474 withval
="$with_tags"
9478 if test -f "$ltmain" && test -n "$tagnames"; then
9479 if test ! -f "${ofile}"; then
9480 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
9481 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
9484 if test -z "$LTCC"; then
9485 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
9486 if test -z "$LTCC"; then
9487 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
9488 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
9490 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
9491 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
9495 # Extract list of available tagged configurations in $ofile.
9496 # Note that this assumes the entire list is on one line.
9497 available_tags
=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
9499 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9500 for tagname
in $tagnames; do
9502 # Check whether tagname contains only valid characters
9503 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
9505 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
9506 echo "$as_me: error: invalid tag name: $tagname" >&2;}
9507 { (exit 1); exit 1; }; }
9511 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev
/null
9513 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
9514 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
9515 { (exit 1); exit 1; }; }
9518 # Update the list of available tags.
9519 if test -n "$tagname"; then
9520 echo appending configuration tag
\"$tagname\" to
$ofile
9524 if test -n "$CXX" && test "X$CXX" != "Xno"; then
9526 ac_cpp
='$CXXCPP $CPPFLAGS'
9527 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9528 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9529 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
9534 archive_cmds_need_lc_CXX
=no
9535 allow_undefined_flag_CXX
=
9536 always_export_symbols_CXX
=no
9537 archive_expsym_cmds_CXX
=
9538 export_dynamic_flag_spec_CXX
=
9539 hardcode_direct_CXX
=no
9540 hardcode_libdir_flag_spec_CXX
=
9541 hardcode_libdir_flag_spec_ld_CXX
=
9542 hardcode_libdir_separator_CXX
=
9543 hardcode_minus_L_CXX
=no
9544 hardcode_automatic_CXX
=no
9546 module_expsym_cmds_CXX
=
9547 link_all_deplibs_CXX
=unknown
9548 old_archive_cmds_CXX
=$old_archive_cmds
9549 no_undefined_flag_CXX
=
9550 whole_archive_flag_spec_CXX
=
9551 enable_shared_with_static_runtimes_CXX
=no
9553 # Dependencies to place before and after the object being linked:
9555 postdep_objects_CXX
=
9558 compiler_lib_search_path_CXX
=
9560 # Source file extension for C++ test sources.
9563 # Object file extension for compiled C++ test sources.
9567 # Code to be used in simple compile tests
9568 lt_simple_compile_test_code
="int some_variable = 0;\n"
9570 # Code to be used in simple link tests
9571 lt_simple_link_test_code
='int main(int, char *) { return(0); }\n'
9573 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
9575 # If no C compiler was specified, use CC.
9578 # Allow CC to be a program name with arguments.
9582 # Allow CC to be a program name with arguments.
9587 lt_save_with_gnu_ld
=$with_gnu_ld
9588 lt_save_path_LD
=$lt_cv_path_LD
9589 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
9590 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
9592 unset lt_cv_prog_gnu_ld
9594 if test -n "${lt_cv_path_LDCXX+set}"; then
9595 lt_cv_path_LD
=$lt_cv_path_LDCXX
9599 test -z "${LDCXX+set}" || LD
=$LDCXX
9603 cc_basename
=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
9605 # We don't want -fno-exception wen compiling C++ code, so set the
9606 # no_builtin_flag separately
9607 if test "$GXX" = yes; then
9608 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
9610 lt_prog_compiler_no_builtin_flag_CXX
=
9613 if test "$GXX" = yes; then
9614 # Set up default GNU C++ configuration
9617 # Check whether --with-gnu-ld or --without-gnu-ld was given.
9618 if test "${with_gnu_ld+set}" = set; then
9619 withval
="$with_gnu_ld"
9620 test "$withval" = no || with_gnu_ld
=yes
9625 if test "$GCC" = yes; then
9626 # Check if gcc -print-prog-name=ld gives a path.
9627 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
9628 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
9631 # gcc leaves a trailing carriage return which upsets mingw
9632 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
9634 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
9637 # Accept absolute paths.
9639 re_direlt
='/[^/][^/]*/\.\./'
9640 # Canonicalize the pathname of ld
9641 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
9642 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
9643 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
9645 test -z "$LD" && LD
="$ac_prog"
9648 # If it fails, then pretend we aren't using GCC.
9652 # If it is relative, then search for the first ld in PATH.
9656 elif test "$with_gnu_ld" = yes; then
9657 echo "$as_me:$LINENO: checking for GNU ld" >&5
9658 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
9660 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9661 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
9663 if test "${lt_cv_path_LD+set}" = set; then
9664 echo $ECHO_N "(cached) $ECHO_C" >&6
9666 if test -z "$LD"; then
9667 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9668 for ac_dir
in $PATH; do
9670 test -z "$ac_dir" && ac_dir
=.
9671 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
9672 lt_cv_path_LD
="$ac_dir/$ac_prog"
9673 # Check to see if the program is GNU ld. I'd rather use --version,
9674 # but apparently some GNU ld's only accept -v.
9675 # Break only if it was the GNU/non-GNU ld that we prefer.
9676 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
9677 *GNU
* |
*'with BFD'*)
9678 test "$with_gnu_ld" != no
&& break
9681 test "$with_gnu_ld" != yes && break
9688 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
9693 if test -n "$LD"; then
9694 echo "$as_me:$LINENO: result: $LD" >&5
9695 echo "${ECHO_T}$LD" >&6
9697 echo "$as_me:$LINENO: result: no" >&5
9698 echo "${ECHO_T}no" >&6
9700 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
9701 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
9702 { (exit 1); exit 1; }; }
9703 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9704 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
9705 if test "${lt_cv_prog_gnu_ld+set}" = set; then
9706 echo $ECHO_N "(cached) $ECHO_C" >&6
9708 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
9709 case `$LD -v 2>&1 </dev/null` in
9710 *GNU
* |
*'with BFD'*)
9711 lt_cv_prog_gnu_ld
=yes
9714 lt_cv_prog_gnu_ld
=no
9718 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
9719 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
9720 with_gnu_ld
=$lt_cv_prog_gnu_ld
9724 # Check if GNU C++ uses GNU ld as the underlying linker, since the
9725 # archiving commands below assume that GNU ld is being used.
9726 if test "$with_gnu_ld" = yes; then
9727 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
9728 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'
9730 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
9731 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
9733 # If archive_cmds runs LD, not CC, wlarc should be empty
9734 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
9735 # investigate it a little bit more. (MM)
9738 # ancient GNU ld didn't support --whole-archive et. al.
9739 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
9740 grep 'no-whole-archive' > /dev
/null
; then
9741 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9743 whole_archive_flag_spec_CXX
=
9749 # A generic and very simple default shared library creation
9750 # command for GNU C++ for the case where it uses the native
9751 # linker, instead of GNU ld. If possible, this setting should
9752 # overridden to take advantage of the native linker features on
9753 # the platform it is being used on.
9754 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
9757 # Commands to make compiler produce verbose output that lists
9758 # what "hidden" libraries, object files and flags are used when
9759 # linking a shared library.
9760 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
9768 # PORTME: fill in a description of your system's C++ link characteristics
9769 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9770 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
9774 # FIXME: insert proper C++ library support
9778 if test "$host_cpu" = ia64
; then
9779 # On IA64, the linker does run time linking by default, so we don't
9780 # have to do anything special.
9781 aix_use_runtimelinking
=no
9782 exp_sym_flag
='-Bexport'
9785 aix_use_runtimelinking
=no
9787 # Test if we are trying to use run time linking or normal
9788 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9789 # need to do runtime linking.
9790 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
9791 for ld_flag
in $LDFLAGS; do
9794 aix_use_runtimelinking
=yes
9801 exp_sym_flag
='-bexport'
9802 no_entry_flag
='-bnoentry'
9805 # When large executables or shared objects are built, AIX ld can
9806 # have problems creating the table of contents. If linking a library
9807 # or program results in "error TOC overflow" add -mminimal-toc to
9808 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9809 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9812 hardcode_direct_CXX
=yes
9813 hardcode_libdir_separator_CXX
=':'
9814 link_all_deplibs_CXX
=yes
9816 if test "$GXX" = yes; then
9817 case $host_os in aix4.012|aix4.012.
*)
9818 # We only want to do this on AIX 4.2 and lower, the check
9819 # below for broken collect2 doesn't work under 4.3+
9820 collect2name
=`${CC} -print-prog-name=collect2`
9821 if test -f "$collect2name" && \
9822 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
9824 # We have reworked collect2
9825 hardcode_direct_CXX
=yes
9827 # We have old collect2
9828 hardcode_direct_CXX
=unsupported
9829 # It fails to find uninstalled libraries when the uninstalled
9830 # path is not listed in the libpath. Setting hardcode_minus_L
9831 # to unsupported forces relinking
9832 hardcode_minus_L_CXX
=yes
9833 hardcode_libdir_flag_spec_CXX
='-L$libdir'
9834 hardcode_libdir_separator_CXX
=
9837 shared_flag
='-shared'
9840 if test "$host_cpu" = ia64
; then
9841 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9842 # chokes on -Wl,-G. The following line is correct:
9845 if test "$aix_use_runtimelinking" = yes; then
9846 shared_flag
='${wl}-G'
9848 shared_flag
='${wl}-bM:SRE'
9853 # It seems that -bexpall does not export symbols beginning with
9854 # underscore (_), so it is better to generate a list of symbols to export.
9855 always_export_symbols_CXX
=yes
9856 if test "$aix_use_runtimelinking" = yes; then
9857 # Warning - without using the other runtime loading flags (-brtl),
9858 # -berok will link without error, but may produce a broken library.
9859 allow_undefined_flag_CXX
='-berok'
9860 # Determine the default libpath from the value encoded in an empty executable.
9861 cat >conftest.
$ac_ext <<_ACEOF
9864 cat confdefs.h
>>conftest.
$ac_ext
9865 cat >>conftest.
$ac_ext <<_ACEOF
9866 /* end confdefs.h. */
9876 rm -f conftest.
$ac_objext conftest
$ac_exeext
9877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9878 (eval $ac_link) 2>conftest.er1
9880 grep -v '^ *+' conftest.er1
>conftest.err
9882 cat conftest.err
>&5
9883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9884 (exit $ac_status); } &&
9885 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9890 (exit $ac_status); }; } &&
9891 { ac_try
='test -s conftest$ac_exeext'
9892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9896 (exit $ac_status); }; }; then
9898 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9900 # Check for a 64-bit object if we didn't find anything.
9901 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; }
9904 echo "$as_me: failed program was:" >&5
9905 sed 's/^/| /' conftest.
$ac_ext >&5
9908 rm -f conftest.err conftest.
$ac_objext \
9909 conftest
$ac_exeext conftest.
$ac_ext
9910 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9912 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
9914 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"
9916 if test "$host_cpu" = ia64; then
9917 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr
/lib
:/lib
'
9918 allow_undefined_flag_CXX="-z nodefs"
9919 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"
9921 # Determine the default libpath from the value encoded in an empty executable.
9922 cat >conftest.$ac_ext <<_ACEOF
9925 cat confdefs.h >>conftest.$ac_ext
9926 cat >>conftest.$ac_ext <<_ACEOF
9927 /* end confdefs.h. */
9937 rm -f conftest.$ac_objext conftest$ac_exeext
9938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9939 (eval $ac_link) 2>conftest.er1
9941 grep -v '^ *+' conftest.er1 >conftest.err
9943 cat conftest.err >&5
9944 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9945 (exit $ac_status); } &&
9946 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9950 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9951 (exit $ac_status); }; } &&
9952 { ac_try='test -s conftest$ac_exeext'
9953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9956 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9957 (exit $ac_status); }; }; then
9959 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9961 # Check for a 64-bit object if we didn't find anything.
9962 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; }
9965 echo "$as_me: failed program was
:" >&5
9966 sed 's/^/| /' conftest.$ac_ext >&5
9969 rm -f conftest.err conftest.$ac_objext \
9970 conftest$ac_exeext conftest.$ac_ext
9971 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
9973 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
9974 # Warning - without using the other run time loading flags,
9975 # -berok will link without error, but may produce a broken library.
9976 no_undefined_flag_CXX=' ${wl}-bernotok'
9977 allow_undefined_flag_CXX=' ${wl}-berok'
9978 # -bexpall does not export symbols beginning with underscore (_)
9979 always_export_symbols_CXX=yes
9980 # Exported symbols can be pulled into shared objects from archives
9981 whole_archive_flag_spec_CXX=' '
9982 archive_cmds_need_lc_CXX=yes
9983 # This is similar to how AIX traditionally builds it's shared libraries.
9984 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'
9989 case $cc_basename in
9991 # FIXME: insert proper C++ library support
9997 cygwin* | mingw* | pw32*)
9998 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
9999 # as there is no search path for DLLs.
10000 hardcode_libdir_flag_spec_CXX='-L$libdir'
10001 allow_undefined_flag_CXX=unsupported
10002 always_export_symbols_CXX=no
10003 enable_shared_with_static_runtimes_CXX=yes
10005 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
10006 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'
10007 # If the export-symbols file already is a .def file (1st line
10008 # is EXPORTS), use it as is; otherwise, prepend...
10009 archive_expsym_cmds_CXX='if test "x
`$SED 1q $export_symbols`" = xEXPORTS; then
10010 cp $export_symbols $output_objdir/$soname.def;
10012 echo EXPORTS > $output_objdir/$soname.def;
10013 cat $export_symbols >> $output_objdir/$soname.def;
10015 $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'
10021 darwin* | rhapsody*)
10022 if test "$GXX" = yes; then
10023 archive_cmds_need_lc_CXX=no
10025 rhapsody* | darwin1.[012])
10026 allow_undefined_flag_CXX='-undefined suppress'
10029 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10030 allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
10032 case ${MACOSX_DEPLOYMENT_TARGET} in
10034 allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
10037 allow_undefined_flag_CXX='-undefined dynamic_lookup'
10043 lt_int_apple_cc_single_mod=no
10044 output_verbose_link_cmd='echo'
10045 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
10046 lt_int_apple_cc_single_mod=yes
10048 if test "X
$lt_int_apple_cc_single_mod" = Xyes ; then
10049 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10051 archive_cmds_CXX='$CC -r ${wl}-bind_at_load -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'
10053 module_cmds_CXX='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10055 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
10056 if test "X
$lt_int_apple_cc_single_mod" = Xyes ; then
10057 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}'
10059 archive_expsym_cmds_CXX
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -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}'
10061 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}'
10062 hardcode_direct_CXX
=no
10063 hardcode_automatic_CXX
=yes
10064 hardcode_shlibpath_var_CXX
=unsupported
10065 whole_archive_flag_spec_CXX
='-all_load $convenience'
10066 link_all_deplibs_CXX
=yes
10073 case $cc_basename in
10075 # FIXME: insert proper C++ library support
10079 # Green Hills C++ Compiler
10080 # FIXME: insert proper C++ library support
10084 # FIXME: insert proper C++ library support
10090 # C++ shared libraries reported to be fairly broken before switch to ELF
10094 archive_cmds_need_lc_CXX
=no
10096 freebsd
* | kfreebsd
*-gnu)
10097 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
10104 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
10105 hardcode_libdir_separator_CXX
=:
10106 export_dynamic_flag_spec_CXX
='${wl}-E'
10107 hardcode_direct_CXX
=yes
10108 hardcode_minus_L_CXX
=yes # Not in the search PATH,
10109 # but as the default
10110 # location of the library.
10112 case $cc_basename in
10114 # FIXME: insert proper C++ library support
10118 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'
10119 # Commands to make compiler produce verbose output that lists
10120 # what "hidden" libraries, object files and flags are used when
10121 # linking a shared library.
10123 # There doesn't appear to be a way to prevent this compiler from
10124 # explicitly linking system object files so we need to strip them
10125 # from the output so that they don't get included in the library
10127 output_verbose_link_cmd
='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | egrep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
10130 if test "$GXX" = yes; then
10131 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'
10133 # FIXME: insert proper C++ library support
10140 if test $with_gnu_ld = no
; then
10141 case "$host_cpu" in
10143 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
10144 hardcode_libdir_flag_spec_ld_CXX
='+b $libdir'
10145 hardcode_libdir_separator_CXX
=:
10148 hardcode_libdir_flag_spec_CXX
='-L$libdir'
10151 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
10152 hardcode_libdir_separator_CXX
=:
10153 export_dynamic_flag_spec_CXX
='${wl}-E'
10157 case "$host_cpu" in
10159 hardcode_direct_CXX
=no
10160 hardcode_shlibpath_var_CXX
=no
10163 hardcode_direct_CXX
=no
10164 hardcode_shlibpath_var_CXX
=no
10165 hardcode_minus_L_CXX
=yes # Not in the search PATH,
10166 # but as the default
10167 # location of the library.
10170 hardcode_direct_CXX
=yes
10171 hardcode_minus_L_CXX
=yes # Not in the search PATH,
10172 # but as the default
10173 # location of the library.
10177 case $cc_basename in
10179 # FIXME: insert proper C++ library support
10183 case "$host_cpu" in
10185 archive_cmds_CXX
='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
10188 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10191 # Commands to make compiler produce verbose output that lists
10192 # what "hidden" libraries, object files and flags are used when
10193 # linking a shared library.
10195 # There doesn't appear to be a way to prevent this compiler from
10196 # explicitly linking system object files so we need to strip them
10197 # from the output so that they don't get included in the library
10199 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'
10202 if test "$GXX" = yes; then
10203 if test $with_gnu_ld = no
; then
10204 case "$host_cpu" in
10206 archive_cmds_CXX
='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
10209 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'
10214 # FIXME: insert proper C++ library support
10221 case $cc_basename in
10224 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'
10226 # Archives containing C++ object files must be created using
10227 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
10228 # necessary to make sure instantiated templates are included
10230 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
10233 if test "$GXX" = yes; then
10234 if test "$with_gnu_ld" = no
; then
10235 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'
10237 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'
10240 link_all_deplibs_CXX
=yes
10243 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10244 hardcode_libdir_separator_CXX
=:
10247 case $cc_basename in
10249 # Kuck and Associates, Inc. (KAI) C++ Compiler
10251 # KCC will only create a shared library if the output file
10252 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10253 # to its proper name (with version) after linking.
10254 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'
10255 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'
10256 # Commands to make compiler produce verbose output that lists
10257 # what "hidden" libraries, object files and flags are used when
10258 # linking a shared library.
10260 # There doesn't appear to be a way to prevent this compiler from
10261 # explicitly linking system object files so we need to strip them
10262 # from the output so that they don't get included in the library
10264 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'
10266 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
10267 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10269 # Archives containing C++ object files must be created using
10270 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10271 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
10276 archive_cmds_need_lc_CXX
=no
10277 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10278 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'
10279 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10280 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10281 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10285 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10286 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'
10288 runpath_var
=LD_RUN_PATH
10289 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
10290 hardcode_libdir_separator_CXX
=:
10292 # Commands to make compiler produce verbose output that lists
10293 # what "hidden" libraries, object files and flags are used when
10294 # linking a shared library.
10296 # There doesn't appear to be a way to prevent this compiler from
10297 # explicitly linking system object files so we need to strip them
10298 # from the output so that they don't get included in the library
10300 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'
10305 # FIXME: insert proper C++ library support
10309 # FIXME: insert proper C++ library support
10313 case $cc_basename in
10315 # FIXME: insert proper C++ library support
10319 # FIXME: insert proper C++ library support
10324 netbsd
* | knetbsd
*-gnu)
10325 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
10326 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10328 hardcode_libdir_flag_spec_CXX
='-R$libdir'
10329 hardcode_direct_CXX
=yes
10330 hardcode_shlibpath_var_CXX
=no
10332 # Workaround some broken pre-1.5 toolchains
10333 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
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'
10345 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10346 hardcode_libdir_separator_CXX
=:
10348 # Archives containing C++ object files must be created using
10349 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10350 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
10354 # Rational C++ 2.4.1
10355 # FIXME: insert proper C++ library support
10359 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
10360 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'
10362 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10363 hardcode_libdir_separator_CXX
=:
10365 # Commands to make compiler produce verbose output that lists
10366 # what "hidden" libraries, object files and flags are used when
10367 # linking a shared library.
10369 # There doesn't appear to be a way to prevent this compiler from
10370 # explicitly linking system object files so we need to strip them
10371 # from the output so that they don't get included in the library
10373 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'
10376 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
10377 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
10378 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'
10380 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10381 hardcode_libdir_separator_CXX
=:
10383 # Commands to make compiler produce verbose output that lists
10384 # what "hidden" libraries, object files and flags are used when
10385 # linking a shared library.
10386 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10389 # FIXME: insert proper C++ library support
10396 case $cc_basename in
10398 # Kuck and Associates, Inc. (KAI) C++ Compiler
10400 # KCC will only create a shared library if the output file
10401 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10402 # to its proper name (with version) after linking.
10403 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'
10405 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10406 hardcode_libdir_separator_CXX
=:
10408 # Archives containing C++ object files must be created using
10409 # the KAI C++ compiler.
10410 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
10413 # Rational C++ 2.4.1
10414 # FIXME: insert proper C++ library support
10418 allow_undefined_flag_CXX
=' -expect_unresolved \*'
10419 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'
10420 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
10421 echo "-hidden">> $lib.exp~
10422 $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~
10425 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
10426 hardcode_libdir_separator_CXX
=:
10428 # Commands to make compiler produce verbose output that lists
10429 # what "hidden" libraries, object files and flags are used when
10430 # linking a shared library.
10432 # There doesn't appear to be a way to prevent this compiler from
10433 # explicitly linking system object files so we need to strip them
10434 # from the output so that they don't get included in the library
10436 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'
10439 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
10440 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
10441 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'
10443 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10444 hardcode_libdir_separator_CXX
=:
10446 # Commands to make compiler produce verbose output that lists
10447 # what "hidden" libraries, object files and flags are used when
10448 # linking a shared library.
10449 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10452 # FIXME: insert proper C++ library support
10459 # FIXME: insert proper C++ library support
10463 archive_cmds_need_lc_CXX
=no
10464 case $cc_basename in
10466 # FIXME: insert proper C++ library support
10470 # FIXME: insert proper C++ library support
10476 case $cc_basename in
10479 # FIXME: insert proper C++ library support
10484 # FIXME: insert proper C++ library support
10488 # FIXME: insert proper C++ library support
10494 case $cc_basename in
10496 # Sun C++ 4.2, 5.x and Centerline C++
10497 no_undefined_flag_CXX
=' -zdefs'
10498 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10499 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10500 $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'
10502 hardcode_libdir_flag_spec_CXX
='-R$libdir'
10503 hardcode_shlibpath_var_CXX
=no
10505 solaris2.0
-5 | solaris2.0
-5.
*) ;;
10507 # The C++ compiler is used as linker so we must use $wl
10508 # flag to pass the commands to the underlying system
10510 # Supported since Solaris 2.6 (maybe 2.5.1?)
10511 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10514 link_all_deplibs_CXX
=yes
10516 # Commands to make compiler produce verbose output that lists
10517 # what "hidden" libraries, object files and flags are used when
10518 # linking a shared library.
10520 # There doesn't appear to be a way to prevent this compiler from
10521 # explicitly linking system object files so we need to strip them
10522 # from the output so that they don't get included in the library
10524 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'
10526 # Archives containing C++ object files must be created using
10527 # "CC -xar", where "CC" is the Sun C++ compiler. This is
10528 # necessary to make sure instantiated templates are included
10530 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
10533 # Green Hills C++ Compiler
10534 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10536 # The C++ compiler must be used to create the archive.
10537 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
10540 # GNU C++ compiler with Solaris linker
10541 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
10542 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
10543 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
10544 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10545 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10546 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10548 # Commands to make compiler produce verbose output that lists
10549 # what "hidden" libraries, object files and flags are used when
10550 # linking a shared library.
10551 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10553 # g++ 2.7 appears to require `-G' NOT `-shared' on this
10555 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10556 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10557 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10559 # Commands to make compiler produce verbose output that lists
10560 # what "hidden" libraries, object files and flags are used when
10561 # linking a shared library.
10562 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10565 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
10570 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
10571 archive_cmds_need_lc_CXX
=no
10574 case $cc_basename in
10576 # NonStop-UX NCC 3.20
10577 # FIXME: insert proper C++ library support
10581 # FIXME: insert proper C++ library support
10587 # FIXME: insert proper C++ library support
10591 # FIXME: insert proper C++ library support
10595 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10596 echo "${ECHO_T}$ld_shlibs_CXX" >&6
10597 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
10603 cat > conftest.
$ac_ext <<EOF
10607 Foo (void) { a = 0; }
10613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10614 (eval $ac_compile) 2>&5
10616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10617 (exit $ac_status); }; then
10618 # Parse the compiler output and extract the necessary
10619 # objects, libraries and library flags.
10621 # Sentinel used to keep track of whether or not we are before
10622 # the conftest object file.
10623 pre_test_object_deps_done
=no
10625 # The `*' in the case matches for architectures that use `case' in
10626 # $output_verbose_cmd can trigger glob expansion during the loop
10627 # eval without this substitution.
10628 output_verbose_link_cmd
="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
10630 for p
in `eval $output_verbose_link_cmd`; do
10634 # Some compilers place space between "-{L,R}" and the path.
10635 # Remove the space.
10636 if test $p = "-L" \
10637 ||
test $p = "-R"; then
10644 if test "$pre_test_object_deps_done" = no
; then
10647 # Internal compiler library paths should come after those
10648 # provided the user. The postdeps already come after the
10649 # user supplied libs so there is no need to process them.
10650 if test -z "$compiler_lib_search_path_CXX"; then
10651 compiler_lib_search_path_CXX
="${prev}${p}"
10653 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
10656 # The "-l" case would never come before the object being
10657 # linked, so don't bother handling this case.
10660 if test -z "$postdeps_CXX"; then
10661 postdeps_CXX
="${prev}${p}"
10663 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
10669 # This assumes that the test object file only shows up
10670 # once in the compiler output.
10671 if test "$p" = "conftest.$objext"; then
10672 pre_test_object_deps_done
=yes
10676 if test "$pre_test_object_deps_done" = no
; then
10677 if test -z "$predep_objects_CXX"; then
10678 predep_objects_CXX
="$p"
10680 predep_objects_CXX
="$predep_objects_CXX $p"
10683 if test -z "$postdep_objects_CXX"; then
10684 postdep_objects_CXX
="$p"
10686 postdep_objects_CXX
="$postdep_objects_CXX $p"
10691 *) ;; # Ignore the rest.
10699 echo "libtool.m4: error: problem compiling CXX test program"
10702 $rm -f confest.
$objext
10704 case " $postdeps_CXX " in
10705 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
10708 lt_prog_compiler_wl_CXX
=
10709 lt_prog_compiler_pic_CXX
=
10710 lt_prog_compiler_static_CXX
=
10712 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10713 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
10715 # C++ specific cases for pic, static, wl, etc.
10716 if test "$GXX" = yes; then
10717 lt_prog_compiler_wl_CXX
='-Wl,'
10718 lt_prog_compiler_static_CXX
='-static'
10722 # All AIX code is PIC.
10723 if test "$host_cpu" = ia64
; then
10724 # AIX 5 now supports IA64 processor
10725 lt_prog_compiler_static_CXX
='-Bstatic'
10729 # FIXME: we need at least 68020 code to build shared libraries, but
10730 # adding the `-m68020' flag to GCC prevents building anything better,
10732 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
10734 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
10735 # PIC is the default for these OSes.
10737 mingw
* | os2
* | pw32
*)
10738 # This hack is so that the source file can tell whether it is being
10739 # built for inclusion in a dll (and should export symbols for example).
10740 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
10742 darwin
* | rhapsody
*)
10743 # PIC is the default on this platform
10744 # Common symbols not allowed in MH_DYLIB files
10745 lt_prog_compiler_pic_CXX
='-fno-common'
10748 # DJGPP does not support shared libraries at all
10749 lt_prog_compiler_pic_CXX
=
10752 if test -d /usr
/nec
; then
10753 lt_prog_compiler_pic_CXX
=-Kconform_pic
10757 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10758 # not for PA HP-UX.
10759 case "$host_cpu" in
10763 lt_prog_compiler_pic_CXX
='-fPIC'
10768 lt_prog_compiler_pic_CXX
='-fPIC'
10774 # All AIX code is PIC.
10775 if test "$host_cpu" = ia64
; then
10776 # AIX 5 now supports IA64 processor
10777 lt_prog_compiler_static_CXX
='-Bstatic'
10779 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
10783 case $cc_basename in
10785 # Green Hills C++ Compiler
10786 # _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"
10791 case $cc_basename in
10793 lt_prog_compiler_pic_CXX
='-KPIC'
10796 # Green Hills C++ Compiler
10797 lt_prog_compiler_pic_CXX
='-pic'
10803 freebsd
* | kfreebsd
*-gnu)
10804 # FreeBSD uses GNU C++
10806 hpux9
* | hpux10
* | hpux11
*)
10807 case $cc_basename in
10809 lt_prog_compiler_wl_CXX
='-Wl,'
10810 lt_prog_compiler_static_CXX
="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10811 if test "$host_cpu" != ia64
; then
10812 lt_prog_compiler_pic_CXX
='+Z'
10816 lt_prog_compiler_wl_CXX
='-Wl,'
10817 lt_prog_compiler_static_CXX
="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10818 case "$host_cpu" in
10823 lt_prog_compiler_pic_CXX
='+Z'
10831 irix5
* | irix6
* | nonstopux
*)
10832 case $cc_basename in
10834 lt_prog_compiler_wl_CXX
='-Wl,'
10835 lt_prog_compiler_static_CXX
='-non_shared'
10836 # CC pic flag -KPIC is the default.
10843 case $cc_basename in
10846 lt_prog_compiler_wl_CXX
='--backend -Wl,'
10847 lt_prog_compiler_pic_CXX
='-fPIC'
10851 lt_prog_compiler_wl_CXX
='-Wl,'
10852 lt_prog_compiler_pic_CXX
='-KPIC'
10853 lt_prog_compiler_static_CXX
='-static'
10857 # Make sure the PIC flag is empty. It appears that all Alpha
10858 # Linux and Compaq Tru64 Unix objects are PIC.
10859 lt_prog_compiler_pic_CXX
=
10860 lt_prog_compiler_static_CXX
='-non_shared'
10871 case $cc_basename in
10873 lt_prog_compiler_pic_CXX
='-W c,exportall'
10879 netbsd
* | knetbsd
*-gnu)
10881 osf3
* | osf4
* | osf5
*)
10882 case $cc_basename in
10884 lt_prog_compiler_wl_CXX
='--backend -Wl,'
10887 # Rational C++ 2.4.1
10888 lt_prog_compiler_pic_CXX
='-pic'
10891 # Digital/Compaq C++
10892 lt_prog_compiler_wl_CXX
='-Wl,'
10893 # Make sure the PIC flag is empty. It appears that all Alpha
10894 # Linux and Compaq Tru64 Unix objects are PIC.
10895 lt_prog_compiler_pic_CXX
=
10896 lt_prog_compiler_static_CXX
='-non_shared'
10905 case $cc_basename in
10907 lt_prog_compiler_pic_CXX
='-fPIC'
10914 case $cc_basename in
10916 # Sun C++ 4.2, 5.x and Centerline C++
10917 lt_prog_compiler_pic_CXX
='-KPIC'
10918 lt_prog_compiler_static_CXX
='-Bstatic'
10919 lt_prog_compiler_wl_CXX
='-Qoption ld '
10922 # Green Hills C++ Compiler
10923 lt_prog_compiler_pic_CXX
='-PIC'
10930 case $cc_basename in
10933 lt_prog_compiler_pic_CXX
='-pic'
10934 lt_prog_compiler_static_CXX
='-Bstatic'
10938 lt_prog_compiler_pic_CXX
='-pic'
10945 case $cc_basename in
10947 # NonStop-UX NCC 3.20
10948 lt_prog_compiler_pic_CXX
='-KPIC'
10959 lt_prog_compiler_can_build_shared_CXX
=no
10964 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
10965 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
10968 # Check to make sure the PIC flag actually works.
10970 if test -n "$lt_prog_compiler_pic_CXX"; then
10972 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
10973 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
10974 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
10975 echo $ECHO_N "(cached) $ECHO_C" >&6
10977 lt_prog_compiler_pic_works_CXX
=no
10978 ac_outfile
=conftest.
$ac_objext
10979 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
10980 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
10981 # Insert the option either (1) after the last *FLAGS variable, or
10982 # (2) before a word containing "conftest.", or (3) at the end.
10983 # Note that $ac_compile itself does not contain backslashes and begins
10984 # with a dollar sign (not a hyphen), so the echo should work correctly.
10985 # The option is referenced via a variable to avoid confusing sed.
10986 lt_compile
=`echo "$ac_compile" | $SED \
10987 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10988 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10989 -e 's:$: $lt_compiler_flag:'`
10990 (eval echo "\"\$as_me:10990: $lt_compile\"" >&5)
10991 (eval "$lt_compile" 2>conftest.err
)
10993 cat conftest.err
>&5
10994 echo "$as_me:10994: \$? = $ac_status" >&5
10995 if (exit $ac_status) && test -s "$ac_outfile"; then
10996 # The compiler can only warn and ignore the option if not recognized
10997 # So say no if there are warnings
10998 if test ! -s conftest.err
; then
10999 lt_prog_compiler_pic_works_CXX
=yes
11005 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
11006 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
11008 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
11009 case $lt_prog_compiler_pic_CXX in
11011 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
11014 lt_prog_compiler_pic_CXX
=
11015 lt_prog_compiler_can_build_shared_CXX
=no
11020 # For platforms which do not support PIC, -DPIC is meaningless:
11022 lt_prog_compiler_pic_CXX
=
11025 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
11029 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11030 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
11031 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
11032 echo $ECHO_N "(cached) $ECHO_C" >&6
11034 lt_cv_prog_compiler_c_o_CXX
=no
11035 $rm -r conftest
2>/dev
/null
11039 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11041 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11042 # Insert the option either (1) after the last *FLAGS variable, or
11043 # (2) before a word containing "conftest.", or (3) at the end.
11044 # Note that $ac_compile itself does not contain backslashes and begins
11045 # with a dollar sign (not a hyphen), so the echo should work correctly.
11046 lt_compile
=`echo "$ac_compile" | $SED \
11047 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
11048 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11049 -e 's:$: $lt_compiler_flag:'`
11050 (eval echo "\"\$as_me:11050: $lt_compile\"" >&5)
11051 (eval "$lt_compile" 2>out
/conftest.err
)
11053 cat out
/conftest.err
>&5
11054 echo "$as_me:11054: \$? = $ac_status" >&5
11055 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
11057 # The compiler can only warn and ignore the option if not recognized
11058 # So say no if there are warnings
11059 if test ! -s out
/conftest.err
; then
11060 lt_cv_prog_compiler_c_o_CXX
=yes
11065 # SGI C++ compiler will create directory out/ii_files/ for
11066 # template instantiation
11067 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
11068 $rm out
/* && rmdir out
11074 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
11075 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
11078 hard_links
="nottested"
11079 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
11080 # do not overwrite the value of need_locks provided by the user
11081 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11082 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
11085 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11087 ln conftest.a conftest.b
2>&5 || hard_links
=no
11088 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11089 echo "$as_me:$LINENO: result: $hard_links" >&5
11090 echo "${ECHO_T}$hard_links" >&6
11091 if test "$hard_links" = no
; then
11092 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11093 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11100 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11101 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11103 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11106 # If we're using GNU nm, then we don't want the "-C" option.
11107 # -C means demangle to AIX nm, but means don't demangle with GNU nm
11108 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
11109 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'
11111 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'
11115 export_symbols_cmds_CXX
="$ltdll_cmds"
11118 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
11121 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11125 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11126 echo "${ECHO_T}$ld_shlibs_CXX" >&6
11127 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
11129 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11130 if test "$GCC" = yes; then
11131 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11135 # Do we need to explicitly link libc?
11137 case "x$archive_cmds_need_lc_CXX" in
11139 # Assume -lc should be added
11140 archive_cmds_need_lc_CXX
=yes
11142 if test "$enable_shared" = yes && test "$GCC" = yes; then
11143 case $archive_cmds_CXX in
11145 # FIXME: we may have to deal with multi-command sequences.
11148 # Test whether the compiler implicitly links with -lc since on some
11149 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11150 # to ld, don't add -lc before -lgcc.
11151 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11152 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
11154 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11157 (eval $ac_compile) 2>&5
11159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11160 (exit $ac_status); } 2>conftest.err
; then
11163 libobjs
=conftest.
$ac_objext
11165 wl
=$lt_prog_compiler_wl_CXX
11171 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
11172 allow_undefined_flag_CXX
=
11173 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
11174 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11177 (exit $ac_status); }
11179 archive_cmds_need_lc_CXX
=no
11181 archive_cmds_need_lc_CXX
=yes
11183 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
11185 cat conftest.err
1>&5
11188 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
11189 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
11196 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11197 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
11198 library_names_spec
=
11199 libname_spec
='lib$name'
11203 postuninstall_cmds
=
11207 shlibpath_overrides_runpath
=unknown
11209 dynamic_linker
="$host_os ld.so"
11210 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11211 if test "$GCC" = yes; then
11212 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11213 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
11214 # if the path contains ";" then we assume it to be the separator
11215 # otherwise default to the standard path separator (i.e. ":") - it is
11216 # assumed that no part of a normal pathname contains ";" but that should
11217 # okay in the real world where ";" in dirpaths is itself problematic.
11218 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11220 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11223 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11225 need_lib_prefix
=unknown
11226 hardcode_into_libs
=no
11228 # when you set need_version to no, make sure it does not cause -set_version
11229 # flags to be left without arguments
11230 need_version
=unknown
11235 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11236 shlibpath_var
=LIBPATH
11238 # AIX 3 has no versioning support, so we append a major version to the name.
11239 soname_spec
='${libname}${release}${shared_ext}$major'
11246 hardcode_into_libs
=yes
11247 if test "$host_cpu" = ia64
; then
11248 # AIX 5 supports IA64
11249 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11250 shlibpath_var
=LD_LIBRARY_PATH
11252 # With GCC up to 2.95.x, collect2 would create an import file
11253 # for dependence libraries. The import file would start with
11254 # the line `#! .'. This would cause the generated library to
11255 # depend on `.', always an invalid library. This was fixed in
11256 # development snapshots of GCC prior to 3.0.
11258 aix4 | aix4.
[01] | aix4.
[01].
*)
11259 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11261 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
11264 can_build_shared
=no
11268 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11269 # soname into executable. Probably we can add versioning support to
11270 # collect2, so additional links can be useful in future.
11271 if test "$aix_use_runtimelinking" = yes; then
11272 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11273 # instead of lib<name>.a to let people know that these are not
11274 # typical AIX shared libraries.
11275 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11277 # We preserve .a as extension for shared libraries through AIX4.2
11278 # and later when we are not doing run time linking.
11279 library_names_spec
='${libname}${release}.a $libname.a'
11280 soname_spec
='${libname}${release}${shared_ext}$major'
11282 shlibpath_var
=LIBPATH
11287 library_names_spec
='$libname.ixlibrary $libname.a'
11288 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11289 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'
11293 library_names_spec
='${libname}${shared_ext}'
11294 dynamic_linker
="$host_os ld.so"
11295 shlibpath_var
=LIBRARY_PATH
11301 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11302 soname_spec
='${libname}${release}${shared_ext}$major'
11303 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11304 shlibpath_var
=LD_LIBRARY_PATH
11305 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11306 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11307 # the default ld.so.conf also contains /usr/contrib/lib and
11308 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11309 # libtool to hard-code these into programs
11312 cygwin
* | mingw
* | pw32
*)
11313 version_type
=windows
11318 case $GCC,$host_os in
11319 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
11320 library_names_spec
='$libname.dll.a'
11321 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11322 postinstall_cmds
='base_file=`basename \${file}`~
11323 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
11324 dldir=$destdir/`dirname \$dlpath`~
11325 test -d \$dldir || mkdir -p \$dldir~
11326 $install_prog $dir/$dlname \$dldir/$dlname'
11327 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11328 dlpath=$dir/\$dldll~
11330 shlibpath_overrides_runpath
=yes
11334 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11335 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11336 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
11339 # MinGW DLLs use traditional 'lib' prefix
11340 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11341 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11342 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
11343 # It is most probably a Windows format PATH printed by
11344 # mingw gcc, but we are running on Cygwin. Gcc prints its search
11345 # path with ; separators, and with drive letters. We can handle the
11346 # drive letters (cygwin fileutils understands them), so leave them,
11347 # especially as we might pass files found there to a mingw objdump,
11348 # which wouldn't understand a cygwinified path. Ahh.
11349 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11351 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11355 # pw32 DLLs use 'pw' prefix rather than 'lib'
11356 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
11362 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11365 dynamic_linker
='Win32 ld.exe'
11366 # FIXME: first we should search . and the directory the executable is in
11370 darwin
* | rhapsody
*)
11371 dynamic_linker
="$host_os dyld"
11372 version_type
=darwin
11375 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11376 soname_spec
='${libname}${release}${major}$shared_ext'
11377 shlibpath_overrides_runpath
=yes
11378 shlibpath_var
=DYLD_LIBRARY_PATH
11379 shrext
='$(test .$module = .yes && echo .so || echo .dylib)'
11380 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
11381 if test "$GCC" = yes; then
11382 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"`
11384 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
11386 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11393 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11394 soname_spec
='${libname}${release}${shared_ext}$major'
11395 shlibpath_var
=LD_LIBRARY_PATH
11406 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11407 soname_spec
='${libname}${release}${shared_ext}$major'
11408 shlibpath_var
=LD_LIBRARY_PATH
11409 shlibpath_overrides_runpath
=no
11410 hardcode_into_libs
=yes
11411 dynamic_linker
='GNU ld.so'
11415 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
11416 version_type
=freebsd-
$objformat
11417 case $version_type in
11419 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11424 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11428 shlibpath_var
=LD_LIBRARY_PATH
11431 shlibpath_overrides_runpath
=yes
11433 freebsd3.01
* | freebsdelf3.01
*)
11434 shlibpath_overrides_runpath
=yes
11435 hardcode_into_libs
=yes
11438 shlibpath_overrides_runpath
=no
11439 hardcode_into_libs
=yes
11448 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11449 soname_spec
='${libname}${release}${shared_ext}$major'
11450 shlibpath_var
=LD_LIBRARY_PATH
11451 hardcode_into_libs
=yes
11454 hpux9
* | hpux10
* | hpux11
*)
11455 # Give a soname corresponding to the major version so that dld.sl refuses to
11456 # link against other versions.
11460 case "$host_cpu" in
11463 hardcode_into_libs
=yes
11464 dynamic_linker
="$host_os dld.so"
11465 shlibpath_var
=LD_LIBRARY_PATH
11466 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11467 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11468 soname_spec
='${libname}${release}${shared_ext}$major'
11469 if test "X$HPUX_IA64_MODE" = X32
; then
11470 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11472 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11474 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11478 hardcode_into_libs
=yes
11479 dynamic_linker
="$host_os dld.sl"
11480 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11481 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11482 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11483 soname_spec
='${libname}${release}${shared_ext}$major'
11484 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11485 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11489 dynamic_linker
="$host_os dld.sl"
11490 shlibpath_var
=SHLIB_PATH
11491 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11492 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11493 soname_spec
='${libname}${release}${shared_ext}$major'
11496 # HP-UX runs *really* slowly unless shared libraries are mode 555.
11497 postinstall_cmds
='chmod 555 $lib'
11500 irix5
* | irix6
* | nonstopux
*)
11502 nonstopux
*) version_type
=nonstopux
;;
11504 if test "$lt_cv_prog_gnu_ld" = yes; then
11512 soname_spec
='${libname}${release}${shared_ext}$major'
11513 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11515 irix5
* | nonstopux
*)
11516 libsuff
= shlibsuff
=
11519 case $LD in # libtool.m4 will add one of these switches to LD
11520 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11521 libsuff
= shlibsuff
= libmagic
=32-bit;;
11522 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11523 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11524 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11525 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11526 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11530 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11531 shlibpath_overrides_runpath
=no
11532 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11533 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11534 hardcode_into_libs
=yes
11537 # No shared lib support for Linux oldld, aout, or coff.
11538 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11542 # This must be Linux ELF.
11547 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11548 soname_spec
='${libname}${release}${shared_ext}$major'
11549 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11550 shlibpath_var
=LD_LIBRARY_PATH
11551 shlibpath_overrides_runpath
=no
11552 # This implies no fast_install, which is unacceptable.
11553 # Some rework will be needed to allow for fast_install
11554 # before this can be enabled.
11555 hardcode_into_libs
=yes
11557 # Append ld.so.conf contents to the search path
11558 if test -f /etc
/ld.so.conf
; then
11559 ld_extra
=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf`
11560 sys_lib_dlsearch_path_spec
="/lib /usr/lib $ld_extra"
11563 # We used to test for /lib/ld.so.1 and disable shared libraries on
11564 # powerpc, because MkLinux only supported shared libraries with the
11565 # GNU dynamic linker. Since this was broken with cross compilers,
11566 # most powerpc-linux boxes support dynamic linking these days and
11567 # people can always --disable-shared, the test was removed, and we
11568 # assume the GNU/Linux dynamic linker is in use.
11569 dynamic_linker
='GNU/Linux ld.so'
11576 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11577 soname_spec
='${libname}${release}${shared_ext}$major'
11578 shlibpath_var
=LD_LIBRARY_PATH
11579 shlibpath_overrides_runpath
=no
11580 hardcode_into_libs
=yes
11581 dynamic_linker
='GNU ld.so'
11588 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
11589 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11590 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11591 dynamic_linker
='NetBSD (a.out) ld.so'
11593 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11594 soname_spec
='${libname}${release}${shared_ext}$major'
11595 dynamic_linker
='NetBSD ld.elf_so'
11597 shlibpath_var
=LD_LIBRARY_PATH
11598 shlibpath_overrides_runpath
=yes
11599 hardcode_into_libs
=yes
11604 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11605 shlibpath_var
=LD_LIBRARY_PATH
11606 shlibpath_overrides_runpath
=yes
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 shlibpath_var
=LD_LIBRARY_PATH
11616 shlibpath_overrides_runpath
=yes
11623 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11624 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11625 shlibpath_var
=LD_LIBRARY_PATH
11626 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11628 openbsd2.
[89] | openbsd2.
[89].
*)
11629 shlibpath_overrides_runpath
=no
11632 shlibpath_overrides_runpath
=yes
11636 shlibpath_overrides_runpath
=yes
11641 libname_spec
='$name'
11644 library_names_spec
='$libname${shared_ext} $libname.a'
11645 dynamic_linker
='OS/2 ld.exe'
11646 shlibpath_var
=LIBPATH
11649 osf3
* | osf4
* | osf5
*)
11653 soname_spec
='${libname}${release}${shared_ext}$major'
11654 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11655 shlibpath_var
=LD_LIBRARY_PATH
11656 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11657 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11662 soname_spec
='${libname}${release}${shared_ext}$major'
11663 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11664 shlibpath_var
=LD_LIBRARY_PATH
11671 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11672 soname_spec
='${libname}${release}${shared_ext}$major'
11673 shlibpath_var
=LD_LIBRARY_PATH
11674 shlibpath_overrides_runpath
=yes
11675 hardcode_into_libs
=yes
11676 # ldd complains unless libraries are executable
11677 postinstall_cmds
='chmod +x $lib'
11682 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11683 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11684 shlibpath_var
=LD_LIBRARY_PATH
11685 shlibpath_overrides_runpath
=yes
11686 if test "$with_gnu_ld" = yes; then
11692 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11694 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11695 soname_spec
='${libname}${release}${shared_ext}$major'
11696 shlibpath_var
=LD_LIBRARY_PATH
11697 case $host_vendor in
11699 shlibpath_overrides_runpath
=no
11701 export_dynamic_flag_spec
='${wl}-Blargedynsym'
11702 runpath_var
=LD_RUN_PATH
11710 shlibpath_overrides_runpath
=no
11711 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11717 if test -d /usr
/nec
;then
11719 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11720 soname_spec
='$libname${shared_ext}.$major'
11721 shlibpath_var
=LD_LIBRARY_PATH
11727 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11728 soname_spec
='${libname}${release}${shared_ext}$major'
11729 shlibpath_var
=LD_LIBRARY_PATH
11736 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11737 echo "${ECHO_T}$dynamic_linker" >&6
11738 test "$dynamic_linker" = no
&& can_build_shared
=no
11740 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11741 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
11742 hardcode_action_CXX
=
11743 if test -n "$hardcode_libdir_flag_spec_CXX" || \
11744 test -n "$runpath_var CXX" || \
11745 test "X$hardcode_automatic_CXX"="Xyes" ; then
11747 # We can hardcode non-existant directories.
11748 if test "$hardcode_direct_CXX" != no
&&
11749 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11750 # have to relink, otherwise we might link with an installed library
11751 # when we should be linking with a yet-to-be-installed one
11752 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
11753 test "$hardcode_minus_L_CXX" != no
; then
11754 # Linking always hardcodes the temporary library directory.
11755 hardcode_action_CXX
=relink
11757 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11758 hardcode_action_CXX
=immediate
11761 # We cannot hardcode anything, or else we can only hardcode existing
11763 hardcode_action_CXX
=unsupported
11765 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
11766 echo "${ECHO_T}$hardcode_action_CXX" >&6
11768 if test "$hardcode_action_CXX" = relink
; then
11769 # Fast installation is not supported
11770 enable_fast_install
=no
11771 elif test "$shlibpath_overrides_runpath" = yes ||
11772 test "$enable_shared" = no
; then
11773 # Fast installation is not necessary
11774 enable_fast_install
=needless
11779 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11780 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
11781 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
11782 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11783 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11784 echo "$as_me:$LINENO: result: yes" >&5
11785 echo "${ECHO_T}yes" >&6
11787 # FIXME - insert some real tests, host_os isn't really good enough
11790 if test -n "$STRIP" ; then
11791 striplib
="$STRIP -x"
11792 echo "$as_me:$LINENO: result: yes" >&5
11793 echo "${ECHO_T}yes" >&6
11795 echo "$as_me:$LINENO: result: no" >&5
11796 echo "${ECHO_T}no" >&6
11800 echo "$as_me:$LINENO: result: no" >&5
11801 echo "${ECHO_T}no" >&6
11806 if test "x$enable_dlopen" != xyes
; then
11807 enable_dlopen
=unknown
11808 enable_dlopen_self
=unknown
11809 enable_dlopen_self_static
=unknown
11816 lt_cv_dlopen
="load_add_on"
11818 lt_cv_dlopen_self
=yes
11822 lt_cv_dlopen
="LoadLibrary"
11827 lt_cv_dlopen
="dlopen"
11832 # if libdl is installed we need to link against it
11833 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11834 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11835 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11836 echo $ECHO_N "(cached) $ECHO_C" >&6
11838 ac_check_lib_save_LIBS
=$LIBS
11840 cat >conftest.
$ac_ext <<_ACEOF
11843 cat confdefs.h
>>conftest.
$ac_ext
11844 cat >>conftest.
$ac_ext <<_ACEOF
11845 /* end confdefs.h. */
11847 /* Override any gcc2 internal prototype to avoid an error. */
11851 /* We use char because int might match the return type of a gcc2
11852 builtin and then its argument prototype would still apply. */
11862 rm -f conftest.
$ac_objext conftest
$ac_exeext
11863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11864 (eval $ac_link) 2>conftest.er1
11866 grep -v '^ *+' conftest.er1
>conftest.err
11868 cat conftest.err
>&5
11869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11870 (exit $ac_status); } &&
11871 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11873 (eval $ac_try) 2>&5
11875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11876 (exit $ac_status); }; } &&
11877 { ac_try
='test -s conftest$ac_exeext'
11878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11879 (eval $ac_try) 2>&5
11881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11882 (exit $ac_status); }; }; then
11883 ac_cv_lib_dl_dlopen
=yes
11885 echo "$as_me: failed program was:" >&5
11886 sed 's/^/| /' conftest.
$ac_ext >&5
11888 ac_cv_lib_dl_dlopen
=no
11890 rm -f conftest.err conftest.
$ac_objext \
11891 conftest
$ac_exeext conftest.
$ac_ext
11892 LIBS
=$ac_check_lib_save_LIBS
11894 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11895 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11896 if test $ac_cv_lib_dl_dlopen = yes; then
11897 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11900 lt_cv_dlopen
="dyld"
11902 lt_cv_dlopen_self
=yes
11909 echo "$as_me:$LINENO: checking for shl_load" >&5
11910 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
11911 if test "${ac_cv_func_shl_load+set}" = set; then
11912 echo $ECHO_N "(cached) $ECHO_C" >&6
11914 cat >conftest.
$ac_ext <<_ACEOF
11917 cat confdefs.h
>>conftest.
$ac_ext
11918 cat >>conftest.
$ac_ext <<_ACEOF
11919 /* end confdefs.h. */
11920 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
11921 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11922 #define shl_load innocuous_shl_load
11924 /* System header to define __stub macros and hopefully few prototypes,
11925 which can conflict with char shl_load (); below.
11926 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11927 <limits.h> exists even on freestanding compilers. */
11930 # include <limits.h>
11932 # include <assert.h>
11937 /* Override any gcc2 internal prototype to avoid an error. */
11942 /* We use char because int might match the return type of a gcc2
11943 builtin and then its argument prototype would still apply. */
11945 /* The GNU C library defines this for functions which it implements
11946 to always fail with ENOSYS. Some functions are actually named
11947 something starting with __ and the normal name is an alias. */
11948 #if defined (__stub_shl_load) || defined (__stub___shl_load)
11951 char (*f) () = shl_load;
11960 return f != shl_load;
11965 rm -f conftest.
$ac_objext conftest
$ac_exeext
11966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11967 (eval $ac_link) 2>conftest.er1
11969 grep -v '^ *+' conftest.er1
>conftest.err
11971 cat conftest.err
>&5
11972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11973 (exit $ac_status); } &&
11974 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11976 (eval $ac_try) 2>&5
11978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11979 (exit $ac_status); }; } &&
11980 { ac_try
='test -s conftest$ac_exeext'
11981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11982 (eval $ac_try) 2>&5
11984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11985 (exit $ac_status); }; }; then
11986 ac_cv_func_shl_load
=yes
11988 echo "$as_me: failed program was:" >&5
11989 sed 's/^/| /' conftest.
$ac_ext >&5
11991 ac_cv_func_shl_load
=no
11993 rm -f conftest.err conftest.
$ac_objext \
11994 conftest
$ac_exeext conftest.
$ac_ext
11996 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11997 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
11998 if test $ac_cv_func_shl_load = yes; then
11999 lt_cv_dlopen
="shl_load"
12001 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
12002 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
12003 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
12004 echo $ECHO_N "(cached) $ECHO_C" >&6
12006 ac_check_lib_save_LIBS
=$LIBS
12008 cat >conftest.
$ac_ext <<_ACEOF
12011 cat confdefs.h
>>conftest.
$ac_ext
12012 cat >>conftest.
$ac_ext <<_ACEOF
12013 /* end confdefs.h. */
12015 /* Override any gcc2 internal prototype to avoid an error. */
12019 /* We use char because int might match the return type of a gcc2
12020 builtin and then its argument prototype would still apply. */
12030 rm -f conftest.
$ac_objext conftest
$ac_exeext
12031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12032 (eval $ac_link) 2>conftest.er1
12034 grep -v '^ *+' conftest.er1
>conftest.err
12036 cat conftest.err
>&5
12037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12038 (exit $ac_status); } &&
12039 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12041 (eval $ac_try) 2>&5
12043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12044 (exit $ac_status); }; } &&
12045 { ac_try
='test -s conftest$ac_exeext'
12046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12047 (eval $ac_try) 2>&5
12049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12050 (exit $ac_status); }; }; then
12051 ac_cv_lib_dld_shl_load
=yes
12053 echo "$as_me: failed program was:" >&5
12054 sed 's/^/| /' conftest.
$ac_ext >&5
12056 ac_cv_lib_dld_shl_load
=no
12058 rm -f conftest.err conftest.
$ac_objext \
12059 conftest
$ac_exeext conftest.
$ac_ext
12060 LIBS
=$ac_check_lib_save_LIBS
12062 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
12063 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
12064 if test $ac_cv_lib_dld_shl_load = yes; then
12065 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
12067 echo "$as_me:$LINENO: checking for dlopen" >&5
12068 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
12069 if test "${ac_cv_func_dlopen+set}" = set; then
12070 echo $ECHO_N "(cached) $ECHO_C" >&6
12072 cat >conftest.
$ac_ext <<_ACEOF
12075 cat confdefs.h
>>conftest.
$ac_ext
12076 cat >>conftest.
$ac_ext <<_ACEOF
12077 /* end confdefs.h. */
12078 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
12079 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12080 #define dlopen innocuous_dlopen
12082 /* System header to define __stub macros and hopefully few prototypes,
12083 which can conflict with char dlopen (); below.
12084 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12085 <limits.h> exists even on freestanding compilers. */
12088 # include <limits.h>
12090 # include <assert.h>
12095 /* Override any gcc2 internal prototype to avoid an error. */
12100 /* We use char because int might match the return type of a gcc2
12101 builtin and then its argument prototype would still apply. */
12103 /* The GNU C library defines this for functions which it implements
12104 to always fail with ENOSYS. Some functions are actually named
12105 something starting with __ and the normal name is an alias. */
12106 #if defined (__stub_dlopen) || defined (__stub___dlopen)
12109 char (*f) () = dlopen;
12118 return f != dlopen;
12123 rm -f conftest.
$ac_objext conftest
$ac_exeext
12124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12125 (eval $ac_link) 2>conftest.er1
12127 grep -v '^ *+' conftest.er1
>conftest.err
12129 cat conftest.err
>&5
12130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12131 (exit $ac_status); } &&
12132 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12134 (eval $ac_try) 2>&5
12136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12137 (exit $ac_status); }; } &&
12138 { ac_try
='test -s conftest$ac_exeext'
12139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12140 (eval $ac_try) 2>&5
12142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12143 (exit $ac_status); }; }; then
12144 ac_cv_func_dlopen
=yes
12146 echo "$as_me: failed program was:" >&5
12147 sed 's/^/| /' conftest.
$ac_ext >&5
12149 ac_cv_func_dlopen
=no
12151 rm -f conftest.err conftest.
$ac_objext \
12152 conftest
$ac_exeext conftest.
$ac_ext
12154 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12155 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
12156 if test $ac_cv_func_dlopen = yes; then
12157 lt_cv_dlopen
="dlopen"
12159 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12160 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
12161 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12162 echo $ECHO_N "(cached) $ECHO_C" >&6
12164 ac_check_lib_save_LIBS
=$LIBS
12166 cat >conftest.
$ac_ext <<_ACEOF
12169 cat confdefs.h
>>conftest.
$ac_ext
12170 cat >>conftest.
$ac_ext <<_ACEOF
12171 /* end confdefs.h. */
12173 /* Override any gcc2 internal prototype to avoid an error. */
12177 /* We use char because int might match the return type of a gcc2
12178 builtin and then its argument prototype would still apply. */
12188 rm -f conftest.
$ac_objext conftest
$ac_exeext
12189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12190 (eval $ac_link) 2>conftest.er1
12192 grep -v '^ *+' conftest.er1
>conftest.err
12194 cat conftest.err
>&5
12195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12196 (exit $ac_status); } &&
12197 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12199 (eval $ac_try) 2>&5
12201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12202 (exit $ac_status); }; } &&
12203 { ac_try
='test -s conftest$ac_exeext'
12204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12205 (eval $ac_try) 2>&5
12207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12208 (exit $ac_status); }; }; then
12209 ac_cv_lib_dl_dlopen
=yes
12211 echo "$as_me: failed program was:" >&5
12212 sed 's/^/| /' conftest.
$ac_ext >&5
12214 ac_cv_lib_dl_dlopen
=no
12216 rm -f conftest.err conftest.
$ac_objext \
12217 conftest
$ac_exeext conftest.
$ac_ext
12218 LIBS
=$ac_check_lib_save_LIBS
12220 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12221 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
12222 if test $ac_cv_lib_dl_dlopen = yes; then
12223 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12225 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
12226 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
12227 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
12228 echo $ECHO_N "(cached) $ECHO_C" >&6
12230 ac_check_lib_save_LIBS
=$LIBS
12231 LIBS
="-lsvld $LIBS"
12232 cat >conftest.
$ac_ext <<_ACEOF
12235 cat confdefs.h
>>conftest.
$ac_ext
12236 cat >>conftest.
$ac_ext <<_ACEOF
12237 /* end confdefs.h. */
12239 /* Override any gcc2 internal prototype to avoid an error. */
12243 /* We use char because int might match the return type of a gcc2
12244 builtin and then its argument prototype would still apply. */
12254 rm -f conftest.
$ac_objext conftest
$ac_exeext
12255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12256 (eval $ac_link) 2>conftest.er1
12258 grep -v '^ *+' conftest.er1
>conftest.err
12260 cat conftest.err
>&5
12261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12262 (exit $ac_status); } &&
12263 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12265 (eval $ac_try) 2>&5
12267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12268 (exit $ac_status); }; } &&
12269 { ac_try
='test -s conftest$ac_exeext'
12270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12271 (eval $ac_try) 2>&5
12273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12274 (exit $ac_status); }; }; then
12275 ac_cv_lib_svld_dlopen
=yes
12277 echo "$as_me: failed program was:" >&5
12278 sed 's/^/| /' conftest.
$ac_ext >&5
12280 ac_cv_lib_svld_dlopen
=no
12282 rm -f conftest.err conftest.
$ac_objext \
12283 conftest
$ac_exeext conftest.
$ac_ext
12284 LIBS
=$ac_check_lib_save_LIBS
12286 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12287 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
12288 if test $ac_cv_lib_svld_dlopen = yes; then
12289 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12291 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12292 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
12293 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12294 echo $ECHO_N "(cached) $ECHO_C" >&6
12296 ac_check_lib_save_LIBS
=$LIBS
12298 cat >conftest.
$ac_ext <<_ACEOF
12301 cat confdefs.h
>>conftest.
$ac_ext
12302 cat >>conftest.
$ac_ext <<_ACEOF
12303 /* end confdefs.h. */
12305 /* Override any gcc2 internal prototype to avoid an error. */
12309 /* We use char because int might match the return type of a gcc2
12310 builtin and then its argument prototype would still apply. */
12320 rm -f conftest.
$ac_objext conftest
$ac_exeext
12321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12322 (eval $ac_link) 2>conftest.er1
12324 grep -v '^ *+' conftest.er1
>conftest.err
12326 cat conftest.err
>&5
12327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12328 (exit $ac_status); } &&
12329 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12331 (eval $ac_try) 2>&5
12333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12334 (exit $ac_status); }; } &&
12335 { ac_try
='test -s conftest$ac_exeext'
12336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12337 (eval $ac_try) 2>&5
12339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12340 (exit $ac_status); }; }; then
12341 ac_cv_lib_dld_dld_link
=yes
12343 echo "$as_me: failed program was:" >&5
12344 sed 's/^/| /' conftest.
$ac_ext >&5
12346 ac_cv_lib_dld_dld_link
=no
12348 rm -f conftest.err conftest.
$ac_objext \
12349 conftest
$ac_exeext conftest.
$ac_ext
12350 LIBS
=$ac_check_lib_save_LIBS
12352 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12353 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
12354 if test $ac_cv_lib_dld_dld_link = yes; then
12355 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
12376 if test "x$lt_cv_dlopen" != xno
; then
12382 case $lt_cv_dlopen in
12384 save_CPPFLAGS
="$CPPFLAGS"
12385 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12387 save_LDFLAGS
="$LDFLAGS"
12388 eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12391 LIBS
="$lt_cv_dlopen_libs $LIBS"
12393 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12394 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
12395 if test "${lt_cv_dlopen_self+set}" = set; then
12396 echo $ECHO_N "(cached) $ECHO_C" >&6
12398 if test "$cross_compiling" = yes; then :
12399 lt_cv_dlopen_self
=cross
12401 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12402 lt_status
=$lt_dlunknown
12403 cat > conftest.
$ac_ext <<EOF
12404 #line 12404 "configure"
12405 #include "confdefs.h"
12414 # define LT_DLGLOBAL RTLD_GLOBAL
12417 # define LT_DLGLOBAL DL_GLOBAL
12419 # define LT_DLGLOBAL 0
12423 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12424 find out it does not work in some platform. */
12425 #ifndef LT_DLLAZY_OR_NOW
12427 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12430 # define LT_DLLAZY_OR_NOW DL_LAZY
12433 # define LT_DLLAZY_OR_NOW RTLD_NOW
12436 # define LT_DLLAZY_OR_NOW DL_NOW
12438 # define LT_DLLAZY_OR_NOW 0
12446 extern "C" void exit (int);
12449 void fnord() { int i=42;}
12452 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12453 int status = $lt_dlunknown;
12457 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12458 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12459 /* dlclose (self); */
12465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12466 (eval $ac_link) 2>&5
12468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12469 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12470 (.
/conftest
; exit; ) 2>/dev
/null
12472 case x
$lt_status in
12473 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12474 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12475 x
$lt_unknown|x
*) lt_cv_dlopen_self
=no
;;
12478 # compilation failed
12479 lt_cv_dlopen_self
=no
12486 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12487 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
12489 if test "x$lt_cv_dlopen_self" = xyes
; then
12490 LDFLAGS
="$LDFLAGS $link_static_flag"
12491 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12492 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
12493 if test "${lt_cv_dlopen_self_static+set}" = set; then
12494 echo $ECHO_N "(cached) $ECHO_C" >&6
12496 if test "$cross_compiling" = yes; then :
12497 lt_cv_dlopen_self_static
=cross
12499 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12500 lt_status
=$lt_dlunknown
12501 cat > conftest.
$ac_ext <<EOF
12502 #line 12502 "configure"
12503 #include "confdefs.h"
12512 # define LT_DLGLOBAL RTLD_GLOBAL
12515 # define LT_DLGLOBAL DL_GLOBAL
12517 # define LT_DLGLOBAL 0
12521 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12522 find out it does not work in some platform. */
12523 #ifndef LT_DLLAZY_OR_NOW
12525 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12528 # define LT_DLLAZY_OR_NOW DL_LAZY
12531 # define LT_DLLAZY_OR_NOW RTLD_NOW
12534 # define LT_DLLAZY_OR_NOW DL_NOW
12536 # define LT_DLLAZY_OR_NOW 0
12544 extern "C" void exit (int);
12547 void fnord() { int i=42;}
12550 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12551 int status = $lt_dlunknown;
12555 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12556 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12557 /* dlclose (self); */
12563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12564 (eval $ac_link) 2>&5
12566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12567 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12568 (.
/conftest
; exit; ) 2>/dev
/null
12570 case x
$lt_status in
12571 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12572 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12573 x
$lt_unknown|x
*) lt_cv_dlopen_self_static
=no
;;
12576 # compilation failed
12577 lt_cv_dlopen_self_static
=no
12584 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12585 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
12588 CPPFLAGS
="$save_CPPFLAGS"
12589 LDFLAGS
="$save_LDFLAGS"
12594 case $lt_cv_dlopen_self in
12595 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12596 *) enable_dlopen_self
=unknown
;;
12599 case $lt_cv_dlopen_self_static in
12600 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12601 *) enable_dlopen_self_static
=unknown
;;
12606 # The else clause should only fire when bootstrapping the
12607 # libtool distribution, otherwise you forgot to ship ltmain.sh
12608 # with your package, and you will get complaints that there are
12609 # no rules to generate ltmain.sh.
12610 if test -f "$ltmain"; then
12611 # See if we are running on zsh, and set the options which allow our commands through
12612 # without removal of \ escapes.
12613 if test -n "${ZSH_VERSION+set}" ; then
12614 setopt NO_GLOB_SUBST
12616 # Now quote all the things that may contain metacharacters while being
12617 # careful not to overquote the AC_SUBSTed values. We take copies of the
12618 # variables and quote the copies for generation of the libtool script.
12619 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
12621 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12622 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12623 deplibs_check_method reload_flag reload_cmds need_locks \
12624 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12625 lt_cv_sys_global_symbol_to_c_name_address \
12626 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12627 old_postinstall_cmds old_postuninstall_cmds \
12631 lt_prog_compiler_wl_CXX \
12632 lt_prog_compiler_pic_CXX \
12633 lt_prog_compiler_static_CXX \
12634 lt_prog_compiler_no_builtin_flag_CXX \
12635 export_dynamic_flag_spec_CXX \
12636 thread_safe_flag_spec_CXX \
12637 whole_archive_flag_spec_CXX \
12638 enable_shared_with_static_runtimes_CXX \
12639 old_archive_cmds_CXX \
12640 old_archive_from_new_cmds_CXX \
12641 predep_objects_CXX \
12642 postdep_objects_CXX \
12645 compiler_lib_search_path_CXX \
12647 archive_expsym_cmds_CXX \
12648 postinstall_cmds_CXX \
12649 postuninstall_cmds_CXX \
12650 old_archive_from_expsyms_cmds_CXX \
12651 allow_undefined_flag_CXX \
12652 no_undefined_flag_CXX \
12653 export_symbols_cmds_CXX \
12654 hardcode_libdir_flag_spec_CXX \
12655 hardcode_libdir_flag_spec_ld_CXX \
12656 hardcode_libdir_separator_CXX \
12657 hardcode_automatic_CXX \
12659 module_expsym_cmds_CXX \
12660 lt_cv_prog_compiler_c_o_CXX \
12661 exclude_expsyms_CXX \
12662 include_expsyms_CXX
; do
12665 old_archive_cmds_CXX | \
12666 old_archive_from_new_cmds_CXX | \
12667 archive_cmds_CXX | \
12668 archive_expsym_cmds_CXX | \
12669 module_cmds_CXX | \
12670 module_expsym_cmds_CXX | \
12671 old_archive_from_expsyms_cmds_CXX | \
12672 export_symbols_cmds_CXX | \
12673 extract_expsyms_cmds | reload_cmds | finish_cmds | \
12674 postinstall_cmds | postuninstall_cmds | \
12675 old_postinstall_cmds | old_postuninstall_cmds | \
12676 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
12677 # Double-quote double-evaled strings.
12678 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
12681 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
12687 *'\$0 --fallback-echo"')
12688 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12694 cat <<__EOF__ >> "$cfgfile"
12695 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
12697 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12699 # Shell to use when invoking shell scripts.
12702 # Whether or not to build shared libraries.
12703 build_libtool_libs=$enable_shared
12705 # Whether or not to build static libraries.
12706 build_old_libs=$enable_static
12708 # Whether or not to add -lc for building shared libraries.
12709 build_libtool_need_lc=$archive_cmds_need_lc_CXX
12711 # Whether or not to disallow shared libs when runtime libs are static
12712 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
12714 # Whether or not to optimize for fast installation.
12715 fast_install=$enable_fast_install
12718 host_alias=$host_alias
12721 # An echo program that does not interpret backslashes.
12726 AR_FLAGS=$lt_AR_FLAGS
12731 # A language-specific compiler.
12732 CC=$lt_compiler_CXX
12734 # Is the compiler the GNU C compiler?
12740 # The linker used to build libraries.
12743 # Whether we need hard or soft links.
12746 # A BSD-compatible nm program.
12749 # A symbol stripping program
12752 # Used to examine libraries when file_magic_cmd begins "file"
12753 MAGIC_CMD=$MAGIC_CMD
12755 # Used on cygwin: DLL creation program.
12758 # Used on cygwin: object dumper.
12761 # Used on cygwin: assembler.
12764 # The name of the directory that contains temporary libtool files.
12767 # How to create reloadable object files.
12768 reload_flag=$lt_reload_flag
12769 reload_cmds=$lt_reload_cmds
12771 # How to pass a linker flag through the compiler.
12772 wl=$lt_lt_prog_compiler_wl_CXX
12774 # Object file suffix (normally "o").
12775 objext="$ac_objext"
12777 # Old archive suffix (normally "a").
12780 # Shared library suffix (normally ".so").
12783 # Executable file suffix (normally "").
12786 # Additional compiler flags for building library objects.
12787 pic_flag=$lt_lt_prog_compiler_pic_CXX
12790 # What is the maximum length of a command?
12791 max_cmd_len=$lt_cv_sys_max_cmd_len
12793 # Does compiler simultaneously support -c and -o options?
12794 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
12796 # Must we lock files when doing compilation ?
12797 need_locks=$lt_need_locks
12799 # Do we need the lib prefix for modules?
12800 need_lib_prefix=$need_lib_prefix
12802 # Do we need a version for libraries?
12803 need_version=$need_version
12805 # Whether dlopen is supported.
12806 dlopen_support=$enable_dlopen
12808 # Whether dlopen of programs is supported.
12809 dlopen_self=$enable_dlopen_self
12811 # Whether dlopen of statically linked programs is supported.
12812 dlopen_self_static=$enable_dlopen_self_static
12814 # Compiler flag to prevent dynamic linking.
12815 link_static_flag=$lt_lt_prog_compiler_static_CXX
12817 # Compiler flag to turn off builtin functions.
12818 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
12820 # Compiler flag to allow reflexive dlopens.
12821 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
12823 # Compiler flag to generate shared objects directly from archives.
12824 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
12826 # Compiler flag to generate thread-safe objects.
12827 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
12829 # Library versioning type.
12830 version_type=$version_type
12832 # Format of library name prefix.
12833 libname_spec=$lt_libname_spec
12835 # List of archive names. First name is the real one, the rest are links.
12836 # The last name is the one that the linker finds with -lNAME.
12837 library_names_spec=$lt_library_names_spec
12839 # The coded name of the library, if different from the real name.
12840 soname_spec=$lt_soname_spec
12842 # Commands used to build and install an old-style archive.
12844 old_archive_cmds=$lt_old_archive_cmds_CXX
12845 old_postinstall_cmds=$lt_old_postinstall_cmds
12846 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12848 # Create an old-style archive from a shared archive.
12849 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
12851 # Create a temporary old-style archive to link instead of a shared archive.
12852 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
12854 # Commands used to build and install a shared archive.
12855 archive_cmds=$lt_archive_cmds_CXX
12856 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
12857 postinstall_cmds=$lt_postinstall_cmds
12858 postuninstall_cmds=$lt_postuninstall_cmds
12860 # Commands used to build a loadable module (assumed same as above if empty)
12861 module_cmds=$lt_module_cmds_CXX
12862 module_expsym_cmds=$lt_module_expsym_cmds_CXX
12864 # Commands to strip libraries.
12865 old_striplib=$lt_old_striplib
12866 striplib=$lt_striplib
12868 # Dependencies to place before the objects being linked to create a
12870 predep_objects=$lt_predep_objects_CXX
12872 # Dependencies to place after the objects being linked to create a
12874 postdep_objects=$lt_postdep_objects_CXX
12876 # Dependencies to place before the objects being linked to create a
12878 predeps=$lt_predeps_CXX
12880 # Dependencies to place after the objects being linked to create a
12882 postdeps=$lt_postdeps_CXX
12884 # The library search path used internally by the compiler when linking
12885 # a shared library.
12886 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
12888 # Method to check whether dependent libraries are shared objects.
12889 deplibs_check_method=$lt_deplibs_check_method
12891 # Command to use when deplibs_check_method == file_magic.
12892 file_magic_cmd=$lt_file_magic_cmd
12894 # Flag that allows shared libraries with undefined symbols to be built.
12895 allow_undefined_flag=$lt_allow_undefined_flag_CXX
12897 # Flag that forces no undefined symbols.
12898 no_undefined_flag=$lt_no_undefined_flag_CXX
12900 # Commands used to finish a libtool library installation in a directory.
12901 finish_cmds=$lt_finish_cmds
12903 # Same as above, but a single script fragment to be evaled but not shown.
12904 finish_eval=$lt_finish_eval
12906 # Take the output of nm and produce a listing of raw symbols and C names.
12907 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12909 # Transform the output of nm in a proper C declaration
12910 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12912 # Transform the output of nm in a C name address pair
12913 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12915 # This is the shared library runtime path variable.
12916 runpath_var=$runpath_var
12918 # This is the shared library path variable.
12919 shlibpath_var=$shlibpath_var
12921 # Is shlibpath searched before the hard-coded library search path?
12922 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12924 # How to hardcode a shared library path into an executable.
12925 hardcode_action=$hardcode_action_CXX
12927 # Whether we should hardcode library paths into libraries.
12928 hardcode_into_libs=$hardcode_into_libs
12930 # Flag to hardcode \$libdir into a binary during linking.
12931 # This must work even if \$libdir does not exist.
12932 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
12934 # If ld is used when linking, flag to hardcode \$libdir into
12935 # a binary during linking. This must work even if \$libdir does
12937 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
12939 # Whether we need a single -rpath flag with a separated argument.
12940 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
12942 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
12943 # resulting binary.
12944 hardcode_direct=$hardcode_direct_CXX
12946 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
12947 # resulting binary.
12948 hardcode_minus_L=$hardcode_minus_L_CXX
12950 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
12951 # the resulting binary.
12952 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
12954 # Set to yes if building a shared library automatically hardcodes DIR into the library
12955 # and all subsequent libraries and executables linked against it.
12956 hardcode_automatic=$hardcode_automatic_CXX
12958 # Variables whose values should be saved in libtool wrapper scripts and
12959 # restored at relink time.
12960 variables_saved_for_relink="$variables_saved_for_relink"
12962 # Whether libtool must link a program against all its dependency libraries.
12963 link_all_deplibs=$link_all_deplibs_CXX
12965 # Compile-time system search path for libraries
12966 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12968 # Run-time system search path for libraries
12969 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12971 # Fix the shell variable \$srcfile for the compiler.
12972 fix_srcfile_path="$fix_srcfile_path_CXX"
12974 # Set to yes if exported symbols are required.
12975 always_export_symbols=$always_export_symbols_CXX
12977 # The commands to list exported symbols.
12978 export_symbols_cmds=$lt_export_symbols_cmds_CXX
12980 # The commands to extract the exported symbol list from a shared archive.
12981 extract_expsyms_cmds=$lt_extract_expsyms_cmds
12983 # Symbols that should not be listed in the preloaded symbols.
12984 exclude_expsyms=$lt_exclude_expsyms_CXX
12986 # Symbols that must always be exported.
12987 include_expsyms=$lt_include_expsyms_CXX
12989 # ### END LIBTOOL TAG CONFIG: $tagname
12995 # If there is no Makefile yet, we rely on a make rule to execute
12996 # `config.status --recheck' to rerun these tests and create the
12997 # libtool script then.
12998 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
12999 if test -f "$ltmain_in"; then
13000 test -f Makefile
&& make "$ltmain"
13006 ac_cpp
='$CPP $CPPFLAGS'
13007 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13008 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13009 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13015 with_gnu_ldcxx
=$with_gnu_ld
13016 with_gnu_ld
=$lt_save_with_gnu_ld
13017 lt_cv_path_LDCXX
=$lt_cv_path_LD
13018 lt_cv_path_LD
=$lt_save_path_LD
13019 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
13020 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
13028 if test -n "$F77" && test "X$F77" != "Xno"; then
13031 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
13032 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13033 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
13036 archive_cmds_need_lc_F77
=no
13037 allow_undefined_flag_F77
=
13038 always_export_symbols_F77
=no
13039 archive_expsym_cmds_F77
=
13040 export_dynamic_flag_spec_F77
=
13041 hardcode_direct_F77
=no
13042 hardcode_libdir_flag_spec_F77
=
13043 hardcode_libdir_flag_spec_ld_F77
=
13044 hardcode_libdir_separator_F77
=
13045 hardcode_minus_L_F77
=no
13046 hardcode_automatic_F77
=no
13048 module_expsym_cmds_F77
=
13049 link_all_deplibs_F77
=unknown
13050 old_archive_cmds_F77
=$old_archive_cmds
13051 no_undefined_flag_F77
=
13052 whole_archive_flag_spec_F77
=
13053 enable_shared_with_static_runtimes_F77
=no
13055 # Source file extension for f77 test sources.
13058 # Object file extension for compiled f77 test sources.
13062 # Code to be used in simple compile tests
13063 lt_simple_compile_test_code
=" subroutine t\n return\n end\n"
13065 # Code to be used in simple link tests
13066 lt_simple_link_test_code
=" program t\n end\n"
13068 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13070 # If no C compiler was specified, use CC.
13073 # Allow CC to be a program name with arguments.
13077 # Allow CC to be a program name with arguments.
13082 cc_basename
=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
13084 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13085 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
13086 echo "$as_me:$LINENO: result: $can_build_shared" >&5
13087 echo "${ECHO_T}$can_build_shared" >&6
13089 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13090 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
13091 test "$can_build_shared" = "no" && enable_shared
=no
13093 # On AIX, shared libraries and static libraries use the same namespace, and
13094 # are all built from PIC.
13097 test "$enable_shared" = yes && enable_static
=no
13098 if test -n "$RANLIB"; then
13099 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13100 postinstall_cmds
='$RANLIB $lib'
13104 test "$enable_shared" = yes && enable_static
=no
13107 echo "$as_me:$LINENO: result: $enable_shared" >&5
13108 echo "${ECHO_T}$enable_shared" >&6
13110 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13111 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
13112 # Make sure either enable_shared or enable_static is yes.
13113 test "$enable_shared" = yes || enable_static
=yes
13114 echo "$as_me:$LINENO: result: $enable_static" >&5
13115 echo "${ECHO_T}$enable_static" >&6
13117 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
13122 lt_prog_compiler_wl_F77
=
13123 lt_prog_compiler_pic_F77
=
13124 lt_prog_compiler_static_F77
=
13126 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13127 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
13129 if test "$GCC" = yes; then
13130 lt_prog_compiler_wl_F77
='-Wl,'
13131 lt_prog_compiler_static_F77
='-static'
13135 # All AIX code is PIC.
13136 if test "$host_cpu" = ia64
; then
13137 # AIX 5 now supports IA64 processor
13138 lt_prog_compiler_static_F77
='-Bstatic'
13143 # FIXME: we need at least 68020 code to build shared libraries, but
13144 # adding the `-m68020' flag to GCC prevents building anything better,
13146 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
13149 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13150 # PIC is the default for these OSes.
13153 mingw
* | pw32
* | os2
*)
13154 # This hack is so that the source file can tell whether it is being
13155 # built for inclusion in a dll (and should export symbols for example).
13156 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13159 darwin
* | rhapsody
*)
13160 # PIC is the default on this platform
13161 # Common symbols not allowed in MH_DYLIB files
13162 lt_prog_compiler_pic_F77
='-fno-common'
13166 # Just because we use GCC doesn't mean we suddenly get shared libraries
13167 # on systems that don't support them.
13168 lt_prog_compiler_can_build_shared_F77
=no
13173 if test -d /usr
/nec
; then
13174 lt_prog_compiler_pic_F77
=-Kconform_pic
13179 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13180 # not for PA HP-UX.
13181 case "$host_cpu" in
13186 lt_prog_compiler_pic_F77
='-fPIC'
13192 lt_prog_compiler_pic_F77
='-fPIC'
13196 # PORTME Check for flag to pass linker flags through the system compiler.
13199 lt_prog_compiler_wl_F77
='-Wl,'
13200 if test "$host_cpu" = ia64
; then
13201 # AIX 5 now supports IA64 processor
13202 lt_prog_compiler_static_F77
='-Bstatic'
13204 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
13208 mingw
* | pw32
* | os2
*)
13209 # This hack is so that the source file can tell whether it is being
13210 # built for inclusion in a dll (and should export symbols for example).
13211 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13214 hpux9
* | hpux10
* | hpux11
*)
13215 lt_prog_compiler_wl_F77
='-Wl,'
13216 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13217 # not for PA HP-UX.
13218 case "$host_cpu" in
13223 lt_prog_compiler_pic_F77
='+Z'
13226 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13227 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
13230 irix5
* | irix6
* | nonstopux
*)
13231 lt_prog_compiler_wl_F77
='-Wl,'
13232 # PIC (with -KPIC) is the default.
13233 lt_prog_compiler_static_F77
='-non_shared'
13237 lt_prog_compiler_pic_F77
='-KPIC'
13238 lt_prog_compiler_static_F77
='-Bstatic'
13244 lt_prog_compiler_wl_F77
='-Wl,'
13245 lt_prog_compiler_pic_F77
='-KPIC'
13246 lt_prog_compiler_static_F77
='-static'
13249 lt_prog_compiler_wl_F77
='-Wl,'
13250 # All Alpha code is PIC.
13251 lt_prog_compiler_static_F77
='-non_shared'
13256 osf3
* | osf4
* | osf5
*)
13257 lt_prog_compiler_wl_F77
='-Wl,'
13258 # All OSF/1 code is PIC.
13259 lt_prog_compiler_static_F77
='-non_shared'
13263 lt_prog_compiler_pic_F77
='-Kpic'
13264 lt_prog_compiler_static_F77
='-dn'
13268 lt_prog_compiler_wl_F77
='-Wl,'
13269 lt_prog_compiler_pic_F77
='-KPIC'
13270 lt_prog_compiler_static_F77
='-Bstatic'
13274 lt_prog_compiler_wl_F77
='-Qoption ld '
13275 lt_prog_compiler_pic_F77
='-PIC'
13276 lt_prog_compiler_static_F77
='-Bstatic'
13279 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
13280 lt_prog_compiler_wl_F77
='-Wl,'
13281 lt_prog_compiler_pic_F77
='-KPIC'
13282 lt_prog_compiler_static_F77
='-Bstatic'
13286 if test -d /usr
/nec
;then
13287 lt_prog_compiler_pic_F77
='-Kconform_pic'
13288 lt_prog_compiler_static_F77
='-Bstatic'
13293 lt_prog_compiler_pic_F77
='-pic'
13294 lt_prog_compiler_static_F77
='-Bstatic'
13298 lt_prog_compiler_can_build_shared_F77
=no
13303 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13304 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
13307 # Check to make sure the PIC flag actually works.
13309 if test -n "$lt_prog_compiler_pic_F77"; then
13311 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13312 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
13313 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13314 echo $ECHO_N "(cached) $ECHO_C" >&6
13316 lt_prog_compiler_pic_works_F77
=no
13317 ac_outfile
=conftest.
$ac_objext
13318 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13319 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
13320 # Insert the option either (1) after the last *FLAGS variable, or
13321 # (2) before a word containing "conftest.", or (3) at the end.
13322 # Note that $ac_compile itself does not contain backslashes and begins
13323 # with a dollar sign (not a hyphen), so the echo should work correctly.
13324 # The option is referenced via a variable to avoid confusing sed.
13325 lt_compile
=`echo "$ac_compile" | $SED \
13326 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13327 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13328 -e 's:$: $lt_compiler_flag:'`
13329 (eval echo "\"\$as_me:13329: $lt_compile\"" >&5)
13330 (eval "$lt_compile" 2>conftest.err
)
13332 cat conftest.err
>&5
13333 echo "$as_me:13333: \$? = $ac_status" >&5
13334 if (exit $ac_status) && test -s "$ac_outfile"; then
13335 # The compiler can only warn and ignore the option if not recognized
13336 # So say no if there are warnings
13337 if test ! -s conftest.err
; then
13338 lt_prog_compiler_pic_works_F77
=yes
13344 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13345 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
13347 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
13348 case $lt_prog_compiler_pic_F77 in
13350 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
13353 lt_prog_compiler_pic_F77
=
13354 lt_prog_compiler_can_build_shared_F77
=no
13359 # For platforms which do not support PIC, -DPIC is meaningless:
13361 lt_prog_compiler_pic_F77
=
13364 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
13368 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13369 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13370 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13371 echo $ECHO_N "(cached) $ECHO_C" >&6
13373 lt_cv_prog_compiler_c_o_F77
=no
13374 $rm -r conftest
2>/dev
/null
13378 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13380 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13381 # Insert the option either (1) after the last *FLAGS variable, or
13382 # (2) before a word containing "conftest.", or (3) at the end.
13383 # Note that $ac_compile itself does not contain backslashes and begins
13384 # with a dollar sign (not a hyphen), so the echo should work correctly.
13385 lt_compile
=`echo "$ac_compile" | $SED \
13386 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13387 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13388 -e 's:$: $lt_compiler_flag:'`
13389 (eval echo "\"\$as_me:13389: $lt_compile\"" >&5)
13390 (eval "$lt_compile" 2>out
/conftest.err
)
13392 cat out
/conftest.err
>&5
13393 echo "$as_me:13393: \$? = $ac_status" >&5
13394 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13396 # The compiler can only warn and ignore the option if not recognized
13397 # So say no if there are warnings
13398 if test ! -s out
/conftest.err
; then
13399 lt_cv_prog_compiler_c_o_F77
=yes
13404 # SGI C++ compiler will create directory out/ii_files/ for
13405 # template instantiation
13406 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
13407 $rm out
/* && rmdir out
13413 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13414 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
13417 hard_links
="nottested"
13418 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
13419 # do not overwrite the value of need_locks provided by the user
13420 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13421 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13424 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13426 ln conftest.a conftest.b
2>&5 || hard_links
=no
13427 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13428 echo "$as_me:$LINENO: result: $hard_links" >&5
13429 echo "${ECHO_T}$hard_links" >&6
13430 if test "$hard_links" = no
; then
13431 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13432 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13439 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13440 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13443 allow_undefined_flag_F77
=
13444 enable_shared_with_static_runtimes_F77
=no
13446 archive_expsym_cmds_F77
=
13447 old_archive_From_new_cmds_F77
=
13448 old_archive_from_expsyms_cmds_F77
=
13449 export_dynamic_flag_spec_F77
=
13450 whole_archive_flag_spec_F77
=
13451 thread_safe_flag_spec_F77
=
13452 hardcode_libdir_flag_spec_F77
=
13453 hardcode_libdir_flag_spec_ld_F77
=
13454 hardcode_libdir_separator_F77
=
13455 hardcode_direct_F77
=no
13456 hardcode_minus_L_F77
=no
13457 hardcode_shlibpath_var_F77
=unsupported
13458 link_all_deplibs_F77
=unknown
13459 hardcode_automatic_F77
=no
13461 module_expsym_cmds_F77
=
13462 always_export_symbols_F77
=no
13463 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13464 # include_expsyms should be a list of space-separated symbols to be *always*
13465 # included in the symbol list
13466 include_expsyms_F77
=
13467 # exclude_expsyms can be an extended regexp of symbols to exclude
13468 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13469 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13470 # as well as any symbol that contains `d'.
13471 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
13472 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13473 # platforms (ab)use it in PIC code, but their linkers get confused if
13474 # the symbol is explicitly referenced. Since portable code cannot
13475 # rely on this symbol name, it's probably fine to never include it in
13476 # preloaded symbol tables.
13477 extract_expsyms_cmds
=
13480 cygwin
* | mingw
* | pw32
*)
13481 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13482 # When not using gcc, we currently assume that we are using
13483 # Microsoft Visual C++.
13484 if test "$GCC" != yes; then
13494 if test "$with_gnu_ld" = yes; then
13495 # If archive_cmds runs LD, not CC, wlarc should be empty
13498 # See if GNU ld supports shared libraries.
13500 aix3
* | aix4
* | aix5
*)
13501 # On AIX/PPC, the GNU linker is very broken
13502 if test "$host_cpu" != ia64
; then
13506 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
13507 *** to be unable to reliably create shared libraries on AIX.
13508 *** Therefore, libtool is disabling shared libraries support. If you
13509 *** really care for shared libraries, you may want to modify your PATH
13510 *** so that a non-GNU linker is found, and then restart.
13517 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)'
13518 hardcode_libdir_flag_spec_F77
='-L$libdir'
13519 hardcode_minus_L_F77
=yes
13521 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
13522 # that the semantics of dynamic libraries on AmigaOS, at least up
13523 # to version 4, is to share data among multiple programs linked
13524 # with the same dynamic library. Since this doesn't match the
13525 # behavior of shared libraries on other platforms, we can't use
13531 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13532 allow_undefined_flag_F77
=unsupported
13533 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13534 # support --undefined. This deserves some investigation. FIXME
13535 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13541 cygwin
* | mingw
* | pw32
*)
13542 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
13543 # as there is no search path for DLLs.
13544 hardcode_libdir_flag_spec_F77
='-L$libdir'
13545 allow_undefined_flag_F77
=unsupported
13546 always_export_symbols_F77
=no
13547 enable_shared_with_static_runtimes_F77
=yes
13548 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13550 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
13551 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13552 # If the export-symbols file already is a .def file (1st line
13553 # is EXPORTS), use it as is; otherwise, prepend...
13554 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13555 cp $export_symbols $output_objdir/$soname.def;
13557 echo EXPORTS > $output_objdir/$soname.def;
13558 cat $export_symbols >> $output_objdir/$soname.def;
13560 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13566 netbsd
* | knetbsd
*-gnu)
13567 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
13568 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13571 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13572 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13577 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
13581 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13582 *** create shared libraries on Solaris systems. Therefore, libtool
13583 *** is disabling shared libraries support. We urge you to upgrade GNU
13584 *** binutils to release 2.9.1 or newer. Another option is to modify
13585 *** your PATH or compiler configuration so that the native linker is
13586 *** used, and then restart.
13589 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13590 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13591 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13598 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13600 hardcode_direct_F77
=yes
13601 hardcode_shlibpath_var_F77
=no
13605 if $LD --help 2>&1 |
egrep ': supported targets:.* elf' > /dev
/null
; then
13606 tmp_archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13607 archive_cmds_F77
="$tmp_archive_cmds"
13608 supports_anon_versioning
=no
13609 case `$LD -v 2>/dev/null` in
13610 *\
01.
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
13611 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
13612 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
13613 *\
2.11.
*) ;; # other 2.11 versions
13614 *) supports_anon_versioning
=yes ;;
13616 if test $supports_anon_versioning = yes; then
13617 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
13618 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13619 $echo "local: *; };" >> $output_objdir/$libname.ver~
13620 $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13622 archive_expsym_cmds_F77
="$tmp_archive_cmds"
13630 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13631 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13632 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13639 if test "$ld_shlibs_F77" = yes; then
13640 runpath_var
=LD_RUN_PATH
13641 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
13642 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
13643 # ancient GNU ld didn't support --whole-archive et. al.
13644 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
13645 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13647 whole_archive_flag_spec_F77
=
13651 # PORTME fill in a description of your system's linker (not GNU ld)
13654 allow_undefined_flag_F77
=unsupported
13655 always_export_symbols_F77
=yes
13656 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'
13657 # Note: this linker hardcodes the directories in LIBPATH if there
13658 # are no directories specified by -L.
13659 hardcode_minus_L_F77
=yes
13660 if test "$GCC" = yes && test -z "$link_static_flag"; then
13661 # Neither direct hardcoding nor static linking is supported with a
13663 hardcode_direct_F77
=unsupported
13668 if test "$host_cpu" = ia64
; then
13669 # On IA64, the linker does run time linking by default, so we don't
13670 # have to do anything special.
13671 aix_use_runtimelinking
=no
13672 exp_sym_flag
='-Bexport'
13675 # If we're using GNU nm, then we don't want the "-C" option.
13676 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13677 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
13678 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'
13680 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'
13682 aix_use_runtimelinking
=no
13684 # Test if we are trying to use run time linking or normal
13685 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13686 # need to do runtime linking.
13687 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
13688 for ld_flag
in $LDFLAGS; do
13689 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
13690 aix_use_runtimelinking
=yes
13696 exp_sym_flag
='-bexport'
13697 no_entry_flag
='-bnoentry'
13700 # When large executables or shared objects are built, AIX ld can
13701 # have problems creating the table of contents. If linking a library
13702 # or program results in "error TOC overflow" add -mminimal-toc to
13703 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13704 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13706 archive_cmds_F77
=''
13707 hardcode_direct_F77
=yes
13708 hardcode_libdir_separator_F77
=':'
13709 link_all_deplibs_F77
=yes
13711 if test "$GCC" = yes; then
13712 case $host_os in aix4.012|aix4.012.
*)
13713 # We only want to do this on AIX 4.2 and lower, the check
13714 # below for broken collect2 doesn't work under 4.3+
13715 collect2name
=`${CC} -print-prog-name=collect2`
13716 if test -f "$collect2name" && \
13717 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
13719 # We have reworked collect2
13720 hardcode_direct_F77
=yes
13722 # We have old collect2
13723 hardcode_direct_F77
=unsupported
13724 # It fails to find uninstalled libraries when the uninstalled
13725 # path is not listed in the libpath. Setting hardcode_minus_L
13726 # to unsupported forces relinking
13727 hardcode_minus_L_F77
=yes
13728 hardcode_libdir_flag_spec_F77
='-L$libdir'
13729 hardcode_libdir_separator_F77
=
13732 shared_flag
='-shared'
13735 if test "$host_cpu" = ia64
; then
13736 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13737 # chokes on -Wl,-G. The following line is correct:
13740 if test "$aix_use_runtimelinking" = yes; then
13741 shared_flag
='${wl}-G'
13743 shared_flag
='${wl}-bM:SRE'
13748 # It seems that -bexpall does not export symbols beginning with
13749 # underscore (_), so it is better to generate a list of symbols to export.
13750 always_export_symbols_F77
=yes
13751 if test "$aix_use_runtimelinking" = yes; then
13752 # Warning - without using the other runtime loading flags (-brtl),
13753 # -berok will link without error, but may produce a broken library.
13754 allow_undefined_flag_F77
='-berok'
13755 # Determine the default libpath from the value encoded in an empty executable.
13756 cat >conftest.
$ac_ext <<_ACEOF
13761 rm -f conftest.
$ac_objext conftest
$ac_exeext
13762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13763 (eval $ac_link) 2>conftest.er1
13765 grep -v '^ *+' conftest.er1
>conftest.err
13767 cat conftest.err
>&5
13768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13769 (exit $ac_status); } &&
13770 { ac_try
='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
13771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13772 (eval $ac_try) 2>&5
13774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13775 (exit $ac_status); }; } &&
13776 { ac_try
='test -s conftest$ac_exeext'
13777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13778 (eval $ac_try) 2>&5
13780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13781 (exit $ac_status); }; }; then
13783 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13785 # Check for a 64-bit object if we didn't find anything.
13786 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; }
13789 echo "$as_me: failed program was:" >&5
13790 sed 's/^/| /' conftest.
$ac_ext >&5
13793 rm -f conftest.err conftest.
$ac_objext \
13794 conftest
$ac_exeext conftest.
$ac_ext
13795 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13797 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
13798 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"
13800 if test "$host_cpu" = ia64; then
13801 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr
/lib
:/lib
'
13802 allow_undefined_flag_F77="-z nodefs"
13803 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"
13805 # Determine the default libpath from the value encoded in an empty executable.
13806 cat >conftest.$ac_ext <<_ACEOF
13811 rm -f conftest.$ac_objext conftest$ac_exeext
13812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13813 (eval $ac_link) 2>conftest.er1
13815 grep -v '^ *+' conftest.er1 >conftest.err
13817 cat conftest.err >&5
13818 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13819 (exit $ac_status); } &&
13820 { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
13821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13822 (eval $ac_try) 2>&5
13824 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13825 (exit $ac_status); }; } &&
13826 { ac_try='test -s conftest$ac_exeext'
13827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13828 (eval $ac_try) 2>&5
13830 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13831 (exit $ac_status); }; }; then
13833 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13835 # Check for a 64-bit object if we didn't find anything.
13836 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13839 echo "$as_me: failed program was
:" >&5
13840 sed 's/^/| /' conftest.$ac_ext >&5
13843 rm -f conftest.err conftest.$ac_objext \
13844 conftest$ac_exeext conftest.$ac_ext
13845 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
13847 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13848 # Warning - without using the other run time loading flags,
13849 # -berok will link without error, but may produce a broken library.
13850 no_undefined_flag_F77=' ${wl}-bernotok'
13851 allow_undefined_flag_F77=' ${wl}-berok'
13852 # -bexpall does not export symbols beginning with underscore (_)
13853 always_export_symbols_F77=yes
13854 # Exported symbols can be pulled into shared objects from archives
13855 whole_archive_flag_spec_F77=' '
13856 archive_cmds_need_lc_F77=yes
13857 # This is similar to how AIX traditionally builds it's shared libraries.
13858 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'
13864 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)'
13865 hardcode_libdir_flag_spec_F77
='-L$libdir'
13866 hardcode_minus_L_F77
=yes
13867 # see comment about different semantics on the GNU ld section
13872 export_dynamic_flag_spec_F77
=-rdynamic
13875 cygwin
* | mingw
* | pw32
*)
13876 # When not using gcc, we currently assume that we are using
13877 # Microsoft Visual C++.
13878 # hardcode_libdir_flag_spec is actually meaningless, as there is
13879 # no search path for DLLs.
13880 hardcode_libdir_flag_spec_F77
=' '
13881 allow_undefined_flag_F77
=unsupported
13882 # Tell ltmain to make .lib files, not .a files.
13884 # Tell ltmain to make .dll files, not .so files.
13886 # FIXME: Setting linknames here is a bad hack.
13887 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
13888 # The linker will automatically build a .lib file if we build a DLL.
13889 old_archive_From_new_cmds_F77
='true'
13890 # FIXME: Should let the user specify the lib program.
13891 old_archive_cmds_F77
='lib /OUT:$oldlib$oldobjs$old_deplibs'
13892 fix_srcfile_path
='`cygpath -w "$srcfile"`'
13893 enable_shared_with_static_runtimes_F77
=yes
13896 darwin
* | rhapsody
*)
13897 if test "$GXX" = yes ; then
13898 archive_cmds_need_lc_F77
=no
13900 rhapsody
* | darwin1.
[012])
13901 allow_undefined_flag_F77
='-undefined suppress'
13904 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
13905 allow_undefined_flag_F77
='-flat_namespace -undefined suppress'
13907 case ${MACOSX_DEPLOYMENT_TARGET} in
13909 allow_undefined_flag_F77
='-flat_namespace -undefined suppress'
13912 allow_undefined_flag_F77
='-undefined dynamic_lookup'
13918 lt_int_apple_cc_single_mod
=no
13919 output_verbose_link_cmd
='echo'
13920 if $CC -dumpspecs 2>&1 |
grep 'single_module' >/dev
/null
; then
13921 lt_int_apple_cc_single_mod
=yes
13923 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
13924 archive_cmds_F77
='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
13926 archive_cmds_F77
='$CC -r ${wl}-bind_at_load -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'
13928 module_cmds_F77
='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
13929 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
13930 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
13931 archive_expsym_cmds_F77
='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}'
13933 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -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}'
13935 module_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
13936 hardcode_direct_F77
=no
13937 hardcode_automatic_F77
=yes
13938 hardcode_shlibpath_var_F77
=unsupported
13939 whole_archive_flag_spec_F77
='-all_load $convenience'
13940 link_all_deplibs_F77
=yes
13947 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13948 hardcode_libdir_flag_spec_F77
='-L$libdir'
13949 hardcode_shlibpath_var_F77
=no
13956 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13957 # support. Future versions do this automatically, but an explicit c++rt0.o
13958 # does not break anything, and helps significantly (at the cost of a little
13961 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13962 hardcode_libdir_flag_spec_F77
='-R$libdir'
13963 hardcode_direct_F77
=yes
13964 hardcode_shlibpath_var_F77
=no
13967 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13969 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13970 hardcode_direct_F77
=yes
13971 hardcode_minus_L_F77
=yes
13972 hardcode_shlibpath_var_F77
=no
13975 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13976 freebsd
* | kfreebsd
*-gnu)
13977 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13978 hardcode_libdir_flag_spec_F77
='-R$libdir'
13979 hardcode_direct_F77
=yes
13980 hardcode_shlibpath_var_F77
=no
13984 if test "$GCC" = yes; then
13985 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'
13987 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'
13989 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
13990 hardcode_libdir_separator_F77
=:
13991 hardcode_direct_F77
=yes
13993 # hardcode_minus_L: Not really in the search PATH,
13994 # but as the default location of the library.
13995 hardcode_minus_L_F77
=yes
13996 export_dynamic_flag_spec_F77
='${wl}-E'
14000 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14001 case "$host_cpu" in
14003 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14006 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14010 case "$host_cpu" in
14012 archive_cmds_F77
='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
14015 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14019 if test "$with_gnu_ld" = no
; then
14020 case "$host_cpu" in
14022 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14023 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
14024 hardcode_libdir_separator_F77
=:
14025 hardcode_direct_F77
=no
14026 hardcode_shlibpath_var_F77
=no
14029 hardcode_libdir_flag_spec_F77
='-L$libdir'
14030 hardcode_direct_F77
=no
14031 hardcode_shlibpath_var_F77
=no
14033 # hardcode_minus_L: Not really in the search PATH,
14034 # but as the default location of the library.
14035 hardcode_minus_L_F77
=yes
14038 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14039 hardcode_libdir_separator_F77
=:
14040 hardcode_direct_F77
=yes
14041 export_dynamic_flag_spec_F77
='${wl}-E'
14043 # hardcode_minus_L: Not really in the search PATH,
14044 # but as the default location of the library.
14045 hardcode_minus_L_F77
=yes
14051 irix5
* | irix6
* | nonstopux
*)
14052 if test "$GCC" = yes; then
14053 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'
14055 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'
14056 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
14058 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14059 hardcode_libdir_separator_F77
=:
14060 link_all_deplibs_F77
=yes
14063 netbsd
* | knetbsd
*-gnu)
14064 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14065 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14067 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14069 hardcode_libdir_flag_spec_F77
='-R$libdir'
14070 hardcode_direct_F77
=yes
14071 hardcode_shlibpath_var_F77
=no
14075 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14076 hardcode_direct_F77
=yes
14077 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14078 hardcode_libdir_separator_F77
=:
14079 hardcode_shlibpath_var_F77
=no
14083 hardcode_direct_F77
=yes
14084 hardcode_shlibpath_var_F77
=no
14085 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14086 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14087 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14088 export_dynamic_flag_spec_F77
='${wl}-E'
14091 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
14092 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14093 hardcode_libdir_flag_spec_F77
='-R$libdir'
14096 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14097 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14104 hardcode_libdir_flag_spec_F77
='-L$libdir'
14105 hardcode_minus_L_F77
=yes
14106 allow_undefined_flag_F77
=unsupported
14107 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'
14108 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14112 if test "$GCC" = yes; then
14113 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14114 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'
14116 allow_undefined_flag_F77
=' -expect_unresolved \*'
14117 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'
14119 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14120 hardcode_libdir_separator_F77
=:
14123 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
14124 if test "$GCC" = yes; then
14125 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14126 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'
14127 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14129 allow_undefined_flag_F77
=' -expect_unresolved \*'
14130 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'
14131 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~
14132 $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'
14134 # Both c and cxx compiler support -rpath directly
14135 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
14137 hardcode_libdir_separator_F77
=:
14141 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14142 hardcode_shlibpath_var_F77
=no
14143 export_dynamic_flag_spec_F77
='${wl}-Bexport'
14144 runpath_var
=LD_RUN_PATH
14145 hardcode_runpath_var
=yes
14149 no_undefined_flag_F77
=' -z text'
14150 if test "$GCC" = yes; then
14151 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14152 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14153 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
14155 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14156 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14157 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14159 hardcode_libdir_flag_spec_F77
='-R$libdir'
14160 hardcode_shlibpath_var_F77
=no
14162 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14163 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
14164 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract' ;;
14166 link_all_deplibs_F77
=yes
14170 if test "x$host_vendor" = xsequent
; then
14171 # Use $CC to link under sequent, because it throws in some extra .o
14172 # files that make .init and .fini sections work.
14173 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14175 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14177 hardcode_libdir_flag_spec_F77
='-L$libdir'
14178 hardcode_direct_F77
=yes
14179 hardcode_minus_L_F77
=yes
14180 hardcode_shlibpath_var_F77
=no
14184 case $host_vendor in
14186 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14187 hardcode_direct_F77
=yes # is this really true???
14190 ## LD is ld it makes a PLAMLIB
14191 ## CC just makes a GrossModule.
14192 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14193 reload_cmds_F77
='$CC -r -o $output$reload_objs'
14194 hardcode_direct_F77
=no
14197 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14198 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
14201 runpath_var
='LD_RUN_PATH'
14202 hardcode_shlibpath_var_F77
=no
14206 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14207 hardcode_shlibpath_var_F77
=no
14208 export_dynamic_flag_spec_F77
='-Bexport'
14212 if test -d /usr
/nec
; then
14213 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14214 hardcode_shlibpath_var_F77
=no
14215 runpath_var
=LD_RUN_PATH
14216 hardcode_runpath_var
=yes
14222 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14223 hardcode_direct_F77
=yes
14224 hardcode_minus_L_F77
=no
14225 hardcode_shlibpath_var_F77
=no
14226 hardcode_runpath_var
=yes
14227 runpath_var
=LD_RUN_PATH
14230 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
14231 no_undefined_flag_F77
='${wl}-z ${wl}text'
14232 if test "$GCC" = yes; then
14233 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14235 archive_cmds_F77
='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14237 runpath_var
='LD_RUN_PATH'
14238 hardcode_shlibpath_var_F77
=no
14242 no_undefined_flag_F77
=' -z text'
14243 # $CC -shared without GNU ld will not create a library from C++
14244 # object files and a static libstdc++, better avoid it by now
14245 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14246 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14247 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14248 hardcode_libdir_flag_spec_F77
=
14249 hardcode_shlibpath_var_F77
=no
14250 runpath_var
='LD_RUN_PATH'
14254 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14255 hardcode_libdir_flag_spec_F77
='-L$libdir'
14256 hardcode_shlibpath_var_F77
=no
14265 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
14266 echo "${ECHO_T}$ld_shlibs_F77" >&6
14267 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
14269 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14270 if test "$GCC" = yes; then
14271 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14275 # Do we need to explicitly link libc?
14277 case "x$archive_cmds_need_lc_F77" in
14279 # Assume -lc should be added
14280 archive_cmds_need_lc_F77
=yes
14282 if test "$enable_shared" = yes && test "$GCC" = yes; then
14283 case $archive_cmds_F77 in
14285 # FIXME: we may have to deal with multi-command sequences.
14288 # Test whether the compiler implicitly links with -lc since on some
14289 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14290 # to ld, don't add -lc before -lgcc.
14291 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14292 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
14294 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14297 (eval $ac_compile) 2>&5
14299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14300 (exit $ac_status); } 2>conftest.err
; then
14303 libobjs
=conftest.
$ac_objext
14305 wl
=$lt_prog_compiler_wl_F77
14311 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
14312 allow_undefined_flag_F77
=
14313 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
14314 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14317 (exit $ac_status); }
14319 archive_cmds_need_lc_F77
=no
14321 archive_cmds_need_lc_F77
=yes
14323 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
14325 cat conftest.err
1>&5
14328 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
14329 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
14336 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14337 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14338 library_names_spec
=
14339 libname_spec
='lib$name'
14343 postuninstall_cmds
=
14347 shlibpath_overrides_runpath
=unknown
14349 dynamic_linker
="$host_os ld.so"
14350 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14351 if test "$GCC" = yes; then
14352 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14353 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
14354 # if the path contains ";" then we assume it to be the separator
14355 # otherwise default to the standard path separator (i.e. ":") - it is
14356 # assumed that no part of a normal pathname contains ";" but that should
14357 # okay in the real world where ";" in dirpaths is itself problematic.
14358 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14360 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14363 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
14365 need_lib_prefix
=unknown
14366 hardcode_into_libs
=no
14368 # when you set need_version to no, make sure it does not cause -set_version
14369 # flags to be left without arguments
14370 need_version
=unknown
14375 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14376 shlibpath_var
=LIBPATH
14378 # AIX 3 has no versioning support, so we append a major version to the name.
14379 soname_spec
='${libname}${release}${shared_ext}$major'
14386 hardcode_into_libs
=yes
14387 if test "$host_cpu" = ia64
; then
14388 # AIX 5 supports IA64
14389 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14390 shlibpath_var
=LD_LIBRARY_PATH
14392 # With GCC up to 2.95.x, collect2 would create an import file
14393 # for dependence libraries. The import file would start with
14394 # the line `#! .'. This would cause the generated library to
14395 # depend on `.', always an invalid library. This was fixed in
14396 # development snapshots of GCC prior to 3.0.
14398 aix4 | aix4.
[01] | aix4.
[01].
*)
14399 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14401 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
14404 can_build_shared
=no
14408 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14409 # soname into executable. Probably we can add versioning support to
14410 # collect2, so additional links can be useful in future.
14411 if test "$aix_use_runtimelinking" = yes; then
14412 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14413 # instead of lib<name>.a to let people know that these are not
14414 # typical AIX shared libraries.
14415 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14417 # We preserve .a as extension for shared libraries through AIX4.2
14418 # and later when we are not doing run time linking.
14419 library_names_spec
='${libname}${release}.a $libname.a'
14420 soname_spec
='${libname}${release}${shared_ext}$major'
14422 shlibpath_var
=LIBPATH
14427 library_names_spec
='$libname.ixlibrary $libname.a'
14428 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14429 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'
14433 library_names_spec
='${libname}${shared_ext}'
14434 dynamic_linker
="$host_os ld.so"
14435 shlibpath_var
=LIBRARY_PATH
14441 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14442 soname_spec
='${libname}${release}${shared_ext}$major'
14443 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14444 shlibpath_var
=LD_LIBRARY_PATH
14445 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14446 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14447 # the default ld.so.conf also contains /usr/contrib/lib and
14448 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14449 # libtool to hard-code these into programs
14452 cygwin
* | mingw
* | pw32
*)
14453 version_type
=windows
14458 case $GCC,$host_os in
14459 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
14460 library_names_spec
='$libname.dll.a'
14461 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14462 postinstall_cmds
='base_file=`basename \${file}`~
14463 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14464 dldir=$destdir/`dirname \$dlpath`~
14465 test -d \$dldir || mkdir -p \$dldir~
14466 $install_prog $dir/$dlname \$dldir/$dlname'
14467 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14468 dlpath=$dir/\$dldll~
14470 shlibpath_overrides_runpath
=yes
14474 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14475 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14476 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
14479 # MinGW DLLs use traditional 'lib' prefix
14480 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14481 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14482 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
14483 # It is most probably a Windows format PATH printed by
14484 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14485 # path with ; separators, and with drive letters. We can handle the
14486 # drive letters (cygwin fileutils understands them), so leave them,
14487 # especially as we might pass files found there to a mingw objdump,
14488 # which wouldn't understand a cygwinified path. Ahh.
14489 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14491 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14495 # pw32 DLLs use 'pw' prefix rather than 'lib'
14496 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
14502 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14505 dynamic_linker
='Win32 ld.exe'
14506 # FIXME: first we should search . and the directory the executable is in
14510 darwin
* | rhapsody
*)
14511 dynamic_linker
="$host_os dyld"
14512 version_type
=darwin
14515 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14516 soname_spec
='${libname}${release}${major}$shared_ext'
14517 shlibpath_overrides_runpath
=yes
14518 shlibpath_var
=DYLD_LIBRARY_PATH
14519 shrext
='$(test .$module = .yes && echo .so || echo .dylib)'
14520 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14521 if test "$GCC" = yes; then
14522 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"`
14524 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
14526 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14533 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14534 soname_spec
='${libname}${release}${shared_ext}$major'
14535 shlibpath_var
=LD_LIBRARY_PATH
14546 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14547 soname_spec
='${libname}${release}${shared_ext}$major'
14548 shlibpath_var
=LD_LIBRARY_PATH
14549 shlibpath_overrides_runpath
=no
14550 hardcode_into_libs
=yes
14551 dynamic_linker
='GNU ld.so'
14555 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
14556 version_type
=freebsd-
$objformat
14557 case $version_type in
14559 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14564 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14568 shlibpath_var
=LD_LIBRARY_PATH
14571 shlibpath_overrides_runpath
=yes
14573 freebsd3.01
* | freebsdelf3.01
*)
14574 shlibpath_overrides_runpath
=yes
14575 hardcode_into_libs
=yes
14578 shlibpath_overrides_runpath
=no
14579 hardcode_into_libs
=yes
14588 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14589 soname_spec
='${libname}${release}${shared_ext}$major'
14590 shlibpath_var
=LD_LIBRARY_PATH
14591 hardcode_into_libs
=yes
14594 hpux9
* | hpux10
* | hpux11
*)
14595 # Give a soname corresponding to the major version so that dld.sl refuses to
14596 # link against other versions.
14600 case "$host_cpu" in
14603 hardcode_into_libs
=yes
14604 dynamic_linker
="$host_os dld.so"
14605 shlibpath_var
=LD_LIBRARY_PATH
14606 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14607 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14608 soname_spec
='${libname}${release}${shared_ext}$major'
14609 if test "X$HPUX_IA64_MODE" = X32
; then
14610 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14612 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14614 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14618 hardcode_into_libs
=yes
14619 dynamic_linker
="$host_os dld.sl"
14620 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14621 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14622 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14623 soname_spec
='${libname}${release}${shared_ext}$major'
14624 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14625 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14629 dynamic_linker
="$host_os dld.sl"
14630 shlibpath_var
=SHLIB_PATH
14631 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14632 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14633 soname_spec
='${libname}${release}${shared_ext}$major'
14636 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14637 postinstall_cmds
='chmod 555 $lib'
14640 irix5
* | irix6
* | nonstopux
*)
14642 nonstopux
*) version_type
=nonstopux
;;
14644 if test "$lt_cv_prog_gnu_ld" = yes; then
14652 soname_spec
='${libname}${release}${shared_ext}$major'
14653 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14655 irix5
* | nonstopux
*)
14656 libsuff
= shlibsuff
=
14659 case $LD in # libtool.m4 will add one of these switches to LD
14660 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14661 libsuff
= shlibsuff
= libmagic
=32-bit;;
14662 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14663 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14664 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14665 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14666 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14670 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14671 shlibpath_overrides_runpath
=no
14672 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14673 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14674 hardcode_into_libs
=yes
14677 # No shared lib support for Linux oldld, aout, or coff.
14678 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14682 # This must be Linux ELF.
14687 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14688 soname_spec
='${libname}${release}${shared_ext}$major'
14689 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14690 shlibpath_var
=LD_LIBRARY_PATH
14691 shlibpath_overrides_runpath
=no
14692 # This implies no fast_install, which is unacceptable.
14693 # Some rework will be needed to allow for fast_install
14694 # before this can be enabled.
14695 hardcode_into_libs
=yes
14697 # Append ld.so.conf contents to the search path
14698 if test -f /etc
/ld.so.conf
; then
14699 ld_extra
=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf`
14700 sys_lib_dlsearch_path_spec
="/lib /usr/lib $ld_extra"
14703 # We used to test for /lib/ld.so.1 and disable shared libraries on
14704 # powerpc, because MkLinux only supported shared libraries with the
14705 # GNU dynamic linker. Since this was broken with cross compilers,
14706 # most powerpc-linux boxes support dynamic linking these days and
14707 # people can always --disable-shared, the test was removed, and we
14708 # assume the GNU/Linux dynamic linker is in use.
14709 dynamic_linker
='GNU/Linux ld.so'
14716 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14717 soname_spec
='${libname}${release}${shared_ext}$major'
14718 shlibpath_var
=LD_LIBRARY_PATH
14719 shlibpath_overrides_runpath
=no
14720 hardcode_into_libs
=yes
14721 dynamic_linker
='GNU ld.so'
14728 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14729 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14730 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14731 dynamic_linker
='NetBSD (a.out) ld.so'
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 dynamic_linker
='NetBSD ld.elf_so'
14737 shlibpath_var
=LD_LIBRARY_PATH
14738 shlibpath_overrides_runpath
=yes
14739 hardcode_into_libs
=yes
14744 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14745 shlibpath_var
=LD_LIBRARY_PATH
14746 shlibpath_overrides_runpath
=yes
14753 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14754 soname_spec
='${libname}${release}${shared_ext}$major'
14755 shlibpath_var
=LD_LIBRARY_PATH
14756 shlibpath_overrides_runpath
=yes
14763 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14764 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14765 shlibpath_var
=LD_LIBRARY_PATH
14766 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14768 openbsd2.
[89] | openbsd2.
[89].
*)
14769 shlibpath_overrides_runpath
=no
14772 shlibpath_overrides_runpath
=yes
14776 shlibpath_overrides_runpath
=yes
14781 libname_spec
='$name'
14784 library_names_spec
='$libname${shared_ext} $libname.a'
14785 dynamic_linker
='OS/2 ld.exe'
14786 shlibpath_var
=LIBPATH
14789 osf3
* | osf4
* | osf5
*)
14793 soname_spec
='${libname}${release}${shared_ext}$major'
14794 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14795 shlibpath_var
=LD_LIBRARY_PATH
14796 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14797 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
14802 soname_spec
='${libname}${release}${shared_ext}$major'
14803 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14804 shlibpath_var
=LD_LIBRARY_PATH
14811 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14812 soname_spec
='${libname}${release}${shared_ext}$major'
14813 shlibpath_var
=LD_LIBRARY_PATH
14814 shlibpath_overrides_runpath
=yes
14815 hardcode_into_libs
=yes
14816 # ldd complains unless libraries are executable
14817 postinstall_cmds
='chmod +x $lib'
14822 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14823 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14824 shlibpath_var
=LD_LIBRARY_PATH
14825 shlibpath_overrides_runpath
=yes
14826 if test "$with_gnu_ld" = yes; then
14832 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
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'
14836 shlibpath_var
=LD_LIBRARY_PATH
14837 case $host_vendor in
14839 shlibpath_overrides_runpath
=no
14841 export_dynamic_flag_spec
='${wl}-Blargedynsym'
14842 runpath_var
=LD_RUN_PATH
14850 shlibpath_overrides_runpath
=no
14851 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14857 if test -d /usr
/nec
;then
14859 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14860 soname_spec
='$libname${shared_ext}.$major'
14861 shlibpath_var
=LD_LIBRARY_PATH
14867 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14868 soname_spec
='${libname}${release}${shared_ext}$major'
14869 shlibpath_var
=LD_LIBRARY_PATH
14876 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14877 echo "${ECHO_T}$dynamic_linker" >&6
14878 test "$dynamic_linker" = no
&& can_build_shared
=no
14880 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14881 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
14882 hardcode_action_F77
=
14883 if test -n "$hardcode_libdir_flag_spec_F77" || \
14884 test -n "$runpath_var F77" || \
14885 test "X$hardcode_automatic_F77"="Xyes" ; then
14887 # We can hardcode non-existant directories.
14888 if test "$hardcode_direct_F77" != no
&&
14889 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14890 # have to relink, otherwise we might link with an installed library
14891 # when we should be linking with a yet-to-be-installed one
14892 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
14893 test "$hardcode_minus_L_F77" != no
; then
14894 # Linking always hardcodes the temporary library directory.
14895 hardcode_action_F77
=relink
14897 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14898 hardcode_action_F77
=immediate
14901 # We cannot hardcode anything, or else we can only hardcode existing
14903 hardcode_action_F77
=unsupported
14905 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
14906 echo "${ECHO_T}$hardcode_action_F77" >&6
14908 if test "$hardcode_action_F77" = relink
; then
14909 # Fast installation is not supported
14910 enable_fast_install
=no
14911 elif test "$shlibpath_overrides_runpath" = yes ||
14912 test "$enable_shared" = no
; then
14913 # Fast installation is not necessary
14914 enable_fast_install
=needless
14919 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
14920 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
14921 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
14922 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
14923 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
14924 echo "$as_me:$LINENO: result: yes" >&5
14925 echo "${ECHO_T}yes" >&6
14927 # FIXME - insert some real tests, host_os isn't really good enough
14930 if test -n "$STRIP" ; then
14931 striplib
="$STRIP -x"
14932 echo "$as_me:$LINENO: result: yes" >&5
14933 echo "${ECHO_T}yes" >&6
14935 echo "$as_me:$LINENO: result: no" >&5
14936 echo "${ECHO_T}no" >&6
14940 echo "$as_me:$LINENO: result: no" >&5
14941 echo "${ECHO_T}no" >&6
14948 # The else clause should only fire when bootstrapping the
14949 # libtool distribution, otherwise you forgot to ship ltmain.sh
14950 # with your package, and you will get complaints that there are
14951 # no rules to generate ltmain.sh.
14952 if test -f "$ltmain"; then
14953 # See if we are running on zsh, and set the options which allow our commands through
14954 # without removal of \ escapes.
14955 if test -n "${ZSH_VERSION+set}" ; then
14956 setopt NO_GLOB_SUBST
14958 # Now quote all the things that may contain metacharacters while being
14959 # careful not to overquote the AC_SUBSTed values. We take copies of the
14960 # variables and quote the copies for generation of the libtool script.
14961 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
14963 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
14964 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
14965 deplibs_check_method reload_flag reload_cmds need_locks \
14966 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
14967 lt_cv_sys_global_symbol_to_c_name_address \
14968 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
14969 old_postinstall_cmds old_postuninstall_cmds \
14973 lt_prog_compiler_wl_F77 \
14974 lt_prog_compiler_pic_F77 \
14975 lt_prog_compiler_static_F77 \
14976 lt_prog_compiler_no_builtin_flag_F77 \
14977 export_dynamic_flag_spec_F77 \
14978 thread_safe_flag_spec_F77 \
14979 whole_archive_flag_spec_F77 \
14980 enable_shared_with_static_runtimes_F77 \
14981 old_archive_cmds_F77 \
14982 old_archive_from_new_cmds_F77 \
14983 predep_objects_F77 \
14984 postdep_objects_F77 \
14987 compiler_lib_search_path_F77 \
14989 archive_expsym_cmds_F77 \
14990 postinstall_cmds_F77 \
14991 postuninstall_cmds_F77 \
14992 old_archive_from_expsyms_cmds_F77 \
14993 allow_undefined_flag_F77 \
14994 no_undefined_flag_F77 \
14995 export_symbols_cmds_F77 \
14996 hardcode_libdir_flag_spec_F77 \
14997 hardcode_libdir_flag_spec_ld_F77 \
14998 hardcode_libdir_separator_F77 \
14999 hardcode_automatic_F77 \
15001 module_expsym_cmds_F77 \
15002 lt_cv_prog_compiler_c_o_F77 \
15003 exclude_expsyms_F77 \
15004 include_expsyms_F77
; do
15007 old_archive_cmds_F77 | \
15008 old_archive_from_new_cmds_F77 | \
15009 archive_cmds_F77 | \
15010 archive_expsym_cmds_F77 | \
15011 module_cmds_F77 | \
15012 module_expsym_cmds_F77 | \
15013 old_archive_from_expsyms_cmds_F77 | \
15014 export_symbols_cmds_F77 | \
15015 extract_expsyms_cmds | reload_cmds | finish_cmds | \
15016 postinstall_cmds | postuninstall_cmds | \
15017 old_postinstall_cmds | old_postuninstall_cmds | \
15018 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
15019 # Double-quote double-evaled strings.
15020 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15023 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15029 *'\$0 --fallback-echo"')
15030 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15036 cat <<__EOF__ >> "$cfgfile"
15037 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
15039 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15041 # Shell to use when invoking shell scripts.
15044 # Whether or not to build shared libraries.
15045 build_libtool_libs=$enable_shared
15047 # Whether or not to build static libraries.
15048 build_old_libs=$enable_static
15050 # Whether or not to add -lc for building shared libraries.
15051 build_libtool_need_lc=$archive_cmds_need_lc_F77
15053 # Whether or not to disallow shared libs when runtime libs are static
15054 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
15056 # Whether or not to optimize for fast installation.
15057 fast_install=$enable_fast_install
15060 host_alias=$host_alias
15063 # An echo program that does not interpret backslashes.
15068 AR_FLAGS=$lt_AR_FLAGS
15073 # A language-specific compiler.
15074 CC=$lt_compiler_F77
15076 # Is the compiler the GNU C compiler?
15082 # The linker used to build libraries.
15085 # Whether we need hard or soft links.
15088 # A BSD-compatible nm program.
15091 # A symbol stripping program
15094 # Used to examine libraries when file_magic_cmd begins "file"
15095 MAGIC_CMD=$MAGIC_CMD
15097 # Used on cygwin: DLL creation program.
15100 # Used on cygwin: object dumper.
15103 # Used on cygwin: assembler.
15106 # The name of the directory that contains temporary libtool files.
15109 # How to create reloadable object files.
15110 reload_flag=$lt_reload_flag
15111 reload_cmds=$lt_reload_cmds
15113 # How to pass a linker flag through the compiler.
15114 wl=$lt_lt_prog_compiler_wl_F77
15116 # Object file suffix (normally "o").
15117 objext="$ac_objext"
15119 # Old archive suffix (normally "a").
15122 # Shared library suffix (normally ".so").
15125 # Executable file suffix (normally "").
15128 # Additional compiler flags for building library objects.
15129 pic_flag=$lt_lt_prog_compiler_pic_F77
15132 # What is the maximum length of a command?
15133 max_cmd_len=$lt_cv_sys_max_cmd_len
15135 # Does compiler simultaneously support -c and -o options?
15136 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
15138 # Must we lock files when doing compilation ?
15139 need_locks=$lt_need_locks
15141 # Do we need the lib prefix for modules?
15142 need_lib_prefix=$need_lib_prefix
15144 # Do we need a version for libraries?
15145 need_version=$need_version
15147 # Whether dlopen is supported.
15148 dlopen_support=$enable_dlopen
15150 # Whether dlopen of programs is supported.
15151 dlopen_self=$enable_dlopen_self
15153 # Whether dlopen of statically linked programs is supported.
15154 dlopen_self_static=$enable_dlopen_self_static
15156 # Compiler flag to prevent dynamic linking.
15157 link_static_flag=$lt_lt_prog_compiler_static_F77
15159 # Compiler flag to turn off builtin functions.
15160 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
15162 # Compiler flag to allow reflexive dlopens.
15163 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
15165 # Compiler flag to generate shared objects directly from archives.
15166 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
15168 # Compiler flag to generate thread-safe objects.
15169 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
15171 # Library versioning type.
15172 version_type=$version_type
15174 # Format of library name prefix.
15175 libname_spec=$lt_libname_spec
15177 # List of archive names. First name is the real one, the rest are links.
15178 # The last name is the one that the linker finds with -lNAME.
15179 library_names_spec=$lt_library_names_spec
15181 # The coded name of the library, if different from the real name.
15182 soname_spec=$lt_soname_spec
15184 # Commands used to build and install an old-style archive.
15186 old_archive_cmds=$lt_old_archive_cmds_F77
15187 old_postinstall_cmds=$lt_old_postinstall_cmds
15188 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15190 # Create an old-style archive from a shared archive.
15191 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
15193 # Create a temporary old-style archive to link instead of a shared archive.
15194 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
15196 # Commands used to build and install a shared archive.
15197 archive_cmds=$lt_archive_cmds_F77
15198 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
15199 postinstall_cmds=$lt_postinstall_cmds
15200 postuninstall_cmds=$lt_postuninstall_cmds
15202 # Commands used to build a loadable module (assumed same as above if empty)
15203 module_cmds=$lt_module_cmds_F77
15204 module_expsym_cmds=$lt_module_expsym_cmds_F77
15206 # Commands to strip libraries.
15207 old_striplib=$lt_old_striplib
15208 striplib=$lt_striplib
15210 # Dependencies to place before the objects being linked to create a
15212 predep_objects=$lt_predep_objects_F77
15214 # Dependencies to place after the objects being linked to create a
15216 postdep_objects=$lt_postdep_objects_F77
15218 # Dependencies to place before the objects being linked to create a
15220 predeps=$lt_predeps_F77
15222 # Dependencies to place after the objects being linked to create a
15224 postdeps=$lt_postdeps_F77
15226 # The library search path used internally by the compiler when linking
15227 # a shared library.
15228 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
15230 # Method to check whether dependent libraries are shared objects.
15231 deplibs_check_method=$lt_deplibs_check_method
15233 # Command to use when deplibs_check_method == file_magic.
15234 file_magic_cmd=$lt_file_magic_cmd
15236 # Flag that allows shared libraries with undefined symbols to be built.
15237 allow_undefined_flag=$lt_allow_undefined_flag_F77
15239 # Flag that forces no undefined symbols.
15240 no_undefined_flag=$lt_no_undefined_flag_F77
15242 # Commands used to finish a libtool library installation in a directory.
15243 finish_cmds=$lt_finish_cmds
15245 # Same as above, but a single script fragment to be evaled but not shown.
15246 finish_eval=$lt_finish_eval
15248 # Take the output of nm and produce a listing of raw symbols and C names.
15249 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15251 # Transform the output of nm in a proper C declaration
15252 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15254 # Transform the output of nm in a C name address pair
15255 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15257 # This is the shared library runtime path variable.
15258 runpath_var=$runpath_var
15260 # This is the shared library path variable.
15261 shlibpath_var=$shlibpath_var
15263 # Is shlibpath searched before the hard-coded library search path?
15264 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15266 # How to hardcode a shared library path into an executable.
15267 hardcode_action=$hardcode_action_F77
15269 # Whether we should hardcode library paths into libraries.
15270 hardcode_into_libs=$hardcode_into_libs
15272 # Flag to hardcode \$libdir into a binary during linking.
15273 # This must work even if \$libdir does not exist.
15274 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
15276 # If ld is used when linking, flag to hardcode \$libdir into
15277 # a binary during linking. This must work even if \$libdir does
15279 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
15281 # Whether we need a single -rpath flag with a separated argument.
15282 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
15284 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
15285 # resulting binary.
15286 hardcode_direct=$hardcode_direct_F77
15288 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
15289 # resulting binary.
15290 hardcode_minus_L=$hardcode_minus_L_F77
15292 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
15293 # the resulting binary.
15294 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
15296 # Set to yes if building a shared library automatically hardcodes DIR into the library
15297 # and all subsequent libraries and executables linked against it.
15298 hardcode_automatic=$hardcode_automatic_F77
15300 # Variables whose values should be saved in libtool wrapper scripts and
15301 # restored at relink time.
15302 variables_saved_for_relink="$variables_saved_for_relink"
15304 # Whether libtool must link a program against all its dependency libraries.
15305 link_all_deplibs=$link_all_deplibs_F77
15307 # Compile-time system search path for libraries
15308 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15310 # Run-time system search path for libraries
15311 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15313 # Fix the shell variable \$srcfile for the compiler.
15314 fix_srcfile_path="$fix_srcfile_path_F77"
15316 # Set to yes if exported symbols are required.
15317 always_export_symbols=$always_export_symbols_F77
15319 # The commands to list exported symbols.
15320 export_symbols_cmds=$lt_export_symbols_cmds_F77
15322 # The commands to extract the exported symbol list from a shared archive.
15323 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15325 # Symbols that should not be listed in the preloaded symbols.
15326 exclude_expsyms=$lt_exclude_expsyms_F77
15328 # Symbols that must always be exported.
15329 include_expsyms=$lt_include_expsyms_F77
15331 # ### END LIBTOOL TAG CONFIG: $tagname
15337 # If there is no Makefile yet, we rely on a make rule to execute
15338 # `config.status --recheck' to rerun these tests and create the
15339 # libtool script then.
15340 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
15341 if test -f "$ltmain_in"; then
15342 test -f Makefile
&& make "$ltmain"
15348 ac_cpp
='$CPP $CPPFLAGS'
15349 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15350 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15351 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15361 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
15365 # Source file extension for Java test sources.
15368 # Object file extension for compiled Java test sources.
15372 # Code to be used in simple compile tests
15373 lt_simple_compile_test_code
="class foo {}\n"
15375 # Code to be used in simple link tests
15376 lt_simple_link_test_code
='public class conftest { public static void main(String argv) {}; }\n'
15378 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15380 # If no C compiler was specified, use CC.
15383 # Allow CC to be a program name with arguments.
15387 # Allow CC to be a program name with arguments.
15393 # GCJ did not exist at the time GCC didn't implicitly link libc in.
15394 archive_cmds_need_lc_GCJ
=no
15397 lt_prog_compiler_no_builtin_flag_GCJ
=
15399 if test "$GCC" = yes; then
15400 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
15403 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15404 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
15405 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15406 echo $ECHO_N "(cached) $ECHO_C" >&6
15408 lt_cv_prog_compiler_rtti_exceptions
=no
15409 ac_outfile
=conftest.
$ac_objext
15410 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15411 lt_compiler_flag
="-fno-rtti -fno-exceptions"
15412 # Insert the option either (1) after the last *FLAGS variable, or
15413 # (2) before a word containing "conftest.", or (3) at the end.
15414 # Note that $ac_compile itself does not contain backslashes and begins
15415 # with a dollar sign (not a hyphen), so the echo should work correctly.
15416 # The option is referenced via a variable to avoid confusing sed.
15417 lt_compile
=`echo "$ac_compile" | $SED \
15418 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15419 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15420 -e 's:$: $lt_compiler_flag:'`
15421 (eval echo "\"\$as_me:15421: $lt_compile\"" >&5)
15422 (eval "$lt_compile" 2>conftest.err
)
15424 cat conftest.err
>&5
15425 echo "$as_me:15425: \$? = $ac_status" >&5
15426 if (exit $ac_status) && test -s "$ac_outfile"; then
15427 # The compiler can only warn and ignore the option if not recognized
15428 # So say no if there are warnings
15429 if test ! -s conftest.err
; then
15430 lt_cv_prog_compiler_rtti_exceptions
=yes
15436 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15437 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
15439 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
15440 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15447 lt_prog_compiler_wl_GCJ
=
15448 lt_prog_compiler_pic_GCJ
=
15449 lt_prog_compiler_static_GCJ
=
15451 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15452 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15454 if test "$GCC" = yes; then
15455 lt_prog_compiler_wl_GCJ
='-Wl,'
15456 lt_prog_compiler_static_GCJ
='-static'
15460 # All AIX code is PIC.
15461 if test "$host_cpu" = ia64
; then
15462 # AIX 5 now supports IA64 processor
15463 lt_prog_compiler_static_GCJ
='-Bstatic'
15468 # FIXME: we need at least 68020 code to build shared libraries, but
15469 # adding the `-m68020' flag to GCC prevents building anything better,
15471 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
15474 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
15475 # PIC is the default for these OSes.
15478 mingw
* | pw32
* | os2
*)
15479 # This hack is so that the source file can tell whether it is being
15480 # built for inclusion in a dll (and should export symbols for example).
15481 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
15484 darwin
* | rhapsody
*)
15485 # PIC is the default on this platform
15486 # Common symbols not allowed in MH_DYLIB files
15487 lt_prog_compiler_pic_GCJ
='-fno-common'
15491 # Just because we use GCC doesn't mean we suddenly get shared libraries
15492 # on systems that don't support them.
15493 lt_prog_compiler_can_build_shared_GCJ
=no
15498 if test -d /usr
/nec
; then
15499 lt_prog_compiler_pic_GCJ
=-Kconform_pic
15504 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15505 # not for PA HP-UX.
15506 case "$host_cpu" in
15511 lt_prog_compiler_pic_GCJ
='-fPIC'
15517 lt_prog_compiler_pic_GCJ
='-fPIC'
15521 # PORTME Check for flag to pass linker flags through the system compiler.
15524 lt_prog_compiler_wl_GCJ
='-Wl,'
15525 if test "$host_cpu" = ia64
; then
15526 # AIX 5 now supports IA64 processor
15527 lt_prog_compiler_static_GCJ
='-Bstatic'
15529 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
15533 mingw
* | pw32
* | os2
*)
15534 # This hack is so that the source file can tell whether it is being
15535 # built for inclusion in a dll (and should export symbols for example).
15536 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
15539 hpux9
* | hpux10
* | hpux11
*)
15540 lt_prog_compiler_wl_GCJ
='-Wl,'
15541 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15542 # not for PA HP-UX.
15543 case "$host_cpu" in
15548 lt_prog_compiler_pic_GCJ
='+Z'
15551 # Is there a better lt_prog_compiler_static that works with the bundled CC?
15552 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
15555 irix5
* | irix6
* | nonstopux
*)
15556 lt_prog_compiler_wl_GCJ
='-Wl,'
15557 # PIC (with -KPIC) is the default.
15558 lt_prog_compiler_static_GCJ
='-non_shared'
15562 lt_prog_compiler_pic_GCJ
='-KPIC'
15563 lt_prog_compiler_static_GCJ
='-Bstatic'
15569 lt_prog_compiler_wl_GCJ
='-Wl,'
15570 lt_prog_compiler_pic_GCJ
='-KPIC'
15571 lt_prog_compiler_static_GCJ
='-static'
15574 lt_prog_compiler_wl_GCJ
='-Wl,'
15575 # All Alpha code is PIC.
15576 lt_prog_compiler_static_GCJ
='-non_shared'
15581 osf3
* | osf4
* | osf5
*)
15582 lt_prog_compiler_wl_GCJ
='-Wl,'
15583 # All OSF/1 code is PIC.
15584 lt_prog_compiler_static_GCJ
='-non_shared'
15588 lt_prog_compiler_pic_GCJ
='-Kpic'
15589 lt_prog_compiler_static_GCJ
='-dn'
15593 lt_prog_compiler_wl_GCJ
='-Wl,'
15594 lt_prog_compiler_pic_GCJ
='-KPIC'
15595 lt_prog_compiler_static_GCJ
='-Bstatic'
15599 lt_prog_compiler_wl_GCJ
='-Qoption ld '
15600 lt_prog_compiler_pic_GCJ
='-PIC'
15601 lt_prog_compiler_static_GCJ
='-Bstatic'
15604 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
15605 lt_prog_compiler_wl_GCJ
='-Wl,'
15606 lt_prog_compiler_pic_GCJ
='-KPIC'
15607 lt_prog_compiler_static_GCJ
='-Bstatic'
15611 if test -d /usr
/nec
;then
15612 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
15613 lt_prog_compiler_static_GCJ
='-Bstatic'
15618 lt_prog_compiler_pic_GCJ
='-pic'
15619 lt_prog_compiler_static_GCJ
='-Bstatic'
15623 lt_prog_compiler_can_build_shared_GCJ
=no
15628 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
15629 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
15632 # Check to make sure the PIC flag actually works.
15634 if test -n "$lt_prog_compiler_pic_GCJ"; then
15636 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
15637 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
15638 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
15639 echo $ECHO_N "(cached) $ECHO_C" >&6
15641 lt_prog_compiler_pic_works_GCJ
=no
15642 ac_outfile
=conftest.
$ac_objext
15643 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15644 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
15645 # Insert the option either (1) after the last *FLAGS variable, or
15646 # (2) before a word containing "conftest.", or (3) at the end.
15647 # Note that $ac_compile itself does not contain backslashes and begins
15648 # with a dollar sign (not a hyphen), so the echo should work correctly.
15649 # The option is referenced via a variable to avoid confusing sed.
15650 lt_compile
=`echo "$ac_compile" | $SED \
15651 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15652 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15653 -e 's:$: $lt_compiler_flag:'`
15654 (eval echo "\"\$as_me:15654: $lt_compile\"" >&5)
15655 (eval "$lt_compile" 2>conftest.err
)
15657 cat conftest.err
>&5
15658 echo "$as_me:15658: \$? = $ac_status" >&5
15659 if (exit $ac_status) && test -s "$ac_outfile"; then
15660 # The compiler can only warn and ignore the option if not recognized
15661 # So say no if there are warnings
15662 if test ! -s conftest.err
; then
15663 lt_prog_compiler_pic_works_GCJ
=yes
15669 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
15670 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
15672 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
15673 case $lt_prog_compiler_pic_GCJ in
15675 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
15678 lt_prog_compiler_pic_GCJ
=
15679 lt_prog_compiler_can_build_shared_GCJ
=no
15684 # For platforms which do not support PIC, -DPIC is meaningless:
15686 lt_prog_compiler_pic_GCJ
=
15689 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
15693 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15694 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
15695 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
15696 echo $ECHO_N "(cached) $ECHO_C" >&6
15698 lt_cv_prog_compiler_c_o_GCJ
=no
15699 $rm -r conftest
2>/dev
/null
15703 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15705 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15706 # Insert the option either (1) after the last *FLAGS variable, or
15707 # (2) before a word containing "conftest.", or (3) at the end.
15708 # Note that $ac_compile itself does not contain backslashes and begins
15709 # with a dollar sign (not a hyphen), so the echo should work correctly.
15710 lt_compile
=`echo "$ac_compile" | $SED \
15711 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15712 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15713 -e 's:$: $lt_compiler_flag:'`
15714 (eval echo "\"\$as_me:15714: $lt_compile\"" >&5)
15715 (eval "$lt_compile" 2>out
/conftest.err
)
15717 cat out
/conftest.err
>&5
15718 echo "$as_me:15718: \$? = $ac_status" >&5
15719 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15721 # The compiler can only warn and ignore the option if not recognized
15722 # So say no if there are warnings
15723 if test ! -s out
/conftest.err
; then
15724 lt_cv_prog_compiler_c_o_GCJ
=yes
15729 # SGI C++ compiler will create directory out/ii_files/ for
15730 # template instantiation
15731 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
15732 $rm out
/* && rmdir out
15738 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
15739 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
15742 hard_links
="nottested"
15743 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
15744 # do not overwrite the value of need_locks provided by the user
15745 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15746 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
15749 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15751 ln conftest.a conftest.b
2>&5 || hard_links
=no
15752 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15753 echo "$as_me:$LINENO: result: $hard_links" >&5
15754 echo "${ECHO_T}$hard_links" >&6
15755 if test "$hard_links" = no
; then
15756 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15757 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15764 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15765 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
15768 allow_undefined_flag_GCJ
=
15769 enable_shared_with_static_runtimes_GCJ
=no
15771 archive_expsym_cmds_GCJ
=
15772 old_archive_From_new_cmds_GCJ
=
15773 old_archive_from_expsyms_cmds_GCJ
=
15774 export_dynamic_flag_spec_GCJ
=
15775 whole_archive_flag_spec_GCJ
=
15776 thread_safe_flag_spec_GCJ
=
15777 hardcode_libdir_flag_spec_GCJ
=
15778 hardcode_libdir_flag_spec_ld_GCJ
=
15779 hardcode_libdir_separator_GCJ
=
15780 hardcode_direct_GCJ
=no
15781 hardcode_minus_L_GCJ
=no
15782 hardcode_shlibpath_var_GCJ
=unsupported
15783 link_all_deplibs_GCJ
=unknown
15784 hardcode_automatic_GCJ
=no
15786 module_expsym_cmds_GCJ
=
15787 always_export_symbols_GCJ
=no
15788 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15789 # include_expsyms should be a list of space-separated symbols to be *always*
15790 # included in the symbol list
15791 include_expsyms_GCJ
=
15792 # exclude_expsyms can be an extended regexp of symbols to exclude
15793 # it will be wrapped by ` (' and `)$', so one must not match beginning or
15794 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15795 # as well as any symbol that contains `d'.
15796 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
15797 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15798 # platforms (ab)use it in PIC code, but their linkers get confused if
15799 # the symbol is explicitly referenced. Since portable code cannot
15800 # rely on this symbol name, it's probably fine to never include it in
15801 # preloaded symbol tables.
15802 extract_expsyms_cmds
=
15805 cygwin
* | mingw
* | pw32
*)
15806 # FIXME: the MSVC++ port hasn't been tested in a loooong time
15807 # When not using gcc, we currently assume that we are using
15808 # Microsoft Visual C++.
15809 if test "$GCC" != yes; then
15819 if test "$with_gnu_ld" = yes; then
15820 # If archive_cmds runs LD, not CC, wlarc should be empty
15823 # See if GNU ld supports shared libraries.
15825 aix3
* | aix4
* | aix5
*)
15826 # On AIX/PPC, the GNU linker is very broken
15827 if test "$host_cpu" != ia64
; then
15831 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
15832 *** to be unable to reliably create shared libraries on AIX.
15833 *** Therefore, libtool is disabling shared libraries support. If you
15834 *** really care for shared libraries, you may want to modify your PATH
15835 *** so that a non-GNU linker is found, and then restart.
15842 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)'
15843 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
15844 hardcode_minus_L_GCJ
=yes
15846 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15847 # that the semantics of dynamic libraries on AmigaOS, at least up
15848 # to version 4, is to share data among multiple programs linked
15849 # with the same dynamic library. Since this doesn't match the
15850 # behavior of shared libraries on other platforms, we can't use
15856 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15857 allow_undefined_flag_GCJ
=unsupported
15858 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15859 # support --undefined. This deserves some investigation. FIXME
15860 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15866 cygwin
* | mingw
* | pw32
*)
15867 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
15868 # as there is no search path for DLLs.
15869 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
15870 allow_undefined_flag_GCJ
=unsupported
15871 always_export_symbols_GCJ
=no
15872 enable_shared_with_static_runtimes_GCJ
=yes
15873 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
15875 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
15876 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15877 # If the export-symbols file already is a .def file (1st line
15878 # is EXPORTS), use it as is; otherwise, prepend...
15879 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15880 cp $export_symbols $output_objdir/$soname.def;
15882 echo EXPORTS > $output_objdir/$soname.def;
15883 cat $export_symbols >> $output_objdir/$soname.def;
15885 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15891 netbsd
* | knetbsd
*-gnu)
15892 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15893 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15896 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15897 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15902 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
15906 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
15907 *** create shared libraries on Solaris systems. Therefore, libtool
15908 *** is disabling shared libraries support. We urge you to upgrade GNU
15909 *** binutils to release 2.9.1 or newer. Another option is to modify
15910 *** your PATH or compiler configuration so that the native linker is
15911 *** used, and then restart.
15914 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15915 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15916 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15923 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15925 hardcode_direct_GCJ
=yes
15926 hardcode_shlibpath_var_GCJ
=no
15930 if $LD --help 2>&1 |
egrep ': supported targets:.* elf' > /dev
/null
; then
15931 tmp_archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15932 archive_cmds_GCJ
="$tmp_archive_cmds"
15933 supports_anon_versioning
=no
15934 case `$LD -v 2>/dev/null` in
15935 *\
01.
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
15936 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
15937 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
15938 *\
2.11.
*) ;; # other 2.11 versions
15939 *) supports_anon_versioning
=yes ;;
15941 if test $supports_anon_versioning = yes; then
15942 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
15943 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15944 $echo "local: *; };" >> $output_objdir/$libname.ver~
15945 $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15947 archive_expsym_cmds_GCJ
="$tmp_archive_cmds"
15955 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15956 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15957 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15964 if test "$ld_shlibs_GCJ" = yes; then
15965 runpath_var
=LD_RUN_PATH
15966 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
15967 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
15968 # ancient GNU ld didn't support --whole-archive et. al.
15969 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
15970 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15972 whole_archive_flag_spec_GCJ
=
15976 # PORTME fill in a description of your system's linker (not GNU ld)
15979 allow_undefined_flag_GCJ
=unsupported
15980 always_export_symbols_GCJ
=yes
15981 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'
15982 # Note: this linker hardcodes the directories in LIBPATH if there
15983 # are no directories specified by -L.
15984 hardcode_minus_L_GCJ
=yes
15985 if test "$GCC" = yes && test -z "$link_static_flag"; then
15986 # Neither direct hardcoding nor static linking is supported with a
15988 hardcode_direct_GCJ
=unsupported
15993 if test "$host_cpu" = ia64
; then
15994 # On IA64, the linker does run time linking by default, so we don't
15995 # have to do anything special.
15996 aix_use_runtimelinking
=no
15997 exp_sym_flag
='-Bexport'
16000 # If we're using GNU nm, then we don't want the "-C" option.
16001 # -C means demangle to AIX nm, but means don't demangle with GNU nm
16002 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
16003 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'
16005 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'
16007 aix_use_runtimelinking
=no
16009 # Test if we are trying to use run time linking or normal
16010 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16011 # need to do runtime linking.
16012 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
16013 for ld_flag
in $LDFLAGS; do
16014 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
16015 aix_use_runtimelinking
=yes
16021 exp_sym_flag
='-bexport'
16022 no_entry_flag
='-bnoentry'
16025 # When large executables or shared objects are built, AIX ld can
16026 # have problems creating the table of contents. If linking a library
16027 # or program results in "error TOC overflow" add -mminimal-toc to
16028 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
16029 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16031 archive_cmds_GCJ
=''
16032 hardcode_direct_GCJ
=yes
16033 hardcode_libdir_separator_GCJ
=':'
16034 link_all_deplibs_GCJ
=yes
16036 if test "$GCC" = yes; then
16037 case $host_os in aix4.012|aix4.012.
*)
16038 # We only want to do this on AIX 4.2 and lower, the check
16039 # below for broken collect2 doesn't work under 4.3+
16040 collect2name
=`${CC} -print-prog-name=collect2`
16041 if test -f "$collect2name" && \
16042 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
16044 # We have reworked collect2
16045 hardcode_direct_GCJ
=yes
16047 # We have old collect2
16048 hardcode_direct_GCJ
=unsupported
16049 # It fails to find uninstalled libraries when the uninstalled
16050 # path is not listed in the libpath. Setting hardcode_minus_L
16051 # to unsupported forces relinking
16052 hardcode_minus_L_GCJ
=yes
16053 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16054 hardcode_libdir_separator_GCJ
=
16057 shared_flag
='-shared'
16060 if test "$host_cpu" = ia64
; then
16061 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16062 # chokes on -Wl,-G. The following line is correct:
16065 if test "$aix_use_runtimelinking" = yes; then
16066 shared_flag
='${wl}-G'
16068 shared_flag
='${wl}-bM:SRE'
16073 # It seems that -bexpall does not export symbols beginning with
16074 # underscore (_), so it is better to generate a list of symbols to export.
16075 always_export_symbols_GCJ
=yes
16076 if test "$aix_use_runtimelinking" = yes; then
16077 # Warning - without using the other runtime loading flags (-brtl),
16078 # -berok will link without error, but may produce a broken library.
16079 allow_undefined_flag_GCJ
='-berok'
16080 # Determine the default libpath from the value encoded in an empty executable.
16081 cat >conftest.
$ac_ext <<_ACEOF
16084 cat confdefs.h
>>conftest.
$ac_ext
16085 cat >>conftest.
$ac_ext <<_ACEOF
16086 /* end confdefs.h. */
16096 rm -f conftest.
$ac_objext conftest
$ac_exeext
16097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16098 (eval $ac_link) 2>conftest.er1
16100 grep -v '^ *+' conftest.er1
>conftest.err
16102 cat conftest.err
>&5
16103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16104 (exit $ac_status); } &&
16105 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16107 (eval $ac_try) 2>&5
16109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16110 (exit $ac_status); }; } &&
16111 { ac_try
='test -s conftest$ac_exeext'
16112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16113 (eval $ac_try) 2>&5
16115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16116 (exit $ac_status); }; }; then
16118 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16120 # Check for a 64-bit object if we didn't find anything.
16121 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; }
16124 echo "$as_me: failed program was:" >&5
16125 sed 's/^/| /' conftest.
$ac_ext >&5
16128 rm -f conftest.err conftest.
$ac_objext \
16129 conftest
$ac_exeext conftest.
$ac_ext
16130 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
16132 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
16133 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"
16135 if test "$host_cpu" = ia64; then
16136 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr
/lib
:/lib
'
16137 allow_undefined_flag_GCJ="-z nodefs"
16138 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"
16140 # Determine the default libpath from the value encoded in an empty executable.
16141 cat >conftest.$ac_ext <<_ACEOF
16144 cat confdefs.h >>conftest.$ac_ext
16145 cat >>conftest.$ac_ext <<_ACEOF
16146 /* end confdefs.h. */
16156 rm -f conftest.$ac_objext conftest$ac_exeext
16157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16158 (eval $ac_link) 2>conftest.er1
16160 grep -v '^ *+' conftest.er1 >conftest.err
16162 cat conftest.err >&5
16163 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16164 (exit $ac_status); } &&
16165 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16167 (eval $ac_try) 2>&5
16169 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16170 (exit $ac_status); }; } &&
16171 { ac_try='test -s conftest$ac_exeext'
16172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16173 (eval $ac_try) 2>&5
16175 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16176 (exit $ac_status); }; }; then
16178 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16180 # Check for a 64-bit object if we didn't find anything.
16181 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; }
16184 echo "$as_me: failed program was
:" >&5
16185 sed 's/^/| /' conftest.$ac_ext >&5
16188 rm -f conftest.err conftest.$ac_objext \
16189 conftest$ac_exeext conftest.$ac_ext
16190 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
16192 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
16193 # Warning - without using the other run time loading flags,
16194 # -berok will link without error, but may produce a broken library.
16195 no_undefined_flag_GCJ=' ${wl}-bernotok'
16196 allow_undefined_flag_GCJ=' ${wl}-berok'
16197 # -bexpall does not export symbols beginning with underscore (_)
16198 always_export_symbols_GCJ=yes
16199 # Exported symbols can be pulled into shared objects from archives
16200 whole_archive_flag_spec_GCJ=' '
16201 archive_cmds_need_lc_GCJ=yes
16202 # This is similar to how AIX traditionally builds it's shared libraries.
16203 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'
16209 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)'
16210 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16211 hardcode_minus_L_GCJ
=yes
16212 # see comment about different semantics on the GNU ld section
16217 export_dynamic_flag_spec_GCJ
=-rdynamic
16220 cygwin
* | mingw
* | pw32
*)
16221 # When not using gcc, we currently assume that we are using
16222 # Microsoft Visual C++.
16223 # hardcode_libdir_flag_spec is actually meaningless, as there is
16224 # no search path for DLLs.
16225 hardcode_libdir_flag_spec_GCJ
=' '
16226 allow_undefined_flag_GCJ
=unsupported
16227 # Tell ltmain to make .lib files, not .a files.
16229 # Tell ltmain to make .dll files, not .so files.
16231 # FIXME: Setting linknames here is a bad hack.
16232 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
16233 # The linker will automatically build a .lib file if we build a DLL.
16234 old_archive_From_new_cmds_GCJ
='true'
16235 # FIXME: Should let the user specify the lib program.
16236 old_archive_cmds_GCJ
='lib /OUT:$oldlib$oldobjs$old_deplibs'
16237 fix_srcfile_path
='`cygpath -w "$srcfile"`'
16238 enable_shared_with_static_runtimes_GCJ
=yes
16241 darwin
* | rhapsody
*)
16242 if test "$GXX" = yes ; then
16243 archive_cmds_need_lc_GCJ
=no
16245 rhapsody
* | darwin1.
[012])
16246 allow_undefined_flag_GCJ
='-undefined suppress'
16249 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
16250 allow_undefined_flag_GCJ
='-flat_namespace -undefined suppress'
16252 case ${MACOSX_DEPLOYMENT_TARGET} in
16254 allow_undefined_flag_GCJ
='-flat_namespace -undefined suppress'
16257 allow_undefined_flag_GCJ
='-undefined dynamic_lookup'
16263 lt_int_apple_cc_single_mod
=no
16264 output_verbose_link_cmd
='echo'
16265 if $CC -dumpspecs 2>&1 |
grep 'single_module' >/dev
/null
; then
16266 lt_int_apple_cc_single_mod
=yes
16268 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
16269 archive_cmds_GCJ
='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16271 archive_cmds_GCJ
='$CC -r ${wl}-bind_at_load -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'
16273 module_cmds_GCJ
='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16274 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
16275 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
16276 archive_expsym_cmds_GCJ
='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}'
16278 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -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}'
16280 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}'
16281 hardcode_direct_GCJ
=no
16282 hardcode_automatic_GCJ
=yes
16283 hardcode_shlibpath_var_GCJ
=unsupported
16284 whole_archive_flag_spec_GCJ
='-all_load $convenience'
16285 link_all_deplibs_GCJ
=yes
16292 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16293 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16294 hardcode_shlibpath_var_GCJ
=no
16301 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
16302 # support. Future versions do this automatically, but an explicit c++rt0.o
16303 # does not break anything, and helps significantly (at the cost of a little
16306 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
16307 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16308 hardcode_direct_GCJ
=yes
16309 hardcode_shlibpath_var_GCJ
=no
16312 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
16314 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16315 hardcode_direct_GCJ
=yes
16316 hardcode_minus_L_GCJ
=yes
16317 hardcode_shlibpath_var_GCJ
=no
16320 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16321 freebsd
* | kfreebsd
*-gnu)
16322 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16323 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16324 hardcode_direct_GCJ
=yes
16325 hardcode_shlibpath_var_GCJ
=no
16329 if test "$GCC" = yes; then
16330 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'
16332 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'
16334 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16335 hardcode_libdir_separator_GCJ
=:
16336 hardcode_direct_GCJ
=yes
16338 # hardcode_minus_L: Not really in the search PATH,
16339 # but as the default location of the library.
16340 hardcode_minus_L_GCJ
=yes
16341 export_dynamic_flag_spec_GCJ
='${wl}-E'
16345 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
16346 case "$host_cpu" in
16348 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16351 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16355 case "$host_cpu" in
16357 archive_cmds_GCJ
='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
16360 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
16364 if test "$with_gnu_ld" = no
; then
16365 case "$host_cpu" in
16367 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16368 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
16369 hardcode_libdir_separator_GCJ
=:
16370 hardcode_direct_GCJ
=no
16371 hardcode_shlibpath_var_GCJ
=no
16374 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16375 hardcode_direct_GCJ
=no
16376 hardcode_shlibpath_var_GCJ
=no
16378 # hardcode_minus_L: Not really in the search PATH,
16379 # but as the default location of the library.
16380 hardcode_minus_L_GCJ
=yes
16383 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16384 hardcode_libdir_separator_GCJ
=:
16385 hardcode_direct_GCJ
=yes
16386 export_dynamic_flag_spec_GCJ
='${wl}-E'
16388 # hardcode_minus_L: Not really in the search PATH,
16389 # but as the default location of the library.
16390 hardcode_minus_L_GCJ
=yes
16396 irix5
* | irix6
* | nonstopux
*)
16397 if test "$GCC" = yes; then
16398 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'
16400 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'
16401 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
16403 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16404 hardcode_libdir_separator_GCJ
=:
16405 link_all_deplibs_GCJ
=yes
16408 netbsd
* | knetbsd
*-gnu)
16409 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16410 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
16412 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
16414 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16415 hardcode_direct_GCJ
=yes
16416 hardcode_shlibpath_var_GCJ
=no
16420 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16421 hardcode_direct_GCJ
=yes
16422 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16423 hardcode_libdir_separator_GCJ
=:
16424 hardcode_shlibpath_var_GCJ
=no
16428 hardcode_direct_GCJ
=yes
16429 hardcode_shlibpath_var_GCJ
=no
16430 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16431 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16432 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16433 export_dynamic_flag_spec_GCJ
='${wl}-E'
16436 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
16437 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16438 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16441 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16442 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16449 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16450 hardcode_minus_L_GCJ
=yes
16451 allow_undefined_flag_GCJ
=unsupported
16452 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'
16453 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16457 if test "$GCC" = yes; then
16458 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
16459 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'
16461 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
16462 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'
16464 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16465 hardcode_libdir_separator_GCJ
=:
16468 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
16469 if test "$GCC" = yes; then
16470 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
16471 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'
16472 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16474 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
16475 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'
16476 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~
16477 $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'
16479 # Both c and cxx compiler support -rpath directly
16480 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
16482 hardcode_libdir_separator_GCJ
=:
16486 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16487 hardcode_shlibpath_var_GCJ
=no
16488 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
16489 runpath_var
=LD_RUN_PATH
16490 hardcode_runpath_var
=yes
16494 no_undefined_flag_GCJ
=' -z text'
16495 if test "$GCC" = yes; then
16496 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16497 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16498 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16500 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16501 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16502 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16504 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16505 hardcode_shlibpath_var_GCJ
=no
16507 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
16508 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
16509 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract' ;;
16511 link_all_deplibs_GCJ
=yes
16515 if test "x$host_vendor" = xsequent
; then
16516 # Use $CC to link under sequent, because it throws in some extra .o
16517 # files that make .init and .fini sections work.
16518 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16520 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16522 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16523 hardcode_direct_GCJ
=yes
16524 hardcode_minus_L_GCJ
=yes
16525 hardcode_shlibpath_var_GCJ
=no
16529 case $host_vendor in
16531 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16532 hardcode_direct_GCJ
=yes # is this really true???
16535 ## LD is ld it makes a PLAMLIB
16536 ## CC just makes a GrossModule.
16537 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16538 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
16539 hardcode_direct_GCJ
=no
16542 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16543 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
16546 runpath_var
='LD_RUN_PATH'
16547 hardcode_shlibpath_var_GCJ
=no
16551 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16552 hardcode_shlibpath_var_GCJ
=no
16553 export_dynamic_flag_spec_GCJ
='-Bexport'
16557 if test -d /usr
/nec
; then
16558 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16559 hardcode_shlibpath_var_GCJ
=no
16560 runpath_var
=LD_RUN_PATH
16561 hardcode_runpath_var
=yes
16567 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16568 hardcode_direct_GCJ
=yes
16569 hardcode_minus_L_GCJ
=no
16570 hardcode_shlibpath_var_GCJ
=no
16571 hardcode_runpath_var
=yes
16572 runpath_var
=LD_RUN_PATH
16575 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
16576 no_undefined_flag_GCJ
='${wl}-z ${wl}text'
16577 if test "$GCC" = yes; then
16578 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16580 archive_cmds_GCJ
='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16582 runpath_var
='LD_RUN_PATH'
16583 hardcode_shlibpath_var_GCJ
=no
16587 no_undefined_flag_GCJ
=' -z text'
16588 # $CC -shared without GNU ld will not create a library from C++
16589 # object files and a static libstdc++, better avoid it by now
16590 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16591 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16592 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16593 hardcode_libdir_flag_spec_GCJ
=
16594 hardcode_shlibpath_var_GCJ
=no
16595 runpath_var
='LD_RUN_PATH'
16599 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16600 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16601 hardcode_shlibpath_var_GCJ
=no
16610 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
16611 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
16612 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
16614 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16615 if test "$GCC" = yes; then
16616 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16620 # Do we need to explicitly link libc?
16622 case "x$archive_cmds_need_lc_GCJ" in
16624 # Assume -lc should be added
16625 archive_cmds_need_lc_GCJ
=yes
16627 if test "$enable_shared" = yes && test "$GCC" = yes; then
16628 case $archive_cmds_GCJ in
16630 # FIXME: we may have to deal with multi-command sequences.
16633 # Test whether the compiler implicitly links with -lc since on some
16634 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16635 # to ld, don't add -lc before -lgcc.
16636 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16637 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
16639 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16642 (eval $ac_compile) 2>&5
16644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16645 (exit $ac_status); } 2>conftest.err
; then
16648 libobjs
=conftest.
$ac_objext
16650 wl
=$lt_prog_compiler_wl_GCJ
16656 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
16657 allow_undefined_flag_GCJ
=
16658 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16659 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
16661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16662 (exit $ac_status); }
16664 archive_cmds_need_lc_GCJ
=no
16666 archive_cmds_need_lc_GCJ
=yes
16668 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
16670 cat conftest.err
1>&5
16673 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
16674 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
16681 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16682 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
16683 library_names_spec
=
16684 libname_spec
='lib$name'
16688 postuninstall_cmds
=
16692 shlibpath_overrides_runpath
=unknown
16694 dynamic_linker
="$host_os ld.so"
16695 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
16696 if test "$GCC" = yes; then
16697 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16698 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
16699 # if the path contains ";" then we assume it to be the separator
16700 # otherwise default to the standard path separator (i.e. ":") - it is
16701 # assumed that no part of a normal pathname contains ";" but that should
16702 # okay in the real world where ";" in dirpaths is itself problematic.
16703 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16705 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16708 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
16710 need_lib_prefix
=unknown
16711 hardcode_into_libs
=no
16713 # when you set need_version to no, make sure it does not cause -set_version
16714 # flags to be left without arguments
16715 need_version
=unknown
16720 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
16721 shlibpath_var
=LIBPATH
16723 # AIX 3 has no versioning support, so we append a major version to the name.
16724 soname_spec
='${libname}${release}${shared_ext}$major'
16731 hardcode_into_libs
=yes
16732 if test "$host_cpu" = ia64
; then
16733 # AIX 5 supports IA64
16734 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16735 shlibpath_var
=LD_LIBRARY_PATH
16737 # With GCC up to 2.95.x, collect2 would create an import file
16738 # for dependence libraries. The import file would start with
16739 # the line `#! .'. This would cause the generated library to
16740 # depend on `.', always an invalid library. This was fixed in
16741 # development snapshots of GCC prior to 3.0.
16743 aix4 | aix4.
[01] | aix4.
[01].
*)
16744 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16746 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
16749 can_build_shared
=no
16753 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16754 # soname into executable. Probably we can add versioning support to
16755 # collect2, so additional links can be useful in future.
16756 if test "$aix_use_runtimelinking" = yes; then
16757 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16758 # instead of lib<name>.a to let people know that these are not
16759 # typical AIX shared libraries.
16760 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16762 # We preserve .a as extension for shared libraries through AIX4.2
16763 # and later when we are not doing run time linking.
16764 library_names_spec
='${libname}${release}.a $libname.a'
16765 soname_spec
='${libname}${release}${shared_ext}$major'
16767 shlibpath_var
=LIBPATH
16772 library_names_spec
='$libname.ixlibrary $libname.a'
16773 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16774 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'
16778 library_names_spec
='${libname}${shared_ext}'
16779 dynamic_linker
="$host_os ld.so"
16780 shlibpath_var
=LIBRARY_PATH
16786 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16787 soname_spec
='${libname}${release}${shared_ext}$major'
16788 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
16789 shlibpath_var
=LD_LIBRARY_PATH
16790 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16791 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
16792 # the default ld.so.conf also contains /usr/contrib/lib and
16793 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16794 # libtool to hard-code these into programs
16797 cygwin
* | mingw
* | pw32
*)
16798 version_type
=windows
16803 case $GCC,$host_os in
16804 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
16805 library_names_spec
='$libname.dll.a'
16806 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16807 postinstall_cmds
='base_file=`basename \${file}`~
16808 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16809 dldir=$destdir/`dirname \$dlpath`~
16810 test -d \$dldir || mkdir -p \$dldir~
16811 $install_prog $dir/$dlname \$dldir/$dlname'
16812 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16813 dlpath=$dir/\$dldll~
16815 shlibpath_overrides_runpath
=yes
16819 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16820 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16821 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
16824 # MinGW DLLs use traditional 'lib' prefix
16825 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16826 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16827 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
16828 # It is most probably a Windows format PATH printed by
16829 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16830 # path with ; separators, and with drive letters. We can handle the
16831 # drive letters (cygwin fileutils understands them), so leave them,
16832 # especially as we might pass files found there to a mingw objdump,
16833 # which wouldn't understand a cygwinified path. Ahh.
16834 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16836 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16840 # pw32 DLLs use 'pw' prefix rather than 'lib'
16841 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
16847 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16850 dynamic_linker
='Win32 ld.exe'
16851 # FIXME: first we should search . and the directory the executable is in
16855 darwin
* | rhapsody
*)
16856 dynamic_linker
="$host_os dyld"
16857 version_type
=darwin
16860 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16861 soname_spec
='${libname}${release}${major}$shared_ext'
16862 shlibpath_overrides_runpath
=yes
16863 shlibpath_var
=DYLD_LIBRARY_PATH
16864 shrext
='$(test .$module = .yes && echo .so || echo .dylib)'
16865 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
16866 if test "$GCC" = yes; then
16867 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"`
16869 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
16871 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
16878 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16879 soname_spec
='${libname}${release}${shared_ext}$major'
16880 shlibpath_var
=LD_LIBRARY_PATH
16891 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16892 soname_spec
='${libname}${release}${shared_ext}$major'
16893 shlibpath_var
=LD_LIBRARY_PATH
16894 shlibpath_overrides_runpath
=no
16895 hardcode_into_libs
=yes
16896 dynamic_linker
='GNU ld.so'
16900 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
16901 version_type
=freebsd-
$objformat
16902 case $version_type in
16904 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16909 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16913 shlibpath_var
=LD_LIBRARY_PATH
16916 shlibpath_overrides_runpath
=yes
16918 freebsd3.01
* | freebsdelf3.01
*)
16919 shlibpath_overrides_runpath
=yes
16920 hardcode_into_libs
=yes
16923 shlibpath_overrides_runpath
=no
16924 hardcode_into_libs
=yes
16933 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16934 soname_spec
='${libname}${release}${shared_ext}$major'
16935 shlibpath_var
=LD_LIBRARY_PATH
16936 hardcode_into_libs
=yes
16939 hpux9
* | hpux10
* | hpux11
*)
16940 # Give a soname corresponding to the major version so that dld.sl refuses to
16941 # link against other versions.
16945 case "$host_cpu" in
16948 hardcode_into_libs
=yes
16949 dynamic_linker
="$host_os dld.so"
16950 shlibpath_var
=LD_LIBRARY_PATH
16951 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16952 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16953 soname_spec
='${libname}${release}${shared_ext}$major'
16954 if test "X$HPUX_IA64_MODE" = X32
; then
16955 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16957 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
16959 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16963 hardcode_into_libs
=yes
16964 dynamic_linker
="$host_os dld.sl"
16965 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
16966 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16967 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16968 soname_spec
='${libname}${release}${shared_ext}$major'
16969 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16970 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16974 dynamic_linker
="$host_os dld.sl"
16975 shlibpath_var
=SHLIB_PATH
16976 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
16977 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16978 soname_spec
='${libname}${release}${shared_ext}$major'
16981 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16982 postinstall_cmds
='chmod 555 $lib'
16985 irix5
* | irix6
* | nonstopux
*)
16987 nonstopux
*) version_type
=nonstopux
;;
16989 if test "$lt_cv_prog_gnu_ld" = yes; then
16997 soname_spec
='${libname}${release}${shared_ext}$major'
16998 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17000 irix5
* | nonstopux
*)
17001 libsuff
= shlibsuff
=
17004 case $LD in # libtool.m4 will add one of these switches to LD
17005 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
17006 libsuff
= shlibsuff
= libmagic
=32-bit;;
17007 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
17008 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
17009 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
17010 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
17011 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
17015 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
17016 shlibpath_overrides_runpath
=no
17017 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17018 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
17019 hardcode_into_libs
=yes
17022 # No shared lib support for Linux oldld, aout, or coff.
17023 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
17027 # This must be Linux ELF.
17032 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17033 soname_spec
='${libname}${release}${shared_ext}$major'
17034 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17035 shlibpath_var
=LD_LIBRARY_PATH
17036 shlibpath_overrides_runpath
=no
17037 # This implies no fast_install, which is unacceptable.
17038 # Some rework will be needed to allow for fast_install
17039 # before this can be enabled.
17040 hardcode_into_libs
=yes
17042 # Append ld.so.conf contents to the search path
17043 if test -f /etc
/ld.so.conf
; then
17044 ld_extra
=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf`
17045 sys_lib_dlsearch_path_spec
="/lib /usr/lib $ld_extra"
17048 # We used to test for /lib/ld.so.1 and disable shared libraries on
17049 # powerpc, because MkLinux only supported shared libraries with the
17050 # GNU dynamic linker. Since this was broken with cross compilers,
17051 # most powerpc-linux boxes support dynamic linking these days and
17052 # people can always --disable-shared, the test was removed, and we
17053 # assume the GNU/Linux dynamic linker is in use.
17054 dynamic_linker
='GNU/Linux ld.so'
17061 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17062 soname_spec
='${libname}${release}${shared_ext}$major'
17063 shlibpath_var
=LD_LIBRARY_PATH
17064 shlibpath_overrides_runpath
=no
17065 hardcode_into_libs
=yes
17066 dynamic_linker
='GNU ld.so'
17073 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17074 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17075 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17076 dynamic_linker
='NetBSD (a.out) ld.so'
17078 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17079 soname_spec
='${libname}${release}${shared_ext}$major'
17080 dynamic_linker
='NetBSD ld.elf_so'
17082 shlibpath_var
=LD_LIBRARY_PATH
17083 shlibpath_overrides_runpath
=yes
17084 hardcode_into_libs
=yes
17089 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17090 shlibpath_var
=LD_LIBRARY_PATH
17091 shlibpath_overrides_runpath
=yes
17098 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17099 soname_spec
='${libname}${release}${shared_ext}$major'
17100 shlibpath_var
=LD_LIBRARY_PATH
17101 shlibpath_overrides_runpath
=yes
17108 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17109 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17110 shlibpath_var
=LD_LIBRARY_PATH
17111 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17113 openbsd2.
[89] | openbsd2.
[89].
*)
17114 shlibpath_overrides_runpath
=no
17117 shlibpath_overrides_runpath
=yes
17121 shlibpath_overrides_runpath
=yes
17126 libname_spec
='$name'
17129 library_names_spec
='$libname${shared_ext} $libname.a'
17130 dynamic_linker
='OS/2 ld.exe'
17131 shlibpath_var
=LIBPATH
17134 osf3
* | osf4
* | osf5
*)
17138 soname_spec
='${libname}${release}${shared_ext}$major'
17139 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17140 shlibpath_var
=LD_LIBRARY_PATH
17141 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17142 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
17147 soname_spec
='${libname}${release}${shared_ext}$major'
17148 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17149 shlibpath_var
=LD_LIBRARY_PATH
17156 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17157 soname_spec
='${libname}${release}${shared_ext}$major'
17158 shlibpath_var
=LD_LIBRARY_PATH
17159 shlibpath_overrides_runpath
=yes
17160 hardcode_into_libs
=yes
17161 # ldd complains unless libraries are executable
17162 postinstall_cmds
='chmod +x $lib'
17167 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17168 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17169 shlibpath_var
=LD_LIBRARY_PATH
17170 shlibpath_overrides_runpath
=yes
17171 if test "$with_gnu_ld" = yes; then
17177 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
17179 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17180 soname_spec
='${libname}${release}${shared_ext}$major'
17181 shlibpath_var
=LD_LIBRARY_PATH
17182 case $host_vendor in
17184 shlibpath_overrides_runpath
=no
17186 export_dynamic_flag_spec
='${wl}-Blargedynsym'
17187 runpath_var
=LD_RUN_PATH
17195 shlibpath_overrides_runpath
=no
17196 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
17202 if test -d /usr
/nec
;then
17204 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17205 soname_spec
='$libname${shared_ext}.$major'
17206 shlibpath_var
=LD_LIBRARY_PATH
17212 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17213 soname_spec
='${libname}${release}${shared_ext}$major'
17214 shlibpath_var
=LD_LIBRARY_PATH
17221 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17222 echo "${ECHO_T}$dynamic_linker" >&6
17223 test "$dynamic_linker" = no
&& can_build_shared
=no
17225 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17226 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
17227 hardcode_action_GCJ
=
17228 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
17229 test -n "$runpath_var GCJ" || \
17230 test "X$hardcode_automatic_GCJ"="Xyes" ; then
17232 # We can hardcode non-existant directories.
17233 if test "$hardcode_direct_GCJ" != no
&&
17234 # If the only mechanism to avoid hardcoding is shlibpath_var, we
17235 # have to relink, otherwise we might link with an installed library
17236 # when we should be linking with a yet-to-be-installed one
17237 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
17238 test "$hardcode_minus_L_GCJ" != no
; then
17239 # Linking always hardcodes the temporary library directory.
17240 hardcode_action_GCJ
=relink
17242 # We can link without hardcoding, and we can hardcode nonexisting dirs.
17243 hardcode_action_GCJ
=immediate
17246 # We cannot hardcode anything, or else we can only hardcode existing
17248 hardcode_action_GCJ
=unsupported
17250 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
17251 echo "${ECHO_T}$hardcode_action_GCJ" >&6
17253 if test "$hardcode_action_GCJ" = relink
; then
17254 # Fast installation is not supported
17255 enable_fast_install
=no
17256 elif test "$shlibpath_overrides_runpath" = yes ||
17257 test "$enable_shared" = no
; then
17258 # Fast installation is not necessary
17259 enable_fast_install
=needless
17264 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
17265 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
17266 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
17267 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
17268 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
17269 echo "$as_me:$LINENO: result: yes" >&5
17270 echo "${ECHO_T}yes" >&6
17272 # FIXME - insert some real tests, host_os isn't really good enough
17275 if test -n "$STRIP" ; then
17276 striplib
="$STRIP -x"
17277 echo "$as_me:$LINENO: result: yes" >&5
17278 echo "${ECHO_T}yes" >&6
17280 echo "$as_me:$LINENO: result: no" >&5
17281 echo "${ECHO_T}no" >&6
17285 echo "$as_me:$LINENO: result: no" >&5
17286 echo "${ECHO_T}no" >&6
17291 if test "x$enable_dlopen" != xyes
; then
17292 enable_dlopen
=unknown
17293 enable_dlopen_self
=unknown
17294 enable_dlopen_self_static
=unknown
17301 lt_cv_dlopen
="load_add_on"
17303 lt_cv_dlopen_self
=yes
17307 lt_cv_dlopen
="LoadLibrary"
17312 lt_cv_dlopen
="dlopen"
17317 # if libdl is installed we need to link against it
17318 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17319 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
17320 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17321 echo $ECHO_N "(cached) $ECHO_C" >&6
17323 ac_check_lib_save_LIBS
=$LIBS
17325 cat >conftest.
$ac_ext <<_ACEOF
17328 cat confdefs.h
>>conftest.
$ac_ext
17329 cat >>conftest.
$ac_ext <<_ACEOF
17330 /* end confdefs.h. */
17332 /* Override any gcc2 internal prototype to avoid an error. */
17336 /* We use char because int might match the return type of a gcc2
17337 builtin and then its argument prototype would still apply. */
17347 rm -f conftest.
$ac_objext conftest
$ac_exeext
17348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17349 (eval $ac_link) 2>conftest.er1
17351 grep -v '^ *+' conftest.er1
>conftest.err
17353 cat conftest.err
>&5
17354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17355 (exit $ac_status); } &&
17356 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17358 (eval $ac_try) 2>&5
17360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17361 (exit $ac_status); }; } &&
17362 { ac_try
='test -s conftest$ac_exeext'
17363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17364 (eval $ac_try) 2>&5
17366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17367 (exit $ac_status); }; }; then
17368 ac_cv_lib_dl_dlopen
=yes
17370 echo "$as_me: failed program was:" >&5
17371 sed 's/^/| /' conftest.
$ac_ext >&5
17373 ac_cv_lib_dl_dlopen
=no
17375 rm -f conftest.err conftest.
$ac_objext \
17376 conftest
$ac_exeext conftest.
$ac_ext
17377 LIBS
=$ac_check_lib_save_LIBS
17379 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17380 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
17381 if test $ac_cv_lib_dl_dlopen = yes; then
17382 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
17385 lt_cv_dlopen
="dyld"
17387 lt_cv_dlopen_self
=yes
17394 echo "$as_me:$LINENO: checking for shl_load" >&5
17395 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
17396 if test "${ac_cv_func_shl_load+set}" = set; then
17397 echo $ECHO_N "(cached) $ECHO_C" >&6
17399 cat >conftest.
$ac_ext <<_ACEOF
17402 cat confdefs.h
>>conftest.
$ac_ext
17403 cat >>conftest.
$ac_ext <<_ACEOF
17404 /* end confdefs.h. */
17405 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
17406 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17407 #define shl_load innocuous_shl_load
17409 /* System header to define __stub macros and hopefully few prototypes,
17410 which can conflict with char shl_load (); below.
17411 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17412 <limits.h> exists even on freestanding compilers. */
17415 # include <limits.h>
17417 # include <assert.h>
17422 /* Override any gcc2 internal prototype to avoid an error. */
17427 /* We use char because int might match the return type of a gcc2
17428 builtin and then its argument prototype would still apply. */
17430 /* The GNU C library defines this for functions which it implements
17431 to always fail with ENOSYS. Some functions are actually named
17432 something starting with __ and the normal name is an alias. */
17433 #if defined (__stub_shl_load) || defined (__stub___shl_load)
17436 char (*f) () = shl_load;
17445 return f != shl_load;
17450 rm -f conftest.
$ac_objext conftest
$ac_exeext
17451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17452 (eval $ac_link) 2>conftest.er1
17454 grep -v '^ *+' conftest.er1
>conftest.err
17456 cat conftest.err
>&5
17457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17458 (exit $ac_status); } &&
17459 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17461 (eval $ac_try) 2>&5
17463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17464 (exit $ac_status); }; } &&
17465 { ac_try
='test -s conftest$ac_exeext'
17466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17467 (eval $ac_try) 2>&5
17469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17470 (exit $ac_status); }; }; then
17471 ac_cv_func_shl_load
=yes
17473 echo "$as_me: failed program was:" >&5
17474 sed 's/^/| /' conftest.
$ac_ext >&5
17476 ac_cv_func_shl_load
=no
17478 rm -f conftest.err conftest.
$ac_objext \
17479 conftest
$ac_exeext conftest.
$ac_ext
17481 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
17482 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
17483 if test $ac_cv_func_shl_load = yes; then
17484 lt_cv_dlopen
="shl_load"
17486 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
17487 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
17488 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
17489 echo $ECHO_N "(cached) $ECHO_C" >&6
17491 ac_check_lib_save_LIBS
=$LIBS
17493 cat >conftest.
$ac_ext <<_ACEOF
17496 cat confdefs.h
>>conftest.
$ac_ext
17497 cat >>conftest.
$ac_ext <<_ACEOF
17498 /* end confdefs.h. */
17500 /* Override any gcc2 internal prototype to avoid an error. */
17504 /* We use char because int might match the return type of a gcc2
17505 builtin and then its argument prototype would still apply. */
17515 rm -f conftest.
$ac_objext conftest
$ac_exeext
17516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17517 (eval $ac_link) 2>conftest.er1
17519 grep -v '^ *+' conftest.er1
>conftest.err
17521 cat conftest.err
>&5
17522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17523 (exit $ac_status); } &&
17524 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17526 (eval $ac_try) 2>&5
17528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17529 (exit $ac_status); }; } &&
17530 { ac_try
='test -s conftest$ac_exeext'
17531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17532 (eval $ac_try) 2>&5
17534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17535 (exit $ac_status); }; }; then
17536 ac_cv_lib_dld_shl_load
=yes
17538 echo "$as_me: failed program was:" >&5
17539 sed 's/^/| /' conftest.
$ac_ext >&5
17541 ac_cv_lib_dld_shl_load
=no
17543 rm -f conftest.err conftest.
$ac_objext \
17544 conftest
$ac_exeext conftest.
$ac_ext
17545 LIBS
=$ac_check_lib_save_LIBS
17547 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
17548 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
17549 if test $ac_cv_lib_dld_shl_load = yes; then
17550 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
17552 echo "$as_me:$LINENO: checking for dlopen" >&5
17553 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
17554 if test "${ac_cv_func_dlopen+set}" = set; then
17555 echo $ECHO_N "(cached) $ECHO_C" >&6
17557 cat >conftest.
$ac_ext <<_ACEOF
17560 cat confdefs.h
>>conftest.
$ac_ext
17561 cat >>conftest.
$ac_ext <<_ACEOF
17562 /* end confdefs.h. */
17563 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
17564 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17565 #define dlopen innocuous_dlopen
17567 /* System header to define __stub macros and hopefully few prototypes,
17568 which can conflict with char dlopen (); below.
17569 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17570 <limits.h> exists even on freestanding compilers. */
17573 # include <limits.h>
17575 # include <assert.h>
17580 /* Override any gcc2 internal prototype to avoid an error. */
17585 /* We use char because int might match the return type of a gcc2
17586 builtin and then its argument prototype would still apply. */
17588 /* The GNU C library defines this for functions which it implements
17589 to always fail with ENOSYS. Some functions are actually named
17590 something starting with __ and the normal name is an alias. */
17591 #if defined (__stub_dlopen) || defined (__stub___dlopen)
17594 char (*f) () = dlopen;
17603 return f != dlopen;
17608 rm -f conftest.
$ac_objext conftest
$ac_exeext
17609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17610 (eval $ac_link) 2>conftest.er1
17612 grep -v '^ *+' conftest.er1
>conftest.err
17614 cat conftest.err
>&5
17615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17616 (exit $ac_status); } &&
17617 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17619 (eval $ac_try) 2>&5
17621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17622 (exit $ac_status); }; } &&
17623 { ac_try
='test -s conftest$ac_exeext'
17624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17625 (eval $ac_try) 2>&5
17627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17628 (exit $ac_status); }; }; then
17629 ac_cv_func_dlopen
=yes
17631 echo "$as_me: failed program was:" >&5
17632 sed 's/^/| /' conftest.
$ac_ext >&5
17634 ac_cv_func_dlopen
=no
17636 rm -f conftest.err conftest.
$ac_objext \
17637 conftest
$ac_exeext conftest.
$ac_ext
17639 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
17640 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
17641 if test $ac_cv_func_dlopen = yes; then
17642 lt_cv_dlopen
="dlopen"
17644 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17645 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
17646 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17647 echo $ECHO_N "(cached) $ECHO_C" >&6
17649 ac_check_lib_save_LIBS
=$LIBS
17651 cat >conftest.
$ac_ext <<_ACEOF
17654 cat confdefs.h
>>conftest.
$ac_ext
17655 cat >>conftest.
$ac_ext <<_ACEOF
17656 /* end confdefs.h. */
17658 /* Override any gcc2 internal prototype to avoid an error. */
17662 /* We use char because int might match the return type of a gcc2
17663 builtin and then its argument prototype would still apply. */
17673 rm -f conftest.
$ac_objext conftest
$ac_exeext
17674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17675 (eval $ac_link) 2>conftest.er1
17677 grep -v '^ *+' conftest.er1
>conftest.err
17679 cat conftest.err
>&5
17680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17681 (exit $ac_status); } &&
17682 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17684 (eval $ac_try) 2>&5
17686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17687 (exit $ac_status); }; } &&
17688 { ac_try
='test -s conftest$ac_exeext'
17689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17690 (eval $ac_try) 2>&5
17692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17693 (exit $ac_status); }; }; then
17694 ac_cv_lib_dl_dlopen
=yes
17696 echo "$as_me: failed program was:" >&5
17697 sed 's/^/| /' conftest.
$ac_ext >&5
17699 ac_cv_lib_dl_dlopen
=no
17701 rm -f conftest.err conftest.
$ac_objext \
17702 conftest
$ac_exeext conftest.
$ac_ext
17703 LIBS
=$ac_check_lib_save_LIBS
17705 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17706 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
17707 if test $ac_cv_lib_dl_dlopen = yes; then
17708 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
17710 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
17711 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
17712 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
17713 echo $ECHO_N "(cached) $ECHO_C" >&6
17715 ac_check_lib_save_LIBS
=$LIBS
17716 LIBS
="-lsvld $LIBS"
17717 cat >conftest.
$ac_ext <<_ACEOF
17720 cat confdefs.h
>>conftest.
$ac_ext
17721 cat >>conftest.
$ac_ext <<_ACEOF
17722 /* end confdefs.h. */
17724 /* Override any gcc2 internal prototype to avoid an error. */
17728 /* We use char because int might match the return type of a gcc2
17729 builtin and then its argument prototype would still apply. */
17739 rm -f conftest.
$ac_objext conftest
$ac_exeext
17740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17741 (eval $ac_link) 2>conftest.er1
17743 grep -v '^ *+' conftest.er1
>conftest.err
17745 cat conftest.err
>&5
17746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17747 (exit $ac_status); } &&
17748 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17750 (eval $ac_try) 2>&5
17752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17753 (exit $ac_status); }; } &&
17754 { ac_try
='test -s conftest$ac_exeext'
17755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17756 (eval $ac_try) 2>&5
17758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17759 (exit $ac_status); }; }; then
17760 ac_cv_lib_svld_dlopen
=yes
17762 echo "$as_me: failed program was:" >&5
17763 sed 's/^/| /' conftest.
$ac_ext >&5
17765 ac_cv_lib_svld_dlopen
=no
17767 rm -f conftest.err conftest.
$ac_objext \
17768 conftest
$ac_exeext conftest.
$ac_ext
17769 LIBS
=$ac_check_lib_save_LIBS
17771 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
17772 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
17773 if test $ac_cv_lib_svld_dlopen = yes; then
17774 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
17776 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
17777 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
17778 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
17779 echo $ECHO_N "(cached) $ECHO_C" >&6
17781 ac_check_lib_save_LIBS
=$LIBS
17783 cat >conftest.
$ac_ext <<_ACEOF
17786 cat confdefs.h
>>conftest.
$ac_ext
17787 cat >>conftest.
$ac_ext <<_ACEOF
17788 /* end confdefs.h. */
17790 /* Override any gcc2 internal prototype to avoid an error. */
17794 /* We use char because int might match the return type of a gcc2
17795 builtin and then its argument prototype would still apply. */
17805 rm -f conftest.
$ac_objext conftest
$ac_exeext
17806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17807 (eval $ac_link) 2>conftest.er1
17809 grep -v '^ *+' conftest.er1
>conftest.err
17811 cat conftest.err
>&5
17812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17813 (exit $ac_status); } &&
17814 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17816 (eval $ac_try) 2>&5
17818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17819 (exit $ac_status); }; } &&
17820 { ac_try
='test -s conftest$ac_exeext'
17821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17822 (eval $ac_try) 2>&5
17824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17825 (exit $ac_status); }; }; then
17826 ac_cv_lib_dld_dld_link
=yes
17828 echo "$as_me: failed program was:" >&5
17829 sed 's/^/| /' conftest.
$ac_ext >&5
17831 ac_cv_lib_dld_dld_link
=no
17833 rm -f conftest.err conftest.
$ac_objext \
17834 conftest
$ac_exeext conftest.
$ac_ext
17835 LIBS
=$ac_check_lib_save_LIBS
17837 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
17838 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
17839 if test $ac_cv_lib_dld_dld_link = yes; then
17840 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
17861 if test "x$lt_cv_dlopen" != xno
; then
17867 case $lt_cv_dlopen in
17869 save_CPPFLAGS
="$CPPFLAGS"
17870 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
17872 save_LDFLAGS
="$LDFLAGS"
17873 eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
17876 LIBS
="$lt_cv_dlopen_libs $LIBS"
17878 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
17879 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
17880 if test "${lt_cv_dlopen_self+set}" = set; then
17881 echo $ECHO_N "(cached) $ECHO_C" >&6
17883 if test "$cross_compiling" = yes; then :
17884 lt_cv_dlopen_self
=cross
17886 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
17887 lt_status
=$lt_dlunknown
17888 cat > conftest.
$ac_ext <<EOF
17889 #line 17889 "configure"
17890 #include "confdefs.h"
17899 # define LT_DLGLOBAL RTLD_GLOBAL
17902 # define LT_DLGLOBAL DL_GLOBAL
17904 # define LT_DLGLOBAL 0
17908 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17909 find out it does not work in some platform. */
17910 #ifndef LT_DLLAZY_OR_NOW
17912 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17915 # define LT_DLLAZY_OR_NOW DL_LAZY
17918 # define LT_DLLAZY_OR_NOW RTLD_NOW
17921 # define LT_DLLAZY_OR_NOW DL_NOW
17923 # define LT_DLLAZY_OR_NOW 0
17931 extern "C" void exit (int);
17934 void fnord() { int i=42;}
17937 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17938 int status = $lt_dlunknown;
17942 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17943 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17944 /* dlclose (self); */
17950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17951 (eval $ac_link) 2>&5
17953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17954 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
17955 (.
/conftest
; exit; ) 2>/dev
/null
17957 case x
$lt_status in
17958 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
17959 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
17960 x
$lt_unknown|x
*) lt_cv_dlopen_self
=no
;;
17963 # compilation failed
17964 lt_cv_dlopen_self
=no
17971 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
17972 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
17974 if test "x$lt_cv_dlopen_self" = xyes
; then
17975 LDFLAGS
="$LDFLAGS $link_static_flag"
17976 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
17977 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
17978 if test "${lt_cv_dlopen_self_static+set}" = set; then
17979 echo $ECHO_N "(cached) $ECHO_C" >&6
17981 if test "$cross_compiling" = yes; then :
17982 lt_cv_dlopen_self_static
=cross
17984 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
17985 lt_status
=$lt_dlunknown
17986 cat > conftest.
$ac_ext <<EOF
17987 #line 17987 "configure"
17988 #include "confdefs.h"
17997 # define LT_DLGLOBAL RTLD_GLOBAL
18000 # define LT_DLGLOBAL DL_GLOBAL
18002 # define LT_DLGLOBAL 0
18006 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
18007 find out it does not work in some platform. */
18008 #ifndef LT_DLLAZY_OR_NOW
18010 # define LT_DLLAZY_OR_NOW RTLD_LAZY
18013 # define LT_DLLAZY_OR_NOW DL_LAZY
18016 # define LT_DLLAZY_OR_NOW RTLD_NOW
18019 # define LT_DLLAZY_OR_NOW DL_NOW
18021 # define LT_DLLAZY_OR_NOW 0
18029 extern "C" void exit (int);
18032 void fnord() { int i=42;}
18035 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18036 int status = $lt_dlunknown;
18040 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
18041 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
18042 /* dlclose (self); */
18048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18049 (eval $ac_link) 2>&5
18051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18052 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
18053 (.
/conftest
; exit; ) 2>/dev
/null
18055 case x
$lt_status in
18056 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
18057 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
18058 x
$lt_unknown|x
*) lt_cv_dlopen_self_static
=no
;;
18061 # compilation failed
18062 lt_cv_dlopen_self_static
=no
18069 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
18070 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
18073 CPPFLAGS
="$save_CPPFLAGS"
18074 LDFLAGS
="$save_LDFLAGS"
18079 case $lt_cv_dlopen_self in
18080 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
18081 *) enable_dlopen_self
=unknown
;;
18084 case $lt_cv_dlopen_self_static in
18085 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
18086 *) enable_dlopen_self_static
=unknown
;;
18091 # The else clause should only fire when bootstrapping the
18092 # libtool distribution, otherwise you forgot to ship ltmain.sh
18093 # with your package, and you will get complaints that there are
18094 # no rules to generate ltmain.sh.
18095 if test -f "$ltmain"; then
18096 # See if we are running on zsh, and set the options which allow our commands through
18097 # without removal of \ escapes.
18098 if test -n "${ZSH_VERSION+set}" ; then
18099 setopt NO_GLOB_SUBST
18101 # Now quote all the things that may contain metacharacters while being
18102 # careful not to overquote the AC_SUBSTed values. We take copies of the
18103 # variables and quote the copies for generation of the libtool script.
18104 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
18106 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18107 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18108 deplibs_check_method reload_flag reload_cmds need_locks \
18109 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18110 lt_cv_sys_global_symbol_to_c_name_address \
18111 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18112 old_postinstall_cmds old_postuninstall_cmds \
18116 lt_prog_compiler_wl_GCJ \
18117 lt_prog_compiler_pic_GCJ \
18118 lt_prog_compiler_static_GCJ \
18119 lt_prog_compiler_no_builtin_flag_GCJ \
18120 export_dynamic_flag_spec_GCJ \
18121 thread_safe_flag_spec_GCJ \
18122 whole_archive_flag_spec_GCJ \
18123 enable_shared_with_static_runtimes_GCJ \
18124 old_archive_cmds_GCJ \
18125 old_archive_from_new_cmds_GCJ \
18126 predep_objects_GCJ \
18127 postdep_objects_GCJ \
18130 compiler_lib_search_path_GCJ \
18132 archive_expsym_cmds_GCJ \
18133 postinstall_cmds_GCJ \
18134 postuninstall_cmds_GCJ \
18135 old_archive_from_expsyms_cmds_GCJ \
18136 allow_undefined_flag_GCJ \
18137 no_undefined_flag_GCJ \
18138 export_symbols_cmds_GCJ \
18139 hardcode_libdir_flag_spec_GCJ \
18140 hardcode_libdir_flag_spec_ld_GCJ \
18141 hardcode_libdir_separator_GCJ \
18142 hardcode_automatic_GCJ \
18144 module_expsym_cmds_GCJ \
18145 lt_cv_prog_compiler_c_o_GCJ \
18146 exclude_expsyms_GCJ \
18147 include_expsyms_GCJ
; do
18150 old_archive_cmds_GCJ | \
18151 old_archive_from_new_cmds_GCJ | \
18152 archive_cmds_GCJ | \
18153 archive_expsym_cmds_GCJ | \
18154 module_cmds_GCJ | \
18155 module_expsym_cmds_GCJ | \
18156 old_archive_from_expsyms_cmds_GCJ | \
18157 export_symbols_cmds_GCJ | \
18158 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18159 postinstall_cmds | postuninstall_cmds | \
18160 old_postinstall_cmds | old_postuninstall_cmds | \
18161 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18162 # Double-quote double-evaled strings.
18163 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18166 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18172 *'\$0 --fallback-echo"')
18173 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18179 cat <<__EOF__ >> "$cfgfile"
18180 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18182 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18184 # Shell to use when invoking shell scripts.
18187 # Whether or not to build shared libraries.
18188 build_libtool_libs=$enable_shared
18190 # Whether or not to build static libraries.
18191 build_old_libs=$enable_static
18193 # Whether or not to add -lc for building shared libraries.
18194 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
18196 # Whether or not to disallow shared libs when runtime libs are static
18197 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
18199 # Whether or not to optimize for fast installation.
18200 fast_install=$enable_fast_install
18203 host_alias=$host_alias
18206 # An echo program that does not interpret backslashes.
18211 AR_FLAGS=$lt_AR_FLAGS
18216 # A language-specific compiler.
18217 CC=$lt_compiler_GCJ
18219 # Is the compiler the GNU C compiler?
18225 # The linker used to build libraries.
18228 # Whether we need hard or soft links.
18231 # A BSD-compatible nm program.
18234 # A symbol stripping program
18237 # Used to examine libraries when file_magic_cmd begins "file"
18238 MAGIC_CMD=$MAGIC_CMD
18240 # Used on cygwin: DLL creation program.
18243 # Used on cygwin: object dumper.
18246 # Used on cygwin: assembler.
18249 # The name of the directory that contains temporary libtool files.
18252 # How to create reloadable object files.
18253 reload_flag=$lt_reload_flag
18254 reload_cmds=$lt_reload_cmds
18256 # How to pass a linker flag through the compiler.
18257 wl=$lt_lt_prog_compiler_wl_GCJ
18259 # Object file suffix (normally "o").
18260 objext="$ac_objext"
18262 # Old archive suffix (normally "a").
18265 # Shared library suffix (normally ".so").
18268 # Executable file suffix (normally "").
18271 # Additional compiler flags for building library objects.
18272 pic_flag=$lt_lt_prog_compiler_pic_GCJ
18275 # What is the maximum length of a command?
18276 max_cmd_len=$lt_cv_sys_max_cmd_len
18278 # Does compiler simultaneously support -c and -o options?
18279 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
18281 # Must we lock files when doing compilation ?
18282 need_locks=$lt_need_locks
18284 # Do we need the lib prefix for modules?
18285 need_lib_prefix=$need_lib_prefix
18287 # Do we need a version for libraries?
18288 need_version=$need_version
18290 # Whether dlopen is supported.
18291 dlopen_support=$enable_dlopen
18293 # Whether dlopen of programs is supported.
18294 dlopen_self=$enable_dlopen_self
18296 # Whether dlopen of statically linked programs is supported.
18297 dlopen_self_static=$enable_dlopen_self_static
18299 # Compiler flag to prevent dynamic linking.
18300 link_static_flag=$lt_lt_prog_compiler_static_GCJ
18302 # Compiler flag to turn off builtin functions.
18303 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
18305 # Compiler flag to allow reflexive dlopens.
18306 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
18308 # Compiler flag to generate shared objects directly from archives.
18309 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
18311 # Compiler flag to generate thread-safe objects.
18312 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
18314 # Library versioning type.
18315 version_type=$version_type
18317 # Format of library name prefix.
18318 libname_spec=$lt_libname_spec
18320 # List of archive names. First name is the real one, the rest are links.
18321 # The last name is the one that the linker finds with -lNAME.
18322 library_names_spec=$lt_library_names_spec
18324 # The coded name of the library, if different from the real name.
18325 soname_spec=$lt_soname_spec
18327 # Commands used to build and install an old-style archive.
18329 old_archive_cmds=$lt_old_archive_cmds_GCJ
18330 old_postinstall_cmds=$lt_old_postinstall_cmds
18331 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18333 # Create an old-style archive from a shared archive.
18334 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
18336 # Create a temporary old-style archive to link instead of a shared archive.
18337 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
18339 # Commands used to build and install a shared archive.
18340 archive_cmds=$lt_archive_cmds_GCJ
18341 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
18342 postinstall_cmds=$lt_postinstall_cmds
18343 postuninstall_cmds=$lt_postuninstall_cmds
18345 # Commands used to build a loadable module (assumed same as above if empty)
18346 module_cmds=$lt_module_cmds_GCJ
18347 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
18349 # Commands to strip libraries.
18350 old_striplib=$lt_old_striplib
18351 striplib=$lt_striplib
18353 # Dependencies to place before the objects being linked to create a
18355 predep_objects=$lt_predep_objects_GCJ
18357 # Dependencies to place after the objects being linked to create a
18359 postdep_objects=$lt_postdep_objects_GCJ
18361 # Dependencies to place before the objects being linked to create a
18363 predeps=$lt_predeps_GCJ
18365 # Dependencies to place after the objects being linked to create a
18367 postdeps=$lt_postdeps_GCJ
18369 # The library search path used internally by the compiler when linking
18370 # a shared library.
18371 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
18373 # Method to check whether dependent libraries are shared objects.
18374 deplibs_check_method=$lt_deplibs_check_method
18376 # Command to use when deplibs_check_method == file_magic.
18377 file_magic_cmd=$lt_file_magic_cmd
18379 # Flag that allows shared libraries with undefined symbols to be built.
18380 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
18382 # Flag that forces no undefined symbols.
18383 no_undefined_flag=$lt_no_undefined_flag_GCJ
18385 # Commands used to finish a libtool library installation in a directory.
18386 finish_cmds=$lt_finish_cmds
18388 # Same as above, but a single script fragment to be evaled but not shown.
18389 finish_eval=$lt_finish_eval
18391 # Take the output of nm and produce a listing of raw symbols and C names.
18392 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18394 # Transform the output of nm in a proper C declaration
18395 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18397 # Transform the output of nm in a C name address pair
18398 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18400 # This is the shared library runtime path variable.
18401 runpath_var=$runpath_var
18403 # This is the shared library path variable.
18404 shlibpath_var=$shlibpath_var
18406 # Is shlibpath searched before the hard-coded library search path?
18407 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18409 # How to hardcode a shared library path into an executable.
18410 hardcode_action=$hardcode_action_GCJ
18412 # Whether we should hardcode library paths into libraries.
18413 hardcode_into_libs=$hardcode_into_libs
18415 # Flag to hardcode \$libdir into a binary during linking.
18416 # This must work even if \$libdir does not exist.
18417 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
18419 # If ld is used when linking, flag to hardcode \$libdir into
18420 # a binary during linking. This must work even if \$libdir does
18422 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
18424 # Whether we need a single -rpath flag with a separated argument.
18425 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
18427 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18428 # resulting binary.
18429 hardcode_direct=$hardcode_direct_GCJ
18431 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18432 # resulting binary.
18433 hardcode_minus_L=$hardcode_minus_L_GCJ
18435 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18436 # the resulting binary.
18437 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
18439 # Set to yes if building a shared library automatically hardcodes DIR into the library
18440 # and all subsequent libraries and executables linked against it.
18441 hardcode_automatic=$hardcode_automatic_GCJ
18443 # Variables whose values should be saved in libtool wrapper scripts and
18444 # restored at relink time.
18445 variables_saved_for_relink="$variables_saved_for_relink"
18447 # Whether libtool must link a program against all its dependency libraries.
18448 link_all_deplibs=$link_all_deplibs_GCJ
18450 # Compile-time system search path for libraries
18451 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18453 # Run-time system search path for libraries
18454 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18456 # Fix the shell variable \$srcfile for the compiler.
18457 fix_srcfile_path="$fix_srcfile_path_GCJ"
18459 # Set to yes if exported symbols are required.
18460 always_export_symbols=$always_export_symbols_GCJ
18462 # The commands to list exported symbols.
18463 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
18465 # The commands to extract the exported symbol list from a shared archive.
18466 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18468 # Symbols that should not be listed in the preloaded symbols.
18469 exclude_expsyms=$lt_exclude_expsyms_GCJ
18471 # Symbols that must always be exported.
18472 include_expsyms=$lt_include_expsyms_GCJ
18474 # ### END LIBTOOL TAG CONFIG: $tagname
18480 # If there is no Makefile yet, we rely on a make rule to execute
18481 # `config.status --recheck' to rerun these tests and create the
18482 # libtool script then.
18483 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18484 if test -f "$ltmain_in"; then
18485 test -f Makefile
&& make "$ltmain"
18491 ac_cpp
='$CPP $CPPFLAGS'
18492 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18493 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18494 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18507 # Source file extension for RC test sources.
18510 # Object file extension for compiled RC test sources.
18514 # Code to be used in simple compile tests
18515 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
18517 # Code to be used in simple link tests
18518 lt_simple_link_test_code
="$lt_simple_compile_test_code"
18520 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18522 # If no C compiler was specified, use CC.
18525 # Allow CC to be a program name with arguments.
18529 # Allow CC to be a program name with arguments.
18534 lt_cv_prog_compiler_c_o_RC
=yes
18536 # The else clause should only fire when bootstrapping the
18537 # libtool distribution, otherwise you forgot to ship ltmain.sh
18538 # with your package, and you will get complaints that there are
18539 # no rules to generate ltmain.sh.
18540 if test -f "$ltmain"; then
18541 # See if we are running on zsh, and set the options which allow our commands through
18542 # without removal of \ escapes.
18543 if test -n "${ZSH_VERSION+set}" ; then
18544 setopt NO_GLOB_SUBST
18546 # Now quote all the things that may contain metacharacters while being
18547 # careful not to overquote the AC_SUBSTed values. We take copies of the
18548 # variables and quote the copies for generation of the libtool script.
18549 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
18551 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18552 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18553 deplibs_check_method reload_flag reload_cmds need_locks \
18554 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18555 lt_cv_sys_global_symbol_to_c_name_address \
18556 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18557 old_postinstall_cmds old_postuninstall_cmds \
18561 lt_prog_compiler_wl_RC \
18562 lt_prog_compiler_pic_RC \
18563 lt_prog_compiler_static_RC \
18564 lt_prog_compiler_no_builtin_flag_RC \
18565 export_dynamic_flag_spec_RC \
18566 thread_safe_flag_spec_RC \
18567 whole_archive_flag_spec_RC \
18568 enable_shared_with_static_runtimes_RC \
18569 old_archive_cmds_RC \
18570 old_archive_from_new_cmds_RC \
18571 predep_objects_RC \
18572 postdep_objects_RC \
18575 compiler_lib_search_path_RC \
18577 archive_expsym_cmds_RC \
18578 postinstall_cmds_RC \
18579 postuninstall_cmds_RC \
18580 old_archive_from_expsyms_cmds_RC \
18581 allow_undefined_flag_RC \
18582 no_undefined_flag_RC \
18583 export_symbols_cmds_RC \
18584 hardcode_libdir_flag_spec_RC \
18585 hardcode_libdir_flag_spec_ld_RC \
18586 hardcode_libdir_separator_RC \
18587 hardcode_automatic_RC \
18589 module_expsym_cmds_RC \
18590 lt_cv_prog_compiler_c_o_RC \
18591 exclude_expsyms_RC \
18592 include_expsyms_RC
; do
18595 old_archive_cmds_RC | \
18596 old_archive_from_new_cmds_RC | \
18597 archive_cmds_RC | \
18598 archive_expsym_cmds_RC | \
18600 module_expsym_cmds_RC | \
18601 old_archive_from_expsyms_cmds_RC | \
18602 export_symbols_cmds_RC | \
18603 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18604 postinstall_cmds | postuninstall_cmds | \
18605 old_postinstall_cmds | old_postuninstall_cmds | \
18606 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18607 # Double-quote double-evaled strings.
18608 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18611 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18617 *'\$0 --fallback-echo"')
18618 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18624 cat <<__EOF__ >> "$cfgfile"
18625 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18627 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18629 # Shell to use when invoking shell scripts.
18632 # Whether or not to build shared libraries.
18633 build_libtool_libs=$enable_shared
18635 # Whether or not to build static libraries.
18636 build_old_libs=$enable_static
18638 # Whether or not to add -lc for building shared libraries.
18639 build_libtool_need_lc=$archive_cmds_need_lc_RC
18641 # Whether or not to disallow shared libs when runtime libs are static
18642 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
18644 # Whether or not to optimize for fast installation.
18645 fast_install=$enable_fast_install
18648 host_alias=$host_alias
18651 # An echo program that does not interpret backslashes.
18656 AR_FLAGS=$lt_AR_FLAGS
18661 # A language-specific compiler.
18664 # Is the compiler the GNU C compiler?
18670 # The linker used to build libraries.
18673 # Whether we need hard or soft links.
18676 # A BSD-compatible nm program.
18679 # A symbol stripping program
18682 # Used to examine libraries when file_magic_cmd begins "file"
18683 MAGIC_CMD=$MAGIC_CMD
18685 # Used on cygwin: DLL creation program.
18688 # Used on cygwin: object dumper.
18691 # Used on cygwin: assembler.
18694 # The name of the directory that contains temporary libtool files.
18697 # How to create reloadable object files.
18698 reload_flag=$lt_reload_flag
18699 reload_cmds=$lt_reload_cmds
18701 # How to pass a linker flag through the compiler.
18702 wl=$lt_lt_prog_compiler_wl_RC
18704 # Object file suffix (normally "o").
18705 objext="$ac_objext"
18707 # Old archive suffix (normally "a").
18710 # Shared library suffix (normally ".so").
18713 # Executable file suffix (normally "").
18716 # Additional compiler flags for building library objects.
18717 pic_flag=$lt_lt_prog_compiler_pic_RC
18720 # What is the maximum length of a command?
18721 max_cmd_len=$lt_cv_sys_max_cmd_len
18723 # Does compiler simultaneously support -c and -o options?
18724 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
18726 # Must we lock files when doing compilation ?
18727 need_locks=$lt_need_locks
18729 # Do we need the lib prefix for modules?
18730 need_lib_prefix=$need_lib_prefix
18732 # Do we need a version for libraries?
18733 need_version=$need_version
18735 # Whether dlopen is supported.
18736 dlopen_support=$enable_dlopen
18738 # Whether dlopen of programs is supported.
18739 dlopen_self=$enable_dlopen_self
18741 # Whether dlopen of statically linked programs is supported.
18742 dlopen_self_static=$enable_dlopen_self_static
18744 # Compiler flag to prevent dynamic linking.
18745 link_static_flag=$lt_lt_prog_compiler_static_RC
18747 # Compiler flag to turn off builtin functions.
18748 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
18750 # Compiler flag to allow reflexive dlopens.
18751 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
18753 # Compiler flag to generate shared objects directly from archives.
18754 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
18756 # Compiler flag to generate thread-safe objects.
18757 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
18759 # Library versioning type.
18760 version_type=$version_type
18762 # Format of library name prefix.
18763 libname_spec=$lt_libname_spec
18765 # List of archive names. First name is the real one, the rest are links.
18766 # The last name is the one that the linker finds with -lNAME.
18767 library_names_spec=$lt_library_names_spec
18769 # The coded name of the library, if different from the real name.
18770 soname_spec=$lt_soname_spec
18772 # Commands used to build and install an old-style archive.
18774 old_archive_cmds=$lt_old_archive_cmds_RC
18775 old_postinstall_cmds=$lt_old_postinstall_cmds
18776 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18778 # Create an old-style archive from a shared archive.
18779 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
18781 # Create a temporary old-style archive to link instead of a shared archive.
18782 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
18784 # Commands used to build and install a shared archive.
18785 archive_cmds=$lt_archive_cmds_RC
18786 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
18787 postinstall_cmds=$lt_postinstall_cmds
18788 postuninstall_cmds=$lt_postuninstall_cmds
18790 # Commands used to build a loadable module (assumed same as above if empty)
18791 module_cmds=$lt_module_cmds_RC
18792 module_expsym_cmds=$lt_module_expsym_cmds_RC
18794 # Commands to strip libraries.
18795 old_striplib=$lt_old_striplib
18796 striplib=$lt_striplib
18798 # Dependencies to place before the objects being linked to create a
18800 predep_objects=$lt_predep_objects_RC
18802 # Dependencies to place after the objects being linked to create a
18804 postdep_objects=$lt_postdep_objects_RC
18806 # Dependencies to place before the objects being linked to create a
18808 predeps=$lt_predeps_RC
18810 # Dependencies to place after the objects being linked to create a
18812 postdeps=$lt_postdeps_RC
18814 # The library search path used internally by the compiler when linking
18815 # a shared library.
18816 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
18818 # Method to check whether dependent libraries are shared objects.
18819 deplibs_check_method=$lt_deplibs_check_method
18821 # Command to use when deplibs_check_method == file_magic.
18822 file_magic_cmd=$lt_file_magic_cmd
18824 # Flag that allows shared libraries with undefined symbols to be built.
18825 allow_undefined_flag=$lt_allow_undefined_flag_RC
18827 # Flag that forces no undefined symbols.
18828 no_undefined_flag=$lt_no_undefined_flag_RC
18830 # Commands used to finish a libtool library installation in a directory.
18831 finish_cmds=$lt_finish_cmds
18833 # Same as above, but a single script fragment to be evaled but not shown.
18834 finish_eval=$lt_finish_eval
18836 # Take the output of nm and produce a listing of raw symbols and C names.
18837 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18839 # Transform the output of nm in a proper C declaration
18840 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18842 # Transform the output of nm in a C name address pair
18843 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18845 # This is the shared library runtime path variable.
18846 runpath_var=$runpath_var
18848 # This is the shared library path variable.
18849 shlibpath_var=$shlibpath_var
18851 # Is shlibpath searched before the hard-coded library search path?
18852 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18854 # How to hardcode a shared library path into an executable.
18855 hardcode_action=$hardcode_action_RC
18857 # Whether we should hardcode library paths into libraries.
18858 hardcode_into_libs=$hardcode_into_libs
18860 # Flag to hardcode \$libdir into a binary during linking.
18861 # This must work even if \$libdir does not exist.
18862 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
18864 # If ld is used when linking, flag to hardcode \$libdir into
18865 # a binary during linking. This must work even if \$libdir does
18867 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
18869 # Whether we need a single -rpath flag with a separated argument.
18870 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
18872 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18873 # resulting binary.
18874 hardcode_direct=$hardcode_direct_RC
18876 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18877 # resulting binary.
18878 hardcode_minus_L=$hardcode_minus_L_RC
18880 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18881 # the resulting binary.
18882 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
18884 # Set to yes if building a shared library automatically hardcodes DIR into the library
18885 # and all subsequent libraries and executables linked against it.
18886 hardcode_automatic=$hardcode_automatic_RC
18888 # Variables whose values should be saved in libtool wrapper scripts and
18889 # restored at relink time.
18890 variables_saved_for_relink="$variables_saved_for_relink"
18892 # Whether libtool must link a program against all its dependency libraries.
18893 link_all_deplibs=$link_all_deplibs_RC
18895 # Compile-time system search path for libraries
18896 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18898 # Run-time system search path for libraries
18899 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18901 # Fix the shell variable \$srcfile for the compiler.
18902 fix_srcfile_path="$fix_srcfile_path_RC"
18904 # Set to yes if exported symbols are required.
18905 always_export_symbols=$always_export_symbols_RC
18907 # The commands to list exported symbols.
18908 export_symbols_cmds=$lt_export_symbols_cmds_RC
18910 # The commands to extract the exported symbol list from a shared archive.
18911 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18913 # Symbols that should not be listed in the preloaded symbols.
18914 exclude_expsyms=$lt_exclude_expsyms_RC
18916 # Symbols that must always be exported.
18917 include_expsyms=$lt_include_expsyms_RC
18919 # ### END LIBTOOL TAG CONFIG: $tagname
18925 # If there is no Makefile yet, we rely on a make rule to execute
18926 # `config.status --recheck' to rerun these tests and create the
18927 # libtool script then.
18928 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18929 if test -f "$ltmain_in"; then
18930 test -f Makefile
&& make "$ltmain"
18936 ac_cpp
='$CPP $CPPFLAGS'
18937 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18938 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18939 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18946 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
18947 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
18948 { (exit 1); exit 1; }; }
18952 # Append the new tag name to the list of available tags.
18953 if test -n "$tagname" ; then
18954 available_tags
="$available_tags $tagname"
18960 # Now substitute the updated list of available tags.
18961 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
18962 mv "${ofile}T" "$ofile"
18966 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
18967 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
18968 { (exit 1); exit 1; }; }
18974 # This can be used to rebuild libtool when needed
18975 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
18977 # Always use our own libtool.
18978 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
18980 # Prevent multiple expansion
19013 if test "$GCC" = yes
19018 while test $# -gt 0
19022 if test "$GCC" = yes
19026 CFLAGS
="$CFLAGS $1"
19041 -fomit-frame-pointer)
19049 CFLAGS
="$CFLAGS $1"
19056 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19057 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
19058 if test "${ac_cv_header_stdc+set}" = set; then
19059 echo $ECHO_N "(cached) $ECHO_C" >&6
19061 cat >conftest.
$ac_ext <<_ACEOF
19064 cat confdefs.h
>>conftest.
$ac_ext
19065 cat >>conftest.
$ac_ext <<_ACEOF
19066 /* end confdefs.h. */
19067 #include <stdlib.h>
19068 #include <stdarg.h>
19069 #include <string.h>
19080 rm -f conftest.
$ac_objext
19081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19082 (eval $ac_compile) 2>conftest.er1
19084 grep -v '^ *+' conftest.er1
>conftest.err
19086 cat conftest.err
>&5
19087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19088 (exit $ac_status); } &&
19089 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19091 (eval $ac_try) 2>&5
19093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19094 (exit $ac_status); }; } &&
19095 { ac_try
='test -s conftest.$ac_objext'
19096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19097 (eval $ac_try) 2>&5
19099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19100 (exit $ac_status); }; }; then
19101 ac_cv_header_stdc
=yes
19103 echo "$as_me: failed program was:" >&5
19104 sed 's/^/| /' conftest.
$ac_ext >&5
19106 ac_cv_header_stdc
=no
19108 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19110 if test $ac_cv_header_stdc = yes; then
19111 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19112 cat >conftest.
$ac_ext <<_ACEOF
19115 cat confdefs.h
>>conftest.
$ac_ext
19116 cat >>conftest.
$ac_ext <<_ACEOF
19117 /* end confdefs.h. */
19118 #include <string.h>
19121 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19122 $EGREP "memchr" >/dev
/null
2>&1; then
19125 ac_cv_header_stdc
=no
19131 if test $ac_cv_header_stdc = yes; then
19132 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19133 cat >conftest.
$ac_ext <<_ACEOF
19136 cat confdefs.h
>>conftest.
$ac_ext
19137 cat >>conftest.
$ac_ext <<_ACEOF
19138 /* end confdefs.h. */
19139 #include <stdlib.h>
19142 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19143 $EGREP "free" >/dev
/null
2>&1; then
19146 ac_cv_header_stdc
=no
19152 if test $ac_cv_header_stdc = yes; then
19153 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19154 if test "$cross_compiling" = yes; then
19157 cat >conftest.
$ac_ext <<_ACEOF
19160 cat confdefs.h
>>conftest.
$ac_ext
19161 cat >>conftest.
$ac_ext <<_ACEOF
19162 /* end confdefs.h. */
19164 #if ((' ' & 0x0FF) == 0x020)
19165 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19166 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19168 # define ISLOWER(c) \
19169 (('a' <= (c) && (c) <= 'i') \
19170 || ('j' <= (c) && (c) <= 'r') \
19171 || ('s' <= (c) && (c) <= 'z'))
19172 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19175 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19180 for (i = 0; i < 256; i++)
19181 if (XOR (islower (i), ISLOWER (i))
19182 || toupper (i) != TOUPPER (i))
19187 rm -f conftest
$ac_exeext
19188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19189 (eval $ac_link) 2>&5
19191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19192 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19194 (eval $ac_try) 2>&5
19196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19197 (exit $ac_status); }; }; then
19200 echo "$as_me: program exited with status $ac_status" >&5
19201 echo "$as_me: failed program was:" >&5
19202 sed 's/^/| /' conftest.
$ac_ext >&5
19204 ( exit $ac_status )
19205 ac_cv_header_stdc
=no
19207 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19211 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19212 echo "${ECHO_T}$ac_cv_header_stdc" >&6
19213 if test $ac_cv_header_stdc = yes; then
19215 cat >>confdefs.h
<<\_ACEOF
19216 #define STDC_HEADERS 1
19223 for ac_header
in assert.h unistd.h
19225 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19226 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19227 echo "$as_me:$LINENO: checking for $ac_header" >&5
19228 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19229 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19230 echo $ECHO_N "(cached) $ECHO_C" >&6
19232 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19233 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19235 # Is the header compilable?
19236 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19237 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19238 cat >conftest.
$ac_ext <<_ACEOF
19241 cat confdefs.h
>>conftest.
$ac_ext
19242 cat >>conftest.
$ac_ext <<_ACEOF
19243 /* end confdefs.h. */
19244 $ac_includes_default
19245 #include <$ac_header>
19247 rm -f conftest.
$ac_objext
19248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19249 (eval $ac_compile) 2>conftest.er1
19251 grep -v '^ *+' conftest.er1
>conftest.err
19253 cat conftest.err
>&5
19254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19255 (exit $ac_status); } &&
19256 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19258 (eval $ac_try) 2>&5
19260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19261 (exit $ac_status); }; } &&
19262 { ac_try
='test -s conftest.$ac_objext'
19263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19264 (eval $ac_try) 2>&5
19266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19267 (exit $ac_status); }; }; then
19268 ac_header_compiler
=yes
19270 echo "$as_me: failed program was:" >&5
19271 sed 's/^/| /' conftest.
$ac_ext >&5
19273 ac_header_compiler
=no
19275 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19276 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19277 echo "${ECHO_T}$ac_header_compiler" >&6
19279 # Is the header present?
19280 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19281 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19282 cat >conftest.
$ac_ext <<_ACEOF
19285 cat confdefs.h
>>conftest.
$ac_ext
19286 cat >>conftest.
$ac_ext <<_ACEOF
19287 /* end confdefs.h. */
19288 #include <$ac_header>
19290 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19291 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19293 grep -v '^ *+' conftest.er1
>conftest.err
19295 cat conftest.err
>&5
19296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19297 (exit $ac_status); } >/dev
/null
; then
19298 if test -s conftest.err
; then
19299 ac_cpp_err
=$ac_c_preproc_warn_flag
19300 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19307 if test -z "$ac_cpp_err"; then
19308 ac_header_preproc
=yes
19310 echo "$as_me: failed program was:" >&5
19311 sed 's/^/| /' conftest.
$ac_ext >&5
19313 ac_header_preproc
=no
19315 rm -f conftest.err conftest.
$ac_ext
19316 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19317 echo "${ECHO_T}$ac_header_preproc" >&6
19319 # So? What about this header?
19320 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19322 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19323 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19324 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19325 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19326 ac_header_preproc
=yes
19329 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19330 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19331 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19332 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19333 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19334 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19335 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19336 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19337 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19338 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19339 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19340 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19343 ## ----------------------------------- ##
19344 ## Report this to support@underbit.com ##
19345 ## ----------------------------------- ##
19348 sed "s/^/$as_me: WARNING: /" >&2
19351 echo "$as_me:$LINENO: checking for $ac_header" >&5
19352 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19353 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19354 echo $ECHO_N "(cached) $ECHO_C" >&6
19356 eval "$as_ac_Header=\$ac_header_preproc"
19358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19359 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19362 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19363 cat >>confdefs.h
<<_ACEOF
19364 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19372 if test "${ac_cv_header_zlib_h+set}" = set; then
19373 echo "$as_me:$LINENO: checking for zlib.h" >&5
19374 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
19375 if test "${ac_cv_header_zlib_h+set}" = set; then
19376 echo $ECHO_N "(cached) $ECHO_C" >&6
19378 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
19379 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
19381 # Is the header compilable?
19382 echo "$as_me:$LINENO: checking zlib.h usability" >&5
19383 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
19384 cat >conftest.
$ac_ext <<_ACEOF
19387 cat confdefs.h
>>conftest.
$ac_ext
19388 cat >>conftest.
$ac_ext <<_ACEOF
19389 /* end confdefs.h. */
19390 $ac_includes_default
19393 rm -f conftest.
$ac_objext
19394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19395 (eval $ac_compile) 2>conftest.er1
19397 grep -v '^ *+' conftest.er1
>conftest.err
19399 cat conftest.err
>&5
19400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19401 (exit $ac_status); } &&
19402 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19404 (eval $ac_try) 2>&5
19406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19407 (exit $ac_status); }; } &&
19408 { ac_try
='test -s conftest.$ac_objext'
19409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19410 (eval $ac_try) 2>&5
19412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19413 (exit $ac_status); }; }; then
19414 ac_header_compiler
=yes
19416 echo "$as_me: failed program was:" >&5
19417 sed 's/^/| /' conftest.
$ac_ext >&5
19419 ac_header_compiler
=no
19421 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19422 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19423 echo "${ECHO_T}$ac_header_compiler" >&6
19425 # Is the header present?
19426 echo "$as_me:$LINENO: checking zlib.h presence" >&5
19427 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
19428 cat >conftest.
$ac_ext <<_ACEOF
19431 cat confdefs.h
>>conftest.
$ac_ext
19432 cat >>conftest.
$ac_ext <<_ACEOF
19433 /* end confdefs.h. */
19436 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19437 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19439 grep -v '^ *+' conftest.er1
>conftest.err
19441 cat conftest.err
>&5
19442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19443 (exit $ac_status); } >/dev
/null
; then
19444 if test -s conftest.err
; then
19445 ac_cpp_err
=$ac_c_preproc_warn_flag
19446 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19453 if test -z "$ac_cpp_err"; then
19454 ac_header_preproc
=yes
19456 echo "$as_me: failed program was:" >&5
19457 sed 's/^/| /' conftest.
$ac_ext >&5
19459 ac_header_preproc
=no
19461 rm -f conftest.err conftest.
$ac_ext
19462 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19463 echo "${ECHO_T}$ac_header_preproc" >&6
19465 # So? What about this header?
19466 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19468 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
19469 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19470 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
19471 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
19472 ac_header_preproc
=yes
19475 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
19476 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
19477 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
19478 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
19479 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
19480 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
19481 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
19482 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
19483 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
19484 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
19485 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
19486 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
19489 ## ----------------------------------- ##
19490 ## Report this to support@underbit.com ##
19491 ## ----------------------------------- ##
19494 sed "s/^/$as_me: WARNING: /" >&2
19497 echo "$as_me:$LINENO: checking for zlib.h" >&5
19498 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
19499 if test "${ac_cv_header_zlib_h+set}" = set; then
19500 echo $ECHO_N "(cached) $ECHO_C" >&6
19502 ac_cv_header_zlib_h
=$ac_header_preproc
19504 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
19505 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
19508 if test $ac_cv_header_zlib_h = yes; then
19512 { { echo "$as_me:$LINENO: error: zlib.h was not found
19513 *** You must first install zlib (libz) before you can build this package.
19514 *** If zlib is already installed, you may need to use the CPPFLAGS
19515 *** environment variable to specify its installed location, e.g. -I<dir>." >&5
19516 echo "$as_me: error: zlib.h was not found
19517 *** You must first install zlib (libz) before you can build this package.
19518 *** If zlib is already installed, you may need to use the CPPFLAGS
19519 *** environment variable to specify its installed location, e.g. -I<dir>." >&2;}
19520 { (exit 1); exit 1; }; }
19527 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19528 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
19529 if test "${ac_cv_c_const+set}" = set; then
19530 echo $ECHO_N "(cached) $ECHO_C" >&6
19532 cat >conftest.
$ac_ext <<_ACEOF
19535 cat confdefs.h
>>conftest.
$ac_ext
19536 cat >>conftest.
$ac_ext <<_ACEOF
19537 /* end confdefs.h. */
19542 /* FIXME: Include the comments suggested by Paul. */
19543 #ifndef __cplusplus
19544 /* Ultrix mips cc rejects this. */
19545 typedef int charset[2];
19547 /* SunOS 4.1.1 cc rejects this. */
19548 char const *const *ccp;
19550 /* NEC SVR4.0.2 mips cc rejects this. */
19551 struct point {int x, y;};
19552 static struct point const zero = {0,0};
19553 /* AIX XL C 1.02.0.0 rejects this.
19554 It does not let you subtract one const X* pointer from another in
19555 an arm of an if-expression whose if-part is not a constant
19557 const char *g = "string";
19558 ccp = &g + (g ? g-g : 0);
19559 /* HPUX 7.0 cc rejects these. */
19562 ccp = (char const *const *) p;
19563 { /* SCO 3.2v4 cc rejects this. */
19565 char const *s = 0 ? (char *) 0 : (char const *) 0;
19569 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19570 int x[] = {25, 17};
19571 const int *foo = &x[0];
19574 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19575 typedef const int *iptr;
19579 { /* AIX XL C 1.02.0.0 rejects this saying
19580 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19581 struct s { int j; const int *ap[3]; };
19582 struct s *b; b->j = 5;
19584 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19585 const int foo = 10;
19593 rm -f conftest.
$ac_objext
19594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19595 (eval $ac_compile) 2>conftest.er1
19597 grep -v '^ *+' conftest.er1
>conftest.err
19599 cat conftest.err
>&5
19600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19601 (exit $ac_status); } &&
19602 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19604 (eval $ac_try) 2>&5
19606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19607 (exit $ac_status); }; } &&
19608 { ac_try
='test -s conftest.$ac_objext'
19609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19610 (eval $ac_try) 2>&5
19612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19613 (exit $ac_status); }; }; then
19616 echo "$as_me: failed program was:" >&5
19617 sed 's/^/| /' conftest.
$ac_ext >&5
19621 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19623 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19624 echo "${ECHO_T}$ac_cv_c_const" >&6
19625 if test $ac_cv_c_const = no
; then
19627 cat >>confdefs.h
<<\_ACEOF
19633 echo "$as_me:$LINENO: checking for inline" >&5
19634 echo $ECHO_N "checking for inline... $ECHO_C" >&6
19635 if test "${ac_cv_c_inline+set}" = set; then
19636 echo $ECHO_N "(cached) $ECHO_C" >&6
19639 for ac_kw
in inline __inline__ __inline
; do
19640 cat >conftest.
$ac_ext <<_ACEOF
19643 cat confdefs.h
>>conftest.
$ac_ext
19644 cat >>conftest.
$ac_ext <<_ACEOF
19645 /* end confdefs.h. */
19646 #ifndef __cplusplus
19648 static $ac_kw foo_t static_foo () {return 0; }
19649 $ac_kw foo_t foo () {return 0; }
19653 rm -f conftest.
$ac_objext
19654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19655 (eval $ac_compile) 2>conftest.er1
19657 grep -v '^ *+' conftest.er1
>conftest.err
19659 cat conftest.err
>&5
19660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19661 (exit $ac_status); } &&
19662 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19664 (eval $ac_try) 2>&5
19666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19667 (exit $ac_status); }; } &&
19668 { ac_try
='test -s conftest.$ac_objext'
19669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19670 (eval $ac_try) 2>&5
19672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19673 (exit $ac_status); }; }; then
19674 ac_cv_c_inline
=$ac_kw; break
19676 echo "$as_me: failed program was:" >&5
19677 sed 's/^/| /' conftest.
$ac_ext >&5
19680 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19684 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19685 echo "${ECHO_T}$ac_cv_c_inline" >&6
19688 case $ac_cv_c_inline in
19691 case $ac_cv_c_inline in
19693 *) ac_val
=$ac_cv_c_inline;;
19695 cat >>confdefs.h
<<_ACEOF
19696 #ifndef __cplusplus
19697 #define inline $ac_val
19706 for ac_func
in ftruncate
19708 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19709 echo "$as_me:$LINENO: checking for $ac_func" >&5
19710 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19711 if eval "test \"\${$as_ac_var+set}\" = set"; then
19712 echo $ECHO_N "(cached) $ECHO_C" >&6
19714 cat >conftest.
$ac_ext <<_ACEOF
19717 cat confdefs.h
>>conftest.
$ac_ext
19718 cat >>conftest.
$ac_ext <<_ACEOF
19719 /* end confdefs.h. */
19720 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19721 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19722 #define $ac_func innocuous_$ac_func
19724 /* System header to define __stub macros and hopefully few prototypes,
19725 which can conflict with char $ac_func (); below.
19726 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19727 <limits.h> exists even on freestanding compilers. */
19730 # include <limits.h>
19732 # include <assert.h>
19737 /* Override any gcc2 internal prototype to avoid an error. */
19742 /* We use char because int might match the return type of a gcc2
19743 builtin and then its argument prototype would still apply. */
19745 /* The GNU C library defines this for functions which it implements
19746 to always fail with ENOSYS. Some functions are actually named
19747 something starting with __ and the normal name is an alias. */
19748 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19751 char (*f) () = $ac_func;
19760 return f != $ac_func;
19765 rm -f conftest.
$ac_objext conftest
$ac_exeext
19766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19767 (eval $ac_link) 2>conftest.er1
19769 grep -v '^ *+' conftest.er1
>conftest.err
19771 cat conftest.err
>&5
19772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19773 (exit $ac_status); } &&
19774 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19776 (eval $ac_try) 2>&5
19778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19779 (exit $ac_status); }; } &&
19780 { ac_try
='test -s conftest$ac_exeext'
19781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19782 (eval $ac_try) 2>&5
19784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19785 (exit $ac_status); }; }; then
19786 eval "$as_ac_var=yes"
19788 echo "$as_me: failed program was:" >&5
19789 sed 's/^/| /' conftest.
$ac_ext >&5
19791 eval "$as_ac_var=no"
19793 rm -f conftest.err conftest.
$ac_objext \
19794 conftest
$ac_exeext conftest.
$ac_ext
19796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19797 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19798 if test `eval echo '${'$as_ac_var'}'` = yes; then
19799 cat >>confdefs.h
<<_ACEOF
19800 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19808 echo "$as_me:$LINENO: checking for compress2 in -lz" >&5
19809 echo $ECHO_N "checking for compress2 in -lz... $ECHO_C" >&6
19810 if test "${ac_cv_lib_z_compress2+set}" = set; then
19811 echo $ECHO_N "(cached) $ECHO_C" >&6
19813 ac_check_lib_save_LIBS
=$LIBS
19815 cat >conftest.
$ac_ext <<_ACEOF
19818 cat confdefs.h
>>conftest.
$ac_ext
19819 cat >>conftest.
$ac_ext <<_ACEOF
19820 /* end confdefs.h. */
19822 /* Override any gcc2 internal prototype to avoid an error. */
19826 /* We use char because int might match the return type of a gcc2
19827 builtin and then its argument prototype would still apply. */
19837 rm -f conftest.
$ac_objext conftest
$ac_exeext
19838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19839 (eval $ac_link) 2>conftest.er1
19841 grep -v '^ *+' conftest.er1
>conftest.err
19843 cat conftest.err
>&5
19844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19845 (exit $ac_status); } &&
19846 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19848 (eval $ac_try) 2>&5
19850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19851 (exit $ac_status); }; } &&
19852 { ac_try
='test -s conftest$ac_exeext'
19853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19854 (eval $ac_try) 2>&5
19856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19857 (exit $ac_status); }; }; then
19858 ac_cv_lib_z_compress2
=yes
19860 echo "$as_me: failed program was:" >&5
19861 sed 's/^/| /' conftest.
$ac_ext >&5
19863 ac_cv_lib_z_compress2
=no
19865 rm -f conftest.err conftest.
$ac_objext \
19866 conftest
$ac_exeext conftest.
$ac_ext
19867 LIBS
=$ac_check_lib_save_LIBS
19869 echo "$as_me:$LINENO: result: $ac_cv_lib_z_compress2" >&5
19870 echo "${ECHO_T}$ac_cv_lib_z_compress2" >&6
19871 if test $ac_cv_lib_z_compress2 = yes; then
19872 cat >>confdefs.h
<<_ACEOF
19873 #define HAVE_LIBZ 1
19880 { { echo "$as_me:$LINENO: error: libz was not found
19881 *** You must first install zlib (libz) before you can build this package.
19882 *** If zlib is already installed, you may need to use the LDFLAGS
19883 *** environment variable to specify its installed location, e.g. -L<dir>." >&5
19884 echo "$as_me: error: libz was not found
19885 *** You must first install zlib (libz) before you can build this package.
19886 *** If zlib is already installed, you may need to use the LDFLAGS
19887 *** environment variable to specify its installed location, e.g. -L<dir>." >&2;}
19888 { (exit 1); exit 1; }; }
19894 cat >confcache
<<\_ACEOF
19895 # This file is a shell script that caches the results of configure
19896 # tests run on this system so they can be shared between configure
19897 # scripts and configure runs, see configure's option --config-cache.
19898 # It is not useful on other systems. If it contains results you don't
19899 # want to keep, you may remove or edit it.
19901 # config.status only pays attention to the cache file if you give it
19902 # the --recheck option to rerun configure.
19904 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19905 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19906 # following values.
19910 # The following way of writing the cache mishandles newlines in values,
19911 # but we know of no workaround that is simple, portable, and efficient.
19912 # So, don't put newlines in cache variables' values.
19913 # Ultrix sh set writes to stderr and can't be redirected directly,
19914 # and sets the high bit in the cache file unless we assign to the vars.
19917 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19919 # `set' does not quote correctly, so add quotes (double-quote
19920 # substitution turns \\\\ into \\, and sed turns \\ into \).
19923 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19926 # `set' quotes correctly as required by POSIX, so do not add quotes.
19928 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
19935 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19937 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19939 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
19940 if test -w $cache_file; then
19941 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
19942 cat confcache
>$cache_file
19944 echo "not updating unwritable cache $cache_file"
19949 echo "$as_me:$LINENO: checking whether to enable profiling" >&5
19950 echo $ECHO_N "checking whether to enable profiling... $ECHO_C" >&6
19951 # Check whether --enable-profiling or --disable-profiling was given.
19952 if test "${enable_profiling+set}" = set; then
19953 enableval
="$enable_profiling"
19955 case "$enableval" in
19956 yes) profile
="-pg" ;;
19960 echo "$as_me:$LINENO: result: ${enable_profiling-no}" >&5
19961 echo "${ECHO_T}${enable_profiling-no}" >&6
19963 echo "$as_me:$LINENO: checking whether to enable debugging" >&5
19964 echo $ECHO_N "checking whether to enable debugging... $ECHO_C" >&6
19965 # Check whether --enable-debugging or --disable-debugging was given.
19966 if test "${enable_debugging+set}" = set; then
19967 enableval
="$enable_debugging"
19969 case "$enableval" in
19972 cat >>confdefs.h
<<\_ACEOF
19979 if test -n "$profile"
19981 { { echo "$as_me:$LINENO: error: --enable-profiling and --disable-debugging are incompatible" >&5
19982 echo "$as_me: error: --enable-profiling and --disable-debugging are incompatible" >&2;}
19983 { (exit 1); exit 1; }; }
19987 cat >>confdefs.h
<<\_ACEOF
19992 if test "$GCC" = yes
19994 optimize
="$optimize -fomit-frame-pointer"
20000 echo "$as_me:$LINENO: result: ${enable_debugging-default}" >&5
20001 echo "${ECHO_T}${enable_debugging-default}" >&6
20004 if test ${enable_debugging-default} = yes; then
20014 test -n "$arch" && CFLAGS
="$CFLAGS $arch"
20015 test -n "$debug" && CFLAGS
="$CFLAGS $debug"
20016 test -n "$optimize" && CFLAGS
="$CFLAGS $optimize"
20017 test -n "$profile" && CFLAGS
="$CFLAGS $profile" LDFLAGS
="$LDFLAGS $profile"
20020 ac_config_files
="$ac_config_files Makefile msvc++/Makefile libid3tag.list"
20022 cat >confcache
<<\_ACEOF
20023 # This file is a shell script that caches the results of configure
20024 # tests run on this system so they can be shared between configure
20025 # scripts and configure runs, see configure's option --config-cache.
20026 # It is not useful on other systems. If it contains results you don't
20027 # want to keep, you may remove or edit it.
20029 # config.status only pays attention to the cache file if you give it
20030 # the --recheck option to rerun configure.
20032 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20033 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20034 # following values.
20038 # The following way of writing the cache mishandles newlines in values,
20039 # but we know of no workaround that is simple, portable, and efficient.
20040 # So, don't put newlines in cache variables' values.
20041 # Ultrix sh set writes to stderr and can't be redirected directly,
20042 # and sets the high bit in the cache file unless we assign to the vars.
20045 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20047 # `set' does not quote correctly, so add quotes (double-quote
20048 # substitution turns \\\\ into \\, and sed turns \\ into \).
20051 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20054 # `set' quotes correctly as required by POSIX, so do not add quotes.
20056 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20063 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20065 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20067 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
20068 if test -w $cache_file; then
20069 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20070 cat confcache
>$cache_file
20072 echo "not updating unwritable cache $cache_file"
20077 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20078 # Let make expand exec_prefix.
20079 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20081 # VPATH may cause trouble with some makes, so we remove $(srcdir),
20082 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
20083 # trailing colons and then remove the whole line if VPATH becomes empty
20084 # (actually we leave an empty line to preserve line numbers).
20085 if test "x$srcdir" = x.
; then
20086 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
20087 s/:*\$(srcdir):*/:/;
20088 s/:*\${srcdir}:*/:/;
20090 s/^\([^=]*=[ ]*\):*/\1/;
20096 DEFS
=-DHAVE_CONFIG_H
20100 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
20101 # 1. Remove the extension, and $U if already installed.
20102 ac_i
=`echo "$ac_i" |
20103 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
20105 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
20106 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
20108 LIBOBJS
=$ac_libobjs
20110 LTLIBOBJS
=$ac_ltlibobjs
20113 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
20114 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
20115 Usually this means the macro was only invoked conditionally." >&5
20116 echo "$as_me: error: conditional \"AMDEP\" was never defined.
20117 Usually this means the macro was only invoked conditionally." >&2;}
20118 { (exit 1); exit 1; }; }
20120 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20121 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
20122 Usually this means the macro was only invoked conditionally." >&5
20123 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
20124 Usually this means the macro was only invoked conditionally." >&2;}
20125 { (exit 1); exit 1; }; }
20127 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
20128 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
20129 Usually this means the macro was only invoked conditionally." >&5
20130 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
20131 Usually this means the macro was only invoked conditionally." >&2;}
20132 { (exit 1); exit 1; }; }
20134 if test -z "${DEBUG_TRUE}" && test -z "${DEBUG_FALSE}"; then
20135 { { echo "$as_me:$LINENO: error: conditional \"DEBUG\" was never defined.
20136 Usually this means the macro was only invoked conditionally." >&5
20137 echo "$as_me: error: conditional \"DEBUG\" was never defined.
20138 Usually this means the macro was only invoked conditionally." >&2;}
20139 { (exit 1); exit 1; }; }
20142 : ${CONFIG_STATUS=./config.status}
20143 ac_clean_files_save
=$ac_clean_files
20144 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
20145 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20146 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20147 cat >$CONFIG_STATUS <<_ACEOF
20149 # Generated by $as_me.
20150 # Run this file to recreate the current configuration.
20151 # Compiler output produced by configure, useful for debugging
20152 # configure, is in config.log if it exists.
20155 ac_cs_recheck=false
20157 SHELL=\${CONFIG_SHELL-$SHELL}
20160 cat >>$CONFIG_STATUS <<\_ACEOF
20161 ## --------------------- ##
20162 ## M4sh Initialization. ##
20163 ## --------------------- ##
20165 # Be Bourne compatible
20166 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20169 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20170 # is contrary to our usage. Disable this feature.
20171 alias -g '${1+"$@"}'='"$@"'
20172 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
20175 DUALCASE
=1; export DUALCASE
# for MKS sh
20177 # Support unset when possible.
20178 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
20185 # Work around bugs in pre-3.0 UWIN ksh.
20186 $as_unset ENV MAIL MAILPATH
20193 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20194 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20195 LC_TELEPHONE LC_TIME
20197 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20198 eval $as_var=C
; export $as_var
20204 # Required to use basename.
20205 if expr a
: '\(a\)' >/dev
/null
2>&1; then
20211 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
20212 as_basename
=basename
20218 # Name of the executable.
20219 as_me
=`$as_basename "$0" ||
20220 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20221 X"$0" : 'X\(//\)$' \| \
20222 X"$0" : 'X\(/\)$' \| \
20223 . : '\(.\)' 2>/dev/null ||
20225 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
20226 /^X\/\(\/\/\)$/{ s//\1/; q; }
20227 /^X\/\(\/\).*/{ s//\1/; q; }
20231 # PATH needs CR, and LINENO needs CR and PATH.
20232 # Avoid depending upon Character Ranges.
20233 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20234 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20235 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20236 as_cr_digits
='0123456789'
20237 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20239 # The user is always right.
20240 if test "${PATH_SEPARATOR+set}" != set; then
20241 echo "#! /bin/sh" >conf$$.sh
20242 echo "exit 0" >>conf$$.sh
20244 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
20253 as_lineno_1
=$LINENO
20254 as_lineno_2
=$LINENO
20255 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
20256 test "x$as_lineno_1" != "x$as_lineno_2" &&
20257 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
20258 # Find who we are. Look in the path if we contain no path at all
20261 *[\\/]* ) as_myself
=$0 ;;
20262 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20263 for as_dir
in $PATH
20266 test -z "$as_dir" && as_dir
=.
20267 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
20272 # We did not find ourselves, most probably we were run as `sh COMMAND'
20273 # in which case we are not to be found in the path.
20274 if test "x$as_myself" = x
; then
20277 if test ! -f "$as_myself"; then
20278 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
20279 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
20280 { (exit 1); exit 1; }; }
20282 case $CONFIG_SHELL in
20284 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20285 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
20288 test -z "$as_dir" && as_dir
=.
20289 for as_base
in sh bash ksh sh5
; do
20292 if ("$as_dir/$as_base" -c '
20293 as_lineno_1=$LINENO
20294 as_lineno_2=$LINENO
20295 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20296 test "x$as_lineno_1" != "x$as_lineno_2" &&
20297 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
20298 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
20299 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
20300 CONFIG_SHELL
=$as_dir/$as_base
20301 export CONFIG_SHELL
20302 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
20310 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20311 # uniformly replaced by the line number. The first 'sed' inserts a
20312 # line-number line before each line; the second 'sed' does the real
20313 # work. The second script uses 'N' to pair each line-number line
20314 # with the numbered line, and appends trailing '-' during
20315 # substitution so that $LINENO is not a special case at line end.
20316 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20317 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
20318 sed '=' <$as_myself |
20323 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
20326 s,^['$as_cr_digits']*\n,,
20327 ' >$as_me.lineno
&&
20328 chmod +x
$as_me.lineno ||
20329 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
20330 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
20331 { (exit 1); exit 1; }; }
20333 # Don't try to exec as it changes $[0], causing all sort of problems
20334 # (the dirname of $[0] is not the place where we might find the
20335 # original and so on. Autoconf is especially sensible to this).
20337 # Exit status is that of the last command.
20342 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
20343 *c
*,-n*) ECHO_N
= ECHO_C
='
20345 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
20346 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
20349 if expr a
: '\(a\)' >/dev
/null
2>&1; then
20355 rm -f conf$$ conf$$.exe conf$$.
file
20357 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20358 # We could just check for DJGPP; but this test a) works b) is more generic
20359 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
20360 if test -f conf$$.exe
; then
20361 # Don't use ln at all; we don't have any links
20366 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20371 rm -f conf$$ conf$$.exe conf$$.
file
20373 if mkdir
-p .
2>/dev
/null
; then
20376 test -d .
/-p && rmdir .
/-p
20380 as_executable_p
="test -f"
20382 # Sed expression to map a string onto a valid CPP name.
20383 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20385 # Sed expression to map a string onto a valid variable name.
20386 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20390 # We need space, tab and new line, in precisely that order.
20400 # Open the log real soon, to keep \$[0] and so on meaningful, and to
20401 # report actual input values of CONFIG_FILES etc. instead of their
20402 # values after options handling. Logging --version etc. is OK.
20406 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20407 ## Running $as_me. ##
20412 This file was extended by ID3 Tag $as_me 0.15.1b, which was
20413 generated by GNU Autoconf 2.59. Invocation command line was
20415 CONFIG_FILES = $CONFIG_FILES
20416 CONFIG_HEADERS = $CONFIG_HEADERS
20417 CONFIG_LINKS = $CONFIG_LINKS
20418 CONFIG_COMMANDS = $CONFIG_COMMANDS
20422 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
20426 # Files that config.status was made for.
20427 if test -n "$ac_config_files"; then
20428 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
20431 if test -n "$ac_config_headers"; then
20432 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
20435 if test -n "$ac_config_links"; then
20436 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
20439 if test -n "$ac_config_commands"; then
20440 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
20443 cat >>$CONFIG_STATUS <<\_ACEOF
20446 \`$as_me' instantiates files from templates according to the
20447 current configuration.
20449 Usage: $0 [OPTIONS] [FILE]...
20451 -h, --help print this help, then exit
20452 -V, --version print version number, then exit
20453 -q, --quiet do not print progress messages
20454 -d, --debug don't remove temporary files
20455 --recheck update $as_me by reconfiguring in the same conditions
20456 --file=FILE[:TEMPLATE]
20457 instantiate the configuration file FILE
20458 --header=FILE[:TEMPLATE]
20459 instantiate the configuration header FILE
20461 Configuration files:
20464 Configuration headers:
20467 Configuration commands:
20470 Report bugs to <bug-autoconf@gnu.org>."
20473 cat >>$CONFIG_STATUS <<_ACEOF
20475 ID3 Tag config.status 0.15.1b
20476 configured by $0, generated by GNU Autoconf 2.59,
20477 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
20479 Copyright (C) 2003 Free Software Foundation, Inc.
20480 This config.status script is free software; the Free Software Foundation
20481 gives unlimited permission to copy, distribute and modify it."
20486 cat >>$CONFIG_STATUS <<\_ACEOF
20487 # If no file are specified by the user, then we need to provide default
20488 # value. By we need to know if files were specified by the user.
20494 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
20495 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
20503 *) # This is not an option, so the user has probably given explicit
20506 ac_need_defaults
=false
;;
20510 # Handling of the options.
20512 cat >>$CONFIG_STATUS <<\_ACEOF
20513 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
20515 --version |
--vers* |
-V )
20516 echo "$ac_cs_version"; exit 0 ;;
20518 # Conflict between --help and --header
20519 { { echo "$as_me:$LINENO: error: ambiguous option: $1
20520 Try \`$0 --help' for more information." >&5
20521 echo "$as_me: error: ambiguous option: $1
20522 Try \`$0 --help' for more information." >&2;}
20523 { (exit 1); exit 1; }; };;
20524 --help |
--hel |
-h )
20525 echo "$ac_cs_usage"; exit 0 ;;
20526 --debug |
--d* |
-d )
20528 --file |
--fil |
--fi |
--f )
20530 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
20531 ac_need_defaults
=false
;;
20532 --header |
--heade |
--head |
--hea )
20534 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
20535 ac_need_defaults
=false
;;
20536 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
20537 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
20540 # This is an error.
20541 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
20542 Try \`$0 --help' for more information." >&5
20543 echo "$as_me: error: unrecognized option: $1
20544 Try \`$0 --help' for more information." >&2;}
20545 { (exit 1); exit 1; }; } ;;
20547 *) ac_config_targets
="$ac_config_targets $1" ;;
20553 ac_configure_extra_args
=
20555 if $ac_cs_silent; then
20557 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20561 cat >>$CONFIG_STATUS <<_ACEOF
20562 if \$ac_cs_recheck; then
20563 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20564 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20569 cat >>$CONFIG_STATUS <<_ACEOF
20571 # INIT-COMMANDS section.
20574 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20580 cat >>$CONFIG_STATUS <<\_ACEOF
20581 for ac_config_target
in $ac_config_targets
20583 case "$ac_config_target" in
20584 # Handling of arguments.
20585 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
20586 "msvc++/Makefile" ) CONFIG_FILES
="$CONFIG_FILES msvc++/Makefile" ;;
20587 "libid3tag.list" ) CONFIG_FILES
="$CONFIG_FILES libid3tag.list" ;;
20588 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
20589 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
20590 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
20591 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
20592 { (exit 1); exit 1; }; };;
20596 # If the user did not use the arguments to specify the items to instantiate,
20597 # then the envvar interface is used. Set only those that are not.
20598 # We use the long form for the default assignment because of an extremely
20599 # bizarre bug on SunOS 4.1.3.
20600 if $ac_need_defaults; then
20601 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
20602 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
20603 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
20606 # Have a temporary directory for convenience. Make it in the build tree
20607 # simply because there is no reason to put it here, and in addition,
20608 # creating and moving files from /tmp can sometimes cause problems.
20609 # Create a temporary directory, and hook for its removal unless debugging.
20612 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
20613 trap '{ (exit 1); exit 1; }' 1 2 13 15
20616 # Create a (secure) tmp directory for tmp files.
20619 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
20620 test -n "$tmp" && test -d "$tmp"
20623 tmp
=.
/confstat$$
-$RANDOM
20624 (umask 077 && mkdir
$tmp)
20627 echo "$me: cannot create a temporary directory in ." >&2
20628 { (exit 1); exit 1; }
20633 cat >>$CONFIG_STATUS <<_ACEOF
20636 # CONFIG_FILES section.
20639 # No need to generate the scripts if there are no CONFIG_FILES.
20640 # This happens for instance when ./config.status config.h
20641 if test -n "\$CONFIG_FILES"; then
20642 # Protect against being on the right side of a sed subst in config.status.
20643 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
20644 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
20645 s,@SHELL@,$SHELL,;t t
20646 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
20647 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
20648 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
20649 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
20650 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
20651 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
20652 s,@exec_prefix@,$exec_prefix,;t t
20653 s,@prefix@,$prefix,;t t
20654 s,@program_transform_name@,$program_transform_name,;t t
20655 s,@bindir@,$bindir,;t t
20656 s,@sbindir@,$sbindir,;t t
20657 s,@libexecdir@,$libexecdir,;t t
20658 s,@datadir@,$datadir,;t t
20659 s,@sysconfdir@,$sysconfdir,;t t
20660 s,@sharedstatedir@,$sharedstatedir,;t t
20661 s,@localstatedir@,$localstatedir,;t t
20662 s,@libdir@,$libdir,;t t
20663 s,@includedir@,$includedir,;t t
20664 s,@oldincludedir@,$oldincludedir,;t t
20665 s,@infodir@,$infodir,;t t
20666 s,@mandir@,$mandir,;t t
20667 s,@build_alias@,$build_alias,;t t
20668 s,@host_alias@,$host_alias,;t t
20669 s,@target_alias@,$target_alias,;t t
20670 s,@DEFS@,$DEFS,;t t
20671 s,@ECHO_C@,$ECHO_C,;t t
20672 s,@ECHO_N@,$ECHO_N,;t t
20673 s,@ECHO_T@,$ECHO_T,;t t
20674 s,@LIBS@,$LIBS,;t t
20675 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
20676 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
20677 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
20678 s,@CYGPATH_W@,$CYGPATH_W,;t t
20679 s,@PACKAGE@,$PACKAGE,;t t
20680 s,@VERSION@,$VERSION,;t t
20681 s,@ACLOCAL@,$ACLOCAL,;t t
20682 s,@AUTOCONF@,$AUTOCONF,;t t
20683 s,@AUTOMAKE@,$AUTOMAKE,;t t
20684 s,@AUTOHEADER@,$AUTOHEADER,;t t
20685 s,@MAKEINFO@,$MAKEINFO,;t t
20686 s,@AMTAR@,$AMTAR,;t t
20687 s,@install_sh@,$install_sh,;t t
20688 s,@STRIP@,$STRIP,;t t
20689 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
20690 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
20691 s,@mkdir_p@,$mkdir_p,;t t
20693 s,@SET_MAKE@,$SET_MAKE,;t t
20694 s,@am__leading_dot@,$am__leading_dot,;t t
20695 s,@build@,$build,;t t
20696 s,@build_cpu@,$build_cpu,;t t
20697 s,@build_vendor@,$build_vendor,;t t
20698 s,@build_os@,$build_os,;t t
20699 s,@host@,$host,;t t
20700 s,@host_cpu@,$host_cpu,;t t
20701 s,@host_vendor@,$host_vendor,;t t
20702 s,@host_os@,$host_os,;t t
20704 s,@CFLAGS@,$CFLAGS,;t t
20705 s,@LDFLAGS@,$LDFLAGS,;t t
20706 s,@CPPFLAGS@,$CPPFLAGS,;t t
20707 s,@ac_ct_CC@,$ac_ct_CC,;t t
20708 s,@EXEEXT@,$EXEEXT,;t t
20709 s,@OBJEXT@,$OBJEXT,;t t
20710 s,@DEPDIR@,$DEPDIR,;t t
20711 s,@am__include@,$am__include,;t t
20712 s,@am__quote@,$am__quote,;t t
20713 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
20714 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
20715 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
20716 s,@CCDEPMODE@,$CCDEPMODE,;t t
20717 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
20718 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
20719 s,@EGREP@,$EGREP,;t t
20720 s,@LN_S@,$LN_S,;t t
20721 s,@ECHO@,$ECHO,;t t
20723 s,@ac_ct_AR@,$ac_ct_AR,;t t
20724 s,@RANLIB@,$RANLIB,;t t
20725 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
20728 s,@CXXFLAGS@,$CXXFLAGS,;t t
20729 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
20730 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
20731 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
20732 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
20733 s,@CXXCPP@,$CXXCPP,;t t
20735 s,@FFLAGS@,$FFLAGS,;t t
20736 s,@ac_ct_F77@,$ac_ct_F77,;t t
20737 s,@LIBTOOL@,$LIBTOOL,;t t
20738 s,@LIBTOOL_DEPS@,$LIBTOOL_DEPS,;t t
20739 s,@DEBUG_TRUE@,$DEBUG_TRUE,;t t
20740 s,@DEBUG_FALSE@,$DEBUG_FALSE,;t t
20741 s,@LIBOBJS@,$LIBOBJS,;t t
20742 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
20747 cat >>$CONFIG_STATUS <<\_ACEOF
20748 # Split the substitutions into bite-sized pieces for seds with
20749 # small command number limits, like on Digital OSF/1 and HP-UX.
20750 ac_max_sed_lines
=48
20751 ac_sed_frag
=1 # Number of current file.
20752 ac_beg
=1 # First line for current file.
20753 ac_end
=$ac_max_sed_lines # Line after last line for current file.
20756 while $ac_more_lines; do
20757 if test $ac_beg -gt 1; then
20758 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
20760 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
20762 if test ! -s $tmp/subs.frag
; then
20763 ac_more_lines
=false
20765 # The purpose of the label and of the branching condition is to
20766 # speed up the sed processing (if there are no `@' at all, there
20767 # is no need to browse any of the substitutions).
20768 # These are the two extra sed commands mentioned above.
20770 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
20771 if test -z "$ac_sed_cmds"; then
20772 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
20774 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
20776 ac_sed_frag
=`expr $ac_sed_frag + 1`
20778 ac_end
=`expr $ac_end + $ac_max_sed_lines`
20781 if test -z "$ac_sed_cmds"; then
20784 fi # test -n "$CONFIG_FILES"
20787 cat >>$CONFIG_STATUS <<\_ACEOF
20788 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
20789 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20791 - |
*:- |
*:-:* ) # input from stdin
20793 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20794 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20795 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20796 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20797 * ) ac_file_in
=$ac_file.
in ;;
20800 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
20801 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
20802 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20803 X"$ac_file" : 'X\(//\)[^/]' \| \
20804 X"$ac_file" : 'X\(//\)$' \| \
20805 X"$ac_file" : 'X\(/\)' \| \
20806 . : '\(.\)' 2>/dev/null ||
20808 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20809 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20810 /^X\(\/\/\)$/{ s//\1/; q; }
20811 /^X\(\/\).*/{ s//\1/; q; }
20813 { if $as_mkdir_p; then
20818 while test ! -d "$as_dir"; do
20819 as_dirs
="$as_dir $as_dirs"
20820 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
20821 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20822 X"$as_dir" : 'X\(//\)[^/]' \| \
20823 X"$as_dir" : 'X\(//\)$' \| \
20824 X"$as_dir" : 'X\(/\)' \| \
20825 . : '\(.\)' 2>/dev/null ||
20827 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20828 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20829 /^X\(\/\/\)$/{ s//\1/; q; }
20830 /^X\(\/\).*/{ s//\1/; q; }
20833 test ! -n "$as_dirs" || mkdir
$as_dirs
20834 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20835 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20836 { (exit 1); exit 1; }; }; }
20840 if test "$ac_dir" != .
; then
20841 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20842 # A "../" for each directory in $ac_dir_suffix.
20843 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
20845 ac_dir_suffix
= ac_top_builddir
=
20849 .
) # No --srcdir option. We are building in place.
20851 if test -z "$ac_top_builddir"; then
20854 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
20856 [\\/]* | ?
:[\\/]* ) # Absolute path.
20857 ac_srcdir
=$srcdir$ac_dir_suffix;
20858 ac_top_srcdir
=$srcdir ;;
20859 *) # Relative path.
20860 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
20861 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
20864 # Do not use `cd foo && pwd` to compute absolute paths, because
20865 # the directories may not exist.
20867 .
) ac_abs_builddir
="$ac_dir";;
20870 .
) ac_abs_builddir
=`pwd`;;
20871 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
20872 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
20875 case $ac_abs_builddir in
20876 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20878 case ${ac_top_builddir}.
in
20879 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
20880 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20881 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
20884 case $ac_abs_builddir in
20885 .
) ac_abs_srcdir
=$ac_srcdir;;
20888 .
) ac_abs_srcdir
=$ac_abs_builddir;;
20889 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
20890 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
20893 case $ac_abs_builddir in
20894 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
20896 case $ac_top_srcdir in
20897 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
20898 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
20899 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
20905 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
20906 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
20909 # Let's still pretend it is `configure' which instantiates (i.e., don't
20910 # use $as_me), people would be surprised to read:
20911 # /* config.h. Generated by config.status. */
20912 if test x
"$ac_file" = x-
; then
20915 configure_input
="$ac_file. "
20917 configure_input
=$configure_input"Generated from `echo $ac_file_in |
20918 sed 's,.*/,,'` by configure."
20920 # First look for the input files in the build tree, otherwise in the
20922 ac_file_inputs
=`IFS=:
20923 for f in $ac_file_in; do
20925 -) echo $tmp/stdin ;;
20927 # Absolute (can't be DOS-style, as IFS=:)
20928 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20929 echo "$as_me: error: cannot find input file: $f" >&2;}
20930 { (exit 1); exit 1; }; }
20933 if test -f "$f"; then
20936 elif test -f "$srcdir/$f"; then
20941 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20942 echo "$as_me: error: cannot find input file: $f" >&2;}
20943 { (exit 1); exit 1; }; }
20946 done` ||
{ (exit 1); exit 1; }
20948 if test x
"$ac_file" != x-
; then
20949 { echo "$as_me:$LINENO: creating $ac_file" >&5
20950 echo "$as_me: creating $ac_file" >&6;}
20954 cat >>$CONFIG_STATUS <<_ACEOF
20958 cat >>$CONFIG_STATUS <<\_ACEOF
20960 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
20961 s
,@configure_input@
,$configure_input,;t t
20962 s
,@srcdir@
,$ac_srcdir,;t t
20963 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
20964 s
,@top_srcdir@
,$ac_top_srcdir,;t t
20965 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
20966 s
,@builddir@
,$ac_builddir,;t t
20967 s
,@abs_builddir@
,$ac_abs_builddir,;t t
20968 s
,@top_builddir@
,$ac_top_builddir,;t t
20969 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
20970 s
,@INSTALL@
,$ac_INSTALL,;t t
20971 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
20973 if test x"$ac_file" != x-; then
20974 mv $tmp/out $ac_file
20982 cat >>$CONFIG_STATUS <<\_ACEOF
20985 # CONFIG_HEADER section.
20988 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
20989 # NAME is the cpp macro being defined and VALUE is the value it is being given.
20991 # ac_d sets the value in "#define NAME VALUE" lines.
20992 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
20993 ac_dB
='[ ].*$,\1#\2'
20996 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
20997 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
20998 ac_uB
='$,\1#\2define\3'
21002 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
21003 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21005 - |
*:- |
*:-:* ) # input from stdin
21007 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21008 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21009 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21010 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21011 * ) ac_file_in
=$ac_file.
in ;;
21014 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
21015 echo "$as_me: creating $ac_file" >&6;}
21017 # First look for the input files in the build tree, otherwise in the
21019 ac_file_inputs
=`IFS=:
21020 for f in $ac_file_in; do
21022 -) echo $tmp/stdin ;;
21024 # Absolute (can't be DOS-style, as IFS=:)
21025 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21026 echo "$as_me: error: cannot find input file: $f" >&2;}
21027 { (exit 1); exit 1; }; }
21028 # Do quote $f, to prevent DOS paths from being IFS'd.
21031 if test -f "$f"; then
21034 elif test -f "$srcdir/$f"; then
21039 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21040 echo "$as_me: error: cannot find input file: $f" >&2;}
21041 { (exit 1); exit 1; }; }
21044 done` ||
{ (exit 1); exit 1; }
21045 # Remove the trailing spaces.
21046 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
21050 # Transform confdefs.h into two sed scripts, `conftest.defines' and
21051 # `conftest.undefs', that substitutes the proper values into
21052 # config.h.in to produce config.h. The first handles `#define'
21053 # templates, and the second `#undef' templates.
21054 # And first: Protect against being on the right side of a sed subst in
21055 # config.status. Protect against being in an unquoted here document
21056 # in config.status.
21057 rm -f conftest.defines conftest.undefs
21058 # Using a here document instead of a string reduces the quoting nightmare.
21059 # Putting comments in sed scripts is not portable.
21061 # `end' is used to avoid that the second main sed command (meant for
21062 # 0-ary CPP macros) applies to n-ary macro definitions.
21063 # See the Autoconf documentation for `clear'.
21064 cat >confdef2sed.
sed <<\_ACEOF
21069 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
21071 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
21074 # If some macros were called several times there might be several times
21075 # the same #defines, which is useless. Nevertheless, we may not want to
21076 # sort them, since we want the *last* AC-DEFINE to be honored.
21077 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
21078 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
21079 rm -f confdef2sed.sed
21081 # This sed command replaces #undef with comments. This is necessary, for
21082 # example, in the case of _POSIX_SOURCE, which is predefined and required
21083 # on some systems where configure will not decide to define it.
21084 cat >>conftest.undefs <<\_ACEOF
21085 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
21088 # Break up conftest.defines because some shells have a limit on the size
21089 # of here documents, and old seds have small limits too (100 cmds).
21090 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
21091 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
21092 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
21093 echo ' :' >>$CONFIG_STATUS
21094 rm -f conftest.tail
21095 while grep . conftest.defines >/dev/null
21097 # Write a limited-size here document to $tmp/defines.sed.
21098 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
21099 # Speed up: don't consider the non `#define' lines.
21100 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
21101 # Work around the forget-to-reset-the-flag bug.
21102 echo 't clr' >>$CONFIG_STATUS
21103 echo ': clr' >>$CONFIG_STATUS
21104 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
21106 sed -f $tmp/defines.sed $tmp/in >$tmp/out
21108 mv $tmp/out $tmp/in
21110 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
21111 rm -f conftest.defines
21112 mv conftest.
tail conftest.defines
21114 rm -f conftest.defines
21115 echo ' fi # grep' >>$CONFIG_STATUS
21116 echo >>$CONFIG_STATUS
21118 # Break up conftest.undefs because some shells have a limit on the size
21119 # of here documents, and old seds have small limits too (100 cmds).
21120 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
21121 rm -f conftest.
tail
21122 while grep . conftest.undefs
>/dev
/null
21124 # Write a limited-size here document to $tmp/undefs.sed.
21125 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
21126 # Speed up: don't consider the non
`#undef'
21127 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
21128 # Work around the forget-to-reset-the-flag bug.
21129 echo 't clr' >>$CONFIG_STATUS
21130 echo ': clr' >>$CONFIG_STATUS
21131 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
21133 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
21135 mv $tmp/out $tmp/in
21137 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
21138 rm -f conftest.undefs
21139 mv conftest.tail conftest.undefs
21141 rm -f conftest.undefs
21143 cat >>$CONFIG_STATUS <<\_ACEOF
21144 # Let's still pretend it is `configure
' which instantiates (i.e., don't
21145 # use $as_me), people would be surprised to read:
21146 # /* config.h. Generated by config.status. */
21147 if test x
"$ac_file" = x-
; then
21148 echo "/* Generated by configure. */" >$tmp/config.h
21150 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
21152 cat $tmp/in >>$tmp/config.h
21154 if test x
"$ac_file" != x-
; then
21155 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
21156 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21157 echo "$as_me: $ac_file is unchanged" >&6;}
21159 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
21160 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21161 X"$ac_file" : 'X\(//\)[^/]' \| \
21162 X"$ac_file" : 'X\(//\)$' \| \
21163 X"$ac_file" : 'X\(/\)' \| \
21164 . : '\(.\)' 2>/dev/null ||
21166 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21167 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21168 /^X\(\/\/\)$/{ s//\1/; q; }
21169 /^X\(\/\).*/{ s//\1/; q; }
21171 { if $as_mkdir_p; then
21176 while test ! -d "$as_dir"; do
21177 as_dirs
="$as_dir $as_dirs"
21178 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21179 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21180 X"$as_dir" : 'X\(//\)[^/]' \| \
21181 X"$as_dir" : 'X\(//\)$' \| \
21182 X"$as_dir" : 'X\(/\)' \| \
21183 . : '\(.\)' 2>/dev/null ||
21185 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21186 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21187 /^X\(\/\/\)$/{ s//\1/; q; }
21188 /^X\(\/\).*/{ s//\1/; q; }
21191 test ! -n "$as_dirs" || mkdir
$as_dirs
21192 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21193 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21194 { (exit 1); exit 1; }; }; }
21197 mv $tmp/config.h
$ac_file
21201 rm -f $tmp/config.h
21203 # Compute $ac_file's index in $config_headers.
21205 for _am_header
in $config_headers :; do
21206 case $_am_header in
21207 $ac_file |
$ac_file:* )
21210 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
21213 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
21214 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21215 X$ac_file : 'X\(//\)[^/]' \| \
21216 X$ac_file : 'X\(//\)$' \| \
21217 X$ac_file : 'X\(/\)' \| \
21218 . : '\(.\)' 2>/dev/null ||
21220 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21221 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21222 /^X\(\/\/\)$/{ s//\1/; q; }
21223 /^X\(\/\).*/{ s//\1/; q; }
21224 s/.*/./; q'`/stamp-h
$_am_stamp_count
21227 cat >>$CONFIG_STATUS <<\_ACEOF
21230 # CONFIG_COMMANDS section.
21232 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
21233 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
21234 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21235 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
21236 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21237 X"$ac_dest" : 'X\(//\)[^/]' \| \
21238 X"$ac_dest" : 'X\(//\)$' \| \
21239 X"$ac_dest" : 'X\(/\)' \| \
21240 . : '\(.\)' 2>/dev/null ||
21242 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21243 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21244 /^X\(\/\/\)$/{ s//\1/; q; }
21245 /^X\(\/\).*/{ s//\1/; q; }
21247 { if $as_mkdir_p; then
21252 while test ! -d "$as_dir"; do
21253 as_dirs
="$as_dir $as_dirs"
21254 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21255 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21256 X"$as_dir" : 'X\(//\)[^/]' \| \
21257 X"$as_dir" : 'X\(//\)$' \| \
21258 X"$as_dir" : 'X\(/\)' \| \
21259 . : '\(.\)' 2>/dev/null ||
21261 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21262 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21263 /^X\(\/\/\)$/{ s//\1/; q; }
21264 /^X\(\/\).*/{ s//\1/; q; }
21267 test ! -n "$as_dirs" || mkdir
$as_dirs
21268 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21269 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21270 { (exit 1); exit 1; }; }; }
21274 if test "$ac_dir" != .
; then
21275 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21276 # A "../" for each directory in $ac_dir_suffix.
21277 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21279 ac_dir_suffix
= ac_top_builddir
=
21283 .
) # No --srcdir option. We are building in place.
21285 if test -z "$ac_top_builddir"; then
21288 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
21290 [\\/]* | ?
:[\\/]* ) # Absolute path.
21291 ac_srcdir
=$srcdir$ac_dir_suffix;
21292 ac_top_srcdir
=$srcdir ;;
21293 *) # Relative path.
21294 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
21295 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
21298 # Do not use `cd foo && pwd` to compute absolute paths, because
21299 # the directories may not exist.
21301 .
) ac_abs_builddir
="$ac_dir";;
21304 .
) ac_abs_builddir
=`pwd`;;
21305 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
21306 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
21309 case $ac_abs_builddir in
21310 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21312 case ${ac_top_builddir}.
in
21313 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
21314 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21315 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
21318 case $ac_abs_builddir in
21319 .
) ac_abs_srcdir
=$ac_srcdir;;
21322 .
) ac_abs_srcdir
=$ac_abs_builddir;;
21323 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
21324 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
21327 case $ac_abs_builddir in
21328 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
21330 case $ac_top_srcdir in
21331 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
21332 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
21333 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
21338 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
21339 echo "$as_me: executing $ac_dest commands" >&6;}
21341 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
21342 # Strip MF so we end up with the name of the file.
21343 mf
=`echo "$mf" | sed -e 's/:.*$//'`
21344 # Check whether this is an Automake generated Makefile or not.
21345 # We used to match only the files named `Makefile.in', but
21346 # some people rename them; so instead we look at the file content.
21347 # Grep'ing the first line is not enough: some people post-process
21348 # each Makefile.in and add a new line on top of each file to say so.
21349 # So let's grep whole file.
21350 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
21351 dirpart
=`(dirname "$mf") 2>/dev/null ||
21352 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21353 X"$mf" : 'X\(//\)[^/]' \| \
21354 X"$mf" : 'X\(//\)$' \| \
21355 X"$mf" : 'X\(/\)' \| \
21356 . : '\(.\)' 2>/dev/null ||
21358 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21359 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21360 /^X\(\/\/\)$/{ s//\1/; q; }
21361 /^X\(\/\).*/{ s//\1/; q; }
21366 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev
/null ||
continue
21367 # Extract the definition of DEP_FILES from the Makefile without
21369 DEPDIR
=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
21370 test -z "$DEPDIR" && continue
21371 # When using ansi2knr, U may be empty or an underscore; expand it
21372 U
=`sed -n -e '/^U = / s///p' < "$mf"`
21373 test -d "$dirpart/$DEPDIR" || mkdir
"$dirpart/$DEPDIR"
21374 # We invoke sed twice because it is the simplest approach to
21375 # changing $(DEPDIR) to its actual value in the expansion.
21376 for file in `sed -n -e '
21377 /^DEP_FILES = .*\\\\$/ {
21386 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
21387 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21388 # Make sure the directory exists.
21389 test -f "$dirpart/$file" && continue
21390 fdir
=`(dirname "$file") 2>/dev/null ||
21391 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21392 X"$file" : 'X\(//\)[^/]' \| \
21393 X"$file" : 'X\(//\)$' \| \
21394 X"$file" : 'X\(/\)' \| \
21395 . : '\(.\)' 2>/dev/null ||
21397 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21398 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21399 /^X\(\/\/\)$/{ s//\1/; q; }
21400 /^X\(\/\).*/{ s//\1/; q; }
21402 { if $as_mkdir_p; then
21403 mkdir
-p $dirpart/$fdir
21405 as_dir
=$dirpart/$fdir
21407 while test ! -d "$as_dir"; do
21408 as_dirs
="$as_dir $as_dirs"
21409 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21410 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21411 X"$as_dir" : 'X\(//\)[^/]' \| \
21412 X"$as_dir" : 'X\(//\)$' \| \
21413 X"$as_dir" : 'X\(/\)' \| \
21414 . : '\(.\)' 2>/dev/null ||
21416 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21417 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21418 /^X\(\/\/\)$/{ s//\1/; q; }
21419 /^X\(\/\).*/{ s//\1/; q; }
21422 test ! -n "$as_dirs" || mkdir
$as_dirs
21423 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
21424 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
21425 { (exit 1); exit 1; }; }; }
21427 # echo "creating $dirpart/$file"
21428 echo '# dummy' > "$dirpart/$file"
21436 cat >>$CONFIG_STATUS <<\_ACEOF
21438 { (exit 0); exit 0; }
21440 chmod +x
$CONFIG_STATUS
21441 ac_clean_files
=$ac_clean_files_save
21444 # configure is writing to config.log, and then calls config.status.
21445 # config.status does its own redirection, appending to config.log.
21446 # Unfortunately, on DOS this fails, as config.log is still kept open
21447 # by configure, so config.status won't be able to write to it; its
21448 # output is simply discarded. So we exec the FD to /dev/null,
21449 # effectively closing config.log, so it can be properly (re)opened and
21450 # appended to by config.status. When coming back to configure, we
21451 # need to make the FD available again.
21452 if test "$no_create" != yes; then
21454 ac_config_status_args
=
21455 test "$silent" = yes &&
21456 ac_config_status_args
="$ac_config_status_args --quiet"
21458 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
21460 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21461 # would make configure fail if this is the last instruction.
21462 $ac_cs_success ||
{ (exit 1); exit 1; }