2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # Check that we are running under the correct shell.
246 SHELL
=${CONFIG_SHELL-/bin/sh}
250 # Remove one level of quotation (which was required for Make).
251 ECHO
=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
256 if test "X$1" = X--no-reexec
; then
257 # Discard the --no-reexec flag, and continue.
259 elif test "X$1" = X--fallback-echo
; then
260 # Avoid inline document here, it may be left over
262 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
263 # Yippee, $ECHO works!
266 # Restart under the correct shell.
267 exec $SHELL "$0" --no-reexec ${1+"$@"}
270 if test "X$1" = X--fallback-echo
; then
271 # used as fallback echo
279 # The HP-UX ksh and POSIX shell print the target directory to stdout
281 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
283 if test -z "$lt_ECHO"; then
284 if test "X${echo_test_string+set}" != Xset
; then
285 # find a string as large as possible, as long as the shell can cope with it
286 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
287 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
288 if { echo_test_string
=`eval $cmd`; } 2>/dev
/null
&&
289 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev
/null
296 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
297 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
298 test "X$echo_testing_string" = "X$echo_test_string"; then
301 # The Solaris, AIX, and Digital Unix default echo programs unquote
302 # backslashes. This makes it impossible to quote backslashes using
303 # echo "$something" | sed 's/\\/\\\\/g'
305 # So, first we look for a working echo in the user's PATH.
307 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
308 for dir
in $PATH /usr
/ucb
; do
310 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
311 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
312 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
313 test "X$echo_testing_string" = "X$echo_test_string"; then
320 if test "X$ECHO" = Xecho
; then
321 # We didn't find a better echo, so look for alternatives.
322 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
323 echo_testing_string
=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
324 test "X$echo_testing_string" = "X$echo_test_string"; then
325 # This shell has a builtin print -r that does the trick.
327 elif { test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext; } &&
328 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
329 # If we have ksh, try running configure again with it.
330 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
331 export ORIGINAL_CONFIG_SHELL
332 CONFIG_SHELL
=/bin
/ksh
334 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
338 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
339 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
340 test "X$echo_testing_string" = "X$echo_test_string"; then
343 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
344 test "X$echo_testing_string" = 'X\t' &&
345 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
346 test "X$echo_testing_string" = "X$echo_test_string"; then
347 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
349 SHELL
="$CONFIG_SHELL"
351 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
352 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
353 test "X$echo_testing_string" = 'X\t' &&
354 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
355 test "X$echo_testing_string" = "X$echo_test_string"; then
356 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
358 # maybe with a smaller string...
361 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
362 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev
/null
369 if test "$prev" != 'sed 50q "$0"'; then
370 echo_test_string
=`eval $prev`
371 export echo_test_string
372 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
374 # Oops. We lost completely, so just stick with echo.
383 # Copy echo and quote the copy suitably for passing to libtool from
384 # the Makefile, instead of quoting the original, which is used later.
386 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
387 lt_ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
394 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
395 # so uname gets run too.
396 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
403 ac_default_prefix
=/usr
/local
404 ac_config_libobj_dir
=.
409 SHELL
=${CONFIG_SHELL-/bin/sh}
411 # Maximum number of lines to put in a shell here document.
412 # This variable seems obsolete. It should probably be removed, and
413 # only ac_max_sed_lines should be used.
414 : ${ac_max_here_lines=38}
416 # Identity of this package.
423 ac_unique_file
="zlib.h"
424 # Factoring default headers for most tests.
425 ac_includes_default
="\
428 # include <sys/types.h>
431 # include <sys/stat.h>
442 # if !STDC_HEADERS && HAVE_MEMORY_H
448 # include <strings.h>
451 # include <inttypes.h>
461 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 multi_basedir build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os mkinstalldirs INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT COMPPATH CC ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CFLAGS LIBTOOL SED EGREP FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM LN_S AR ac_ct_AR RANLIB ac_ct_RANLIB lt_ECHO CPP CPPFLAGS target_all toolexecdir toolexeclibdir TARGET_LIBRARY_TRUE TARGET_LIBRARY_FALSE LIBOBJS LTLIBOBJS'
464 # Initialize some variables set by options.
466 ac_init_version
=false
467 # The variables have the same names as the options, with
468 # dashes changed to underlines.
476 program_transform_name
=s
,x
,x
,
484 # Installation directory options.
485 # These are left unexpanded so users can "make install exec_prefix=/foo"
486 # and all the variables that are supposed to be based on exec_prefix
487 # by default will actually change.
488 # Use braces instead of parens because sh, perl, etc. also accept them.
489 bindir
='${exec_prefix}/bin'
490 sbindir
='${exec_prefix}/sbin'
491 libexecdir
='${exec_prefix}/libexec'
492 datadir
='${prefix}/share'
493 sysconfdir
='${prefix}/etc'
494 sharedstatedir
='${prefix}/com'
495 localstatedir
='${prefix}/var'
496 libdir
='${exec_prefix}/lib'
497 includedir
='${prefix}/include'
498 oldincludedir
='/usr/include'
499 infodir
='${prefix}/info'
500 mandir
='${prefix}/man'
505 # If the previous option needs an argument, assign it.
506 if test -n "$ac_prev"; then
507 eval "$ac_prev=\$ac_option"
512 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
514 # Accept the important Cygnus configure options, so we can diagnose typos.
518 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
520 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
523 -build |
--build |
--buil |
--bui |
--bu)
524 ac_prev
=build_alias
;;
525 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
526 build_alias
=$ac_optarg ;;
528 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
529 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
530 ac_prev
=cache_file
;;
531 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
532 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
533 cache_file
=$ac_optarg ;;
536 cache_file
=config.cache
;;
538 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
540 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
542 datadir
=$ac_optarg ;;
544 -disable-* |
--disable-*)
545 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
546 # Reject names that are not valid shell variable names.
547 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
548 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
549 { (exit 1); exit 1; }; }
550 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
551 eval "enable_$ac_feature=no" ;;
553 -enable-* |
--enable-*)
554 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
555 # Reject names that are not valid shell variable names.
556 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
557 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
558 { (exit 1); exit 1; }; }
559 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
561 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
564 eval "enable_$ac_feature='$ac_optarg'" ;;
566 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
567 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
568 |
--exec |
--exe |
--ex)
569 ac_prev
=exec_prefix
;;
570 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
571 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
572 |
--exec=* |
--exe=* |
--ex=*)
573 exec_prefix
=$ac_optarg ;;
575 -gas |
--gas |
--ga |
--g)
576 # Obsolete; use --with-gas.
579 -help |
--help |
--hel |
--he |
-h)
581 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
582 ac_init_help
=recursive
;;
583 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
584 ac_init_help
=short
;;
586 -host |
--host |
--hos |
--ho)
587 ac_prev
=host_alias
;;
588 -host=* |
--host=* |
--hos=* |
--ho=*)
589 host_alias
=$ac_optarg ;;
591 -includedir |
--includedir |
--includedi |
--included |
--include \
592 |
--includ |
--inclu |
--incl |
--inc)
593 ac_prev
=includedir
;;
594 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
595 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
596 includedir
=$ac_optarg ;;
598 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
600 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
601 infodir
=$ac_optarg ;;
603 -libdir |
--libdir |
--libdi |
--libd)
605 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
608 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
609 |
--libexe |
--libex |
--libe)
610 ac_prev
=libexecdir
;;
611 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
612 |
--libexe=* |
--libex=* |
--libe=*)
613 libexecdir
=$ac_optarg ;;
615 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
616 |
--localstate |
--localstat |
--localsta |
--localst \
617 |
--locals |
--local |
--loca |
--loc |
--lo)
618 ac_prev
=localstatedir
;;
619 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
620 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
621 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
622 localstatedir
=$ac_optarg ;;
624 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
626 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
630 # Obsolete; use --without-fp.
633 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
634 |
--no-cr |
--no-c |
-n)
637 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
638 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
641 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
642 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
643 |
--oldin |
--oldi |
--old |
--ol |
--o)
644 ac_prev
=oldincludedir
;;
645 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
646 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
647 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
648 oldincludedir
=$ac_optarg ;;
650 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
652 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
655 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
656 |
--program-pre |
--program-pr |
--program-p)
657 ac_prev
=program_prefix
;;
658 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
659 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
660 program_prefix
=$ac_optarg ;;
662 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
663 |
--program-suf |
--program-su |
--program-s)
664 ac_prev
=program_suffix
;;
665 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
666 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
667 program_suffix
=$ac_optarg ;;
669 -program-transform-name |
--program-transform-name \
670 |
--program-transform-nam |
--program-transform-na \
671 |
--program-transform-n |
--program-transform- \
672 |
--program-transform |
--program-transfor \
673 |
--program-transfo |
--program-transf \
674 |
--program-trans |
--program-tran \
675 |
--progr-tra |
--program-tr |
--program-t)
676 ac_prev
=program_transform_name
;;
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 program_transform_name
=$ac_optarg ;;
686 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
687 |
-silent |
--silent |
--silen |
--sile |
--sil)
690 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
692 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
694 sbindir
=$ac_optarg ;;
696 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
697 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
698 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
700 ac_prev
=sharedstatedir
;;
701 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
702 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
703 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
705 sharedstatedir
=$ac_optarg ;;
707 -site |
--site |
--sit)
709 -site=* |
--site=* |
--sit=*)
712 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
714 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
717 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
718 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
719 ac_prev
=sysconfdir
;;
720 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
721 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
722 sysconfdir
=$ac_optarg ;;
724 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
725 ac_prev
=target_alias
;;
726 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
727 target_alias
=$ac_optarg ;;
729 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
732 -version |
--version |
--versio |
--versi |
--vers |
-V)
736 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
737 # Reject names that are not valid shell variable names.
738 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
739 { echo "$as_me: error: invalid package name: $ac_package" >&2
740 { (exit 1); exit 1; }; }
741 ac_package
=`echo $ac_package| sed 's/-/_/g'`
743 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
746 eval "with_$ac_package='$ac_optarg'" ;;
748 -without-* |
--without-*)
749 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
750 # Reject names that are not valid shell variable names.
751 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
752 { echo "$as_me: error: invalid package name: $ac_package" >&2
753 { (exit 1); exit 1; }; }
754 ac_package
=`echo $ac_package | sed 's/-/_/g'`
755 eval "with_$ac_package=no" ;;
758 # Obsolete; use --with-x.
761 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
762 |
--x-incl |
--x-inc |
--x-in |
--x-i)
763 ac_prev
=x_includes
;;
764 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
765 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
766 x_includes
=$ac_optarg ;;
768 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
769 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
770 ac_prev
=x_libraries
;;
771 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
772 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
773 x_libraries
=$ac_optarg ;;
775 -*) { echo "$as_me: error: unrecognized option: $ac_option
776 Try \`$0 --help' for more information." >&2
777 { (exit 1); exit 1; }; }
781 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
782 # Reject names that are not valid shell variable names.
783 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
784 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
785 { (exit 1); exit 1; }; }
786 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
787 eval "$ac_envvar='$ac_optarg'"
791 # FIXME: should be removed in autoconf 3.0.
792 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
793 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
794 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
795 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
801 if test -n "$ac_prev"; then
802 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
803 { echo "$as_me: error: missing argument to $ac_option" >&2
804 { (exit 1); exit 1; }; }
807 # Be sure to have absolute paths.
808 for ac_var
in exec_prefix prefix
810 eval ac_val
=$
`echo $ac_var`
812 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
813 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
814 { (exit 1); exit 1; }; };;
818 # Be sure to have absolute paths.
819 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
820 localstatedir libdir includedir oldincludedir infodir mandir
822 eval ac_val
=$
`echo $ac_var`
824 [\\/$
]* | ?
:[\\/]* ) ;;
825 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
826 { (exit 1); exit 1; }; };;
830 # There might be people who depend on the old broken behavior: `$host'
831 # used to hold the argument of --host etc.
832 # FIXME: To remove some day.
837 # FIXME: To remove some day.
838 if test "x$host_alias" != x
; then
839 if test "x$build_alias" = x
; then
840 cross_compiling
=maybe
841 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
842 If a cross compiler is detected then cross compile mode will be used." >&2
843 elif test "x$build_alias" != "x$host_alias"; then
849 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
851 test "$silent" = yes && exec 6>/dev
/null
854 # Find the source files, if location was not specified.
855 if test -z "$srcdir"; then
856 ac_srcdir_defaulted
=yes
857 # Try the directory containing this script, then its parent.
858 ac_confdir
=`(dirname "$0") 2>/dev/null ||
859 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
860 X"$0" : 'X\(//\)[^/]' \| \
861 X"$0" : 'X\(//\)$' \| \
862 X"$0" : 'X\(/\)' \| \
863 . : '\(.\)' 2>/dev/null ||
865 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
866 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
867 /^X\(\/\/\)$/{ s//\1/; q; }
868 /^X\(\/\).*/{ s//\1/; q; }
871 if test ! -r $srcdir/$ac_unique_file; then
875 ac_srcdir_defaulted
=no
877 if test ! -r $srcdir/$ac_unique_file; then
878 if test "$ac_srcdir_defaulted" = yes; then
879 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
880 { (exit 1); exit 1; }; }
882 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
883 { (exit 1); exit 1; }; }
886 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
887 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
888 { (exit 1); exit 1; }; }
889 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
890 ac_env_build_alias_set
=${build_alias+set}
891 ac_env_build_alias_value
=$build_alias
892 ac_cv_env_build_alias_set
=${build_alias+set}
893 ac_cv_env_build_alias_value
=$build_alias
894 ac_env_host_alias_set
=${host_alias+set}
895 ac_env_host_alias_value
=$host_alias
896 ac_cv_env_host_alias_set
=${host_alias+set}
897 ac_cv_env_host_alias_value
=$host_alias
898 ac_env_target_alias_set
=${target_alias+set}
899 ac_env_target_alias_value
=$target_alias
900 ac_cv_env_target_alias_set
=${target_alias+set}
901 ac_cv_env_target_alias_value
=$target_alias
902 ac_env_CPP_set
=${CPP+set}
903 ac_env_CPP_value
=$CPP
904 ac_cv_env_CPP_set
=${CPP+set}
905 ac_cv_env_CPP_value
=$CPP
906 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
907 ac_env_CPPFLAGS_value
=$CPPFLAGS
908 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
909 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
912 # Report the --help message.
914 if test "$ac_init_help" = "long"; then
915 # Omit some internal or obsolete options to make the list less imposing.
916 # This message is too long to be a string in the A/UX 3.1 sh.
918 \`configure' configures this package to adapt to many kinds of systems.
920 Usage: $0 [OPTION]... [VAR=VALUE]...
922 To assign environment variables (e.g., CC, CFLAGS...), specify them as
923 VAR=VALUE. See below for descriptions of some of the useful variables.
925 Defaults for the options are specified in brackets.
928 -h, --help display this help and exit
929 --help=short display options specific to this package
930 --help=recursive display the short help of all the included packages
931 -V, --version display version information and exit
932 -q, --quiet, --silent do not print \`checking...' messages
933 --cache-file=FILE cache test results in FILE [disabled]
934 -C, --config-cache alias for \`--cache-file=config.cache'
935 -n, --no-create do not create output files
936 --srcdir=DIR find the sources in DIR [configure dir or \`..']
941 Installation directories:
942 --prefix=PREFIX install architecture-independent files in PREFIX
944 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
947 By default, \`make install' will install all the files in
948 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
949 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
950 for instance \`--prefix=\$HOME'.
952 For better control, use the options below.
954 Fine tuning of the installation directories:
955 --bindir=DIR user executables [EPREFIX/bin]
956 --sbindir=DIR system admin executables [EPREFIX/sbin]
957 --libexecdir=DIR program executables [EPREFIX/libexec]
958 --datadir=DIR read-only architecture-independent data [PREFIX/share]
959 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
960 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
961 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
962 --libdir=DIR object code libraries [EPREFIX/lib]
963 --includedir=DIR C header files [PREFIX/include]
964 --oldincludedir=DIR C header files for non-gcc [/usr/include]
965 --infodir=DIR info documentation [PREFIX/info]
966 --mandir=DIR man documentation [PREFIX/man]
972 --program-prefix=PREFIX prepend PREFIX to installed program names
973 --program-suffix=SUFFIX append SUFFIX to installed program names
974 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
977 --build=BUILD configure
for building on BUILD
[guessed
]
978 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
979 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
983 if test -n "$ac_init_help"; then
988 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
989 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
990 --enable-multilib build many library versions
(default
)
991 --enable-maintainer-mode enable make rules and dependencies not useful
992 (and sometimes confusing
) to the casual installer
993 --disable-dependency-tracking speeds up one-time build
994 --enable-dependency-tracking do not reject slow dependency extractors
995 --enable-shared[=PKGS
]
996 build shared libraries
[default
=yes]
997 --enable-static[=PKGS
]
998 build static libraries
[default
=yes]
999 --enable-fast-install[=PKGS
]
1000 optimize
for fast installation
[default
=yes]
1001 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1004 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1005 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1006 --with-target-subdir=SUBDIR
1007 configuring
in a subdirectory
1008 --with-cross-host=HOST configuring with a cross compiler
1009 --with-system-zlib use installed libz
1010 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1012 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1014 Some influential environment variables
:
1015 CC C compiler
command
1016 CFLAGS C compiler flags
1017 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1018 nonstandard directory
<lib dir
>
1019 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1020 headers
in a nonstandard directory
<include dir
>
1023 Use these variables to override the choices made by
`configure' or to help
1024 it to find libraries and programs with nonstandard names/locations.
1029 if test "$ac_init_help" = "recursive"; then
1030 # If there are subdirs, report their specific --help.
1032 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1033 test -d $ac_dir || continue
1036 if test "$ac_dir" != .; then
1037 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1038 # A "../" for each directory in $ac_dir_suffix.
1039 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
1041 ac_dir_suffix= ac_top_builddir=
1045 .) # No --srcdir option. We are building in place.
1047 if test -z "$ac_top_builddir"; then
1050 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
1052 [\\/]* | ?:[\\/]* ) # Absolute path.
1053 ac_srcdir=$srcdir$ac_dir_suffix;
1054 ac_top_srcdir=$srcdir ;;
1056 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1057 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1060 # Do not use `cd foo
&& pwd` to compute absolute paths, because
1061 # the directories may not exist.
1063 .) ac_abs_builddir="$ac_dir";;
1066 .) ac_abs_builddir=`pwd`;;
1067 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1068 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1071 case $ac_abs_builddir in
1072 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1074 case ${ac_top_builddir}. in
1075 .) ac_abs_top_builddir=$ac_abs_builddir;;
1076 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1077 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1080 case $ac_abs_builddir in
1081 .) ac_abs_srcdir=$ac_srcdir;;
1084 .) ac_abs_srcdir=$ac_abs_builddir;;
1085 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1086 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1089 case $ac_abs_builddir in
1090 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1092 case $ac_top_srcdir in
1093 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1094 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1095 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1100 # Check for guested configure; otherwise get Cygnus style configure.
1101 if test -f $ac_srcdir/configure.gnu; then
1103 $SHELL $ac_srcdir/configure.gnu --help=recursive
1104 elif test -f $ac_srcdir/configure; then
1106 $SHELL $ac_srcdir/configure --help=recursive
1107 elif test -f $ac_srcdir/configure.ac ||
1108 test -f $ac_srcdir/configure.in; then
1110 $ac_configure --help
1112 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1118 test -n "$ac_init_help" && exit 0
1119 if $ac_init_version; then
1122 Copyright (C) 2003 Free Software Foundation, Inc.
1123 This configure script is free software; the Free Software Foundation
1124 gives unlimited permission to copy, distribute and modify it.
1130 This file contains any messages produced by compilers while
1131 running configure, to aid debugging if configure makes a mistake.
1133 It was created by $as_me, which was
1134 generated by GNU Autoconf 2.59. Invocation command line was
1145 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1146 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1147 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1148 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1149 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1151 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1152 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1154 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1155 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1156 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1157 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1158 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1159 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1160 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1168 test -z "$as_dir" && as_dir=.
1169 echo "PATH: $as_dir"
1184 # Keep a trace of the command line.
1185 # Strip out --no-create and --no-recursion so they do not pile up.
1186 # Strip out --silent because we don't want to record it for future runs.
1187 # Also quote any args containing shell meta-characters.
1188 # Make two passes to allow for proper duplicate-argument suppression.
1193 ac_must_keep_next=false
1199 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1200 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1201 | -silent | --silent | --silen | --sile | --sil)
1203 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1204 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1207 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1209 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1210 if test $ac_must_keep_next = true; then
1211 ac_must_keep_next=false # Got value, back to normal.
1214 *=* | --config-cache | -C | -disable-* | --disable-* \
1215 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1216 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1217 | -with-* | --with-* | -without-* | --without-* | --x)
1218 case "$ac_configure_args0 " in
1219 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1222 -* ) ac_must_keep_next=true ;;
1225 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1226 # Get rid of the leading space.
1232 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1233 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1235 # When interrupted or exit'd, cleanup temporary files, and complete
1236 # config.log. We remove comments because anyway the quotes in there
1237 # would cause problems or look ugly.
1238 # WARNING: Be sure not to use single quotes in there, as some shells,
1239 # such as our DU 5.0 friend, will then `close
' the trap.
1240 trap 'exit_status
=$?
1241 # Save into config.log some information that might help in debugging.
1246 ## ---------------- ##
1247 ## Cache variables. ##
1248 ## ---------------- ##
1251 # The following way of writing the cache mishandles newlines in values,
1254 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1257 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1258 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1262 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1269 ## ----------------- ##
1270 ## Output variables. ##
1271 ## ----------------- ##
1274 for ac_var
in $ac_subst_vars
1276 eval ac_val
=$
`echo $ac_var`
1277 echo "$ac_var='"'"'$ac_val'"'"'"
1281 if test -n "$ac_subst_files"; then
1288 for ac_var
in $ac_subst_files
1290 eval ac_val
=$
`echo $ac_var`
1291 echo "$ac_var='"'"'$ac_val'"'"'"
1296 if test -s confdefs.h
; then
1303 sed "/^$/d" confdefs.h |
sort
1306 test "$ac_signal" != 0 &&
1307 echo "$as_me: caught signal $ac_signal"
1308 echo "$as_me: exit $exit_status"
1310 rm -f core
*.core
&&
1311 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1314 for ac_signal in 1 2 13 15; do
1315 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1319 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1320 rm -rf conftest* confdefs.h
1321 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1324 # Predefined preprocessor variables.
1326 cat >>confdefs.h <<_ACEOF
1327 #define PACKAGE_NAME "$PACKAGE_NAME"
1331 cat >>confdefs.h <<_ACEOF
1332 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1336 cat >>confdefs.h <<_ACEOF
1337 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1341 cat >>confdefs.h <<_ACEOF
1342 #define PACKAGE_STRING "$PACKAGE_STRING"
1346 cat >>confdefs.h <<_ACEOF
1347 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1351 # Let the site file select an alternate cache file if it wants to.
1352 # Prefer explicitly selected file to automatically selected ones.
1353 if test -z "$CONFIG_SITE"; then
1354 if test "x$prefix" != xNONE; then
1355 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1357 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1360 for ac_site_file in $CONFIG_SITE; do
1361 if test -r "$ac_site_file"; then
1362 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1363 echo "$as_me: loading site script $ac_site_file" >&6;}
1364 sed 's
/^
/|
/' "$ac_site_file" >&5
1369 if test -r "$cache_file"; then
1370 # Some versions of bash will fail to source /dev/null (special
1371 # files actually), so we avoid doing that.
1372 if test -f "$cache_file"; then
1373 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1374 echo "$as_me: loading cache $cache_file" >&6;}
1376 [\\/]* | ?:[\\/]* ) . $cache_file;;
1377 *) . ./$cache_file;;
1381 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1382 echo "$as_me: creating cache $cache_file" >&6;}
1386 # Check that the precious variables saved in the cache have kept the same
1388 ac_cache_corrupted=false
1389 for ac_var in `(set) 2>&1 |
1390 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1391 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1392 eval ac_new_set=\$ac_env_${ac_var}_set
1393 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1394 eval ac_new_val="\$ac_env_${ac_var}_value"
1395 case $ac_old_set,$ac_new_set in
1397 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1398 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1399 ac_cache_corrupted=: ;;
1401 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1402 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1403 ac_cache_corrupted=: ;;
1406 if test "x$ac_old_val" != "x$ac_new_val"; then
1407 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1408 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1409 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1410 echo "$as_me: former value: $ac_old_val" >&2;}
1411 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1412 echo "$as_me: current value: $ac_new_val" >&2;}
1413 ac_cache_corrupted=:
1416 # Pass precious variables to config.status.
1417 if test "$ac_new_set" = set; then
1419 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1420 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1421 *) ac_arg=$ac_var=$ac_new_val ;;
1423 case " $ac_configure_args " in
1424 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1425 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1429 if $ac_cache_corrupted; then
1430 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1431 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1432 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1433 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1434 { (exit 1); exit 1; }; }
1438 ac_cpp='$CPP $CPPFLAGS'
1439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1440 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1463 # Default to --enable-multilib
1464 # Check whether --enable-multilib or --disable-multilib was given.
1465 if test "${enable_multilib+set}" = set; then
1466 enableval="$enable_multilib"
1467 case "$enableval" in
1468 yes) multilib=yes ;;
1470 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1471 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1472 { (exit 1); exit 1; }; } ;;
1478 # We may get other options which we leave undocumented:
1479 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1480 # See config-ml.in if you want the gory details.
1482 if test "$srcdir" = "."; then
1483 if test "$with_target_subdir" != "."; then
1484 multi_basedir="$srcdir/$with_multisrctop../.."
1486 multi_basedir="$srcdir/$with_multisrctop.."
1489 multi_basedir="$srcdir/.."
1493 # Even if the default multilib is not a cross compilation,
1494 # it may be that some of the other multilibs are.
1495 if test $cross_compiling = no && test $multilib = yes \
1496 && test "x${with_multisubdir}" != x ; then
1497 cross_compiling=maybe
1500 ac_config_commands="$ac_config_commands default-1"
1504 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1505 if test -f $ac_dir/install-sh; then
1507 ac_install_sh="$ac_aux_dir/install-sh -c"
1509 elif test -f $ac_dir/install.sh; then
1511 ac_install_sh="$ac_aux_dir/install.sh -c"
1513 elif test -f $ac_dir/shtool; then
1515 ac_install_sh="$ac_aux_dir/shtool install -c"
1519 if test -z "$ac_aux_dir"; then
1520 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1521 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1522 { (exit 1); exit 1; }; }
1524 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1525 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1526 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1528 # Make sure we can run config.sub.
1529 $ac_config_sub sun4 >/dev/null 2>&1 ||
1530 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1531 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1532 { (exit 1); exit 1; }; }
1534 echo "$as_me:$LINENO: checking build system type" >&5
1535 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1536 if test "${ac_cv_build+set}" = set; then
1537 echo $ECHO_N "(cached) $ECHO_C" >&6
1539 ac_cv_build_alias=$build_alias
1540 test -z "$ac_cv_build_alias" &&
1541 ac_cv_build_alias=`$ac_config_guess`
1542 test -z "$ac_cv_build_alias" &&
1543 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1544 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1545 { (exit 1); exit 1; }; }
1546 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1547 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1548 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1549 { (exit 1); exit 1; }; }
1552 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1553 echo "${ECHO_T}$ac_cv_build" >&6
1555 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1556 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1557 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1560 echo "$as_me:$LINENO: checking host system type" >&5
1561 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1562 if test "${ac_cv_host+set}" = set; then
1563 echo $ECHO_N "(cached) $ECHO_C" >&6
1565 ac_cv_host_alias=$host_alias
1566 test -z "$ac_cv_host_alias" &&
1567 ac_cv_host_alias=$ac_cv_build_alias
1568 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1569 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1570 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1571 { (exit 1); exit 1; }; }
1574 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1575 echo "${ECHO_T}$ac_cv_host" >&6
1577 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1578 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1579 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1582 echo "$as_me:$LINENO: checking target system type" >&5
1583 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1584 if test "${ac_cv_target+set}" = set; then
1585 echo $ECHO_N "(cached) $ECHO_C" >&6
1587 ac_cv_target_alias=$target_alias
1588 test "x$ac_cv_target_alias" = "x" &&
1589 ac_cv_target_alias=$ac_cv_host_alias
1590 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1591 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1592 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1593 { (exit 1); exit 1; }; }
1596 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1597 echo "${ECHO_T}$ac_cv_target" >&6
1598 target=$ac_cv_target
1599 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1600 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1601 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1604 # The aliases save the names the user supplied, while $host etc.
1605 # will get canonicalized.
1606 test -n "$target_alias" &&
1607 test "$program_prefix$program_suffix$program_transform_name" = \
1609 program_prefix=${target_alias}-
1611 # This works around an automake problem.
1612 mkinstalldirs="`cd $ac_aux_dir && ${PWDCMD-pwd}`/mkinstalldirs"
1615 am__api_version="1.9"
1616 # Find a good install program. We prefer a C program (faster),
1617 # so one script is as good as another. But avoid the broken or
1618 # incompatible versions:
1619 # SysV /etc/install, /usr/sbin/install
1620 # SunOS /usr/etc/install
1621 # IRIX /sbin/install
1623 # AmigaOS /C/install, which installs bootblocks on floppy discs
1624 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1625 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1626 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1627 # OS/2's system install, which has a completely different semantic
1628 # ./install, which can be erroneously created by make from ./install.sh.
1629 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1630 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1631 if test -z "$INSTALL"; then
1632 if test "${ac_cv_path_install+set}" = set; then
1633 echo $ECHO_N "(cached) $ECHO_C" >&6
1635 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1639 test -z "$as_dir" && as_dir
=.
1640 # Account for people who put trailing slashes in PATH elements.
1642 .
/ | .
// |
/cC
/* | \
1643 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1644 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1647 # OSF1 and SCO ODT 3.0 have their own names for install.
1648 # Don't use installbsd from OSF since it installs stuff as root
1650 for ac_prog
in ginstall scoinst
install; do
1651 for ac_exec_ext
in '' $ac_executable_extensions; do
1652 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1653 if test $ac_prog = install &&
1654 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1655 # AIX install. It has an incompatible calling convention.
1657 elif test $ac_prog = install &&
1658 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1659 # program-specific install script used by HP pwplus--don't use.
1662 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1674 if test "${ac_cv_path_install+set}" = set; then
1675 INSTALL
=$ac_cv_path_install
1677 # As a last resort, use the slow shell script. We don't cache a
1678 # path for INSTALL within a source directory, because that will
1679 # break other packages using the cache if that directory is
1680 # removed, or if the path is relative.
1681 INSTALL
=$ac_install_sh
1684 echo "$as_me:$LINENO: result: $INSTALL" >&5
1685 echo "${ECHO_T}$INSTALL" >&6
1687 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1688 # It thinks the first close brace ends the variable substitution.
1689 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1691 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1693 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1695 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1696 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1699 echo timestamp
> conftest.
file
1700 # Do `set' in a subshell so we don't clobber the current shell's
1701 # arguments. Must try -L first in case configure is actually a
1702 # symlink; some systems play weird games with the mod time of symlinks
1703 # (eg FreeBSD returns the mod time of the symlink's containing
1706 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1707 if test "$*" = "X"; then
1709 set X
`ls -t $srcdir/configure conftest.file`
1712 if test "$*" != "X $srcdir/configure conftest.file" \
1713 && test "$*" != "X conftest.file $srcdir/configure"; then
1715 # If neither matched, then we have a broken ls. This can happen
1716 # if, for instance, CONFIG_SHELL is bash and it inherits a
1717 # broken ls alias from the environment. This has actually
1718 # happened. Such a system could not be considered "sane".
1719 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1720 alias in your environment" >&5
1721 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1722 alias in your environment" >&2;}
1723 { (exit 1); exit 1; }; }
1726 test "$2" = conftest.
file
1732 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1733 Check your system clock" >&5
1734 echo "$as_me: error: newly created file is older than distributed files!
1735 Check your system clock" >&2;}
1736 { (exit 1); exit 1; }; }
1738 echo "$as_me:$LINENO: result: yes" >&5
1739 echo "${ECHO_T}yes" >&6
1740 test "$program_prefix" != NONE
&&
1741 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1742 # Use a double $ so make ignores it.
1743 test "$program_suffix" != NONE
&&
1744 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1745 # Double any \ or $. echo might interpret backslashes.
1746 # By default was `s,x,x', remove it if useless.
1747 cat <<\_ACEOF
>conftest.
sed
1748 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1750 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1753 # expand $ac_aux_dir to an absolute path
1754 am_aux_dir
=`cd $ac_aux_dir && pwd`
1756 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1757 # Use eval to expand $SHELL
1758 if eval "$MISSING --run true"; then
1759 am_missing_run
="$MISSING --run "
1762 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1763 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1766 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1767 # We used to keeping the `.' as first argument, in order to
1768 # allow $(mkdir_p) to be used without argument. As in
1769 # $(mkdir_p) $(somedir)
1770 # where $(somedir) is conditionally defined. However this is wrong
1772 # 1. if the package is installed by a user who cannot write `.'
1773 # make install will fail,
1774 # 2. the above comment should most certainly read
1775 # $(mkdir_p) $(DESTDIR)$(somedir)
1776 # so it does not work when $(somedir) is undefined and
1777 # $(DESTDIR) is not.
1778 # To support the latter case, we have to write
1779 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1780 # so the `.' trick is pointless.
1781 mkdir_p
='mkdir -p --'
1783 # On NextStep and OpenStep, the `mkdir' command does not
1784 # recognize any option. It will interpret all options as
1785 # directories to create, and then abort because `.' already
1787 for d
in .
/-p .
/--version;
1789 test -d $d && rmdir $d
1791 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1792 if test -f "$ac_aux_dir/mkinstalldirs"; then
1793 mkdir_p
='$(mkinstalldirs)'
1795 mkdir_p
='$(install_sh) -d'
1799 for ac_prog
in gawk mawk nawk
awk
1801 # Extract the first word of "$ac_prog", so it can be a program name with args.
1802 set dummy
$ac_prog; ac_word
=$2
1803 echo "$as_me:$LINENO: checking for $ac_word" >&5
1804 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1805 if test "${ac_cv_prog_AWK+set}" = set; then
1806 echo $ECHO_N "(cached) $ECHO_C" >&6
1808 if test -n "$AWK"; then
1809 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1811 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1815 test -z "$as_dir" && as_dir
=.
1816 for ac_exec_ext
in '' $ac_executable_extensions; do
1817 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1818 ac_cv_prog_AWK
="$ac_prog"
1819 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1828 if test -n "$AWK"; then
1829 echo "$as_me:$LINENO: result: $AWK" >&5
1830 echo "${ECHO_T}$AWK" >&6
1832 echo "$as_me:$LINENO: result: no" >&5
1833 echo "${ECHO_T}no" >&6
1836 test -n "$AWK" && break
1839 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1840 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1841 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1842 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1843 echo $ECHO_N "(cached) $ECHO_C" >&6
1845 cat >conftest.
make <<\_ACEOF
1847 @
echo 'ac_maketemp="$(MAKE)"'
1849 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1850 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1851 if test -n "$ac_maketemp"; then
1852 eval ac_cv_prog_make_
${ac_make}_set
=yes
1854 eval ac_cv_prog_make_
${ac_make}_set
=no
1858 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1859 echo "$as_me:$LINENO: result: yes" >&5
1860 echo "${ECHO_T}yes" >&6
1863 echo "$as_me:$LINENO: result: no" >&5
1864 echo "${ECHO_T}no" >&6
1865 SET_MAKE
="MAKE=${MAKE-make}"
1868 rm -rf .tst
2>/dev
/null
1869 mkdir .tst
2>/dev
/null
1870 if test -d .tst
; then
1875 rmdir .tst
2>/dev
/null
1877 # test to see if srcdir already configured
1878 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1879 test -f $srcdir/config.status
; then
1880 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1881 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1882 { (exit 1); exit 1; }; }
1885 # test whether we have cygpath
1886 if test -z "$CYGPATH_W"; then
1887 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1888 CYGPATH_W
='cygpath -w'
1895 # Define the identity of the package.
1900 cat >>confdefs.h
<<_ACEOF
1901 #define PACKAGE "$PACKAGE"
1905 cat >>confdefs.h
<<_ACEOF
1906 #define VERSION "$VERSION"
1909 # Some tools Automake needs.
1911 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1914 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1917 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1920 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1923 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1925 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1927 # Installed binaries are usually stripped using `strip' when the user
1928 # run `make install-strip'. However `strip' might not be the right
1929 # tool to use in cross-compilation environments, therefore Automake
1930 # will honor the `STRIP' environment variable to overrule this program.
1931 if test "$cross_compiling" != no
; then
1932 if test -n "$ac_tool_prefix"; then
1933 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1934 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1935 echo "$as_me:$LINENO: checking for $ac_word" >&5
1936 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1937 if test "${ac_cv_prog_STRIP+set}" = set; then
1938 echo $ECHO_N "(cached) $ECHO_C" >&6
1940 if test -n "$STRIP"; then
1941 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1943 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1947 test -z "$as_dir" && as_dir
=.
1948 for ac_exec_ext
in '' $ac_executable_extensions; do
1949 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1950 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1951 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1959 STRIP
=$ac_cv_prog_STRIP
1960 if test -n "$STRIP"; then
1961 echo "$as_me:$LINENO: result: $STRIP" >&5
1962 echo "${ECHO_T}$STRIP" >&6
1964 echo "$as_me:$LINENO: result: no" >&5
1965 echo "${ECHO_T}no" >&6
1969 if test -z "$ac_cv_prog_STRIP"; then
1971 # Extract the first word of "strip", so it can be a program name with args.
1972 set dummy strip
; ac_word
=$2
1973 echo "$as_me:$LINENO: checking for $ac_word" >&5
1974 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1975 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1976 echo $ECHO_N "(cached) $ECHO_C" >&6
1978 if test -n "$ac_ct_STRIP"; then
1979 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1981 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1985 test -z "$as_dir" && as_dir
=.
1986 for ac_exec_ext
in '' $ac_executable_extensions; do
1987 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1988 ac_cv_prog_ac_ct_STRIP
="strip"
1989 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1995 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1998 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1999 if test -n "$ac_ct_STRIP"; then
2000 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2001 echo "${ECHO_T}$ac_ct_STRIP" >&6
2003 echo "$as_me:$LINENO: result: no" >&5
2004 echo "${ECHO_T}no" >&6
2009 STRIP
="$ac_cv_prog_STRIP"
2013 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2015 # We need awk for the "check" target. The system "awk" is bad on
2017 # Always define AMTAR for backward compatibility.
2019 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2021 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2028 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2029 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
2030 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
2031 if test "${enable_maintainer_mode+set}" = set; then
2032 enableval
="$enable_maintainer_mode"
2033 USE_MAINTAINER_MODE
=$enableval
2035 USE_MAINTAINER_MODE
=no
2037 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2038 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
2041 if test $USE_MAINTAINER_MODE = yes; then
2042 MAINTAINER_MODE_TRUE
=
2043 MAINTAINER_MODE_FALSE
='#'
2045 MAINTAINER_MODE_TRUE
='#'
2046 MAINTAINER_MODE_FALSE
=
2049 MAINT
=$MAINTAINER_MODE_TRUE
2054 # Check whether --with-target-subdir or --without-target-subdir was given.
2055 if test "${with_target_subdir+set}" = set; then
2056 withval
="$with_target_subdir"
2060 if test -z "$with_target_subdir" ||
test "$with_target_subdir" = "."; then
2068 # Check whether --with-cross-host or --without-cross-host was given.
2069 if test "${with_cross_host+set}" = set; then
2070 withval
="$with_cross_host"
2074 # Check whether --enable-multilib or --disable-multilib was given.
2075 if test "${enable_multilib+set}" = set; then
2076 enableval
="$enable_multilib"
2077 case "${enableval}" in
2078 yes) multilib
=yes ;;
2080 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for multilib option" >&5
2081 echo "$as_me: error: bad value ${enableval} for multilib option" >&2;}
2082 { (exit 1); exit 1; }; } ;;
2085 test -z "$with_target_subdir" && multilib
=no || multilib
=yes
2088 # Check whether --with-system-zlib or --without-system-zlib was given.
2089 if test "${with_system_zlib+set}" = set; then
2090 withval
="$with_system_zlib"
2094 # Make sure we don't test executables when making cross-tools.
2097 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
2098 # We must force CC to /not/ be precious variables; otherwise
2099 # the wrong, non-multilib-adjusted value will be used in multilibs.
2100 # As a side effect, we have to subst CFLAGS ourselves.
2105 ac_cpp
='$CPP $CPPFLAGS'
2106 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2107 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2108 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2109 if test -n "$ac_tool_prefix"; then
2110 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2111 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2112 echo "$as_me:$LINENO: checking for $ac_word" >&5
2113 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2114 if test "${ac_cv_prog_CC+set}" = set; then
2115 echo $ECHO_N "(cached) $ECHO_C" >&6
2117 if test -n "$CC"; then
2118 ac_cv_prog_CC
="$CC" # Let the user override the test.
2120 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2124 test -z "$as_dir" && as_dir
=.
2125 for ac_exec_ext
in '' $ac_executable_extensions; do
2126 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2127 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2128 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2137 if test -n "$CC"; then
2138 echo "$as_me:$LINENO: result: $CC" >&5
2139 echo "${ECHO_T}$CC" >&6
2141 echo "$as_me:$LINENO: result: no" >&5
2142 echo "${ECHO_T}no" >&6
2146 if test -z "$ac_cv_prog_CC"; then
2148 # Extract the first word of "gcc", so it can be a program name with args.
2149 set dummy gcc
; ac_word
=$2
2150 echo "$as_me:$LINENO: checking for $ac_word" >&5
2151 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2152 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2153 echo $ECHO_N "(cached) $ECHO_C" >&6
2155 if test -n "$ac_ct_CC"; then
2156 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2158 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2162 test -z "$as_dir" && as_dir
=.
2163 for ac_exec_ext
in '' $ac_executable_extensions; do
2164 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2165 ac_cv_prog_ac_ct_CC
="gcc"
2166 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2174 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2175 if test -n "$ac_ct_CC"; then
2176 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2177 echo "${ECHO_T}$ac_ct_CC" >&6
2179 echo "$as_me:$LINENO: result: no" >&5
2180 echo "${ECHO_T}no" >&6
2188 if test -z "$CC"; then
2189 if test -n "$ac_tool_prefix"; then
2190 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2191 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2192 echo "$as_me:$LINENO: checking for $ac_word" >&5
2193 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2194 if test "${ac_cv_prog_CC+set}" = set; then
2195 echo $ECHO_N "(cached) $ECHO_C" >&6
2197 if test -n "$CC"; then
2198 ac_cv_prog_CC
="$CC" # Let the user override the test.
2200 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2204 test -z "$as_dir" && as_dir
=.
2205 for ac_exec_ext
in '' $ac_executable_extensions; do
2206 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2207 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2208 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2217 if test -n "$CC"; then
2218 echo "$as_me:$LINENO: result: $CC" >&5
2219 echo "${ECHO_T}$CC" >&6
2221 echo "$as_me:$LINENO: result: no" >&5
2222 echo "${ECHO_T}no" >&6
2226 if test -z "$ac_cv_prog_CC"; then
2228 # Extract the first word of "cc", so it can be a program name with args.
2229 set dummy cc
; ac_word
=$2
2230 echo "$as_me:$LINENO: checking for $ac_word" >&5
2231 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2232 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2233 echo $ECHO_N "(cached) $ECHO_C" >&6
2235 if test -n "$ac_ct_CC"; then
2236 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2238 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2242 test -z "$as_dir" && as_dir
=.
2243 for ac_exec_ext
in '' $ac_executable_extensions; do
2244 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2245 ac_cv_prog_ac_ct_CC
="cc"
2246 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2254 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2255 if test -n "$ac_ct_CC"; then
2256 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2257 echo "${ECHO_T}$ac_ct_CC" >&6
2259 echo "$as_me:$LINENO: result: no" >&5
2260 echo "${ECHO_T}no" >&6
2269 if test -z "$CC"; then
2270 # Extract the first word of "cc", so it can be a program name with args.
2271 set dummy cc
; ac_word
=$2
2272 echo "$as_me:$LINENO: checking for $ac_word" >&5
2273 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2274 if test "${ac_cv_prog_CC+set}" = set; then
2275 echo $ECHO_N "(cached) $ECHO_C" >&6
2277 if test -n "$CC"; then
2278 ac_cv_prog_CC
="$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 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2289 ac_prog_rejected
=yes
2293 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2299 if test $ac_prog_rejected = yes; then
2300 # We found a bogon in the path, so make sure we never use it.
2301 set dummy
$ac_cv_prog_CC
2303 if test $# != 0; then
2304 # We chose a different compiler from the bogus one.
2305 # However, it has the same basename, so the bogon will be chosen
2306 # first if we set CC to just the basename; use the full file name.
2308 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2314 if test -n "$CC"; then
2315 echo "$as_me:$LINENO: result: $CC" >&5
2316 echo "${ECHO_T}$CC" >&6
2318 echo "$as_me:$LINENO: result: no" >&5
2319 echo "${ECHO_T}no" >&6
2323 if test -z "$CC"; then
2324 if test -n "$ac_tool_prefix"; then
2327 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2328 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2329 echo "$as_me:$LINENO: checking for $ac_word" >&5
2330 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2331 if test "${ac_cv_prog_CC+set}" = set; then
2332 echo $ECHO_N "(cached) $ECHO_C" >&6
2334 if test -n "$CC"; then
2335 ac_cv_prog_CC
="$CC" # Let the user override the test.
2337 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2341 test -z "$as_dir" && as_dir
=.
2342 for ac_exec_ext
in '' $ac_executable_extensions; do
2343 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2344 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2345 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2354 if test -n "$CC"; then
2355 echo "$as_me:$LINENO: result: $CC" >&5
2356 echo "${ECHO_T}$CC" >&6
2358 echo "$as_me:$LINENO: result: no" >&5
2359 echo "${ECHO_T}no" >&6
2362 test -n "$CC" && break
2365 if test -z "$CC"; then
2369 # Extract the first word of "$ac_prog", so it can be a program name with args.
2370 set dummy
$ac_prog; ac_word
=$2
2371 echo "$as_me:$LINENO: checking for $ac_word" >&5
2372 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2373 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2374 echo $ECHO_N "(cached) $ECHO_C" >&6
2376 if test -n "$ac_ct_CC"; then
2377 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2379 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2383 test -z "$as_dir" && as_dir
=.
2384 for ac_exec_ext
in '' $ac_executable_extensions; do
2385 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2386 ac_cv_prog_ac_ct_CC
="$ac_prog"
2387 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2395 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2396 if test -n "$ac_ct_CC"; then
2397 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2398 echo "${ECHO_T}$ac_ct_CC" >&6
2400 echo "$as_me:$LINENO: result: no" >&5
2401 echo "${ECHO_T}no" >&6
2404 test -n "$ac_ct_CC" && break
2413 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2414 See \`config.log' for more details." >&5
2415 echo "$as_me: error: no acceptable C compiler found in \$PATH
2416 See \`config.log' for more details." >&2;}
2417 { (exit 1); exit 1; }; }
2419 # Provide some information about the compiler.
2420 echo "$as_me:$LINENO:" \
2421 "checking for C compiler version" >&5
2422 ac_compiler
=`set X $ac_compile; echo $2`
2423 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2424 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2427 (exit $ac_status); }
2428 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2429 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2432 (exit $ac_status); }
2433 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2434 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2437 (exit $ac_status); }
2439 cat >conftest.
$ac_ext <<_ACEOF
2442 cat confdefs.h
>>conftest.
$ac_ext
2443 cat >>conftest.
$ac_ext <<_ACEOF
2444 /* end confdefs.h. */
2455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2456 (eval $ac_link) 2>&5
2458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2459 (exit $ac_status); }; then
2465 if test x
$gcc_no_link = xyes
; then
2466 # Setting cross_compile will disable run tests; it will
2467 # also disable AC_CHECK_FILE but that's generally
2468 # correct if we can't link.
2472 cat >conftest.
$ac_ext <<_ACEOF
2475 cat confdefs.h
>>conftest.
$ac_ext
2476 cat >>conftest.
$ac_ext <<_ACEOF
2477 /* end confdefs.h. */
2487 ac_clean_files_save
=$ac_clean_files
2488 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2489 # Try to create an executable without -o first, disregard a.out.
2490 # It will help us diagnose broken compilers, and finding out an intuition
2492 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2493 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2494 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2495 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2496 (eval $ac_link_default) 2>&5
2498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2499 (exit $ac_status); }; then
2500 # Find the output, starting from the most likely. This scheme is
2501 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2504 # Be careful to initialize this variable, since it used to be cached.
2505 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2507 # b.out is created by i960 compilers.
2508 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2510 test -f "$ac_file" ||
continue
2512 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2515 # This is the source file.
2518 # We found the default executable, but exeext='' is most
2522 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2523 # FIXME: I believe we export ac_cv_exeext for Libtool,
2524 # but it would be cool to find out if it's true. Does anybody
2525 # maintain Libtool? --akim.
2533 echo "$as_me: failed program was:" >&5
2534 sed 's/^/| /' conftest.
$ac_ext >&5
2536 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2537 See \`config.log' for more details." >&5
2538 echo "$as_me: error: C compiler cannot create executables
2539 See \`config.log' for more details." >&2;}
2540 { (exit 77); exit 77; }; }
2543 ac_exeext
=$ac_cv_exeext
2544 echo "$as_me:$LINENO: result: $ac_file" >&5
2545 echo "${ECHO_T}$ac_file" >&6
2547 # Check the compiler produces executables we can run. If not, either
2548 # the compiler is broken, or we cross compile.
2549 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2550 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2551 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2552 # If not cross compiling, check that we can run a simple program.
2553 if test "$cross_compiling" != yes; then
2554 if { ac_try
='./$ac_file'
2555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2559 (exit $ac_status); }; }; then
2562 if test "$cross_compiling" = maybe
; then
2565 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2566 If you meant to cross compile, use \`--host'.
2567 See \`config.log' for more details." >&5
2568 echo "$as_me: error: cannot run C compiled programs.
2569 If you meant to cross compile, use \`--host'.
2570 See \`config.log' for more details." >&2;}
2571 { (exit 1); exit 1; }; }
2575 echo "$as_me:$LINENO: result: yes" >&5
2576 echo "${ECHO_T}yes" >&6
2578 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2579 ac_clean_files
=$ac_clean_files_save
2580 # Check the compiler produces executables we can run. If not, either
2581 # the compiler is broken, or we cross compile.
2582 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2583 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2584 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2585 echo "${ECHO_T}$cross_compiling" >&6
2587 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2588 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2590 (eval $ac_link) 2>&5
2592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2593 (exit $ac_status); }; then
2594 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2595 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2596 # work properly (i.e., refer to `conftest.exe'), while it won't with
2598 for ac_file
in conftest.exe conftest conftest.
*; do
2599 test -f "$ac_file" ||
continue
2601 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2602 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2609 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2610 See \`config.log' for more details." >&5
2611 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2612 See \`config.log' for more details." >&2;}
2613 { (exit 1); exit 1; }; }
2616 rm -f conftest
$ac_cv_exeext
2617 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2618 echo "${ECHO_T}$ac_cv_exeext" >&6
2620 rm -f conftest.
$ac_ext
2621 EXEEXT
=$ac_cv_exeext
2624 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2625 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2626 if test "${ac_cv_objext+set}" = set; then
2627 echo $ECHO_N "(cached) $ECHO_C" >&6
2629 cat >conftest.
$ac_ext <<_ACEOF
2632 cat confdefs.h
>>conftest.
$ac_ext
2633 cat >>conftest.
$ac_ext <<_ACEOF
2634 /* end confdefs.h. */
2644 rm -f conftest.o conftest.obj
2645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2646 (eval $ac_compile) 2>&5
2648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2649 (exit $ac_status); }; then
2650 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2652 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2653 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2658 echo "$as_me: failed program was:" >&5
2659 sed 's/^/| /' conftest.
$ac_ext >&5
2661 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2662 See \`config.log' for more details." >&5
2663 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2664 See \`config.log' for more details." >&2;}
2665 { (exit 1); exit 1; }; }
2668 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2670 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2671 echo "${ECHO_T}$ac_cv_objext" >&6
2672 OBJEXT
=$ac_cv_objext
2674 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2675 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2676 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2677 echo $ECHO_N "(cached) $ECHO_C" >&6
2679 cat >conftest.
$ac_ext <<_ACEOF
2682 cat confdefs.h
>>conftest.
$ac_ext
2683 cat >>conftest.
$ac_ext <<_ACEOF
2684 /* end confdefs.h. */
2697 rm -f conftest.
$ac_objext
2698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2699 (eval $ac_compile) 2>conftest.er1
2701 grep -v '^ *+' conftest.er1
>conftest.err
2703 cat conftest.err
>&5
2704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2705 (exit $ac_status); } &&
2706 { ac_try
='test -z "$ac_c_werror_flag"
2707 || test ! -s conftest.err'
2708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2712 (exit $ac_status); }; } &&
2713 { ac_try
='test -s conftest.$ac_objext'
2714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2718 (exit $ac_status); }; }; then
2721 echo "$as_me: failed program was:" >&5
2722 sed 's/^/| /' conftest.
$ac_ext >&5
2726 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2727 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2730 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2731 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2732 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2733 ac_test_CFLAGS
=${CFLAGS+set}
2734 ac_save_CFLAGS
=$CFLAGS
2736 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2737 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2738 if test "${ac_cv_prog_cc_g+set}" = set; then
2739 echo $ECHO_N "(cached) $ECHO_C" >&6
2741 cat >conftest.
$ac_ext <<_ACEOF
2744 cat confdefs.h
>>conftest.
$ac_ext
2745 cat >>conftest.
$ac_ext <<_ACEOF
2746 /* end confdefs.h. */
2756 rm -f conftest.
$ac_objext
2757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2758 (eval $ac_compile) 2>conftest.er1
2760 grep -v '^ *+' conftest.er1
>conftest.err
2762 cat conftest.err
>&5
2763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2764 (exit $ac_status); } &&
2765 { ac_try
='test -z "$ac_c_werror_flag"
2766 || test ! -s conftest.err'
2767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2771 (exit $ac_status); }; } &&
2772 { ac_try
='test -s conftest.$ac_objext'
2773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2777 (exit $ac_status); }; }; then
2780 echo "$as_me: failed program was:" >&5
2781 sed 's/^/| /' conftest.
$ac_ext >&5
2785 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2787 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2788 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2789 if test "$ac_test_CFLAGS" = set; then
2790 CFLAGS
=$ac_save_CFLAGS
2791 elif test $ac_cv_prog_cc_g = yes; then
2792 if test "$GCC" = yes; then
2798 if test "$GCC" = yes; then
2804 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2805 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2806 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2807 echo $ECHO_N "(cached) $ECHO_C" >&6
2809 ac_cv_prog_cc_stdc
=no
2811 cat >conftest.
$ac_ext <<_ACEOF
2814 cat confdefs.h
>>conftest.
$ac_ext
2815 cat >>conftest.
$ac_ext <<_ACEOF
2816 /* end confdefs.h. */
2819 #include <sys/types.h>
2820 #include <sys/stat.h>
2821 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2822 struct buf { int x; };
2823 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2824 static char *e (p, i)
2830 static char *f (char * (*g) (char **, int), char **p, ...)
2835 s = g (p, va_arg (v,int));
2840 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2841 function prototypes and stuff, but not '\xHH' hex character constants.
2842 These don't provoke an error unfortunately, instead are silently treated
2843 as 'x'. The following induces an error, until -std1 is added to get
2844 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2845 array size at least. It's necessary to write '\x00'==0 to get something
2846 that's true only with -std1. */
2847 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2849 int test (int i, double x);
2850 struct s1 {int (*f) (int a);};
2851 struct s2 {int (*f) (double a);};
2852 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2858 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2863 # Don't try gcc -ansi; that turns off useful extensions and
2864 # breaks some systems' header files.
2865 # AIX -qlanglvl=ansi
2866 # Ultrix and OSF/1 -std1
2867 # HP-UX 10.20 and later -Ae
2868 # HP-UX older versions -Aa -D_HPUX_SOURCE
2869 # SVR4 -Xc -D__EXTENSIONS__
2870 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2872 CC
="$ac_save_CC $ac_arg"
2873 rm -f conftest.
$ac_objext
2874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2875 (eval $ac_compile) 2>conftest.er1
2877 grep -v '^ *+' conftest.er1
>conftest.err
2879 cat conftest.err
>&5
2880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2881 (exit $ac_status); } &&
2882 { ac_try
='test -z "$ac_c_werror_flag"
2883 || test ! -s conftest.err'
2884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2888 (exit $ac_status); }; } &&
2889 { ac_try
='test -s conftest.$ac_objext'
2890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2894 (exit $ac_status); }; }; then
2895 ac_cv_prog_cc_stdc
=$ac_arg
2898 echo "$as_me: failed program was:" >&5
2899 sed 's/^/| /' conftest.
$ac_ext >&5
2902 rm -f conftest.err conftest.
$ac_objext
2904 rm -f conftest.
$ac_ext conftest.
$ac_objext
2909 case "x$ac_cv_prog_cc_stdc" in
2911 echo "$as_me:$LINENO: result: none needed" >&5
2912 echo "${ECHO_T}none needed" >&6 ;;
2914 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2915 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2916 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2919 # Some people use a C++ compiler to compile C. Since we use `exit',
2920 # in C++ we need to declare it. In case someone uses the same compiler
2921 # for both compiling C and C++ we need to have the C++ compiler decide
2922 # the declaration of exit, since it's the most demanding environment.
2923 cat >conftest.
$ac_ext <<_ACEOF
2928 rm -f conftest.
$ac_objext
2929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2930 (eval $ac_compile) 2>conftest.er1
2932 grep -v '^ *+' conftest.er1
>conftest.err
2934 cat conftest.err
>&5
2935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2936 (exit $ac_status); } &&
2937 { ac_try
='test -z "$ac_c_werror_flag"
2938 || test ! -s conftest.err'
2939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2943 (exit $ac_status); }; } &&
2944 { ac_try
='test -s conftest.$ac_objext'
2945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2949 (exit $ac_status); }; }; then
2950 for ac_declaration
in \
2952 'extern "C" void std::exit (int) throw (); using std::exit;' \
2953 'extern "C" void std::exit (int); using std::exit;' \
2954 'extern "C" void exit (int) throw ();' \
2955 'extern "C" void exit (int);' \
2958 cat >conftest.
$ac_ext <<_ACEOF
2961 cat confdefs.h
>>conftest.
$ac_ext
2962 cat >>conftest.
$ac_ext <<_ACEOF
2963 /* end confdefs.h. */
2974 rm -f conftest.
$ac_objext
2975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2976 (eval $ac_compile) 2>conftest.er1
2978 grep -v '^ *+' conftest.er1
>conftest.err
2980 cat conftest.err
>&5
2981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2982 (exit $ac_status); } &&
2983 { ac_try
='test -z "$ac_c_werror_flag"
2984 || test ! -s conftest.err'
2985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2989 (exit $ac_status); }; } &&
2990 { ac_try
='test -s conftest.$ac_objext'
2991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2995 (exit $ac_status); }; }; then
2998 echo "$as_me: failed program was:" >&5
2999 sed 's/^/| /' conftest.
$ac_ext >&5
3003 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3004 cat >conftest.
$ac_ext <<_ACEOF
3007 cat confdefs.h
>>conftest.
$ac_ext
3008 cat >>conftest.
$ac_ext <<_ACEOF
3009 /* end confdefs.h. */
3019 rm -f conftest.
$ac_objext
3020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3021 (eval $ac_compile) 2>conftest.er1
3023 grep -v '^ *+' conftest.er1
>conftest.err
3025 cat conftest.err
>&5
3026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3027 (exit $ac_status); } &&
3028 { ac_try
='test -z "$ac_c_werror_flag"
3029 || test ! -s conftest.err'
3030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3034 (exit $ac_status); }; } &&
3035 { ac_try
='test -s conftest.$ac_objext'
3036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3040 (exit $ac_status); }; }; then
3043 echo "$as_me: failed program was:" >&5
3044 sed 's/^/| /' conftest.
$ac_ext >&5
3047 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3050 if test -n "$ac_declaration"; then
3051 echo '#ifdef __cplusplus' >>confdefs.h
3052 echo $ac_declaration >>confdefs.h
3053 echo '#endif' >>confdefs.h
3057 echo "$as_me: failed program was:" >&5
3058 sed 's/^/| /' conftest.
$ac_ext >&5
3061 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3063 ac_cpp
='$CPP $CPPFLAGS'
3064 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3065 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3066 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3067 DEPDIR
="${am__leading_dot}deps"
3069 ac_config_commands
="$ac_config_commands depfiles"
3072 am_make
=${MAKE-make}
3073 cat > confinc
<< 'END'
3078 # If we don't find an include directive, just comment out the code.
3079 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3080 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3084 # First try GNU make style include.
3085 echo "include confinc" > confmf
3086 # We grep out `Entering directory' and `Leaving directory'
3087 # messages which can occur if `w' ends up in MAKEFLAGS.
3088 # In particular we don't look at `^make:' because GNU make might
3089 # be invoked under some other name (usually "gmake"), in which
3090 # case it prints its new name instead of `make'.
3091 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3096 # Now try BSD make style include.
3097 if test "$am__include" = "#"; then
3098 echo '.include "confinc"' > confmf
3099 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3100 am__include
=.include
3107 echo "$as_me:$LINENO: result: $_am_result" >&5
3108 echo "${ECHO_T}$_am_result" >&6
3109 rm -f confinc confmf
3111 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3112 if test "${enable_dependency_tracking+set}" = set; then
3113 enableval
="$enable_dependency_tracking"
3116 if test "x$enable_dependency_tracking" != xno
; then
3117 am_depcomp
="$ac_aux_dir/depcomp"
3122 if test "x$enable_dependency_tracking" != xno; then
3133 depcc
="$CC" am_compiler_list
=
3135 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3136 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3137 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3138 echo $ECHO_N "(cached) $ECHO_C" >&6
3140 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3141 # We make a subdir and do the tests there. Otherwise we can end up
3142 # making bogus files that we don't know about and never remove. For
3143 # instance it was reported that on HP-UX the gcc test will end up
3144 # making a dummy file named `D' -- because `-MD' means `put the output
3147 # Copy depcomp to subdir because otherwise we won't find it if we're
3148 # using a relative directory.
3149 cp "$am_depcomp" conftest.dir
3151 # We will build objects and dependencies in a subdirectory because
3152 # it helps to detect inapplicable dependency modes. For instance
3153 # both Tru64's cc and ICC support -MD to output dependencies as a
3154 # side effect of compilation, but ICC will put the dependencies in
3155 # the current directory while Tru64 will put them in the object
3159 am_cv_CC_dependencies_compiler_type
=none
3160 if test "$am_compiler_list" = ""; then
3161 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3163 for depmode
in $am_compiler_list; do
3164 # Setup a source with many dependencies, because some compilers
3165 # like to wrap large dependency lists on column 80 (with \), and
3166 # we should not choose a depcomp mode which is confused by this.
3168 # We need to recreate these files for each test, as the compiler may
3169 # overwrite some of them when testing with obscure command lines.
3170 # This happens at least with the AIX C compiler.
3172 for i
in 1 2 3 4 5 6; do
3173 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3174 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3175 # Solaris 8's {/usr,}/bin/sh.
3176 touch sub
/conftst
$i.h
3178 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3182 # after this tag, mechanisms are not by side-effect, so they'll
3183 # only be used when explicitly requested
3184 if test "x$enable_dependency_tracking" = xyes
; then
3192 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3193 # mode. It turns out that the SunPro C++ compiler does not properly
3194 # handle `-M -o', and we need to detect this.
3195 if depmode
=$depmode \
3196 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3197 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3198 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3199 >/dev
/null
2>conftest.err
&&
3200 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3201 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3202 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3203 # icc doesn't choke on unknown options, it will just issue warnings
3204 # or remarks (even with -Werror). So we grep stderr for any message
3205 # that says an option was ignored or not supported.
3206 # When given -MP, icc 7.0 and 7.1 complain thusly:
3207 # icc: Command line warning: ignoring option '-M'; no argument required
3208 # The diagnosis changed in icc 8.0:
3209 # icc: Command line remark: option '-MP' not supported
3210 if (grep 'ignoring option' conftest.err ||
3211 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3212 am_cv_CC_dependencies_compiler_type
=$depmode
3221 am_cv_CC_dependencies_compiler_type
=none
3225 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3226 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3227 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3232 test "x$enable_dependency_tracking" != xno \
3233 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3235 am__fastdepCC_FALSE
='#'
3237 am__fastdepCC_TRUE
='#'
3238 am__fastdepCC_FALSE
=
3248 macro_version
='2.1a'
3249 macro_revision
='1.2435'
3262 ltmain
="$ac_aux_dir/ltmain.sh"
3272 # Check whether --enable-shared or --disable-shared was given.
3273 if test "${enable_shared+set}" = set; then
3274 enableval
="$enable_shared"
3275 p
=${PACKAGE-default}
3277 yes) enable_shared
=yes ;;
3278 no
) enable_shared
=no
;;
3281 # Look at the argument we got. We use all the common list separators.
3282 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3283 for pkg
in $enableval; do
3285 if test "X$pkg" = "X$p"; then
3303 # Check whether --enable-static or --disable-static was given.
3304 if test "${enable_static+set}" = set; then
3305 enableval
="$enable_static"
3306 p
=${PACKAGE-default}
3308 yes) enable_static
=yes ;;
3309 no
) enable_static
=no
;;
3312 # Look at the argument we got. We use all the common list separators.
3313 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3314 for pkg
in $enableval; do
3316 if test "X$pkg" = "X$p"; then
3335 # Check whether --with-pic or --without-pic was given.
3336 if test "${with_pic+set}" = set; then
3343 test -z "$pic_mode" && pic_mode
=default
3351 # Check whether --enable-fast-install or --disable-fast-install was given.
3352 if test "${enable_fast_install+set}" = set; then
3353 enableval
="$enable_fast_install"
3354 p
=${PACKAGE-default}
3356 yes) enable_fast_install
=yes ;;
3357 no
) enable_fast_install
=no
;;
3359 enable_fast_install
=no
3360 # Look at the argument we got. We use all the common list separators.
3361 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3362 for pkg
in $enableval; do
3364 if test "X$pkg" = "X$p"; then
3365 enable_fast_install
=yes
3372 enable_fast_install
=yes
3382 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3383 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3384 if test "${lt_cv_path_SED+set}" = set; then
3385 echo $ECHO_N "(cached) $ECHO_C" >&6
3387 # Loop through the user's path and test for sed and gsed.
3388 # Then use that list of sed's as ones to test for truncation.
3389 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3393 test -z "$as_dir" && as_dir
=.
3394 for lt_ac_prog
in sed gsed
; do
3395 for ac_exec_ext
in '' $ac_executable_extensions; do
3396 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3397 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3405 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3406 # along with /bin/sed that truncates output.
3407 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
3408 test ! -f $lt_ac_sed && continue
3409 cat /dev
/null
> conftest.
in
3411 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
3412 # Check for GNU sed and select it if it is found.
3413 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
3414 lt_cv_path_SED
=$lt_ac_sed
3418 cat conftest.
in conftest.
in >conftest.tmp
3419 mv conftest.tmp conftest.
in
3420 cp conftest.
in conftest.
nl
3422 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
3423 cmp -s conftest.out conftest.
nl ||
break
3424 # 10000 chars as input seems more than enough
3425 test $lt_ac_count -gt 10 && break
3426 lt_ac_count
=`expr $lt_ac_count + 1`
3427 if test $lt_ac_count -gt $lt_ac_max; then
3428 lt_ac_max
=$lt_ac_count
3429 lt_cv_path_SED
=$lt_ac_sed
3438 echo "$as_me:$LINENO: result: $SED" >&5
3439 echo "${ECHO_T}$SED" >&6
3441 test -z "$SED" && SED
=sed
3442 Xsed
="$SED -e 1s/^X//"
3454 echo "$as_me:$LINENO: checking for egrep" >&5
3455 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3456 if test "${ac_cv_prog_egrep+set}" = set; then
3457 echo $ECHO_N "(cached) $ECHO_C" >&6
3459 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3460 then ac_cv_prog_egrep
='grep -E'
3461 else ac_cv_prog_egrep
='egrep'
3464 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3465 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3466 EGREP
=$ac_cv_prog_egrep
3469 echo "$as_me:$LINENO: checking for fgrep" >&5
3470 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
3471 if test "${ac_cv_prog_fgrep+set}" = set; then
3472 echo $ECHO_N "(cached) $ECHO_C" >&6
3474 if echo 'ab*c' |
(grep -F 'ab*c') >/dev
/null
2>&1
3475 then ac_cv_prog_fgrep
='grep -F'
3476 else ac_cv_prog_fgrep
='fgrep'
3479 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
3480 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
3481 FGREP
=$ac_cv_prog_fgrep
3484 test -z "$GREP" && GREP
=grep
3504 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3505 if test "${with_gnu_ld+set}" = set; then
3506 withval
="$with_gnu_ld"
3507 test "$withval" = no || with_gnu_ld
=yes
3512 if test "$GCC" = yes; then
3513 # Check if gcc -print-prog-name=ld gives a path.
3514 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3515 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
3518 # gcc leaves a trailing carriage return which upsets mingw
3519 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3521 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3524 # Accept absolute paths.
3526 re_direlt
='/[^/][^/]*/\.\./'
3527 # Canonicalize the pathname of ld
3528 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
3529 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
3530 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
3532 test -z "$LD" && LD
="$ac_prog"
3535 # If it fails, then pretend we aren't using GCC.
3539 # If it is relative, then search for the first ld in PATH.
3543 elif test "$with_gnu_ld" = yes; then
3544 echo "$as_me:$LINENO: checking for GNU ld" >&5
3545 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3547 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3548 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3550 if test "${lt_cv_path_LD+set}" = set; then
3551 echo $ECHO_N "(cached) $ECHO_C" >&6
3553 if test -z "$LD"; then
3554 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
3555 for ac_dir
in $PATH; do
3557 test -z "$ac_dir" && ac_dir
=.
3558 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3559 lt_cv_path_LD
="$ac_dir/$ac_prog"
3560 # Check to see if the program is GNU ld. I'd rather use --version,
3561 # but apparently some variants of GNU ld only accept -v.
3562 # Break only if it was the GNU/non-GNU ld that we prefer.
3563 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3564 *GNU
* |
*'with BFD'*)
3565 test "$with_gnu_ld" != no
&& break
3568 test "$with_gnu_ld" != yes && break
3575 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3580 if test -n "$LD"; then
3581 echo "$as_me:$LINENO: result: $LD" >&5
3582 echo "${ECHO_T}$LD" >&6
3584 echo "$as_me:$LINENO: result: no" >&5
3585 echo "${ECHO_T}no" >&6
3587 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3588 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3589 { (exit 1); exit 1; }; }
3590 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3591 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3592 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3593 echo $ECHO_N "(cached) $ECHO_C" >&6
3595 # I'd rather use --version here, but apparently some GNU lds only accept -v.
3596 case `$LD -v 2>&1 </dev/null` in
3597 *GNU
* |
*'with BFD'*)
3598 lt_cv_prog_gnu_ld
=yes
3601 lt_cv_prog_gnu_ld
=no
3605 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3606 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3607 with_gnu_ld
=$lt_cv_prog_gnu_ld
3618 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
3619 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
3620 if test "${lt_cv_path_NM+set}" = set; then
3621 echo $ECHO_N "(cached) $ECHO_C" >&6
3623 if test -n "$NM"; then
3624 # Let the user override the test.
3627 lt_nm_to_check
="${ac_tool_prefix}nm"
3628 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3629 lt_nm_to_check
="$lt_nm_to_check nm"
3631 for lt_tmp_nm
in $lt_nm_to_check; do
3632 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
3633 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
3635 test -z "$ac_dir" && ac_dir
=.
3636 tmp_nm
="$ac_dir/$lt_tmp_nm"
3637 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
3638 # Check to see if the nm accepts a BSD-compat flag.
3639 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3640 # nm: unknown option "B" ignored
3641 # Tru64's nm complains that /dev/null is an invalid object file
3642 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3643 */dev
/null
* |
*'Invalid file or object type'*)
3644 lt_cv_path_NM
="$tmp_nm -B"
3648 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3650 lt_cv_path_NM
="$tmp_nm -p"
3654 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3655 continue # so that we can try to find one that supports BSD flags
3664 : ${lt_cv_path_NM=no}
3667 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
3668 echo "${ECHO_T}$lt_cv_path_NM" >&6
3669 if test "$lt_cv_path_NM" != "no"; then
3672 # Didn't find any BSD compatible name lister, look for dumpbin.
3673 if test -n "$ac_tool_prefix"; then
3674 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
3676 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3677 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3678 echo "$as_me:$LINENO: checking for $ac_word" >&5
3679 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3680 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
3681 echo $ECHO_N "(cached) $ECHO_C" >&6
3683 if test -n "$DUMPBIN"; then
3684 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
3686 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3690 test -z "$as_dir" && as_dir
=.
3691 for ac_exec_ext
in '' $ac_executable_extensions; do
3692 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3693 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
3694 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3702 DUMPBIN
=$ac_cv_prog_DUMPBIN
3703 if test -n "$DUMPBIN"; then
3704 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
3705 echo "${ECHO_T}$DUMPBIN" >&6
3707 echo "$as_me:$LINENO: result: no" >&5
3708 echo "${ECHO_T}no" >&6
3711 test -n "$DUMPBIN" && break
3714 if test -z "$DUMPBIN"; then
3715 ac_ct_DUMPBIN
=$DUMPBIN
3716 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
3718 # Extract the first word of "$ac_prog", so it can be a program name with args.
3719 set dummy
$ac_prog; ac_word
=$2
3720 echo "$as_me:$LINENO: checking for $ac_word" >&5
3721 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3722 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
3723 echo $ECHO_N "(cached) $ECHO_C" >&6
3725 if test -n "$ac_ct_DUMPBIN"; then
3726 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
3728 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3732 test -z "$as_dir" && as_dir
=.
3733 for ac_exec_ext
in '' $ac_executable_extensions; do
3734 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3735 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
3736 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3744 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
3745 if test -n "$ac_ct_DUMPBIN"; then
3746 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
3747 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
3749 echo "$as_me:$LINENO: result: no" >&5
3750 echo "${ECHO_T}no" >&6
3753 test -n "$ac_ct_DUMPBIN" && break
3755 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN
=":"
3757 DUMPBIN
=$ac_ct_DUMPBIN
3761 if test "$DUMPBIN" != ":"; then
3765 test -z "$NM" && NM
=nm
3772 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
3773 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
3774 if test "${lt_cv_nm_interface+set}" = set; then
3775 echo $ECHO_N "(cached) $ECHO_C" >&6
3777 lt_cv_nm_interface
="BSD nm"
3778 echo "int some_variable = 0;" > conftest.
$ac_ext
3779 (eval echo "\"\$as_me:3779: $ac_compile\"" >&5)
3780 (eval "$ac_compile" 2>conftest.err
)
3781 cat conftest.err
>&5
3782 (eval echo "\"\$as_me:3782: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
3783 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
3784 cat conftest.err
>&5
3785 (eval echo "\"\$as_me:3785: output\"" >&5)
3786 cat conftest.out
>&5
3787 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
3788 lt_cv_nm_interface
="MS dumpbin"
3792 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
3793 echo "${ECHO_T}$lt_cv_nm_interface" >&6
3795 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3796 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3798 if test "$LN_S" = "ln -s"; then
3799 echo "$as_me:$LINENO: result: yes" >&5
3800 echo "${ECHO_T}yes" >&6
3802 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3803 echo "${ECHO_T}no, using $LN_S" >&6
3806 # find the maximum length of command line arguments
3807 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
3808 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
3809 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
3810 echo $ECHO_N "(cached) $ECHO_C" >&6
3817 # On DJGPP, this test can blow up pretty badly due to problems in libc
3818 # (any single argument exceeding 2000 bytes causes a buffer overrun
3819 # during glob expansion). Even if it were fixed, the result of this
3820 # check would be larger than it should be.
3821 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
3825 # Under GNU Hurd, this test is not required because there is
3826 # no limit to the length of command line arguments.
3827 # Libtool will interpret -1 as no limit whatsoever
3828 lt_cv_sys_max_cmd_len
=-1;
3832 # On Win9x/ME, this test blows up -- it succeeds, but takes
3833 # about 5 minutes as the teststring grows exponentially.
3834 # Worse, since 9x/ME are not pre-emptively multitasking,
3835 # you end up with a "frozen" computer, even though with patience
3836 # the test eventually succeeds (with a max line length of 256k).
3837 # Instead, let's just punt: use the minimum linelength reported by
3838 # all of the supported platforms: 8192 (on NT/2K/XP).
3839 lt_cv_sys_max_cmd_len
=8192;
3843 # On AmigaOS with pdksh, this test takes hours, literally.
3844 # So we just punt and use a minimum line length of 8192.
3845 lt_cv_sys_max_cmd_len
=8192;
3848 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
3849 # This has been around since 386BSD, at least. Likely further.
3850 if test -x /sbin
/sysctl
; then
3851 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
3852 elif test -x /usr
/sbin
/sysctl
; then
3853 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
3855 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
3857 # And add a safety zone
3858 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
3859 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
3863 # We know the value 262144 and hardcode it with a safety zone (like BSD)
3864 lt_cv_sys_max_cmd_len
=196608
3868 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
3869 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
3870 # nice to cause kernel panics so lets avoid the loop below.
3871 # First set a reasonable default.
3872 lt_cv_sys_max_cmd_len
=16384
3874 if test -x /sbin
/sysconfig
; then
3875 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
3876 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
3881 lt_cv_sys_max_cmd_len
=102400
3883 sysv5
* | sco5v6
* | sysv4.2uw2
*)
3884 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
3885 if test -n "$kargmax"; then
3886 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
3888 lt_cv_sys_max_cmd_len
=32768
3892 # Make teststring a little bigger before we do anything with it.
3893 # a 1K string should be a reasonable start.
3894 for i
in 1 2 3 4 5 6 7 8 ; do
3895 teststring
=$teststring$teststring
3897 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
3898 # If test is not a shell built-in, we'll probably end up computing a
3899 # maximum length that is only half of the actual maximum length, but
3901 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
3902 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
3903 test $i != 17 # 1/2 MB should be enough
3906 teststring
=$teststring$teststring
3908 # Only check the string length outside the loop.
3909 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
3911 # Add a significant safety factor because C++ compilers can tack on massive
3912 # amounts of additional arguments before passing them to the linker.
3913 # It appears as though 1/2 is a usable value.
3914 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
3920 if test -n $lt_cv_sys_max_cmd_len ; then
3921 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
3922 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
3924 echo "$as_me:$LINENO: result: none" >&5
3925 echo "${ECHO_T}none" >&6
3927 max_cmd_len
=$lt_cv_sys_max_cmd_len
3939 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
3940 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
3941 # Try some XSI features
3944 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
3945 = c,a/b,, ) >/dev/null 2>&1 \
3947 echo "$as_me:$LINENO: result
: $xsi_shell" >&5
3948 echo "${ECHO_T}$xsi_shell" >&6
3951 echo "$as_me:$LINENO: checking whether the shell understands
\"+=\"" >&5
3952 echo $ECHO_N "checking whether the shell understands
\"+=\"...
$ECHO_C" >&6
3954 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
3956 && lt_shell_append=yes
3957 echo "$as_me:$LINENO: result
: $lt_shell_append" >&5
3958 echo "${ECHO_T}$lt_shell_append" >&6
3961 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3971 # test EBCDIC or ASCII
3972 case `echo X|tr X '\101'` in
3973 A) # ASCII based system
3974 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
3975 lt_SP2NL='tr \040 \012'
3976 lt_NL2SP='tr \015\012 \040\040'
3978 *) # EBCDIC based system
3979 lt_SP2NL='tr \100 \n'
3980 lt_NL2SP='tr \r\n \100\100'
3992 echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
3993 echo $ECHO_N "checking
for $LD option to reload object files...
$ECHO_C" >&6
3994 if test "${lt_cv_ld_reload_flag+set}" = set; then
3995 echo $ECHO_N "(cached
) $ECHO_C" >&6
3997 lt_cv_ld_reload_flag='-r'
3999 echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
4000 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4001 reload_flag=$lt_cv_ld_reload_flag
4002 case $reload_flag in
4004 *) reload_flag=" $reload_flag" ;;
4006 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4009 if test "$GCC" = yes; then
4010 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4012 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4026 echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
4027 echo $ECHO_N "checking how to recognize dependent libraries...
$ECHO_C" >&6
4028 if test "${lt_cv_deplibs_check_method+set}" = set; then
4029 echo $ECHO_N "(cached
) $ECHO_C" >&6
4031 lt_cv_file_magic_cmd='$MAGIC_CMD'
4032 lt_cv_file_magic_test_file=
4033 lt_cv_deplibs_check_method='unknown'
4034 # Need to set the preceding variable on all platforms that support
4035 # interlibrary dependencies.
4036 # 'none' -- dependencies not supported.
4037 # `unknown' -- same as none, but documents that we really don't know.
4038 # 'pass_all' -- all dependencies passed with no checks.
4039 # 'test_compile' -- check by making test program.
4040 # 'file_magic [[regex]]' -- check by looking for files in library path
4041 # which responds to the $file_magic_cmd with a given extended regex.
4042 # If you have `file' or equivalent on your system and you're not sure
4043 # whether `pass_all' will *always* work, you probably want this one.
4047 lt_cv_deplibs_check_method=pass_all
4051 lt_cv_deplibs_check_method=pass_all
4055 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4056 lt_cv_file_magic_cmd='/usr/bin/file -L'
4057 lt_cv_file_magic_test_file=/shlib/libc.so
4061 # func_win32_libid is a shell function defined in ltmain.sh
4062 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4063 lt_cv_file_magic_cmd='func_win32_libid'
4067 # Base MSYS/MinGW do not provide the 'file' command needed by
4068 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4069 # unless we find 'file', for example because we are cross-compiling.
4070 if ( file / ) >/dev/null 2>&1; then
4071 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4072 lt_cv_file_magic_cmd='func_win32_libid'
4074 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4075 lt_cv_file_magic_cmd='$OBJDUMP -f'
4079 darwin* | rhapsody*)
4080 lt_cv_deplibs_check_method=pass_all
4083 freebsd* | dragonfly*)
4084 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4087 # Not sure whether the presence of OpenBSD here was a mistake.
4088 # Let's accept both of them until this is cleared up.
4089 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4090 lt_cv_file_magic_cmd=/usr/bin/file
4091 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4095 lt_cv_deplibs_check_method=pass_all
4100 lt_cv_deplibs_check_method=pass_all
4103 hpux10.20* | hpux11*)
4104 lt_cv_file_magic_cmd=/usr/bin/file
4107 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4108 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4111 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]'
4112 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4115 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4116 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4122 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4123 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4126 irix5* | irix6* | nonstopux*)
4128 *-32|*"-32 ") libmagic=32-bit;;
4129 *-n32|*"-n32 ") libmagic=N32;;
4130 *-64|*"-64 ") libmagic=64-bit;;
4131 *) libmagic=never-match;;
4133 lt_cv_deplibs_check_method=pass_all
4136 # This must be Linux ELF.
4137 linux* | k*bsd*-gnu)
4138 lt_cv_deplibs_check_method=pass_all
4142 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4143 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4145 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4150 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4151 lt_cv_file_magic_cmd=/usr/bin/file
4152 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4156 lt_cv_deplibs_check_method=pass_all
4160 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
4161 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4163 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4167 osf3* | osf4* | osf5*)
4168 lt_cv_deplibs_check_method=pass_all
4172 lt_cv_deplibs_check_method=pass_all
4176 lt_cv_deplibs_check_method=pass_all
4179 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4180 lt_cv_deplibs_check_method=pass_all
4184 case $host_vendor in
4186 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]'
4187 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4190 lt_cv_deplibs_check_method=pass_all
4193 lt_cv_file_magic_cmd='/bin/file'
4194 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4197 lt_cv_file_magic_cmd='/bin/file'
4198 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
4199 lt_cv_file_magic_test_file=/lib/libc.so
4202 lt_cv_deplibs_check_method=pass_all
4205 lt_cv_deplibs_check_method=pass_all
4211 lt_cv_deplibs_check_method=pass_all
4216 echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
4217 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4218 file_magic_cmd=$lt_cv_file_magic_cmd
4219 deplibs_check_method=$lt_cv_deplibs_check_method
4220 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4233 if test -n "$ac_tool_prefix"; then
4234 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4235 set dummy ${ac_tool_prefix}ar; ac_word=$2
4236 echo "$as_me:$LINENO: checking
for $ac_word" >&5
4237 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
4238 if test "${ac_cv_prog_AR+set}" = set; then
4239 echo $ECHO_N "(cached
) $ECHO_C" >&6
4241 if test -n "$AR"; then
4242 ac_cv_prog_AR="$AR" # Let the user override the test.
4244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4248 test -z "$as_dir" && as_dir=.
4249 for ac_exec_ext in '' $ac_executable_extensions; do
4250 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4251 ac_cv_prog_AR="${ac_tool_prefix}ar"
4252 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4261 if test -n "$AR"; then
4262 echo "$as_me:$LINENO: result
: $AR" >&5
4263 echo "${ECHO_T}$AR" >&6
4265 echo "$as_me:$LINENO: result
: no
" >&5
4266 echo "${ECHO_T}no
" >&6
4270 if test -z "$ac_cv_prog_AR"; then
4272 # Extract the first word of "ar", so it can be a program name with args.
4273 set dummy ar; ac_word=$2
4274 echo "$as_me:$LINENO: checking
for $ac_word" >&5
4275 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
4276 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4277 echo $ECHO_N "(cached
) $ECHO_C" >&6
4279 if test -n "$ac_ct_AR"; then
4280 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4286 test -z "$as_dir" && as_dir=.
4287 for ac_exec_ext in '' $ac_executable_extensions; do
4288 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4289 ac_cv_prog_ac_ct_AR="ar"
4290 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4296 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false
"
4299 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4300 if test -n "$ac_ct_AR"; then
4301 echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
4302 echo "${ECHO_T}$ac_ct_AR" >&6
4304 echo "$as_me:$LINENO: result
: no
" >&5
4305 echo "${ECHO_T}no
" >&6
4313 test -z "$AR" && AR=ar
4314 test -z "$AR_FLAGS" && AR_FLAGS=cru
4326 if test -n "$ac_tool_prefix"; then
4327 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
4328 set dummy ${ac_tool_prefix}strip; ac_word=$2
4329 echo "$as_me:$LINENO: checking
for $ac_word" >&5
4330 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
4331 if test "${ac_cv_prog_STRIP+set}" = set; then
4332 echo $ECHO_N "(cached
) $ECHO_C" >&6
4334 if test -n "$STRIP"; then
4335 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4341 test -z "$as_dir" && as_dir=.
4342 for ac_exec_ext in '' $ac_executable_extensions; do
4343 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4344 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
4345 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4353 STRIP=$ac_cv_prog_STRIP
4354 if test -n "$STRIP"; then
4355 echo "$as_me:$LINENO: result
: $STRIP" >&5
4356 echo "${ECHO_T}$STRIP" >&6
4358 echo "$as_me:$LINENO: result
: no
" >&5
4359 echo "${ECHO_T}no
" >&6
4363 if test -z "$ac_cv_prog_STRIP"; then
4365 # Extract the first word of "strip
", so it can be a program name with args.
4366 set dummy strip; ac_word=$2
4367 echo "$as_me:$LINENO: checking
for $ac_word" >&5
4368 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
4369 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4370 echo $ECHO_N "(cached
) $ECHO_C" >&6
4372 if test -n "$ac_ct_STRIP"; then
4373 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4379 test -z "$as_dir" && as_dir=.
4380 for ac_exec_ext in '' $ac_executable_extensions; do
4381 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4382 ac_cv_prog_ac_ct_STRIP="strip
"
4383 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4389 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4392 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4393 if test -n "$ac_ct_STRIP"; then
4394 echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
4395 echo "${ECHO_T}$ac_ct_STRIP" >&6
4397 echo "$as_me:$LINENO: result
: no
" >&5
4398 echo "${ECHO_T}no
" >&6
4403 STRIP="$ac_cv_prog_STRIP"
4406 test -z "$STRIP" && STRIP=:
4413 if test -n "$ac_tool_prefix"; then
4414 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
4415 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4416 echo "$as_me:$LINENO: checking
for $ac_word" >&5
4417 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
4418 if test "${ac_cv_prog_RANLIB+set}" = set; then
4419 echo $ECHO_N "(cached
) $ECHO_C" >&6
4421 if test -n "$RANLIB"; then
4422 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4428 test -z "$as_dir" && as_dir=.
4429 for ac_exec_ext in '' $ac_executable_extensions; do
4430 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4431 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
4432 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4440 RANLIB=$ac_cv_prog_RANLIB
4441 if test -n "$RANLIB"; then
4442 echo "$as_me:$LINENO: result
: $RANLIB" >&5
4443 echo "${ECHO_T}$RANLIB" >&6
4445 echo "$as_me:$LINENO: result
: no
" >&5
4446 echo "${ECHO_T}no
" >&6
4450 if test -z "$ac_cv_prog_RANLIB"; then
4451 ac_ct_RANLIB=$RANLIB
4452 # Extract the first word of "ranlib
", so it can be a program name with args.
4453 set dummy ranlib; ac_word=$2
4454 echo "$as_me:$LINENO: checking
for $ac_word" >&5
4455 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
4456 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4457 echo $ECHO_N "(cached
) $ECHO_C" >&6
4459 if test -n "$ac_ct_RANLIB"; then
4460 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4466 test -z "$as_dir" && as_dir=.
4467 for ac_exec_ext in '' $ac_executable_extensions; do
4468 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4469 ac_cv_prog_ac_ct_RANLIB="ranlib
"
4470 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4476 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4479 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4480 if test -n "$ac_ct_RANLIB"; then
4481 echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
4482 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4484 echo "$as_me:$LINENO: result
: no
" >&5
4485 echo "${ECHO_T}no
" >&6
4488 RANLIB=$ac_ct_RANLIB
4490 RANLIB="$ac_cv_prog_RANLIB"
4493 test -z "$RANLIB" && RANLIB=:
4500 # Determine commands to create old-style static archives.
4501 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
4502 old_postinstall_cmds='chmod 644 $oldlib'
4503 old_postuninstall_cmds=
4505 if test -n "$RANLIB"; then
4508 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
4511 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
4514 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
4550 # If no C compiler was specified, use CC.
4553 # If no C compiler flags were specified, use CFLAGS.
4554 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
4556 # Allow CC to be a program name with arguments.
4560 # Check for command to grab the raw symbol name followed by C symbol from nm.
4561 echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
4562 echo $ECHO_N "checking
command to parse
$NM output from
$compiler object...
$ECHO_C" >&6
4563 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
4564 echo $ECHO_N "(cached
) $ECHO_C" >&6
4567 # These are sane defaults that work on at least a few old systems.
4568 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
4570 # Character class describing NM global symbol codes.
4571 symcode='[BCDEGRST]'
4573 # Regexp to match symbols that can be accessed directly from C.
4574 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
4576 # Define system-specific variables.
4581 cygwin* | mingw* | pw32*)
4582 symcode='[ABCDGISTW]'
4585 if test "$host_cpu" = ia64; then
4586 symcode='[ABCDEGRST]'
4590 symcode='[BCDEGRST]'
4593 symcode='[BCDEGQRST]'
4604 sysv5* | sco5v6* | unixware* | OpenUNIX*)
4612 # If we're using GNU nm, then use its standard symbol codes.
4613 case `$NM -V 2>&1` in
4614 *GNU* | *'with BFD'*)
4615 symcode='[ABCDGIRSTW]' ;;
4618 # Transform an extracted symbol line into a proper C declaration.
4619 # Some systems (esp. on ia64) link data and code symbols differently,
4620 # so use this general approach.
4621 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
4623 # Transform an extracted symbol line into symbol name and symbol address
4624 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
4626 # Handle CRLF in mingw tool chain
4630 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
4634 # Try without a prefix underscore, then with it.
4635 for ac_symprfx in "" "_
"; do
4637 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
4638 symxfrm="\\1 $ac_symprfx\\2 \\2"
4640 # Write the raw and C identifiers.
4641 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
4642 # Fake it for dumpbin and say T for any non-static function
4643 # and D for any global variable.
4644 # Also find C++ and __fastcall symbols from MSVC++,
4645 # which start with @ or ?.
4646 lt_cv_sys_global_symbol_pipe="$AWK '"\
4647 " {last_section=section; section=\$ 3};"\
4648 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
4649 " \$ 0!~/External *\|/{next};"\
4650 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
4651 " {if(hide[section]) next};"\
4652 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
4653 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
4654 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
4655 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
4656 " ' prfx
=^
$ac_symprfx"
4658 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
4661 # Check to see that the pipe works correctly.
4665 cat > conftest.$ac_ext <<_LT_EOF
4670 void nm_test_func(void);
4671 void nm_test_func(void){}
4675 int main(){nm_test_var='a';nm_test_func();return(0);}
4678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4679 (eval $ac_compile) 2>&5
4681 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4682 (exit $ac_status); }; then
4683 # Now try to grab the symbols.
4685 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
4686 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
4688 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4689 (exit $ac_status); } && test -s "$nlist"; then
4690 # Try sorting and uniquifying the output.
4691 if sort "$nlist" | uniq > "$nlist"T; then
4692 mv -f "$nlist"T "$nlist"
4697 # Make sure that we snagged all the symbols we need.
4698 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
4699 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
4700 cat <<_LT_EOF > conftest.$ac_ext
4706 # Now generate the symbol file.
4707 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
4709 cat <<_LT_EOF >> conftest.$ac_ext
4711 /* The mapping between symbol names and symbols. */
4716 lt__PROGRAM__LTX_preloaded_symbols[] =
4718 { "@PROGRAM@
", (void *) 0 },
4720 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
4721 cat <<\_LT_EOF >> conftest.$ac_ext
4725 /* This works around a problem in FreeBSD linker */
4726 #ifdef FREEBSD_WORKAROUND
4727 static const void *lt_preloaded_setup() {
4728 return lt__PROGRAM__LTX_preloaded_symbols;
4736 # Now try linking the two files.
4737 mv conftest.$ac_objext conftstm.$ac_objext
4738 lt_save_LIBS="$LIBS"
4739 lt_save_CFLAGS="$CFLAGS"
4740 LIBS="conftstm.
$ac_objext"
4741 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
4742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4743 (eval $ac_link) 2>&5
4745 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4746 (exit $ac_status); } && test -s conftest${ac_exeext}; then
4749 LIBS="$lt_save_LIBS"
4750 CFLAGS="$lt_save_CFLAGS"
4752 echo "cannot
find nm_test_func
in $nlist" >&5
4755 echo "cannot
find nm_test_var
in $nlist" >&5
4758 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
4761 echo "$progname: failed program was
:" >&5
4762 cat conftest.$ac_ext >&5
4764 rm -f conftest* conftst*
4766 # Do not use the global_symbol_pipe unless it works.
4767 if test "$pipe_works" = yes; then
4770 lt_cv_sys_global_symbol_pipe=
4776 if test -z "$lt_cv_sys_global_symbol_pipe"; then
4777 lt_cv_sys_global_symbol_to_cdecl=
4779 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
4780 echo "$as_me:$LINENO: result
: failed
" >&5
4781 echo "${ECHO_T}failed
" >&6
4783 echo "$as_me:$LINENO: result
: ok
" >&5
4784 echo "${ECHO_T}ok
" >&6
4804 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4805 if test "${enable_libtool_lock+set}" = set; then
4806 enableval="$enable_libtool_lock"
4809 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
4811 # Some flags need to be propagated to the compiler or linker for good
4815 # Find out which ABI we are using.
4816 echo 'int i;' > conftest.$ac_ext
4817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4818 (eval $ac_compile) 2>&5
4820 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4821 (exit $ac_status); }; then
4822 case `/usr/bin/file conftest.$ac_objext` in
4834 # Find out which ABI we are using.
4835 echo '#line 4835 "configure
"' > conftest.$ac_ext
4836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4837 (eval $ac_compile) 2>&5
4839 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4840 (exit $ac_status); }; then
4841 if test "$lt_cv_prog_gnu_ld" = yes; then
4842 case `/usr/bin/file conftest.$ac_objext` in
4844 LD="${LD-ld} -melf32bsmip"
4847 LD="${LD-ld} -melf32bmipn32"
4850 LD="${LD-ld} -melf64bmip"
4854 case `/usr/bin/file conftest.$ac_objext` in
4870 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
4871 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
4872 # Find out which ABI we are using.
4873 echo 'int i;' > conftest.$ac_ext
4874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4875 (eval $ac_compile) 2>&5
4877 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4878 (exit $ac_status); }; then
4879 case `/usr/bin/file conftest.o` in
4882 x86_64-*kfreebsd*-gnu)
4883 LD="${LD-ld} -m elf_i386_fbsd
"
4886 LD="${LD-ld} -m elf_i386
"
4888 ppc64-*linux*|powerpc64-*linux*)
4889 LD="${LD-ld} -m elf32ppclinux
"
4892 LD="${LD-ld} -m elf_s390
"
4895 LD="${LD-ld} -m elf32_sparc
"
4901 x86_64-*kfreebsd*-gnu)
4902 LD="${LD-ld} -m elf_x86_64_fbsd
"
4905 LD="${LD-ld} -m elf_x86_64
"
4907 ppc*-*linux*|powerpc*-*linux*)
4908 LD="${LD-ld} -m elf64ppc
"
4910 s390*-*linux*|s390*-*tpf*)
4911 LD="${LD-ld} -m elf64_s390
"
4914 LD="${LD-ld} -m elf64_sparc
"
4924 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4925 SAVE_CFLAGS="$CFLAGS"
4926 CFLAGS="$CFLAGS -belf"
4927 echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
4928 echo $ECHO_N "checking whether the C compiler needs
-belf...
$ECHO_C" >&6
4929 if test "${lt_cv_cc_needs_belf+set}" = set; then
4930 echo $ECHO_N "(cached
) $ECHO_C" >&6
4933 ac_cpp='$CPP $CPPFLAGS'
4934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4938 if test x$gcc_no_link = xyes; then
4939 { { echo "$as_me:$LINENO: error
: Link tests are not allowed after GCC_NO_EXECUTABLES.
" >&5
4940 echo "$as_me: error
: Link tests are not allowed after GCC_NO_EXECUTABLES.
" >&2;}
4941 { (exit 1); exit 1; }; }
4943 cat >conftest.$ac_ext <<_ACEOF
4946 cat confdefs.h >>conftest.$ac_ext
4947 cat >>conftest.$ac_ext <<_ACEOF
4948 /* end confdefs.h. */
4958 rm -f conftest.$ac_objext conftest$ac_exeext
4959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4960 (eval $ac_link) 2>conftest.er1
4962 grep -v '^ *+' conftest.er1 >conftest.err
4964 cat conftest.err >&5
4965 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4966 (exit $ac_status); } &&
4967 { ac_try='test -z "$ac_c_werror_flag"
4968 || test ! -s conftest.err'
4969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4972 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4973 (exit $ac_status); }; } &&
4974 { ac_try='test -s conftest$ac_exeext'
4975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4978 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4979 (exit $ac_status); }; }; then
4980 lt_cv_cc_needs_belf=yes
4982 echo "$as_me: failed program was
:" >&5
4983 sed 's/^/| /' conftest.$ac_ext >&5
4985 lt_cv_cc_needs_belf=no
4987 rm -f conftest.err conftest.$ac_objext \
4988 conftest$ac_exeext conftest.$ac_ext
4990 ac_cpp='$CPP $CPPFLAGS'
4991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4996 echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
4997 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4998 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4999 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5000 CFLAGS="$SAVE_CFLAGS"
5004 # Find out which ABI we are using.
5005 echo 'int i;' > conftest.$ac_ext
5006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5007 (eval $ac_compile) 2>&5
5009 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5010 (exit $ac_status); }; then
5011 case `/usr/bin/file conftest.o` in
5013 case $lt_cv_prog_gnu_ld in
5014 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
5015 *) LD="${LD-ld} -64" ;;
5024 need_locks="$enable_libtool_lock"
5027 ac_cpp='$CPP $CPPFLAGS'
5028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5031 echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
5032 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6
5033 # On Suns, sometimes $CPP names a directory.
5034 if test -n "$CPP" && test -d "$CPP"; then
5037 if test -z "$CPP"; then
5038 if test "${ac_cv_prog_CPP+set}" = set; then
5039 echo $ECHO_N "(cached
) $ECHO_C" >&6
5041 # Double quotes because CPP needs to be expanded
5042 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
5045 for ac_c_preproc_warn_flag in '' yes
5047 # Use a header file that comes with gcc, so configuring glibc
5048 # with a fresh cross-compiler works.
5049 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5050 # <limits.h> exists even on freestanding compilers.
5051 # On the NeXT, cc -E runs the code through the compiler's parser,
5052 # not just through cpp. "Syntax error
" is here to catch this case.
5053 cat >conftest.$ac_ext <<_ACEOF
5056 cat confdefs.h >>conftest.$ac_ext
5057 cat >>conftest.$ac_ext <<_ACEOF
5058 /* end confdefs.h. */
5060 # include <limits.h>
5062 # include <assert.h>
5066 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
5067 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5069 grep -v '^ *+' conftest.er1 >conftest.err
5071 cat conftest.err >&5
5072 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5073 (exit $ac_status); } >/dev/null; then
5074 if test -s conftest.err; then
5075 ac_cpp_err=$ac_c_preproc_warn_flag
5076 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5083 if test -z "$ac_cpp_err"; then
5086 echo "$as_me: failed program was
:" >&5
5087 sed 's/^/| /' conftest.$ac_ext >&5
5089 # Broken: fails on valid input.
5092 rm -f conftest.err conftest.$ac_ext
5094 # OK, works on sane cases. Now check whether non-existent headers
5095 # can be detected and how.
5096 cat >conftest.$ac_ext <<_ACEOF
5099 cat confdefs.h >>conftest.$ac_ext
5100 cat >>conftest.$ac_ext <<_ACEOF
5101 /* end confdefs.h. */
5102 #include <ac_nonexistent.h>
5104 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
5105 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5107 grep -v '^ *+' conftest.er1 >conftest.err
5109 cat conftest.err >&5
5110 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5111 (exit $ac_status); } >/dev/null; then
5112 if test -s conftest.err; then
5113 ac_cpp_err=$ac_c_preproc_warn_flag
5114 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5121 if test -z "$ac_cpp_err"; then
5122 # Broken: success on invalid input.
5125 echo "$as_me: failed program was
:" >&5
5126 sed 's/^/| /' conftest.$ac_ext >&5
5128 # Passes both tests.
5132 rm -f conftest.err conftest.$ac_ext
5135 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5136 rm -f conftest.err conftest.$ac_ext
5137 if $ac_preproc_ok; then
5149 echo "$as_me:$LINENO: result
: $CPP" >&5
5150 echo "${ECHO_T}$CPP" >&6
5152 for ac_c_preproc_warn_flag in '' yes
5154 # Use a header file that comes with gcc, so configuring glibc
5155 # with a fresh cross-compiler works.
5156 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5157 # <limits.h> exists even on freestanding compilers.
5158 # On the NeXT, cc -E runs the code through the compiler's parser,
5159 # not just through cpp. "Syntax error
" is here to catch this case.
5160 cat >conftest.$ac_ext <<_ACEOF
5163 cat confdefs.h >>conftest.$ac_ext
5164 cat >>conftest.$ac_ext <<_ACEOF
5165 /* end confdefs.h. */
5167 # include <limits.h>
5169 # include <assert.h>
5173 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
5174 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5176 grep -v '^ *+' conftest.er1 >conftest.err
5178 cat conftest.err >&5
5179 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5180 (exit $ac_status); } >/dev/null; then
5181 if test -s conftest.err; then
5182 ac_cpp_err=$ac_c_preproc_warn_flag
5183 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5190 if test -z "$ac_cpp_err"; then
5193 echo "$as_me: failed program was
:" >&5
5194 sed 's/^/| /' conftest.$ac_ext >&5
5196 # Broken: fails on valid input.
5199 rm -f conftest.err conftest.$ac_ext
5201 # OK, works on sane cases. Now check whether non-existent headers
5202 # can be detected and how.
5203 cat >conftest.$ac_ext <<_ACEOF
5206 cat confdefs.h >>conftest.$ac_ext
5207 cat >>conftest.$ac_ext <<_ACEOF
5208 /* end confdefs.h. */
5209 #include <ac_nonexistent.h>
5211 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
5212 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5214 grep -v '^ *+' conftest.er1 >conftest.err
5216 cat conftest.err >&5
5217 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5218 (exit $ac_status); } >/dev/null; then
5219 if test -s conftest.err; then
5220 ac_cpp_err=$ac_c_preproc_warn_flag
5221 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5228 if test -z "$ac_cpp_err"; then
5229 # Broken: success on invalid input.
5232 echo "$as_me: failed program was
:" >&5
5233 sed 's/^/| /' conftest.$ac_ext >&5
5235 # Passes both tests.
5239 rm -f conftest.err conftest.$ac_ext
5242 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5243 rm -f conftest.err conftest.$ac_ext
5244 if $ac_preproc_ok; then
5247 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
5248 See \
`config.log' for more details." >&5
5249 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5250 See \`config.log
' for more details." >&2;}
5251 { (exit 1); exit 1; }; }
5255 ac_cpp='$CPP $CPPFLAGS'
5256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
5257 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
5258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5261 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5262 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5263 if test "${ac_cv_header_stdc+set}" = set; then
5264 echo $ECHO_N "(cached) $ECHO_C" >&6
5266 cat >conftest.$ac_ext <<_ACEOF
5269 cat confdefs.h >>conftest.$ac_ext
5270 cat >>conftest.$ac_ext <<_ACEOF
5271 /* end confdefs.h. */
5285 rm -f conftest.$ac_objext
5286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5287 (eval $ac_compile) 2>conftest.er1
5289 grep -v '^
*+' conftest.er1 >conftest.err
5291 cat conftest.err >&5
5292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5293 (exit $ac_status); } &&
5294 { ac_try='test -z "$ac_c_werror_flag"
5295 ||
test ! -s conftest.err
'
5296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5300 (exit $ac_status); }; } &&
5301 { ac_try='test -s conftest.
$ac_objext'
5302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5306 (exit $ac_status); }; }; then
5307 ac_cv_header_stdc=yes
5309 echo "$as_me: failed program was:" >&5
5310 sed 's
/^
/|
/' conftest.$ac_ext >&5
5312 ac_cv_header_stdc=no
5314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5316 if test $ac_cv_header_stdc = yes; then
5317 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5318 cat >conftest.$ac_ext <<_ACEOF
5321 cat confdefs.h >>conftest.$ac_ext
5322 cat >>conftest.$ac_ext <<_ACEOF
5323 /* end confdefs.h. */
5327 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5328 $EGREP "memchr" >/dev/null 2>&1; then
5331 ac_cv_header_stdc=no
5337 if test $ac_cv_header_stdc = yes; then
5338 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5339 cat >conftest.$ac_ext <<_ACEOF
5342 cat confdefs.h >>conftest.$ac_ext
5343 cat >>conftest.$ac_ext <<_ACEOF
5344 /* end confdefs.h. */
5348 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5349 $EGREP "free" >/dev/null 2>&1; then
5352 ac_cv_header_stdc=no
5358 if test $ac_cv_header_stdc = yes; then
5359 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5360 if test "$cross_compiling" = yes; then
5363 cat >conftest.$ac_ext <<_ACEOF
5366 cat confdefs.h >>conftest.$ac_ext
5367 cat >>conftest.$ac_ext <<_ACEOF
5368 /* end confdefs.h. */
5370 #if ((' ' & 0x0FF) == 0x020)
5371 # define ISLOWER(c) ('a
' <= (c) && (c) <= 'z
')
5372 # define TOUPPER(c) (ISLOWER(c) ? 'A
' + ((c) - 'a
') : (c))
5374 # define ISLOWER(c) \
5375 (('a
' <= (c) && (c) <= 'i
') \
5376 || ('j
' <= (c) && (c) <= 'r
') \
5377 || ('s
' <= (c) && (c) <= 'z
'))
5378 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5381 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5386 for (i = 0; i < 256; i++)
5387 if (XOR (islower (i), ISLOWER (i))
5388 || toupper (i) != TOUPPER (i))
5393 rm -f conftest$ac_exeext
5394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5395 (eval $ac_link) 2>&5
5397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5398 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
5399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5403 (exit $ac_status); }; }; then
5406 echo "$as_me: program exited with status $ac_status" >&5
5407 echo "$as_me: failed program was:" >&5
5408 sed 's
/^
/|
/' conftest.$ac_ext >&5
5411 ac_cv_header_stdc=no
5413 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5417 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5418 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5419 if test $ac_cv_header_stdc = yes; then
5421 cat >>confdefs.h <<\_ACEOF
5422 #define STDC_HEADERS 1
5427 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5437 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5438 inttypes.h stdint.h unistd.h
5440 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5441 echo "$as_me:$LINENO: checking for $ac_header" >&5
5442 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5443 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5444 echo $ECHO_N "(cached) $ECHO_C" >&6
5446 cat >conftest.$ac_ext <<_ACEOF
5449 cat confdefs.h >>conftest.$ac_ext
5450 cat >>conftest.$ac_ext <<_ACEOF
5451 /* end confdefs.h. */
5452 $ac_includes_default
5454 #include <$ac_header>
5456 rm -f conftest.$ac_objext
5457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5458 (eval $ac_compile) 2>conftest.er1
5460 grep -v '^
*+' conftest.er1 >conftest.err
5462 cat conftest.err >&5
5463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5464 (exit $ac_status); } &&
5465 { ac_try='test -z "$ac_c_werror_flag"
5466 ||
test ! -s conftest.err
'
5467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5471 (exit $ac_status); }; } &&
5472 { ac_try='test -s conftest.
$ac_objext'
5473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5477 (exit $ac_status); }; }; then
5478 eval "$as_ac_Header=yes"
5480 echo "$as_me: failed program was:" >&5
5481 sed 's
/^
/|
/' conftest.$ac_ext >&5
5483 eval "$as_ac_Header=no"
5485 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5487 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5488 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5489 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5490 cat >>confdefs.h <<_ACEOF
5491 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5500 for ac_header in dlfcn.h
5502 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5503 echo "$as_me:$LINENO: checking for $ac_header" >&5
5504 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5505 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5506 echo $ECHO_N "(cached) $ECHO_C" >&6
5508 cat >conftest.$ac_ext <<_ACEOF
5511 cat confdefs.h >>conftest.$ac_ext
5512 cat >>conftest.$ac_ext <<_ACEOF
5513 /* end confdefs.h. */
5514 $ac_includes_default
5516 #include <$ac_header>
5518 rm -f conftest.$ac_objext
5519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5520 (eval $ac_compile) 2>conftest.er1
5522 grep -v '^
*+' conftest.er1 >conftest.err
5524 cat conftest.err >&5
5525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5526 (exit $ac_status); } &&
5527 { ac_try='test -z "$ac_c_werror_flag"
5528 ||
test ! -s conftest.err
'
5529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5533 (exit $ac_status); }; } &&
5534 { ac_try='test -s conftest.
$ac_objext'
5535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5539 (exit $ac_status); }; }; then
5540 eval "$as_ac_Header=yes"
5542 echo "$as_me: failed program was:" >&5
5543 sed 's
/^
/|
/' conftest.$ac_ext >&5
5545 eval "$as_ac_Header=no"
5547 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5549 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5550 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5551 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5552 cat >>confdefs.h <<_ACEOF
5553 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5562 # This can be used to rebuild libtool when needed
5563 LIBTOOL_DEPS="$ltmain"
5565 # Always use our own libtool.
5566 LIBTOOL='$
(SHELL
) $
(top_builddir
)/libtool
'
5592 test -z "$LN_S" && LN_S="ln -s"
5607 if test -n "${ZSH_VERSION+set}" ; then
5608 setopt NO_GLOB_SUBST
5611 echo "$as_me:$LINENO: checking for objdir" >&5
5612 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
5613 if test "${lt_cv_objdir+set}" = set; then
5614 echo $ECHO_N "(cached) $ECHO_C" >&6
5616 rm -f .libs 2>/dev/null
5617 mkdir .libs 2>/dev/null
5618 if test -d .libs; then
5621 # MS-DOS does not allow filenames that begin with a dot.
5624 rmdir .libs 2>/dev/null
5626 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5627 echo "${ECHO_T}$lt_cv_objdir" >&6
5628 objdir=$lt_cv_objdir
5634 cat >>confdefs.h <<_ACEOF
5635 #define LT_OBJDIR "$lt_cv_objdir/"
5656 # AIX sometimes has problems with the GCC collect2 program. For some
5657 # reason, if we set the COLLECT_NAMES environment variable, the problems
5658 # vanish in a puff of smoke.
5659 if test "X${COLLECT_NAMES+set}" != Xset; then
5661 export COLLECT_NAMES
5666 # Sed substitution that helps us do robust quoting. It backslashifies
5667 # metacharacters that are still active within double-quoted strings.
5668 sed_quote_subst='s
/\
(["`$\\]\)/\\\1/g'
5670 # Same as above, but do not quote variable references.
5671 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5673 # Sed substitution to delay expansion of an escaped shell variable in a
5674 # double_quote_subst'ed string.
5675 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5677 # Sed substitution to delay expansion of an escaped single quote.
5678 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5680 # Sed substitution to avoid accidental globbing in evaled expressions
5681 no_glob_subst='s/\*/\\\*/g'
5685 can_build_shared=yes
5687 # All known linkers require a `.a
' archive for static linking (except MSVC,
5688 # which needs '.lib
').
5691 with_gnu_ld="$lt_cv_prog_gnu_ld"
5694 old_CFLAGS="$CFLAGS"
5696 # Set sane defaults for various variables
5697 test -z "$CC" && CC=cc
5698 test -z "$LTCC" && LTCC=$CC
5699 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
5700 test -z "$LD" && LD=ld
5701 test -z "$ac_objext" && ac_objext=o
5703 for cc_temp in $compiler""; do
5705 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
5706 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
5711 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's
%.
*/%%' -e "s%^$host_alias-%%"`
5714 # Only perform the check for file, if the check method requires it
5715 test -z "$MAGIC_CMD" && MAGIC_CMD=file
5716 case $deplibs_check_method in
5718 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
5719 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
5720 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
5721 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5722 echo $ECHO_N "(cached) $ECHO_C" >&6
5726 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
5729 lt_save_MAGIC_CMD="$MAGIC_CMD"
5730 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5731 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
5732 for ac_dir in $ac_dummy; do
5734 test -z "$ac_dir" && ac_dir=.
5735 if test -f $ac_dir/${ac_tool_prefix}file; then
5736 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
5737 if test -n "$file_magic_test_file"; then
5738 case $deplibs_check_method in
5740 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
5741 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5742 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
5743 $EGREP "$file_magic_regex" > /dev/null; then
5748 *** Warning: the command libtool uses to detect shared libraries,
5749 *** $file_magic_cmd, produces output that libtool cannot recognize.
5750 *** The result is that libtool may fail to recognize shared libraries
5751 *** as such. This will affect the creation of libtool libraries that
5752 *** depend on shared libraries, but programs linked with such libtool
5753 *** libraries will work regardless of this problem. Nevertheless, you
5754 *** may want to report the problem to your system manager and/or to
5755 *** bug-libtool@gnu.org
5765 MAGIC_CMD="$lt_save_MAGIC_CMD"
5770 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5771 if test -n "$MAGIC_CMD"; then
5772 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5773 echo "${ECHO_T}$MAGIC_CMD" >&6
5775 echo "$as_me:$LINENO: result: no" >&5
5776 echo "${ECHO_T}no" >&6
5783 if test -z "$lt_cv_path_MAGIC_CMD"; then
5784 if test -n "$ac_tool_prefix"; then
5785 echo "$as_me:$LINENO: checking for file" >&5
5786 echo $ECHO_N "checking for file... $ECHO_C" >&6
5787 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5788 echo $ECHO_N "(cached) $ECHO_C" >&6
5792 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
5795 lt_save_MAGIC_CMD="$MAGIC_CMD"
5796 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5797 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
5798 for ac_dir in $ac_dummy; do
5800 test -z "$ac_dir" && ac_dir=.
5801 if test -f $ac_dir/file; then
5802 lt_cv_path_MAGIC_CMD="$ac_dir/file"
5803 if test -n "$file_magic_test_file"; then
5804 case $deplibs_check_method in
5806 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
5807 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5808 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
5809 $EGREP "$file_magic_regex" > /dev/null; then
5814 *** Warning: the command libtool uses to detect shared libraries,
5815 *** $file_magic_cmd, produces output that libtool cannot recognize.
5816 *** The result is that libtool may fail to recognize shared libraries
5817 *** as such. This will affect the creation of libtool libraries that
5818 *** depend on shared libraries, but programs linked with such libtool
5819 *** libraries will work regardless of this problem. Nevertheless, you
5820 *** may want to report the problem to your system manager and/or to
5821 *** bug-libtool@gnu.org
5831 MAGIC_CMD="$lt_save_MAGIC_CMD"
5836 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5837 if test -n "$MAGIC_CMD"; then
5838 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5839 echo "${ECHO_T}$MAGIC_CMD" >&6
5841 echo "$as_me:$LINENO: result: no" >&5
5842 echo "${ECHO_T}no" >&6
5855 # Use C for the default configuration in the libtool script
5859 ac_cpp='$CPP $CPPFLAGS'
5860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
5861 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
5862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5865 # Source file extension for C test sources.
5868 # Object file extension for compiled C test sources.
5872 # Code to be used in simple compile tests
5873 lt_simple_compile_test_code="int some_variable = 0;"
5875 # Code to be used in simple link tests
5876 lt_simple_link_test_code='int main
(){return(0);}'
5884 # If no C compiler was specified, use CC.
5887 # If no C compiler flags were specified, use CFLAGS.
5888 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5890 # Allow CC to be a program name with arguments.
5893 # Save the default compiler, since it gets overwritten when the other
5894 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
5895 compiler_DEFAULT=$CC
5897 # save warnings/boilerplate of simple test code
5898 ac_outfile=conftest.$ac_objext
5899 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
5900 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$
/d
; /^
*+/d
' >conftest.err
5901 _lt_compiler_boilerplate=`cat conftest.err`
5904 ac_outfile=conftest.$ac_objext
5905 echo "$lt_simple_link_test_code" >conftest.$ac_ext
5906 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$
/d
; /^
*+/d
' >conftest.err
5907 _lt_linker_boilerplate=`cat conftest.err`
5912 ## There is no encapsulation within the following macros, do not change
5913 ## the running order or otherwise move them around unless you know exactly
5914 ## what you are doing...
5915 if test -n "$compiler"; then
5917 lt_prog_compiler_no_builtin_flag=
5919 if test "$GCC" = yes; then
5920 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
5922 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
5923 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
5924 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
5925 echo $ECHO_N "(cached) $ECHO_C" >&6
5927 lt_cv_prog_compiler_rtti_exceptions=no
5928 ac_outfile=conftest.$ac_objext
5929 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
5930 lt_compiler_flag="-fno-rtti -fno-exceptions"
5931 # Insert the option either (1) after the last *FLAGS variable, or
5932 # (2) before a word containing "conftest.", or (3) at the end.
5933 # Note that $ac_compile itself does not contain backslashes and begins
5934 # with a dollar sign (not a hyphen), so the echo should work correctly.
5935 # The option is referenced via a variable to avoid confusing sed.
5936 lt_compile=`echo "$ac_compile" | $SED \
5937 -e 's
:.
*FLAGS
}\
{0,1\
} :&$lt_compiler_flag :; t
' \
5938 -e 's
: [^
]*conftest\.
: $lt_compiler_flag&:; t
' \
5939 -e 's
:$
: $lt_compiler_flag:'`
5940 (eval echo "\"\$as_me:5940: $lt_compile\"" >&5)
5941 (eval "$lt_compile" 2>conftest.err)
5943 cat conftest.err >&5
5944 echo "$as_me:5944: \$? = $ac_status" >&5
5945 if (exit $ac_status) && test -s "$ac_outfile"; then
5946 # The compiler can only warn and ignore the option if not recognized
5947 # So say no if there are warnings other than the usual output.
5948 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$
/d
' >conftest.exp
5949 $SED '/^$
/d
; /^
*+/d
' conftest.err >conftest.er2
5950 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
5951 lt_cv_prog_compiler_rtti_exceptions=yes
5957 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
5958 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
5960 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
5961 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
5973 lt_prog_compiler_wl=
5974 lt_prog_compiler_pic=
5975 lt_prog_compiler_static=
5977 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
5978 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
5980 if test "$GCC" = yes; then
5981 lt_prog_compiler_wl='-Wl,'
5982 lt_prog_compiler_static='-static'
5986 # All AIX code is PIC.
5987 if test "$host_cpu" = ia64; then
5988 # AIX 5 now supports IA64 processor
5989 lt_prog_compiler_static='-Bstatic'
5994 if test "$host_cpu" = m68k; then
5995 # FIXME: we need at least 68020 code to build shared libraries, but
5996 # adding the `-m68020' flag to GCC prevents building anything better
,
5998 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
6002 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
6003 # PIC is the default for these OSes.
6006 mingw
* | cygwin
* | pw32
* | os2
*)
6007 # This hack is so that the source file can tell whether it is being
6008 # built for inclusion in a dll (and should export symbols for example).
6009 # Although the cygwin gcc ignores -fPIC, still need this for old-style
6010 # (--disable-auto-import) libraries
6011 lt_prog_compiler_pic
='-DDLL_EXPORT'
6014 darwin
* | rhapsody
*)
6015 # PIC is the default on this platform
6016 # Common symbols not allowed in MH_DYLIB files
6017 lt_prog_compiler_pic
='-fno-common'
6021 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6028 lt_prog_compiler_pic
='-fPIC'
6034 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6035 # Instead, we relocate shared libraries at runtime.
6039 # Just because we use GCC doesn't mean we suddenly get shared libraries
6040 # on systems that don't support them.
6041 lt_prog_compiler_can_build_shared
=no
6046 # QNX uses GNU C++, but need to define -shared option too, otherwise
6048 lt_prog_compiler_pic
='-fPIC -shared'
6052 if test -d /usr
/nec
; then
6053 lt_prog_compiler_pic
=-Kconform_pic
6058 lt_prog_compiler_pic
='-fPIC'
6062 # PORTME Check for flag to pass linker flags through the system compiler.
6065 lt_prog_compiler_wl
='-Wl,'
6066 if test "$host_cpu" = ia64
; then
6067 # AIX 5 now supports IA64 processor
6068 lt_prog_compiler_static
='-Bstatic'
6070 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
6074 # PIC is the default on this platform
6075 # Common symbols not allowed in MH_DYLIB files
6076 case $cc_basename in
6078 lt_prog_compiler_pic
='-qnocommon'
6079 lt_prog_compiler_wl
='-Wl,'
6084 mingw
* | cygwin
* | pw32
* | os2
*)
6085 # This hack is so that the source file can tell whether it is being
6086 # built for inclusion in a dll (and should export symbols for example).
6087 lt_prog_compiler_pic
='-DDLL_EXPORT'
6090 hpux9
* | hpux10
* | hpux11
*)
6091 lt_prog_compiler_wl
='-Wl,'
6092 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6099 lt_prog_compiler_pic
='+Z'
6102 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6103 lt_prog_compiler_static
='${wl}-a ${wl}archive'
6106 irix5
* | irix6
* | nonstopux
*)
6107 lt_prog_compiler_wl
='-Wl,'
6108 # PIC (with -KPIC) is the default.
6109 lt_prog_compiler_static
='-non_shared'
6112 linux
* | k
*bsd
*-gnu)
6113 case $cc_basename in
6115 lt_prog_compiler_wl
='-Wl,'
6116 lt_prog_compiler_pic
='-KPIC'
6117 lt_prog_compiler_static
='-static'
6119 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
6120 # Portland Group compilers (*not* the Pentium gcc compiler,
6121 # which looks to be a dead project)
6122 lt_prog_compiler_wl
='-Wl,'
6123 lt_prog_compiler_pic
='-fpic'
6124 lt_prog_compiler_static
='-Bstatic'
6127 lt_prog_compiler_wl
='-Wl,'
6128 # All Alpha code is PIC.
6129 lt_prog_compiler_static
='-non_shared'
6132 case `$CC -V 2>&1 | sed 5q` in
6135 lt_prog_compiler_pic
='-KPIC'
6136 lt_prog_compiler_static
='-Bstatic'
6137 lt_prog_compiler_wl
='-Wl,'
6140 # Sun Fortran 8.3 passes all unrecognized flags to the linker
6141 lt_prog_compiler_pic
='-KPIC'
6142 lt_prog_compiler_static
='-Bstatic'
6143 lt_prog_compiler_wl
=''
6151 lt_prog_compiler_pic
='-KPIC'
6152 lt_prog_compiler_static
='-Bstatic'
6156 # QNX uses GNU C++, but need to define -shared option too, otherwise
6158 lt_prog_compiler_pic
='-fPIC -shared'
6161 osf3
* | osf4
* | osf5
*)
6162 lt_prog_compiler_wl
='-Wl,'
6163 # All OSF/1 code is PIC.
6164 lt_prog_compiler_static
='-non_shared'
6168 lt_prog_compiler_static
='-non_shared'
6172 lt_prog_compiler_pic
='-KPIC'
6173 lt_prog_compiler_static
='-Bstatic'
6174 case $cc_basename in
6176 lt_prog_compiler_wl
='-Qoption ld ';;
6178 lt_prog_compiler_wl
='-Wl,';;
6183 lt_prog_compiler_wl
='-Qoption ld '
6184 lt_prog_compiler_pic
='-PIC'
6185 lt_prog_compiler_static
='-Bstatic'
6188 sysv4 | sysv4.2uw2
* | sysv4.3
*)
6189 lt_prog_compiler_wl
='-Wl,'
6190 lt_prog_compiler_pic
='-KPIC'
6191 lt_prog_compiler_static
='-Bstatic'
6195 if test -d /usr
/nec
;then
6196 lt_prog_compiler_pic
='-Kconform_pic'
6197 lt_prog_compiler_static
='-Bstatic'
6201 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
6202 lt_prog_compiler_wl
='-Wl,'
6203 lt_prog_compiler_pic
='-KPIC'
6204 lt_prog_compiler_static
='-Bstatic'
6208 lt_prog_compiler_wl
='-Wl,'
6209 lt_prog_compiler_can_build_shared
=no
6213 lt_prog_compiler_pic
='-pic'
6214 lt_prog_compiler_static
='-Bstatic'
6218 lt_prog_compiler_can_build_shared
=no
6224 # For platforms which do not support PIC, -DPIC is meaningless:
6226 lt_prog_compiler_pic
=
6229 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
6232 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6233 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6241 # Check to make sure the PIC flag actually works.
6243 if test -n "$lt_prog_compiler_pic"; then
6244 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6245 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6246 if test "${lt_prog_compiler_pic_works+set}" = set; then
6247 echo $ECHO_N "(cached) $ECHO_C" >&6
6249 lt_prog_compiler_pic_works
=no
6250 ac_outfile
=conftest.
$ac_objext
6251 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
6252 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
6253 # Insert the option either (1) after the last *FLAGS variable, or
6254 # (2) before a word containing "conftest.", or (3) at the end.
6255 # Note that $ac_compile itself does not contain backslashes and begins
6256 # with a dollar sign (not a hyphen), so the echo should work correctly.
6257 # The option is referenced via a variable to avoid confusing sed.
6258 lt_compile
=`echo "$ac_compile" | $SED \
6259 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6260 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6261 -e 's:$: $lt_compiler_flag:'`
6262 (eval echo "\"\$as_me:6262: $lt_compile\"" >&5)
6263 (eval "$lt_compile" 2>conftest.err
)
6265 cat conftest.err
>&5
6266 echo "$as_me:6266: \$? = $ac_status" >&5
6267 if (exit $ac_status) && test -s "$ac_outfile"; then
6268 # The compiler can only warn and ignore the option if not recognized
6269 # So say no if there are warnings other than the usual output.
6270 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
6271 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
6272 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
6273 lt_prog_compiler_pic_works
=yes
6279 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6280 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6282 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
6283 case $lt_prog_compiler_pic in
6285 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
6288 lt_prog_compiler_pic
=
6289 lt_prog_compiler_can_build_shared
=no
6300 # Check to make sure the static flag actually works.
6302 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
6303 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
6304 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
6305 if test "${lt_prog_compiler_static_works+set}" = set; then
6306 echo $ECHO_N "(cached) $ECHO_C" >&6
6308 lt_prog_compiler_static_works
=no
6309 save_LDFLAGS
="$LDFLAGS"
6310 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
6311 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
6312 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
6313 # The linker can only warn and ignore the option if not recognized
6314 # So say no if there are warnings
6315 if test -s conftest.err
; then
6316 # Append any errors to the config.log.
6317 cat conftest.err
1>&5
6318 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
6319 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
6320 if diff conftest.exp conftest.er2
>/dev
/null
; then
6321 lt_prog_compiler_static_works
=yes
6324 lt_prog_compiler_static_works
=yes
6328 LDFLAGS
="$save_LDFLAGS"
6331 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6332 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6334 if test x
"$lt_prog_compiler_static_works" = xyes
; then
6337 lt_prog_compiler_static
=
6346 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6347 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6348 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6349 echo $ECHO_N "(cached) $ECHO_C" >&6
6351 lt_cv_prog_compiler_c_o
=no
6352 $RM -r conftest
2>/dev
/null
6356 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
6358 lt_compiler_flag
="-o out/conftest2.$ac_objext"
6359 # Insert the option either (1) after the last *FLAGS variable, or
6360 # (2) before a word containing "conftest.", or (3) at the end.
6361 # Note that $ac_compile itself does not contain backslashes and begins
6362 # with a dollar sign (not a hyphen), so the echo should work correctly.
6363 lt_compile
=`echo "$ac_compile" | $SED \
6364 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6365 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6366 -e 's:$: $lt_compiler_flag:'`
6367 (eval echo "\"\$as_me:6367: $lt_compile\"" >&5)
6368 (eval "$lt_compile" 2>out
/conftest.err
)
6370 cat out
/conftest.err
>&5
6371 echo "$as_me:6371: \$? = $ac_status" >&5
6372 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
6374 # The compiler can only warn and ignore the option if not recognized
6375 # So say no if there are warnings
6376 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
6377 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
6378 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
6379 lt_cv_prog_compiler_c_o
=yes
6384 # SGI C++ compiler will create directory out/ii_files/ for
6385 # template instantiation
6386 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
6387 $RM out
/* && rmdir out
6393 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6394 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6401 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6402 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6403 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6404 echo $ECHO_N "(cached) $ECHO_C" >&6
6406 lt_cv_prog_compiler_c_o
=no
6407 $RM -r conftest
2>/dev
/null
6411 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
6413 lt_compiler_flag
="-o out/conftest2.$ac_objext"
6414 # Insert the option either (1) after the last *FLAGS variable, or
6415 # (2) before a word containing "conftest.", or (3) at the end.
6416 # Note that $ac_compile itself does not contain backslashes and begins
6417 # with a dollar sign (not a hyphen), so the echo should work correctly.
6418 lt_compile
=`echo "$ac_compile" | $SED \
6419 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6420 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6421 -e 's:$: $lt_compiler_flag:'`
6422 (eval echo "\"\$as_me:6422: $lt_compile\"" >&5)
6423 (eval "$lt_compile" 2>out
/conftest.err
)
6425 cat out
/conftest.err
>&5
6426 echo "$as_me:6426: \$? = $ac_status" >&5
6427 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
6429 # The compiler can only warn and ignore the option if not recognized
6430 # So say no if there are warnings
6431 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
6432 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
6433 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
6434 lt_cv_prog_compiler_c_o
=yes
6439 # SGI C++ compiler will create directory out/ii_files/ for
6440 # template instantiation
6441 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
6442 $RM out
/* && rmdir out
6448 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6449 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6454 hard_links
="nottested"
6455 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
6456 # do not overwrite the value of need_locks provided by the user
6457 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6458 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
6461 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
6463 ln conftest.a conftest.b
2>&5 || hard_links
=no
6464 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
6465 echo "$as_me:$LINENO: result: $hard_links" >&5
6466 echo "${ECHO_T}$hard_links" >&6
6467 if test "$hard_links" = no
; then
6468 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6469 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6481 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6482 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
6485 allow_undefined_flag
=
6486 always_export_symbols
=no
6488 archive_expsym_cmds
=
6489 compiler_needs_object
=no
6490 enable_shared_with_static_runtimes
=no
6491 export_dynamic_flag_spec
=
6492 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6493 hardcode_automatic
=no
6495 hardcode_direct_absolute
=no
6496 hardcode_libdir_flag_spec
=
6497 hardcode_libdir_flag_spec_ld
=
6498 hardcode_libdir_separator
=
6500 hardcode_shlibpath_var
=unsupported
6502 link_all_deplibs
=unknown
6505 old_archive_from_new_cmds
=
6506 old_archive_from_expsyms_cmds
=
6507 thread_safe_flag_spec
=
6508 whole_archive_flag_spec
=
6509 # include_expsyms should be a list of space-separated symbols to be *always*
6510 # included in the symbol list
6512 # exclude_expsyms can be an extended regexp of symbols to exclude
6513 # it will be wrapped by ` (' and `)$', so one must not match beginning or
6514 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6515 # as well as any symbol that contains `d'.
6516 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
6517 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6518 # platforms (ab)use it in PIC code, but their linkers get confused if
6519 # the symbol is explicitly referenced. Since portable code cannot
6520 # rely on this symbol name, it's probably fine to never include it in
6521 # preloaded symbol tables.
6522 extract_expsyms_cmds
=
6525 cygwin
* | mingw
* | pw32
*)
6526 # FIXME: the MSVC++ port hasn't been tested in a loooong time
6527 # When not using gcc, we currently assume that we are using
6528 # Microsoft Visual C++.
6529 if test "$GCC" != yes; then
6534 # we just hope/assume this is gcc and not c89 (= MSVC++)
6543 if test "$with_gnu_ld" = yes; then
6544 # If archive_cmds runs LD, not CC, wlarc should be empty
6547 # Set some defaults for GNU ld with shared library support. These
6548 # are reset later if shared libraries are not supported. Putting them
6549 # here allows them to be overridden if necessary.
6550 runpath_var
=LD_RUN_PATH
6551 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
6552 export_dynamic_flag_spec
='${wl}--export-dynamic'
6553 # ancient GNU ld didn't support --whole-archive et. al.
6554 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
6555 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6557 whole_archive_flag_spec
=
6559 supports_anon_versioning
=no
6560 case `$LD -v 2>&1` in
6561 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
6562 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
6563 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
6564 *\
2.11.
*) ;; # other 2.11 versions
6565 *) supports_anon_versioning
=yes ;;
6568 # See if GNU ld supports shared libraries.
6570 aix3
* | aix4
* | aix5
*)
6571 # On AIX/PPC, the GNU linker is very broken
6572 if test "$host_cpu" != ia64
; then
6576 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
6577 *** to be unable to reliably create shared libraries on AIX.
6578 *** Therefore, libtool is disabling shared libraries support. If you
6579 *** really care for shared libraries, you may want to modify your PATH
6580 *** so that a non-GNU linker is found, and then restart.
6587 if test "$host_cpu" = m68k
; then
6588 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)'
6589 hardcode_libdir_flag_spec
='-L$libdir'
6590 hardcode_minus_L
=yes
6593 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
6594 # that the semantics of dynamic libraries on AmigaOS, at least up
6595 # to version 4, is to share data among multiple programs linked
6596 # with the same dynamic library. Since this doesn't match the
6597 # behavior of shared libraries on other platforms, we can't use
6603 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
6604 allow_undefined_flag
=unsupported
6605 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
6606 # support --undefined. This deserves some investigation. FIXME
6607 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6613 cygwin
* | mingw
* | pw32
*)
6614 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
6615 # as there is no search path for DLLs.
6616 hardcode_libdir_flag_spec
='-L$libdir'
6617 allow_undefined_flag
=unsupported
6618 always_export_symbols
=no
6619 enable_shared_with_static_runtimes
=yes
6620 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
6622 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
6623 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
6624 # If the export-symbols file already is a .def file (1st line
6625 # is EXPORTS), use it as is; otherwise, prepend...
6626 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
6627 cp $export_symbols $output_objdir/$soname.def;
6629 echo EXPORTS > $output_objdir/$soname.def;
6630 cat $export_symbols >> $output_objdir/$soname.def;
6632 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
6640 hardcode_shlibpath_var
=no
6641 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
6642 export_dynamic_flag_spec
='${wl}-E'
6643 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
6644 # Instead, shared libraries are loaded at an image base (0x10000000 by
6645 # default) and relocated if they conflict, which is a slow very memory
6646 # consuming and fragmenting process. To avoid this, we pick a random,
6647 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
6648 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
6649 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
6650 archive_expsym_cmds
='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
6653 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
6655 if test "$host_os" = linux-dietlibc
; then
6656 case $cc_basename in
6657 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
6660 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
6661 && test "$tmp_diet" = no
6664 case $cc_basename,$host_cpu in
6665 pgcc
*) # Portland Group C compiler
6666 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
6667 tmp_addflag
=' $pic_flag'
6669 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
6670 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
6671 tmp_addflag
=' $pic_flag -Mnomain' ;;
6672 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
6673 tmp_addflag
=' -i_dynamic' ;;
6674 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
6675 tmp_addflag
=' -i_dynamic -nofor_main' ;;
6676 ifc
* | ifort
*) # Intel Fortran compiler
6677 tmp_addflag
=' -nofor_main' ;;
6679 case `$CC -V 2>&1 | sed 5q` in
6680 *Sun\ C
*) # Sun C 5.9
6681 whole_archive_flag_spec
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
6682 compiler_needs_object
=yes
6683 tmp_sharedflag
='-G' ;;
6684 *Sun\ F
*) # Sun Fortran 8.3
6685 tmp_sharedflag
='-G' ;;
6687 tmp_sharedflag
='-shared' ;;
6689 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6691 if test "x$supports_anon_versioning" = xyes
; then
6692 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
6693 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
6694 echo "local: *; };" >> $output_objdir/$libname.ver~
6695 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
6703 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
6704 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
6707 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6708 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6713 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
6717 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
6718 *** create shared libraries on Solaris systems. Therefore, libtool
6719 *** is disabling shared libraries support. We urge you to upgrade GNU
6720 *** binutils to release 2.9.1 or newer. Another option is to modify
6721 *** your PATH or compiler configuration so that the native linker is
6722 *** used, and then restart.
6725 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
6726 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6727 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6733 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6734 case `$LD -v 2>&1` in
6735 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
6739 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
6740 *** reliably create shared libraries on SCO systems. Therefore, libtool
6741 *** is disabling shared libraries support. We urge you to upgrade GNU
6742 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
6743 *** your PATH or compiler configuration so that the native linker is
6744 *** used, and then restart.
6749 # For security reasons, it is highly recommended that you always
6750 # use absolute paths for naming shared libraries, and exclude the
6751 # DT_RUNPATH tag from executables and libraries. But doing so
6752 # requires that you compile everything twice, which is a pain.
6753 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
6754 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
6755 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6756 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6765 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6768 hardcode_shlibpath_var
=no
6772 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
6773 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6774 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6781 if test "$ld_shlibs" = no
; then
6783 hardcode_libdir_flag_spec
=
6784 export_dynamic_flag_spec
=
6785 whole_archive_flag_spec
=
6788 # PORTME fill in a description of your system's linker (not GNU ld)
6791 allow_undefined_flag
=unsupported
6792 always_export_symbols
=yes
6793 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'
6794 # Note: this linker hardcodes the directories in LIBPATH if there
6795 # are no directories specified by -L.
6796 hardcode_minus_L
=yes
6797 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
6798 # Neither direct hardcoding nor static linking is supported with a
6800 hardcode_direct
=unsupported
6805 if test "$host_cpu" = ia64
; then
6806 # On IA64, the linker does run time linking by default, so we don't
6807 # have to do anything special.
6808 aix_use_runtimelinking
=no
6809 exp_sym_flag
='-Bexport'
6812 # If we're using GNU nm, then we don't want the "-C" option.
6813 # -C means demangle to AIX nm, but means don't demangle with GNU nm
6814 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
6815 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'
6817 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'
6819 aix_use_runtimelinking
=no
6821 # Test if we are trying to use run time linking or normal
6822 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
6823 # need to do runtime linking.
6824 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
6825 for ld_flag
in $LDFLAGS; do
6826 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
6827 aix_use_runtimelinking
=yes
6834 exp_sym_flag
='-bexport'
6835 no_entry_flag
='-bnoentry'
6838 # When large executables or shared objects are built, AIX ld can
6839 # have problems creating the table of contents. If linking a library
6840 # or program results in "error TOC overflow" add -mminimal-toc to
6841 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
6842 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
6846 hardcode_direct_absolute
=yes
6847 hardcode_libdir_separator
=':'
6848 link_all_deplibs
=yes
6849 file_list_spec
='${wl}-f,'
6851 if test "$GCC" = yes; then
6852 case $host_os in aix4.
[012]|aix4.
[012].
*)
6853 # We only want to do this on AIX 4.2 and lower, the check
6854 # below for broken collect2 doesn't work under 4.3+
6855 collect2name
=`${CC} -print-prog-name=collect2`
6856 if test -f "$collect2name" &&
6857 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
6859 # We have reworked collect2
6862 # We have old collect2
6863 hardcode_direct
=unsupported
6864 # It fails to find uninstalled libraries when the uninstalled
6865 # path is not listed in the libpath. Setting hardcode_minus_L
6866 # to unsupported forces relinking
6867 hardcode_minus_L
=yes
6868 hardcode_libdir_flag_spec
='-L$libdir'
6869 hardcode_libdir_separator
=
6873 shared_flag
='-shared'
6874 if test "$aix_use_runtimelinking" = yes; then
6875 shared_flag
="$shared_flag "'${wl}-G'
6879 if test "$host_cpu" = ia64
; then
6880 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
6881 # chokes on -Wl,-G. The following line is correct:
6884 if test "$aix_use_runtimelinking" = yes; then
6885 shared_flag
='${wl}-G'
6887 shared_flag
='${wl}-bM:SRE'
6892 # It seems that -bexpall does not export symbols beginning with
6893 # underscore (_), so it is better to generate a list of symbols to export.
6894 always_export_symbols
=yes
6895 if test "$aix_use_runtimelinking" = yes; then
6896 # Warning - without using the other runtime loading flags (-brtl),
6897 # -berok will link without error, but may produce a broken library.
6898 allow_undefined_flag
='-berok'
6899 # Determine the default libpath from the value encoded in an
6901 if test x
$gcc_no_link = xyes
; then
6902 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6903 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6904 { (exit 1); exit 1; }; }
6906 cat >conftest.
$ac_ext <<_ACEOF
6909 cat confdefs.h
>>conftest.
$ac_ext
6910 cat >>conftest.
$ac_ext <<_ACEOF
6911 /* end confdefs.h. */
6921 rm -f conftest.
$ac_objext conftest
$ac_exeext
6922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6923 (eval $ac_link) 2>conftest.er1
6925 grep -v '^ *+' conftest.er1
>conftest.err
6927 cat conftest.err
>&5
6928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6929 (exit $ac_status); } &&
6930 { ac_try
='test -z "$ac_c_werror_flag"
6931 || 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 lt_aix_libpath_sed
='
6945 /Import File Strings/,/^$/ {
6951 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
6952 # Check for a 64-bit object if we didn't find anything.
6953 if test -z "$aix_libpath"; then
6954 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
6957 echo "$as_me: failed program was:" >&5
6958 sed 's/^/| /' conftest.
$ac_ext >&5
6961 rm -f conftest.err conftest.
$ac_objext \
6962 conftest
$ac_exeext conftest.
$ac_ext
6963 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
6965 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
6966 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
6968 if test "$host_cpu" = ia64
; then
6969 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
6970 allow_undefined_flag
="-z nodefs"
6971 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
6973 # Determine the default libpath from the value encoded in an
6975 if test x
$gcc_no_link = xyes
; then
6976 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6977 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6978 { (exit 1); exit 1; }; }
6980 cat >conftest.
$ac_ext <<_ACEOF
6983 cat confdefs.h
>>conftest.
$ac_ext
6984 cat >>conftest.
$ac_ext <<_ACEOF
6985 /* end confdefs.h. */
6995 rm -f conftest.
$ac_objext conftest
$ac_exeext
6996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6997 (eval $ac_link) 2>conftest.er1
6999 grep -v '^ *+' conftest.er1
>conftest.err
7001 cat conftest.err
>&5
7002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7003 (exit $ac_status); } &&
7004 { ac_try
='test -z "$ac_c_werror_flag"
7005 || test ! -s conftest.err'
7006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7010 (exit $ac_status); }; } &&
7011 { ac_try
='test -s conftest$ac_exeext'
7012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7016 (exit $ac_status); }; }; then
7018 lt_aix_libpath_sed
='
7019 /Import File Strings/,/^$/ {
7025 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7026 # Check for a 64-bit object if we didn't find anything.
7027 if test -z "$aix_libpath"; then
7028 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7031 echo "$as_me: failed program was:" >&5
7032 sed 's/^/| /' conftest.
$ac_ext >&5
7035 rm -f conftest.err conftest.
$ac_objext \
7036 conftest
$ac_exeext conftest.
$ac_ext
7037 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7039 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7040 # Warning - without using the other run time loading flags,
7041 # -berok will link without error, but may produce a broken library.
7042 no_undefined_flag
=' ${wl}-bernotok'
7043 allow_undefined_flag
=' ${wl}-berok'
7044 # Exported symbols can be pulled into shared objects from archives
7045 whole_archive_flag_spec
='$convenience'
7046 archive_cmds_need_lc
=yes
7047 # This is similar to how AIX traditionally builds its shared libraries.
7048 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
7054 if test "$host_cpu" = m68k
; then
7055 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)'
7056 hardcode_libdir_flag_spec
='-L$libdir'
7057 hardcode_minus_L
=yes
7059 # see comment about different semantics on the GNU ld section
7064 export_dynamic_flag_spec
=-rdynamic
7067 cygwin
* | mingw
* | pw32
*)
7068 # When not using gcc, we currently assume that we are using
7069 # Microsoft Visual C++.
7070 # hardcode_libdir_flag_spec is actually meaningless, as there is
7071 # no search path for DLLs.
7072 hardcode_libdir_flag_spec
=' '
7073 allow_undefined_flag
=unsupported
7074 # Tell ltmain to make .lib files, not .a files.
7076 # Tell ltmain to make .dll files, not .so files.
7078 # FIXME: Setting linknames here is a bad hack.
7079 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
7080 # The linker will automatically build a .lib file if we build a DLL.
7081 old_archive_from_new_cmds
='true'
7082 # FIXME: Should let the user specify the lib program.
7083 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
7084 fix_srcfile_path
='`cygpath -w "$srcfile"`'
7085 enable_shared_with_static_runtimes
=yes
7088 darwin
* | rhapsody
*)
7090 rhapsody
* | darwin1.
[012])
7091 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
7094 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
7096 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7099 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
7104 archive_cmds_need_lc
=no
7106 hardcode_automatic
=yes
7107 hardcode_shlibpath_var
=unsupported
7108 whole_archive_flag_spec
=''
7109 link_all_deplibs
=yes
7110 if test "$GCC" = yes ; then
7111 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7112 echo $ECHO_N "(cached) $ECHO_C" >&6
7114 lt_cv_apple_cc_single_mod
=no
7115 if test -z "${LT_MULTI_MODULE}"; then
7116 # By default we will add the -single_module flag. You can override
7117 # by either setting the environment variable LT_MULTI_MODULE
7118 # non-empty at configure time, or by adding -multi-module to the
7120 echo "int foo(void){return 1;}" > conftest.c
7121 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7122 -dynamiclib ${wl}-single_module conftest.c
7123 if test -f libconftest.dylib
; then
7124 lt_cv_apple_cc_single_mod
=yes
7125 rm libconftest.dylib
7131 output_verbose_link_cmd
=echo
7132 if test "X$lt_cv_apple_cc_single_mod" = Xyes
; then
7133 archive_cmds
='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7134 archive_expsym_cmds
='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $single_module -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7136 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7137 archive_expsym_cmds
='sed "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}'
7139 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7140 module_expsym_cmds
='sed -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}'
7142 case $cc_basename in
7144 output_verbose_link_cmd
=echo
7145 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
7146 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7147 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7148 archive_expsym_cmds
='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7149 module_expsym_cmds
='sed "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}'
7159 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7160 hardcode_libdir_flag_spec
='-L$libdir'
7161 hardcode_shlibpath_var
=no
7168 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7169 # support. Future versions do this automatically, but an explicit c++rt0.o
7170 # does not break anything, and helps significantly (at the cost of a little
7173 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7174 hardcode_libdir_flag_spec
='-R$libdir'
7176 hardcode_shlibpath_var
=no
7179 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7181 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7183 hardcode_minus_L
=yes
7184 hardcode_shlibpath_var
=no
7187 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7188 freebsd
* | dragonfly
*)
7189 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7190 hardcode_libdir_flag_spec
='-R$libdir'
7192 hardcode_shlibpath_var
=no
7196 if test "$GCC" = yes; then
7197 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'
7199 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'
7201 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7202 hardcode_libdir_separator
=:
7205 # hardcode_minus_L: Not really in the search PATH,
7206 # but as the default location of the library.
7207 hardcode_minus_L
=yes
7208 export_dynamic_flag_spec
='${wl}-E'
7212 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7213 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7215 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7217 if test "$with_gnu_ld" = no
; then
7218 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7219 hardcode_libdir_flag_spec_ld
='+b $libdir'
7220 hardcode_libdir_separator
=:
7222 hardcode_direct_absolute
=yes
7223 export_dynamic_flag_spec
='${wl}-E'
7224 # hardcode_minus_L: Not really in the search PATH,
7225 # but as the default location of the library.
7226 hardcode_minus_L
=yes
7231 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7234 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7237 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7240 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7246 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7249 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7252 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7256 if test "$with_gnu_ld" = no
; then
7257 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7258 hardcode_libdir_separator
=:
7263 hardcode_shlibpath_var
=no
7267 hardcode_direct_absolute
=yes
7268 export_dynamic_flag_spec
='${wl}-E'
7270 # hardcode_minus_L: Not really in the search PATH,
7271 # but as the default location of the library.
7272 hardcode_minus_L
=yes
7278 irix5
* | irix6
* | nonstopux
*)
7279 if test "$GCC" = yes; then
7280 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
7281 # Try to use the -exported_symbol ld option, if it does not
7282 # work, assume that -exports_file does not work either and
7283 # implicitly export all symbols.
7284 save_LDFLAGS
="$LDFLAGS"
7285 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
7286 if test x
$gcc_no_link = xyes
; then
7287 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7288 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7289 { (exit 1); exit 1; }; }
7291 cat >conftest.
$ac_ext <<_ACEOF
7294 rm -f conftest.
$ac_objext conftest
$ac_exeext
7295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7296 (eval $ac_link) 2>conftest.er1
7298 grep -v '^ *+' conftest.er1
>conftest.err
7300 cat conftest.err
>&5
7301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7302 (exit $ac_status); } &&
7303 { ac_try
='test -z "$ac_c_werror_flag"
7304 || test ! -s conftest.err'
7305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7309 (exit $ac_status); }; } &&
7310 { ac_try
='test -s conftest$ac_exeext'
7311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7315 (exit $ac_status); }; }; then
7316 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
7319 echo "$as_me: failed program was:" >&5
7320 sed 's/^/| /' conftest.
$ac_ext >&5
7323 rm -f conftest.err conftest.
$ac_objext \
7324 conftest
$ac_exeext conftest.
$ac_ext
7325 LDFLAGS
="$save_LDFLAGS"
7327 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
7328 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
7330 archive_cmds_need_lc
='no'
7331 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7332 hardcode_libdir_separator
=:
7334 link_all_deplibs
=yes
7338 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
7339 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7341 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7343 hardcode_libdir_flag_spec
='-R$libdir'
7345 hardcode_shlibpath_var
=no
7349 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7351 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7352 hardcode_libdir_separator
=:
7353 hardcode_shlibpath_var
=no
7361 hardcode_shlibpath_var
=no
7362 hardcode_direct_absolute
=yes
7363 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7364 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7365 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
7366 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7367 export_dynamic_flag_spec
='${wl}-E'
7370 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
7371 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7372 hardcode_libdir_flag_spec
='-R$libdir'
7375 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7376 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7383 hardcode_libdir_flag_spec
='-L$libdir'
7384 hardcode_minus_L
=yes
7385 allow_undefined_flag
=unsupported
7386 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'
7387 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7391 if test "$GCC" = yes; then
7392 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
7393 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
7395 allow_undefined_flag
=' -expect_unresolved \*'
7396 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
7398 archive_cmds_need_lc
='no'
7399 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7400 hardcode_libdir_separator
=:
7403 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
7404 if test "$GCC" = yes; then
7405 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
7406 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
7407 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7409 allow_undefined_flag
=' -expect_unresolved \*'
7410 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
7411 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
7412 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
7414 # Both c and cxx compiler support -rpath directly
7415 hardcode_libdir_flag_spec
='-rpath $libdir'
7417 archive_cmds_need_lc
='no'
7418 hardcode_libdir_separator
=:
7422 no_undefined_flag
=' -z defs'
7423 if test "$GCC" = yes; then
7425 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7426 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
7427 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
7429 case `$CC -V 2>&1` in
7432 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7433 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
7434 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
7438 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
7439 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
7440 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
7444 hardcode_libdir_flag_spec
='-R$libdir'
7445 hardcode_shlibpath_var
=no
7447 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
7449 # The compiler driver will combine and reorder linker options,
7450 # but understands `-z linker_flag'. GCC discards it without `$wl',
7451 # but is careful enough not to reorder.
7452 # Supported since Solaris 2.6 (maybe 2.5.1?)
7453 if test "$GCC" = yes; then
7454 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
7456 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
7460 link_all_deplibs
=yes
7464 if test "x$host_vendor" = xsequent
; then
7465 # Use $CC to link under sequent, because it throws in some extra .o
7466 # files that make .init and .fini sections work.
7467 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7469 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7471 hardcode_libdir_flag_spec
='-L$libdir'
7473 hardcode_minus_L
=yes
7474 hardcode_shlibpath_var
=no
7478 case $host_vendor in
7480 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7481 hardcode_direct
=yes # is this really true???
7484 ## LD is ld it makes a PLAMLIB
7485 ## CC just makes a GrossModule.
7486 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7487 reload_cmds
='$CC -r -o $output$reload_objs'
7491 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7492 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
7495 runpath_var
='LD_RUN_PATH'
7496 hardcode_shlibpath_var
=no
7500 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7501 hardcode_shlibpath_var
=no
7502 export_dynamic_flag_spec
='-Bexport'
7506 if test -d /usr
/nec
; then
7507 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7508 hardcode_shlibpath_var
=no
7509 runpath_var
=LD_RUN_PATH
7510 hardcode_runpath_var
=yes
7515 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
7516 no_undefined_flag
='${wl}-z,text'
7517 archive_cmds_need_lc
=no
7518 hardcode_shlibpath_var
=no
7519 runpath_var
='LD_RUN_PATH'
7521 if test "$GCC" = yes; then
7522 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7523 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7525 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7526 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7530 sysv5
* | sco3.2v5
* | sco5v6
*)
7531 # Note: We can NOT use -z defs as we might desire, because we do not
7532 # link with -lc, and that would cause any symbols used from libc to
7533 # always be unresolved, which means just about no library would
7534 # ever link correctly. If we're not using GNU ld we use -z text
7535 # though, which does catch some bad symbols but isn't as heavy-handed
7537 no_undefined_flag
='${wl}-z,text'
7538 allow_undefined_flag
='${wl}-z,nodefs'
7539 archive_cmds_need_lc
=no
7540 hardcode_shlibpath_var
=no
7541 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
7542 hardcode_libdir_separator
=':'
7543 link_all_deplibs
=yes
7544 export_dynamic_flag_spec
='${wl}-Bexport'
7545 runpath_var
='LD_RUN_PATH'
7547 if test "$GCC" = yes; then
7548 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7549 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7551 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7552 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7557 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7558 hardcode_libdir_flag_spec
='-L$libdir'
7559 hardcode_shlibpath_var
=no
7567 if test x
$host_vendor = xsni
; then
7569 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
7570 export_dynamic_flag_spec
='${wl}-Blargedynsym'
7576 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7577 echo "${ECHO_T}$ld_shlibs" >&6
7578 test "$ld_shlibs" = no
&& can_build_shared
=no
7580 with_gnu_ld
=$with_gnu_ld
7597 # Do we need to explicitly link libc?
7599 case "x$archive_cmds_need_lc" in
7601 # Assume -lc should be added
7602 archive_cmds_need_lc
=yes
7604 if test "$enable_shared" = yes && test "$GCC" = yes; then
7605 case $archive_cmds in
7607 # FIXME: we may have to deal with multi-command sequences.
7610 # Test whether the compiler implicitly links with -lc since on some
7611 # systems, -lgcc has to come before -lc. If gcc already passes -lc
7612 # to ld, don't add -lc before -lgcc.
7613 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7614 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
7616 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7619 (eval $ac_compile) 2>&5
7621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7622 (exit $ac_status); } 2>conftest.err
; then
7625 libobjs
=conftest.
$ac_objext
7627 wl
=$lt_prog_compiler_wl
7628 pic_flag
=$lt_prog_compiler_pic
7634 lt_save_allow_undefined_flag
=$allow_undefined_flag
7635 allow_undefined_flag
=
7636 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
7637 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
7639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7640 (exit $ac_status); }
7642 archive_cmds_need_lc
=no
7644 archive_cmds_need_lc
=yes
7646 allow_undefined_flag
=$lt_save_allow_undefined_flag
7648 cat conftest.err
1>&5
7651 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7652 echo "${ECHO_T}$archive_cmds_need_lc" >&6
7815 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7816 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
7818 if test "$withGCC" = yes; then
7820 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
7821 *) lt_awk_arg
="/^libraries:/" ;;
7823 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7824 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
7825 # if the path contains ";" then we assume it to be the separator
7826 # otherwise default to the standard path separator (i.e. ":") - it is
7827 # assumed that no part of a normal pathname contains ";" but that should
7828 # okay in the real world where ";" in dirpaths is itself problematic.
7829 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
7831 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7833 # Ok, now we have the path, separated by spaces, we can step through it
7834 # and add multilib dir if necessary.
7835 lt_tmp_lt_search_path_spec
=
7836 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
7837 for lt_sys_path
in $lt_search_path_spec; do
7838 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
7839 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
7841 test -d "$lt_sys_path" && \
7842 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
7845 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
7846 BEGIN {RS=" "; FS="/|\n";} {
7849 for (lt_i = NF; lt_i > 0; lt_i--) {
7850 if ($lt_i != "" && $lt_i != ".") {
7851 if ($lt_i == "..") {
7854 if (lt_count == 0) {
7855 lt_foo="/" $lt_i lt_foo;
7862 if (lt_foo != "") { lt_freq[lt_foo]++; }
7863 if (lt_freq[lt_foo] == 1) { print lt_foo; }
7865 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
7867 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
7870 libname_spec
='lib$name'
7878 shlibpath_overrides_runpath
=unknown
7880 dynamic_linker
="$host_os ld.so"
7881 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
7882 need_lib_prefix
=unknown
7883 hardcode_into_libs
=no
7885 # when you set need_version to no, make sure it does not cause -set_version
7886 # flags to be left without arguments
7887 need_version
=unknown
7892 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
7893 shlibpath_var
=LIBPATH
7895 # AIX 3 has no versioning support, so we append a major version to the name.
7896 soname_spec
='${libname}${release}${shared_ext}$major'
7903 hardcode_into_libs
=yes
7904 if test "$host_cpu" = ia64
; then
7905 # AIX 5 supports IA64
7906 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
7907 shlibpath_var
=LD_LIBRARY_PATH
7909 # With GCC up to 2.95.x, collect2 would create an import file
7910 # for dependence libraries. The import file would start with
7911 # the line `#! .'. This would cause the generated library to
7912 # depend on `.', always an invalid library. This was fixed in
7913 # development snapshots of GCC prior to 3.0.
7915 aix4 | aix4.
[01] | aix4.
[01].
*)
7916 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
7918 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
7925 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
7926 # soname into executable. Probably we can add versioning support to
7927 # collect2, so additional links can be useful in future.
7928 if test "$aix_use_runtimelinking" = yes; then
7929 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
7930 # instead of lib<name>.a to let people know that these are not
7931 # typical AIX shared libraries.
7932 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7934 # We preserve .a as extension for shared libraries through AIX4.2
7935 # and later when we are not doing run time linking.
7936 library_names_spec
='${libname}${release}.a $libname.a'
7937 soname_spec
='${libname}${release}${shared_ext}$major'
7939 shlibpath_var
=LIBPATH
7944 if test "$host_cpu" = m68k
; then
7945 library_names_spec
='$libname.ixlibrary $libname.a'
7946 # Create ${libname}_ixlibrary.a entries in /sys/libs.
7947 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'
7954 library_names_spec
='${libname}${shared_ext}'
7955 dynamic_linker
="$host_os ld.so"
7956 shlibpath_var
=LIBRARY_PATH
7962 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7963 soname_spec
='${libname}${release}${shared_ext}$major'
7964 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
7965 shlibpath_var
=LD_LIBRARY_PATH
7966 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
7967 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
7968 # the default ld.so.conf also contains /usr/contrib/lib and
7969 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
7970 # libtool to hard-code these into programs
7973 cygwin
* | mingw
* | pw32
*)
7974 version_type
=windows
7979 case $withGCC,$host_os in
7980 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
7981 library_names_spec
='$libname.dll.a'
7982 # DLL is installed to $(libdir)/../bin by postinstall_cmds
7983 postinstall_cmds
='base_file=`basename \${file}`~
7984 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
7985 dldir=$destdir/`dirname \$dlpath`~
7986 test -d \$dldir || mkdir -p \$dldir~
7987 $install_prog $dir/$dlname \$dldir/$dlname~
7988 chmod a+x \$dldir/$dlname~
7989 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
7990 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
7992 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
7993 dlpath=$dir/\$dldll~
7995 shlibpath_overrides_runpath
=yes
7999 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8000 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8001 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8004 # MinGW DLLs use traditional 'lib' prefix
8005 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8006 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8007 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
8008 # It is most probably a Windows format PATH printed by
8009 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8010 # path with ; separators, and with drive letters. We can handle the
8011 # drive letters (cygwin fileutils understands them), so leave them,
8012 # especially as we might pass files found there to a mingw objdump,
8013 # which wouldn't understand a cygwinified path. Ahh.
8014 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8016 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8020 # pw32 DLLs use 'pw' prefix rather than 'lib'
8021 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8027 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8030 dynamic_linker
='Win32 ld.exe'
8031 # FIXME: first we should search . and the directory the executable is in
8035 darwin
* | rhapsody
*)
8036 dynamic_linker
="$host_os dyld"
8040 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8041 soname_spec
='${libname}${release}${major}$shared_ext'
8042 shlibpath_overrides_runpath
=yes
8043 shlibpath_var
=DYLD_LIBRARY_PATH
8044 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8046 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
8047 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8054 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8055 soname_spec
='${libname}${release}${shared_ext}$major'
8056 shlibpath_var
=LD_LIBRARY_PATH
8063 freebsd
* | dragonfly
*)
8064 # DragonFly does not have aout. When/if they implement a new
8065 # versioning mechanism, adjust this.
8066 if test -x /usr
/bin
/objformat
; then
8067 objformat
=`/usr/bin/objformat`
8070 freebsd
[123]*) objformat
=aout
;;
8074 version_type
=freebsd-
$objformat
8075 case $version_type in
8077 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8082 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8086 shlibpath_var
=LD_LIBRARY_PATH
8089 shlibpath_overrides_runpath
=yes
8091 freebsd3.
[01]* | freebsdelf3.
[01]*)
8092 shlibpath_overrides_runpath
=yes
8093 hardcode_into_libs
=yes
8095 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
8096 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
8097 shlibpath_overrides_runpath
=no
8098 hardcode_into_libs
=yes
8100 *) # from 4.6 on, and DragonFly
8101 shlibpath_overrides_runpath
=yes
8102 hardcode_into_libs
=yes
8111 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8112 soname_spec
='${libname}${release}${shared_ext}$major'
8113 shlibpath_var
=LD_LIBRARY_PATH
8114 hardcode_into_libs
=yes
8117 hpux9
* | hpux10
* | hpux11
*)
8118 # Give a soname corresponding to the major version so that dld.sl refuses to
8119 # link against other versions.
8126 hardcode_into_libs
=yes
8127 dynamic_linker
="$host_os dld.so"
8128 shlibpath_var
=LD_LIBRARY_PATH
8129 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8130 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8131 soname_spec
='${libname}${release}${shared_ext}$major'
8132 if test "X$HPUX_IA64_MODE" = X32
; then
8133 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8135 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8137 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8141 hardcode_into_libs
=yes
8142 dynamic_linker
="$host_os dld.sl"
8143 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8144 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8145 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8146 soname_spec
='${libname}${release}${shared_ext}$major'
8147 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8148 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8152 dynamic_linker
="$host_os dld.sl"
8153 shlibpath_var
=SHLIB_PATH
8154 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
8155 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8156 soname_spec
='${libname}${release}${shared_ext}$major'
8159 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8160 postinstall_cmds
='chmod 555 $lib'
8167 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8168 soname_spec
='${libname}${release}${shared_ext}$major'
8169 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
8170 shlibpath_var
=LD_LIBRARY_PATH
8171 shlibpath_overrides_runpath
=no
8172 hardcode_into_libs
=yes
8175 irix5
* | irix6
* | nonstopux
*)
8177 nonstopux
*) version_type
=nonstopux
;;
8179 if test "$lt_cv_prog_gnu_ld" = yes; then
8187 soname_spec
='${libname}${release}${shared_ext}$major'
8188 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8190 irix5
* | nonstopux
*)
8194 case $LD in # libtool.m4 will add one of these switches to LD
8195 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
8196 libsuff
= shlibsuff
= libmagic
=32-bit;;
8197 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
8198 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
8199 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
8200 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
8201 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
8205 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
8206 shlibpath_overrides_runpath
=no
8207 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8208 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
8209 hardcode_into_libs
=yes
8212 # No shared lib support for Linux oldld, aout, or coff.
8213 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
8217 # This must be Linux ELF.
8218 linux
* | k
*bsd
*-gnu)
8222 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8223 soname_spec
='${libname}${release}${shared_ext}$major'
8224 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8225 shlibpath_var
=LD_LIBRARY_PATH
8226 shlibpath_overrides_runpath
=no
8227 # Some binutils ld are patched to set DT_RUNPATH
8228 save_LDFLAGS
=$LDFLAGS
8230 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
8231 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
8232 if test x
$gcc_no_link = xyes
; then
8233 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8234 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8235 { (exit 1); exit 1; }; }
8237 cat >conftest.
$ac_ext <<_ACEOF
8240 cat confdefs.h
>>conftest.
$ac_ext
8241 cat >>conftest.
$ac_ext <<_ACEOF
8242 /* end confdefs.h. */
8252 rm -f conftest.
$ac_objext conftest
$ac_exeext
8253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8254 (eval $ac_link) 2>conftest.er1
8256 grep -v '^ *+' conftest.er1
>conftest.err
8258 cat conftest.err
>&5
8259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8260 (exit $ac_status); } &&
8261 { ac_try
='test -z "$ac_c_werror_flag"
8262 || test ! -s conftest.err'
8263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8267 (exit $ac_status); }; } &&
8268 { ac_try
='test -s conftest$ac_exeext'
8269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8273 (exit $ac_status); }; }; then
8274 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir"; then
8275 shlibpath_overrides_runpath
=yes
8279 echo "$as_me: failed program was:" >&5
8280 sed 's/^/| /' conftest.
$ac_ext >&5
8283 rm -f conftest.err conftest.
$ac_objext \
8284 conftest
$ac_exeext conftest.
$ac_ext
8285 LDFLAGS
=$save_LDFLAGS
8288 # This implies no fast_install, which is unacceptable.
8289 # Some rework will be needed to allow for fast_install
8290 # before this can be enabled.
8291 hardcode_into_libs
=yes
8293 # Append ld.so.conf contents to the search path
8294 if test -f /etc
/ld.so.conf
; then
8295 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
8296 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
8299 # We used to test for /lib/ld.so.1 and disable shared libraries on
8300 # powerpc, because MkLinux only supported shared libraries with the
8301 # GNU dynamic linker. Since this was broken with cross compilers,
8302 # most powerpc-linux boxes support dynamic linking these days and
8303 # people can always --disable-shared, the test was removed, and we
8304 # assume the GNU/Linux dynamic linker is in use.
8305 dynamic_linker
='GNU/Linux ld.so'
8312 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8313 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8314 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8315 dynamic_linker
='NetBSD (a.out) ld.so'
8317 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8318 soname_spec
='${libname}${release}${shared_ext}$major'
8319 dynamic_linker
='NetBSD ld.elf_so'
8321 shlibpath_var
=LD_LIBRARY_PATH
8322 shlibpath_overrides_runpath
=yes
8323 hardcode_into_libs
=yes
8328 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8329 shlibpath_var
=LD_LIBRARY_PATH
8330 shlibpath_overrides_runpath
=yes
8337 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8338 soname_spec
='${libname}${release}${shared_ext}$major'
8339 shlibpath_var
=LD_LIBRARY_PATH
8340 shlibpath_overrides_runpath
=no
8341 hardcode_into_libs
=yes
8342 dynamic_linker
='ldqnx.so'
8347 sys_lib_dlsearch_path_spec
="/usr/lib"
8349 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
8351 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
8352 *) need_version
=no
;;
8354 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8355 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8356 shlibpath_var
=LD_LIBRARY_PATH
8357 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8359 openbsd2.
[89] | openbsd2.
[89].
*)
8360 shlibpath_overrides_runpath
=no
8363 shlibpath_overrides_runpath
=yes
8367 shlibpath_overrides_runpath
=yes
8372 libname_spec
='$name'
8375 library_names_spec
='$libname${shared_ext} $libname.a'
8376 dynamic_linker
='OS/2 ld.exe'
8377 shlibpath_var
=LIBPATH
8380 osf3
* | osf4
* | osf5
*)
8384 soname_spec
='${libname}${release}${shared_ext}$major'
8385 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8386 shlibpath_var
=LD_LIBRARY_PATH
8387 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
8388 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
8399 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8400 soname_spec
='${libname}${release}${shared_ext}$major'
8401 shlibpath_var
=LD_LIBRARY_PATH
8402 shlibpath_overrides_runpath
=yes
8403 hardcode_into_libs
=yes
8404 # ldd complains unless libraries are executable
8405 postinstall_cmds
='chmod +x $lib'
8410 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8411 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
8412 shlibpath_var
=LD_LIBRARY_PATH
8413 shlibpath_overrides_runpath
=yes
8414 if test "$with_gnu_ld" = yes; then
8422 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8423 soname_spec
='${libname}${release}${shared_ext}$major'
8424 shlibpath_var
=LD_LIBRARY_PATH
8425 case $host_vendor in
8427 shlibpath_overrides_runpath
=no
8429 runpath_var
=LD_RUN_PATH
8437 shlibpath_overrides_runpath
=no
8438 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
8444 if test -d /usr
/nec
;then
8446 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8447 soname_spec
='$libname${shared_ext}.$major'
8448 shlibpath_var
=LD_LIBRARY_PATH
8452 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
8453 version_type
=freebsd-elf
8456 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8457 soname_spec
='${libname}${release}${shared_ext}$major'
8458 shlibpath_var
=LD_LIBRARY_PATH
8459 shlibpath_overrides_runpath
=yes
8460 hardcode_into_libs
=yes
8461 if test "$with_gnu_ld" = yes; then
8462 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
8464 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
8467 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
8471 sys_lib_dlsearch_path_spec
='/usr/lib'
8475 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
8479 library_name_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8480 shlibpath_var
=LD_LIBRARY_PATH
8481 shlibpath_overrides_runpath
=no
8482 hardcode_into_libs
=yes
8487 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8488 soname_spec
='${libname}${release}${shared_ext}$major'
8489 shlibpath_var
=LD_LIBRARY_PATH
8496 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8497 echo "${ECHO_T}$dynamic_linker" >&6
8498 test "$dynamic_linker" = no
&& can_build_shared
=no
8500 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
8501 if test "$GCC" = yes; then
8502 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
8591 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
8592 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
8594 if test -n "$hardcode_libdir_flag_spec" ||
8595 test -n "$runpath_var" ||
8596 test "X$hardcode_automatic" = "Xyes" ; then
8598 # We can hardcode non-existent directories.
8599 if test "$hardcode_direct" != no
&&
8600 # If the only mechanism to avoid hardcoding is shlibpath_var, we
8601 # have to relink, otherwise we might link with an installed library
8602 # when we should be linking with a yet-to-be-installed one
8603 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
8604 test "$hardcode_minus_L" != no
; then
8605 # Linking always hardcodes the temporary library directory.
8606 hardcode_action
=relink
8608 # We can link without hardcoding, and we can hardcode nonexisting dirs.
8609 hardcode_action
=immediate
8612 # We cannot hardcode anything, or else we can only hardcode existing
8614 hardcode_action
=unsupported
8616 echo "$as_me:$LINENO: result: $hardcode_action" >&5
8617 echo "${ECHO_T}$hardcode_action" >&6
8619 if test "$hardcode_action" = relink ||
8620 test "$inherit_rpath" = yes; then
8621 # Fast installation is not supported
8622 enable_fast_install
=no
8623 elif test "$shlibpath_overrides_runpath" = yes ||
8624 test "$enable_shared" = no
; then
8625 # Fast installation is not necessary
8626 enable_fast_install
=needless
8634 if test "x$enable_dlopen" != xyes
; then
8635 enable_dlopen
=unknown
8636 enable_dlopen_self
=unknown
8637 enable_dlopen_self_static
=unknown
8644 lt_cv_dlopen
="load_add_on"
8646 lt_cv_dlopen_self
=yes
8650 lt_cv_dlopen
="LoadLibrary"
8655 lt_cv_dlopen
="dlopen"
8660 # if libdl is installed we need to link against it
8661 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8662 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8663 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8664 echo $ECHO_N "(cached) $ECHO_C" >&6
8666 ac_check_lib_save_LIBS
=$LIBS
8668 if test x
$gcc_no_link = xyes
; then
8669 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8670 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8671 { (exit 1); exit 1; }; }
8673 cat >conftest.
$ac_ext <<_ACEOF
8676 cat confdefs.h
>>conftest.
$ac_ext
8677 cat >>conftest.
$ac_ext <<_ACEOF
8678 /* end confdefs.h. */
8680 /* Override any gcc2 internal prototype to avoid an error. */
8684 /* We use char because int might match the return type of a gcc2
8685 builtin and then its argument prototype would still apply. */
8695 rm -f conftest.
$ac_objext conftest
$ac_exeext
8696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8697 (eval $ac_link) 2>conftest.er1
8699 grep -v '^ *+' conftest.er1
>conftest.err
8701 cat conftest.err
>&5
8702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8703 (exit $ac_status); } &&
8704 { ac_try
='test -z "$ac_c_werror_flag"
8705 || test ! -s conftest.err'
8706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8710 (exit $ac_status); }; } &&
8711 { ac_try
='test -s conftest$ac_exeext'
8712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8716 (exit $ac_status); }; }; then
8717 ac_cv_lib_dl_dlopen
=yes
8719 echo "$as_me: failed program was:" >&5
8720 sed 's/^/| /' conftest.
$ac_ext >&5
8722 ac_cv_lib_dl_dlopen
=no
8724 rm -f conftest.err conftest.
$ac_objext \
8725 conftest
$ac_exeext conftest.
$ac_ext
8726 LIBS
=$ac_check_lib_save_LIBS
8728 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8729 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8730 if test $ac_cv_lib_dl_dlopen = yes; then
8731 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
8736 lt_cv_dlopen_self
=yes
8743 echo "$as_me:$LINENO: checking for shl_load" >&5
8744 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
8745 if test "${ac_cv_func_shl_load+set}" = set; then
8746 echo $ECHO_N "(cached) $ECHO_C" >&6
8748 if test x
$gcc_no_link = xyes
; then
8749 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8750 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8751 { (exit 1); exit 1; }; }
8753 cat >conftest.
$ac_ext <<_ACEOF
8756 cat confdefs.h
>>conftest.
$ac_ext
8757 cat >>conftest.
$ac_ext <<_ACEOF
8758 /* end confdefs.h. */
8759 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
8760 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8761 #define shl_load innocuous_shl_load
8763 /* System header to define __stub macros and hopefully few prototypes,
8764 which can conflict with char shl_load (); below.
8765 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8766 <limits.h> exists even on freestanding compilers. */
8769 # include <limits.h>
8771 # include <assert.h>
8776 /* Override any gcc2 internal prototype to avoid an error. */
8781 /* We use char because int might match the return type of a gcc2
8782 builtin and then its argument prototype would still apply. */
8784 /* The GNU C library defines this for functions which it implements
8785 to always fail with ENOSYS. Some functions are actually named
8786 something starting with __ and the normal name is an alias. */
8787 #if defined (__stub_shl_load) || defined (__stub___shl_load)
8790 char (*f) () = shl_load;
8799 return f != shl_load;
8804 rm -f conftest.
$ac_objext conftest
$ac_exeext
8805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8806 (eval $ac_link) 2>conftest.er1
8808 grep -v '^ *+' conftest.er1
>conftest.err
8810 cat conftest.err
>&5
8811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8812 (exit $ac_status); } &&
8813 { ac_try
='test -z "$ac_c_werror_flag"
8814 || test ! -s conftest.err'
8815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8819 (exit $ac_status); }; } &&
8820 { ac_try
='test -s conftest$ac_exeext'
8821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8825 (exit $ac_status); }; }; then
8826 ac_cv_func_shl_load
=yes
8828 echo "$as_me: failed program was:" >&5
8829 sed 's/^/| /' conftest.
$ac_ext >&5
8831 ac_cv_func_shl_load
=no
8833 rm -f conftest.err conftest.
$ac_objext \
8834 conftest
$ac_exeext conftest.
$ac_ext
8836 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8837 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
8838 if test $ac_cv_func_shl_load = yes; then
8839 lt_cv_dlopen
="shl_load"
8841 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8842 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
8843 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8844 echo $ECHO_N "(cached) $ECHO_C" >&6
8846 ac_check_lib_save_LIBS
=$LIBS
8848 if test x
$gcc_no_link = xyes
; then
8849 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8850 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8851 { (exit 1); exit 1; }; }
8853 cat >conftest.
$ac_ext <<_ACEOF
8856 cat confdefs.h
>>conftest.
$ac_ext
8857 cat >>conftest.
$ac_ext <<_ACEOF
8858 /* end confdefs.h. */
8860 /* Override any gcc2 internal prototype to avoid an error. */
8864 /* We use char because int might match the return type of a gcc2
8865 builtin and then its argument prototype would still apply. */
8875 rm -f conftest.
$ac_objext conftest
$ac_exeext
8876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8877 (eval $ac_link) 2>conftest.er1
8879 grep -v '^ *+' conftest.er1
>conftest.err
8881 cat conftest.err
>&5
8882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8883 (exit $ac_status); } &&
8884 { ac_try
='test -z "$ac_c_werror_flag"
8885 || test ! -s conftest.err'
8886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8890 (exit $ac_status); }; } &&
8891 { ac_try
='test -s conftest$ac_exeext'
8892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8896 (exit $ac_status); }; }; then
8897 ac_cv_lib_dld_shl_load
=yes
8899 echo "$as_me: failed program was:" >&5
8900 sed 's/^/| /' conftest.
$ac_ext >&5
8902 ac_cv_lib_dld_shl_load
=no
8904 rm -f conftest.err conftest.
$ac_objext \
8905 conftest
$ac_exeext conftest.
$ac_ext
8906 LIBS
=$ac_check_lib_save_LIBS
8908 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8909 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
8910 if test $ac_cv_lib_dld_shl_load = yes; then
8911 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
8913 echo "$as_me:$LINENO: checking for dlopen" >&5
8914 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
8915 if test "${ac_cv_func_dlopen+set}" = set; then
8916 echo $ECHO_N "(cached) $ECHO_C" >&6
8918 if test x
$gcc_no_link = xyes
; then
8919 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8920 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8921 { (exit 1); exit 1; }; }
8923 cat >conftest.
$ac_ext <<_ACEOF
8926 cat confdefs.h
>>conftest.
$ac_ext
8927 cat >>conftest.
$ac_ext <<_ACEOF
8928 /* end confdefs.h. */
8929 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
8930 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8931 #define dlopen innocuous_dlopen
8933 /* System header to define __stub macros and hopefully few prototypes,
8934 which can conflict with char dlopen (); below.
8935 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8936 <limits.h> exists even on freestanding compilers. */
8939 # include <limits.h>
8941 # include <assert.h>
8946 /* Override any gcc2 internal prototype to avoid an error. */
8951 /* We use char because int might match the return type of a gcc2
8952 builtin and then its argument prototype would still apply. */
8954 /* The GNU C library defines this for functions which it implements
8955 to always fail with ENOSYS. Some functions are actually named
8956 something starting with __ and the normal name is an alias. */
8957 #if defined (__stub_dlopen) || defined (__stub___dlopen)
8960 char (*f) () = dlopen;
8974 rm -f conftest.
$ac_objext conftest
$ac_exeext
8975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8976 (eval $ac_link) 2>conftest.er1
8978 grep -v '^ *+' conftest.er1
>conftest.err
8980 cat conftest.err
>&5
8981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8982 (exit $ac_status); } &&
8983 { ac_try
='test -z "$ac_c_werror_flag"
8984 || test ! -s conftest.err'
8985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8989 (exit $ac_status); }; } &&
8990 { ac_try
='test -s conftest$ac_exeext'
8991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8995 (exit $ac_status); }; }; then
8996 ac_cv_func_dlopen
=yes
8998 echo "$as_me: failed program was:" >&5
8999 sed 's/^/| /' conftest.
$ac_ext >&5
9001 ac_cv_func_dlopen
=no
9003 rm -f conftest.err conftest.
$ac_objext \
9004 conftest
$ac_exeext conftest.
$ac_ext
9006 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9007 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
9008 if test $ac_cv_func_dlopen = yes; then
9009 lt_cv_dlopen
="dlopen"
9011 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9012 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9013 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9014 echo $ECHO_N "(cached) $ECHO_C" >&6
9016 ac_check_lib_save_LIBS
=$LIBS
9018 if test x
$gcc_no_link = xyes
; then
9019 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9020 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9021 { (exit 1); exit 1; }; }
9023 cat >conftest.
$ac_ext <<_ACEOF
9026 cat confdefs.h
>>conftest.
$ac_ext
9027 cat >>conftest.
$ac_ext <<_ACEOF
9028 /* end confdefs.h. */
9030 /* Override any gcc2 internal prototype to avoid an error. */
9034 /* We use char because int might match the return type of a gcc2
9035 builtin and then its argument prototype would still apply. */
9045 rm -f conftest.
$ac_objext conftest
$ac_exeext
9046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9047 (eval $ac_link) 2>conftest.er1
9049 grep -v '^ *+' conftest.er1
>conftest.err
9051 cat conftest.err
>&5
9052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9053 (exit $ac_status); } &&
9054 { ac_try
='test -z "$ac_c_werror_flag"
9055 || test ! -s conftest.err'
9056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9060 (exit $ac_status); }; } &&
9061 { ac_try
='test -s conftest$ac_exeext'
9062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9066 (exit $ac_status); }; }; then
9067 ac_cv_lib_dl_dlopen
=yes
9069 echo "$as_me: failed program was:" >&5
9070 sed 's/^/| /' conftest.
$ac_ext >&5
9072 ac_cv_lib_dl_dlopen
=no
9074 rm -f conftest.err conftest.
$ac_objext \
9075 conftest
$ac_exeext conftest.
$ac_ext
9076 LIBS
=$ac_check_lib_save_LIBS
9078 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9079 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9080 if test $ac_cv_lib_dl_dlopen = yes; then
9081 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9083 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9084 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
9085 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9086 echo $ECHO_N "(cached) $ECHO_C" >&6
9088 ac_check_lib_save_LIBS
=$LIBS
9090 if test x
$gcc_no_link = xyes
; then
9091 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9092 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9093 { (exit 1); exit 1; }; }
9095 cat >conftest.
$ac_ext <<_ACEOF
9098 cat confdefs.h
>>conftest.
$ac_ext
9099 cat >>conftest.
$ac_ext <<_ACEOF
9100 /* end confdefs.h. */
9102 /* Override any gcc2 internal prototype to avoid an error. */
9106 /* We use char because int might match the return type of a gcc2
9107 builtin and then its argument prototype would still apply. */
9117 rm -f conftest.
$ac_objext conftest
$ac_exeext
9118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9119 (eval $ac_link) 2>conftest.er1
9121 grep -v '^ *+' conftest.er1
>conftest.err
9123 cat conftest.err
>&5
9124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9125 (exit $ac_status); } &&
9126 { ac_try
='test -z "$ac_c_werror_flag"
9127 || test ! -s conftest.err'
9128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9132 (exit $ac_status); }; } &&
9133 { ac_try
='test -s conftest$ac_exeext'
9134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9138 (exit $ac_status); }; }; then
9139 ac_cv_lib_svld_dlopen
=yes
9141 echo "$as_me: failed program was:" >&5
9142 sed 's/^/| /' conftest.
$ac_ext >&5
9144 ac_cv_lib_svld_dlopen
=no
9146 rm -f conftest.err conftest.
$ac_objext \
9147 conftest
$ac_exeext conftest.
$ac_ext
9148 LIBS
=$ac_check_lib_save_LIBS
9150 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9151 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
9152 if test $ac_cv_lib_svld_dlopen = yes; then
9153 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9155 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9156 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
9157 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9158 echo $ECHO_N "(cached) $ECHO_C" >&6
9160 ac_check_lib_save_LIBS
=$LIBS
9162 if test x
$gcc_no_link = xyes
; then
9163 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9164 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9165 { (exit 1); exit 1; }; }
9167 cat >conftest.
$ac_ext <<_ACEOF
9170 cat confdefs.h
>>conftest.
$ac_ext
9171 cat >>conftest.
$ac_ext <<_ACEOF
9172 /* end confdefs.h. */
9174 /* Override any gcc2 internal prototype to avoid an error. */
9178 /* We use char because int might match the return type of a gcc2
9179 builtin and then its argument prototype would still apply. */
9189 rm -f conftest.
$ac_objext conftest
$ac_exeext
9190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9191 (eval $ac_link) 2>conftest.er1
9193 grep -v '^ *+' conftest.er1
>conftest.err
9195 cat conftest.err
>&5
9196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9197 (exit $ac_status); } &&
9198 { ac_try
='test -z "$ac_c_werror_flag"
9199 || test ! -s conftest.err'
9200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9204 (exit $ac_status); }; } &&
9205 { ac_try
='test -s conftest$ac_exeext'
9206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9210 (exit $ac_status); }; }; then
9211 ac_cv_lib_dld_dld_link
=yes
9213 echo "$as_me: failed program was:" >&5
9214 sed 's/^/| /' conftest.
$ac_ext >&5
9216 ac_cv_lib_dld_dld_link
=no
9218 rm -f conftest.err conftest.
$ac_objext \
9219 conftest
$ac_exeext conftest.
$ac_ext
9220 LIBS
=$ac_check_lib_save_LIBS
9222 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9223 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
9224 if test $ac_cv_lib_dld_dld_link = yes; then
9225 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
9246 if test "x$lt_cv_dlopen" != xno
; then
9252 case $lt_cv_dlopen in
9254 save_CPPFLAGS
="$CPPFLAGS"
9255 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
9257 save_LDFLAGS
="$LDFLAGS"
9258 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
9261 LIBS
="$lt_cv_dlopen_libs $LIBS"
9263 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9264 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
9265 if test "${lt_cv_dlopen_self+set}" = set; then
9266 echo $ECHO_N "(cached) $ECHO_C" >&6
9268 if test "$cross_compiling" = yes; then :
9269 lt_cv_dlopen_self
=cross
9271 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9272 lt_status
=$lt_dlunknown
9273 cat > conftest.
$ac_ext <<_LT_EOF
9274 #line 9274 "configure"
9275 #include "confdefs.h"
9284 # define LT_DLGLOBAL RTLD_GLOBAL
9287 # define LT_DLGLOBAL DL_GLOBAL
9289 # define LT_DLGLOBAL 0
9293 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9294 find out it does not work in some platform. */
9295 #ifndef LT_DLLAZY_OR_NOW
9297 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9300 # define LT_DLLAZY_OR_NOW DL_LAZY
9303 # define LT_DLLAZY_OR_NOW RTLD_NOW
9306 # define LT_DLLAZY_OR_NOW DL_NOW
9308 # define LT_DLLAZY_OR_NOW 0
9316 extern "C" void exit (int);
9319 void fnord() { int i=42;}
9322 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9323 int status = $lt_dlunknown;
9327 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9328 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9329 /* dlclose (self); */
9337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9338 (eval $ac_link) 2>&5
9340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9341 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9342 (.
/conftest
; exit; ) >&5 2>/dev
/null
9345 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
9346 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
9347 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
9350 # compilation failed
9351 lt_cv_dlopen_self
=no
9358 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9359 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
9361 if test "x$lt_cv_dlopen_self" = xyes
; then
9362 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
9363 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9364 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
9365 if test "${lt_cv_dlopen_self_static+set}" = set; then
9366 echo $ECHO_N "(cached) $ECHO_C" >&6
9368 if test "$cross_compiling" = yes; then :
9369 lt_cv_dlopen_self_static
=cross
9371 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9372 lt_status
=$lt_dlunknown
9373 cat > conftest.
$ac_ext <<_LT_EOF
9374 #line 9374 "configure"
9375 #include "confdefs.h"
9384 # define LT_DLGLOBAL RTLD_GLOBAL
9387 # define LT_DLGLOBAL DL_GLOBAL
9389 # define LT_DLGLOBAL 0
9393 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9394 find out it does not work in some platform. */
9395 #ifndef LT_DLLAZY_OR_NOW
9397 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9400 # define LT_DLLAZY_OR_NOW DL_LAZY
9403 # define LT_DLLAZY_OR_NOW RTLD_NOW
9406 # define LT_DLLAZY_OR_NOW DL_NOW
9408 # define LT_DLLAZY_OR_NOW 0
9416 extern "C" void exit (int);
9419 void fnord() { int i=42;}
9422 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9423 int status = $lt_dlunknown;
9427 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9428 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9429 /* dlclose (self); */
9437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9438 (eval $ac_link) 2>&5
9440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9441 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9442 (.
/conftest
; exit; ) >&5 2>/dev
/null
9445 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
9446 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
9447 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
9450 # compilation failed
9451 lt_cv_dlopen_self_static
=no
9458 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
9459 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
9462 CPPFLAGS
="$save_CPPFLAGS"
9463 LDFLAGS
="$save_LDFLAGS"
9468 case $lt_cv_dlopen_self in
9469 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
9470 *) enable_dlopen_self
=unknown
;;
9473 case $lt_cv_dlopen_self_static in
9474 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
9475 *) enable_dlopen_self_static
=unknown
;;
9497 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9498 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
9499 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
9500 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9501 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9502 echo "$as_me:$LINENO: result: yes" >&5
9503 echo "${ECHO_T}yes" >&6
9505 # FIXME - insert some real tests, host_os isn't really good enough
9508 if test -n "$STRIP" ; then
9509 striplib
="$STRIP -x"
9510 old_striplib
="$STRIP -S"
9511 echo "$as_me:$LINENO: result: yes" >&5
9512 echo "${ECHO_T}yes" >&6
9514 echo "$as_me:$LINENO: result: no" >&5
9515 echo "${ECHO_T}no" >&6
9519 echo "$as_me:$LINENO: result: no" >&5
9520 echo "${ECHO_T}no" >&6
9536 # Report which library types will actually be built
9537 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9538 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
9539 echo "$as_me:$LINENO: result: $can_build_shared" >&5
9540 echo "${ECHO_T}$can_build_shared" >&6
9542 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9543 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
9544 test "$can_build_shared" = "no" && enable_shared
=no
9546 # On AIX, shared libraries and static libraries use the same namespace, and
9547 # are all built from PIC.
9550 test "$enable_shared" = yes && enable_static
=no
9551 if test -n "$RANLIB"; then
9552 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
9553 postinstall_cmds
='$RANLIB $lib'
9558 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
9559 test "$enable_shared" = yes && enable_static
=no
9563 echo "$as_me:$LINENO: result: $enable_shared" >&5
9564 echo "${ECHO_T}$enable_shared" >&6
9566 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9567 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
9568 # Make sure either enable_shared or enable_static is yes.
9569 test "$enable_shared" = yes || enable_static
=yes
9570 echo "$as_me:$LINENO: result: $enable_static" >&5
9571 echo "${ECHO_T}$enable_static" >&6
9578 ac_cpp
='$CPP $CPPFLAGS'
9579 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9580 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9581 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9597 ac_config_commands
="$ac_config_commands libtool"
9606 # Find CPP now so that any conditional tests below won't do it and
9607 # thereby make the resulting definitions conditional.
9609 ac_cpp
='$CPP $CPPFLAGS'
9610 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9611 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9612 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9613 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
9614 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
9615 # On Suns, sometimes $CPP names a directory.
9616 if test -n "$CPP" && test -d "$CPP"; then
9619 if test -z "$CPP"; then
9620 if test "${ac_cv_prog_CPP+set}" = set; then
9621 echo $ECHO_N "(cached) $ECHO_C" >&6
9623 # Double quotes because CPP needs to be expanded
9624 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
9627 for ac_c_preproc_warn_flag
in '' yes
9629 # Use a header file that comes with gcc, so configuring glibc
9630 # with a fresh cross-compiler works.
9631 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9632 # <limits.h> exists even on freestanding compilers.
9633 # On the NeXT, cc -E runs the code through the compiler's parser,
9634 # not just through cpp. "Syntax error" is here to catch this case.
9635 cat >conftest.
$ac_ext <<_ACEOF
9638 cat confdefs.h
>>conftest.
$ac_ext
9639 cat >>conftest.
$ac_ext <<_ACEOF
9640 /* end confdefs.h. */
9642 # include <limits.h>
9644 # include <assert.h>
9648 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9649 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9651 grep -v '^ *+' conftest.er1
>conftest.err
9653 cat conftest.err
>&5
9654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9655 (exit $ac_status); } >/dev
/null
; then
9656 if test -s conftest.err
; then
9657 ac_cpp_err
=$ac_c_preproc_warn_flag
9658 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9665 if test -z "$ac_cpp_err"; then
9668 echo "$as_me: failed program was:" >&5
9669 sed 's/^/| /' conftest.
$ac_ext >&5
9671 # Broken: fails on valid input.
9674 rm -f conftest.err conftest.
$ac_ext
9676 # OK, works on sane cases. Now check whether non-existent headers
9677 # can be detected and how.
9678 cat >conftest.
$ac_ext <<_ACEOF
9681 cat confdefs.h
>>conftest.
$ac_ext
9682 cat >>conftest.
$ac_ext <<_ACEOF
9683 /* end confdefs.h. */
9684 #include <ac_nonexistent.h>
9686 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9687 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9689 grep -v '^ *+' conftest.er1
>conftest.err
9691 cat conftest.err
>&5
9692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9693 (exit $ac_status); } >/dev
/null
; then
9694 if test -s conftest.err
; then
9695 ac_cpp_err
=$ac_c_preproc_warn_flag
9696 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9703 if test -z "$ac_cpp_err"; then
9704 # Broken: success on invalid input.
9707 echo "$as_me: failed program was:" >&5
9708 sed 's/^/| /' conftest.
$ac_ext >&5
9710 # Passes both tests.
9714 rm -f conftest.err conftest.
$ac_ext
9717 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9718 rm -f conftest.err conftest.
$ac_ext
9719 if $ac_preproc_ok; then
9731 echo "$as_me:$LINENO: result: $CPP" >&5
9732 echo "${ECHO_T}$CPP" >&6
9734 for ac_c_preproc_warn_flag
in '' yes
9736 # Use a header file that comes with gcc, so configuring glibc
9737 # with a fresh cross-compiler works.
9738 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9739 # <limits.h> exists even on freestanding compilers.
9740 # On the NeXT, cc -E runs the code through the compiler's parser,
9741 # not just through cpp. "Syntax error" is here to catch this case.
9742 cat >conftest.
$ac_ext <<_ACEOF
9745 cat confdefs.h
>>conftest.
$ac_ext
9746 cat >>conftest.
$ac_ext <<_ACEOF
9747 /* end confdefs.h. */
9749 # include <limits.h>
9751 # include <assert.h>
9755 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9756 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9758 grep -v '^ *+' conftest.er1
>conftest.err
9760 cat conftest.err
>&5
9761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9762 (exit $ac_status); } >/dev
/null
; then
9763 if test -s conftest.err
; then
9764 ac_cpp_err
=$ac_c_preproc_warn_flag
9765 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9772 if test -z "$ac_cpp_err"; then
9775 echo "$as_me: failed program was:" >&5
9776 sed 's/^/| /' conftest.
$ac_ext >&5
9778 # Broken: fails on valid input.
9781 rm -f conftest.err conftest.
$ac_ext
9783 # OK, works on sane cases. Now check whether non-existent headers
9784 # can be detected and how.
9785 cat >conftest.
$ac_ext <<_ACEOF
9788 cat confdefs.h
>>conftest.
$ac_ext
9789 cat >>conftest.
$ac_ext <<_ACEOF
9790 /* end confdefs.h. */
9791 #include <ac_nonexistent.h>
9793 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9794 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9796 grep -v '^ *+' conftest.er1
>conftest.err
9798 cat conftest.err
>&5
9799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9800 (exit $ac_status); } >/dev
/null
; then
9801 if test -s conftest.err
; then
9802 ac_cpp_err
=$ac_c_preproc_warn_flag
9803 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9810 if test -z "$ac_cpp_err"; then
9811 # Broken: success on invalid input.
9814 echo "$as_me: failed program was:" >&5
9815 sed 's/^/| /' conftest.
$ac_ext >&5
9817 # Passes both tests.
9821 rm -f conftest.err conftest.
$ac_ext
9824 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9825 rm -f conftest.err conftest.
$ac_ext
9826 if $ac_preproc_ok; then
9829 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
9830 See \`config.log' for more details." >&5
9831 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
9832 See \`config.log' for more details." >&2;}
9833 { (exit 1); exit 1; }; }
9837 ac_cpp
='$CPP $CPPFLAGS'
9838 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9839 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9840 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9843 if test -n "$with_cross_host"; then
9844 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
9845 # may not work correctly, because the compiler may not be able to
9848 # We assume newlib. This lets us hard-code the functions we know
9850 cat >>confdefs.h
<<\_ACEOF
9851 #define HAVE_MEMCPY 1
9854 cat >>confdefs.h
<<\_ACEOF
9855 #define HAVE_STRERROR 1
9859 # We ignore --with-system-zlib in this case.
9860 target_all
=libzgcj.la
9862 if test x
$gcc_no_link = xyes
; then
9863 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset
; then
9864 ac_cv_func_mmap_fixed_mapped
=no
9867 if test "x${ac_cv_func_mmap_fixed_mapped}" != xno
; then
9870 for ac_header
in stdlib.h unistd.h
9872 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9873 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9874 echo "$as_me:$LINENO: checking for $ac_header" >&5
9875 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9876 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9877 echo $ECHO_N "(cached) $ECHO_C" >&6
9879 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9880 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9882 # Is the header compilable?
9883 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9884 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9885 cat >conftest.
$ac_ext <<_ACEOF
9888 cat confdefs.h
>>conftest.
$ac_ext
9889 cat >>conftest.
$ac_ext <<_ACEOF
9890 /* end confdefs.h. */
9891 $ac_includes_default
9892 #include <$ac_header>
9894 rm -f conftest.
$ac_objext
9895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9896 (eval $ac_compile) 2>conftest.er1
9898 grep -v '^ *+' conftest.er1
>conftest.err
9900 cat conftest.err
>&5
9901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9902 (exit $ac_status); } &&
9903 { ac_try
='test -z "$ac_c_werror_flag"
9904 || test ! -s conftest.err'
9905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9909 (exit $ac_status); }; } &&
9910 { ac_try
='test -s conftest.$ac_objext'
9911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9915 (exit $ac_status); }; }; then
9916 ac_header_compiler
=yes
9918 echo "$as_me: failed program was:" >&5
9919 sed 's/^/| /' conftest.
$ac_ext >&5
9921 ac_header_compiler
=no
9923 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9924 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9925 echo "${ECHO_T}$ac_header_compiler" >&6
9927 # Is the header present?
9928 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9929 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9930 cat >conftest.
$ac_ext <<_ACEOF
9933 cat confdefs.h
>>conftest.
$ac_ext
9934 cat >>conftest.
$ac_ext <<_ACEOF
9935 /* end confdefs.h. */
9936 #include <$ac_header>
9938 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9939 (eval $ac_cpp conftest.
$ac_ext) 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); } >/dev
/null
; then
9946 if test -s conftest.err
; then
9947 ac_cpp_err
=$ac_c_preproc_warn_flag
9948 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9955 if test -z "$ac_cpp_err"; then
9956 ac_header_preproc
=yes
9958 echo "$as_me: failed program was:" >&5
9959 sed 's/^/| /' conftest.
$ac_ext >&5
9961 ac_header_preproc
=no
9963 rm -f conftest.err conftest.
$ac_ext
9964 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9965 echo "${ECHO_T}$ac_header_preproc" >&6
9967 # So? What about this header?
9968 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9970 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9971 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9972 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9973 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9974 ac_header_preproc
=yes
9977 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9978 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9979 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9980 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9981 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9982 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9983 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9984 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9985 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9986 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9987 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9988 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9991 ## ------------------------------------------ ##
9992 ## Report this to the AC_PACKAGE_NAME lists. ##
9993 ## ------------------------------------------ ##
9996 sed "s/^/$as_me: WARNING: /" >&2
9999 echo "$as_me:$LINENO: checking for $ac_header" >&5
10000 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10001 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10002 echo $ECHO_N "(cached) $ECHO_C" >&6
10004 eval "$as_ac_Header=\$ac_header_preproc"
10006 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10007 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10010 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10011 cat >>confdefs.h
<<_ACEOF
10012 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10020 for ac_func
in getpagesize
10022 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10023 echo "$as_me:$LINENO: checking for $ac_func" >&5
10024 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10025 if eval "test \"\${$as_ac_var+set}\" = set"; then
10026 echo $ECHO_N "(cached) $ECHO_C" >&6
10028 if test x
$gcc_no_link = xyes
; then
10029 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10030 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10031 { (exit 1); exit 1; }; }
10033 cat >conftest.
$ac_ext <<_ACEOF
10036 cat confdefs.h
>>conftest.
$ac_ext
10037 cat >>conftest.
$ac_ext <<_ACEOF
10038 /* end confdefs.h. */
10039 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10040 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10041 #define $ac_func innocuous_$ac_func
10043 /* System header to define __stub macros and hopefully few prototypes,
10044 which can conflict with char $ac_func (); below.
10045 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10046 <limits.h> exists even on freestanding compilers. */
10049 # include <limits.h>
10051 # include <assert.h>
10056 /* Override any gcc2 internal prototype to avoid an error. */
10061 /* We use char because int might match the return type of a gcc2
10062 builtin and then its argument prototype would still apply. */
10064 /* The GNU C library defines this for functions which it implements
10065 to always fail with ENOSYS. Some functions are actually named
10066 something starting with __ and the normal name is an alias. */
10067 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10070 char (*f) () = $ac_func;
10079 return f != $ac_func;
10084 rm -f conftest.
$ac_objext conftest
$ac_exeext
10085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10086 (eval $ac_link) 2>conftest.er1
10088 grep -v '^ *+' conftest.er1
>conftest.err
10090 cat conftest.err
>&5
10091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10092 (exit $ac_status); } &&
10093 { ac_try
='test -z "$ac_c_werror_flag"
10094 || test ! -s conftest.err'
10095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10096 (eval $ac_try) 2>&5
10098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10099 (exit $ac_status); }; } &&
10100 { ac_try
='test -s conftest$ac_exeext'
10101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10102 (eval $ac_try) 2>&5
10104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10105 (exit $ac_status); }; }; then
10106 eval "$as_ac_var=yes"
10108 echo "$as_me: failed program was:" >&5
10109 sed 's/^/| /' conftest.
$ac_ext >&5
10111 eval "$as_ac_var=no"
10113 rm -f conftest.err conftest.
$ac_objext \
10114 conftest
$ac_exeext conftest.
$ac_ext
10116 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10117 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10118 if test `eval echo '${'$as_ac_var'}'` = yes; then
10119 cat >>confdefs.h
<<_ACEOF
10120 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10126 echo "$as_me:$LINENO: checking for working mmap" >&5
10127 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
10128 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
10129 echo $ECHO_N "(cached) $ECHO_C" >&6
10131 if test "$cross_compiling" = yes; then
10132 ac_cv_func_mmap_fixed_mapped
=no
10134 cat >conftest.
$ac_ext <<_ACEOF
10137 cat confdefs.h
>>conftest.
$ac_ext
10138 cat >>conftest.
$ac_ext <<_ACEOF
10139 /* end confdefs.h. */
10140 $ac_includes_default
10141 /* malloc might have been renamed as rpl_malloc. */
10144 /* Thanks to Mike Haertel and Jim Avera for this test.
10145 Here is a matrix of mmap possibilities:
10146 mmap private not fixed
10147 mmap private fixed at somewhere currently unmapped
10148 mmap private fixed at somewhere already mapped
10149 mmap shared not fixed
10150 mmap shared fixed at somewhere currently unmapped
10151 mmap shared fixed at somewhere already mapped
10152 For private mappings, we should verify that changes cannot be read()
10153 back from the file, nor mmap's back from the file at a different
10154 address. (There have been systems where private was not correctly
10155 implemented like the infamous i386 svr4.0, and systems where the
10156 VM page cache was not coherent with the file system buffer cache
10157 like early versions of FreeBSD and possibly contemporary NetBSD.)
10158 For shared mappings, we should conversely verify that changes get
10159 propagated back to all the places they're supposed to be.
10161 Grep wants private fixed already mapped.
10162 The main things grep needs to know about mmap are:
10163 * does it exist and is it safe to write into the mmap'd area
10164 * how to use it (BSD variants) */
10167 #include <sys/mman.h>
10169 #if !STDC_HEADERS && !HAVE_STDLIB_H
10173 /* This mess was copied from the GNU getpagesize.h. */
10174 #if !HAVE_GETPAGESIZE
10175 /* Assume that all systems that can run configure have sys/param.h. */
10176 # if !HAVE_SYS_PARAM_H
10177 # define HAVE_SYS_PARAM_H 1
10180 # ifdef _SC_PAGESIZE
10181 # define getpagesize() sysconf(_SC_PAGESIZE)
10182 # else /* no _SC_PAGESIZE */
10183 # if HAVE_SYS_PARAM_H
10184 # include <sys/param.h>
10185 # ifdef EXEC_PAGESIZE
10186 # define getpagesize() EXEC_PAGESIZE
10187 # else /* no EXEC_PAGESIZE */
10189 # define getpagesize() NBPG * CLSIZE
10192 # endif /* no CLSIZE */
10193 # else /* no NBPG */
10195 # define getpagesize() NBPC
10196 # else /* no NBPC */
10198 # define getpagesize() PAGESIZE
10199 # endif /* PAGESIZE */
10200 # endif /* no NBPC */
10201 # endif /* no NBPG */
10202 # endif /* no EXEC_PAGESIZE */
10203 # else /* no HAVE_SYS_PARAM_H */
10204 # define getpagesize() 8192 /* punt totally */
10205 # endif /* no HAVE_SYS_PARAM_H */
10206 # endif /* no _SC_PAGESIZE */
10208 #endif /* no HAVE_GETPAGESIZE */
10213 char *data, *data2, *data3;
10217 pagesize = getpagesize ();
10219 /* First, make a file with some known garbage in it. */
10220 data = (char *) malloc (pagesize);
10223 for (i = 0; i < pagesize; ++i)
10224 *(data + i) = rand ();
10226 fd = creat ("conftest.mmap", 0600);
10229 if (write (fd, data, pagesize) != pagesize)
10233 /* Next, try to mmap the file at a fixed address which already has
10234 something else allocated at it. If we can, also make sure that
10235 we see the same garbage. */
10236 fd = open ("conftest.mmap", O_RDWR);
10239 data2 = (char *) malloc (2 * pagesize);
10242 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
10243 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
10244 MAP_PRIVATE | MAP_FIXED, fd, 0L))
10246 for (i = 0; i < pagesize; ++i)
10247 if (*(data + i) != *(data2 + i))
10250 /* Finally, make sure that changes to the mapped area do not
10251 percolate back to the file as seen by read(). (This is a bug on
10252 some variants of i386 svr4.0.) */
10253 for (i = 0; i < pagesize; ++i)
10254 *(data2 + i) = *(data2 + i) + 1;
10255 data3 = (char *) malloc (pagesize);
10258 if (read (fd, data3, pagesize) != pagesize)
10260 for (i = 0; i < pagesize; ++i)
10261 if (*(data + i) != *(data3 + i))
10267 rm -f conftest
$ac_exeext
10268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10269 (eval $ac_link) 2>&5
10271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10272 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
10273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10274 (eval $ac_try) 2>&5
10276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10277 (exit $ac_status); }; }; then
10278 ac_cv_func_mmap_fixed_mapped
=yes
10280 echo "$as_me: program exited with status $ac_status" >&5
10281 echo "$as_me: failed program was:" >&5
10282 sed 's/^/| /' conftest.
$ac_ext >&5
10284 ( exit $ac_status )
10285 ac_cv_func_mmap_fixed_mapped
=no
10287 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
10290 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
10291 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
10292 if test $ac_cv_func_mmap_fixed_mapped = yes; then
10294 cat >>confdefs.h
<<\_ACEOF
10295 #define HAVE_MMAP 1
10299 rm -f conftest.mmap
10304 for ac_func
in memcpy strerror
10306 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10307 echo "$as_me:$LINENO: checking for $ac_func" >&5
10308 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10309 if eval "test \"\${$as_ac_var+set}\" = set"; then
10310 echo $ECHO_N "(cached) $ECHO_C" >&6
10312 if test x
$gcc_no_link = xyes
; then
10313 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10314 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10315 { (exit 1); exit 1; }; }
10317 cat >conftest.
$ac_ext <<_ACEOF
10320 cat confdefs.h
>>conftest.
$ac_ext
10321 cat >>conftest.
$ac_ext <<_ACEOF
10322 /* end confdefs.h. */
10323 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10324 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10325 #define $ac_func innocuous_$ac_func
10327 /* System header to define __stub macros and hopefully few prototypes,
10328 which can conflict with char $ac_func (); below.
10329 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10330 <limits.h> exists even on freestanding compilers. */
10333 # include <limits.h>
10335 # include <assert.h>
10340 /* Override any gcc2 internal prototype to avoid an error. */
10345 /* We use char because int might match the return type of a gcc2
10346 builtin and then its argument prototype would still apply. */
10348 /* The GNU C library defines this for functions which it implements
10349 to always fail with ENOSYS. Some functions are actually named
10350 something starting with __ and the normal name is an alias. */
10351 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10354 char (*f) () = $ac_func;
10363 return f != $ac_func;
10368 rm -f conftest.
$ac_objext conftest
$ac_exeext
10369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10370 (eval $ac_link) 2>conftest.er1
10372 grep -v '^ *+' conftest.er1
>conftest.err
10374 cat conftest.err
>&5
10375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10376 (exit $ac_status); } &&
10377 { ac_try
='test -z "$ac_c_werror_flag"
10378 || test ! -s conftest.err'
10379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10380 (eval $ac_try) 2>&5
10382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10383 (exit $ac_status); }; } &&
10384 { ac_try
='test -s conftest$ac_exeext'
10385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10386 (eval $ac_try) 2>&5
10388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10389 (exit $ac_status); }; }; then
10390 eval "$as_ac_var=yes"
10392 echo "$as_me: failed program was:" >&5
10393 sed 's/^/| /' conftest.
$ac_ext >&5
10395 eval "$as_ac_var=no"
10397 rm -f conftest.err conftest.
$ac_objext \
10398 conftest
$ac_exeext conftest.
$ac_ext
10400 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10401 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10402 if test `eval echo '${'$as_ac_var'}'` = yes; then
10403 cat >>confdefs.h
<<_ACEOF
10404 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10411 if test "$with_system_zlib" = yes; then
10412 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
10413 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
10414 if test "${ac_cv_lib_z_deflate+set}" = set; then
10415 echo $ECHO_N "(cached) $ECHO_C" >&6
10417 ac_check_lib_save_LIBS
=$LIBS
10419 if test x
$gcc_no_link = xyes
; then
10420 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10421 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10422 { (exit 1); exit 1; }; }
10424 cat >conftest.
$ac_ext <<_ACEOF
10427 cat confdefs.h
>>conftest.
$ac_ext
10428 cat >>conftest.
$ac_ext <<_ACEOF
10429 /* end confdefs.h. */
10431 /* Override any gcc2 internal prototype to avoid an error. */
10435 /* We use char because int might match the return type of a gcc2
10436 builtin and then its argument prototype would still apply. */
10446 rm -f conftest.
$ac_objext conftest
$ac_exeext
10447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10448 (eval $ac_link) 2>conftest.er1
10450 grep -v '^ *+' conftest.er1
>conftest.err
10452 cat conftest.err
>&5
10453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10454 (exit $ac_status); } &&
10455 { ac_try
='test -z "$ac_c_werror_flag"
10456 || test ! -s conftest.err'
10457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10458 (eval $ac_try) 2>&5
10460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10461 (exit $ac_status); }; } &&
10462 { ac_try
='test -s conftest$ac_exeext'
10463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10464 (eval $ac_try) 2>&5
10466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10467 (exit $ac_status); }; }; then
10468 ac_cv_lib_z_deflate
=yes
10470 echo "$as_me: failed program was:" >&5
10471 sed 's/^/| /' conftest.
$ac_ext >&5
10473 ac_cv_lib_z_deflate
=no
10475 rm -f conftest.err conftest.
$ac_objext \
10476 conftest
$ac_exeext conftest.
$ac_ext
10477 LIBS
=$ac_check_lib_save_LIBS
10479 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
10480 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
10481 if test $ac_cv_lib_z_deflate = yes; then
10484 target_all
=libzgcj.la
10488 target_all
=libzgcj.la
10495 for ac_header
in unistd.h
10497 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10498 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10499 echo "$as_me:$LINENO: checking for $ac_header" >&5
10500 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10501 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10502 echo $ECHO_N "(cached) $ECHO_C" >&6
10504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10505 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10507 # Is the header compilable?
10508 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10509 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10510 cat >conftest.
$ac_ext <<_ACEOF
10513 cat confdefs.h
>>conftest.
$ac_ext
10514 cat >>conftest.
$ac_ext <<_ACEOF
10515 /* end confdefs.h. */
10516 $ac_includes_default
10517 #include <$ac_header>
10519 rm -f conftest.
$ac_objext
10520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10521 (eval $ac_compile) 2>conftest.er1
10523 grep -v '^ *+' conftest.er1
>conftest.err
10525 cat conftest.err
>&5
10526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10527 (exit $ac_status); } &&
10528 { ac_try
='test -z "$ac_c_werror_flag"
10529 || test ! -s conftest.err'
10530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10531 (eval $ac_try) 2>&5
10533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10534 (exit $ac_status); }; } &&
10535 { ac_try
='test -s conftest.$ac_objext'
10536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10537 (eval $ac_try) 2>&5
10539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10540 (exit $ac_status); }; }; then
10541 ac_header_compiler
=yes
10543 echo "$as_me: failed program was:" >&5
10544 sed 's/^/| /' conftest.
$ac_ext >&5
10546 ac_header_compiler
=no
10548 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10549 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10550 echo "${ECHO_T}$ac_header_compiler" >&6
10552 # Is the header present?
10553 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10554 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10555 cat >conftest.
$ac_ext <<_ACEOF
10558 cat confdefs.h
>>conftest.
$ac_ext
10559 cat >>conftest.
$ac_ext <<_ACEOF
10560 /* end confdefs.h. */
10561 #include <$ac_header>
10563 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10564 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10566 grep -v '^ *+' conftest.er1
>conftest.err
10568 cat conftest.err
>&5
10569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10570 (exit $ac_status); } >/dev
/null
; then
10571 if test -s conftest.err
; then
10572 ac_cpp_err
=$ac_c_preproc_warn_flag
10573 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10580 if test -z "$ac_cpp_err"; then
10581 ac_header_preproc
=yes
10583 echo "$as_me: failed program was:" >&5
10584 sed 's/^/| /' conftest.
$ac_ext >&5
10586 ac_header_preproc
=no
10588 rm -f conftest.err conftest.
$ac_ext
10589 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10590 echo "${ECHO_T}$ac_header_preproc" >&6
10592 # So? What about this header?
10593 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10595 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10596 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10597 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10598 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10599 ac_header_preproc
=yes
10602 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10603 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10604 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10605 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10606 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10607 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10608 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10609 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10610 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10611 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10612 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10613 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10616 ## ------------------------------------------ ##
10617 ## Report this to the AC_PACKAGE_NAME lists. ##
10618 ## ------------------------------------------ ##
10621 sed "s/^/$as_me: WARNING: /" >&2
10624 echo "$as_me:$LINENO: checking for $ac_header" >&5
10625 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10626 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10627 echo $ECHO_N "(cached) $ECHO_C" >&6
10629 eval "$as_ac_Header=\$ac_header_preproc"
10631 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10632 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10635 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10636 cat >>confdefs.h
<<_ACEOF
10637 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10645 if test -n "$with_cross_host" &&
10646 test x
"$with_cross_host" != x
"no"; then
10647 toolexecdir
='$(exec_prefix)/$(target_alias)'
10648 toolexeclibdir
='$(toolexecdir)/lib'
10650 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
10651 toolexeclibdir
='$(libdir)'
10653 if test "$GCC" = yes && $CC -print-multi-os-directory > /dev
/null
2>&1; then
10654 multiosdir
=/`$CC -print-multi-os-directory`
10655 case $multiosdir in
10656 /.
) multiosdir
= ;; # Avoid trailing /.
10661 toolexeclibdir
=${toolexeclibdir}${multiosdir}
10667 if test -n "$with_target_subdir"; then
10668 TARGET_LIBRARY_TRUE
=
10669 TARGET_LIBRARY_FALSE
='#'
10671 TARGET_LIBRARY_TRUE
='#'
10672 TARGET_LIBRARY_FALSE
=
10676 if test "${multilib}" = "yes"; then
10677 multilib_arg
="--enable-multilib"
10682 ac_config_files
="$ac_config_files Makefile"
10684 cat >confcache
<<\_ACEOF
10685 # This file is a shell script that caches the results of configure
10686 # tests run on this system so they can be shared between configure
10687 # scripts and configure runs, see configure's option --config-cache.
10688 # It is not useful on other systems. If it contains results you don't
10689 # want to keep, you may remove or edit it.
10691 # config.status only pays attention to the cache file if you give it
10692 # the --recheck option to rerun configure.
10694 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10695 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10696 # following values.
10700 # The following way of writing the cache mishandles newlines in values,
10701 # but we know of no workaround that is simple, portable, and efficient.
10702 # So, don't put newlines in cache variables' values.
10703 # Ultrix sh set writes to stderr and can't be redirected directly,
10704 # and sets the high bit in the cache file unless we assign to the vars.
10707 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10709 # `set' does not quote correctly, so add quotes (double-quote
10710 # substitution turns \\\\ into \\, and sed turns \\ into \).
10713 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10716 # `set' quotes correctly as required by POSIX, so do not add quotes.
10718 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10725 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10727 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10729 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10730 if test -w $cache_file; then
10731 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10732 cat confcache
>$cache_file
10734 echo "not updating unwritable cache $cache_file"
10739 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
10740 # Let make expand exec_prefix.
10741 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
10743 # VPATH may cause trouble with some makes, so we remove $(srcdir),
10744 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
10745 # trailing colons and then remove the whole line if VPATH becomes empty
10746 # (actually we leave an empty line to preserve line numbers).
10747 if test "x$srcdir" = x.
; then
10748 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
10749 s/:*\$(srcdir):*/:/;
10750 s/:*\${srcdir}:*/:/;
10752 s/^\([^=]*=[ ]*\):*/\1/;
10758 # Transform confdefs.h into DEFS.
10759 # Protect against shell expansion while executing Makefile rules.
10760 # Protect against Makefile macro expansion.
10762 # If the first sed substitution is executed (which looks for macros that
10763 # take arguments), then we branch to the quote section. Otherwise,
10764 # look for a macro that doesn't take arguments.
10765 cat >confdef2opt.
sed <<\_ACEOF
10768 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
10770 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
10774 s
,[ `~#$^&*(){}\\|;'"<>?],\\&,g
10780 # We use echo to avoid assuming a particular line-breaking character.
10781 # The extra dot is to prevent the shell from consuming trailing
10782 # line-breaks from the sub-command output. A line-break within
10783 # single-quotes doesn't work because, if this script is created in a
10784 # platform that uses two characters for line-breaks (e.g., DOS), tr
10786 ac_LF_and_DOT=`echo; echo .
`
10787 DEFS=`sed -n -f confdef2opt.
sed confdefs.h |
tr "$ac_LF_and_DOT" ' .'`
10788 rm -f confdef2opt.sed
10793 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
10794 # 1. Remove the extension, and $U if already installed.
10795 ac_i=`echo "$ac_i" |
10796 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
10798 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
10799 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
10801 LIBOBJS=$ac_libobjs
10803 LTLIBOBJS=$ac_ltlibobjs
10806 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
10807 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
10808 Usually this means the macro was only invoked conditionally." >&5
10809 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
10810 Usually this means the macro was only invoked conditionally." >&2;}
10811 { (exit 1); exit 1; }; }
10813 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
10814 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
10815 Usually this means the macro was only invoked conditionally." >&5
10816 echo "$as_me: error: conditional \"AMDEP\" was never defined.
10817 Usually this means the macro was only invoked conditionally." >&2;}
10818 { (exit 1); exit 1; }; }
10820 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
10821 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
10822 Usually this means the macro was only invoked conditionally." >&5
10823 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
10824 Usually this means the macro was only invoked conditionally." >&2;}
10825 { (exit 1); exit 1; }; }
10827 if test -z "${TARGET_LIBRARY_TRUE}" && test -z "${TARGET_LIBRARY_FALSE}"; then
10828 { { echo "$as_me:$LINENO: error: conditional \"TARGET_LIBRARY\" was never defined.
10829 Usually this means the macro was only invoked conditionally." >&5
10830 echo "$as_me: error: conditional \"TARGET_LIBRARY\" was never defined.
10831 Usually this means the macro was only invoked conditionally." >&2;}
10832 { (exit 1); exit 1; }; }
10835 : ${CONFIG_STATUS=./config.status}
10836 ac_clean_files_save=$ac_clean_files
10837 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
10838 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
10839 echo "$as_me: creating $CONFIG_STATUS" >&6;}
10840 cat >$CONFIG_STATUS <<_ACEOF
10842 # Generated by $as_me.
10843 # Run this file to recreate the current configuration.
10844 # Compiler output produced by configure, useful for debugging
10845 # configure, is in config.log if it exists.
10848 ac_cs_recheck=false
10850 SHELL=\${CONFIG_SHELL-$SHELL}
10853 cat >>$CONFIG_STATUS <<\_ACEOF
10854 ## --------------------- ##
10855 ## M4sh Initialization. ##
10856 ## --------------------- ##
10858 # Be Bourne compatible
10859 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
10862 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
10863 # is contrary to our usage. Disable this feature.
10864 alias -g '${1+"$@"}'='"$@"'
10865 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
10868 DUALCASE=1; export DUALCASE # for MKS sh
10870 # Support unset when possible.
10871 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
10878 # Work around bugs in pre-3.0 UWIN ksh.
10879 $as_unset ENV MAIL MAILPATH
10886 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
10887 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
10888 LC_TELEPHONE LC_TIME
10890 if (set +x; test -z "`(eval $as_var=C
; export $as_var) 2>&1`"); then
10891 eval $as_var=C; export $as_var
10897 # Required to use basename.
10898 if expr a : '\(a\)' >/dev/null 2>&1; then
10904 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
10905 as_basename=basename
10911 # Name of the executable.
10912 as_me=`$as_basename "$0" ||
10913 $as_expr X
/"$0" : '.*/\([^/][^/]*\)/*$' \| \
10914 X
"$0" : 'X\(//\)$' \| \
10915 X
"$0" : 'X\(/\)$' \| \
10916 .
: '\(.\)' 2>/dev
/null ||
10918 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
10919 /^X\/\(\/\/\)$/{ s//\1/; q; }
10920 /^X\/\(\/\).*/{ s//\1/; q; }
10924 # PATH needs CR, and LINENO needs CR and PATH.
10925 # Avoid depending upon Character Ranges.
10926 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
10927 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
10928 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
10929 as_cr_digits='0123456789'
10930 as_cr_alnum=$as_cr_Letters$as_cr_digits
10932 # The user is always right.
10933 if test "${PATH_SEPARATOR+set}" != set; then
10934 echo "#! /bin/sh" >conf$$.sh
10935 echo "exit 0" >>conf$$.sh
10937 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
10946 as_lineno_1=$LINENO
10947 as_lineno_2=$LINENO
10948 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev
/null
`
10949 test "x$as_lineno_1" != "x$as_lineno_2" &&
10950 test "x$as_lineno_3" = "x$as_lineno_2" || {
10951 # Find who we are. Look in the path if we contain no path at all
10954 *[\\/]* ) as_myself=$0 ;;
10955 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10956 for as_dir in $PATH
10959 test -z "$as_dir" && as_dir=.
10960 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
10965 # We did not find ourselves, most probably we were run as `sh COMMAND
'
10966 # in which case we are not to be found in the path.
10967 if test "x$as_myself" = x; then
10970 if test ! -f "$as_myself"; then
10971 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
10972 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
10973 { (exit 1); exit 1; }; }
10975 case $CONFIG_SHELL in
10977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10978 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
10981 test -z "$as_dir" && as_dir=.
10982 for as_base in sh bash ksh sh5; do
10985 if ("$as_dir/$as_base" -c '
10986 as_lineno_1
=$LINENO
10987 as_lineno_2
=$LINENO
10988 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
10989 test "x$as_lineno_1" != "x$as_lineno_2" &&
10990 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
10991 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
10992 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
10993 CONFIG_SHELL=$as_dir/$as_base
10994 export CONFIG_SHELL
10995 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
11003 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
11004 # uniformly replaced by the line number. The first 'sed' inserts a
11005 # line-number line before each line; the second 'sed' does the real
11006 # work. The second script uses 'N
' to pair each line-number line
11007 # with the numbered line, and appends trailing '-' during
11008 # substitution so that $LINENO is not a special case at line end.
11009 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
11010 # second 'sed' script. Blame Lee E. McMahon for sed's syntax.
:-)
11011 sed '=' <$as_myself |
11016 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
11019 s,^['$as_cr_digits']*\n,,
11020 ' >$as_me.lineno
&&
11021 chmod +x
$as_me.lineno ||
11022 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
11023 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
11024 { (exit 1); exit 1; }; }
11026 # Don't try to exec as it changes $[0], causing all sort of problems
11027 # (the dirname of $[0] is not the place where we might find the
11028 # original and so on. Autoconf is especially sensible to this).
11030 # Exit status is that of the last command.
11035 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
11036 *c
*,-n*) ECHO_N
= ECHO_C
='
11038 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
11039 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
11042 if expr a
: '\(a\)' >/dev
/null
2>&1; then
11048 rm -f conf$$ conf$$.exe conf$$.
file
11050 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
11051 # We could just check for DJGPP; but this test a) works b) is more generic
11052 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
11053 if test -f conf$$.exe
; then
11054 # Don't use ln at all; we don't have any links
11059 elif ln conf$$.
file conf$$
2>/dev
/null
; then
11064 rm -f conf$$ conf$$.exe conf$$.
file
11066 if mkdir
-p .
2>/dev
/null
; then
11069 test -d .
/-p && rmdir .
/-p
11073 as_executable_p
="test -f"
11075 # Sed expression to map a string onto a valid CPP name.
11076 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11078 # Sed expression to map a string onto a valid variable name.
11079 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11083 # We need space, tab and new line, in precisely that order.
11093 # Open the log real soon, to keep \$[0] and so on meaningful, and to
11094 # report actual input values of CONFIG_FILES etc. instead of their
11095 # values after options handling. Logging --version etc. is OK.
11099 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11100 ## Running $as_me. ##
11105 This file was extended by $as_me, which was
11106 generated by GNU Autoconf 2.59. Invocation command line was
11108 CONFIG_FILES = $CONFIG_FILES
11109 CONFIG_HEADERS = $CONFIG_HEADERS
11110 CONFIG_LINKS = $CONFIG_LINKS
11111 CONFIG_COMMANDS = $CONFIG_COMMANDS
11115 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
11119 # Files that config.status was made for.
11120 if test -n "$ac_config_files"; then
11121 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
11124 if test -n "$ac_config_headers"; then
11125 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
11128 if test -n "$ac_config_links"; then
11129 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
11132 if test -n "$ac_config_commands"; then
11133 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
11136 cat >>$CONFIG_STATUS <<\_ACEOF
11139 \`$as_me' instantiates files from templates according to the
11140 current configuration.
11142 Usage: $0 [OPTIONS] [FILE]...
11144 -h, --help print this help, then exit
11145 -V, --version print version number, then exit
11146 -q, --quiet do not print progress messages
11147 -d, --debug don't remove temporary files
11148 --recheck update $as_me by reconfiguring in the same conditions
11149 --file=FILE[:TEMPLATE]
11150 instantiate the configuration file FILE
11152 Configuration files:
11155 Configuration commands:
11158 Report bugs to <bug-autoconf@gnu.org>."
11161 cat >>$CONFIG_STATUS <<_ACEOF
11164 configured by $0, generated by GNU Autoconf 2.59,
11165 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
11167 Copyright (C) 2003 Free Software Foundation, Inc.
11168 This config.status script is free software; the Free Software Foundation
11169 gives unlimited permission to copy, distribute and modify it."
11174 cat >>$CONFIG_STATUS <<\_ACEOF
11175 # If no file are specified by the user, then we need to provide default
11176 # value. By we need to know if files were specified by the user.
11182 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
11183 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
11191 *) # This is not an option, so the user has probably given explicit
11194 ac_need_defaults
=false
;;
11198 # Handling of the options.
11200 cat >>$CONFIG_STATUS <<\_ACEOF
11201 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
11203 --version |
--vers* |
-V )
11204 echo "$ac_cs_version"; exit 0 ;;
11206 # Conflict between --help and --header
11207 { { echo "$as_me:$LINENO: error: ambiguous option: $1
11208 Try \`$0 --help' for more information." >&5
11209 echo "$as_me: error: ambiguous option: $1
11210 Try \`$0 --help' for more information." >&2;}
11211 { (exit 1); exit 1; }; };;
11212 --help |
--hel |
-h )
11213 echo "$ac_cs_usage"; exit 0 ;;
11214 --debug |
--d* |
-d )
11216 --file |
--fil |
--fi |
--f )
11218 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
11219 ac_need_defaults
=false
;;
11220 --header |
--heade |
--head |
--hea )
11222 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
11223 ac_need_defaults
=false
;;
11224 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
11225 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
11228 # This is an error.
11229 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
11230 Try \`$0 --help' for more information." >&5
11231 echo "$as_me: error: unrecognized option: $1
11232 Try \`$0 --help' for more information." >&2;}
11233 { (exit 1); exit 1; }; } ;;
11235 *) ac_config_targets
="$ac_config_targets $1" ;;
11241 ac_configure_extra_args
=
11243 if $ac_cs_silent; then
11245 ac_configure_extra_args
="$ac_configure_extra_args --silent"
11249 cat >>$CONFIG_STATUS <<_ACEOF
11250 if \$ac_cs_recheck; then
11251 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
11252 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11257 cat >>$CONFIG_STATUS <<_ACEOF
11259 # INIT-COMMANDS section.
11266 with_multisubdir="$with_multisubdir"
11267 with_multisrctop="$with_multisrctop"
11268 with_target_subdir="$with_target_subdir"
11269 ac_configure_args="${multilib_arg} ${ac_configure_args}"
11270 multi_basedir="$multi_basedir"
11271 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
11273 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
11276 # The HP-UX ksh and POSIX shell print the target directory to stdout
11277 # if CDPATH is set.
11278 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11280 sed_quote_subst='$sed_quote_subst'
11281 double_quote_subst='$double_quote_subst'
11282 delay_variable_subst='$delay_variable_subst'
11283 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
11284 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
11285 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
11286 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
11287 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
11288 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
11289 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
11290 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
11291 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
11292 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
11293 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
11294 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
11295 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
11296 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
11297 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
11298 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
11299 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
11300 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
11301 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
11302 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
11303 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
11304 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
11305 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
11306 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
11307 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
11308 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
11309 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
11310 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11311 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
11312 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
11313 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
11314 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
11315 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
11316 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
11317 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11318 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11319 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11320 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
11321 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
11322 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
11323 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
11324 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
11325 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
11326 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
11327 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
11328 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
11329 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
11330 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
11331 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
11332 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
11333 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
11334 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
11335 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
11336 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
11337 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
11338 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11339 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11340 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
11341 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
11342 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
11343 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
11344 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
11345 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11346 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11347 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11348 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11349 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11350 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11351 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
11352 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
11353 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
11354 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
11355 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
11356 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
11357 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
11358 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
11359 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
11360 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
11361 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
11362 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
11363 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
11364 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
11365 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
11366 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11367 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
11368 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
11369 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11370 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
11371 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
11372 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
11373 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
11374 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
11375 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
11376 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
11377 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
11378 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
11379 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
11380 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
11381 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11382 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11383 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11384 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
11385 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
11386 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
11387 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
11388 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
11389 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
11390 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
11391 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
11392 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
11393 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
11396 LTCFLAGS='$LTCFLAGS'
11397 compiler='$compiler_DEFAULT'
11399 # Quote evaled strings.
11410 deplibs_check_method \
11419 lt_cv_sys_global_symbol_pipe \
11420 lt_cv_sys_global_symbol_to_cdecl \
11421 lt_cv_sys_global_symbol_to_c_name_address \
11424 lt_prog_compiler_no_builtin_flag \
11425 lt_prog_compiler_wl \
11426 lt_prog_compiler_pic \
11427 lt_prog_compiler_static \
11428 lt_cv_prog_compiler_c_o \
11431 export_dynamic_flag_spec \
11432 whole_archive_flag_spec \
11433 compiler_needs_object \
11435 allow_undefined_flag \
11436 no_undefined_flag \
11437 hardcode_libdir_flag_spec \
11438 hardcode_libdir_flag_spec_ld \
11439 hardcode_libdir_separator \
11444 variables_saved_for_relink \
11446 library_names_spec \
11451 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
11452 *[\\\\\\\`\\"\\\$]*)
11453 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
11456 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
11461 # Double-quote double-evaled strings.
11462 for var in reload_cmds \
11463 old_postinstall_cmds \
11464 old_postuninstall_cmds \
11466 extract_expsyms_cmds \
11467 old_archive_from_new_cmds \
11468 old_archive_from_expsyms_cmds \
11470 archive_expsym_cmds \
11472 module_expsym_cmds \
11473 export_symbols_cmds \
11476 postuninstall_cmds \
11478 sys_lib_search_path_spec \
11479 sys_lib_dlsearch_path_spec; do
11480 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
11481 *[\\\\\\\`\\"\\\$]*)
11482 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
11485 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
11490 # Fix-up fallback echo if it was mangled by the above quoting rules.
11492 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
11496 ac_aux_dir='$ac_aux_dir'
11497 xsi_shell='$xsi_shell'
11498 lt_shell_append='$lt_shell_append'
11500 # See if we are running on zsh, and set the options which allow our
11501 # commands through without removal of \ escapes INIT.
11502 if test -n "\${ZSH_VERSION+set}" ; then
11503 setopt NO_GLOB_SUBST
11509 TIMESTAMP='$TIMESTAMP'
11520 cat >>$CONFIG_STATUS <<\_ACEOF
11521 for ac_config_target
in $ac_config_targets
11523 case "$ac_config_target" in
11524 # Handling of arguments.
11525 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
11526 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
11527 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
11528 "libtool" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
11529 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
11530 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
11531 { (exit 1); exit 1; }; };;
11535 # If the user did not use the arguments to specify the items to instantiate,
11536 # then the envvar interface is used. Set only those that are not.
11537 # We use the long form for the default assignment because of an extremely
11538 # bizarre bug on SunOS 4.1.3.
11539 if $ac_need_defaults; then
11540 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
11541 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
11544 # Have a temporary directory for convenience. Make it in the build tree
11545 # simply because there is no reason to put it here, and in addition,
11546 # creating and moving files from /tmp can sometimes cause problems.
11547 # Create a temporary directory, and hook for its removal unless debugging.
11550 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
11551 trap '{ (exit 1); exit 1; }' 1 2 13 15
11554 # Create a (secure) tmp directory for tmp files.
11557 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
11558 test -n "$tmp" && test -d "$tmp"
11561 tmp
=.
/confstat$$
-$RANDOM
11562 (umask 077 && mkdir
$tmp)
11565 echo "$me: cannot create a temporary directory in ." >&2
11566 { (exit 1); exit 1; }
11571 cat >>$CONFIG_STATUS <<_ACEOF
11574 # CONFIG_FILES section.
11577 # No need to generate the scripts if there are no CONFIG_FILES.
11578 # This happens for instance when ./config.status config.h
11579 if test -n "\$CONFIG_FILES"; then
11580 # Protect against being on the right side of a sed subst in config.status.
11581 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
11582 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
11583 s,@SHELL@,$SHELL,;t t
11584 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
11585 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
11586 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
11587 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
11588 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
11589 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
11590 s,@exec_prefix@,$exec_prefix,;t t
11591 s,@prefix@,$prefix,;t t
11592 s,@program_transform_name@,$program_transform_name,;t t
11593 s,@bindir@,$bindir,;t t
11594 s,@sbindir@,$sbindir,;t t
11595 s,@libexecdir@,$libexecdir,;t t
11596 s,@datadir@,$datadir,;t t
11597 s,@sysconfdir@,$sysconfdir,;t t
11598 s,@sharedstatedir@,$sharedstatedir,;t t
11599 s,@localstatedir@,$localstatedir,;t t
11600 s,@libdir@,$libdir,;t t
11601 s,@includedir@,$includedir,;t t
11602 s,@oldincludedir@,$oldincludedir,;t t
11603 s,@infodir@,$infodir,;t t
11604 s,@mandir@,$mandir,;t t
11605 s,@build_alias@,$build_alias,;t t
11606 s,@host_alias@,$host_alias,;t t
11607 s,@target_alias@,$target_alias,;t t
11608 s,@DEFS@,$DEFS,;t t
11609 s,@ECHO_C@,$ECHO_C,;t t
11610 s,@ECHO_N@,$ECHO_N,;t t
11611 s,@ECHO_T@,$ECHO_T,;t t
11612 s,@LIBS@,$LIBS,;t t
11613 s,@multi_basedir@,$multi_basedir,;t t
11614 s,@build@,$build,;t t
11615 s,@build_cpu@,$build_cpu,;t t
11616 s,@build_vendor@,$build_vendor,;t t
11617 s,@build_os@,$build_os,;t t
11618 s,@host@,$host,;t t
11619 s,@host_cpu@,$host_cpu,;t t
11620 s,@host_vendor@,$host_vendor,;t t
11621 s,@host_os@,$host_os,;t t
11622 s,@target@,$target,;t t
11623 s,@target_cpu@,$target_cpu,;t t
11624 s,@target_vendor@,$target_vendor,;t t
11625 s,@target_os@,$target_os,;t t
11626 s,@mkinstalldirs@,$mkinstalldirs,;t t
11627 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
11628 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
11629 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
11630 s,@CYGPATH_W@,$CYGPATH_W,;t t
11631 s,@PACKAGE@,$PACKAGE,;t t
11632 s,@VERSION@,$VERSION,;t t
11633 s,@ACLOCAL@,$ACLOCAL,;t t
11634 s,@AUTOCONF@,$AUTOCONF,;t t
11635 s,@AUTOMAKE@,$AUTOMAKE,;t t
11636 s,@AUTOHEADER@,$AUTOHEADER,;t t
11637 s,@MAKEINFO@,$MAKEINFO,;t t
11638 s,@install_sh@,$install_sh,;t t
11639 s,@STRIP@,$STRIP,;t t
11640 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
11641 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
11642 s,@mkdir_p@,$mkdir_p,;t t
11644 s,@SET_MAKE@,$SET_MAKE,;t t
11645 s,@am__leading_dot@,$am__leading_dot,;t t
11646 s,@AMTAR@,$AMTAR,;t t
11647 s,@am__tar@,$am__tar,;t t
11648 s,@am__untar@,$am__untar,;t t
11649 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
11650 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
11651 s,@MAINT@,$MAINT,;t t
11652 s,@COMPPATH@,$COMPPATH,;t t
11654 s,@ac_ct_CC@,$ac_ct_CC,;t t
11655 s,@EXEEXT@,$EXEEXT,;t t
11656 s,@OBJEXT@,$OBJEXT,;t t
11657 s,@DEPDIR@,$DEPDIR,;t t
11658 s,@am__include@,$am__include,;t t
11659 s,@am__quote@,$am__quote,;t t
11660 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
11661 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
11662 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
11663 s,@CCDEPMODE@,$CCDEPMODE,;t t
11664 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
11665 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
11666 s,@CFLAGS@,$CFLAGS,;t t
11667 s,@LIBTOOL@,$LIBTOOL,;t t
11669 s,@EGREP@,$EGREP,;t t
11670 s,@FGREP@,$FGREP,;t t
11671 s,@GREP@,$GREP,;t t
11673 s,@DUMPBIN@,$DUMPBIN,;t t
11674 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
11676 s,@LN_S@,$LN_S,;t t
11678 s,@ac_ct_AR@,$ac_ct_AR,;t t
11679 s,@RANLIB@,$RANLIB,;t t
11680 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
11681 s,@lt_ECHO@,$lt_ECHO,;t t
11683 s,@CPPFLAGS@,$CPPFLAGS,;t t
11684 s,@target_all@,$target_all,;t t
11685 s,@toolexecdir@,$toolexecdir,;t t
11686 s,@toolexeclibdir@,$toolexeclibdir,;t t
11687 s,@TARGET_LIBRARY_TRUE@,$TARGET_LIBRARY_TRUE,;t t
11688 s,@TARGET_LIBRARY_FALSE@,$TARGET_LIBRARY_FALSE,;t t
11689 s,@LIBOBJS@,$LIBOBJS,;t t
11690 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
11695 cat >>$CONFIG_STATUS <<\_ACEOF
11696 # Split the substitutions into bite-sized pieces for seds with
11697 # small command number limits, like on Digital OSF/1 and HP-UX.
11698 ac_max_sed_lines
=48
11699 ac_sed_frag
=1 # Number of current file.
11700 ac_beg
=1 # First line for current file.
11701 ac_end
=$ac_max_sed_lines # Line after last line for current file.
11704 while $ac_more_lines; do
11705 if test $ac_beg -gt 1; then
11706 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
11708 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
11710 if test ! -s $tmp/subs.frag
; then
11711 ac_more_lines
=false
11713 # The purpose of the label and of the branching condition is to
11714 # speed up the sed processing (if there are no `@' at all, there
11715 # is no need to browse any of the substitutions).
11716 # These are the two extra sed commands mentioned above.
11718 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
11719 if test -z "$ac_sed_cmds"; then
11720 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
11722 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
11724 ac_sed_frag
=`expr $ac_sed_frag + 1`
11726 ac_end
=`expr $ac_end + $ac_max_sed_lines`
11729 if test -z "$ac_sed_cmds"; then
11732 fi # test -n "$CONFIG_FILES"
11735 cat >>$CONFIG_STATUS <<\_ACEOF
11736 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
11737 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
11739 - |
*:- |
*:-:* ) # input from stdin
11741 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
11742 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
11743 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
11744 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
11745 * ) ac_file_in
=$ac_file.
in ;;
11748 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
11749 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
11750 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11751 X"$ac_file" : 'X\(//\)[^/]' \| \
11752 X"$ac_file" : 'X\(//\)$' \| \
11753 X"$ac_file" : 'X\(/\)' \| \
11754 . : '\(.\)' 2>/dev/null ||
11756 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11757 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11758 /^X\(\/\/\)$/{ s//\1/; q; }
11759 /^X\(\/\).*/{ s//\1/; q; }
11761 { if $as_mkdir_p; then
11766 while test ! -d "$as_dir"; do
11767 as_dirs
="$as_dir $as_dirs"
11768 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
11769 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11770 X"$as_dir" : 'X\(//\)[^/]' \| \
11771 X"$as_dir" : 'X\(//\)$' \| \
11772 X"$as_dir" : 'X\(/\)' \| \
11773 . : '\(.\)' 2>/dev/null ||
11775 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11776 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11777 /^X\(\/\/\)$/{ s//\1/; q; }
11778 /^X\(\/\).*/{ s//\1/; q; }
11781 test ! -n "$as_dirs" || mkdir
$as_dirs
11782 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
11783 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
11784 { (exit 1); exit 1; }; }; }
11788 if test "$ac_dir" != .
; then
11789 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
11790 # A "../" for each directory in $ac_dir_suffix.
11791 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
11793 ac_dir_suffix
= ac_top_builddir
=
11797 .
) # No --srcdir option. We are building in place.
11799 if test -z "$ac_top_builddir"; then
11802 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
11804 [\\/]* | ?
:[\\/]* ) # Absolute path.
11805 ac_srcdir
=$srcdir$ac_dir_suffix;
11806 ac_top_srcdir
=$srcdir ;;
11807 *) # Relative path.
11808 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
11809 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
11812 # Do not use `cd foo && pwd` to compute absolute paths, because
11813 # the directories may not exist.
11815 .
) ac_abs_builddir
="$ac_dir";;
11818 .
) ac_abs_builddir
=`pwd`;;
11819 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
11820 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
11823 case $ac_abs_builddir in
11824 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
11826 case ${ac_top_builddir}.
in
11827 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
11828 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
11829 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
11832 case $ac_abs_builddir in
11833 .
) ac_abs_srcdir
=$ac_srcdir;;
11836 .
) ac_abs_srcdir
=$ac_abs_builddir;;
11837 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
11838 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
11841 case $ac_abs_builddir in
11842 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
11844 case $ac_top_srcdir in
11845 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
11846 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
11847 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
11853 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
11854 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
11857 if test x
"$ac_file" != x-
; then
11858 { echo "$as_me:$LINENO: creating $ac_file" >&5
11859 echo "$as_me: creating $ac_file" >&6;}
11862 # Let's still pretend it is `configure' which instantiates (i.e., don't
11863 # use $as_me), people would be surprised to read:
11864 # /* config.h. Generated by config.status. */
11865 if test x
"$ac_file" = x-
; then
11868 configure_input
="$ac_file. "
11870 configure_input
=$configure_input"Generated from `echo $ac_file_in |
11871 sed 's,.*/,,'` by configure."
11873 # First look for the input files in the build tree, otherwise in the
11875 ac_file_inputs
=`IFS=:
11876 for f in $ac_file_in; do
11878 -) echo $tmp/stdin ;;
11880 # Absolute (can't be DOS-style, as IFS=:)
11881 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11882 echo "$as_me: error: cannot find input file: $f" >&2;}
11883 { (exit 1); exit 1; }; }
11886 if test -f "$f"; then
11889 elif test -f "$srcdir/$f"; then
11894 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11895 echo "$as_me: error: cannot find input file: $f" >&2;}
11896 { (exit 1); exit 1; }; }
11899 done` ||
{ (exit 1); exit 1; }
11901 cat >>$CONFIG_STATUS <<_ACEOF
11905 cat >>$CONFIG_STATUS <<\_ACEOF
11907 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
11908 s
,@configure_input@
,$configure_input,;t t
11909 s
,@srcdir@
,$ac_srcdir,;t t
11910 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
11911 s
,@top_srcdir@
,$ac_top_srcdir,;t t
11912 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
11913 s
,@builddir@
,$ac_builddir,;t t
11914 s
,@abs_builddir@
,$ac_abs_builddir,;t t
11915 s
,@top_builddir@
,$ac_top_builddir,;t t
11916 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
11917 s
,@INSTALL@
,$ac_INSTALL,;t t
11918 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
11920 if test x"$ac_file" != x-; then
11921 mv $tmp/out $ac_file
11929 cat >>$CONFIG_STATUS <<\_ACEOF
11932 # CONFIG_COMMANDS section.
11934 for ac_file in : $CONFIG_COMMANDS; do test "x
$ac_file" = x: && continue
11935 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
11936 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
11937 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
11938 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11939 X"$ac_dest" : 'X\(//\)[^/]' \| \
11940 X"$ac_dest" : 'X\(//\)$' \| \
11941 X"$ac_dest" : 'X\(/\)' \| \
11942 . : '\(.\)' 2>/dev/null ||
11944 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11945 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11946 /^X\(\/\/\)$/{ s//\1/; q; }
11947 /^X\(\/\).*/{ s//\1/; q; }
11949 { if $as_mkdir_p; then
11954 while test ! -d "$as_dir"; do
11955 as_dirs="$as_dir $as_dirs"
11956 as_dir=`(dirname "$as_dir") 2>/dev/null ||
11957 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11958 X"$as_dir" : 'X\(//\)[^/]' \| \
11959 X"$as_dir" : 'X\(//\)$' \| \
11960 X"$as_dir" : 'X\(/\)' \| \
11961 . : '\(.\)' 2>/dev/null ||
11963 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11964 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11965 /^X\(\/\/\)$/{ s//\1/; q; }
11966 /^X\(\/\).*/{ s//\1/; q; }
11969 test ! -n "$as_dirs" || mkdir $as_dirs
11970 fi || { { echo "$as_me:$LINENO: error
: cannot create directory
\"$ac_dir\"" >&5
11971 echo "$as_me: error
: cannot create directory
\"$ac_dir\"" >&2;}
11972 { (exit 1); exit 1; }; }; }
11976 if test "$ac_dir" != .; then
11977 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
11978 # A "..
/" for each directory in $ac_dir_suffix.
11979 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
11981 ac_dir_suffix= ac_top_builddir=
11985 .) # No --srcdir option. We are building in place.
11987 if test -z "$ac_top_builddir"; then
11990 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
11992 [\\/]* | ?:[\\/]* ) # Absolute path.
11993 ac_srcdir=$srcdir$ac_dir_suffix;
11994 ac_top_srcdir=$srcdir ;;
11995 *) # Relative path.
11996 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
11997 ac_top_srcdir=$ac_top_builddir$srcdir ;;
12000 # Do not use `cd foo && pwd` to compute absolute paths, because
12001 # the directories may not exist.
12003 .) ac_abs_builddir="$ac_dir";;
12006 .) ac_abs_builddir=`pwd`;;
12007 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
12008 *) ac_abs_builddir=`pwd`/"$ac_dir";;
12011 case $ac_abs_builddir in
12012 .) ac_abs_top_builddir=${ac_top_builddir}.;;
12014 case ${ac_top_builddir}. in
12015 .) ac_abs_top_builddir=$ac_abs_builddir;;
12016 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
12017 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
12020 case $ac_abs_builddir in
12021 .) ac_abs_srcdir=$ac_srcdir;;
12024 .) ac_abs_srcdir=$ac_abs_builddir;;
12025 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
12026 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
12029 case $ac_abs_builddir in
12030 .) ac_abs_top_srcdir=$ac_top_srcdir;;
12032 case $ac_top_srcdir in
12033 .) ac_abs_top_srcdir=$ac_abs_builddir;;
12034 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
12035 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
12040 { echo "$as_me:$LINENO: executing
$ac_dest commands
" >&5
12041 echo "$as_me: executing
$ac_dest commands
" >&6;}
12044 # Only add multilib support code if we just rebuilt the top-level
12046 case " $CONFIG_FILES " in
12048 ac_file=Makefile . ${multi_basedir}/config-ml.in
12051 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
12052 # Strip MF so we end up with the name of the file.
12053 mf=`echo "$mf" | sed -e 's/:.*$//'`
12054 # Check whether this is an Automake generated Makefile or not.
12055 # We used to match only the files named `Makefile.in', but
12056 # some people rename them; so instead we look at the file content.
12057 # Grep'ing the first line is not enough: some people post-process
12058 # each Makefile.in and add a new line on top of each file to say so.
12059 # So let's grep whole file.
12060 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
12061 dirpart=`(dirname "$mf") 2>/dev/null ||
12062 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12063 X"$mf" : 'X\(//\)[^/]' \| \
12064 X"$mf" : 'X\(//\)$' \| \
12065 X"$mf" : 'X\(/\)' \| \
12066 . : '\(.\)' 2>/dev/null ||
12068 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12069 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12070 /^X\(\/\/\)$/{ s//\1/; q; }
12071 /^X\(\/\).*/{ s//\1/; q; }
12076 # Extract the definition of DEPDIR, am__include, and am__quote
12077 # from the Makefile without running `make'.
12078 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
12079 test -z "$DEPDIR" && continue
12080 am__include=`sed -n 's/^am__include = //p' < "$mf"`
12081 test -z "am__include
" && continue
12082 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
12083 # When using ansi2knr, U may be empty or an underscore; expand it
12084 U=`sed -n 's/^U = //p' < "$mf"`
12085 # Find all dependency output files, they are included files with
12086 # $(DEPDIR) in their names. We invoke sed twice because it is the
12087 # simplest approach to changing $(DEPDIR) to its actual value in the
12089 for file in `sed -n "
12090 s
/^
$am__include $am__quote\
(.
*(DEPDIR
).
*\
)$am__quote"'$/\1/p' <"$mf" | \
12091 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
12092 # Make sure the directory exists.
12093 test -f "$dirpart/$file" && continue
12094 fdir=`(dirname "$file") 2>/dev/null ||
12095 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12096 X"$file" : 'X\(//\)[^/]' \| \
12097 X"$file" : 'X\(//\)$' \| \
12098 X"$file" : 'X\(/\)' \| \
12099 . : '\(.\)' 2>/dev/null ||
12101 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12102 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12103 /^X\(\/\/\)$/{ s//\1/; q; }
12104 /^X\(\/\).*/{ s//\1/; q; }
12106 { if $as_mkdir_p; then
12107 mkdir -p $dirpart/$fdir
12109 as_dir=$dirpart/$fdir
12111 while test ! -d "$as_dir"; do
12112 as_dirs="$as_dir $as_dirs"
12113 as_dir=`(dirname "$as_dir") 2>/dev/null ||
12114 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12115 X"$as_dir" : 'X\(//\)[^/]' \| \
12116 X"$as_dir" : 'X\(//\)$' \| \
12117 X"$as_dir" : 'X\(/\)' \| \
12118 . : '\(.\)' 2>/dev/null ||
12120 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12121 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12122 /^X\(\/\/\)$/{ s//\1/; q; }
12123 /^X\(\/\).*/{ s//\1/; q; }
12126 test ! -n "$as_dirs" || mkdir $as_dirs
12127 fi || { { echo "$as_me:$LINENO: error
: cannot create directory
$dirpart/$fdir" >&5
12128 echo "$as_me: error
: cannot create directory
$dirpart/$fdir" >&2;}
12129 { (exit 1); exit 1; }; }; }
12131 # echo "creating
$dirpart/$file"
12132 echo '# dummy' > "$dirpart/$file"
12138 # See if we are running on zsh, and set the options which allow our
12139 # commands through without removal of \ escapes.
12140 if test -n "${ZSH_VERSION+set}" ; then
12141 setopt NO_GLOB_SUBST
12144 cfgfile="${ofile}T
"
12145 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
12148 cat <<_LT_EOF >> "$cfgfile"
12151 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
12152 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
12153 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12154 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
12156 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
12157 # 2006, 2007 Free Software Foundation, Inc.
12159 # This file is part of GNU Libtool:
12160 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
12162 # This program is free software; you can redistribute it and/or modify
12163 # it under the terms of the GNU General Public License as published by
12164 # the Free Software Foundation; either version 2 of the License, or
12165 # (at your option) any later version.
12167 # This program is distributed in the hope that it will be useful, but
12168 # WITHOUT ANY WARRANTY; without even the implied warranty of
12169 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12170 # General Public License for more details.
12172 # You should have received a copy of the GNU General Public License
12173 # along with this program; if not, a copy can be downloaded from
12174 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
12175 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
12176 # MA 02110-1301, USA.
12178 # As a special exception to the GNU General Public License, if you
12179 # distribute this file as part of a program that contains a
12180 # configuration script generated by Autoconf, you may include it under
12181 # the same distribution terms that you use for the rest of that program.
12184 # The names of the tagged configurations supported by this script.
12187 # ### BEGIN LIBTOOL CONFIG
12189 # Which release of libtool.m4 was used?
12190 macro_version=$macro_version
12191 macro_revision=$macro_revision
12193 # Whether or not to build shared libraries.
12194 build_libtool_libs=$enable_shared
12196 # Whether or not to build static libraries.
12197 build_old_libs=$enable_static
12199 # What type of objects to build.
12202 # Whether or not to optimize for fast installation.
12203 fast_install=$enable_fast_install
12206 host_alias=$host_alias
12210 # The build system.
12211 build_alias=$build_alias
12215 # A sed program that does not truncate output.
12218 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
12219 Xsed="\
$SED -e 1s
/^X
//"
12221 # A grep program that handles long lines.
12227 # A literal string matcher.
12230 # A BSD- or MS-compatible name lister.
12233 # Whether we need soft or hard links.
12236 # What is the maximum length of a command?
12237 max_cmd_len=$max_cmd_len
12239 # Object file suffix (normally "o
").
12242 # Executable file suffix (normally "").
12245 # whether the shell understands "unset".
12248 # turn spaces into newlines.
12251 # turn newlines into spaces.
12254 # How to create reloadable object files.
12255 reload_flag=$lt_reload_flag
12256 reload_cmds=$lt_reload_cmds
12258 # Method to check whether dependent libraries are shared objects.
12259 deplibs_check_method=$lt_deplibs_check_method
12261 # Command to use when deplibs_check_method == "file_magic
".
12262 file_magic_cmd=$lt_file_magic_cmd
12266 AR_FLAGS=$lt_AR_FLAGS
12268 # A symbol stripping program.
12271 # Commands used to install an old-style archive.
12273 old_postinstall_cmds=$lt_old_postinstall_cmds
12274 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12279 # LTCC compiler flags.
12280 LTCFLAGS=$lt_CFLAGS
12282 # Take the output of nm and produce a listing of raw symbols and C names.
12283 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12285 # Transform the output of nm in a proper C declaration.
12286 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12288 # Transform the output of nm in a C name address pair.
12289 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12291 # The name of the directory that contains temporary libtool files.
12294 # Shell to use when invoking shell scripts.
12297 # An echo program that does not interpret backslashes.
12300 # Used to examine libraries when file_magic_cmd begins with "file".
12301 MAGIC_CMD=$MAGIC_CMD
12303 # Must we lock files when doing compilation?
12304 need_locks=$lt_need_locks
12306 # Old archive suffix (normally "a
").
12309 # Shared library suffix (normally ".so
").
12310 shrext_cmds=$lt_shrext_cmds
12312 # The commands to extract the exported symbol list from a shared archive.
12313 extract_expsyms_cmds=$lt_extract_expsyms_cmds
12315 # Variables whose values should be saved in libtool wrapper scripts and
12316 # restored at link time.
12317 variables_saved_for_relink=$lt_variables_saved_for_relink
12319 # Do we need the "lib
" prefix for modules?
12320 need_lib_prefix=$need_lib_prefix
12322 # Do we need a version for libraries?
12323 need_version=$need_version
12325 # Library versioning type.
12326 version_type=$version_type
12328 # Shared library runtime path variable.
12329 runpath_var=$runpath_var
12331 # Shared library path variable.
12332 shlibpath_var=$shlibpath_var
12334 # Is shlibpath searched before the hard-coded library search path?
12335 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12337 # Format of library name prefix.
12338 libname_spec=$lt_libname_spec
12340 # List of archive names. First name is the real one, the rest are links.
12341 # The last name is the one that the linker finds with -lNAME
12342 library_names_spec=$lt_library_names_spec
12344 # The coded name of the library, if different from the real name.
12345 soname_spec=$lt_soname_spec
12347 # Command to use after installation of a shared archive.
12348 postinstall_cmds=$lt_postinstall_cmds
12350 # Command to use after uninstallation of a shared archive.
12351 postuninstall_cmds=$lt_postuninstall_cmds
12353 # Commands used to finish a libtool library installation in a directory.
12354 finish_cmds=$lt_finish_cmds
12356 # As "finish_cmds
", except a single script fragment to be evaled but
12358 finish_eval=$lt_finish_eval
12360 # Whether we should hardcode library paths into libraries.
12361 hardcode_into_libs=$hardcode_into_libs
12363 # Compile-time system search path for libraries.
12364 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12366 # Run-time system search path for libraries.
12367 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12369 # Whether dlopen is supported.
12370 dlopen_support=$enable_dlopen
12372 # Whether dlopen of programs is supported.
12373 dlopen_self=$enable_dlopen_self
12375 # Whether dlopen of statically linked programs is supported.
12376 dlopen_self_static=$enable_dlopen_self_static
12378 # Commands to strip libraries.
12379 old_striplib=$lt_old_striplib
12380 striplib=$lt_striplib
12383 # The linker used to build libraries.
12386 # Commands used to build an old-style archive.
12387 old_archive_cmds=$lt_old_archive_cmds
12389 # A language specific compiler.
12392 # Is the compiler the GNU compiler?
12395 # Compiler flag to turn off builtin functions.
12396 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
12398 # How to pass a linker flag through the compiler.
12399 wl=$lt_lt_prog_compiler_wl
12401 # Additional compiler flags for building library objects.
12402 pic_flag=$lt_lt_prog_compiler_pic
12404 # Compiler flag to prevent dynamic linking.
12405 link_static_flag=$lt_lt_prog_compiler_static
12407 # Does compiler simultaneously support -c and -o options?
12408 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
12410 # Whether or not to add -lc for building shared libraries.
12411 build_libtool_need_lc=$archive_cmds_need_lc
12413 # Whether or not to disallow shared libs when runtime libs are static.
12414 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
12416 # Compiler flag to allow reflexive dlopens.
12417 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
12419 # Compiler flag to generate shared objects directly from archives.
12420 whole_archive_flag_spec=$lt_whole_archive_flag_spec
12422 # Whether the compiler copes with passing no objects directly.
12423 compiler_needs_object=$lt_compiler_needs_object
12425 # Create an old-style archive from a shared archive.
12426 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
12428 # Create a temporary old-style archive to link instead of a shared archive.
12429 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
12431 # Commands used to build a shared archive.
12432 archive_cmds=$lt_archive_cmds
12433 archive_expsym_cmds=$lt_archive_expsym_cmds
12435 # Commands used to build a loadable module if different from building
12436 # a shared archive.
12437 module_cmds=$lt_module_cmds
12438 module_expsym_cmds=$lt_module_expsym_cmds
12440 # Whether we are building with GNU ld or not.
12441 with_gnu_ld=$lt_with_gnu_ld
12443 # Flag that allows shared libraries with undefined symbols to be built.
12444 allow_undefined_flag=$lt_allow_undefined_flag
12446 # Flag that enforces no undefined symbols.
12447 no_undefined_flag=$lt_no_undefined_flag
12449 # Flag to hardcode \$libdir into a binary during linking.
12450 # This must work even if \$libdir does not exist
12451 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
12453 # If ld is used when linking, flag to hardcode \$libdir into a binary
12454 # during linking. This must work even if \$libdir does not exist.
12455 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
12457 # Whether we need a single "-rpath" flag with a separated argument.
12458 hardcode_libdir_separator=$lt_hardcode_libdir_separator
12460 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
12461 # DIR into the resulting binary.
12462 hardcode_direct=$hardcode_direct
12464 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
12465 # DIR into the resulting binary and the resulting library dependency is
12466 # "absolute
",i.e impossible to change by setting \${shlibpath_var} if the
12467 # library is relocated.
12468 hardcode_direct_absolute=$hardcode_direct_absolute
12470 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
12471 # into the resulting binary.
12472 hardcode_minus_L=$hardcode_minus_L
12474 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
12475 # into the resulting binary.
12476 hardcode_shlibpath_var=$hardcode_shlibpath_var
12478 # Set to "yes" if building a shared library automatically hardcodes DIR
12479 # into the library and all subsequent libraries and executables linked
12481 hardcode_automatic=$hardcode_automatic
12483 # Set to yes if linker adds runtime paths of dependent libraries
12484 # to runtime path list.
12485 inherit_rpath=$inherit_rpath
12487 # Whether libtool must link a program against all its dependency libraries.
12488 link_all_deplibs=$link_all_deplibs
12490 # Fix the shell variable \$srcfile for the compiler.
12491 fix_srcfile_path=$lt_fix_srcfile_path
12493 # Set to "yes" if exported symbols are required.
12494 always_export_symbols=$always_export_symbols
12496 # The commands to list exported symbols.
12497 export_symbols_cmds=$lt_export_symbols_cmds
12499 # Symbols that should not be listed in the preloaded symbols.
12500 exclude_expsyms=$lt_exclude_expsyms
12502 # Symbols that must always be exported.
12503 include_expsyms=$lt_include_expsyms
12505 # Commands necessary for linking programs (against libraries) with templates.
12506 prelink_cmds=$lt_prelink_cmds
12508 # Specify filename containing input files.
12509 file_list_spec=$lt_file_list_spec
12511 # How to hardcode a shared library path into an executable.
12512 hardcode_action=$hardcode_action
12514 # ### END LIBTOOL CONFIG
12520 cat <<\_LT_EOF >> "$cfgfile"
12521 # AIX sometimes has problems with the GCC collect2 program. For some
12522 # reason, if we set the COLLECT_NAMES environment variable, the problems
12523 # vanish in a puff of smoke.
12524 if test "X
${COLLECT_NAMES+set}" != Xset; then
12526 export COLLECT_NAMES
12533 ltmain="$ac_aux_dir/ltmain.sh
"
12536 # We use sed instead of cat because bash on DJGPP gets confused if
12537 # if finds mixed CR/LF and LF-only lines. Since sed operates in
12538 # text mode, it properly converts lines to CR/LF. This bash problem
12539 # is reportedly fixed, but why not run on old versions too?
12540 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
12541 || (rm -f "$cfgfile"; exit 1)
12545 cat << \_LT_EOF >> "$cfgfile"
12546 # func_dirname file append nondir_replacement
12547 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
12548 # otherwise set result to NONDIR_REPLACEMENT.
12552 */*) func_dirname_result="${1%/*}${2}" ;;
12553 * ) func_dirname_result="${3}" ;;
12557 # func_basename file
12560 func_basename_result="${1##*/}"
12563 # func_stripname prefix suffix name
12564 # strip PREFIX and SUFFIX off of NAME.
12565 # PREFIX and SUFFIX must not contain globbing or regex special
12566 # characters, hashes, percent signs, but SUFFIX may contain a leading
12567 # dot (in which case that matches only a dot).
12570 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
12571 # positional parameters, so assign one to ordinary parameter first.
12572 func_stripname_result=${3}
12573 func_stripname_result=${func_stripname_result#"${1}"}
12574 func_stripname_result=${func_stripname_result%"${2}"}
12580 func_opt_split_opt=${1%%=*}
12581 func_opt_split_arg=${1#*=}
12588 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
12589 *) func_lo2o_result=${1} ;;
12594 *) # Bourne compatible functions.
12595 cat << \_LT_EOF >> "$cfgfile"
12596 # func_dirname file append nondir_replacement
12597 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
12598 # otherwise set result to NONDIR_REPLACEMENT.
12601 # Extract subdirectory from the argument.
12602 func_dirname_result=`$ECHO "X
${1}" | $Xsed -e "$dirname"`
12603 if test "X
$func_dirname_result" = "X
${1}"; then
12604 func_dirname_result="${3}"
12606 func_dirname_result="$func_dirname_result${2}"
12610 # func_basename file
12613 func_basename_result=`$ECHO "X
${1}" | $Xsed -e "$basename"`
12616 # func_stripname prefix suffix name
12617 # strip PREFIX and SUFFIX off of NAME.
12618 # PREFIX and SUFFIX must not contain globbing or regex special
12619 # characters, hashes, percent signs, but SUFFIX may contain a leading
12620 # dot (in which case that matches only a dot).
12621 # func_strip_suffix prefix name
12625 .*) func_stripname_result=`$ECHO "X
${3}" \
12626 | $Xsed -e "s
%^
${1}%%" -e "s
%\\\\${2}\$
%%"`;;
12627 *) func_stripname_result=`$ECHO "X
${3}" \
12628 | $Xsed -e "s
%^
${1}%%" -e "s
%${2}\$
%%"`;;
12633 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
12634 my_sed_long_arg='1s/^-[^=]*=//'
12639 func_opt_split_opt=`$ECHO "X
${1}" | $Xsed -e "$my_sed_long_opt"`
12640 func_opt_split_arg=`$ECHO "X
${1}" | $Xsed -e "$my_sed_long_arg"`
12646 func_lo2o_result=`$ECHO "X
${1}" | $Xsed -e "$lo2o"`
12651 case $lt_shell_append in
12653 cat << \_LT_EOF >> "$cfgfile"
12655 # func_append var value
12656 # Append VALUE to the end of shell variable VAR.
12664 cat << \_LT_EOF >> "$cfgfile"
12666 # func_append var value
12667 # Append VALUE to the end of shell variable VAR.
12677 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
12678 || (rm -f "$cfgfile"; exit 1)
12680 mv -f "$cfgfile" "$ofile" ||
12681 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
12689 cat >>$CONFIG_STATUS <<\_ACEOF
12691 { (exit 0); exit 0; }
12693 chmod +x $CONFIG_STATUS
12694 ac_clean_files=$ac_clean_files_save
12697 # configure is writing to config.log, and then calls config.status.
12698 # config.status does its own redirection, appending to config.log.
12699 # Unfortunately, on DOS this fails, as config.log is still kept open
12700 # by configure, so config.status won't be able to write to it; its
12701 # output is simply discarded. So we exec the FD to /dev/null,
12702 # effectively closing config.log, so it can be properly (re)opened and
12703 # appended to by config.status. When coming back to configure, we
12704 # need to make the FD available again.
12705 if test "$no_create" != yes; then
12707 ac_config_status_args=
12708 test "$silent" = yes &&
12709 ac_config_status_args="$ac_config_status_args --quiet"
12711 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
12713 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
12714 # would make configure fail if this is the last instruction.
12715 $ac_cs_success || { (exit 1); exit 1; }