2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for package-unused version-unused.
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.
417 PACKAGE_NAME
='package-unused'
418 PACKAGE_TARNAME
='libobjc'
419 PACKAGE_VERSION
='version-unused'
420 PACKAGE_STRING
='package-unused version-unused'
423 ac_unique_file
="objc/objc.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 build build_cpu build_vendor build_os build_libsubdir build_subdir host_subdir target_subdir VERSION OBJC_BOEHM_GC OBJC_BOEHM_GC_INCLUDES multi_basedir host host_cpu host_vendor host_os target target_cpu target_vendor target_os target_noncanonical glibcpp_srcdir toolexecdir toolexeclibdir includedirname libext CC ac_ct_CC EXEEXT OBJEXT extra_ldflags_libobjc CFLAGS AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT DLLTOOL ac_ct_DLLTOOL OBJDUMP ac_ct_OBJDUMP LIBTOOL SED EGREP FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM LN_S STRIP ac_ct_STRIP lt_ECHO CPP CPPFLAGS SET_MAKE 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 package-unused version-unused 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 --build=BUILD configure
for building on BUILD
[guessed
]
973 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
974 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
978 if test -n "$ac_init_help"; then
979 case $ac_init_help in
980 short | recursive
) echo "Configuration of package-unused version-unused:";;
985 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
986 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
987 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed
in a compiler-specific directory
988 --enable-objc-gc enable the use of Boehm
's garbage collector with
989 the GNU Objective-C runtime.
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 --enable-shared[=PKGS]
994 build shared libraries [default=yes]
995 --enable-static[=PKGS]
996 build static libraries [default=yes]
997 --enable-fast-install[=PKGS]
998 optimize for fast installation [default=yes]
999 --disable-libtool-lock avoid locking (might break parallel builds)
1000 --enable-sjlj-exceptions
1001 force use of builtin_setjmp for exceptions
1004 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1005 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1006 --with-build-libsubdir=DIR Directory where to find libraries for build system
1007 --with-target-subdir=SUBDIR
1008 configuring in a subdirectory
1009 --with-cross-host=HOST configuring with a cross compiler
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
1121 package-unused configure version-unused
1122 generated by GNU Autoconf
2.59
1124 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1125 This configure
script is free software
; the Free Software Foundation
1126 gives unlimited permission to copy
, distribute and modify it.
1132 This file contains any messages produced by compilers while
1133 running configure, to aid debugging if configure makes a mistake.
1135 It was created by package-unused $as_me version-unused, which was
1136 generated by GNU Autoconf 2.59. Invocation command line was
1147 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1148 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1149 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1150 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1151 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1153 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1154 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1156 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1157 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1158 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1159 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1160 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1161 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1162 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1166 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1170 test -z "$as_dir" && as_dir
=.
1171 echo "PATH: $as_dir"
1186 # Keep a trace of the command line.
1187 # Strip out --no-create and --no-recursion so they do not pile up.
1188 # Strip out --silent because we don't want to record it for future runs.
1189 # Also quote any args containing shell meta-characters.
1190 # Make two passes to allow for proper duplicate-argument suppression.
1195 ac_must_keep_next
=false
1201 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1202 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1203 |
-silent |
--silent |
--silen |
--sile |
--sil)
1205 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1206 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1209 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1211 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1212 if test $ac_must_keep_next = true
; then
1213 ac_must_keep_next
=false
# Got value, back to normal.
1216 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1217 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1218 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1219 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1220 case "$ac_configure_args0 " in
1221 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1224 -* ) ac_must_keep_next
=true
;;
1227 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1228 # Get rid of the leading space.
1234 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1235 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1237 # When interrupted or exit'd, cleanup temporary files, and complete
1238 # config.log. We remove comments because anyway the quotes in there
1239 # would cause problems or look ugly.
1240 # WARNING: Be sure not to use single quotes in there, as some shells,
1241 # such as our DU 5.0 friend, will then `close' the trap.
1242 trap 'exit_status=$?
1243 # Save into config.log some information that might help in debugging.
1248 ## ---------------- ##
1249 ## Cache variables. ##
1250 ## ---------------- ##
1253 # The following way of writing the cache mishandles newlines in values,
1256 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1259 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1260 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1264 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1271 ## ----------------- ##
1272 ## Output variables. ##
1273 ## ----------------- ##
1276 for ac_var in $ac_subst_vars
1278 eval ac_val=$`echo $ac_var`
1279 echo "$ac_var='"'"'$ac_val'"'"'"
1283 if test -n "$ac_subst_files"; then
1290 for ac_var in $ac_subst_files
1292 eval ac_val=$`echo $ac_var`
1293 echo "$ac_var='"'"'$ac_val'"'"'"
1298 if test -s confdefs.h; then
1305 sed "/^$/d" confdefs.h | sort
1308 test "$ac_signal" != 0 &&
1309 echo "$as_me: caught signal $ac_signal"
1310 echo "$as_me: exit $exit_status"
1312 rm -f core *.core &&
1313 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1316 for ac_signal
in 1 2 13 15; do
1317 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1321 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1322 rm -rf conftest
* confdefs.h
1323 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1326 # Predefined preprocessor variables.
1328 cat >>confdefs.h
<<_ACEOF
1329 #define PACKAGE_NAME "$PACKAGE_NAME"
1333 cat >>confdefs.h
<<_ACEOF
1334 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1338 cat >>confdefs.h
<<_ACEOF
1339 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1343 cat >>confdefs.h
<<_ACEOF
1344 #define PACKAGE_STRING "$PACKAGE_STRING"
1348 cat >>confdefs.h
<<_ACEOF
1349 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1353 # Let the site file select an alternate cache file if it wants to.
1354 # Prefer explicitly selected file to automatically selected ones.
1355 if test -z "$CONFIG_SITE"; then
1356 if test "x$prefix" != xNONE
; then
1357 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1359 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1362 for ac_site_file
in $CONFIG_SITE; do
1363 if test -r "$ac_site_file"; then
1364 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1365 echo "$as_me: loading site script $ac_site_file" >&6;}
1366 sed 's/^/| /' "$ac_site_file" >&5
1371 if test -r "$cache_file"; then
1372 # Some versions of bash will fail to source /dev/null (special
1373 # files actually), so we avoid doing that.
1374 if test -f "$cache_file"; then
1375 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1376 echo "$as_me: loading cache $cache_file" >&6;}
1378 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1379 *) . .
/$cache_file;;
1383 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1384 echo "$as_me: creating cache $cache_file" >&6;}
1388 # Check that the precious variables saved in the cache have kept the same
1390 ac_cache_corrupted
=false
1391 for ac_var
in `(set) 2>&1 |
1392 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1393 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1394 eval ac_new_set
=\
$ac_env_${ac_var}_set
1395 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1396 eval ac_new_val
="\$ac_env_${ac_var}_value"
1397 case $ac_old_set,$ac_new_set in
1399 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1400 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1401 ac_cache_corrupted
=: ;;
1403 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1404 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1405 ac_cache_corrupted
=: ;;
1408 if test "x$ac_old_val" != "x$ac_new_val"; then
1409 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1410 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1411 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1412 echo "$as_me: former value: $ac_old_val" >&2;}
1413 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1414 echo "$as_me: current value: $ac_new_val" >&2;}
1415 ac_cache_corrupted
=:
1418 # Pass precious variables to config.status.
1419 if test "$ac_new_set" = set; then
1421 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1422 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1423 *) ac_arg
=$ac_var=$ac_new_val ;;
1425 case " $ac_configure_args " in
1426 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1427 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1431 if $ac_cache_corrupted; then
1432 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1433 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1434 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1435 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1436 { (exit 1); exit 1; }; }
1440 ac_cpp
='$CPP $CPPFLAGS'
1441 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1442 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1443 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1473 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1474 if test -f $ac_dir/install-sh
; then
1476 ac_install_sh
="$ac_aux_dir/install-sh -c"
1478 elif test -f $ac_dir/install.sh
; then
1480 ac_install_sh
="$ac_aux_dir/install.sh -c"
1482 elif test -f $ac_dir/shtool
; then
1484 ac_install_sh
="$ac_aux_dir/shtool install -c"
1488 if test -z "$ac_aux_dir"; then
1489 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1490 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1491 { (exit 1); exit 1; }; }
1493 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1494 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1495 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1497 # Make sure we can run config.sub.
1498 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1499 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1500 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1501 { (exit 1); exit 1; }; }
1503 echo "$as_me:$LINENO: checking build system type" >&5
1504 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1505 if test "${ac_cv_build+set}" = set; then
1506 echo $ECHO_N "(cached) $ECHO_C" >&6
1508 ac_cv_build_alias
=$build_alias
1509 test -z "$ac_cv_build_alias" &&
1510 ac_cv_build_alias
=`$ac_config_guess`
1511 test -z "$ac_cv_build_alias" &&
1512 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1513 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1514 { (exit 1); exit 1; }; }
1515 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1516 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1517 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1518 { (exit 1); exit 1; }; }
1521 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1522 echo "${ECHO_T}$ac_cv_build" >&6
1524 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1525 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1526 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1529 case ${build_alias} in
1530 "") build_noncanonical
=${build} ;;
1531 *) build_noncanonical
=${build_alias} ;;
1534 case ${host_alias} in
1535 "") host_noncanonical
=${build_noncanonical} ;;
1536 *) host_noncanonical
=${host_alias} ;;
1539 case ${target_alias} in
1540 "") target_noncanonical
=${host_noncanonical} ;;
1541 *) target_noncanonical
=${target_alias} ;;
1545 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
1546 # have matching libraries, they should use host libraries: Makefile.tpl
1547 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
1548 # However, they still use the build modules, because the corresponding
1549 # host modules (e.g. bison) are only built for the host when bootstrap
1551 # - build_subdir is where we find build modules, and never changes.
1552 # - build_libsubdir is where we find build libraries, and can be overridden.
1554 # Prefix 'build-' so this never conflicts with target_subdir.
1555 build_subdir
="build-${build_noncanonical}"
1557 # Check whether --with-build-libsubdir or --without-build-libsubdir was given.
1558 if test "${with_build_libsubdir+set}" = set; then
1559 withval
="$with_build_libsubdir"
1560 build_libsubdir
="$withval"
1562 build_libsubdir
="$build_subdir"
1564 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
1565 if ( test $srcdir = .
&& test -d gcc
) \
1566 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
1567 host_subdir
="host-${host_noncanonical}"
1572 target_subdir
=${target_noncanonical}
1575 # We need the following definitions because AC_PROG_LIBTOOL relies on them
1577 # Version is pulled out to make it a bit easier to change using sed.
1581 # This works around the fact that libtool configuration may change LD
1582 # for this particular configuration, but some shells, instead of
1583 # keeping the changes in LD private, export them just because LD is
1585 ORIGINAL_LD_FOR_MULTILIBS
=$LD
1591 # We use these options to decide which functions to include.
1593 # Check whether --with-target-subdir or --without-target-subdir was given.
1594 if test "${with_target_subdir+set}" = set; then
1595 withval
="$with_target_subdir"
1599 # Check whether --with-cross-host or --without-cross-host was given.
1600 if test "${with_cross_host+set}" = set; then
1601 withval
="$with_cross_host"
1605 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
1606 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
1607 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1608 if test "${enable_version_specific_runtime_libs+set}" = set; then
1609 enableval
="$enable_version_specific_runtime_libs"
1610 case "$enableval" in
1611 yes) version_specific_libs
=yes ;;
1612 no
) version_specific_libs
=no
;;
1613 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1614 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1615 { (exit 1); exit 1; }; };;
1618 version_specific_libs
=no
1620 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
1621 echo "${ECHO_T}$version_specific_libs" >&6
1623 # Check whether --enable-objc-gc or --disable-objc-gc was given.
1624 if test "${enable_objc_gc+set}" = set; then
1625 enableval
="$enable_objc_gc"
1626 case $enable_objc_gc in
1629 OBJC_BOEHM_GC_INCLUDES
=''
1632 OBJC_BOEHM_GC
=libobjc_gc.la
1633 OBJC_BOEHM_GC_INCLUDES
='-I$(top_srcdir)/../boehm-gc/include -I../boehm-gc/include'
1637 OBJC_BOEHM_GC
=''; OBJC_BOEHM_GC_INCLUDES
=''
1646 # Find the rest of the source tree framework.
1647 # Default to --enable-multilib
1648 # Check whether --enable-multilib or --disable-multilib was given.
1649 if test "${enable_multilib+set}" = set; then
1650 enableval
="$enable_multilib"
1651 case "$enableval" in
1652 yes) multilib
=yes ;;
1654 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1655 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1656 { (exit 1); exit 1; }; } ;;
1662 # We may get other options which we leave undocumented:
1663 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1664 # See config-ml.in if you want the gory details.
1666 if test "$srcdir" = "."; then
1667 if test "$with_target_subdir" != "."; then
1668 multi_basedir
="$srcdir/$with_multisrctop../.."
1670 multi_basedir
="$srcdir/$with_multisrctop.."
1673 multi_basedir
="$srcdir/.."
1677 # Even if the default multilib is not a cross compilation,
1678 # it may be that some of the other multilibs are.
1679 if test $cross_compiling = no
&& test $multilib = yes \
1680 && test "x${with_multisubdir}" != x
; then
1681 cross_compiling
=maybe
1684 ac_config_commands
="$ac_config_commands default-1"
1687 echo "$as_me:$LINENO: checking host system type" >&5
1688 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1689 if test "${ac_cv_host+set}" = set; then
1690 echo $ECHO_N "(cached) $ECHO_C" >&6
1692 ac_cv_host_alias
=$host_alias
1693 test -z "$ac_cv_host_alias" &&
1694 ac_cv_host_alias
=$ac_cv_build_alias
1695 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1696 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1697 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1698 { (exit 1); exit 1; }; }
1701 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1702 echo "${ECHO_T}$ac_cv_host" >&6
1704 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1705 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1706 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1709 echo "$as_me:$LINENO: checking target system type" >&5
1710 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1711 if test "${ac_cv_target+set}" = set; then
1712 echo $ECHO_N "(cached) $ECHO_C" >&6
1714 ac_cv_target_alias
=$target_alias
1715 test "x$ac_cv_target_alias" = "x" &&
1716 ac_cv_target_alias
=$ac_cv_host_alias
1717 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1718 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1719 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1720 { (exit 1); exit 1; }; }
1723 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1724 echo "${ECHO_T}$ac_cv_target" >&6
1725 target
=$ac_cv_target
1726 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1727 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1728 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1731 # The aliases save the names the user supplied, while $host etc.
1732 # will get canonicalized.
1733 test -n "$target_alias" &&
1734 test "$program_prefix$program_suffix$program_transform_name" = \
1736 program_prefix
=${target_alias}-
1740 # Export source directory.
1741 # These need to be absolute paths, yet at the same time need to
1742 # canonicalize only relative paths, because then amd will not unmount
1743 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
1745 \\/$
* | ?
:\\/*) glibcpp_srcdir
=${srcdir} ;;
1746 *) glibcpp_srcdir
=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
1750 # Calculate toolexeclibdir
1751 # Also toolexecdir, though it's only used in toolexeclibdir
1752 case ${version_specific_libs} in
1754 # Need the gcc compiler version to know where to install libraries
1755 # and header files if --enable-version-specific-runtime-libs option
1757 toolexecdir
='$(libdir)/gcc/$(target_noncanonical)'
1758 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
1761 if test -n "$with_cross_host" &&
1762 test x
"$with_cross_host" != x
"no"; then
1763 # Install a library built with a cross compiler in tooldir, not libdir.
1764 toolexecdir
='$(exec_prefix)/$(target_noncanonical)'
1765 toolexeclibdir
='$(toolexecdir)/lib'
1767 toolexecdir
='$(libdir)/gcc-lib/$(target_noncanonical)'
1768 toolexeclibdir
='$(libdir)'
1770 multi_os_directory
=`$CC -print-multi-os-directory`
1771 case $multi_os_directory in
1772 .
) ;; # Avoid trailing /.
1773 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
1780 # Figure out if we want to name the include directory and the
1781 # library name changes differently.
1782 includedirname
=include
1786 # Darwin is the only target so far that needs a different include directory.
1787 includedirname
=include-gnu-runtime
1794 ac_config_headers
="$ac_config_headers config.h"
1803 # We must force CC to /not/ be a precious variable; otherwise
1804 # the wrong, non-multilib-adjusted value will be used in multilibs.
1805 # As a side effect, we have to subst CFLAGS ourselves.
1809 ac_cpp
='$CPP $CPPFLAGS'
1810 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1811 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1812 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1813 if test -n "$ac_tool_prefix"; then
1814 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1815 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1816 echo "$as_me:$LINENO: checking for $ac_word" >&5
1817 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1818 if test "${ac_cv_prog_CC+set}" = set; then
1819 echo $ECHO_N "(cached) $ECHO_C" >&6
1821 if test -n "$CC"; then
1822 ac_cv_prog_CC
="$CC" # Let the user override the test.
1824 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1828 test -z "$as_dir" && as_dir
=.
1829 for ac_exec_ext
in '' $ac_executable_extensions; do
1830 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1831 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1832 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1841 if test -n "$CC"; then
1842 echo "$as_me:$LINENO: result: $CC" >&5
1843 echo "${ECHO_T}$CC" >&6
1845 echo "$as_me:$LINENO: result: no" >&5
1846 echo "${ECHO_T}no" >&6
1850 if test -z "$ac_cv_prog_CC"; then
1852 # Extract the first word of "gcc", so it can be a program name with args.
1853 set dummy gcc
; ac_word
=$2
1854 echo "$as_me:$LINENO: checking for $ac_word" >&5
1855 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1856 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1857 echo $ECHO_N "(cached) $ECHO_C" >&6
1859 if test -n "$ac_ct_CC"; then
1860 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1862 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1866 test -z "$as_dir" && as_dir
=.
1867 for ac_exec_ext
in '' $ac_executable_extensions; do
1868 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1869 ac_cv_prog_ac_ct_CC
="gcc"
1870 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1878 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1879 if test -n "$ac_ct_CC"; then
1880 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1881 echo "${ECHO_T}$ac_ct_CC" >&6
1883 echo "$as_me:$LINENO: result: no" >&5
1884 echo "${ECHO_T}no" >&6
1892 if test -z "$CC"; then
1893 if test -n "$ac_tool_prefix"; then
1894 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1895 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1896 echo "$as_me:$LINENO: checking for $ac_word" >&5
1897 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1898 if test "${ac_cv_prog_CC+set}" = set; then
1899 echo $ECHO_N "(cached) $ECHO_C" >&6
1901 if test -n "$CC"; then
1902 ac_cv_prog_CC
="$CC" # Let the user override the test.
1904 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1908 test -z "$as_dir" && as_dir
=.
1909 for ac_exec_ext
in '' $ac_executable_extensions; do
1910 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1911 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1912 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1921 if test -n "$CC"; then
1922 echo "$as_me:$LINENO: result: $CC" >&5
1923 echo "${ECHO_T}$CC" >&6
1925 echo "$as_me:$LINENO: result: no" >&5
1926 echo "${ECHO_T}no" >&6
1930 if test -z "$ac_cv_prog_CC"; then
1932 # Extract the first word of "cc", so it can be a program name with args.
1933 set dummy cc
; ac_word
=$2
1934 echo "$as_me:$LINENO: checking for $ac_word" >&5
1935 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1936 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1937 echo $ECHO_N "(cached) $ECHO_C" >&6
1939 if test -n "$ac_ct_CC"; then
1940 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1942 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1946 test -z "$as_dir" && as_dir
=.
1947 for ac_exec_ext
in '' $ac_executable_extensions; do
1948 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1949 ac_cv_prog_ac_ct_CC
="cc"
1950 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1958 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1959 if test -n "$ac_ct_CC"; then
1960 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1961 echo "${ECHO_T}$ac_ct_CC" >&6
1963 echo "$as_me:$LINENO: result: no" >&5
1964 echo "${ECHO_T}no" >&6
1973 if test -z "$CC"; then
1974 # Extract the first word of "cc", so it can be a program name with args.
1975 set dummy cc
; ac_word
=$2
1976 echo "$as_me:$LINENO: checking for $ac_word" >&5
1977 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1978 if test "${ac_cv_prog_CC+set}" = set; then
1979 echo $ECHO_N "(cached) $ECHO_C" >&6
1981 if test -n "$CC"; then
1982 ac_cv_prog_CC
="$CC" # Let the user override the test.
1985 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1989 test -z "$as_dir" && as_dir
=.
1990 for ac_exec_ext
in '' $ac_executable_extensions; do
1991 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1992 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1993 ac_prog_rejected
=yes
1997 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2003 if test $ac_prog_rejected = yes; then
2004 # We found a bogon in the path, so make sure we never use it.
2005 set dummy
$ac_cv_prog_CC
2007 if test $# != 0; then
2008 # We chose a different compiler from the bogus one.
2009 # However, it has the same basename, so the bogon will be chosen
2010 # first if we set CC to just the basename; use the full file name.
2012 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2018 if test -n "$CC"; then
2019 echo "$as_me:$LINENO: result: $CC" >&5
2020 echo "${ECHO_T}$CC" >&6
2022 echo "$as_me:$LINENO: result: no" >&5
2023 echo "${ECHO_T}no" >&6
2027 if test -z "$CC"; then
2028 if test -n "$ac_tool_prefix"; then
2031 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2032 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2033 echo "$as_me:$LINENO: checking for $ac_word" >&5
2034 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2035 if test "${ac_cv_prog_CC+set}" = set; then
2036 echo $ECHO_N "(cached) $ECHO_C" >&6
2038 if test -n "$CC"; then
2039 ac_cv_prog_CC
="$CC" # Let the user override the test.
2041 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2045 test -z "$as_dir" && as_dir
=.
2046 for ac_exec_ext
in '' $ac_executable_extensions; do
2047 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2048 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2049 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2058 if test -n "$CC"; then
2059 echo "$as_me:$LINENO: result: $CC" >&5
2060 echo "${ECHO_T}$CC" >&6
2062 echo "$as_me:$LINENO: result: no" >&5
2063 echo "${ECHO_T}no" >&6
2066 test -n "$CC" && break
2069 if test -z "$CC"; then
2073 # Extract the first word of "$ac_prog", so it can be a program name with args.
2074 set dummy
$ac_prog; ac_word
=$2
2075 echo "$as_me:$LINENO: checking for $ac_word" >&5
2076 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2077 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2078 echo $ECHO_N "(cached) $ECHO_C" >&6
2080 if test -n "$ac_ct_CC"; then
2081 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2083 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2087 test -z "$as_dir" && as_dir
=.
2088 for ac_exec_ext
in '' $ac_executable_extensions; do
2089 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2090 ac_cv_prog_ac_ct_CC
="$ac_prog"
2091 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2099 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2100 if test -n "$ac_ct_CC"; then
2101 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2102 echo "${ECHO_T}$ac_ct_CC" >&6
2104 echo "$as_me:$LINENO: result: no" >&5
2105 echo "${ECHO_T}no" >&6
2108 test -n "$ac_ct_CC" && break
2117 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2118 See \`config.log' for more details." >&5
2119 echo "$as_me: error: no acceptable C compiler found in \$PATH
2120 See \`config.log' for more details." >&2;}
2121 { (exit 1); exit 1; }; }
2123 # Provide some information about the compiler.
2124 echo "$as_me:$LINENO:" \
2125 "checking for C compiler version" >&5
2126 ac_compiler
=`set X $ac_compile; echo $2`
2127 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2128 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2131 (exit $ac_status); }
2132 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2133 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2136 (exit $ac_status); }
2137 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2138 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2141 (exit $ac_status); }
2143 cat >conftest.
$ac_ext <<_ACEOF
2146 cat confdefs.h
>>conftest.
$ac_ext
2147 cat >>conftest.
$ac_ext <<_ACEOF
2148 /* end confdefs.h. */
2159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2160 (eval $ac_link) 2>&5
2162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2163 (exit $ac_status); }; then
2169 if test x
$gcc_no_link = xyes
; then
2170 # Setting cross_compile will disable run tests; it will
2171 # also disable AC_CHECK_FILE but that's generally
2172 # correct if we can't link.
2176 cat >conftest.
$ac_ext <<_ACEOF
2179 cat confdefs.h
>>conftest.
$ac_ext
2180 cat >>conftest.
$ac_ext <<_ACEOF
2181 /* end confdefs.h. */
2191 ac_clean_files_save
=$ac_clean_files
2192 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2193 # Try to create an executable without -o first, disregard a.out.
2194 # It will help us diagnose broken compilers, and finding out an intuition
2196 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2197 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2198 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2199 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2200 (eval $ac_link_default) 2>&5
2202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2203 (exit $ac_status); }; then
2204 # Find the output, starting from the most likely. This scheme is
2205 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2208 # Be careful to initialize this variable, since it used to be cached.
2209 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2211 # b.out is created by i960 compilers.
2212 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2214 test -f "$ac_file" ||
continue
2216 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2219 # This is the source file.
2222 # We found the default executable, but exeext='' is most
2226 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2227 # FIXME: I believe we export ac_cv_exeext for Libtool,
2228 # but it would be cool to find out if it's true. Does anybody
2229 # maintain Libtool? --akim.
2237 echo "$as_me: failed program was:" >&5
2238 sed 's/^/| /' conftest.
$ac_ext >&5
2240 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2241 See \`config.log' for more details." >&5
2242 echo "$as_me: error: C compiler cannot create executables
2243 See \`config.log' for more details." >&2;}
2244 { (exit 77); exit 77; }; }
2247 ac_exeext
=$ac_cv_exeext
2248 echo "$as_me:$LINENO: result: $ac_file" >&5
2249 echo "${ECHO_T}$ac_file" >&6
2251 # Check the compiler produces executables we can run. If not, either
2252 # the compiler is broken, or we cross compile.
2253 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2254 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2255 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2256 # If not cross compiling, check that we can run a simple program.
2257 if test "$cross_compiling" != yes; then
2258 if { ac_try
='./$ac_file'
2259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2263 (exit $ac_status); }; }; then
2266 if test "$cross_compiling" = maybe
; then
2269 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2270 If you meant to cross compile, use \`--host'.
2271 See \`config.log' for more details." >&5
2272 echo "$as_me: error: cannot run C compiled programs.
2273 If you meant to cross compile, use \`--host'.
2274 See \`config.log' for more details." >&2;}
2275 { (exit 1); exit 1; }; }
2279 echo "$as_me:$LINENO: result: yes" >&5
2280 echo "${ECHO_T}yes" >&6
2282 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2283 ac_clean_files
=$ac_clean_files_save
2284 # Check the compiler produces executables we can run. If not, either
2285 # the compiler is broken, or we cross compile.
2286 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2287 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2288 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2289 echo "${ECHO_T}$cross_compiling" >&6
2291 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2292 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2294 (eval $ac_link) 2>&5
2296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2297 (exit $ac_status); }; then
2298 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2299 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2300 # work properly (i.e., refer to `conftest.exe'), while it won't with
2302 for ac_file
in conftest.exe conftest conftest.
*; do
2303 test -f "$ac_file" ||
continue
2305 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2306 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2313 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2314 See \`config.log' for more details." >&5
2315 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2316 See \`config.log' for more details." >&2;}
2317 { (exit 1); exit 1; }; }
2320 rm -f conftest
$ac_cv_exeext
2321 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2322 echo "${ECHO_T}$ac_cv_exeext" >&6
2324 rm -f conftest.
$ac_ext
2325 EXEEXT
=$ac_cv_exeext
2328 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2329 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2330 if test "${ac_cv_objext+set}" = set; then
2331 echo $ECHO_N "(cached) $ECHO_C" >&6
2333 cat >conftest.
$ac_ext <<_ACEOF
2336 cat confdefs.h
>>conftest.
$ac_ext
2337 cat >>conftest.
$ac_ext <<_ACEOF
2338 /* end confdefs.h. */
2348 rm -f conftest.o conftest.obj
2349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2350 (eval $ac_compile) 2>&5
2352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2353 (exit $ac_status); }; then
2354 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2356 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2357 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2362 echo "$as_me: failed program was:" >&5
2363 sed 's/^/| /' conftest.
$ac_ext >&5
2365 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2366 See \`config.log' for more details." >&5
2367 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2368 See \`config.log' for more details." >&2;}
2369 { (exit 1); exit 1; }; }
2372 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2374 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2375 echo "${ECHO_T}$ac_cv_objext" >&6
2376 OBJEXT
=$ac_cv_objext
2378 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2379 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2380 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2381 echo $ECHO_N "(cached) $ECHO_C" >&6
2383 cat >conftest.
$ac_ext <<_ACEOF
2386 cat confdefs.h
>>conftest.
$ac_ext
2387 cat >>conftest.
$ac_ext <<_ACEOF
2388 /* end confdefs.h. */
2401 rm -f conftest.
$ac_objext
2402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2403 (eval $ac_compile) 2>conftest.er1
2405 grep -v '^ *+' conftest.er1
>conftest.err
2407 cat conftest.err
>&5
2408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2409 (exit $ac_status); } &&
2410 { ac_try
='test -z "$ac_c_werror_flag"
2411 || test ! -s conftest.err'
2412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2416 (exit $ac_status); }; } &&
2417 { ac_try
='test -s conftest.$ac_objext'
2418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2422 (exit $ac_status); }; }; then
2425 echo "$as_me: failed program was:" >&5
2426 sed 's/^/| /' conftest.
$ac_ext >&5
2430 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2431 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2434 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2435 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2436 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2437 ac_test_CFLAGS
=${CFLAGS+set}
2438 ac_save_CFLAGS
=$CFLAGS
2440 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2441 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2442 if test "${ac_cv_prog_cc_g+set}" = set; then
2443 echo $ECHO_N "(cached) $ECHO_C" >&6
2445 cat >conftest.
$ac_ext <<_ACEOF
2448 cat confdefs.h
>>conftest.
$ac_ext
2449 cat >>conftest.
$ac_ext <<_ACEOF
2450 /* end confdefs.h. */
2460 rm -f conftest.
$ac_objext
2461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2462 (eval $ac_compile) 2>conftest.er1
2464 grep -v '^ *+' conftest.er1
>conftest.err
2466 cat conftest.err
>&5
2467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2468 (exit $ac_status); } &&
2469 { ac_try
='test -z "$ac_c_werror_flag"
2470 || test ! -s conftest.err'
2471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2475 (exit $ac_status); }; } &&
2476 { ac_try
='test -s conftest.$ac_objext'
2477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2481 (exit $ac_status); }; }; then
2484 echo "$as_me: failed program was:" >&5
2485 sed 's/^/| /' conftest.
$ac_ext >&5
2489 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2491 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2492 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2493 if test "$ac_test_CFLAGS" = set; then
2494 CFLAGS
=$ac_save_CFLAGS
2495 elif test $ac_cv_prog_cc_g = yes; then
2496 if test "$GCC" = yes; then
2502 if test "$GCC" = yes; then
2508 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2509 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2510 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2511 echo $ECHO_N "(cached) $ECHO_C" >&6
2513 ac_cv_prog_cc_stdc
=no
2515 cat >conftest.
$ac_ext <<_ACEOF
2518 cat confdefs.h
>>conftest.
$ac_ext
2519 cat >>conftest.
$ac_ext <<_ACEOF
2520 /* end confdefs.h. */
2523 #include <sys/types.h>
2524 #include <sys/stat.h>
2525 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2526 struct buf { int x; };
2527 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2528 static char *e (p, i)
2534 static char *f (char * (*g) (char **, int), char **p, ...)
2539 s = g (p, va_arg (v,int));
2544 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2545 function prototypes and stuff, but not '\xHH' hex character constants.
2546 These don't provoke an error unfortunately, instead are silently treated
2547 as 'x'. The following induces an error, until -std1 is added to get
2548 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2549 array size at least. It's necessary to write '\x00'==0 to get something
2550 that's true only with -std1. */
2551 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2553 int test (int i, double x);
2554 struct s1 {int (*f) (int a);};
2555 struct s2 {int (*f) (double a);};
2556 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2562 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2567 # Don't try gcc -ansi; that turns off useful extensions and
2568 # breaks some systems' header files.
2569 # AIX -qlanglvl=ansi
2570 # Ultrix and OSF/1 -std1
2571 # HP-UX 10.20 and later -Ae
2572 # HP-UX older versions -Aa -D_HPUX_SOURCE
2573 # SVR4 -Xc -D__EXTENSIONS__
2574 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2576 CC
="$ac_save_CC $ac_arg"
2577 rm -f conftest.
$ac_objext
2578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2579 (eval $ac_compile) 2>conftest.er1
2581 grep -v '^ *+' conftest.er1
>conftest.err
2583 cat conftest.err
>&5
2584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2585 (exit $ac_status); } &&
2586 { ac_try
='test -z "$ac_c_werror_flag"
2587 || test ! -s conftest.err'
2588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2592 (exit $ac_status); }; } &&
2593 { ac_try
='test -s conftest.$ac_objext'
2594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2598 (exit $ac_status); }; }; then
2599 ac_cv_prog_cc_stdc
=$ac_arg
2602 echo "$as_me: failed program was:" >&5
2603 sed 's/^/| /' conftest.
$ac_ext >&5
2606 rm -f conftest.err conftest.
$ac_objext
2608 rm -f conftest.
$ac_ext conftest.
$ac_objext
2613 case "x$ac_cv_prog_cc_stdc" in
2615 echo "$as_me:$LINENO: result: none needed" >&5
2616 echo "${ECHO_T}none needed" >&6 ;;
2618 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2619 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2620 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2623 # Some people use a C++ compiler to compile C. Since we use `exit',
2624 # in C++ we need to declare it. In case someone uses the same compiler
2625 # for both compiling C and C++ we need to have the C++ compiler decide
2626 # the declaration of exit, since it's the most demanding environment.
2627 cat >conftest.
$ac_ext <<_ACEOF
2632 rm -f conftest.
$ac_objext
2633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2634 (eval $ac_compile) 2>conftest.er1
2636 grep -v '^ *+' conftest.er1
>conftest.err
2638 cat conftest.err
>&5
2639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2640 (exit $ac_status); } &&
2641 { ac_try
='test -z "$ac_c_werror_flag"
2642 || test ! -s conftest.err'
2643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2647 (exit $ac_status); }; } &&
2648 { ac_try
='test -s conftest.$ac_objext'
2649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2653 (exit $ac_status); }; }; then
2654 for ac_declaration
in \
2656 'extern "C" void std::exit (int) throw (); using std::exit;' \
2657 'extern "C" void std::exit (int); using std::exit;' \
2658 'extern "C" void exit (int) throw ();' \
2659 'extern "C" void exit (int);' \
2662 cat >conftest.
$ac_ext <<_ACEOF
2665 cat confdefs.h
>>conftest.
$ac_ext
2666 cat >>conftest.
$ac_ext <<_ACEOF
2667 /* end confdefs.h. */
2678 rm -f conftest.
$ac_objext
2679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2680 (eval $ac_compile) 2>conftest.er1
2682 grep -v '^ *+' conftest.er1
>conftest.err
2684 cat conftest.err
>&5
2685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2686 (exit $ac_status); } &&
2687 { ac_try
='test -z "$ac_c_werror_flag"
2688 || test ! -s conftest.err'
2689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2693 (exit $ac_status); }; } &&
2694 { ac_try
='test -s conftest.$ac_objext'
2695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2699 (exit $ac_status); }; }; then
2702 echo "$as_me: failed program was:" >&5
2703 sed 's/^/| /' conftest.
$ac_ext >&5
2707 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2708 cat >conftest.
$ac_ext <<_ACEOF
2711 cat confdefs.h
>>conftest.
$ac_ext
2712 cat >>conftest.
$ac_ext <<_ACEOF
2713 /* end confdefs.h. */
2723 rm -f conftest.
$ac_objext
2724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2725 (eval $ac_compile) 2>conftest.er1
2727 grep -v '^ *+' conftest.er1
>conftest.err
2729 cat conftest.err
>&5
2730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2731 (exit $ac_status); } &&
2732 { ac_try
='test -z "$ac_c_werror_flag"
2733 || test ! -s conftest.err'
2734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2738 (exit $ac_status); }; } &&
2739 { ac_try
='test -s conftest.$ac_objext'
2740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2744 (exit $ac_status); }; }; then
2747 echo "$as_me: failed program was:" >&5
2748 sed 's/^/| /' conftest.
$ac_ext >&5
2751 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2754 if test -n "$ac_declaration"; then
2755 echo '#ifdef __cplusplus' >>confdefs.h
2756 echo $ac_declaration >>confdefs.h
2757 echo '#endif' >>confdefs.h
2761 echo "$as_me: failed program was:" >&5
2762 sed 's/^/| /' conftest.
$ac_ext >&5
2765 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2767 ac_cpp
='$CPP $CPPFLAGS'
2768 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2769 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2770 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2774 # extra LD Flags which are required for targets
2777 # Darwin needs -single_module when linking libobjc
2778 extra_ldflags_libobjc
=-Wl,-single_module
2785 if test -n "$ac_tool_prefix"; then
2786 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
2787 set dummy
${ac_tool_prefix}as
; ac_word
=$2
2788 echo "$as_me:$LINENO: checking for $ac_word" >&5
2789 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2790 if test "${ac_cv_prog_AS+set}" = set; then
2791 echo $ECHO_N "(cached) $ECHO_C" >&6
2793 if test -n "$AS"; then
2794 ac_cv_prog_AS
="$AS" # Let the user override the test.
2796 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2800 test -z "$as_dir" && as_dir
=.
2801 for ac_exec_ext
in '' $ac_executable_extensions; do
2802 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2803 ac_cv_prog_AS
="${ac_tool_prefix}as"
2804 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2813 if test -n "$AS"; then
2814 echo "$as_me:$LINENO: result: $AS" >&5
2815 echo "${ECHO_T}$AS" >&6
2817 echo "$as_me:$LINENO: result: no" >&5
2818 echo "${ECHO_T}no" >&6
2822 if test -z "$ac_cv_prog_AS"; then
2824 # Extract the first word of "as", so it can be a program name with args.
2825 set dummy as
; ac_word
=$2
2826 echo "$as_me:$LINENO: checking for $ac_word" >&5
2827 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2828 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
2829 echo $ECHO_N "(cached) $ECHO_C" >&6
2831 if test -n "$ac_ct_AS"; then
2832 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
2834 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2838 test -z "$as_dir" && as_dir
=.
2839 for ac_exec_ext
in '' $ac_executable_extensions; do
2840 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2841 ac_cv_prog_ac_ct_AS
="as"
2842 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2850 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
2851 if test -n "$ac_ct_AS"; then
2852 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
2853 echo "${ECHO_T}$ac_ct_AS" >&6
2855 echo "$as_me:$LINENO: result: no" >&5
2856 echo "${ECHO_T}no" >&6
2864 if test -n "$ac_tool_prefix"; then
2865 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2866 set dummy
${ac_tool_prefix}ar; ac_word
=$2
2867 echo "$as_me:$LINENO: checking for $ac_word" >&5
2868 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2869 if test "${ac_cv_prog_AR+set}" = set; then
2870 echo $ECHO_N "(cached) $ECHO_C" >&6
2872 if test -n "$AR"; then
2873 ac_cv_prog_AR
="$AR" # Let the user override the test.
2875 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2879 test -z "$as_dir" && as_dir
=.
2880 for ac_exec_ext
in '' $ac_executable_extensions; do
2881 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2882 ac_cv_prog_AR
="${ac_tool_prefix}ar"
2883 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2892 if test -n "$AR"; then
2893 echo "$as_me:$LINENO: result: $AR" >&5
2894 echo "${ECHO_T}$AR" >&6
2896 echo "$as_me:$LINENO: result: no" >&5
2897 echo "${ECHO_T}no" >&6
2901 if test -z "$ac_cv_prog_AR"; then
2903 # Extract the first word of "ar", so it can be a program name with args.
2904 set dummy
ar; ac_word
=$2
2905 echo "$as_me:$LINENO: checking for $ac_word" >&5
2906 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2907 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
2908 echo $ECHO_N "(cached) $ECHO_C" >&6
2910 if test -n "$ac_ct_AR"; then
2911 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
2913 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2917 test -z "$as_dir" && as_dir
=.
2918 for ac_exec_ext
in '' $ac_executable_extensions; do
2919 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2920 ac_cv_prog_ac_ct_AR
="ar"
2921 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2929 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
2930 if test -n "$ac_ct_AR"; then
2931 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
2932 echo "${ECHO_T}$ac_ct_AR" >&6
2934 echo "$as_me:$LINENO: result: no" >&5
2935 echo "${ECHO_T}no" >&6
2943 if test -n "$ac_tool_prefix"; then
2944 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2945 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2946 echo "$as_me:$LINENO: checking for $ac_word" >&5
2947 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2948 if test "${ac_cv_prog_RANLIB+set}" = set; then
2949 echo $ECHO_N "(cached) $ECHO_C" >&6
2951 if test -n "$RANLIB"; then
2952 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2954 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2958 test -z "$as_dir" && as_dir
=.
2959 for ac_exec_ext
in '' $ac_executable_extensions; do
2960 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2961 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2962 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2970 RANLIB
=$ac_cv_prog_RANLIB
2971 if test -n "$RANLIB"; then
2972 echo "$as_me:$LINENO: result: $RANLIB" >&5
2973 echo "${ECHO_T}$RANLIB" >&6
2975 echo "$as_me:$LINENO: result: no" >&5
2976 echo "${ECHO_T}no" >&6
2980 if test -z "$ac_cv_prog_RANLIB"; then
2981 ac_ct_RANLIB
=$RANLIB
2982 # Extract the first word of "ranlib", so it can be a program name with args.
2983 set dummy ranlib
; ac_word
=$2
2984 echo "$as_me:$LINENO: checking for $ac_word" >&5
2985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2986 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2987 echo $ECHO_N "(cached) $ECHO_C" >&6
2989 if test -n "$ac_ct_RANLIB"; then
2990 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2992 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2996 test -z "$as_dir" && as_dir
=.
2997 for ac_exec_ext
in '' $ac_executable_extensions; do
2998 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2999 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3000 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3006 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3009 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3010 if test -n "$ac_ct_RANLIB"; then
3011 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3012 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3014 echo "$as_me:$LINENO: result: no" >&5
3015 echo "${ECHO_T}no" >&6
3018 RANLIB
=$ac_ct_RANLIB
3020 RANLIB
="$ac_cv_prog_RANLIB"
3023 # Find a good install program. We prefer a C program (faster),
3024 # so one script is as good as another. But avoid the broken or
3025 # incompatible versions:
3026 # SysV /etc/install, /usr/sbin/install
3027 # SunOS /usr/etc/install
3028 # IRIX /sbin/install
3030 # AmigaOS /C/install, which installs bootblocks on floppy discs
3031 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3032 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3033 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3034 # OS/2's system install, which has a completely different semantic
3035 # ./install, which can be erroneously created by make from ./install.sh.
3036 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3037 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3038 if test -z "$INSTALL"; then
3039 if test "${ac_cv_path_install+set}" = set; then
3040 echo $ECHO_N "(cached) $ECHO_C" >&6
3042 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3046 test -z "$as_dir" && as_dir
=.
3047 # Account for people who put trailing slashes in PATH elements.
3049 .
/ | .
// |
/cC
/* | \
3050 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3051 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3054 # OSF1 and SCO ODT 3.0 have their own names for install.
3055 # Don't use installbsd from OSF since it installs stuff as root
3057 for ac_prog
in ginstall scoinst
install; do
3058 for ac_exec_ext
in '' $ac_executable_extensions; do
3059 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3060 if test $ac_prog = install &&
3061 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3062 # AIX install. It has an incompatible calling convention.
3064 elif test $ac_prog = install &&
3065 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3066 # program-specific install script used by HP pwplus--don't use.
3069 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3081 if test "${ac_cv_path_install+set}" = set; then
3082 INSTALL
=$ac_cv_path_install
3084 # As a last resort, use the slow shell script. We don't cache a
3085 # path for INSTALL within a source directory, because that will
3086 # break other packages using the cache if that directory is
3087 # removed, or if the path is relative.
3088 INSTALL
=$ac_install_sh
3091 echo "$as_me:$LINENO: result: $INSTALL" >&5
3092 echo "${ECHO_T}$INSTALL" >&6
3094 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3095 # It thinks the first close brace ends the variable substitution.
3096 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3098 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3100 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3103 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3104 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3105 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3106 if test "${enable_maintainer_mode+set}" = set; then
3107 enableval
="$enable_maintainer_mode"
3108 USE_MAINTAINER_MODE
=$enableval
3110 USE_MAINTAINER_MODE
=no
3112 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3113 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3116 if test $USE_MAINTAINER_MODE = yes; then
3117 MAINTAINER_MODE_TRUE
=
3118 MAINTAINER_MODE_FALSE
='#'
3120 MAINTAINER_MODE_TRUE
='#'
3121 MAINTAINER_MODE_FALSE
=
3124 MAINT
=$MAINTAINER_MODE_TRUE
3128 # Enable Win32 DLL on MS Windows - FIXME
3129 enable_win32_dll
=yes
3132 *-*-cygwin* |
*-*-mingw* |
*-*-pw32*)
3133 if test -n "$ac_tool_prefix"; then
3134 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3135 set dummy
${ac_tool_prefix}as
; ac_word
=$2
3136 echo "$as_me:$LINENO: checking for $ac_word" >&5
3137 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3138 if test "${ac_cv_prog_AS+set}" = set; then
3139 echo $ECHO_N "(cached) $ECHO_C" >&6
3141 if test -n "$AS"; then
3142 ac_cv_prog_AS
="$AS" # Let the user override the test.
3144 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3148 test -z "$as_dir" && as_dir
=.
3149 for ac_exec_ext
in '' $ac_executable_extensions; do
3150 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3151 ac_cv_prog_AS
="${ac_tool_prefix}as"
3152 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3161 if test -n "$AS"; then
3162 echo "$as_me:$LINENO: result: $AS" >&5
3163 echo "${ECHO_T}$AS" >&6
3165 echo "$as_me:$LINENO: result: no" >&5
3166 echo "${ECHO_T}no" >&6
3170 if test -z "$ac_cv_prog_AS"; then
3172 # Extract the first word of "as", so it can be a program name with args.
3173 set dummy as
; ac_word
=$2
3174 echo "$as_me:$LINENO: checking for $ac_word" >&5
3175 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3176 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3177 echo $ECHO_N "(cached) $ECHO_C" >&6
3179 if test -n "$ac_ct_AS"; then
3180 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
3182 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3186 test -z "$as_dir" && as_dir
=.
3187 for ac_exec_ext
in '' $ac_executable_extensions; do
3188 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3189 ac_cv_prog_ac_ct_AS
="as"
3190 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3196 test -z "$ac_cv_prog_ac_ct_AS" && ac_cv_prog_ac_ct_AS
="false"
3199 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
3200 if test -n "$ac_ct_AS"; then
3201 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3202 echo "${ECHO_T}$ac_ct_AS" >&6
3204 echo "$as_me:$LINENO: result: no" >&5
3205 echo "${ECHO_T}no" >&6
3213 if test -n "$ac_tool_prefix"; then
3214 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
3215 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
3216 echo "$as_me:$LINENO: checking for $ac_word" >&5
3217 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3218 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
3219 echo $ECHO_N "(cached) $ECHO_C" >&6
3221 if test -n "$DLLTOOL"; then
3222 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
3224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3228 test -z "$as_dir" && as_dir
=.
3229 for ac_exec_ext
in '' $ac_executable_extensions; do
3230 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3231 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
3232 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3240 DLLTOOL
=$ac_cv_prog_DLLTOOL
3241 if test -n "$DLLTOOL"; then
3242 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
3243 echo "${ECHO_T}$DLLTOOL" >&6
3245 echo "$as_me:$LINENO: result: no" >&5
3246 echo "${ECHO_T}no" >&6
3250 if test -z "$ac_cv_prog_DLLTOOL"; then
3251 ac_ct_DLLTOOL
=$DLLTOOL
3252 # Extract the first word of "dlltool", so it can be a program name with args.
3253 set dummy dlltool
; ac_word
=$2
3254 echo "$as_me:$LINENO: checking for $ac_word" >&5
3255 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3256 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
3257 echo $ECHO_N "(cached) $ECHO_C" >&6
3259 if test -n "$ac_ct_DLLTOOL"; then
3260 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
3262 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3266 test -z "$as_dir" && as_dir
=.
3267 for ac_exec_ext
in '' $ac_executable_extensions; do
3268 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3269 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
3270 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3276 test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL
="false"
3279 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
3280 if test -n "$ac_ct_DLLTOOL"; then
3281 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
3282 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
3284 echo "$as_me:$LINENO: result: no" >&5
3285 echo "${ECHO_T}no" >&6
3288 DLLTOOL
=$ac_ct_DLLTOOL
3290 DLLTOOL
="$ac_cv_prog_DLLTOOL"
3293 if test -n "$ac_tool_prefix"; then
3294 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
3295 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
3296 echo "$as_me:$LINENO: checking for $ac_word" >&5
3297 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3298 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
3299 echo $ECHO_N "(cached) $ECHO_C" >&6
3301 if test -n "$OBJDUMP"; then
3302 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
3304 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3308 test -z "$as_dir" && as_dir
=.
3309 for ac_exec_ext
in '' $ac_executable_extensions; do
3310 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3311 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
3312 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3320 OBJDUMP
=$ac_cv_prog_OBJDUMP
3321 if test -n "$OBJDUMP"; then
3322 echo "$as_me:$LINENO: result: $OBJDUMP" >&5
3323 echo "${ECHO_T}$OBJDUMP" >&6
3325 echo "$as_me:$LINENO: result: no" >&5
3326 echo "${ECHO_T}no" >&6
3330 if test -z "$ac_cv_prog_OBJDUMP"; then
3331 ac_ct_OBJDUMP
=$OBJDUMP
3332 # Extract the first word of "objdump", so it can be a program name with args.
3333 set dummy objdump
; ac_word
=$2
3334 echo "$as_me:$LINENO: checking for $ac_word" >&5
3335 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3336 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
3337 echo $ECHO_N "(cached) $ECHO_C" >&6
3339 if test -n "$ac_ct_OBJDUMP"; then
3340 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
3342 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3346 test -z "$as_dir" && as_dir
=.
3347 for ac_exec_ext
in '' $ac_executable_extensions; do
3348 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3349 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
3350 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3356 test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP
="false"
3359 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
3360 if test -n "$ac_ct_OBJDUMP"; then
3361 echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
3362 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
3364 echo "$as_me:$LINENO: result: no" >&5
3365 echo "${ECHO_T}no" >&6
3368 OBJDUMP
=$ac_ct_OBJDUMP
3370 OBJDUMP
="$ac_cv_prog_OBJDUMP"
3376 test -z "$AS" && AS
=as
3382 test -z "$DLLTOOL" && DLLTOOL
=dlltool
3388 test -z "$OBJDUMP" && OBJDUMP
=objdump
3399 macro_version
='2.1a'
3400 macro_revision
='1.2435'
3413 ltmain
="$ac_aux_dir/ltmain.sh"
3421 # Check whether --enable-shared or --disable-shared was given.
3422 if test "${enable_shared+set}" = set; then
3423 enableval
="$enable_shared"
3424 p
=${PACKAGE-default}
3426 yes) enable_shared
=yes ;;
3427 no
) enable_shared
=no
;;
3430 # Look at the argument we got. We use all the common list separators.
3431 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3432 for pkg
in $enableval; do
3434 if test "X$pkg" = "X$p"; then
3452 # Check whether --enable-static or --disable-static was given.
3453 if test "${enable_static+set}" = set; then
3454 enableval
="$enable_static"
3455 p
=${PACKAGE-default}
3457 yes) enable_static
=yes ;;
3458 no
) enable_static
=no
;;
3461 # Look at the argument we got. We use all the common list separators.
3462 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3463 for pkg
in $enableval; do
3465 if test "X$pkg" = "X$p"; then
3484 # Check whether --with-pic or --without-pic was given.
3485 if test "${with_pic+set}" = set; then
3492 test -z "$pic_mode" && pic_mode
=default
3500 # Check whether --enable-fast-install or --disable-fast-install was given.
3501 if test "${enable_fast_install+set}" = set; then
3502 enableval
="$enable_fast_install"
3503 p
=${PACKAGE-default}
3505 yes) enable_fast_install
=yes ;;
3506 no
) enable_fast_install
=no
;;
3508 enable_fast_install
=no
3509 # Look at the argument we got. We use all the common list separators.
3510 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3511 for pkg
in $enableval; do
3513 if test "X$pkg" = "X$p"; then
3514 enable_fast_install
=yes
3521 enable_fast_install
=yes
3531 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3532 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3533 if test "${lt_cv_path_SED+set}" = set; then
3534 echo $ECHO_N "(cached) $ECHO_C" >&6
3536 # Loop through the user's path and test for sed and gsed.
3537 # Then use that list of sed's as ones to test for truncation.
3538 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3542 test -z "$as_dir" && as_dir
=.
3543 for lt_ac_prog
in sed gsed
; do
3544 for ac_exec_ext
in '' $ac_executable_extensions; do
3545 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3546 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3554 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3555 # along with /bin/sed that truncates output.
3556 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
3557 test ! -f $lt_ac_sed && continue
3558 cat /dev
/null
> conftest.
in
3560 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
3561 # Check for GNU sed and select it if it is found.
3562 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
3563 lt_cv_path_SED
=$lt_ac_sed
3567 cat conftest.
in conftest.
in >conftest.tmp
3568 mv conftest.tmp conftest.
in
3569 cp conftest.
in conftest.
nl
3571 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
3572 cmp -s conftest.out conftest.
nl ||
break
3573 # 10000 chars as input seems more than enough
3574 test $lt_ac_count -gt 10 && break
3575 lt_ac_count
=`expr $lt_ac_count + 1`
3576 if test $lt_ac_count -gt $lt_ac_max; then
3577 lt_ac_max
=$lt_ac_count
3578 lt_cv_path_SED
=$lt_ac_sed
3587 echo "$as_me:$LINENO: result: $SED" >&5
3588 echo "${ECHO_T}$SED" >&6
3590 test -z "$SED" && SED
=sed
3591 Xsed
="$SED -e 1s/^X//"
3603 echo "$as_me:$LINENO: checking for egrep" >&5
3604 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3605 if test "${ac_cv_prog_egrep+set}" = set; then
3606 echo $ECHO_N "(cached) $ECHO_C" >&6
3608 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3609 then ac_cv_prog_egrep
='grep -E'
3610 else ac_cv_prog_egrep
='egrep'
3613 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3614 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3615 EGREP
=$ac_cv_prog_egrep
3618 echo "$as_me:$LINENO: checking for fgrep" >&5
3619 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
3620 if test "${ac_cv_prog_fgrep+set}" = set; then
3621 echo $ECHO_N "(cached) $ECHO_C" >&6
3623 if echo 'ab*c' |
(grep -F 'ab*c') >/dev
/null
2>&1
3624 then ac_cv_prog_fgrep
='grep -F'
3625 else ac_cv_prog_fgrep
='fgrep'
3628 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
3629 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
3630 FGREP
=$ac_cv_prog_fgrep
3633 test -z "$GREP" && GREP
=grep
3653 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3654 if test "${with_gnu_ld+set}" = set; then
3655 withval
="$with_gnu_ld"
3656 test "$withval" = no || with_gnu_ld
=yes
3661 if test "$GCC" = yes; then
3662 # Check if gcc -print-prog-name=ld gives a path.
3663 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3664 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
3667 # gcc leaves a trailing carriage return which upsets mingw
3668 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3670 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3673 # Accept absolute paths.
3675 re_direlt
='/[^/][^/]*/\.\./'
3676 # Canonicalize the pathname of ld
3677 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
3678 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
3679 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
3681 test -z "$LD" && LD
="$ac_prog"
3684 # If it fails, then pretend we aren't using GCC.
3688 # If it is relative, then search for the first ld in PATH.
3692 elif test "$with_gnu_ld" = yes; then
3693 echo "$as_me:$LINENO: checking for GNU ld" >&5
3694 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3696 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3697 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3699 if test "${lt_cv_path_LD+set}" = set; then
3700 echo $ECHO_N "(cached) $ECHO_C" >&6
3702 if test -z "$LD"; then
3703 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
3704 for ac_dir
in $PATH; do
3706 test -z "$ac_dir" && ac_dir
=.
3707 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3708 lt_cv_path_LD
="$ac_dir/$ac_prog"
3709 # Check to see if the program is GNU ld. I'd rather use --version,
3710 # but apparently some variants of GNU ld only accept -v.
3711 # Break only if it was the GNU/non-GNU ld that we prefer.
3712 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3713 *GNU
* |
*'with BFD'*)
3714 test "$with_gnu_ld" != no
&& break
3717 test "$with_gnu_ld" != yes && break
3724 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3729 if test -n "$LD"; then
3730 echo "$as_me:$LINENO: result: $LD" >&5
3731 echo "${ECHO_T}$LD" >&6
3733 echo "$as_me:$LINENO: result: no" >&5
3734 echo "${ECHO_T}no" >&6
3736 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3737 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3738 { (exit 1); exit 1; }; }
3739 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3740 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3741 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3742 echo $ECHO_N "(cached) $ECHO_C" >&6
3744 # I'd rather use --version here, but apparently some GNU lds only accept -v.
3745 case `$LD -v 2>&1 </dev/null` in
3746 *GNU
* |
*'with BFD'*)
3747 lt_cv_prog_gnu_ld
=yes
3750 lt_cv_prog_gnu_ld
=no
3754 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3755 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3756 with_gnu_ld
=$lt_cv_prog_gnu_ld
3767 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
3768 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
3769 if test "${lt_cv_path_NM+set}" = set; then
3770 echo $ECHO_N "(cached) $ECHO_C" >&6
3772 if test -n "$NM"; then
3773 # Let the user override the test.
3776 lt_nm_to_check
="${ac_tool_prefix}nm"
3777 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3778 lt_nm_to_check
="$lt_nm_to_check nm"
3780 for lt_tmp_nm
in $lt_nm_to_check; do
3781 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
3782 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
3784 test -z "$ac_dir" && ac_dir
=.
3785 tmp_nm
="$ac_dir/$lt_tmp_nm"
3786 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
3787 # Check to see if the nm accepts a BSD-compat flag.
3788 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3789 # nm: unknown option "B" ignored
3790 # Tru64's nm complains that /dev/null is an invalid object file
3791 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3792 */dev
/null
* |
*'Invalid file or object type'*)
3793 lt_cv_path_NM
="$tmp_nm -B"
3797 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3799 lt_cv_path_NM
="$tmp_nm -p"
3803 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3804 continue # so that we can try to find one that supports BSD flags
3813 : ${lt_cv_path_NM=no}
3816 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
3817 echo "${ECHO_T}$lt_cv_path_NM" >&6
3818 if test "$lt_cv_path_NM" != "no"; then
3821 # Didn't find any BSD compatible name lister, look for dumpbin.
3822 if test -n "$ac_tool_prefix"; then
3823 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
3825 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3826 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3827 echo "$as_me:$LINENO: checking for $ac_word" >&5
3828 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3829 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
3830 echo $ECHO_N "(cached) $ECHO_C" >&6
3832 if test -n "$DUMPBIN"; then
3833 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
3835 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3839 test -z "$as_dir" && as_dir
=.
3840 for ac_exec_ext
in '' $ac_executable_extensions; do
3841 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3842 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
3843 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3851 DUMPBIN
=$ac_cv_prog_DUMPBIN
3852 if test -n "$DUMPBIN"; then
3853 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
3854 echo "${ECHO_T}$DUMPBIN" >&6
3856 echo "$as_me:$LINENO: result: no" >&5
3857 echo "${ECHO_T}no" >&6
3860 test -n "$DUMPBIN" && break
3863 if test -z "$DUMPBIN"; then
3864 ac_ct_DUMPBIN
=$DUMPBIN
3865 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
3867 # Extract the first word of "$ac_prog", so it can be a program name with args.
3868 set dummy
$ac_prog; ac_word
=$2
3869 echo "$as_me:$LINENO: checking for $ac_word" >&5
3870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3871 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
3872 echo $ECHO_N "(cached) $ECHO_C" >&6
3874 if test -n "$ac_ct_DUMPBIN"; then
3875 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
3877 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3881 test -z "$as_dir" && as_dir
=.
3882 for ac_exec_ext
in '' $ac_executable_extensions; do
3883 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3884 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
3885 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3893 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
3894 if test -n "$ac_ct_DUMPBIN"; then
3895 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
3896 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
3898 echo "$as_me:$LINENO: result: no" >&5
3899 echo "${ECHO_T}no" >&6
3902 test -n "$ac_ct_DUMPBIN" && break
3904 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN
=":"
3906 DUMPBIN
=$ac_ct_DUMPBIN
3910 if test "$DUMPBIN" != ":"; then
3914 test -z "$NM" && NM
=nm
3921 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
3922 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
3923 if test "${lt_cv_nm_interface+set}" = set; then
3924 echo $ECHO_N "(cached) $ECHO_C" >&6
3926 lt_cv_nm_interface
="BSD nm"
3927 echo "int some_variable = 0;" > conftest.
$ac_ext
3928 (eval echo "\"\$as_me:3928: $ac_compile\"" >&5)
3929 (eval "$ac_compile" 2>conftest.err
)
3930 cat conftest.err
>&5
3931 (eval echo "\"\$as_me:3931: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
3932 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
3933 cat conftest.err
>&5
3934 (eval echo "\"\$as_me:3934: output\"" >&5)
3935 cat conftest.out
>&5
3936 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
3937 lt_cv_nm_interface
="MS dumpbin"
3941 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
3942 echo "${ECHO_T}$lt_cv_nm_interface" >&6
3944 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3945 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3947 if test "$LN_S" = "ln -s"; then
3948 echo "$as_me:$LINENO: result: yes" >&5
3949 echo "${ECHO_T}yes" >&6
3951 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3952 echo "${ECHO_T}no, using $LN_S" >&6
3955 # find the maximum length of command line arguments
3956 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
3957 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
3958 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
3959 echo $ECHO_N "(cached) $ECHO_C" >&6
3966 # On DJGPP, this test can blow up pretty badly due to problems in libc
3967 # (any single argument exceeding 2000 bytes causes a buffer overrun
3968 # during glob expansion). Even if it were fixed, the result of this
3969 # check would be larger than it should be.
3970 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
3974 # Under GNU Hurd, this test is not required because there is
3975 # no limit to the length of command line arguments.
3976 # Libtool will interpret -1 as no limit whatsoever
3977 lt_cv_sys_max_cmd_len
=-1;
3981 # On Win9x/ME, this test blows up -- it succeeds, but takes
3982 # about 5 minutes as the teststring grows exponentially.
3983 # Worse, since 9x/ME are not pre-emptively multitasking,
3984 # you end up with a "frozen" computer, even though with patience
3985 # the test eventually succeeds (with a max line length of 256k).
3986 # Instead, let's just punt: use the minimum linelength reported by
3987 # all of the supported platforms: 8192 (on NT/2K/XP).
3988 lt_cv_sys_max_cmd_len
=8192;
3992 # On AmigaOS with pdksh, this test takes hours, literally.
3993 # So we just punt and use a minimum line length of 8192.
3994 lt_cv_sys_max_cmd_len
=8192;
3997 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
3998 # This has been around since 386BSD, at least. Likely further.
3999 if test -x /sbin
/sysctl
; then
4000 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4001 elif test -x /usr
/sbin
/sysctl
; then
4002 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4004 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4006 # And add a safety zone
4007 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4008 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4012 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4013 lt_cv_sys_max_cmd_len
=196608
4017 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4018 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4019 # nice to cause kernel panics so lets avoid the loop below.
4020 # First set a reasonable default.
4021 lt_cv_sys_max_cmd_len
=16384
4023 if test -x /sbin
/sysconfig
; then
4024 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4025 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4030 lt_cv_sys_max_cmd_len
=102400
4032 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4033 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4034 if test -n "$kargmax"; then
4035 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4037 lt_cv_sys_max_cmd_len
=32768
4041 # Make teststring a little bigger before we do anything with it.
4042 # a 1K string should be a reasonable start.
4043 for i
in 1 2 3 4 5 6 7 8 ; do
4044 teststring
=$teststring$teststring
4046 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4047 # If test is not a shell built-in, we'll probably end up computing a
4048 # maximum length that is only half of the actual maximum length, but
4050 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4051 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
4052 test $i != 17 # 1/2 MB should be enough
4055 teststring
=$teststring$teststring
4057 # Only check the string length outside the loop.
4058 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4060 # Add a significant safety factor because C++ compilers can tack on massive
4061 # amounts of additional arguments before passing them to the linker.
4062 # It appears as though 1/2 is a usable value.
4063 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4069 if test -n $lt_cv_sys_max_cmd_len ; then
4070 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4071 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4073 echo "$as_me:$LINENO: result: none" >&5
4074 echo "${ECHO_T}none" >&6
4076 max_cmd_len
=$lt_cv_sys_max_cmd_len
4088 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4089 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
4090 # Try some XSI features
4093 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4094 = c,a/b,, ) >/dev/null 2>&1 \
4096 echo "$as_me:$LINENO: result
: $xsi_shell" >&5
4097 echo "${ECHO_T}$xsi_shell" >&6
4100 echo "$as_me:$LINENO: checking whether the shell understands
\"+=\"" >&5
4101 echo $ECHO_N "checking whether the shell understands
\"+=\"...
$ECHO_C" >&6
4103 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
4105 && lt_shell_append=yes
4106 echo "$as_me:$LINENO: result
: $lt_shell_append" >&5
4107 echo "${ECHO_T}$lt_shell_append" >&6
4110 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4120 # test EBCDIC or ASCII
4121 case `echo X|tr X '\101'` in
4122 A) # ASCII based system
4123 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4124 lt_SP2NL='tr \040 \012'
4125 lt_NL2SP='tr \015\012 \040\040'
4127 *) # EBCDIC based system
4128 lt_SP2NL='tr \100 \n'
4129 lt_NL2SP='tr \r\n \100\100'
4141 echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
4142 echo $ECHO_N "checking
for $LD option to reload object files...
$ECHO_C" >&6
4143 if test "${lt_cv_ld_reload_flag+set}" = set; then
4144 echo $ECHO_N "(cached
) $ECHO_C" >&6
4146 lt_cv_ld_reload_flag='-r'
4148 echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
4149 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4150 reload_flag=$lt_cv_ld_reload_flag
4151 case $reload_flag in
4153 *) reload_flag=" $reload_flag" ;;
4155 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4158 if test "$GCC" = yes; then
4159 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4161 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4175 echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
4176 echo $ECHO_N "checking how to recognize dependent libraries...
$ECHO_C" >&6
4177 if test "${lt_cv_deplibs_check_method+set}" = set; then
4178 echo $ECHO_N "(cached
) $ECHO_C" >&6
4180 lt_cv_file_magic_cmd='$MAGIC_CMD'
4181 lt_cv_file_magic_test_file=
4182 lt_cv_deplibs_check_method='unknown'
4183 # Need to set the preceding variable on all platforms that support
4184 # interlibrary dependencies.
4185 # 'none' -- dependencies not supported.
4186 # `unknown' -- same as none, but documents that we really don't know.
4187 # 'pass_all' -- all dependencies passed with no checks.
4188 # 'test_compile' -- check by making test program.
4189 # 'file_magic [[regex]]' -- check by looking for files in library path
4190 # which responds to the $file_magic_cmd with a given extended regex.
4191 # If you have `file' or equivalent on your system and you're not sure
4192 # whether `pass_all' will *always* work, you probably want this one.
4196 lt_cv_deplibs_check_method=pass_all
4200 lt_cv_deplibs_check_method=pass_all
4204 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4205 lt_cv_file_magic_cmd='/usr/bin/file -L'
4206 lt_cv_file_magic_test_file=/shlib/libc.so
4210 # func_win32_libid is a shell function defined in ltmain.sh
4211 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4212 lt_cv_file_magic_cmd='func_win32_libid'
4216 # Base MSYS/MinGW do not provide the 'file' command needed by
4217 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4218 # unless we find 'file', for example because we are cross-compiling.
4219 if ( file / ) >/dev/null 2>&1; then
4220 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4221 lt_cv_file_magic_cmd='func_win32_libid'
4223 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4224 lt_cv_file_magic_cmd='$OBJDUMP -f'
4228 darwin* | rhapsody*)
4229 lt_cv_deplibs_check_method=pass_all
4232 freebsd* | dragonfly*)
4233 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4236 # Not sure whether the presence of OpenBSD here was a mistake.
4237 # Let's accept both of them until this is cleared up.
4238 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4239 lt_cv_file_magic_cmd=/usr/bin/file
4240 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4244 lt_cv_deplibs_check_method=pass_all
4249 lt_cv_deplibs_check_method=pass_all
4252 hpux10.20* | hpux11*)
4253 lt_cv_file_magic_cmd=/usr/bin/file
4256 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4257 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4260 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]'
4261 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4264 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4265 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4271 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4272 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4275 irix5* | irix6* | nonstopux*)
4277 *-32|*"-32 ") libmagic=32-bit;;
4278 *-n32|*"-n32 ") libmagic=N32;;
4279 *-64|*"-64 ") libmagic=64-bit;;
4280 *) libmagic=never-match;;
4282 lt_cv_deplibs_check_method=pass_all
4285 # This must be Linux ELF.
4286 linux* | k*bsd*-gnu)
4287 lt_cv_deplibs_check_method=pass_all
4291 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4292 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4294 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4299 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4300 lt_cv_file_magic_cmd=/usr/bin/file
4301 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4305 lt_cv_deplibs_check_method=pass_all
4309 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
4310 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4312 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4316 osf3* | osf4* | osf5*)
4317 lt_cv_deplibs_check_method=pass_all
4321 lt_cv_deplibs_check_method=pass_all
4325 lt_cv_deplibs_check_method=pass_all
4328 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4329 lt_cv_deplibs_check_method=pass_all
4333 case $host_vendor in
4335 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]'
4336 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4339 lt_cv_deplibs_check_method=pass_all
4342 lt_cv_file_magic_cmd='/bin/file'
4343 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4346 lt_cv_file_magic_cmd='/bin/file'
4347 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
4348 lt_cv_file_magic_test_file=/lib/libc.so
4351 lt_cv_deplibs_check_method=pass_all
4354 lt_cv_deplibs_check_method=pass_all
4360 lt_cv_deplibs_check_method=pass_all
4365 echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
4366 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4367 file_magic_cmd=$lt_cv_file_magic_cmd
4368 deplibs_check_method=$lt_cv_deplibs_check_method
4369 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4382 if test -n "$ac_tool_prefix"; then
4383 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4384 set dummy ${ac_tool_prefix}ar; ac_word=$2
4385 echo "$as_me:$LINENO: checking
for $ac_word" >&5
4386 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
4387 if test "${ac_cv_prog_AR+set}" = set; then
4388 echo $ECHO_N "(cached
) $ECHO_C" >&6
4390 if test -n "$AR"; then
4391 ac_cv_prog_AR="$AR" # Let the user override the test.
4393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4397 test -z "$as_dir" && as_dir=.
4398 for ac_exec_ext in '' $ac_executable_extensions; do
4399 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4400 ac_cv_prog_AR="${ac_tool_prefix}ar"
4401 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4410 if test -n "$AR"; then
4411 echo "$as_me:$LINENO: result
: $AR" >&5
4412 echo "${ECHO_T}$AR" >&6
4414 echo "$as_me:$LINENO: result
: no
" >&5
4415 echo "${ECHO_T}no
" >&6
4419 if test -z "$ac_cv_prog_AR"; then
4421 # Extract the first word of "ar", so it can be a program name with args.
4422 set dummy ar; ac_word=$2
4423 echo "$as_me:$LINENO: checking
for $ac_word" >&5
4424 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
4425 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4426 echo $ECHO_N "(cached
) $ECHO_C" >&6
4428 if test -n "$ac_ct_AR"; then
4429 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4435 test -z "$as_dir" && as_dir=.
4436 for ac_exec_ext in '' $ac_executable_extensions; do
4437 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4438 ac_cv_prog_ac_ct_AR="ar"
4439 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4445 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false
"
4448 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4449 if test -n "$ac_ct_AR"; then
4450 echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
4451 echo "${ECHO_T}$ac_ct_AR" >&6
4453 echo "$as_me:$LINENO: result
: no
" >&5
4454 echo "${ECHO_T}no
" >&6
4462 test -z "$AR" && AR=ar
4463 test -z "$AR_FLAGS" && AR_FLAGS=cru
4475 if test -n "$ac_tool_prefix"; then
4476 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
4477 set dummy ${ac_tool_prefix}strip; ac_word=$2
4478 echo "$as_me:$LINENO: checking
for $ac_word" >&5
4479 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
4480 if test "${ac_cv_prog_STRIP+set}" = set; then
4481 echo $ECHO_N "(cached
) $ECHO_C" >&6
4483 if test -n "$STRIP"; then
4484 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4490 test -z "$as_dir" && as_dir=.
4491 for ac_exec_ext in '' $ac_executable_extensions; do
4492 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4493 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
4494 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4502 STRIP=$ac_cv_prog_STRIP
4503 if test -n "$STRIP"; then
4504 echo "$as_me:$LINENO: result
: $STRIP" >&5
4505 echo "${ECHO_T}$STRIP" >&6
4507 echo "$as_me:$LINENO: result
: no
" >&5
4508 echo "${ECHO_T}no
" >&6
4512 if test -z "$ac_cv_prog_STRIP"; then
4514 # Extract the first word of "strip
", so it can be a program name with args.
4515 set dummy strip; ac_word=$2
4516 echo "$as_me:$LINENO: checking
for $ac_word" >&5
4517 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
4518 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4519 echo $ECHO_N "(cached
) $ECHO_C" >&6
4521 if test -n "$ac_ct_STRIP"; then
4522 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4528 test -z "$as_dir" && as_dir=.
4529 for ac_exec_ext in '' $ac_executable_extensions; do
4530 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4531 ac_cv_prog_ac_ct_STRIP="strip
"
4532 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4538 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4541 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4542 if test -n "$ac_ct_STRIP"; then
4543 echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
4544 echo "${ECHO_T}$ac_ct_STRIP" >&6
4546 echo "$as_me:$LINENO: result
: no
" >&5
4547 echo "${ECHO_T}no
" >&6
4552 STRIP="$ac_cv_prog_STRIP"
4555 test -z "$STRIP" && STRIP=:
4562 if test -n "$ac_tool_prefix"; then
4563 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
4564 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4565 echo "$as_me:$LINENO: checking
for $ac_word" >&5
4566 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
4567 if test "${ac_cv_prog_RANLIB+set}" = set; then
4568 echo $ECHO_N "(cached
) $ECHO_C" >&6
4570 if test -n "$RANLIB"; then
4571 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4577 test -z "$as_dir" && as_dir=.
4578 for ac_exec_ext in '' $ac_executable_extensions; do
4579 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4580 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
4581 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4589 RANLIB=$ac_cv_prog_RANLIB
4590 if test -n "$RANLIB"; then
4591 echo "$as_me:$LINENO: result
: $RANLIB" >&5
4592 echo "${ECHO_T}$RANLIB" >&6
4594 echo "$as_me:$LINENO: result
: no
" >&5
4595 echo "${ECHO_T}no
" >&6
4599 if test -z "$ac_cv_prog_RANLIB"; then
4600 ac_ct_RANLIB=$RANLIB
4601 # Extract the first word of "ranlib
", so it can be a program name with args.
4602 set dummy ranlib; ac_word=$2
4603 echo "$as_me:$LINENO: checking
for $ac_word" >&5
4604 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
4605 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4606 echo $ECHO_N "(cached
) $ECHO_C" >&6
4608 if test -n "$ac_ct_RANLIB"; then
4609 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4615 test -z "$as_dir" && as_dir=.
4616 for ac_exec_ext in '' $ac_executable_extensions; do
4617 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4618 ac_cv_prog_ac_ct_RANLIB="ranlib
"
4619 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4625 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4628 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4629 if test -n "$ac_ct_RANLIB"; then
4630 echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
4631 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4633 echo "$as_me:$LINENO: result
: no
" >&5
4634 echo "${ECHO_T}no
" >&6
4637 RANLIB=$ac_ct_RANLIB
4639 RANLIB="$ac_cv_prog_RANLIB"
4642 test -z "$RANLIB" && RANLIB=:
4649 # Determine commands to create old-style static archives.
4650 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
4651 old_postinstall_cmds='chmod 644 $oldlib'
4652 old_postuninstall_cmds=
4654 if test -n "$RANLIB"; then
4657 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
4660 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
4663 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
4699 # If no C compiler was specified, use CC.
4702 # If no C compiler flags were specified, use CFLAGS.
4703 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
4705 # Allow CC to be a program name with arguments.
4709 # Check for command to grab the raw symbol name followed by C symbol from nm.
4710 echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
4711 echo $ECHO_N "checking
command to parse
$NM output from
$compiler object...
$ECHO_C" >&6
4712 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
4713 echo $ECHO_N "(cached
) $ECHO_C" >&6
4716 # These are sane defaults that work on at least a few old systems.
4717 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
4719 # Character class describing NM global symbol codes.
4720 symcode='[BCDEGRST]'
4722 # Regexp to match symbols that can be accessed directly from C.
4723 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
4725 # Define system-specific variables.
4730 cygwin* | mingw* | pw32*)
4731 symcode='[ABCDGISTW]'
4734 if test "$host_cpu" = ia64; then
4735 symcode='[ABCDEGRST]'
4739 symcode='[BCDEGRST]'
4742 symcode='[BCDEGQRST]'
4753 sysv5* | sco5v6* | unixware* | OpenUNIX*)
4761 # If we're using GNU nm, then use its standard symbol codes.
4762 case `$NM -V 2>&1` in
4763 *GNU* | *'with BFD'*)
4764 symcode='[ABCDGIRSTW]' ;;
4767 # Transform an extracted symbol line into a proper C declaration.
4768 # Some systems (esp. on ia64) link data and code symbols differently,
4769 # so use this general approach.
4770 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
4772 # Transform an extracted symbol line into symbol name and symbol address
4773 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
4775 # Handle CRLF in mingw tool chain
4779 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
4783 # Try without a prefix underscore, then with it.
4784 for ac_symprfx in "" "_
"; do
4786 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
4787 symxfrm="\\1 $ac_symprfx\\2 \\2"
4789 # Write the raw and C identifiers.
4790 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
4791 # Fake it for dumpbin and say T for any non-static function
4792 # and D for any global variable.
4793 # Also find C++ and __fastcall symbols from MSVC++,
4794 # which start with @ or ?.
4795 lt_cv_sys_global_symbol_pipe="$AWK '"\
4796 " {last_section=section; section=\$ 3};"\
4797 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
4798 " \$ 0!~/External *\|/{next};"\
4799 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
4800 " {if(hide[section]) next};"\
4801 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
4802 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
4803 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
4804 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
4805 " ' prfx
=^
$ac_symprfx"
4807 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
4810 # Check to see that the pipe works correctly.
4814 cat > conftest.$ac_ext <<_LT_EOF
4819 void nm_test_func(void);
4820 void nm_test_func(void){}
4824 int main(){nm_test_var='a';nm_test_func();return(0);}
4827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4828 (eval $ac_compile) 2>&5
4830 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4831 (exit $ac_status); }; then
4832 # Now try to grab the symbols.
4834 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
4835 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
4837 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4838 (exit $ac_status); } && test -s "$nlist"; then
4839 # Try sorting and uniquifying the output.
4840 if sort "$nlist" | uniq > "$nlist"T; then
4841 mv -f "$nlist"T "$nlist"
4846 # Make sure that we snagged all the symbols we need.
4847 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
4848 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
4849 cat <<_LT_EOF > conftest.$ac_ext
4855 # Now generate the symbol file.
4856 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
4858 cat <<_LT_EOF >> conftest.$ac_ext
4860 /* The mapping between symbol names and symbols. */
4865 lt__PROGRAM__LTX_preloaded_symbols[] =
4867 { "@PROGRAM@
", (void *) 0 },
4869 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
4870 cat <<\_LT_EOF >> conftest.$ac_ext
4874 /* This works around a problem in FreeBSD linker */
4875 #ifdef FREEBSD_WORKAROUND
4876 static const void *lt_preloaded_setup() {
4877 return lt__PROGRAM__LTX_preloaded_symbols;
4885 # Now try linking the two files.
4886 mv conftest.$ac_objext conftstm.$ac_objext
4887 lt_save_LIBS="$LIBS"
4888 lt_save_CFLAGS="$CFLAGS"
4889 LIBS="conftstm.
$ac_objext"
4890 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
4891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4892 (eval $ac_link) 2>&5
4894 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4895 (exit $ac_status); } && test -s conftest${ac_exeext}; then
4898 LIBS="$lt_save_LIBS"
4899 CFLAGS="$lt_save_CFLAGS"
4901 echo "cannot
find nm_test_func
in $nlist" >&5
4904 echo "cannot
find nm_test_var
in $nlist" >&5
4907 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
4910 echo "$progname: failed program was
:" >&5
4911 cat conftest.$ac_ext >&5
4913 rm -f conftest* conftst*
4915 # Do not use the global_symbol_pipe unless it works.
4916 if test "$pipe_works" = yes; then
4919 lt_cv_sys_global_symbol_pipe=
4925 if test -z "$lt_cv_sys_global_symbol_pipe"; then
4926 lt_cv_sys_global_symbol_to_cdecl=
4928 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
4929 echo "$as_me:$LINENO: result
: failed
" >&5
4930 echo "${ECHO_T}failed
" >&6
4932 echo "$as_me:$LINENO: result
: ok
" >&5
4933 echo "${ECHO_T}ok
" >&6
4953 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4954 if test "${enable_libtool_lock+set}" = set; then
4955 enableval="$enable_libtool_lock"
4958 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
4960 # Some flags need to be propagated to the compiler or linker for good
4964 # Find out which ABI we are using.
4965 echo 'int i;' > conftest.$ac_ext
4966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4967 (eval $ac_compile) 2>&5
4969 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4970 (exit $ac_status); }; then
4971 case `/usr/bin/file conftest.$ac_objext` in
4983 # Find out which ABI we are using.
4984 echo '#line 4984 "configure
"' > conftest.$ac_ext
4985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4986 (eval $ac_compile) 2>&5
4988 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4989 (exit $ac_status); }; then
4990 if test "$lt_cv_prog_gnu_ld" = yes; then
4991 case `/usr/bin/file conftest.$ac_objext` in
4993 LD="${LD-ld} -melf32bsmip"
4996 LD="${LD-ld} -melf32bmipn32"
4999 LD="${LD-ld} -melf64bmip"
5003 case `/usr/bin/file conftest.$ac_objext` in
5019 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5020 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5021 # Find out which ABI we are using.
5022 echo 'int i;' > conftest.$ac_ext
5023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5024 (eval $ac_compile) 2>&5
5026 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5027 (exit $ac_status); }; then
5028 case `/usr/bin/file conftest.o` in
5031 x86_64-*kfreebsd*-gnu)
5032 LD="${LD-ld} -m elf_i386_fbsd
"
5035 LD="${LD-ld} -m elf_i386
"
5037 ppc64-*linux*|powerpc64-*linux*)
5038 LD="${LD-ld} -m elf32ppclinux
"
5041 LD="${LD-ld} -m elf_s390
"
5044 LD="${LD-ld} -m elf32_sparc
"
5050 x86_64-*kfreebsd*-gnu)
5051 LD="${LD-ld} -m elf_x86_64_fbsd
"
5054 LD="${LD-ld} -m elf_x86_64
"
5056 ppc*-*linux*|powerpc*-*linux*)
5057 LD="${LD-ld} -m elf64ppc
"
5059 s390*-*linux*|s390*-*tpf*)
5060 LD="${LD-ld} -m elf64_s390
"
5063 LD="${LD-ld} -m elf64_sparc
"
5073 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5074 SAVE_CFLAGS="$CFLAGS"
5075 CFLAGS="$CFLAGS -belf"
5076 echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
5077 echo $ECHO_N "checking whether the C compiler needs
-belf...
$ECHO_C" >&6
5078 if test "${lt_cv_cc_needs_belf+set}" = set; then
5079 echo $ECHO_N "(cached
) $ECHO_C" >&6
5082 ac_cpp='$CPP $CPPFLAGS'
5083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5087 if test x$gcc_no_link = xyes; then
5088 { { echo "$as_me:$LINENO: error
: Link tests are not allowed after GCC_NO_EXECUTABLES.
" >&5
5089 echo "$as_me: error
: Link tests are not allowed after GCC_NO_EXECUTABLES.
" >&2;}
5090 { (exit 1); exit 1; }; }
5092 cat >conftest.$ac_ext <<_ACEOF
5095 cat confdefs.h >>conftest.$ac_ext
5096 cat >>conftest.$ac_ext <<_ACEOF
5097 /* end confdefs.h. */
5107 rm -f conftest.$ac_objext conftest$ac_exeext
5108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5109 (eval $ac_link) 2>conftest.er1
5111 grep -v '^ *+' conftest.er1 >conftest.err
5113 cat conftest.err >&5
5114 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5115 (exit $ac_status); } &&
5116 { ac_try='test -z "$ac_c_werror_flag"
5117 || test ! -s conftest.err'
5118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5121 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5122 (exit $ac_status); }; } &&
5123 { ac_try='test -s conftest$ac_exeext'
5124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5127 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5128 (exit $ac_status); }; }; then
5129 lt_cv_cc_needs_belf=yes
5131 echo "$as_me: failed program was
:" >&5
5132 sed 's/^/| /' conftest.$ac_ext >&5
5134 lt_cv_cc_needs_belf=no
5136 rm -f conftest.err conftest.$ac_objext \
5137 conftest$ac_exeext conftest.$ac_ext
5139 ac_cpp='$CPP $CPPFLAGS'
5140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5145 echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
5146 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5147 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5148 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5149 CFLAGS="$SAVE_CFLAGS"
5153 # Find out which ABI we are using.
5154 echo 'int i;' > conftest.$ac_ext
5155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5156 (eval $ac_compile) 2>&5
5158 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5159 (exit $ac_status); }; then
5160 case `/usr/bin/file conftest.o` in
5162 case $lt_cv_prog_gnu_ld in
5163 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
5164 *) LD="${LD-ld} -64" ;;
5173 need_locks="$enable_libtool_lock"
5176 ac_cpp='$CPP $CPPFLAGS'
5177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5180 echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
5181 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6
5182 # On Suns, sometimes $CPP names a directory.
5183 if test -n "$CPP" && test -d "$CPP"; then
5186 if test -z "$CPP"; then
5187 if test "${ac_cv_prog_CPP+set}" = set; then
5188 echo $ECHO_N "(cached
) $ECHO_C" >&6
5190 # Double quotes because CPP needs to be expanded
5191 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
5194 for ac_c_preproc_warn_flag in '' yes
5196 # Use a header file that comes with gcc, so configuring glibc
5197 # with a fresh cross-compiler works.
5198 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5199 # <limits.h> exists even on freestanding compilers.
5200 # On the NeXT, cc -E runs the code through the compiler's parser,
5201 # not just through cpp. "Syntax error
" is here to catch this case.
5202 cat >conftest.$ac_ext <<_ACEOF
5205 cat confdefs.h >>conftest.$ac_ext
5206 cat >>conftest.$ac_ext <<_ACEOF
5207 /* end confdefs.h. */
5209 # include <limits.h>
5211 # include <assert.h>
5215 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
5216 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5218 grep -v '^ *+' conftest.er1 >conftest.err
5220 cat conftest.err >&5
5221 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5222 (exit $ac_status); } >/dev/null; then
5223 if test -s conftest.err; then
5224 ac_cpp_err=$ac_c_preproc_warn_flag
5225 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5232 if test -z "$ac_cpp_err"; then
5235 echo "$as_me: failed program was
:" >&5
5236 sed 's/^/| /' conftest.$ac_ext >&5
5238 # Broken: fails on valid input.
5241 rm -f conftest.err conftest.$ac_ext
5243 # OK, works on sane cases. Now check whether non-existent headers
5244 # can be detected and how.
5245 cat >conftest.$ac_ext <<_ACEOF
5248 cat confdefs.h >>conftest.$ac_ext
5249 cat >>conftest.$ac_ext <<_ACEOF
5250 /* end confdefs.h. */
5251 #include <ac_nonexistent.h>
5253 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
5254 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5256 grep -v '^ *+' conftest.er1 >conftest.err
5258 cat conftest.err >&5
5259 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5260 (exit $ac_status); } >/dev/null; then
5261 if test -s conftest.err; then
5262 ac_cpp_err=$ac_c_preproc_warn_flag
5263 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5270 if test -z "$ac_cpp_err"; then
5271 # Broken: success on invalid input.
5274 echo "$as_me: failed program was
:" >&5
5275 sed 's/^/| /' conftest.$ac_ext >&5
5277 # Passes both tests.
5281 rm -f conftest.err conftest.$ac_ext
5284 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5285 rm -f conftest.err conftest.$ac_ext
5286 if $ac_preproc_ok; then
5298 echo "$as_me:$LINENO: result
: $CPP" >&5
5299 echo "${ECHO_T}$CPP" >&6
5301 for ac_c_preproc_warn_flag in '' yes
5303 # Use a header file that comes with gcc, so configuring glibc
5304 # with a fresh cross-compiler works.
5305 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5306 # <limits.h> exists even on freestanding compilers.
5307 # On the NeXT, cc -E runs the code through the compiler's parser,
5308 # not just through cpp. "Syntax error
" is here to catch this case.
5309 cat >conftest.$ac_ext <<_ACEOF
5312 cat confdefs.h >>conftest.$ac_ext
5313 cat >>conftest.$ac_ext <<_ACEOF
5314 /* end confdefs.h. */
5316 # include <limits.h>
5318 # include <assert.h>
5322 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
5323 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5325 grep -v '^ *+' conftest.er1 >conftest.err
5327 cat conftest.err >&5
5328 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5329 (exit $ac_status); } >/dev/null; then
5330 if test -s conftest.err; then
5331 ac_cpp_err=$ac_c_preproc_warn_flag
5332 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5339 if test -z "$ac_cpp_err"; then
5342 echo "$as_me: failed program was
:" >&5
5343 sed 's/^/| /' conftest.$ac_ext >&5
5345 # Broken: fails on valid input.
5348 rm -f conftest.err conftest.$ac_ext
5350 # OK, works on sane cases. Now check whether non-existent headers
5351 # can be detected and how.
5352 cat >conftest.$ac_ext <<_ACEOF
5355 cat confdefs.h >>conftest.$ac_ext
5356 cat >>conftest.$ac_ext <<_ACEOF
5357 /* end confdefs.h. */
5358 #include <ac_nonexistent.h>
5360 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
5361 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5363 grep -v '^ *+' conftest.er1 >conftest.err
5365 cat conftest.err >&5
5366 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5367 (exit $ac_status); } >/dev/null; then
5368 if test -s conftest.err; then
5369 ac_cpp_err=$ac_c_preproc_warn_flag
5370 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5377 if test -z "$ac_cpp_err"; then
5378 # Broken: success on invalid input.
5381 echo "$as_me: failed program was
:" >&5
5382 sed 's/^/| /' conftest.$ac_ext >&5
5384 # Passes both tests.
5388 rm -f conftest.err conftest.$ac_ext
5391 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5392 rm -f conftest.err conftest.$ac_ext
5393 if $ac_preproc_ok; then
5396 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
5397 See \
`config.log' for more details." >&5
5398 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5399 See \`config.log
' for more details." >&2;}
5400 { (exit 1); exit 1; }; }
5404 ac_cpp='$CPP $CPPFLAGS'
5405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
5406 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
5407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5410 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5411 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5412 if test "${ac_cv_header_stdc+set}" = set; then
5413 echo $ECHO_N "(cached) $ECHO_C" >&6
5415 cat >conftest.$ac_ext <<_ACEOF
5418 cat confdefs.h >>conftest.$ac_ext
5419 cat >>conftest.$ac_ext <<_ACEOF
5420 /* end confdefs.h. */
5434 rm -f conftest.$ac_objext
5435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5436 (eval $ac_compile) 2>conftest.er1
5438 grep -v '^
*+' conftest.er1 >conftest.err
5440 cat conftest.err >&5
5441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5442 (exit $ac_status); } &&
5443 { ac_try='test -z "$ac_c_werror_flag"
5444 ||
test ! -s conftest.err
'
5445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5449 (exit $ac_status); }; } &&
5450 { ac_try='test -s conftest.
$ac_objext'
5451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5455 (exit $ac_status); }; }; then
5456 ac_cv_header_stdc=yes
5458 echo "$as_me: failed program was:" >&5
5459 sed 's
/^
/|
/' conftest.$ac_ext >&5
5461 ac_cv_header_stdc=no
5463 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5465 if test $ac_cv_header_stdc = yes; then
5466 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5467 cat >conftest.$ac_ext <<_ACEOF
5470 cat confdefs.h >>conftest.$ac_ext
5471 cat >>conftest.$ac_ext <<_ACEOF
5472 /* end confdefs.h. */
5476 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5477 $EGREP "memchr" >/dev/null 2>&1; then
5480 ac_cv_header_stdc=no
5486 if test $ac_cv_header_stdc = yes; then
5487 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5488 cat >conftest.$ac_ext <<_ACEOF
5491 cat confdefs.h >>conftest.$ac_ext
5492 cat >>conftest.$ac_ext <<_ACEOF
5493 /* end confdefs.h. */
5497 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5498 $EGREP "free" >/dev/null 2>&1; then
5501 ac_cv_header_stdc=no
5507 if test $ac_cv_header_stdc = yes; then
5508 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5509 if test "$cross_compiling" = yes; then
5512 cat >conftest.$ac_ext <<_ACEOF
5515 cat confdefs.h >>conftest.$ac_ext
5516 cat >>conftest.$ac_ext <<_ACEOF
5517 /* end confdefs.h. */
5519 #if ((' ' & 0x0FF) == 0x020)
5520 # define ISLOWER(c) ('a
' <= (c) && (c) <= 'z
')
5521 # define TOUPPER(c) (ISLOWER(c) ? 'A
' + ((c) - 'a
') : (c))
5523 # define ISLOWER(c) \
5524 (('a
' <= (c) && (c) <= 'i
') \
5525 || ('j
' <= (c) && (c) <= 'r
') \
5526 || ('s
' <= (c) && (c) <= 'z
'))
5527 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5530 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5535 for (i = 0; i < 256; i++)
5536 if (XOR (islower (i), ISLOWER (i))
5537 || toupper (i) != TOUPPER (i))
5542 rm -f conftest$ac_exeext
5543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5544 (eval $ac_link) 2>&5
5546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5547 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
5548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5552 (exit $ac_status); }; }; then
5555 echo "$as_me: program exited with status $ac_status" >&5
5556 echo "$as_me: failed program was:" >&5
5557 sed 's
/^
/|
/' conftest.$ac_ext >&5
5560 ac_cv_header_stdc=no
5562 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5566 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5567 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5568 if test $ac_cv_header_stdc = yes; then
5570 cat >>confdefs.h <<\_ACEOF
5571 #define STDC_HEADERS 1
5576 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5586 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5587 inttypes.h stdint.h unistd.h
5589 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5590 echo "$as_me:$LINENO: checking for $ac_header" >&5
5591 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5592 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5593 echo $ECHO_N "(cached) $ECHO_C" >&6
5595 cat >conftest.$ac_ext <<_ACEOF
5598 cat confdefs.h >>conftest.$ac_ext
5599 cat >>conftest.$ac_ext <<_ACEOF
5600 /* end confdefs.h. */
5601 $ac_includes_default
5603 #include <$ac_header>
5605 rm -f conftest.$ac_objext
5606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5607 (eval $ac_compile) 2>conftest.er1
5609 grep -v '^
*+' conftest.er1 >conftest.err
5611 cat conftest.err >&5
5612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5613 (exit $ac_status); } &&
5614 { ac_try='test -z "$ac_c_werror_flag"
5615 ||
test ! -s conftest.err
'
5616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5620 (exit $ac_status); }; } &&
5621 { ac_try='test -s conftest.
$ac_objext'
5622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5626 (exit $ac_status); }; }; then
5627 eval "$as_ac_Header=yes"
5629 echo "$as_me: failed program was:" >&5
5630 sed 's
/^
/|
/' conftest.$ac_ext >&5
5632 eval "$as_ac_Header=no"
5634 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5636 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5637 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5638 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5639 cat >>confdefs.h <<_ACEOF
5640 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5649 for ac_header in dlfcn.h
5651 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5652 echo "$as_me:$LINENO: checking for $ac_header" >&5
5653 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5654 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5655 echo $ECHO_N "(cached) $ECHO_C" >&6
5657 cat >conftest.$ac_ext <<_ACEOF
5660 cat confdefs.h >>conftest.$ac_ext
5661 cat >>conftest.$ac_ext <<_ACEOF
5662 /* end confdefs.h. */
5663 $ac_includes_default
5665 #include <$ac_header>
5667 rm -f conftest.$ac_objext
5668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5669 (eval $ac_compile) 2>conftest.er1
5671 grep -v '^
*+' conftest.er1 >conftest.err
5673 cat conftest.err >&5
5674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5675 (exit $ac_status); } &&
5676 { ac_try='test -z "$ac_c_werror_flag"
5677 ||
test ! -s conftest.err
'
5678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5682 (exit $ac_status); }; } &&
5683 { ac_try='test -s conftest.
$ac_objext'
5684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5688 (exit $ac_status); }; }; then
5689 eval "$as_ac_Header=yes"
5691 echo "$as_me: failed program was:" >&5
5692 sed 's
/^
/|
/' conftest.$ac_ext >&5
5694 eval "$as_ac_Header=no"
5696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5698 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5699 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5700 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5701 cat >>confdefs.h <<_ACEOF
5702 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5711 # This can be used to rebuild libtool when needed
5712 LIBTOOL_DEPS="$ltmain"
5714 # Always use our own libtool.
5715 LIBTOOL='$
(SHELL
) $
(top_builddir
)/libtool
'
5741 test -z "$LN_S" && LN_S="ln -s"
5756 if test -n "${ZSH_VERSION+set}" ; then
5757 setopt NO_GLOB_SUBST
5760 echo "$as_me:$LINENO: checking for objdir" >&5
5761 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
5762 if test "${lt_cv_objdir+set}" = set; then
5763 echo $ECHO_N "(cached) $ECHO_C" >&6
5765 rm -f .libs 2>/dev/null
5766 mkdir .libs 2>/dev/null
5767 if test -d .libs; then
5770 # MS-DOS does not allow filenames that begin with a dot.
5773 rmdir .libs 2>/dev/null
5775 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5776 echo "${ECHO_T}$lt_cv_objdir" >&6
5777 objdir=$lt_cv_objdir
5783 cat >>confdefs.h <<_ACEOF
5784 #define LT_OBJDIR "$lt_cv_objdir/"
5805 # AIX sometimes has problems with the GCC collect2 program. For some
5806 # reason, if we set the COLLECT_NAMES environment variable, the problems
5807 # vanish in a puff of smoke.
5808 if test "X${COLLECT_NAMES+set}" != Xset; then
5810 export COLLECT_NAMES
5815 # Sed substitution that helps us do robust quoting. It backslashifies
5816 # metacharacters that are still active within double-quoted strings.
5817 sed_quote_subst='s
/\
(["`$\\]\)/\\\1/g'
5819 # Same as above, but do not quote variable references.
5820 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5822 # Sed substitution to delay expansion of an escaped shell variable in a
5823 # double_quote_subst'ed string.
5824 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5826 # Sed substitution to delay expansion of an escaped single quote.
5827 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5829 # Sed substitution to avoid accidental globbing in evaled expressions
5830 no_glob_subst='s/\*/\\\*/g'
5834 can_build_shared=yes
5836 # All known linkers require a `.a
' archive for static linking (except MSVC,
5837 # which needs '.lib
').
5840 with_gnu_ld="$lt_cv_prog_gnu_ld"
5843 old_CFLAGS="$CFLAGS"
5845 # Set sane defaults for various variables
5846 test -z "$CC" && CC=cc
5847 test -z "$LTCC" && LTCC=$CC
5848 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
5849 test -z "$LD" && LD=ld
5850 test -z "$ac_objext" && ac_objext=o
5852 for cc_temp in $compiler""; do
5854 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
5855 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
5860 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's
%.
*/%%' -e "s%^$host_alias-%%"`
5863 # Only perform the check for file, if the check method requires it
5864 test -z "$MAGIC_CMD" && MAGIC_CMD=file
5865 case $deplibs_check_method in
5867 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
5868 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
5869 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
5870 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5871 echo $ECHO_N "(cached) $ECHO_C" >&6
5875 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
5878 lt_save_MAGIC_CMD="$MAGIC_CMD"
5879 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5880 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
5881 for ac_dir in $ac_dummy; do
5883 test -z "$ac_dir" && ac_dir=.
5884 if test -f $ac_dir/${ac_tool_prefix}file; then
5885 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
5886 if test -n "$file_magic_test_file"; then
5887 case $deplibs_check_method in
5889 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
5890 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5891 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
5892 $EGREP "$file_magic_regex" > /dev/null; then
5897 *** Warning: the command libtool uses to detect shared libraries,
5898 *** $file_magic_cmd, produces output that libtool cannot recognize.
5899 *** The result is that libtool may fail to recognize shared libraries
5900 *** as such. This will affect the creation of libtool libraries that
5901 *** depend on shared libraries, but programs linked with such libtool
5902 *** libraries will work regardless of this problem. Nevertheless, you
5903 *** may want to report the problem to your system manager and/or to
5904 *** bug-libtool@gnu.org
5914 MAGIC_CMD="$lt_save_MAGIC_CMD"
5919 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5920 if test -n "$MAGIC_CMD"; then
5921 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5922 echo "${ECHO_T}$MAGIC_CMD" >&6
5924 echo "$as_me:$LINENO: result: no" >&5
5925 echo "${ECHO_T}no" >&6
5932 if test -z "$lt_cv_path_MAGIC_CMD"; then
5933 if test -n "$ac_tool_prefix"; then
5934 echo "$as_me:$LINENO: checking for file" >&5
5935 echo $ECHO_N "checking for file... $ECHO_C" >&6
5936 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5937 echo $ECHO_N "(cached) $ECHO_C" >&6
5941 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
5944 lt_save_MAGIC_CMD="$MAGIC_CMD"
5945 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5946 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
5947 for ac_dir in $ac_dummy; do
5949 test -z "$ac_dir" && ac_dir=.
5950 if test -f $ac_dir/file; then
5951 lt_cv_path_MAGIC_CMD="$ac_dir/file"
5952 if test -n "$file_magic_test_file"; then
5953 case $deplibs_check_method in
5955 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
5956 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5957 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
5958 $EGREP "$file_magic_regex" > /dev/null; then
5963 *** Warning: the command libtool uses to detect shared libraries,
5964 *** $file_magic_cmd, produces output that libtool cannot recognize.
5965 *** The result is that libtool may fail to recognize shared libraries
5966 *** as such. This will affect the creation of libtool libraries that
5967 *** depend on shared libraries, but programs linked with such libtool
5968 *** libraries will work regardless of this problem. Nevertheless, you
5969 *** may want to report the problem to your system manager and/or to
5970 *** bug-libtool@gnu.org
5980 MAGIC_CMD="$lt_save_MAGIC_CMD"
5985 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5986 if test -n "$MAGIC_CMD"; then
5987 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5988 echo "${ECHO_T}$MAGIC_CMD" >&6
5990 echo "$as_me:$LINENO: result: no" >&5
5991 echo "${ECHO_T}no" >&6
6004 # Use C for the default configuration in the libtool script
6008 ac_cpp='$CPP $CPPFLAGS'
6009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6010 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6014 # Source file extension for C test sources.
6017 # Object file extension for compiled C test sources.
6021 # Code to be used in simple compile tests
6022 lt_simple_compile_test_code="int some_variable = 0;"
6024 # Code to be used in simple link tests
6025 lt_simple_link_test_code='int main
(){return(0);}'
6033 # If no C compiler was specified, use CC.
6036 # If no C compiler flags were specified, use CFLAGS.
6037 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6039 # Allow CC to be a program name with arguments.
6042 # Save the default compiler, since it gets overwritten when the other
6043 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
6044 compiler_DEFAULT=$CC
6046 # save warnings/boilerplate of simple test code
6047 ac_outfile=conftest.$ac_objext
6048 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
6049 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$
/d
; /^
*+/d
' >conftest.err
6050 _lt_compiler_boilerplate=`cat conftest.err`
6053 ac_outfile=conftest.$ac_objext
6054 echo "$lt_simple_link_test_code" >conftest.$ac_ext
6055 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$
/d
; /^
*+/d
' >conftest.err
6056 _lt_linker_boilerplate=`cat conftest.err`
6061 ## There is no encapsulation within the following macros, do not change
6062 ## the running order or otherwise move them around unless you know exactly
6063 ## what you are doing...
6064 if test -n "$compiler"; then
6066 lt_prog_compiler_no_builtin_flag=
6068 if test "$GCC" = yes; then
6069 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6071 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6072 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6073 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6074 echo $ECHO_N "(cached) $ECHO_C" >&6
6076 lt_cv_prog_compiler_rtti_exceptions=no
6077 ac_outfile=conftest.$ac_objext
6078 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6079 lt_compiler_flag="-fno-rtti -fno-exceptions"
6080 # Insert the option either (1) after the last *FLAGS variable, or
6081 # (2) before a word containing "conftest.", or (3) at the end.
6082 # Note that $ac_compile itself does not contain backslashes and begins
6083 # with a dollar sign (not a hyphen), so the echo should work correctly.
6084 # The option is referenced via a variable to avoid confusing sed.
6085 lt_compile=`echo "$ac_compile" | $SED \
6086 -e 's
:.
*FLAGS
}\
{0,1\
} :&$lt_compiler_flag :; t
' \
6087 -e 's
: [^
]*conftest\.
: $lt_compiler_flag&:; t
' \
6088 -e 's
:$
: $lt_compiler_flag:'`
6089 (eval echo "\"\$as_me:6089: $lt_compile\"" >&5)
6090 (eval "$lt_compile" 2>conftest.err)
6092 cat conftest.err >&5
6093 echo "$as_me:6093: \$? = $ac_status" >&5
6094 if (exit $ac_status) && test -s "$ac_outfile"; then
6095 # The compiler can only warn and ignore the option if not recognized
6096 # So say no if there are warnings other than the usual output.
6097 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$
/d
' >conftest.exp
6098 $SED '/^$
/d
; /^
*+/d
' conftest.err >conftest.er2
6099 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6100 lt_cv_prog_compiler_rtti_exceptions=yes
6106 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6107 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6109 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6110 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6122 lt_prog_compiler_wl=
6123 lt_prog_compiler_pic=
6124 lt_prog_compiler_static=
6126 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6127 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6129 if test "$GCC" = yes; then
6130 lt_prog_compiler_wl='-Wl,'
6131 lt_prog_compiler_static='-static'
6135 # All AIX code is PIC.
6136 if test "$host_cpu" = ia64; then
6137 # AIX 5 now supports IA64 processor
6138 lt_prog_compiler_static='-Bstatic'
6143 if test "$host_cpu" = m68k; then
6144 # FIXME: we need at least 68020 code to build shared libraries, but
6145 # adding the `-m68020' flag to GCC prevents building anything better
,
6147 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
6151 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
6152 # PIC is the default for these OSes.
6155 mingw
* | cygwin
* | pw32
* | os2
*)
6156 # This hack is so that the source file can tell whether it is being
6157 # built for inclusion in a dll (and should export symbols for example).
6158 # Although the cygwin gcc ignores -fPIC, still need this for old-style
6159 # (--disable-auto-import) libraries
6160 lt_prog_compiler_pic
='-DDLL_EXPORT'
6163 darwin
* | rhapsody
*)
6164 # PIC is the default on this platform
6165 # Common symbols not allowed in MH_DYLIB files
6166 lt_prog_compiler_pic
='-fno-common'
6170 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6177 lt_prog_compiler_pic
='-fPIC'
6183 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6184 # Instead, we relocate shared libraries at runtime.
6188 # Just because we use GCC doesn't mean we suddenly get shared libraries
6189 # on systems that don't support them.
6190 lt_prog_compiler_can_build_shared
=no
6195 # QNX uses GNU C++, but need to define -shared option too, otherwise
6197 lt_prog_compiler_pic
='-fPIC -shared'
6201 if test -d /usr
/nec
; then
6202 lt_prog_compiler_pic
=-Kconform_pic
6207 lt_prog_compiler_pic
='-fPIC'
6211 # PORTME Check for flag to pass linker flags through the system compiler.
6214 lt_prog_compiler_wl
='-Wl,'
6215 if test "$host_cpu" = ia64
; then
6216 # AIX 5 now supports IA64 processor
6217 lt_prog_compiler_static
='-Bstatic'
6219 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
6223 # PIC is the default on this platform
6224 # Common symbols not allowed in MH_DYLIB files
6225 case $cc_basename in
6227 lt_prog_compiler_pic
='-qnocommon'
6228 lt_prog_compiler_wl
='-Wl,'
6233 mingw
* | cygwin
* | pw32
* | os2
*)
6234 # This hack is so that the source file can tell whether it is being
6235 # built for inclusion in a dll (and should export symbols for example).
6236 lt_prog_compiler_pic
='-DDLL_EXPORT'
6239 hpux9
* | hpux10
* | hpux11
*)
6240 lt_prog_compiler_wl
='-Wl,'
6241 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6248 lt_prog_compiler_pic
='+Z'
6251 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6252 lt_prog_compiler_static
='${wl}-a ${wl}archive'
6255 irix5
* | irix6
* | nonstopux
*)
6256 lt_prog_compiler_wl
='-Wl,'
6257 # PIC (with -KPIC) is the default.
6258 lt_prog_compiler_static
='-non_shared'
6261 linux
* | k
*bsd
*-gnu)
6262 case $cc_basename in
6264 lt_prog_compiler_wl
='-Wl,'
6265 lt_prog_compiler_pic
='-KPIC'
6266 lt_prog_compiler_static
='-static'
6268 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
6269 # Portland Group compilers (*not* the Pentium gcc compiler,
6270 # which looks to be a dead project)
6271 lt_prog_compiler_wl
='-Wl,'
6272 lt_prog_compiler_pic
='-fpic'
6273 lt_prog_compiler_static
='-Bstatic'
6276 lt_prog_compiler_wl
='-Wl,'
6277 # All Alpha code is PIC.
6278 lt_prog_compiler_static
='-non_shared'
6281 case `$CC -V 2>&1 | sed 5q` in
6284 lt_prog_compiler_pic
='-KPIC'
6285 lt_prog_compiler_static
='-Bstatic'
6286 lt_prog_compiler_wl
='-Wl,'
6289 # Sun Fortran 8.3 passes all unrecognized flags to the linker
6290 lt_prog_compiler_pic
='-KPIC'
6291 lt_prog_compiler_static
='-Bstatic'
6292 lt_prog_compiler_wl
=''
6300 lt_prog_compiler_pic
='-KPIC'
6301 lt_prog_compiler_static
='-Bstatic'
6305 # QNX uses GNU C++, but need to define -shared option too, otherwise
6307 lt_prog_compiler_pic
='-fPIC -shared'
6310 osf3
* | osf4
* | osf5
*)
6311 lt_prog_compiler_wl
='-Wl,'
6312 # All OSF/1 code is PIC.
6313 lt_prog_compiler_static
='-non_shared'
6317 lt_prog_compiler_static
='-non_shared'
6321 lt_prog_compiler_pic
='-KPIC'
6322 lt_prog_compiler_static
='-Bstatic'
6323 case $cc_basename in
6325 lt_prog_compiler_wl
='-Qoption ld ';;
6327 lt_prog_compiler_wl
='-Wl,';;
6332 lt_prog_compiler_wl
='-Qoption ld '
6333 lt_prog_compiler_pic
='-PIC'
6334 lt_prog_compiler_static
='-Bstatic'
6337 sysv4 | sysv4.2uw2
* | sysv4.3
*)
6338 lt_prog_compiler_wl
='-Wl,'
6339 lt_prog_compiler_pic
='-KPIC'
6340 lt_prog_compiler_static
='-Bstatic'
6344 if test -d /usr
/nec
;then
6345 lt_prog_compiler_pic
='-Kconform_pic'
6346 lt_prog_compiler_static
='-Bstatic'
6350 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
6351 lt_prog_compiler_wl
='-Wl,'
6352 lt_prog_compiler_pic
='-KPIC'
6353 lt_prog_compiler_static
='-Bstatic'
6357 lt_prog_compiler_wl
='-Wl,'
6358 lt_prog_compiler_can_build_shared
=no
6362 lt_prog_compiler_pic
='-pic'
6363 lt_prog_compiler_static
='-Bstatic'
6367 lt_prog_compiler_can_build_shared
=no
6373 # For platforms which do not support PIC, -DPIC is meaningless:
6375 lt_prog_compiler_pic
=
6378 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
6381 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6382 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6390 # Check to make sure the PIC flag actually works.
6392 if test -n "$lt_prog_compiler_pic"; then
6393 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6394 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6395 if test "${lt_prog_compiler_pic_works+set}" = set; then
6396 echo $ECHO_N "(cached) $ECHO_C" >&6
6398 lt_prog_compiler_pic_works
=no
6399 ac_outfile
=conftest.
$ac_objext
6400 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
6401 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
6402 # Insert the option either (1) after the last *FLAGS variable, or
6403 # (2) before a word containing "conftest.", or (3) at the end.
6404 # Note that $ac_compile itself does not contain backslashes and begins
6405 # with a dollar sign (not a hyphen), so the echo should work correctly.
6406 # The option is referenced via a variable to avoid confusing sed.
6407 lt_compile
=`echo "$ac_compile" | $SED \
6408 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6409 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6410 -e 's:$: $lt_compiler_flag:'`
6411 (eval echo "\"\$as_me:6411: $lt_compile\"" >&5)
6412 (eval "$lt_compile" 2>conftest.err
)
6414 cat conftest.err
>&5
6415 echo "$as_me:6415: \$? = $ac_status" >&5
6416 if (exit $ac_status) && test -s "$ac_outfile"; then
6417 # The compiler can only warn and ignore the option if not recognized
6418 # So say no if there are warnings other than the usual output.
6419 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
6420 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
6421 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
6422 lt_prog_compiler_pic_works
=yes
6428 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6429 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6431 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
6432 case $lt_prog_compiler_pic in
6434 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
6437 lt_prog_compiler_pic
=
6438 lt_prog_compiler_can_build_shared
=no
6449 # Check to make sure the static flag actually works.
6451 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
6452 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
6453 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
6454 if test "${lt_prog_compiler_static_works+set}" = set; then
6455 echo $ECHO_N "(cached) $ECHO_C" >&6
6457 lt_prog_compiler_static_works
=no
6458 save_LDFLAGS
="$LDFLAGS"
6459 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
6460 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
6461 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
6462 # The linker can only warn and ignore the option if not recognized
6463 # So say no if there are warnings
6464 if test -s conftest.err
; then
6465 # Append any errors to the config.log.
6466 cat conftest.err
1>&5
6467 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
6468 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
6469 if diff conftest.exp conftest.er2
>/dev
/null
; then
6470 lt_prog_compiler_static_works
=yes
6473 lt_prog_compiler_static_works
=yes
6477 LDFLAGS
="$save_LDFLAGS"
6480 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6481 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6483 if test x
"$lt_prog_compiler_static_works" = xyes
; then
6486 lt_prog_compiler_static
=
6495 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6496 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6497 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6498 echo $ECHO_N "(cached) $ECHO_C" >&6
6500 lt_cv_prog_compiler_c_o
=no
6501 $RM -r conftest
2>/dev
/null
6505 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
6507 lt_compiler_flag
="-o out/conftest2.$ac_objext"
6508 # Insert the option either (1) after the last *FLAGS variable, or
6509 # (2) before a word containing "conftest.", or (3) at the end.
6510 # Note that $ac_compile itself does not contain backslashes and begins
6511 # with a dollar sign (not a hyphen), so the echo should work correctly.
6512 lt_compile
=`echo "$ac_compile" | $SED \
6513 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6514 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6515 -e 's:$: $lt_compiler_flag:'`
6516 (eval echo "\"\$as_me:6516: $lt_compile\"" >&5)
6517 (eval "$lt_compile" 2>out
/conftest.err
)
6519 cat out
/conftest.err
>&5
6520 echo "$as_me:6520: \$? = $ac_status" >&5
6521 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
6523 # The compiler can only warn and ignore the option if not recognized
6524 # So say no if there are warnings
6525 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
6526 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
6527 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
6528 lt_cv_prog_compiler_c_o
=yes
6533 # SGI C++ compiler will create directory out/ii_files/ for
6534 # template instantiation
6535 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
6536 $RM out
/* && rmdir out
6542 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6543 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6550 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6551 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6552 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6553 echo $ECHO_N "(cached) $ECHO_C" >&6
6555 lt_cv_prog_compiler_c_o
=no
6556 $RM -r conftest
2>/dev
/null
6560 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
6562 lt_compiler_flag
="-o out/conftest2.$ac_objext"
6563 # Insert the option either (1) after the last *FLAGS variable, or
6564 # (2) before a word containing "conftest.", or (3) at the end.
6565 # Note that $ac_compile itself does not contain backslashes and begins
6566 # with a dollar sign (not a hyphen), so the echo should work correctly.
6567 lt_compile
=`echo "$ac_compile" | $SED \
6568 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6569 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6570 -e 's:$: $lt_compiler_flag:'`
6571 (eval echo "\"\$as_me:6571: $lt_compile\"" >&5)
6572 (eval "$lt_compile" 2>out
/conftest.err
)
6574 cat out
/conftest.err
>&5
6575 echo "$as_me:6575: \$? = $ac_status" >&5
6576 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
6578 # The compiler can only warn and ignore the option if not recognized
6579 # So say no if there are warnings
6580 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
6581 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
6582 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
6583 lt_cv_prog_compiler_c_o
=yes
6588 # SGI C++ compiler will create directory out/ii_files/ for
6589 # template instantiation
6590 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
6591 $RM out
/* && rmdir out
6597 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6598 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6603 hard_links
="nottested"
6604 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
6605 # do not overwrite the value of need_locks provided by the user
6606 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6607 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
6610 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
6612 ln conftest.a conftest.b
2>&5 || hard_links
=no
6613 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
6614 echo "$as_me:$LINENO: result: $hard_links" >&5
6615 echo "${ECHO_T}$hard_links" >&6
6616 if test "$hard_links" = no
; then
6617 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6618 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6630 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6631 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
6634 allow_undefined_flag
=
6635 always_export_symbols
=no
6637 archive_expsym_cmds
=
6638 compiler_needs_object
=no
6639 enable_shared_with_static_runtimes
=no
6640 export_dynamic_flag_spec
=
6641 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6642 hardcode_automatic
=no
6644 hardcode_direct_absolute
=no
6645 hardcode_libdir_flag_spec
=
6646 hardcode_libdir_flag_spec_ld
=
6647 hardcode_libdir_separator
=
6649 hardcode_shlibpath_var
=unsupported
6651 link_all_deplibs
=unknown
6654 old_archive_from_new_cmds
=
6655 old_archive_from_expsyms_cmds
=
6656 thread_safe_flag_spec
=
6657 whole_archive_flag_spec
=
6658 # include_expsyms should be a list of space-separated symbols to be *always*
6659 # included in the symbol list
6661 # exclude_expsyms can be an extended regexp of symbols to exclude
6662 # it will be wrapped by ` (' and `)$', so one must not match beginning or
6663 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6664 # as well as any symbol that contains `d'.
6665 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
6666 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6667 # platforms (ab)use it in PIC code, but their linkers get confused if
6668 # the symbol is explicitly referenced. Since portable code cannot
6669 # rely on this symbol name, it's probably fine to never include it in
6670 # preloaded symbol tables.
6671 extract_expsyms_cmds
=
6674 cygwin
* | mingw
* | pw32
*)
6675 # FIXME: the MSVC++ port hasn't been tested in a loooong time
6676 # When not using gcc, we currently assume that we are using
6677 # Microsoft Visual C++.
6678 if test "$GCC" != yes; then
6683 # we just hope/assume this is gcc and not c89 (= MSVC++)
6692 if test "$with_gnu_ld" = yes; then
6693 # If archive_cmds runs LD, not CC, wlarc should be empty
6696 # Set some defaults for GNU ld with shared library support. These
6697 # are reset later if shared libraries are not supported. Putting them
6698 # here allows them to be overridden if necessary.
6699 runpath_var
=LD_RUN_PATH
6700 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
6701 export_dynamic_flag_spec
='${wl}--export-dynamic'
6702 # ancient GNU ld didn't support --whole-archive et. al.
6703 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
6704 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6706 whole_archive_flag_spec
=
6708 supports_anon_versioning
=no
6709 case `$LD -v 2>&1` in
6710 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
6711 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
6712 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
6713 *\
2.11.
*) ;; # other 2.11 versions
6714 *) supports_anon_versioning
=yes ;;
6717 # See if GNU ld supports shared libraries.
6719 aix3
* | aix4
* | aix5
*)
6720 # On AIX/PPC, the GNU linker is very broken
6721 if test "$host_cpu" != ia64
; then
6725 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
6726 *** to be unable to reliably create shared libraries on AIX.
6727 *** Therefore, libtool is disabling shared libraries support. If you
6728 *** really care for shared libraries, you may want to modify your PATH
6729 *** so that a non-GNU linker is found, and then restart.
6736 if test "$host_cpu" = m68k
; then
6737 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)'
6738 hardcode_libdir_flag_spec
='-L$libdir'
6739 hardcode_minus_L
=yes
6742 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
6743 # that the semantics of dynamic libraries on AmigaOS, at least up
6744 # to version 4, is to share data among multiple programs linked
6745 # with the same dynamic library. Since this doesn't match the
6746 # behavior of shared libraries on other platforms, we can't use
6752 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
6753 allow_undefined_flag
=unsupported
6754 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
6755 # support --undefined. This deserves some investigation. FIXME
6756 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6762 cygwin
* | mingw
* | pw32
*)
6763 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
6764 # as there is no search path for DLLs.
6765 hardcode_libdir_flag_spec
='-L$libdir'
6766 allow_undefined_flag
=unsupported
6767 always_export_symbols
=no
6768 enable_shared_with_static_runtimes
=yes
6769 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
6771 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
6772 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
6773 # If the export-symbols file already is a .def file (1st line
6774 # is EXPORTS), use it as is; otherwise, prepend...
6775 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
6776 cp $export_symbols $output_objdir/$soname.def;
6778 echo EXPORTS > $output_objdir/$soname.def;
6779 cat $export_symbols >> $output_objdir/$soname.def;
6781 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
6789 hardcode_shlibpath_var
=no
6790 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
6791 export_dynamic_flag_spec
='${wl}-E'
6792 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
6793 # Instead, shared libraries are loaded at an image base (0x10000000 by
6794 # default) and relocated if they conflict, which is a slow very memory
6795 # consuming and fragmenting process. To avoid this, we pick a random,
6796 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
6797 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
6798 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
6799 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'
6802 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
6804 if test "$host_os" = linux-dietlibc
; then
6805 case $cc_basename in
6806 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
6809 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
6810 && test "$tmp_diet" = no
6813 case $cc_basename,$host_cpu in
6814 pgcc
*) # Portland Group C compiler
6815 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'
6816 tmp_addflag
=' $pic_flag'
6818 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
6819 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'
6820 tmp_addflag
=' $pic_flag -Mnomain' ;;
6821 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
6822 tmp_addflag
=' -i_dynamic' ;;
6823 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
6824 tmp_addflag
=' -i_dynamic -nofor_main' ;;
6825 ifc
* | ifort
*) # Intel Fortran compiler
6826 tmp_addflag
=' -nofor_main' ;;
6828 case `$CC -V 2>&1 | sed 5q` in
6829 *Sun\ C
*) # Sun C 5.9
6830 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'
6831 compiler_needs_object
=yes
6832 tmp_sharedflag
='-G' ;;
6833 *Sun\ F
*) # Sun Fortran 8.3
6834 tmp_sharedflag
='-G' ;;
6836 tmp_sharedflag
='-shared' ;;
6838 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6840 if test "x$supports_anon_versioning" = xyes
; then
6841 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
6842 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
6843 echo "local: *; };" >> $output_objdir/$libname.ver~
6844 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
6852 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
6853 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
6856 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6857 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6862 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
6866 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
6867 *** create shared libraries on Solaris systems. Therefore, libtool
6868 *** is disabling shared libraries support. We urge you to upgrade GNU
6869 *** binutils to release 2.9.1 or newer. Another option is to modify
6870 *** your PATH or compiler configuration so that the native linker is
6871 *** used, and then restart.
6874 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
6875 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6876 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6882 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6883 case `$LD -v 2>&1` in
6884 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
6888 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
6889 *** reliably create shared libraries on SCO systems. Therefore, libtool
6890 *** is disabling shared libraries support. We urge you to upgrade GNU
6891 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
6892 *** your PATH or compiler configuration so that the native linker is
6893 *** used, and then restart.
6898 # For security reasons, it is highly recommended that you always
6899 # use absolute paths for naming shared libraries, and exclude the
6900 # DT_RUNPATH tag from executables and libraries. But doing so
6901 # requires that you compile everything twice, which is a pain.
6902 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
6903 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
6904 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6905 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6914 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6917 hardcode_shlibpath_var
=no
6921 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
6922 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6923 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6930 if test "$ld_shlibs" = no
; then
6932 hardcode_libdir_flag_spec
=
6933 export_dynamic_flag_spec
=
6934 whole_archive_flag_spec
=
6937 # PORTME fill in a description of your system's linker (not GNU ld)
6940 allow_undefined_flag
=unsupported
6941 always_export_symbols
=yes
6942 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'
6943 # Note: this linker hardcodes the directories in LIBPATH if there
6944 # are no directories specified by -L.
6945 hardcode_minus_L
=yes
6946 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
6947 # Neither direct hardcoding nor static linking is supported with a
6949 hardcode_direct
=unsupported
6954 if test "$host_cpu" = ia64
; then
6955 # On IA64, the linker does run time linking by default, so we don't
6956 # have to do anything special.
6957 aix_use_runtimelinking
=no
6958 exp_sym_flag
='-Bexport'
6961 # If we're using GNU nm, then we don't want the "-C" option.
6962 # -C means demangle to AIX nm, but means don't demangle with GNU nm
6963 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
6964 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'
6966 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'
6968 aix_use_runtimelinking
=no
6970 # Test if we are trying to use run time linking or normal
6971 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
6972 # need to do runtime linking.
6973 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
6974 for ld_flag
in $LDFLAGS; do
6975 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
6976 aix_use_runtimelinking
=yes
6983 exp_sym_flag
='-bexport'
6984 no_entry_flag
='-bnoentry'
6987 # When large executables or shared objects are built, AIX ld can
6988 # have problems creating the table of contents. If linking a library
6989 # or program results in "error TOC overflow" add -mminimal-toc to
6990 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
6991 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
6995 hardcode_direct_absolute
=yes
6996 hardcode_libdir_separator
=':'
6997 link_all_deplibs
=yes
6998 file_list_spec
='${wl}-f,'
7000 if test "$GCC" = yes; then
7001 case $host_os in aix4.
[012]|aix4.
[012].
*)
7002 # We only want to do this on AIX 4.2 and lower, the check
7003 # below for broken collect2 doesn't work under 4.3+
7004 collect2name
=`${CC} -print-prog-name=collect2`
7005 if test -f "$collect2name" &&
7006 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
7008 # We have reworked collect2
7011 # We have old collect2
7012 hardcode_direct
=unsupported
7013 # It fails to find uninstalled libraries when the uninstalled
7014 # path is not listed in the libpath. Setting hardcode_minus_L
7015 # to unsupported forces relinking
7016 hardcode_minus_L
=yes
7017 hardcode_libdir_flag_spec
='-L$libdir'
7018 hardcode_libdir_separator
=
7022 shared_flag
='-shared'
7023 if test "$aix_use_runtimelinking" = yes; then
7024 shared_flag
="$shared_flag "'${wl}-G'
7028 if test "$host_cpu" = ia64
; then
7029 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7030 # chokes on -Wl,-G. The following line is correct:
7033 if test "$aix_use_runtimelinking" = yes; then
7034 shared_flag
='${wl}-G'
7036 shared_flag
='${wl}-bM:SRE'
7041 # It seems that -bexpall does not export symbols beginning with
7042 # underscore (_), so it is better to generate a list of symbols to export.
7043 always_export_symbols
=yes
7044 if test "$aix_use_runtimelinking" = yes; then
7045 # Warning - without using the other runtime loading flags (-brtl),
7046 # -berok will link without error, but may produce a broken library.
7047 allow_undefined_flag
='-berok'
7048 # Determine the default libpath from the value encoded in an
7050 if test x
$gcc_no_link = xyes
; then
7051 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7052 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7053 { (exit 1); exit 1; }; }
7055 cat >conftest.
$ac_ext <<_ACEOF
7058 cat confdefs.h
>>conftest.
$ac_ext
7059 cat >>conftest.
$ac_ext <<_ACEOF
7060 /* end confdefs.h. */
7070 rm -f conftest.
$ac_objext conftest
$ac_exeext
7071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7072 (eval $ac_link) 2>conftest.er1
7074 grep -v '^ *+' conftest.er1
>conftest.err
7076 cat conftest.err
>&5
7077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7078 (exit $ac_status); } &&
7079 { ac_try
='test -z "$ac_c_werror_flag"
7080 || test ! -s conftest.err'
7081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7085 (exit $ac_status); }; } &&
7086 { ac_try
='test -s conftest$ac_exeext'
7087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7091 (exit $ac_status); }; }; then
7093 lt_aix_libpath_sed
='
7094 /Import File Strings/,/^$/ {
7100 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7101 # Check for a 64-bit object if we didn't find anything.
7102 if test -z "$aix_libpath"; then
7103 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7106 echo "$as_me: failed program was:" >&5
7107 sed 's/^/| /' conftest.
$ac_ext >&5
7110 rm -f conftest.err conftest.
$ac_objext \
7111 conftest
$ac_exeext conftest.
$ac_ext
7112 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7114 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7115 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"
7117 if test "$host_cpu" = ia64
; then
7118 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
7119 allow_undefined_flag
="-z nodefs"
7120 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"
7122 # Determine the default libpath from the value encoded in an
7124 if test x
$gcc_no_link = xyes
; then
7125 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7126 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7127 { (exit 1); exit 1; }; }
7129 cat >conftest.
$ac_ext <<_ACEOF
7132 cat confdefs.h
>>conftest.
$ac_ext
7133 cat >>conftest.
$ac_ext <<_ACEOF
7134 /* end confdefs.h. */
7144 rm -f conftest.
$ac_objext conftest
$ac_exeext
7145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7146 (eval $ac_link) 2>conftest.er1
7148 grep -v '^ *+' conftest.er1
>conftest.err
7150 cat conftest.err
>&5
7151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7152 (exit $ac_status); } &&
7153 { ac_try
='test -z "$ac_c_werror_flag"
7154 || test ! -s conftest.err'
7155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7159 (exit $ac_status); }; } &&
7160 { ac_try
='test -s conftest$ac_exeext'
7161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7165 (exit $ac_status); }; }; then
7167 lt_aix_libpath_sed
='
7168 /Import File Strings/,/^$/ {
7174 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7175 # Check for a 64-bit object if we didn't find anything.
7176 if test -z "$aix_libpath"; then
7177 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7180 echo "$as_me: failed program was:" >&5
7181 sed 's/^/| /' conftest.
$ac_ext >&5
7184 rm -f conftest.err conftest.
$ac_objext \
7185 conftest
$ac_exeext conftest.
$ac_ext
7186 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7188 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7189 # Warning - without using the other run time loading flags,
7190 # -berok will link without error, but may produce a broken library.
7191 no_undefined_flag
=' ${wl}-bernotok'
7192 allow_undefined_flag
=' ${wl}-berok'
7193 # Exported symbols can be pulled into shared objects from archives
7194 whole_archive_flag_spec
='$convenience'
7195 archive_cmds_need_lc
=yes
7196 # This is similar to how AIX traditionally builds its shared libraries.
7197 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'
7203 if test "$host_cpu" = m68k
; then
7204 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)'
7205 hardcode_libdir_flag_spec
='-L$libdir'
7206 hardcode_minus_L
=yes
7208 # see comment about different semantics on the GNU ld section
7213 export_dynamic_flag_spec
=-rdynamic
7216 cygwin
* | mingw
* | pw32
*)
7217 # When not using gcc, we currently assume that we are using
7218 # Microsoft Visual C++.
7219 # hardcode_libdir_flag_spec is actually meaningless, as there is
7220 # no search path for DLLs.
7221 hardcode_libdir_flag_spec
=' '
7222 allow_undefined_flag
=unsupported
7223 # Tell ltmain to make .lib files, not .a files.
7225 # Tell ltmain to make .dll files, not .so files.
7227 # FIXME: Setting linknames here is a bad hack.
7228 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
7229 # The linker will automatically build a .lib file if we build a DLL.
7230 old_archive_from_new_cmds
='true'
7231 # FIXME: Should let the user specify the lib program.
7232 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
7233 fix_srcfile_path
='`cygpath -w "$srcfile"`'
7234 enable_shared_with_static_runtimes
=yes
7237 darwin
* | rhapsody
*)
7239 rhapsody
* | darwin1.
[012])
7240 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
7243 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
7245 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7248 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
7253 archive_cmds_need_lc
=no
7255 hardcode_automatic
=yes
7256 hardcode_shlibpath_var
=unsupported
7257 whole_archive_flag_spec
=''
7258 link_all_deplibs
=yes
7259 if test "$GCC" = yes ; then
7260 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7261 echo $ECHO_N "(cached) $ECHO_C" >&6
7263 lt_cv_apple_cc_single_mod
=no
7264 if test -z "${LT_MULTI_MODULE}"; then
7265 # By default we will add the -single_module flag. You can override
7266 # by either setting the environment variable LT_MULTI_MODULE
7267 # non-empty at configure time, or by adding -multi-module to the
7269 echo "int foo(void){return 1;}" > conftest.c
7270 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7271 -dynamiclib ${wl}-single_module conftest.c
7272 if test -f libconftest.dylib
; then
7273 lt_cv_apple_cc_single_mod
=yes
7274 rm libconftest.dylib
7280 output_verbose_link_cmd
=echo
7281 if test "X$lt_cv_apple_cc_single_mod" = Xyes
; then
7282 archive_cmds
='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7283 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}'
7285 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7286 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}'
7288 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7289 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}'
7291 case $cc_basename in
7293 output_verbose_link_cmd
=echo
7294 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
7295 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7296 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7297 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}'
7298 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}'
7308 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7309 hardcode_libdir_flag_spec
='-L$libdir'
7310 hardcode_shlibpath_var
=no
7317 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7318 # support. Future versions do this automatically, but an explicit c++rt0.o
7319 # does not break anything, and helps significantly (at the cost of a little
7322 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7323 hardcode_libdir_flag_spec
='-R$libdir'
7325 hardcode_shlibpath_var
=no
7328 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7330 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7332 hardcode_minus_L
=yes
7333 hardcode_shlibpath_var
=no
7336 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7337 freebsd
* | dragonfly
*)
7338 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7339 hardcode_libdir_flag_spec
='-R$libdir'
7341 hardcode_shlibpath_var
=no
7345 if test "$GCC" = yes; then
7346 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'
7348 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'
7350 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7351 hardcode_libdir_separator
=:
7354 # hardcode_minus_L: Not really in the search PATH,
7355 # but as the default location of the library.
7356 hardcode_minus_L
=yes
7357 export_dynamic_flag_spec
='${wl}-E'
7361 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7362 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7364 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7366 if test "$with_gnu_ld" = no
; then
7367 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7368 hardcode_libdir_flag_spec_ld
='+b $libdir'
7369 hardcode_libdir_separator
=:
7371 hardcode_direct_absolute
=yes
7372 export_dynamic_flag_spec
='${wl}-E'
7373 # hardcode_minus_L: Not really in the search PATH,
7374 # but as the default location of the library.
7375 hardcode_minus_L
=yes
7380 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7383 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7386 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7389 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7395 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7398 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7401 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7405 if test "$with_gnu_ld" = no
; then
7406 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7407 hardcode_libdir_separator
=:
7412 hardcode_shlibpath_var
=no
7416 hardcode_direct_absolute
=yes
7417 export_dynamic_flag_spec
='${wl}-E'
7419 # hardcode_minus_L: Not really in the search PATH,
7420 # but as the default location of the library.
7421 hardcode_minus_L
=yes
7427 irix5
* | irix6
* | nonstopux
*)
7428 if test "$GCC" = yes; then
7429 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'
7430 # Try to use the -exported_symbol ld option, if it does not
7431 # work, assume that -exports_file does not work either and
7432 # implicitly export all symbols.
7433 save_LDFLAGS
="$LDFLAGS"
7434 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
7435 if test x
$gcc_no_link = xyes
; then
7436 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7437 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7438 { (exit 1); exit 1; }; }
7440 cat >conftest.
$ac_ext <<_ACEOF
7443 rm -f conftest.
$ac_objext conftest
$ac_exeext
7444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7445 (eval $ac_link) 2>conftest.er1
7447 grep -v '^ *+' conftest.er1
>conftest.err
7449 cat conftest.err
>&5
7450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7451 (exit $ac_status); } &&
7452 { ac_try
='test -z "$ac_c_werror_flag"
7453 || test ! -s conftest.err'
7454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7458 (exit $ac_status); }; } &&
7459 { ac_try
='test -s conftest$ac_exeext'
7460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7464 (exit $ac_status); }; }; then
7465 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'
7468 echo "$as_me: failed program was:" >&5
7469 sed 's/^/| /' conftest.
$ac_ext >&5
7472 rm -f conftest.err conftest.
$ac_objext \
7473 conftest
$ac_exeext conftest.
$ac_ext
7474 LDFLAGS
="$save_LDFLAGS"
7476 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'
7477 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'
7479 archive_cmds_need_lc
='no'
7480 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7481 hardcode_libdir_separator
=:
7483 link_all_deplibs
=yes
7487 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
7488 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7490 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7492 hardcode_libdir_flag_spec
='-R$libdir'
7494 hardcode_shlibpath_var
=no
7498 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7500 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7501 hardcode_libdir_separator
=:
7502 hardcode_shlibpath_var
=no
7510 hardcode_shlibpath_var
=no
7511 hardcode_direct_absolute
=yes
7512 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7513 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7514 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
7515 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7516 export_dynamic_flag_spec
='${wl}-E'
7519 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
7520 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7521 hardcode_libdir_flag_spec
='-R$libdir'
7524 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7525 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7532 hardcode_libdir_flag_spec
='-L$libdir'
7533 hardcode_minus_L
=yes
7534 allow_undefined_flag
=unsupported
7535 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'
7536 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7540 if test "$GCC" = yes; then
7541 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
7542 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'
7544 allow_undefined_flag
=' -expect_unresolved \*'
7545 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'
7547 archive_cmds_need_lc
='no'
7548 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7549 hardcode_libdir_separator
=:
7552 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
7553 if test "$GCC" = yes; then
7554 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
7555 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'
7556 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7558 allow_undefined_flag
=' -expect_unresolved \*'
7559 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'
7560 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~
7561 $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'
7563 # Both c and cxx compiler support -rpath directly
7564 hardcode_libdir_flag_spec
='-rpath $libdir'
7566 archive_cmds_need_lc
='no'
7567 hardcode_libdir_separator
=:
7571 no_undefined_flag
=' -z defs'
7572 if test "$GCC" = yes; then
7574 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7575 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
7576 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
7578 case `$CC -V 2>&1` in
7581 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7582 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
7583 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
7587 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
7588 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
7589 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
7593 hardcode_libdir_flag_spec
='-R$libdir'
7594 hardcode_shlibpath_var
=no
7596 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
7598 # The compiler driver will combine and reorder linker options,
7599 # but understands `-z linker_flag'. GCC discards it without `$wl',
7600 # but is careful enough not to reorder.
7601 # Supported since Solaris 2.6 (maybe 2.5.1?)
7602 if test "$GCC" = yes; then
7603 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
7605 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
7609 link_all_deplibs
=yes
7613 if test "x$host_vendor" = xsequent
; then
7614 # Use $CC to link under sequent, because it throws in some extra .o
7615 # files that make .init and .fini sections work.
7616 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7618 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7620 hardcode_libdir_flag_spec
='-L$libdir'
7622 hardcode_minus_L
=yes
7623 hardcode_shlibpath_var
=no
7627 case $host_vendor in
7629 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7630 hardcode_direct
=yes # is this really true???
7633 ## LD is ld it makes a PLAMLIB
7634 ## CC just makes a GrossModule.
7635 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7636 reload_cmds
='$CC -r -o $output$reload_objs'
7640 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7641 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
7644 runpath_var
='LD_RUN_PATH'
7645 hardcode_shlibpath_var
=no
7649 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7650 hardcode_shlibpath_var
=no
7651 export_dynamic_flag_spec
='-Bexport'
7655 if test -d /usr
/nec
; then
7656 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7657 hardcode_shlibpath_var
=no
7658 runpath_var
=LD_RUN_PATH
7659 hardcode_runpath_var
=yes
7664 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
7665 no_undefined_flag
='${wl}-z,text'
7666 archive_cmds_need_lc
=no
7667 hardcode_shlibpath_var
=no
7668 runpath_var
='LD_RUN_PATH'
7670 if test "$GCC" = yes; then
7671 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7672 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7674 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7675 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7679 sysv5
* | sco3.2v5
* | sco5v6
*)
7680 # Note: We can NOT use -z defs as we might desire, because we do not
7681 # link with -lc, and that would cause any symbols used from libc to
7682 # always be unresolved, which means just about no library would
7683 # ever link correctly. If we're not using GNU ld we use -z text
7684 # though, which does catch some bad symbols but isn't as heavy-handed
7686 no_undefined_flag
='${wl}-z,text'
7687 allow_undefined_flag
='${wl}-z,nodefs'
7688 archive_cmds_need_lc
=no
7689 hardcode_shlibpath_var
=no
7690 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
7691 hardcode_libdir_separator
=':'
7692 link_all_deplibs
=yes
7693 export_dynamic_flag_spec
='${wl}-Bexport'
7694 runpath_var
='LD_RUN_PATH'
7696 if test "$GCC" = yes; then
7697 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7698 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7700 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7701 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7706 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7707 hardcode_libdir_flag_spec
='-L$libdir'
7708 hardcode_shlibpath_var
=no
7716 if test x
$host_vendor = xsni
; then
7718 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
7719 export_dynamic_flag_spec
='${wl}-Blargedynsym'
7725 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7726 echo "${ECHO_T}$ld_shlibs" >&6
7727 test "$ld_shlibs" = no
&& can_build_shared
=no
7729 with_gnu_ld
=$with_gnu_ld
7746 # Do we need to explicitly link libc?
7748 case "x$archive_cmds_need_lc" in
7750 # Assume -lc should be added
7751 archive_cmds_need_lc
=yes
7753 if test "$enable_shared" = yes && test "$GCC" = yes; then
7754 case $archive_cmds in
7756 # FIXME: we may have to deal with multi-command sequences.
7759 # Test whether the compiler implicitly links with -lc since on some
7760 # systems, -lgcc has to come before -lc. If gcc already passes -lc
7761 # to ld, don't add -lc before -lgcc.
7762 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7763 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
7765 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7768 (eval $ac_compile) 2>&5
7770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7771 (exit $ac_status); } 2>conftest.err
; then
7774 libobjs
=conftest.
$ac_objext
7776 wl
=$lt_prog_compiler_wl
7777 pic_flag
=$lt_prog_compiler_pic
7783 lt_save_allow_undefined_flag
=$allow_undefined_flag
7784 allow_undefined_flag
=
7785 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
7786 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
7788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7789 (exit $ac_status); }
7791 archive_cmds_need_lc
=no
7793 archive_cmds_need_lc
=yes
7795 allow_undefined_flag
=$lt_save_allow_undefined_flag
7797 cat conftest.err
1>&5
7800 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7801 echo "${ECHO_T}$archive_cmds_need_lc" >&6
7964 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7965 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
7967 if test "$withGCC" = yes; then
7969 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
7970 *) lt_awk_arg
="/^libraries:/" ;;
7972 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7973 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
7974 # if the path contains ";" then we assume it to be the separator
7975 # otherwise default to the standard path separator (i.e. ":") - it is
7976 # assumed that no part of a normal pathname contains ";" but that should
7977 # okay in the real world where ";" in dirpaths is itself problematic.
7978 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
7980 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7982 # Ok, now we have the path, separated by spaces, we can step through it
7983 # and add multilib dir if necessary.
7984 lt_tmp_lt_search_path_spec
=
7985 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
7986 for lt_sys_path
in $lt_search_path_spec; do
7987 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
7988 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
7990 test -d "$lt_sys_path" && \
7991 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
7994 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
7995 BEGIN {RS=" "; FS="/|\n";} {
7998 for (lt_i = NF; lt_i > 0; lt_i--) {
7999 if ($lt_i != "" && $lt_i != ".") {
8000 if ($lt_i == "..") {
8003 if (lt_count == 0) {
8004 lt_foo="/" $lt_i lt_foo;
8011 if (lt_foo != "") { lt_freq[lt_foo]++; }
8012 if (lt_freq[lt_foo] == 1) { print lt_foo; }
8014 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
8016 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8019 libname_spec
='lib$name'
8027 shlibpath_overrides_runpath
=unknown
8029 dynamic_linker
="$host_os ld.so"
8030 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8031 need_lib_prefix
=unknown
8032 hardcode_into_libs
=no
8034 # when you set need_version to no, make sure it does not cause -set_version
8035 # flags to be left without arguments
8036 need_version
=unknown
8041 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8042 shlibpath_var
=LIBPATH
8044 # AIX 3 has no versioning support, so we append a major version to the name.
8045 soname_spec
='${libname}${release}${shared_ext}$major'
8052 hardcode_into_libs
=yes
8053 if test "$host_cpu" = ia64
; then
8054 # AIX 5 supports IA64
8055 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8056 shlibpath_var
=LD_LIBRARY_PATH
8058 # With GCC up to 2.95.x, collect2 would create an import file
8059 # for dependence libraries. The import file would start with
8060 # the line `#! .'. This would cause the generated library to
8061 # depend on `.', always an invalid library. This was fixed in
8062 # development snapshots of GCC prior to 3.0.
8064 aix4 | aix4.
[01] | aix4.
[01].
*)
8065 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8067 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
8074 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8075 # soname into executable. Probably we can add versioning support to
8076 # collect2, so additional links can be useful in future.
8077 if test "$aix_use_runtimelinking" = yes; then
8078 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8079 # instead of lib<name>.a to let people know that these are not
8080 # typical AIX shared libraries.
8081 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8083 # We preserve .a as extension for shared libraries through AIX4.2
8084 # and later when we are not doing run time linking.
8085 library_names_spec
='${libname}${release}.a $libname.a'
8086 soname_spec
='${libname}${release}${shared_ext}$major'
8088 shlibpath_var
=LIBPATH
8093 if test "$host_cpu" = m68k
; then
8094 library_names_spec
='$libname.ixlibrary $libname.a'
8095 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8096 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'
8103 library_names_spec
='${libname}${shared_ext}'
8104 dynamic_linker
="$host_os ld.so"
8105 shlibpath_var
=LIBRARY_PATH
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 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8114 shlibpath_var
=LD_LIBRARY_PATH
8115 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8116 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8117 # the default ld.so.conf also contains /usr/contrib/lib and
8118 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8119 # libtool to hard-code these into programs
8122 cygwin
* | mingw
* | pw32
*)
8123 version_type
=windows
8128 case $withGCC,$host_os in
8129 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
8130 library_names_spec
='$libname.dll.a'
8131 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8132 postinstall_cmds
='base_file=`basename \${file}`~
8133 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
8134 dldir=$destdir/`dirname \$dlpath`~
8135 test -d \$dldir || mkdir -p \$dldir~
8136 $install_prog $dir/$dlname \$dldir/$dlname~
8137 chmod a+x \$dldir/$dlname~
8138 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
8139 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
8141 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8142 dlpath=$dir/\$dldll~
8144 shlibpath_overrides_runpath
=yes
8148 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8149 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8150 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8153 # MinGW DLLs use traditional 'lib' prefix
8154 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8155 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8156 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
8157 # It is most probably a Windows format PATH printed by
8158 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8159 # path with ; separators, and with drive letters. We can handle the
8160 # drive letters (cygwin fileutils understands them), so leave them,
8161 # especially as we might pass files found there to a mingw objdump,
8162 # which wouldn't understand a cygwinified path. Ahh.
8163 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8165 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8169 # pw32 DLLs use 'pw' prefix rather than 'lib'
8170 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8176 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8179 dynamic_linker
='Win32 ld.exe'
8180 # FIXME: first we should search . and the directory the executable is in
8184 darwin
* | rhapsody
*)
8185 dynamic_linker
="$host_os dyld"
8189 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8190 soname_spec
='${libname}${release}${major}$shared_ext'
8191 shlibpath_overrides_runpath
=yes
8192 shlibpath_var
=DYLD_LIBRARY_PATH
8193 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8195 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
8196 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8203 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8204 soname_spec
='${libname}${release}${shared_ext}$major'
8205 shlibpath_var
=LD_LIBRARY_PATH
8212 freebsd
* | dragonfly
*)
8213 # DragonFly does not have aout. When/if they implement a new
8214 # versioning mechanism, adjust this.
8215 if test -x /usr
/bin
/objformat
; then
8216 objformat
=`/usr/bin/objformat`
8219 freebsd
[123]*) objformat
=aout
;;
8223 version_type
=freebsd-
$objformat
8224 case $version_type in
8226 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8231 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8235 shlibpath_var
=LD_LIBRARY_PATH
8238 shlibpath_overrides_runpath
=yes
8240 freebsd3.
[01]* | freebsdelf3.
[01]*)
8241 shlibpath_overrides_runpath
=yes
8242 hardcode_into_libs
=yes
8244 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
8245 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
8246 shlibpath_overrides_runpath
=no
8247 hardcode_into_libs
=yes
8249 *) # from 4.6 on, and DragonFly
8250 shlibpath_overrides_runpath
=yes
8251 hardcode_into_libs
=yes
8260 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8261 soname_spec
='${libname}${release}${shared_ext}$major'
8262 shlibpath_var
=LD_LIBRARY_PATH
8263 hardcode_into_libs
=yes
8266 hpux9
* | hpux10
* | hpux11
*)
8267 # Give a soname corresponding to the major version so that dld.sl refuses to
8268 # link against other versions.
8275 hardcode_into_libs
=yes
8276 dynamic_linker
="$host_os dld.so"
8277 shlibpath_var
=LD_LIBRARY_PATH
8278 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8279 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8280 soname_spec
='${libname}${release}${shared_ext}$major'
8281 if test "X$HPUX_IA64_MODE" = X32
; then
8282 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8284 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8286 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8290 hardcode_into_libs
=yes
8291 dynamic_linker
="$host_os dld.sl"
8292 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8293 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8294 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8295 soname_spec
='${libname}${release}${shared_ext}$major'
8296 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8297 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8301 dynamic_linker
="$host_os dld.sl"
8302 shlibpath_var
=SHLIB_PATH
8303 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
8304 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8305 soname_spec
='${libname}${release}${shared_ext}$major'
8308 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8309 postinstall_cmds
='chmod 555 $lib'
8316 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8317 soname_spec
='${libname}${release}${shared_ext}$major'
8318 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
8319 shlibpath_var
=LD_LIBRARY_PATH
8320 shlibpath_overrides_runpath
=no
8321 hardcode_into_libs
=yes
8324 irix5
* | irix6
* | nonstopux
*)
8326 nonstopux
*) version_type
=nonstopux
;;
8328 if test "$lt_cv_prog_gnu_ld" = yes; then
8336 soname_spec
='${libname}${release}${shared_ext}$major'
8337 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8339 irix5
* | nonstopux
*)
8343 case $LD in # libtool.m4 will add one of these switches to LD
8344 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
8345 libsuff
= shlibsuff
= libmagic
=32-bit;;
8346 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
8347 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
8348 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
8349 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
8350 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
8354 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
8355 shlibpath_overrides_runpath
=no
8356 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8357 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
8358 hardcode_into_libs
=yes
8361 # No shared lib support for Linux oldld, aout, or coff.
8362 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
8366 # This must be Linux ELF.
8367 linux
* | k
*bsd
*-gnu)
8371 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8372 soname_spec
='${libname}${release}${shared_ext}$major'
8373 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8374 shlibpath_var
=LD_LIBRARY_PATH
8375 shlibpath_overrides_runpath
=no
8376 # Some binutils ld are patched to set DT_RUNPATH
8377 save_LDFLAGS
=$LDFLAGS
8379 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
8380 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
8381 if test x
$gcc_no_link = xyes
; then
8382 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8383 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8384 { (exit 1); exit 1; }; }
8386 cat >conftest.
$ac_ext <<_ACEOF
8389 cat confdefs.h
>>conftest.
$ac_ext
8390 cat >>conftest.
$ac_ext <<_ACEOF
8391 /* end confdefs.h. */
8401 rm -f conftest.
$ac_objext conftest
$ac_exeext
8402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8403 (eval $ac_link) 2>conftest.er1
8405 grep -v '^ *+' conftest.er1
>conftest.err
8407 cat conftest.err
>&5
8408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8409 (exit $ac_status); } &&
8410 { ac_try
='test -z "$ac_c_werror_flag"
8411 || test ! -s conftest.err'
8412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8416 (exit $ac_status); }; } &&
8417 { ac_try
='test -s conftest$ac_exeext'
8418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8422 (exit $ac_status); }; }; then
8423 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir"; then
8424 shlibpath_overrides_runpath
=yes
8428 echo "$as_me: failed program was:" >&5
8429 sed 's/^/| /' conftest.
$ac_ext >&5
8432 rm -f conftest.err conftest.
$ac_objext \
8433 conftest
$ac_exeext conftest.
$ac_ext
8434 LDFLAGS
=$save_LDFLAGS
8437 # This implies no fast_install, which is unacceptable.
8438 # Some rework will be needed to allow for fast_install
8439 # before this can be enabled.
8440 hardcode_into_libs
=yes
8442 # Append ld.so.conf contents to the search path
8443 if test -f /etc
/ld.so.conf
; then
8444 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' ' '`
8445 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
8448 # We used to test for /lib/ld.so.1 and disable shared libraries on
8449 # powerpc, because MkLinux only supported shared libraries with the
8450 # GNU dynamic linker. Since this was broken with cross compilers,
8451 # most powerpc-linux boxes support dynamic linking these days and
8452 # people can always --disable-shared, the test was removed, and we
8453 # assume the GNU/Linux dynamic linker is in use.
8454 dynamic_linker
='GNU/Linux ld.so'
8461 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8462 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8463 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8464 dynamic_linker
='NetBSD (a.out) ld.so'
8466 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8467 soname_spec
='${libname}${release}${shared_ext}$major'
8468 dynamic_linker
='NetBSD ld.elf_so'
8470 shlibpath_var
=LD_LIBRARY_PATH
8471 shlibpath_overrides_runpath
=yes
8472 hardcode_into_libs
=yes
8477 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8478 shlibpath_var
=LD_LIBRARY_PATH
8479 shlibpath_overrides_runpath
=yes
8486 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8487 soname_spec
='${libname}${release}${shared_ext}$major'
8488 shlibpath_var
=LD_LIBRARY_PATH
8489 shlibpath_overrides_runpath
=no
8490 hardcode_into_libs
=yes
8491 dynamic_linker
='ldqnx.so'
8496 sys_lib_dlsearch_path_spec
="/usr/lib"
8498 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
8500 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
8501 *) need_version
=no
;;
8503 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8504 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8505 shlibpath_var
=LD_LIBRARY_PATH
8506 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8508 openbsd2.
[89] | openbsd2.
[89].
*)
8509 shlibpath_overrides_runpath
=no
8512 shlibpath_overrides_runpath
=yes
8516 shlibpath_overrides_runpath
=yes
8521 libname_spec
='$name'
8524 library_names_spec
='$libname${shared_ext} $libname.a'
8525 dynamic_linker
='OS/2 ld.exe'
8526 shlibpath_var
=LIBPATH
8529 osf3
* | osf4
* | osf5
*)
8533 soname_spec
='${libname}${release}${shared_ext}$major'
8534 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8535 shlibpath_var
=LD_LIBRARY_PATH
8536 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
8537 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
8548 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8549 soname_spec
='${libname}${release}${shared_ext}$major'
8550 shlibpath_var
=LD_LIBRARY_PATH
8551 shlibpath_overrides_runpath
=yes
8552 hardcode_into_libs
=yes
8553 # ldd complains unless libraries are executable
8554 postinstall_cmds
='chmod +x $lib'
8559 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8560 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
8561 shlibpath_var
=LD_LIBRARY_PATH
8562 shlibpath_overrides_runpath
=yes
8563 if test "$with_gnu_ld" = yes; then
8571 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8572 soname_spec
='${libname}${release}${shared_ext}$major'
8573 shlibpath_var
=LD_LIBRARY_PATH
8574 case $host_vendor in
8576 shlibpath_overrides_runpath
=no
8578 runpath_var
=LD_RUN_PATH
8586 shlibpath_overrides_runpath
=no
8587 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
8593 if test -d /usr
/nec
;then
8595 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8596 soname_spec
='$libname${shared_ext}.$major'
8597 shlibpath_var
=LD_LIBRARY_PATH
8601 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
8602 version_type
=freebsd-elf
8605 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8606 soname_spec
='${libname}${release}${shared_ext}$major'
8607 shlibpath_var
=LD_LIBRARY_PATH
8608 shlibpath_overrides_runpath
=yes
8609 hardcode_into_libs
=yes
8610 if test "$with_gnu_ld" = yes; then
8611 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
8613 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
8616 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
8620 sys_lib_dlsearch_path_spec
='/usr/lib'
8624 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
8628 library_name_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8629 shlibpath_var
=LD_LIBRARY_PATH
8630 shlibpath_overrides_runpath
=no
8631 hardcode_into_libs
=yes
8636 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8637 soname_spec
='${libname}${release}${shared_ext}$major'
8638 shlibpath_var
=LD_LIBRARY_PATH
8645 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8646 echo "${ECHO_T}$dynamic_linker" >&6
8647 test "$dynamic_linker" = no
&& can_build_shared
=no
8649 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
8650 if test "$GCC" = yes; then
8651 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
8740 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
8741 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
8743 if test -n "$hardcode_libdir_flag_spec" ||
8744 test -n "$runpath_var" ||
8745 test "X$hardcode_automatic" = "Xyes" ; then
8747 # We can hardcode non-existent directories.
8748 if test "$hardcode_direct" != no
&&
8749 # If the only mechanism to avoid hardcoding is shlibpath_var, we
8750 # have to relink, otherwise we might link with an installed library
8751 # when we should be linking with a yet-to-be-installed one
8752 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
8753 test "$hardcode_minus_L" != no
; then
8754 # Linking always hardcodes the temporary library directory.
8755 hardcode_action
=relink
8757 # We can link without hardcoding, and we can hardcode nonexisting dirs.
8758 hardcode_action
=immediate
8761 # We cannot hardcode anything, or else we can only hardcode existing
8763 hardcode_action
=unsupported
8765 echo "$as_me:$LINENO: result: $hardcode_action" >&5
8766 echo "${ECHO_T}$hardcode_action" >&6
8768 if test "$hardcode_action" = relink ||
8769 test "$inherit_rpath" = yes; then
8770 # Fast installation is not supported
8771 enable_fast_install
=no
8772 elif test "$shlibpath_overrides_runpath" = yes ||
8773 test "$enable_shared" = no
; then
8774 # Fast installation is not necessary
8775 enable_fast_install
=needless
8783 if test "x$enable_dlopen" != xyes
; then
8784 enable_dlopen
=unknown
8785 enable_dlopen_self
=unknown
8786 enable_dlopen_self_static
=unknown
8793 lt_cv_dlopen
="load_add_on"
8795 lt_cv_dlopen_self
=yes
8799 lt_cv_dlopen
="LoadLibrary"
8804 lt_cv_dlopen
="dlopen"
8809 # if libdl is installed we need to link against it
8810 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8811 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8812 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8813 echo $ECHO_N "(cached) $ECHO_C" >&6
8815 ac_check_lib_save_LIBS
=$LIBS
8817 if test x
$gcc_no_link = xyes
; then
8818 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8819 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8820 { (exit 1); exit 1; }; }
8822 cat >conftest.
$ac_ext <<_ACEOF
8825 cat confdefs.h
>>conftest.
$ac_ext
8826 cat >>conftest.
$ac_ext <<_ACEOF
8827 /* end confdefs.h. */
8829 /* Override any gcc2 internal prototype to avoid an error. */
8833 /* We use char because int might match the return type of a gcc2
8834 builtin and then its argument prototype would still apply. */
8844 rm -f conftest.
$ac_objext conftest
$ac_exeext
8845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8846 (eval $ac_link) 2>conftest.er1
8848 grep -v '^ *+' conftest.er1
>conftest.err
8850 cat conftest.err
>&5
8851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8852 (exit $ac_status); } &&
8853 { ac_try
='test -z "$ac_c_werror_flag"
8854 || test ! -s conftest.err'
8855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8859 (exit $ac_status); }; } &&
8860 { ac_try
='test -s conftest$ac_exeext'
8861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8865 (exit $ac_status); }; }; then
8866 ac_cv_lib_dl_dlopen
=yes
8868 echo "$as_me: failed program was:" >&5
8869 sed 's/^/| /' conftest.
$ac_ext >&5
8871 ac_cv_lib_dl_dlopen
=no
8873 rm -f conftest.err conftest.
$ac_objext \
8874 conftest
$ac_exeext conftest.
$ac_ext
8875 LIBS
=$ac_check_lib_save_LIBS
8877 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8878 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8879 if test $ac_cv_lib_dl_dlopen = yes; then
8880 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
8885 lt_cv_dlopen_self
=yes
8892 echo "$as_me:$LINENO: checking for shl_load" >&5
8893 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
8894 if test "${ac_cv_func_shl_load+set}" = set; then
8895 echo $ECHO_N "(cached) $ECHO_C" >&6
8897 if test x
$gcc_no_link = xyes
; then
8898 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8899 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8900 { (exit 1); exit 1; }; }
8902 cat >conftest.
$ac_ext <<_ACEOF
8905 cat confdefs.h
>>conftest.
$ac_ext
8906 cat >>conftest.
$ac_ext <<_ACEOF
8907 /* end confdefs.h. */
8908 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
8909 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8910 #define shl_load innocuous_shl_load
8912 /* System header to define __stub macros and hopefully few prototypes,
8913 which can conflict with char shl_load (); below.
8914 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8915 <limits.h> exists even on freestanding compilers. */
8918 # include <limits.h>
8920 # include <assert.h>
8925 /* Override any gcc2 internal prototype to avoid an error. */
8930 /* We use char because int might match the return type of a gcc2
8931 builtin and then its argument prototype would still apply. */
8933 /* The GNU C library defines this for functions which it implements
8934 to always fail with ENOSYS. Some functions are actually named
8935 something starting with __ and the normal name is an alias. */
8936 #if defined (__stub_shl_load) || defined (__stub___shl_load)
8939 char (*f) () = shl_load;
8948 return f != shl_load;
8953 rm -f conftest.
$ac_objext conftest
$ac_exeext
8954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8955 (eval $ac_link) 2>conftest.er1
8957 grep -v '^ *+' conftest.er1
>conftest.err
8959 cat conftest.err
>&5
8960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8961 (exit $ac_status); } &&
8962 { ac_try
='test -z "$ac_c_werror_flag"
8963 || test ! -s conftest.err'
8964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8968 (exit $ac_status); }; } &&
8969 { ac_try
='test -s conftest$ac_exeext'
8970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8974 (exit $ac_status); }; }; then
8975 ac_cv_func_shl_load
=yes
8977 echo "$as_me: failed program was:" >&5
8978 sed 's/^/| /' conftest.
$ac_ext >&5
8980 ac_cv_func_shl_load
=no
8982 rm -f conftest.err conftest.
$ac_objext \
8983 conftest
$ac_exeext conftest.
$ac_ext
8985 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8986 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
8987 if test $ac_cv_func_shl_load = yes; then
8988 lt_cv_dlopen
="shl_load"
8990 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8991 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
8992 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8993 echo $ECHO_N "(cached) $ECHO_C" >&6
8995 ac_check_lib_save_LIBS
=$LIBS
8997 if test x
$gcc_no_link = xyes
; then
8998 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8999 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9000 { (exit 1); exit 1; }; }
9002 cat >conftest.
$ac_ext <<_ACEOF
9005 cat confdefs.h
>>conftest.
$ac_ext
9006 cat >>conftest.
$ac_ext <<_ACEOF
9007 /* end confdefs.h. */
9009 /* Override any gcc2 internal prototype to avoid an error. */
9013 /* We use char because int might match the return type of a gcc2
9014 builtin and then its argument prototype would still apply. */
9024 rm -f conftest.
$ac_objext conftest
$ac_exeext
9025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9026 (eval $ac_link) 2>conftest.er1
9028 grep -v '^ *+' conftest.er1
>conftest.err
9030 cat conftest.err
>&5
9031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9032 (exit $ac_status); } &&
9033 { ac_try
='test -z "$ac_c_werror_flag"
9034 || test ! -s conftest.err'
9035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9039 (exit $ac_status); }; } &&
9040 { ac_try
='test -s conftest$ac_exeext'
9041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9045 (exit $ac_status); }; }; then
9046 ac_cv_lib_dld_shl_load
=yes
9048 echo "$as_me: failed program was:" >&5
9049 sed 's/^/| /' conftest.
$ac_ext >&5
9051 ac_cv_lib_dld_shl_load
=no
9053 rm -f conftest.err conftest.
$ac_objext \
9054 conftest
$ac_exeext conftest.
$ac_ext
9055 LIBS
=$ac_check_lib_save_LIBS
9057 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9058 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
9059 if test $ac_cv_lib_dld_shl_load = yes; then
9060 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
9062 echo "$as_me:$LINENO: checking for dlopen" >&5
9063 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
9064 if test "${ac_cv_func_dlopen+set}" = set; then
9065 echo $ECHO_N "(cached) $ECHO_C" >&6
9067 if test x
$gcc_no_link = xyes
; then
9068 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9069 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9070 { (exit 1); exit 1; }; }
9072 cat >conftest.
$ac_ext <<_ACEOF
9075 cat confdefs.h
>>conftest.
$ac_ext
9076 cat >>conftest.
$ac_ext <<_ACEOF
9077 /* end confdefs.h. */
9078 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9079 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9080 #define dlopen innocuous_dlopen
9082 /* System header to define __stub macros and hopefully few prototypes,
9083 which can conflict with char dlopen (); below.
9084 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9085 <limits.h> exists even on freestanding compilers. */
9088 # include <limits.h>
9090 # include <assert.h>
9095 /* Override any gcc2 internal prototype to avoid an error. */
9100 /* We use char because int might match the return type of a gcc2
9101 builtin and then its argument prototype would still apply. */
9103 /* The GNU C library defines this for functions which it implements
9104 to always fail with ENOSYS. Some functions are actually named
9105 something starting with __ and the normal name is an alias. */
9106 #if defined (__stub_dlopen) || defined (__stub___dlopen)
9109 char (*f) () = dlopen;
9123 rm -f conftest.
$ac_objext conftest
$ac_exeext
9124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9125 (eval $ac_link) 2>conftest.er1
9127 grep -v '^ *+' conftest.er1
>conftest.err
9129 cat conftest.err
>&5
9130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9131 (exit $ac_status); } &&
9132 { ac_try
='test -z "$ac_c_werror_flag"
9133 || test ! -s conftest.err'
9134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9138 (exit $ac_status); }; } &&
9139 { ac_try
='test -s conftest$ac_exeext'
9140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9144 (exit $ac_status); }; }; then
9145 ac_cv_func_dlopen
=yes
9147 echo "$as_me: failed program was:" >&5
9148 sed 's/^/| /' conftest.
$ac_ext >&5
9150 ac_cv_func_dlopen
=no
9152 rm -f conftest.err conftest.
$ac_objext \
9153 conftest
$ac_exeext conftest.
$ac_ext
9155 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9156 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
9157 if test $ac_cv_func_dlopen = yes; then
9158 lt_cv_dlopen
="dlopen"
9160 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9161 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9162 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9163 echo $ECHO_N "(cached) $ECHO_C" >&6
9165 ac_check_lib_save_LIBS
=$LIBS
9167 if test x
$gcc_no_link = xyes
; then
9168 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9169 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9170 { (exit 1); exit 1; }; }
9172 cat >conftest.
$ac_ext <<_ACEOF
9175 cat confdefs.h
>>conftest.
$ac_ext
9176 cat >>conftest.
$ac_ext <<_ACEOF
9177 /* end confdefs.h. */
9179 /* Override any gcc2 internal prototype to avoid an error. */
9183 /* We use char because int might match the return type of a gcc2
9184 builtin and then its argument prototype would still apply. */
9194 rm -f conftest.
$ac_objext conftest
$ac_exeext
9195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9196 (eval $ac_link) 2>conftest.er1
9198 grep -v '^ *+' conftest.er1
>conftest.err
9200 cat conftest.err
>&5
9201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9202 (exit $ac_status); } &&
9203 { ac_try
='test -z "$ac_c_werror_flag"
9204 || test ! -s conftest.err'
9205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9209 (exit $ac_status); }; } &&
9210 { ac_try
='test -s conftest$ac_exeext'
9211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9215 (exit $ac_status); }; }; then
9216 ac_cv_lib_dl_dlopen
=yes
9218 echo "$as_me: failed program was:" >&5
9219 sed 's/^/| /' conftest.
$ac_ext >&5
9221 ac_cv_lib_dl_dlopen
=no
9223 rm -f conftest.err conftest.
$ac_objext \
9224 conftest
$ac_exeext conftest.
$ac_ext
9225 LIBS
=$ac_check_lib_save_LIBS
9227 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9228 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9229 if test $ac_cv_lib_dl_dlopen = yes; then
9230 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9232 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9233 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
9234 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9235 echo $ECHO_N "(cached) $ECHO_C" >&6
9237 ac_check_lib_save_LIBS
=$LIBS
9239 if test x
$gcc_no_link = xyes
; then
9240 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9241 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9242 { (exit 1); exit 1; }; }
9244 cat >conftest.
$ac_ext <<_ACEOF
9247 cat confdefs.h
>>conftest.
$ac_ext
9248 cat >>conftest.
$ac_ext <<_ACEOF
9249 /* end confdefs.h. */
9251 /* Override any gcc2 internal prototype to avoid an error. */
9255 /* We use char because int might match the return type of a gcc2
9256 builtin and then its argument prototype would still apply. */
9266 rm -f conftest.
$ac_objext conftest
$ac_exeext
9267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9268 (eval $ac_link) 2>conftest.er1
9270 grep -v '^ *+' conftest.er1
>conftest.err
9272 cat conftest.err
>&5
9273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9274 (exit $ac_status); } &&
9275 { ac_try
='test -z "$ac_c_werror_flag"
9276 || test ! -s conftest.err'
9277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9281 (exit $ac_status); }; } &&
9282 { ac_try
='test -s conftest$ac_exeext'
9283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9287 (exit $ac_status); }; }; then
9288 ac_cv_lib_svld_dlopen
=yes
9290 echo "$as_me: failed program was:" >&5
9291 sed 's/^/| /' conftest.
$ac_ext >&5
9293 ac_cv_lib_svld_dlopen
=no
9295 rm -f conftest.err conftest.
$ac_objext \
9296 conftest
$ac_exeext conftest.
$ac_ext
9297 LIBS
=$ac_check_lib_save_LIBS
9299 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9300 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
9301 if test $ac_cv_lib_svld_dlopen = yes; then
9302 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9304 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9305 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
9306 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9307 echo $ECHO_N "(cached) $ECHO_C" >&6
9309 ac_check_lib_save_LIBS
=$LIBS
9311 if test x
$gcc_no_link = xyes
; then
9312 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9313 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9314 { (exit 1); exit 1; }; }
9316 cat >conftest.
$ac_ext <<_ACEOF
9319 cat confdefs.h
>>conftest.
$ac_ext
9320 cat >>conftest.
$ac_ext <<_ACEOF
9321 /* end confdefs.h. */
9323 /* Override any gcc2 internal prototype to avoid an error. */
9327 /* We use char because int might match the return type of a gcc2
9328 builtin and then its argument prototype would still apply. */
9338 rm -f conftest.
$ac_objext conftest
$ac_exeext
9339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9340 (eval $ac_link) 2>conftest.er1
9342 grep -v '^ *+' conftest.er1
>conftest.err
9344 cat conftest.err
>&5
9345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9346 (exit $ac_status); } &&
9347 { ac_try
='test -z "$ac_c_werror_flag"
9348 || test ! -s conftest.err'
9349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9353 (exit $ac_status); }; } &&
9354 { ac_try
='test -s conftest$ac_exeext'
9355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9359 (exit $ac_status); }; }; then
9360 ac_cv_lib_dld_dld_link
=yes
9362 echo "$as_me: failed program was:" >&5
9363 sed 's/^/| /' conftest.
$ac_ext >&5
9365 ac_cv_lib_dld_dld_link
=no
9367 rm -f conftest.err conftest.
$ac_objext \
9368 conftest
$ac_exeext conftest.
$ac_ext
9369 LIBS
=$ac_check_lib_save_LIBS
9371 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9372 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
9373 if test $ac_cv_lib_dld_dld_link = yes; then
9374 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
9395 if test "x$lt_cv_dlopen" != xno
; then
9401 case $lt_cv_dlopen in
9403 save_CPPFLAGS
="$CPPFLAGS"
9404 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
9406 save_LDFLAGS
="$LDFLAGS"
9407 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
9410 LIBS
="$lt_cv_dlopen_libs $LIBS"
9412 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9413 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
9414 if test "${lt_cv_dlopen_self+set}" = set; then
9415 echo $ECHO_N "(cached) $ECHO_C" >&6
9417 if test "$cross_compiling" = yes; then :
9418 lt_cv_dlopen_self
=cross
9420 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9421 lt_status
=$lt_dlunknown
9422 cat > conftest.
$ac_ext <<_LT_EOF
9423 #line 9423 "configure"
9424 #include "confdefs.h"
9433 # define LT_DLGLOBAL RTLD_GLOBAL
9436 # define LT_DLGLOBAL DL_GLOBAL
9438 # define LT_DLGLOBAL 0
9442 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9443 find out it does not work in some platform. */
9444 #ifndef LT_DLLAZY_OR_NOW
9446 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9449 # define LT_DLLAZY_OR_NOW DL_LAZY
9452 # define LT_DLLAZY_OR_NOW RTLD_NOW
9455 # define LT_DLLAZY_OR_NOW DL_NOW
9457 # define LT_DLLAZY_OR_NOW 0
9465 extern "C" void exit (int);
9468 void fnord() { int i=42;}
9471 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9472 int status = $lt_dlunknown;
9476 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9477 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9478 /* dlclose (self); */
9486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9487 (eval $ac_link) 2>&5
9489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9490 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9491 (.
/conftest
; exit; ) >&5 2>/dev
/null
9494 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
9495 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
9496 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
9499 # compilation failed
9500 lt_cv_dlopen_self
=no
9507 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9508 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
9510 if test "x$lt_cv_dlopen_self" = xyes
; then
9511 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
9512 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9513 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
9514 if test "${lt_cv_dlopen_self_static+set}" = set; then
9515 echo $ECHO_N "(cached) $ECHO_C" >&6
9517 if test "$cross_compiling" = yes; then :
9518 lt_cv_dlopen_self_static
=cross
9520 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9521 lt_status
=$lt_dlunknown
9522 cat > conftest.
$ac_ext <<_LT_EOF
9523 #line 9523 "configure"
9524 #include "confdefs.h"
9533 # define LT_DLGLOBAL RTLD_GLOBAL
9536 # define LT_DLGLOBAL DL_GLOBAL
9538 # define LT_DLGLOBAL 0
9542 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9543 find out it does not work in some platform. */
9544 #ifndef LT_DLLAZY_OR_NOW
9546 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9549 # define LT_DLLAZY_OR_NOW DL_LAZY
9552 # define LT_DLLAZY_OR_NOW RTLD_NOW
9555 # define LT_DLLAZY_OR_NOW DL_NOW
9557 # define LT_DLLAZY_OR_NOW 0
9565 extern "C" void exit (int);
9568 void fnord() { int i=42;}
9571 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9572 int status = $lt_dlunknown;
9576 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9577 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9578 /* dlclose (self); */
9586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9587 (eval $ac_link) 2>&5
9589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9590 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9591 (.
/conftest
; exit; ) >&5 2>/dev
/null
9594 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
9595 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
9596 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
9599 # compilation failed
9600 lt_cv_dlopen_self_static
=no
9607 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
9608 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
9611 CPPFLAGS
="$save_CPPFLAGS"
9612 LDFLAGS
="$save_LDFLAGS"
9617 case $lt_cv_dlopen_self in
9618 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
9619 *) enable_dlopen_self
=unknown
;;
9622 case $lt_cv_dlopen_self_static in
9623 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
9624 *) enable_dlopen_self_static
=unknown
;;
9646 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9647 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
9648 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
9649 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9650 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9651 echo "$as_me:$LINENO: result: yes" >&5
9652 echo "${ECHO_T}yes" >&6
9654 # FIXME - insert some real tests, host_os isn't really good enough
9657 if test -n "$STRIP" ; then
9658 striplib
="$STRIP -x"
9659 old_striplib
="$STRIP -S"
9660 echo "$as_me:$LINENO: result: yes" >&5
9661 echo "${ECHO_T}yes" >&6
9663 echo "$as_me:$LINENO: result: no" >&5
9664 echo "${ECHO_T}no" >&6
9668 echo "$as_me:$LINENO: result: no" >&5
9669 echo "${ECHO_T}no" >&6
9685 # Report which library types will actually be built
9686 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9687 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
9688 echo "$as_me:$LINENO: result: $can_build_shared" >&5
9689 echo "${ECHO_T}$can_build_shared" >&6
9691 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9692 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
9693 test "$can_build_shared" = "no" && enable_shared
=no
9695 # On AIX, shared libraries and static libraries use the same namespace, and
9696 # are all built from PIC.
9699 test "$enable_shared" = yes && enable_static
=no
9700 if test -n "$RANLIB"; then
9701 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
9702 postinstall_cmds
='$RANLIB $lib'
9707 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
9708 test "$enable_shared" = yes && enable_static
=no
9712 echo "$as_me:$LINENO: result: $enable_shared" >&5
9713 echo "${ECHO_T}$enable_shared" >&6
9715 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9716 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
9717 # Make sure either enable_shared or enable_static is yes.
9718 test "$enable_shared" = yes || enable_static
=yes
9719 echo "$as_me:$LINENO: result: $enable_static" >&5
9720 echo "${ECHO_T}$enable_static" >&6
9727 ac_cpp
='$CPP $CPPFLAGS'
9728 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9729 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9730 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9746 ac_config_commands
="$ac_config_commands libtool"
9755 if test "x$CC" != xcc
; then
9756 echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
9757 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6
9759 echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
9760 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6
9762 set dummy
$CC; ac_cc
=`echo $2 |
9763 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
9764 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\" = set"; then
9765 echo $ECHO_N "(cached) $ECHO_C" >&6
9767 cat >conftest.
$ac_ext <<_ACEOF
9770 cat confdefs.h
>>conftest.
$ac_ext
9771 cat >>conftest.
$ac_ext <<_ACEOF
9772 /* end confdefs.h. */
9782 # Make sure it works both with $CC and with simple cc.
9783 # We do the test twice because some compilers refuse to overwrite an
9784 # existing .o file with -o, though they will create one.
9785 ac_try
='$CC -c conftest.$ac_ext -o conftest.$ac_objext >&5'
9786 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9790 (exit $ac_status); } &&
9791 test -f conftest.
$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9795 (exit $ac_status); };
9797 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
9798 if test "x$CC" != xcc
; then
9799 # Test first that cc exists at all.
9800 if { ac_try
='cc -c conftest.$ac_ext >&5'
9801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9805 (exit $ac_status); }; }; then
9806 ac_try
='cc -c conftest.$ac_ext -o conftest.$ac_objext >&5'
9807 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9811 (exit $ac_status); } &&
9812 test -f conftest.
$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9816 (exit $ac_status); };
9821 # cc exists but doesn't like -o.
9822 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
9827 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
9832 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
9833 echo "$as_me:$LINENO: result: yes" >&5
9834 echo "${ECHO_T}yes" >&6
9836 echo "$as_me:$LINENO: result: no" >&5
9837 echo "${ECHO_T}no" >&6
9839 cat >>confdefs.h
<<\_ACEOF
9840 #define NO_MINUS_C_MINUS_O 1
9845 # expand $ac_aux_dir to an absolute path
9846 am_aux_dir
=`cd $ac_aux_dir && pwd`
9848 # FIXME: we rely on the cache variable name because
9849 # there is no other way.
9851 ac_cc
=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
9852 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
9853 # Losing compiler, so override with the script.
9854 # FIXME: It is wrong to rewrite CC.
9855 # But if we don't then we get into trouble of one sort or another.
9856 # A longer-term fix would be to have automake use am__CC in this case,
9857 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
9858 CC
="$am_aux_dir/compile $CC"
9862 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
9863 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
9864 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
9865 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
9866 echo $ECHO_N "(cached) $ECHO_C" >&6
9868 cat >conftest.
make <<\_ACEOF
9870 @
echo 'ac_maketemp="$(MAKE)"'
9872 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
9873 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
9874 if test -n "$ac_maketemp"; then
9875 eval ac_cv_prog_make_
${ac_make}_set
=yes
9877 eval ac_cv_prog_make_
${ac_make}_set
=no
9881 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
9882 echo "$as_me:$LINENO: result: yes" >&5
9883 echo "${ECHO_T}yes" >&6
9886 echo "$as_me:$LINENO: result: no" >&5
9887 echo "${ECHO_T}no" >&6
9888 SET_MAKE
="MAKE=${MAKE-make}"
9896 # Sanity check for the cross-compilation case:
9897 if test "${ac_cv_header_stdio_h+set}" = set; then
9898 echo "$as_me:$LINENO: checking for stdio.h" >&5
9899 echo $ECHO_N "checking for stdio.h... $ECHO_C" >&6
9900 if test "${ac_cv_header_stdio_h+set}" = set; then
9901 echo $ECHO_N "(cached) $ECHO_C" >&6
9903 echo "$as_me:$LINENO: result: $ac_cv_header_stdio_h" >&5
9904 echo "${ECHO_T}$ac_cv_header_stdio_h" >&6
9906 # Is the header compilable?
9907 echo "$as_me:$LINENO: checking stdio.h usability" >&5
9908 echo $ECHO_N "checking stdio.h usability... $ECHO_C" >&6
9909 cat >conftest.
$ac_ext <<_ACEOF
9912 cat confdefs.h
>>conftest.
$ac_ext
9913 cat >>conftest.
$ac_ext <<_ACEOF
9914 /* end confdefs.h. */
9915 $ac_includes_default
9918 rm -f conftest.
$ac_objext
9919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9920 (eval $ac_compile) 2>conftest.er1
9922 grep -v '^ *+' conftest.er1
>conftest.err
9924 cat conftest.err
>&5
9925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9926 (exit $ac_status); } &&
9927 { ac_try
='test -z "$ac_c_werror_flag"
9928 || test ! -s conftest.err'
9929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9933 (exit $ac_status); }; } &&
9934 { ac_try
='test -s conftest.$ac_objext'
9935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9939 (exit $ac_status); }; }; then
9940 ac_header_compiler
=yes
9942 echo "$as_me: failed program was:" >&5
9943 sed 's/^/| /' conftest.
$ac_ext >&5
9945 ac_header_compiler
=no
9947 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9948 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9949 echo "${ECHO_T}$ac_header_compiler" >&6
9951 # Is the header present?
9952 echo "$as_me:$LINENO: checking stdio.h presence" >&5
9953 echo $ECHO_N "checking stdio.h presence... $ECHO_C" >&6
9954 cat >conftest.
$ac_ext <<_ACEOF
9957 cat confdefs.h
>>conftest.
$ac_ext
9958 cat >>conftest.
$ac_ext <<_ACEOF
9959 /* end confdefs.h. */
9962 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9963 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9965 grep -v '^ *+' conftest.er1
>conftest.err
9967 cat conftest.err
>&5
9968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9969 (exit $ac_status); } >/dev
/null
; then
9970 if test -s conftest.err
; then
9971 ac_cpp_err
=$ac_c_preproc_warn_flag
9972 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9979 if test -z "$ac_cpp_err"; then
9980 ac_header_preproc
=yes
9982 echo "$as_me: failed program was:" >&5
9983 sed 's/^/| /' conftest.
$ac_ext >&5
9985 ac_header_preproc
=no
9987 rm -f conftest.err conftest.
$ac_ext
9988 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9989 echo "${ECHO_T}$ac_header_preproc" >&6
9991 # So? What about this header?
9992 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9994 { echo "$as_me:$LINENO: WARNING: stdio.h: accepted by the compiler, rejected by the preprocessor!" >&5
9995 echo "$as_me: WARNING: stdio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9996 { echo "$as_me:$LINENO: WARNING: stdio.h: proceeding with the compiler's result" >&5
9997 echo "$as_me: WARNING: stdio.h: proceeding with the compiler's result" >&2;}
9998 ac_header_preproc
=yes
10001 { echo "$as_me:$LINENO: WARNING: stdio.h: present but cannot be compiled" >&5
10002 echo "$as_me: WARNING: stdio.h: present but cannot be compiled" >&2;}
10003 { echo "$as_me:$LINENO: WARNING: stdio.h: check for missing prerequisite headers?" >&5
10004 echo "$as_me: WARNING: stdio.h: check for missing prerequisite headers?" >&2;}
10005 { echo "$as_me:$LINENO: WARNING: stdio.h: see the Autoconf documentation" >&5
10006 echo "$as_me: WARNING: stdio.h: see the Autoconf documentation" >&2;}
10007 { echo "$as_me:$LINENO: WARNING: stdio.h: section \"Present But Cannot Be Compiled\"" >&5
10008 echo "$as_me: WARNING: stdio.h: section \"Present But Cannot Be Compiled\"" >&2;}
10009 { echo "$as_me:$LINENO: WARNING: stdio.h: proceeding with the preprocessor's result" >&5
10010 echo "$as_me: WARNING: stdio.h: proceeding with the preprocessor's result" >&2;}
10011 { echo "$as_me:$LINENO: WARNING: stdio.h: in the future, the compiler will take precedence" >&5
10012 echo "$as_me: WARNING: stdio.h: in the future, the compiler will take precedence" >&2;}
10015 ## ----------------------------------------- ##
10016 ## Report this to the package-unused lists. ##
10017 ## ----------------------------------------- ##
10020 sed "s/^/$as_me: WARNING: /" >&2
10023 echo "$as_me:$LINENO: checking for stdio.h" >&5
10024 echo $ECHO_N "checking for stdio.h... $ECHO_C" >&6
10025 if test "${ac_cv_header_stdio_h+set}" = set; then
10026 echo $ECHO_N "(cached) $ECHO_C" >&6
10028 ac_cv_header_stdio_h
=$ac_header_preproc
10030 echo "$as_me:$LINENO: result: $ac_cv_header_stdio_h" >&5
10031 echo "${ECHO_T}$ac_cv_header_stdio_h" >&6
10034 if test $ac_cv_header_stdio_h = yes; then
10037 { { echo "$as_me:$LINENO: error: Can't find stdio.h.
10038 You must have a usable C system for the target already installed, at least
10039 including headers and, preferably, the library, before you can configure
10040 the Objective C runtime system. If necessary, install gcc now with
10041 \`LANGUAGES=c', then the target library, then build with \`LANGUAGES=objc'." >&5
10042 echo "$as_me: error: Can't find stdio.h.
10043 You must have a usable C system for the target already installed, at least
10044 including headers and, preferably, the library, before you can configure
10045 the Objective C runtime system. If necessary, install gcc now with
10046 \`LANGUAGES=c', then the target library, then build with \`LANGUAGES=objc'." >&2;}
10047 { (exit 1); exit 1; }; }
10052 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
10053 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
10054 if test "${ac_cv_header_stdc+set}" = set; then
10055 echo $ECHO_N "(cached) $ECHO_C" >&6
10057 cat >conftest.
$ac_ext <<_ACEOF
10060 cat confdefs.h
>>conftest.
$ac_ext
10061 cat >>conftest.
$ac_ext <<_ACEOF
10062 /* end confdefs.h. */
10063 #include <stdlib.h>
10064 #include <stdarg.h>
10065 #include <string.h>
10076 rm -f conftest.
$ac_objext
10077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10078 (eval $ac_compile) 2>conftest.er1
10080 grep -v '^ *+' conftest.er1
>conftest.err
10082 cat conftest.err
>&5
10083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10084 (exit $ac_status); } &&
10085 { ac_try
='test -z "$ac_c_werror_flag"
10086 || test ! -s conftest.err'
10087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10088 (eval $ac_try) 2>&5
10090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10091 (exit $ac_status); }; } &&
10092 { ac_try
='test -s conftest.$ac_objext'
10093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10094 (eval $ac_try) 2>&5
10096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10097 (exit $ac_status); }; }; then
10098 ac_cv_header_stdc
=yes
10100 echo "$as_me: failed program was:" >&5
10101 sed 's/^/| /' conftest.
$ac_ext >&5
10103 ac_cv_header_stdc
=no
10105 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10107 if test $ac_cv_header_stdc = yes; then
10108 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
10109 cat >conftest.
$ac_ext <<_ACEOF
10112 cat confdefs.h
>>conftest.
$ac_ext
10113 cat >>conftest.
$ac_ext <<_ACEOF
10114 /* end confdefs.h. */
10115 #include <string.h>
10118 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10119 $EGREP "memchr" >/dev
/null
2>&1; then
10122 ac_cv_header_stdc
=no
10128 if test $ac_cv_header_stdc = yes; then
10129 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
10130 cat >conftest.
$ac_ext <<_ACEOF
10133 cat confdefs.h
>>conftest.
$ac_ext
10134 cat >>conftest.
$ac_ext <<_ACEOF
10135 /* end confdefs.h. */
10136 #include <stdlib.h>
10139 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10140 $EGREP "free" >/dev
/null
2>&1; then
10143 ac_cv_header_stdc
=no
10149 if test $ac_cv_header_stdc = yes; then
10150 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
10151 if test "$cross_compiling" = yes; then
10154 cat >conftest.
$ac_ext <<_ACEOF
10157 cat confdefs.h
>>conftest.
$ac_ext
10158 cat >>conftest.
$ac_ext <<_ACEOF
10159 /* end confdefs.h. */
10161 #if ((' ' & 0x0FF) == 0x020)
10162 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
10163 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
10165 # define ISLOWER(c) \
10166 (('a' <= (c) && (c) <= 'i') \
10167 || ('j' <= (c) && (c) <= 'r') \
10168 || ('s' <= (c) && (c) <= 'z'))
10169 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
10172 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
10177 for (i = 0; i < 256; i++)
10178 if (XOR (islower (i), ISLOWER (i))
10179 || toupper (i) != TOUPPER (i))
10184 rm -f conftest
$ac_exeext
10185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10186 (eval $ac_link) 2>&5
10188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10189 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
10190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10191 (eval $ac_try) 2>&5
10193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10194 (exit $ac_status); }; }; then
10197 echo "$as_me: program exited with status $ac_status" >&5
10198 echo "$as_me: failed program was:" >&5
10199 sed 's/^/| /' conftest.
$ac_ext >&5
10201 ( exit $ac_status )
10202 ac_cv_header_stdc
=no
10204 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
10208 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
10209 echo "${ECHO_T}$ac_cv_header_stdc" >&6
10210 if test $ac_cv_header_stdc = yes; then
10212 cat >>confdefs.h
<<\_ACEOF
10213 #define STDC_HEADERS 1
10220 for ac_header
in sched.h
10222 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10223 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10224 echo "$as_me:$LINENO: checking for $ac_header" >&5
10225 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10226 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10227 echo $ECHO_N "(cached) $ECHO_C" >&6
10229 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10230 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10232 # Is the header compilable?
10233 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10234 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10235 cat >conftest.
$ac_ext <<_ACEOF
10238 cat confdefs.h
>>conftest.
$ac_ext
10239 cat >>conftest.
$ac_ext <<_ACEOF
10240 /* end confdefs.h. */
10241 $ac_includes_default
10242 #include <$ac_header>
10244 rm -f conftest.
$ac_objext
10245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10246 (eval $ac_compile) 2>conftest.er1
10248 grep -v '^ *+' conftest.er1
>conftest.err
10250 cat conftest.err
>&5
10251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10252 (exit $ac_status); } &&
10253 { ac_try
='test -z "$ac_c_werror_flag"
10254 || test ! -s conftest.err'
10255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10256 (eval $ac_try) 2>&5
10258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10259 (exit $ac_status); }; } &&
10260 { ac_try
='test -s conftest.$ac_objext'
10261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10262 (eval $ac_try) 2>&5
10264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10265 (exit $ac_status); }; }; then
10266 ac_header_compiler
=yes
10268 echo "$as_me: failed program was:" >&5
10269 sed 's/^/| /' conftest.
$ac_ext >&5
10271 ac_header_compiler
=no
10273 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10274 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10275 echo "${ECHO_T}$ac_header_compiler" >&6
10277 # Is the header present?
10278 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10279 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10280 cat >conftest.
$ac_ext <<_ACEOF
10283 cat confdefs.h
>>conftest.
$ac_ext
10284 cat >>conftest.
$ac_ext <<_ACEOF
10285 /* end confdefs.h. */
10286 #include <$ac_header>
10288 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10289 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10291 grep -v '^ *+' conftest.er1
>conftest.err
10293 cat conftest.err
>&5
10294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10295 (exit $ac_status); } >/dev
/null
; then
10296 if test -s conftest.err
; then
10297 ac_cpp_err
=$ac_c_preproc_warn_flag
10298 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10305 if test -z "$ac_cpp_err"; then
10306 ac_header_preproc
=yes
10308 echo "$as_me: failed program was:" >&5
10309 sed 's/^/| /' conftest.
$ac_ext >&5
10311 ac_header_preproc
=no
10313 rm -f conftest.err conftest.
$ac_ext
10314 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10315 echo "${ECHO_T}$ac_header_preproc" >&6
10317 # So? What about this header?
10318 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10320 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10321 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10322 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10323 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10324 ac_header_preproc
=yes
10327 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10328 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10329 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10330 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10331 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10332 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10333 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10334 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10335 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10336 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10337 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10338 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10341 ## ----------------------------------------- ##
10342 ## Report this to the package-unused lists. ##
10343 ## ----------------------------------------- ##
10346 sed "s/^/$as_me: WARNING: /" >&2
10349 echo "$as_me:$LINENO: checking for $ac_header" >&5
10350 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10351 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10352 echo $ECHO_N "(cached) $ECHO_C" >&6
10354 eval "$as_ac_Header=\$ac_header_preproc"
10356 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10357 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10360 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10361 cat >>confdefs.h
<<_ACEOF
10362 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10374 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
10375 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
10376 target_thread_file
=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
10377 echo "$as_me:$LINENO: result: $target_thread_file" >&5
10378 echo "${ECHO_T}$target_thread_file" >&6
10380 if test $target_thread_file != single
; then
10382 cat >>confdefs.h
<<\_ACEOF
10383 #define HAVE_GTHR_DEFAULT 1
10389 echo "$as_me:$LINENO: checking for exception model to use" >&5
10390 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
10392 ac_cpp
='$CPP $CPPFLAGS'
10393 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10394 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10395 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10397 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
10398 if test "${enable_sjlj_exceptions+set}" = set; then
10399 enableval
="$enable_sjlj_exceptions"
10402 cat > conftest.
$ac_ext << EOF
10403 #line 10403 "configure"
10406 @implementation Frob
10414 @catch (Frob* ex) {
10419 old_CFLAGS
="$CFLAGS"
10420 CFLAGS
="-x objective-c -fgnu-runtime -fobjc-exceptions -S"
10421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10422 (eval $ac_compile) 2>&5
10424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10425 (exit $ac_status); }; then
10426 if grep _Unwind_SjLj_Resume conftest.s
>/dev
/null
2>&1 ; then
10427 enable_sjlj_exceptions
=yes
10428 elif grep _Unwind_Resume conftest.s
>/dev
/null
2>&1 ; then
10429 enable_sjlj_exceptions
=no
10432 CFLAGS
="$old_CFLAGS"
10435 if test x
$enable_sjlj_exceptions = xyes
; then
10437 cat >>confdefs.h
<<\_ACEOF
10438 #define SJLJ_EXCEPTIONS 1
10441 ac_exception_model_name
=sjlj
10442 elif test x
$enable_sjlj_exceptions = xno
; then
10443 ac_exception_model_name
="call frame"
10445 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
10446 echo "$as_me: error: unable to detect exception model" >&2;}
10447 { (exit 1); exit 1; }; }
10450 ac_cpp
='$CPP $CPPFLAGS'
10451 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10452 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10453 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10455 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
10456 echo "${ECHO_T}$ac_exception_model_name" >&6
10462 ac_config_files
="$ac_config_files Makefile"
10465 ac_config_commands
="$ac_config_commands default"
10468 cat >confcache
<<\_ACEOF
10469 # This file is a shell script that caches the results of configure
10470 # tests run on this system so they can be shared between configure
10471 # scripts and configure runs, see configure's option --config-cache.
10472 # It is not useful on other systems. If it contains results you don't
10473 # want to keep, you may remove or edit it.
10475 # config.status only pays attention to the cache file if you give it
10476 # the --recheck option to rerun configure.
10478 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10479 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10480 # following values.
10484 # The following way of writing the cache mishandles newlines in values,
10485 # but we know of no workaround that is simple, portable, and efficient.
10486 # So, don't put newlines in cache variables' values.
10487 # Ultrix sh set writes to stderr and can't be redirected directly,
10488 # and sets the high bit in the cache file unless we assign to the vars.
10491 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10493 # `set' does not quote correctly, so add quotes (double-quote
10494 # substitution turns \\\\ into \\, and sed turns \\ into \).
10497 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10500 # `set' quotes correctly as required by POSIX, so do not add quotes.
10502 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10509 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10511 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10513 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10514 if test -w $cache_file; then
10515 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10516 cat confcache
>$cache_file
10518 echo "not updating unwritable cache $cache_file"
10523 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
10524 # Let make expand exec_prefix.
10525 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
10527 # VPATH may cause trouble with some makes, so we remove $(srcdir),
10528 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
10529 # trailing colons and then remove the whole line if VPATH becomes empty
10530 # (actually we leave an empty line to preserve line numbers).
10531 if test "x$srcdir" = x.
; then
10532 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
10533 s/:*\$(srcdir):*/:/;
10534 s/:*\${srcdir}:*/:/;
10536 s/^\([^=]*=[ ]*\):*/\1/;
10542 DEFS
=-DHAVE_CONFIG_H
10546 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
10547 # 1. Remove the extension, and $U if already installed.
10548 ac_i
=`echo "$ac_i" |
10549 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
10551 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
10552 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
10554 LIBOBJS
=$ac_libobjs
10556 LTLIBOBJS
=$ac_ltlibobjs
10559 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
10560 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
10561 Usually this means the macro was only invoked conditionally." >&5
10562 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
10563 Usually this means the macro was only invoked conditionally." >&2;}
10564 { (exit 1); exit 1; }; }
10567 : ${CONFIG_STATUS=./config.status}
10568 ac_clean_files_save
=$ac_clean_files
10569 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
10570 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
10571 echo "$as_me: creating $CONFIG_STATUS" >&6;}
10572 cat >$CONFIG_STATUS <<_ACEOF
10574 # Generated by $as_me.
10575 # Run this file to recreate the current configuration.
10576 # Compiler output produced by configure, useful for debugging
10577 # configure, is in config.log if it exists.
10580 ac_cs_recheck=false
10582 SHELL=\${CONFIG_SHELL-$SHELL}
10585 cat >>$CONFIG_STATUS <<\_ACEOF
10586 ## --------------------- ##
10587 ## M4sh Initialization. ##
10588 ## --------------------- ##
10590 # Be Bourne compatible
10591 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
10594 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
10595 # is contrary to our usage. Disable this feature.
10596 alias -g '${1+"$@"}'='"$@"'
10597 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
10600 DUALCASE
=1; export DUALCASE
# for MKS sh
10602 # Support unset when possible.
10603 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
10610 # Work around bugs in pre-3.0 UWIN ksh.
10611 $as_unset ENV MAIL MAILPATH
10618 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
10619 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
10620 LC_TELEPHONE LC_TIME
10622 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
10623 eval $as_var=C
; export $as_var
10629 # Required to use basename.
10630 if expr a
: '\(a\)' >/dev
/null
2>&1; then
10636 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
10637 as_basename
=basename
10643 # Name of the executable.
10644 as_me
=`$as_basename "$0" ||
10645 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
10646 X"$0" : 'X\(//\)$' \| \
10647 X"$0" : 'X\(/\)$' \| \
10648 . : '\(.\)' 2>/dev/null ||
10650 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
10651 /^X\/\(\/\/\)$/{ s//\1/; q; }
10652 /^X\/\(\/\).*/{ s//\1/; q; }
10656 # PATH needs CR, and LINENO needs CR and PATH.
10657 # Avoid depending upon Character Ranges.
10658 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
10659 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
10660 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
10661 as_cr_digits
='0123456789'
10662 as_cr_alnum
=$as_cr_Letters$as_cr_digits
10664 # The user is always right.
10665 if test "${PATH_SEPARATOR+set}" != set; then
10666 echo "#! /bin/sh" >conf$$.sh
10667 echo "exit 0" >>conf$$.sh
10669 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
10678 as_lineno_1
=$LINENO
10679 as_lineno_2
=$LINENO
10680 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
10681 test "x$as_lineno_1" != "x$as_lineno_2" &&
10682 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
10683 # Find who we are. Look in the path if we contain no path at all
10686 *[\\/]* ) as_myself
=$0 ;;
10687 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10688 for as_dir
in $PATH
10691 test -z "$as_dir" && as_dir
=.
10692 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
10697 # We did not find ourselves, most probably we were run as `sh COMMAND'
10698 # in which case we are not to be found in the path.
10699 if test "x$as_myself" = x
; then
10702 if test ! -f "$as_myself"; then
10703 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
10704 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
10705 { (exit 1); exit 1; }; }
10707 case $CONFIG_SHELL in
10709 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10710 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
10713 test -z "$as_dir" && as_dir
=.
10714 for as_base
in sh bash ksh sh5
; do
10717 if ("$as_dir/$as_base" -c '
10718 as_lineno_1=$LINENO
10719 as_lineno_2=$LINENO
10720 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
10721 test "x$as_lineno_1" != "x$as_lineno_2" &&
10722 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
10723 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
10724 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
10725 CONFIG_SHELL
=$as_dir/$as_base
10726 export CONFIG_SHELL
10727 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
10735 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
10736 # uniformly replaced by the line number. The first 'sed' inserts a
10737 # line-number line before each line; the second 'sed' does the real
10738 # work. The second script uses 'N' to pair each line-number line
10739 # with the numbered line, and appends trailing '-' during
10740 # substitution so that $LINENO is not a special case at line end.
10741 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
10742 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
10743 sed '=' <$as_myself |
10748 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
10751 s,^['$as_cr_digits']*\n,,
10752 ' >$as_me.lineno
&&
10753 chmod +x
$as_me.lineno ||
10754 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
10755 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
10756 { (exit 1); exit 1; }; }
10758 # Don't try to exec as it changes $[0], causing all sort of problems
10759 # (the dirname of $[0] is not the place where we might find the
10760 # original and so on. Autoconf is especially sensible to this).
10762 # Exit status is that of the last command.
10767 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
10768 *c
*,-n*) ECHO_N
= ECHO_C
='
10770 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
10771 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
10774 if expr a
: '\(a\)' >/dev
/null
2>&1; then
10780 rm -f conf$$ conf$$.exe conf$$.
file
10782 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
10783 # We could just check for DJGPP; but this test a) works b) is more generic
10784 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
10785 if test -f conf$$.exe
; then
10786 # Don't use ln at all; we don't have any links
10791 elif ln conf$$.
file conf$$
2>/dev
/null
; then
10796 rm -f conf$$ conf$$.exe conf$$.
file
10798 if mkdir
-p .
2>/dev
/null
; then
10801 test -d .
/-p && rmdir .
/-p
10805 as_executable_p
="test -f"
10807 # Sed expression to map a string onto a valid CPP name.
10808 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
10810 # Sed expression to map a string onto a valid variable name.
10811 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
10815 # We need space, tab and new line, in precisely that order.
10825 # Open the log real soon, to keep \$[0] and so on meaningful, and to
10826 # report actual input values of CONFIG_FILES etc. instead of their
10827 # values after options handling. Logging --version etc. is OK.
10831 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10832 ## Running $as_me. ##
10837 This file was extended by package-unused $as_me version-unused, which was
10838 generated by GNU Autoconf 2.59. Invocation command line was
10840 CONFIG_FILES = $CONFIG_FILES
10841 CONFIG_HEADERS = $CONFIG_HEADERS
10842 CONFIG_LINKS = $CONFIG_LINKS
10843 CONFIG_COMMANDS = $CONFIG_COMMANDS
10847 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
10851 # Files that config.status was made for.
10852 if test -n "$ac_config_files"; then
10853 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
10856 if test -n "$ac_config_headers"; then
10857 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
10860 if test -n "$ac_config_links"; then
10861 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
10864 if test -n "$ac_config_commands"; then
10865 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
10868 cat >>$CONFIG_STATUS <<\_ACEOF
10871 \`$as_me' instantiates files from templates according to the
10872 current configuration.
10874 Usage: $0 [OPTIONS] [FILE]...
10876 -h, --help print this help, then exit
10877 -V, --version print version number, then exit
10878 -q, --quiet do not print progress messages
10879 -d, --debug don't remove temporary files
10880 --recheck update $as_me by reconfiguring in the same conditions
10881 --file=FILE[:TEMPLATE]
10882 instantiate the configuration file FILE
10883 --header=FILE[:TEMPLATE]
10884 instantiate the configuration header FILE
10886 Configuration files:
10889 Configuration headers:
10892 Configuration commands:
10895 Report bugs to <bug-autoconf@gnu.org>."
10898 cat >>$CONFIG_STATUS <<_ACEOF
10900 package-unused config.status version-unused
10901 configured by $0, generated by GNU Autoconf 2.59,
10902 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
10904 Copyright (C) 2003 Free Software Foundation, Inc.
10905 This config.status script is free software; the Free Software Foundation
10906 gives unlimited permission to copy, distribute and modify it."
10911 cat >>$CONFIG_STATUS <<\_ACEOF
10912 # If no file are specified by the user, then we need to provide default
10913 # value. By we need to know if files were specified by the user.
10919 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
10920 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
10928 *) # This is not an option, so the user has probably given explicit
10931 ac_need_defaults
=false
;;
10935 # Handling of the options.
10937 cat >>$CONFIG_STATUS <<\_ACEOF
10938 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
10940 --version |
--vers* |
-V )
10941 echo "$ac_cs_version"; exit 0 ;;
10943 # Conflict between --help and --header
10944 { { echo "$as_me:$LINENO: error: ambiguous option: $1
10945 Try \`$0 --help' for more information." >&5
10946 echo "$as_me: error: ambiguous option: $1
10947 Try \`$0 --help' for more information." >&2;}
10948 { (exit 1); exit 1; }; };;
10949 --help |
--hel |
-h )
10950 echo "$ac_cs_usage"; exit 0 ;;
10951 --debug |
--d* |
-d )
10953 --file |
--fil |
--fi |
--f )
10955 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
10956 ac_need_defaults
=false
;;
10957 --header |
--heade |
--head |
--hea )
10959 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
10960 ac_need_defaults
=false
;;
10961 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
10962 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
10965 # This is an error.
10966 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
10967 Try \`$0 --help' for more information." >&5
10968 echo "$as_me: error: unrecognized option: $1
10969 Try \`$0 --help' for more information." >&2;}
10970 { (exit 1); exit 1; }; } ;;
10972 *) ac_config_targets
="$ac_config_targets $1" ;;
10978 ac_configure_extra_args
=
10980 if $ac_cs_silent; then
10982 ac_configure_extra_args
="$ac_configure_extra_args --silent"
10986 cat >>$CONFIG_STATUS <<_ACEOF
10987 if \$ac_cs_recheck; then
10988 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
10989 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10994 cat >>$CONFIG_STATUS <<_ACEOF
10996 # INIT-COMMANDS section.
11003 with_multisubdir="$with_multisubdir"
11004 with_multisrctop="$with_multisrctop"
11005 with_target_subdir="$with_target_subdir"
11006 ac_configure_args="${multilib_arg} ${ac_configure_args}"
11007 multi_basedir="$multi_basedir"
11008 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
11012 # The HP-UX ksh and POSIX shell print the target directory to stdout
11013 # if CDPATH is set.
11014 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11016 sed_quote_subst='$sed_quote_subst'
11017 double_quote_subst='$double_quote_subst'
11018 delay_variable_subst='$delay_variable_subst'
11019 AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
11020 DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
11021 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
11022 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
11023 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
11024 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
11025 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
11026 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
11027 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
11028 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
11029 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
11030 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
11031 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
11032 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
11033 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
11034 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
11035 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
11036 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
11037 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
11038 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
11039 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
11040 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
11041 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
11042 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
11043 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
11044 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
11045 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
11046 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
11047 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
11048 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
11049 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11050 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
11051 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
11052 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
11053 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
11054 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
11055 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
11056 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11057 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11058 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11059 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
11060 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
11061 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
11062 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
11063 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
11064 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
11065 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"`'
11066 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
11067 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
11068 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
11069 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
11070 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
11071 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
11072 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
11073 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
11074 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
11075 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
11076 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
11077 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11078 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11079 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
11080 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
11081 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
11082 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
11083 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
11084 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11085 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11086 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11087 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11088 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11089 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11090 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
11091 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
11092 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
11093 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
11094 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
11095 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
11096 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
11097 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
11098 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
11099 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
11100 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
11101 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
11102 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
11103 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
11104 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
11105 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11106 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
11107 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
11108 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11109 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
11110 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
11111 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
11112 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
11113 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
11114 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
11115 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
11116 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
11117 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
11118 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
11119 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
11120 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11121 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11122 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11123 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
11124 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
11125 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
11126 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
11127 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
11128 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
11129 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
11130 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
11131 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
11132 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
11135 LTCFLAGS='$LTCFLAGS'
11136 compiler='$compiler_DEFAULT'
11138 # Quote evaled strings.
11149 deplibs_check_method \
11158 lt_cv_sys_global_symbol_pipe \
11159 lt_cv_sys_global_symbol_to_cdecl \
11160 lt_cv_sys_global_symbol_to_c_name_address \
11163 lt_prog_compiler_no_builtin_flag \
11164 lt_prog_compiler_wl \
11165 lt_prog_compiler_pic \
11166 lt_prog_compiler_static \
11167 lt_cv_prog_compiler_c_o \
11170 export_dynamic_flag_spec \
11171 whole_archive_flag_spec \
11172 compiler_needs_object \
11174 allow_undefined_flag \
11175 no_undefined_flag \
11176 hardcode_libdir_flag_spec \
11177 hardcode_libdir_flag_spec_ld \
11178 hardcode_libdir_separator \
11183 variables_saved_for_relink \
11185 library_names_spec \
11190 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
11191 *[\\\\\\\`\\"\\\$]*)
11192 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
11195 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
11200 # Double-quote double-evaled strings.
11201 for var in reload_cmds \
11202 old_postinstall_cmds \
11203 old_postuninstall_cmds \
11205 extract_expsyms_cmds \
11206 old_archive_from_new_cmds \
11207 old_archive_from_expsyms_cmds \
11209 archive_expsym_cmds \
11211 module_expsym_cmds \
11212 export_symbols_cmds \
11215 postuninstall_cmds \
11217 sys_lib_search_path_spec \
11218 sys_lib_dlsearch_path_spec; do
11219 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
11220 *[\\\\\\\`\\"\\\$]*)
11221 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
11224 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
11229 # Fix-up fallback echo if it was mangled by the above quoting rules.
11231 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
11235 ac_aux_dir='$ac_aux_dir'
11236 xsi_shell='$xsi_shell'
11237 lt_shell_append='$lt_shell_append'
11239 # See if we are running on zsh, and set the options which allow our
11240 # commands through without removal of \ escapes INIT.
11241 if test -n "\${ZSH_VERSION+set}" ; then
11242 setopt NO_GLOB_SUBST
11248 TIMESTAMP='$TIMESTAMP'
11257 with_target_subdir=${with_target_subdir}
11258 with_multisubdir=${with_multisubdir}
11259 ac_configure_args="--enable-multilib ${ac_configure_args}"
11260 multi_basedir=${multi_basedir}
11261 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
11262 ORIGINAL_LD_FOR_MULTILIBS="${ORIGINAL_LD_FOR_MULTILIBS}"
11269 cat >>$CONFIG_STATUS <<\_ACEOF
11270 for ac_config_target
in $ac_config_targets
11272 case "$ac_config_target" in
11273 # Handling of arguments.
11274 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
11275 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
11276 "libtool" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
11277 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
11278 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
11279 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
11280 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
11281 { (exit 1); exit 1; }; };;
11285 # If the user did not use the arguments to specify the items to instantiate,
11286 # then the envvar interface is used. Set only those that are not.
11287 # We use the long form for the default assignment because of an extremely
11288 # bizarre bug on SunOS 4.1.3.
11289 if $ac_need_defaults; then
11290 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
11291 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
11292 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
11295 # Have a temporary directory for convenience. Make it in the build tree
11296 # simply because there is no reason to put it here, and in addition,
11297 # creating and moving files from /tmp can sometimes cause problems.
11298 # Create a temporary directory, and hook for its removal unless debugging.
11301 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
11302 trap '{ (exit 1); exit 1; }' 1 2 13 15
11305 # Create a (secure) tmp directory for tmp files.
11308 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
11309 test -n "$tmp" && test -d "$tmp"
11312 tmp
=.
/confstat$$
-$RANDOM
11313 (umask 077 && mkdir
$tmp)
11316 echo "$me: cannot create a temporary directory in ." >&2
11317 { (exit 1); exit 1; }
11322 cat >>$CONFIG_STATUS <<_ACEOF
11325 # CONFIG_FILES section.
11328 # No need to generate the scripts if there are no CONFIG_FILES.
11329 # This happens for instance when ./config.status config.h
11330 if test -n "\$CONFIG_FILES"; then
11331 # Protect against being on the right side of a sed subst in config.status.
11332 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
11333 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
11334 s,@SHELL@,$SHELL,;t t
11335 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
11336 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
11337 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
11338 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
11339 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
11340 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
11341 s,@exec_prefix@,$exec_prefix,;t t
11342 s,@prefix@,$prefix,;t t
11343 s,@program_transform_name@,$program_transform_name,;t t
11344 s,@bindir@,$bindir,;t t
11345 s,@sbindir@,$sbindir,;t t
11346 s,@libexecdir@,$libexecdir,;t t
11347 s,@datadir@,$datadir,;t t
11348 s,@sysconfdir@,$sysconfdir,;t t
11349 s,@sharedstatedir@,$sharedstatedir,;t t
11350 s,@localstatedir@,$localstatedir,;t t
11351 s,@libdir@,$libdir,;t t
11352 s,@includedir@,$includedir,;t t
11353 s,@oldincludedir@,$oldincludedir,;t t
11354 s,@infodir@,$infodir,;t t
11355 s,@mandir@,$mandir,;t t
11356 s,@build_alias@,$build_alias,;t t
11357 s,@host_alias@,$host_alias,;t t
11358 s,@target_alias@,$target_alias,;t t
11359 s,@DEFS@,$DEFS,;t t
11360 s,@ECHO_C@,$ECHO_C,;t t
11361 s,@ECHO_N@,$ECHO_N,;t t
11362 s,@ECHO_T@,$ECHO_T,;t t
11363 s,@LIBS@,$LIBS,;t t
11364 s,@build@,$build,;t t
11365 s,@build_cpu@,$build_cpu,;t t
11366 s,@build_vendor@,$build_vendor,;t t
11367 s,@build_os@,$build_os,;t t
11368 s,@build_libsubdir@,$build_libsubdir,;t t
11369 s,@build_subdir@,$build_subdir,;t t
11370 s,@host_subdir@,$host_subdir,;t t
11371 s,@target_subdir@,$target_subdir,;t t
11372 s,@VERSION@,$VERSION,;t t
11373 s,@OBJC_BOEHM_GC@,$OBJC_BOEHM_GC,;t t
11374 s,@OBJC_BOEHM_GC_INCLUDES@,$OBJC_BOEHM_GC_INCLUDES,;t t
11375 s,@multi_basedir@,$multi_basedir,;t t
11376 s,@host@,$host,;t t
11377 s,@host_cpu@,$host_cpu,;t t
11378 s,@host_vendor@,$host_vendor,;t t
11379 s,@host_os@,$host_os,;t t
11380 s,@target@,$target,;t t
11381 s,@target_cpu@,$target_cpu,;t t
11382 s,@target_vendor@,$target_vendor,;t t
11383 s,@target_os@,$target_os,;t t
11384 s,@target_noncanonical@,$target_noncanonical,;t t
11385 s,@glibcpp_srcdir@,$glibcpp_srcdir,;t t
11386 s,@toolexecdir@,$toolexecdir,;t t
11387 s,@toolexeclibdir@,$toolexeclibdir,;t t
11388 s,@includedirname@,$includedirname,;t t
11389 s,@libext@,$libext,;t t
11391 s,@ac_ct_CC@,$ac_ct_CC,;t t
11392 s,@EXEEXT@,$EXEEXT,;t t
11393 s,@OBJEXT@,$OBJEXT,;t t
11394 s,@extra_ldflags_libobjc@,$extra_ldflags_libobjc,;t t
11395 s,@CFLAGS@,$CFLAGS,;t t
11397 s,@ac_ct_AS@,$ac_ct_AS,;t t
11399 s,@ac_ct_AR@,$ac_ct_AR,;t t
11400 s,@RANLIB@,$RANLIB,;t t
11401 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
11402 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
11403 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
11404 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
11405 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
11406 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
11407 s,@MAINT@,$MAINT,;t t
11408 s,@DLLTOOL@,$DLLTOOL,;t t
11409 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
11410 s,@OBJDUMP@,$OBJDUMP,;t t
11411 s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t
11412 s,@LIBTOOL@,$LIBTOOL,;t t
11414 s,@EGREP@,$EGREP,;t t
11415 s,@FGREP@,$FGREP,;t t
11416 s,@GREP@,$GREP,;t t
11418 s,@DUMPBIN@,$DUMPBIN,;t t
11419 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
11421 s,@LN_S@,$LN_S,;t t
11422 s,@STRIP@,$STRIP,;t t
11423 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
11424 s,@lt_ECHO@,$lt_ECHO,;t t
11426 s,@CPPFLAGS@,$CPPFLAGS,;t t
11427 s,@SET_MAKE@,$SET_MAKE,;t t
11428 s,@LIBOBJS@,$LIBOBJS,;t t
11429 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
11434 cat >>$CONFIG_STATUS <<\_ACEOF
11435 # Split the substitutions into bite-sized pieces for seds with
11436 # small command number limits, like on Digital OSF/1 and HP-UX.
11437 ac_max_sed_lines
=48
11438 ac_sed_frag
=1 # Number of current file.
11439 ac_beg
=1 # First line for current file.
11440 ac_end
=$ac_max_sed_lines # Line after last line for current file.
11443 while $ac_more_lines; do
11444 if test $ac_beg -gt 1; then
11445 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
11447 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
11449 if test ! -s $tmp/subs.frag
; then
11450 ac_more_lines
=false
11452 # The purpose of the label and of the branching condition is to
11453 # speed up the sed processing (if there are no `@' at all, there
11454 # is no need to browse any of the substitutions).
11455 # These are the two extra sed commands mentioned above.
11457 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
11458 if test -z "$ac_sed_cmds"; then
11459 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
11461 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
11463 ac_sed_frag
=`expr $ac_sed_frag + 1`
11465 ac_end
=`expr $ac_end + $ac_max_sed_lines`
11468 if test -z "$ac_sed_cmds"; then
11471 fi # test -n "$CONFIG_FILES"
11474 cat >>$CONFIG_STATUS <<\_ACEOF
11475 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
11476 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
11478 - |
*:- |
*:-:* ) # input from stdin
11480 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
11481 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
11482 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
11483 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
11484 * ) ac_file_in
=$ac_file.
in ;;
11487 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
11488 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
11489 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11490 X"$ac_file" : 'X\(//\)[^/]' \| \
11491 X"$ac_file" : 'X\(//\)$' \| \
11492 X"$ac_file" : 'X\(/\)' \| \
11493 . : '\(.\)' 2>/dev/null ||
11495 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11496 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11497 /^X\(\/\/\)$/{ s//\1/; q; }
11498 /^X\(\/\).*/{ s//\1/; q; }
11500 { if $as_mkdir_p; then
11505 while test ! -d "$as_dir"; do
11506 as_dirs
="$as_dir $as_dirs"
11507 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
11508 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11509 X"$as_dir" : 'X\(//\)[^/]' \| \
11510 X"$as_dir" : 'X\(//\)$' \| \
11511 X"$as_dir" : 'X\(/\)' \| \
11512 . : '\(.\)' 2>/dev/null ||
11514 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11515 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11516 /^X\(\/\/\)$/{ s//\1/; q; }
11517 /^X\(\/\).*/{ s//\1/; q; }
11520 test ! -n "$as_dirs" || mkdir
$as_dirs
11521 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
11522 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
11523 { (exit 1); exit 1; }; }; }
11527 if test "$ac_dir" != .
; then
11528 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
11529 # A "../" for each directory in $ac_dir_suffix.
11530 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
11532 ac_dir_suffix
= ac_top_builddir
=
11536 .
) # No --srcdir option. We are building in place.
11538 if test -z "$ac_top_builddir"; then
11541 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
11543 [\\/]* | ?
:[\\/]* ) # Absolute path.
11544 ac_srcdir
=$srcdir$ac_dir_suffix;
11545 ac_top_srcdir
=$srcdir ;;
11546 *) # Relative path.
11547 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
11548 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
11551 # Do not use `cd foo && pwd` to compute absolute paths, because
11552 # the directories may not exist.
11554 .
) ac_abs_builddir
="$ac_dir";;
11557 .
) ac_abs_builddir
=`pwd`;;
11558 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
11559 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
11562 case $ac_abs_builddir in
11563 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
11565 case ${ac_top_builddir}.
in
11566 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
11567 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
11568 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
11571 case $ac_abs_builddir in
11572 .
) ac_abs_srcdir
=$ac_srcdir;;
11575 .
) ac_abs_srcdir
=$ac_abs_builddir;;
11576 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
11577 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
11580 case $ac_abs_builddir in
11581 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
11583 case $ac_top_srcdir in
11584 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
11585 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
11586 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
11592 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
11593 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
11596 if test x
"$ac_file" != x-
; then
11597 { echo "$as_me:$LINENO: creating $ac_file" >&5
11598 echo "$as_me: creating $ac_file" >&6;}
11601 # Let's still pretend it is `configure' which instantiates (i.e., don't
11602 # use $as_me), people would be surprised to read:
11603 # /* config.h. Generated by config.status. */
11604 if test x
"$ac_file" = x-
; then
11607 configure_input
="$ac_file. "
11609 configure_input
=$configure_input"Generated from `echo $ac_file_in |
11610 sed 's,.*/,,'` by configure."
11612 # First look for the input files in the build tree, otherwise in the
11614 ac_file_inputs
=`IFS=:
11615 for f in $ac_file_in; do
11617 -) echo $tmp/stdin ;;
11619 # Absolute (can't be DOS-style, as IFS=:)
11620 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11621 echo "$as_me: error: cannot find input file: $f" >&2;}
11622 { (exit 1); exit 1; }; }
11625 if test -f "$f"; then
11628 elif test -f "$srcdir/$f"; then
11633 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11634 echo "$as_me: error: cannot find input file: $f" >&2;}
11635 { (exit 1); exit 1; }; }
11638 done` ||
{ (exit 1); exit 1; }
11640 cat >>$CONFIG_STATUS <<_ACEOF
11644 cat >>$CONFIG_STATUS <<\_ACEOF
11646 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
11647 s
,@configure_input@
,$configure_input,;t t
11648 s
,@srcdir@
,$ac_srcdir,;t t
11649 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
11650 s
,@top_srcdir@
,$ac_top_srcdir,;t t
11651 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
11652 s
,@builddir@
,$ac_builddir,;t t
11653 s
,@abs_builddir@
,$ac_abs_builddir,;t t
11654 s
,@top_builddir@
,$ac_top_builddir,;t t
11655 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
11656 s
,@INSTALL@
,$ac_INSTALL,;t t
11657 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
11659 if test x"$ac_file" != x-; then
11660 mv $tmp/out $ac_file
11668 cat >>$CONFIG_STATUS <<\_ACEOF
11671 # CONFIG_HEADER section.
11674 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
11675 # NAME is the cpp macro being defined and VALUE is the value it is being given.
11677 # ac_d sets the value in "#define NAME VALUE" lines.
11678 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
11679 ac_dB
='[ ].*$,\1#\2'
11682 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
11683 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
11684 ac_uB
='$,\1#\2define\3'
11688 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
11689 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
11691 - |
*:- |
*:-:* ) # input from stdin
11693 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
11694 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
11695 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
11696 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
11697 * ) ac_file_in
=$ac_file.
in ;;
11700 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
11701 echo "$as_me: creating $ac_file" >&6;}
11703 # First look for the input files in the build tree, otherwise in the
11705 ac_file_inputs
=`IFS=:
11706 for f in $ac_file_in; do
11708 -) echo $tmp/stdin ;;
11710 # Absolute (can't be DOS-style, as IFS=:)
11711 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11712 echo "$as_me: error: cannot find input file: $f" >&2;}
11713 { (exit 1); exit 1; }; }
11714 # Do quote $f, to prevent DOS paths from being IFS'd.
11717 if test -f "$f"; then
11720 elif test -f "$srcdir/$f"; then
11725 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11726 echo "$as_me: error: cannot find input file: $f" >&2;}
11727 { (exit 1); exit 1; }; }
11730 done` ||
{ (exit 1); exit 1; }
11731 # Remove the trailing spaces.
11732 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
11736 # Transform confdefs.h into two sed scripts, `conftest.defines' and
11737 # `conftest.undefs', that substitutes the proper values into
11738 # config.h.in to produce config.h. The first handles `#define'
11739 # templates, and the second `#undef' templates.
11740 # And first: Protect against being on the right side of a sed subst in
11741 # config.status. Protect against being in an unquoted here document
11742 # in config.status.
11743 rm -f conftest.defines conftest.undefs
11744 # Using a here document instead of a string reduces the quoting nightmare.
11745 # Putting comments in sed scripts is not portable.
11747 # `end' is used to avoid that the second main sed command (meant for
11748 # 0-ary CPP macros) applies to n-ary macro definitions.
11749 # See the Autoconf documentation for `clear'.
11750 cat >confdef2sed.
sed <<\_ACEOF
11755 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
11757 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
11760 # If some macros were called several times there might be several times
11761 # the same #defines, which is useless. Nevertheless, we may not want to
11762 # sort them, since we want the *last* AC-DEFINE to be honored.
11763 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
11764 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
11765 rm -f confdef2sed.sed
11767 # This sed command replaces #undef with comments. This is necessary, for
11768 # example, in the case of _POSIX_SOURCE, which is predefined and required
11769 # on some systems where configure will not decide to define it.
11770 cat >>conftest.undefs <<\_ACEOF
11771 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
11774 # Break up conftest.defines because some shells have a limit on the size
11775 # of here documents, and old seds have small limits too (100 cmds).
11776 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
11777 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
11778 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
11779 echo ' :' >>$CONFIG_STATUS
11780 rm -f conftest.tail
11781 while grep . conftest.defines >/dev/null
11783 # Write a limited-size here document to $tmp/defines.sed.
11784 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
11785 # Speed up: don't consider the non `#define' lines.
11786 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
11787 # Work around the forget-to-reset-the-flag bug.
11788 echo 't clr' >>$CONFIG_STATUS
11789 echo ': clr' >>$CONFIG_STATUS
11790 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
11792 sed -f $tmp/defines.sed $tmp/in >$tmp/out
11794 mv $tmp/out $tmp/in
11796 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
11797 rm -f conftest.defines
11798 mv conftest.
tail conftest.defines
11800 rm -f conftest.defines
11801 echo ' fi # grep' >>$CONFIG_STATUS
11802 echo >>$CONFIG_STATUS
11804 # Break up conftest.undefs because some shells have a limit on the size
11805 # of here documents, and old seds have small limits too (100 cmds).
11806 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
11807 rm -f conftest.
tail
11808 while grep . conftest.undefs
>/dev
/null
11810 # Write a limited-size here document to $tmp/undefs.sed.
11811 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
11812 # Speed up: don't consider the non
`#undef'
11813 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
11814 # Work around the forget-to-reset-the-flag bug.
11815 echo 't clr' >>$CONFIG_STATUS
11816 echo ': clr' >>$CONFIG_STATUS
11817 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
11819 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
11821 mv $tmp/out $tmp/in
11823 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
11824 rm -f conftest.undefs
11825 mv conftest.tail conftest.undefs
11827 rm -f conftest.undefs
11829 cat >>$CONFIG_STATUS <<\_ACEOF
11830 # Let's still pretend it is `configure
' which instantiates (i.e., don't
11831 # use $as_me), people would be surprised to read:
11832 # /* config.h. Generated by config.status. */
11833 if test x
"$ac_file" = x-
; then
11834 echo "/* Generated by configure. */" >$tmp/config.h
11836 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
11838 cat $tmp/in >>$tmp/config.h
11840 if test x
"$ac_file" != x-
; then
11841 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
11842 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
11843 echo "$as_me: $ac_file is unchanged" >&6;}
11845 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
11846 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11847 X"$ac_file" : 'X\(//\)[^/]' \| \
11848 X"$ac_file" : 'X\(//\)$' \| \
11849 X"$ac_file" : 'X\(/\)' \| \
11850 . : '\(.\)' 2>/dev/null ||
11852 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11853 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11854 /^X\(\/\/\)$/{ s//\1/; q; }
11855 /^X\(\/\).*/{ s//\1/; q; }
11857 { if $as_mkdir_p; then
11862 while test ! -d "$as_dir"; do
11863 as_dirs
="$as_dir $as_dirs"
11864 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
11865 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11866 X"$as_dir" : 'X\(//\)[^/]' \| \
11867 X"$as_dir" : 'X\(//\)$' \| \
11868 X"$as_dir" : 'X\(/\)' \| \
11869 . : '\(.\)' 2>/dev/null ||
11871 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11872 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11873 /^X\(\/\/\)$/{ s//\1/; q; }
11874 /^X\(\/\).*/{ s//\1/; q; }
11877 test ! -n "$as_dirs" || mkdir
$as_dirs
11878 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
11879 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
11880 { (exit 1); exit 1; }; }; }
11883 mv $tmp/config.h
$ac_file
11887 rm -f $tmp/config.h
11891 cat >>$CONFIG_STATUS <<\_ACEOF
11894 # CONFIG_COMMANDS section.
11896 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
11897 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
11898 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
11899 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
11900 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11901 X"$ac_dest" : 'X\(//\)[^/]' \| \
11902 X"$ac_dest" : 'X\(//\)$' \| \
11903 X"$ac_dest" : 'X\(/\)' \| \
11904 . : '\(.\)' 2>/dev/null ||
11906 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11907 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11908 /^X\(\/\/\)$/{ s//\1/; q; }
11909 /^X\(\/\).*/{ s//\1/; q; }
11911 { if $as_mkdir_p; then
11916 while test ! -d "$as_dir"; do
11917 as_dirs
="$as_dir $as_dirs"
11918 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
11919 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11920 X"$as_dir" : 'X\(//\)[^/]' \| \
11921 X"$as_dir" : 'X\(//\)$' \| \
11922 X"$as_dir" : 'X\(/\)' \| \
11923 . : '\(.\)' 2>/dev/null ||
11925 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11926 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11927 /^X\(\/\/\)$/{ s//\1/; q; }
11928 /^X\(\/\).*/{ s//\1/; q; }
11931 test ! -n "$as_dirs" || mkdir
$as_dirs
11932 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
11933 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
11934 { (exit 1); exit 1; }; }; }
11938 if test "$ac_dir" != .
; then
11939 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
11940 # A "../" for each directory in $ac_dir_suffix.
11941 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
11943 ac_dir_suffix
= ac_top_builddir
=
11947 .
) # No --srcdir option. We are building in place.
11949 if test -z "$ac_top_builddir"; then
11952 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
11954 [\\/]* | ?
:[\\/]* ) # Absolute path.
11955 ac_srcdir
=$srcdir$ac_dir_suffix;
11956 ac_top_srcdir
=$srcdir ;;
11957 *) # Relative path.
11958 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
11959 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
11962 # Do not use `cd foo && pwd` to compute absolute paths, because
11963 # the directories may not exist.
11965 .
) ac_abs_builddir
="$ac_dir";;
11968 .
) ac_abs_builddir
=`pwd`;;
11969 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
11970 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
11973 case $ac_abs_builddir in
11974 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
11976 case ${ac_top_builddir}.
in
11977 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
11978 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
11979 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
11982 case $ac_abs_builddir in
11983 .
) ac_abs_srcdir
=$ac_srcdir;;
11986 .
) ac_abs_srcdir
=$ac_abs_builddir;;
11987 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
11988 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
11991 case $ac_abs_builddir in
11992 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
11994 case $ac_top_srcdir in
11995 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
11996 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
11997 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
12002 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
12003 echo "$as_me: executing $ac_dest commands" >&6;}
12006 # Only add multilib support code if we just rebuilt the top-level
12008 case " $CONFIG_FILES " in
12010 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
12015 # See if we are running on zsh, and set the options which allow our
12016 # commands through without removal of \ escapes.
12017 if test -n "${ZSH_VERSION+set}" ; then
12018 setopt NO_GLOB_SUBST
12021 cfgfile
="${ofile}T"
12022 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
12025 cat <<_LT_EOF >> "$cfgfile"
12028 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
12029 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
12030 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12031 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
12033 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
12034 # 2006, 2007 Free Software Foundation, Inc.
12036 # This file is part of GNU Libtool:
12037 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
12039 # This program is free software; you can redistribute it and/or modify
12040 # it under the terms of the GNU General Public License as published by
12041 # the Free Software Foundation; either version 2 of the License, or
12042 # (at your option) any later version.
12044 # This program is distributed in the hope that it will be useful, but
12045 # WITHOUT ANY WARRANTY; without even the implied warranty of
12046 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12047 # General Public License for more details.
12049 # You should have received a copy of the GNU General Public License
12050 # along with this program; if not, a copy can be downloaded from
12051 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
12052 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
12053 # MA 02110-1301, USA.
12055 # As a special exception to the GNU General Public License, if you
12056 # distribute this file as part of a program that contains a
12057 # configuration script generated by Autoconf, you may include it under
12058 # the same distribution terms that you use for the rest of that program.
12061 # The names of the tagged configurations supported by this script.
12064 # ### BEGIN LIBTOOL CONFIG
12066 # Assembler program.
12069 # DLL creation program.
12072 # Object dumper program.
12075 # Which release of libtool.m4 was used?
12076 macro_version=$macro_version
12077 macro_revision=$macro_revision
12079 # Whether or not to build shared libraries.
12080 build_libtool_libs=$enable_shared
12082 # Whether or not to build static libraries.
12083 build_old_libs=$enable_static
12085 # What type of objects to build.
12088 # Whether or not to optimize for fast installation.
12089 fast_install=$enable_fast_install
12092 host_alias=$host_alias
12096 # The build system.
12097 build_alias=$build_alias
12101 # A sed program that does not truncate output.
12104 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
12105 Xsed="\$SED -e 1s/^X//"
12107 # A grep program that handles long lines.
12113 # A literal string matcher.
12116 # A BSD- or MS-compatible name lister.
12119 # Whether we need soft or hard links.
12122 # What is the maximum length of a command?
12123 max_cmd_len=$max_cmd_len
12125 # Object file suffix (normally "o").
12128 # Executable file suffix (normally "").
12131 # whether the shell understands "unset".
12134 # turn spaces into newlines.
12137 # turn newlines into spaces.
12140 # How to create reloadable object files.
12141 reload_flag=$lt_reload_flag
12142 reload_cmds=$lt_reload_cmds
12144 # Method to check whether dependent libraries are shared objects.
12145 deplibs_check_method=$lt_deplibs_check_method
12147 # Command to use when deplibs_check_method == "file_magic".
12148 file_magic_cmd=$lt_file_magic_cmd
12152 AR_FLAGS=$lt_AR_FLAGS
12154 # A symbol stripping program.
12157 # Commands used to install an old-style archive.
12159 old_postinstall_cmds=$lt_old_postinstall_cmds
12160 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12165 # LTCC compiler flags.
12166 LTCFLAGS=$lt_CFLAGS
12168 # Take the output of nm and produce a listing of raw symbols and C names.
12169 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12171 # Transform the output of nm in a proper C declaration.
12172 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12174 # Transform the output of nm in a C name address pair.
12175 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12177 # The name of the directory that contains temporary libtool files.
12180 # Shell to use when invoking shell scripts.
12183 # An echo program that does not interpret backslashes.
12186 # Used to examine libraries when file_magic_cmd begins with "file".
12187 MAGIC_CMD=$MAGIC_CMD
12189 # Must we lock files when doing compilation?
12190 need_locks=$lt_need_locks
12192 # Old archive suffix (normally "a").
12195 # Shared library suffix (normally ".so").
12196 shrext_cmds=$lt_shrext_cmds
12198 # The commands to extract the exported symbol list from a shared archive.
12199 extract_expsyms_cmds=$lt_extract_expsyms_cmds
12201 # Variables whose values should be saved in libtool wrapper scripts and
12202 # restored at link time.
12203 variables_saved_for_relink=$lt_variables_saved_for_relink
12205 # Do we need the "lib" prefix for modules?
12206 need_lib_prefix=$need_lib_prefix
12208 # Do we need a version for libraries?
12209 need_version=$need_version
12211 # Library versioning type.
12212 version_type=$version_type
12214 # Shared library runtime path variable.
12215 runpath_var=$runpath_var
12217 # Shared library path variable.
12218 shlibpath_var=$shlibpath_var
12220 # Is shlibpath searched before the hard-coded library search path?
12221 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12223 # Format of library name prefix.
12224 libname_spec=$lt_libname_spec
12226 # List of archive names. First name is the real one, the rest are links.
12227 # The last name is the one that the linker finds with -lNAME
12228 library_names_spec=$lt_library_names_spec
12230 # The coded name of the library, if different from the real name.
12231 soname_spec=$lt_soname_spec
12233 # Command to use after installation of a shared archive.
12234 postinstall_cmds=$lt_postinstall_cmds
12236 # Command to use after uninstallation of a shared archive.
12237 postuninstall_cmds=$lt_postuninstall_cmds
12239 # Commands used to finish a libtool library installation in a directory.
12240 finish_cmds=$lt_finish_cmds
12242 # As "finish_cmds", except a single script fragment to be evaled but
12244 finish_eval=$lt_finish_eval
12246 # Whether we should hardcode library paths into libraries.
12247 hardcode_into_libs=$hardcode_into_libs
12249 # Compile-time system search path for libraries.
12250 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12252 # Run-time system search path for libraries.
12253 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12255 # Whether dlopen is supported.
12256 dlopen_support=$enable_dlopen
12258 # Whether dlopen of programs is supported.
12259 dlopen_self=$enable_dlopen_self
12261 # Whether dlopen of statically linked programs is supported.
12262 dlopen_self_static=$enable_dlopen_self_static
12264 # Commands to strip libraries.
12265 old_striplib=$lt_old_striplib
12266 striplib=$lt_striplib
12269 # The linker used to build libraries.
12272 # Commands used to build an old-style archive.
12273 old_archive_cmds=$lt_old_archive_cmds
12275 # A language specific compiler.
12278 # Is the compiler the GNU compiler?
12281 # Compiler flag to turn off builtin functions.
12282 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
12284 # How to pass a linker flag through the compiler.
12285 wl=$lt_lt_prog_compiler_wl
12287 # Additional compiler flags for building library objects.
12288 pic_flag=$lt_lt_prog_compiler_pic
12290 # Compiler flag to prevent dynamic linking.
12291 link_static_flag=$lt_lt_prog_compiler_static
12293 # Does compiler simultaneously support -c and -o options?
12294 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
12296 # Whether or not to add -lc for building shared libraries.
12297 build_libtool_need_lc=$archive_cmds_need_lc
12299 # Whether or not to disallow shared libs when runtime libs are static.
12300 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
12302 # Compiler flag to allow reflexive dlopens.
12303 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
12305 # Compiler flag to generate shared objects directly from archives.
12306 whole_archive_flag_spec=$lt_whole_archive_flag_spec
12308 # Whether the compiler copes with passing no objects directly.
12309 compiler_needs_object=$lt_compiler_needs_object
12311 # Create an old-style archive from a shared archive.
12312 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
12314 # Create a temporary old-style archive to link instead of a shared archive.
12315 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
12317 # Commands used to build a shared archive.
12318 archive_cmds=$lt_archive_cmds
12319 archive_expsym_cmds=$lt_archive_expsym_cmds
12321 # Commands used to build a loadable module if different from building
12322 # a shared archive.
12323 module_cmds=$lt_module_cmds
12324 module_expsym_cmds=$lt_module_expsym_cmds
12326 # Whether we are building with GNU ld or not.
12327 with_gnu_ld=$lt_with_gnu_ld
12329 # Flag that allows shared libraries with undefined symbols to be built.
12330 allow_undefined_flag=$lt_allow_undefined_flag
12332 # Flag that enforces no undefined symbols.
12333 no_undefined_flag=$lt_no_undefined_flag
12335 # Flag to hardcode \$libdir into a binary during linking.
12336 # This must work even if \$libdir does not exist
12337 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
12339 # If ld is used when linking, flag to hardcode \$libdir into a binary
12340 # during linking. This must work even if \$libdir does not exist.
12341 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
12343 # Whether we need a single "-rpath" flag with a separated argument.
12344 hardcode_libdir_separator=$lt_hardcode_libdir_separator
12346 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
12347 # DIR into the resulting binary.
12348 hardcode_direct=$hardcode_direct
12350 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
12351 # DIR into the resulting binary and the resulting library dependency is
12352 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
12353 # library is relocated.
12354 hardcode_direct_absolute=$hardcode_direct_absolute
12356 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
12357 # into the resulting binary.
12358 hardcode_minus_L=$hardcode_minus_L
12360 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
12361 # into the resulting binary.
12362 hardcode_shlibpath_var=$hardcode_shlibpath_var
12364 # Set to "yes" if building a shared library automatically hardcodes DIR
12365 # into the library and all subsequent libraries and executables linked
12367 hardcode_automatic=$hardcode_automatic
12369 # Set to yes if linker adds runtime paths of dependent libraries
12370 # to runtime path list.
12371 inherit_rpath=$inherit_rpath
12373 # Whether libtool must link a program against all its dependency libraries.
12374 link_all_deplibs=$link_all_deplibs
12376 # Fix the shell variable \$srcfile for the compiler.
12377 fix_srcfile_path=$lt_fix_srcfile_path
12379 # Set to "yes" if exported symbols are required.
12380 always_export_symbols=$always_export_symbols
12382 # The commands to list exported symbols.
12383 export_symbols_cmds=$lt_export_symbols_cmds
12385 # Symbols that should not be listed in the preloaded symbols.
12386 exclude_expsyms=$lt_exclude_expsyms
12388 # Symbols that must always be exported.
12389 include_expsyms=$lt_include_expsyms
12391 # Commands necessary for linking programs (against libraries) with templates.
12392 prelink_cmds=$lt_prelink_cmds
12394 # Specify filename containing input files.
12395 file_list_spec=$lt_file_list_spec
12397 # How to hardcode a shared library path into an executable.
12398 hardcode_action=$hardcode_action
12400 # ### END LIBTOOL CONFIG
12406 cat <<\_LT_EOF
>> "$cfgfile"
12407 # AIX sometimes has problems with the GCC collect2 program. For some
12408 # reason, if we set the COLLECT_NAMES environment variable, the problems
12409 # vanish in a puff of smoke.
12410 if test "X${COLLECT_NAMES+set}" != Xset
; then
12412 export COLLECT_NAMES
12419 ltmain
="$ac_aux_dir/ltmain.sh"
12422 # We use sed instead of cat because bash on DJGPP gets confused if
12423 # if finds mixed CR/LF and LF-only lines. Since sed operates in
12424 # text mode, it properly converts lines to CR/LF. This bash problem
12425 # is reportedly fixed, but why not run on old versions too?
12426 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
12427 ||
(rm -f "$cfgfile"; exit 1)
12431 cat << \_LT_EOF
>> "$cfgfile"
12432 # func_dirname file append nondir_replacement
12433 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
12434 # otherwise set result to NONDIR_REPLACEMENT.
12438 */*) func_dirname_result
="${1%/*}${2}" ;;
12439 * ) func_dirname_result
="${3}" ;;
12443 # func_basename file
12446 func_basename_result
="${1##*/}"
12449 # func_stripname prefix suffix name
12450 # strip PREFIX and SUFFIX off of NAME.
12451 # PREFIX and SUFFIX must not contain globbing or regex special
12452 # characters, hashes, percent signs, but SUFFIX may contain a leading
12453 # dot (in which case that matches only a dot).
12456 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
12457 # positional parameters, so assign one to ordinary parameter first.
12458 func_stripname_result
=${3}
12459 func_stripname_result
=${func_stripname_result#"${1}"}
12460 func_stripname_result
=${func_stripname_result%"${2}"}
12466 func_opt_split_opt
=${1%%=*}
12467 func_opt_split_arg
=${1#*=}
12474 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
12475 *) func_lo2o_result
=${1} ;;
12480 *) # Bourne compatible functions.
12481 cat << \_LT_EOF
>> "$cfgfile"
12482 # func_dirname file append nondir_replacement
12483 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
12484 # otherwise set result to NONDIR_REPLACEMENT.
12487 # Extract subdirectory from the argument.
12488 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
12489 if test "X$func_dirname_result" = "X${1}"; then
12490 func_dirname_result
="${3}"
12492 func_dirname_result
="$func_dirname_result${2}"
12496 # func_basename file
12499 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
12502 # func_stripname prefix suffix name
12503 # strip PREFIX and SUFFIX off of NAME.
12504 # PREFIX and SUFFIX must not contain globbing or regex special
12505 # characters, hashes, percent signs, but SUFFIX may contain a leading
12506 # dot (in which case that matches only a dot).
12507 # func_strip_suffix prefix name
12511 .
*) func_stripname_result
=`$ECHO "X${3}" \
12512 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
12513 *) func_stripname_result
=`$ECHO "X${3}" \
12514 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
12519 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
12520 my_sed_long_arg
='1s/^-[^=]*=//'
12525 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
12526 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
12532 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
12537 case $lt_shell_append in
12539 cat << \_LT_EOF
>> "$cfgfile"
12541 # func_append var value
12542 # Append VALUE to the end of shell variable VAR.
12550 cat << \_LT_EOF
>> "$cfgfile"
12552 # func_append var value
12553 # Append VALUE to the end of shell variable VAR.
12563 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
12564 ||
(rm -f "$cfgfile"; exit 1)
12566 mv -f "$cfgfile" "$ofile" ||
12567 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
12571 default
) if test -n "$CONFIG_FILES"; then
12572 if test -n "${with_target_subdir}"; then
12573 # FIXME: We shouldn't need to set ac_file
12575 LD
="${ORIGINAL_LD_FOR_MULTILIBS}"
12576 .
${multi_basedir}/config-ml.
in
12583 cat >>$CONFIG_STATUS <<\_ACEOF
12585 { (exit 0); exit 0; }
12587 chmod +x
$CONFIG_STATUS
12588 ac_clean_files
=$ac_clean_files_save
12591 # configure is writing to config.log, and then calls config.status.
12592 # config.status does its own redirection, appending to config.log.
12593 # Unfortunately, on DOS this fails, as config.log is still kept open
12594 # by configure, so config.status won't be able to write to it; its
12595 # output is simply discarded. So we exec the FD to /dev/null,
12596 # effectively closing config.log, so it can be properly (re)opened and
12597 # appended to by config.status. When coming back to configure, we
12598 # need to make the FD available again.
12599 if test "$no_create" != yes; then
12601 ac_config_status_args
=
12602 test "$silent" = yes &&
12603 ac_config_status_args
="$ac_config_status_args --quiet"
12605 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
12607 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
12608 # would make configure fail if this is the last instruction.
12609 $ac_cs_success ||
{ (exit 1); exit 1; }