2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for libmudflap 1.0.
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
='libmudflap'
418 PACKAGE_TARNAME
='libmudflap'
419 PACKAGE_VERSION
='1.0'
420 PACKAGE_STRING
='libmudflap 1.0'
423 ac_unique_file
="mf-runtime.c"
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 host host_cpu host_vendor host_os target target_cpu target_vendor target_os target_noncanonical INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT multi_basedir CC ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CFLAGS CPP CPPFLAGS EGREP LIBTOOL SED FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM LN_S AR ac_ct_AR RANLIB ac_ct_RANLIB lt_ECHO enable_shared enable_static MF_HAVE_STDINT_H MF_HAVE_UINTPTR_T LIBMUDFLAPTH_TRUE LIBMUDFLAPTH_FALSE build_libmudflapth toolexecdir toolexeclibdir ac_ct_NM SECTION_FLAGS LIBOBJS LTLIBOBJS'
465 # Initialize some variables set by options.
467 ac_init_version
=false
468 # The variables have the same names as the options, with
469 # dashes changed to underlines.
477 program_transform_name
=s
,x
,x
,
485 # Installation directory options.
486 # These are left unexpanded so users can "make install exec_prefix=/foo"
487 # and all the variables that are supposed to be based on exec_prefix
488 # by default will actually change.
489 # Use braces instead of parens because sh, perl, etc. also accept them.
490 bindir
='${exec_prefix}/bin'
491 sbindir
='${exec_prefix}/sbin'
492 libexecdir
='${exec_prefix}/libexec'
493 datadir
='${prefix}/share'
494 sysconfdir
='${prefix}/etc'
495 sharedstatedir
='${prefix}/com'
496 localstatedir
='${prefix}/var'
497 libdir
='${exec_prefix}/lib'
498 includedir
='${prefix}/include'
499 oldincludedir
='/usr/include'
500 infodir
='${prefix}/info'
501 mandir
='${prefix}/man'
506 # If the previous option needs an argument, assign it.
507 if test -n "$ac_prev"; then
508 eval "$ac_prev=\$ac_option"
513 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
515 # Accept the important Cygnus configure options, so we can diagnose typos.
519 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
521 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
524 -build |
--build |
--buil |
--bui |
--bu)
525 ac_prev
=build_alias
;;
526 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
527 build_alias
=$ac_optarg ;;
529 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
530 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
531 ac_prev
=cache_file
;;
532 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
533 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
534 cache_file
=$ac_optarg ;;
537 cache_file
=config.cache
;;
539 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
541 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
543 datadir
=$ac_optarg ;;
545 -disable-* |
--disable-*)
546 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
547 # Reject names that are not valid shell variable names.
548 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
549 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
550 { (exit 1); exit 1; }; }
551 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
552 eval "enable_$ac_feature=no" ;;
554 -enable-* |
--enable-*)
555 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
556 # Reject names that are not valid shell variable names.
557 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
558 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
559 { (exit 1); exit 1; }; }
560 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
562 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
565 eval "enable_$ac_feature='$ac_optarg'" ;;
567 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
568 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
569 |
--exec |
--exe |
--ex)
570 ac_prev
=exec_prefix
;;
571 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
572 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
573 |
--exec=* |
--exe=* |
--ex=*)
574 exec_prefix
=$ac_optarg ;;
576 -gas |
--gas |
--ga |
--g)
577 # Obsolete; use --with-gas.
580 -help |
--help |
--hel |
--he |
-h)
582 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
583 ac_init_help
=recursive
;;
584 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
585 ac_init_help
=short
;;
587 -host |
--host |
--hos |
--ho)
588 ac_prev
=host_alias
;;
589 -host=* |
--host=* |
--hos=* |
--ho=*)
590 host_alias
=$ac_optarg ;;
592 -includedir |
--includedir |
--includedi |
--included |
--include \
593 |
--includ |
--inclu |
--incl |
--inc)
594 ac_prev
=includedir
;;
595 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
596 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
597 includedir
=$ac_optarg ;;
599 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
601 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
602 infodir
=$ac_optarg ;;
604 -libdir |
--libdir |
--libdi |
--libd)
606 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
609 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
610 |
--libexe |
--libex |
--libe)
611 ac_prev
=libexecdir
;;
612 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
613 |
--libexe=* |
--libex=* |
--libe=*)
614 libexecdir
=$ac_optarg ;;
616 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
617 |
--localstate |
--localstat |
--localsta |
--localst \
618 |
--locals |
--local |
--loca |
--loc |
--lo)
619 ac_prev
=localstatedir
;;
620 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
621 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
622 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
623 localstatedir
=$ac_optarg ;;
625 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
627 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
631 # Obsolete; use --without-fp.
634 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
635 |
--no-cr |
--no-c |
-n)
638 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
639 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
642 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
643 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
644 |
--oldin |
--oldi |
--old |
--ol |
--o)
645 ac_prev
=oldincludedir
;;
646 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
647 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
648 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
649 oldincludedir
=$ac_optarg ;;
651 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
653 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
656 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
657 |
--program-pre |
--program-pr |
--program-p)
658 ac_prev
=program_prefix
;;
659 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
660 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
661 program_prefix
=$ac_optarg ;;
663 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
664 |
--program-suf |
--program-su |
--program-s)
665 ac_prev
=program_suffix
;;
666 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
667 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
668 program_suffix
=$ac_optarg ;;
670 -program-transform-name |
--program-transform-name \
671 |
--program-transform-nam |
--program-transform-na \
672 |
--program-transform-n |
--program-transform- \
673 |
--program-transform |
--program-transfor \
674 |
--program-transfo |
--program-transf \
675 |
--program-trans |
--program-tran \
676 |
--progr-tra |
--program-tr |
--program-t)
677 ac_prev
=program_transform_name
;;
678 -program-transform-name=* |
--program-transform-name=* \
679 |
--program-transform-nam=* |
--program-transform-na=* \
680 |
--program-transform-n=* |
--program-transform-=* \
681 |
--program-transform=* |
--program-transfor=* \
682 |
--program-transfo=* |
--program-transf=* \
683 |
--program-trans=* |
--program-tran=* \
684 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
685 program_transform_name
=$ac_optarg ;;
687 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
688 |
-silent |
--silent |
--silen |
--sile |
--sil)
691 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
693 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
695 sbindir
=$ac_optarg ;;
697 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
698 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
699 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
701 ac_prev
=sharedstatedir
;;
702 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
703 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
704 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
706 sharedstatedir
=$ac_optarg ;;
708 -site |
--site |
--sit)
710 -site=* |
--site=* |
--sit=*)
713 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
715 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
718 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
719 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
720 ac_prev
=sysconfdir
;;
721 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
722 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
723 sysconfdir
=$ac_optarg ;;
725 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
726 ac_prev
=target_alias
;;
727 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
728 target_alias
=$ac_optarg ;;
730 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
733 -version |
--version |
--versio |
--versi |
--vers |
-V)
737 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
738 # Reject names that are not valid shell variable names.
739 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
740 { echo "$as_me: error: invalid package name: $ac_package" >&2
741 { (exit 1); exit 1; }; }
742 ac_package
=`echo $ac_package| sed 's/-/_/g'`
744 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
747 eval "with_$ac_package='$ac_optarg'" ;;
749 -without-* |
--without-*)
750 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
751 # Reject names that are not valid shell variable names.
752 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
753 { echo "$as_me: error: invalid package name: $ac_package" >&2
754 { (exit 1); exit 1; }; }
755 ac_package
=`echo $ac_package | sed 's/-/_/g'`
756 eval "with_$ac_package=no" ;;
759 # Obsolete; use --with-x.
762 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
763 |
--x-incl |
--x-inc |
--x-in |
--x-i)
764 ac_prev
=x_includes
;;
765 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
766 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
767 x_includes
=$ac_optarg ;;
769 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
770 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
771 ac_prev
=x_libraries
;;
772 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
773 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
774 x_libraries
=$ac_optarg ;;
776 -*) { echo "$as_me: error: unrecognized option: $ac_option
777 Try \`$0 --help' for more information." >&2
778 { (exit 1); exit 1; }; }
782 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
783 # Reject names that are not valid shell variable names.
784 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
785 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
786 { (exit 1); exit 1; }; }
787 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
788 eval "$ac_envvar='$ac_optarg'"
792 # FIXME: should be removed in autoconf 3.0.
793 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
794 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
795 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
796 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
802 if test -n "$ac_prev"; then
803 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
804 { echo "$as_me: error: missing argument to $ac_option" >&2
805 { (exit 1); exit 1; }; }
808 # Be sure to have absolute paths.
809 for ac_var
in exec_prefix prefix
811 eval ac_val
=$
`echo $ac_var`
813 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
814 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
815 { (exit 1); exit 1; }; };;
819 # Be sure to have absolute paths.
820 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
821 localstatedir libdir includedir oldincludedir infodir mandir
823 eval ac_val
=$
`echo $ac_var`
825 [\\/$
]* | ?
:[\\/]* ) ;;
826 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
827 { (exit 1); exit 1; }; };;
831 # There might be people who depend on the old broken behavior: `$host'
832 # used to hold the argument of --host etc.
833 # FIXME: To remove some day.
838 # FIXME: To remove some day.
839 if test "x$host_alias" != x
; then
840 if test "x$build_alias" = x
; then
841 cross_compiling
=maybe
842 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
843 If a cross compiler is detected then cross compile mode will be used." >&2
844 elif test "x$build_alias" != "x$host_alias"; then
850 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
852 test "$silent" = yes && exec 6>/dev
/null
855 # Find the source files, if location was not specified.
856 if test -z "$srcdir"; then
857 ac_srcdir_defaulted
=yes
858 # Try the directory containing this script, then its parent.
859 ac_confdir
=`(dirname "$0") 2>/dev/null ||
860 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
861 X"$0" : 'X\(//\)[^/]' \| \
862 X"$0" : 'X\(//\)$' \| \
863 X"$0" : 'X\(/\)' \| \
864 . : '\(.\)' 2>/dev/null ||
866 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
867 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
868 /^X\(\/\/\)$/{ s//\1/; q; }
869 /^X\(\/\).*/{ s//\1/; q; }
872 if test ! -r $srcdir/$ac_unique_file; then
876 ac_srcdir_defaulted
=no
878 if test ! -r $srcdir/$ac_unique_file; then
879 if test "$ac_srcdir_defaulted" = yes; then
880 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
881 { (exit 1); exit 1; }; }
883 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
884 { (exit 1); exit 1; }; }
887 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
888 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
889 { (exit 1); exit 1; }; }
890 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
891 ac_env_build_alias_set
=${build_alias+set}
892 ac_env_build_alias_value
=$build_alias
893 ac_cv_env_build_alias_set
=${build_alias+set}
894 ac_cv_env_build_alias_value
=$build_alias
895 ac_env_host_alias_set
=${host_alias+set}
896 ac_env_host_alias_value
=$host_alias
897 ac_cv_env_host_alias_set
=${host_alias+set}
898 ac_cv_env_host_alias_value
=$host_alias
899 ac_env_target_alias_set
=${target_alias+set}
900 ac_env_target_alias_value
=$target_alias
901 ac_cv_env_target_alias_set
=${target_alias+set}
902 ac_cv_env_target_alias_value
=$target_alias
903 ac_env_CPP_set
=${CPP+set}
904 ac_env_CPP_value
=$CPP
905 ac_cv_env_CPP_set
=${CPP+set}
906 ac_cv_env_CPP_value
=$CPP
907 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
908 ac_env_CPPFLAGS_value
=$CPPFLAGS
909 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
910 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
913 # Report the --help message.
915 if test "$ac_init_help" = "long"; then
916 # Omit some internal or obsolete options to make the list less imposing.
917 # This message is too long to be a string in the A/UX 3.1 sh.
919 \`configure' configures libmudflap 1.0 to adapt to many kinds of systems.
921 Usage: $0 [OPTION]... [VAR=VALUE]...
923 To assign environment variables (e.g., CC, CFLAGS...), specify them as
924 VAR=VALUE. See below for descriptions of some of the useful variables.
926 Defaults for the options are specified in brackets.
929 -h, --help display this help and exit
930 --help=short display options specific to this package
931 --help=recursive display the short help of all the included packages
932 -V, --version display version information and exit
933 -q, --quiet, --silent do not print \`checking...' messages
934 --cache-file=FILE cache test results in FILE [disabled]
935 -C, --config-cache alias for \`--cache-file=config.cache'
936 -n, --no-create do not create output files
937 --srcdir=DIR find the sources in DIR [configure dir or \`..']
942 Installation directories:
943 --prefix=PREFIX install architecture-independent files in PREFIX
945 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
948 By default, \`make install' will install all the files in
949 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
950 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
951 for instance \`--prefix=\$HOME'.
953 For better control, use the options below.
955 Fine tuning of the installation directories:
956 --bindir=DIR user executables [EPREFIX/bin]
957 --sbindir=DIR system admin executables [EPREFIX/sbin]
958 --libexecdir=DIR program executables [EPREFIX/libexec]
959 --datadir=DIR read-only architecture-independent data [PREFIX/share]
960 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
961 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
962 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
963 --libdir=DIR object code libraries [EPREFIX/lib]
964 --includedir=DIR C header files [PREFIX/include]
965 --oldincludedir=DIR C header files for non-gcc [/usr/include]
966 --infodir=DIR info documentation [PREFIX/info]
967 --mandir=DIR man documentation [PREFIX/man]
973 --program-prefix=PREFIX prepend PREFIX to installed program names
974 --program-suffix=SUFFIX append SUFFIX to installed program names
975 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
978 --build=BUILD configure
for building on BUILD
[guessed
]
979 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
980 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
984 if test -n "$ac_init_help"; then
985 case $ac_init_help in
986 short | recursive
) echo "Configuration of libmudflap 1.0:";;
991 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
992 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
993 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed
in a compiler-specific directory
994 --enable-maintainer-mode enable make rules and dependencies not useful
995 (and sometimes confusing
) to the casual installer
996 --enable-multilib build many library versions
(default
)
997 --disable-dependency-tracking speeds up one-time build
998 --enable-dependency-tracking do not reject slow dependency extractors
999 --enable-shared[=PKGS
]
1000 build shared libraries
[default
=yes]
1001 --enable-static[=PKGS
]
1002 build static libraries
[default
=yes]
1003 --enable-fast-install[=PKGS
]
1004 optimize
for fast installation
[default
=yes]
1005 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1006 --enable-tls Use thread-local storage
[default
=yes]
1009 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1010 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1011 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1013 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1015 Some influential environment variables
:
1016 CC C compiler
command
1017 CFLAGS C compiler flags
1018 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1019 nonstandard directory
<lib dir
>
1020 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1021 headers
in a nonstandard directory
<include dir
>
1024 Use these variables to override the choices made by
`configure' or to help
1025 it to find libraries and programs with nonstandard names/locations.
1030 if test "$ac_init_help" = "recursive"; then
1031 # If there are subdirs, report their specific --help.
1033 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1034 test -d $ac_dir || continue
1037 if test "$ac_dir" != .; then
1038 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1039 # A "../" for each directory in $ac_dir_suffix.
1040 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
1042 ac_dir_suffix= ac_top_builddir=
1046 .) # No --srcdir option. We are building in place.
1048 if test -z "$ac_top_builddir"; then
1051 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
1053 [\\/]* | ?:[\\/]* ) # Absolute path.
1054 ac_srcdir=$srcdir$ac_dir_suffix;
1055 ac_top_srcdir=$srcdir ;;
1057 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1058 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1061 # Do not use `cd foo
&& pwd` to compute absolute paths, because
1062 # the directories may not exist.
1064 .) ac_abs_builddir="$ac_dir";;
1067 .) ac_abs_builddir=`pwd`;;
1068 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1069 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1072 case $ac_abs_builddir in
1073 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1075 case ${ac_top_builddir}. in
1076 .) ac_abs_top_builddir=$ac_abs_builddir;;
1077 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1078 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1081 case $ac_abs_builddir in
1082 .) ac_abs_srcdir=$ac_srcdir;;
1085 .) ac_abs_srcdir=$ac_abs_builddir;;
1086 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1087 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1090 case $ac_abs_builddir in
1091 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1093 case $ac_top_srcdir in
1094 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1095 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1096 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1101 # Check for guested configure; otherwise get Cygnus style configure.
1102 if test -f $ac_srcdir/configure.gnu; then
1104 $SHELL $ac_srcdir/configure.gnu --help=recursive
1105 elif test -f $ac_srcdir/configure; then
1107 $SHELL $ac_srcdir/configure --help=recursive
1108 elif test -f $ac_srcdir/configure.ac ||
1109 test -f $ac_srcdir/configure.in; then
1111 $ac_configure --help
1113 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1119 test -n "$ac_init_help" && exit 0
1120 if $ac_init_version; then
1122 libmudflap configure 1.0
1123 generated by GNU Autoconf 2.59
1125 Copyright (C) 2003 Free Software Foundation, Inc.
1126 This configure script is free software; the Free Software Foundation
1127 gives unlimited permission to copy, distribute and modify it.
1133 This file contains any messages produced by compilers while
1134 running configure, to aid debugging if configure makes a mistake.
1136 It was created by libmudflap $as_me 1.0, which was
1137 generated by GNU Autoconf 2.59. Invocation command line was
1148 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1149 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1150 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1151 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1152 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1154 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1155 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1157 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1158 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1159 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1160 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1161 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1162 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1163 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1171 test -z "$as_dir" && as_dir=.
1172 echo "PATH: $as_dir"
1187 # Keep a trace of the command line.
1188 # Strip out --no-create and --no-recursion so they do not pile up.
1189 # Strip out --silent because we don't want to record it for future runs.
1190 # Also quote any args containing shell meta-characters.
1191 # Make two passes to allow for proper duplicate-argument suppression.
1196 ac_must_keep_next=false
1202 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1203 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1204 | -silent | --silent | --silen | --sile | --sil)
1206 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1207 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1210 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1212 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1213 if test $ac_must_keep_next = true; then
1214 ac_must_keep_next=false # Got value, back to normal.
1217 *=* | --config-cache | -C | -disable-* | --disable-* \
1218 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1219 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1220 | -with-* | --with-* | -without-* | --without-* | --x)
1221 case "$ac_configure_args0 " in
1222 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1225 -* ) ac_must_keep_next=true ;;
1228 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1229 # Get rid of the leading space.
1235 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1236 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1238 # When interrupted or exit'd, cleanup temporary files, and complete
1239 # config.log. We remove comments because anyway the quotes in there
1240 # would cause problems or look ugly.
1241 # WARNING: Be sure not to use single quotes in there, as some shells,
1242 # such as our DU 5.0 friend, will then `close
' the trap.
1243 trap 'exit_status
=$?
1244 # Save into config.log some information that might help in debugging.
1249 ## ---------------- ##
1250 ## Cache variables. ##
1251 ## ---------------- ##
1254 # The following way of writing the cache mishandles newlines in values,
1257 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1260 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1261 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1265 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1272 ## ----------------- ##
1273 ## Output variables. ##
1274 ## ----------------- ##
1277 for ac_var
in $ac_subst_vars
1279 eval ac_val
=$
`echo $ac_var`
1280 echo "$ac_var='"'"'$ac_val'"'"'"
1284 if test -n "$ac_subst_files"; then
1291 for ac_var
in $ac_subst_files
1293 eval ac_val
=$
`echo $ac_var`
1294 echo "$ac_var='"'"'$ac_val'"'"'"
1299 if test -s confdefs.h
; then
1306 sed "/^$/d" confdefs.h |
sort
1309 test "$ac_signal" != 0 &&
1310 echo "$as_me: caught signal $ac_signal"
1311 echo "$as_me: exit $exit_status"
1313 rm -f core
*.core
&&
1314 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1317 for ac_signal in 1 2 13 15; do
1318 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1322 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1323 rm -rf conftest* confdefs.h
1324 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1327 # Predefined preprocessor variables.
1329 cat >>confdefs.h <<_ACEOF
1330 #define PACKAGE_NAME "$PACKAGE_NAME"
1334 cat >>confdefs.h <<_ACEOF
1335 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1339 cat >>confdefs.h <<_ACEOF
1340 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1344 cat >>confdefs.h <<_ACEOF
1345 #define PACKAGE_STRING "$PACKAGE_STRING"
1349 cat >>confdefs.h <<_ACEOF
1350 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1354 # Let the site file select an alternate cache file if it wants to.
1355 # Prefer explicitly selected file to automatically selected ones.
1356 if test -z "$CONFIG_SITE"; then
1357 if test "x$prefix" != xNONE; then
1358 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1360 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1363 for ac_site_file in $CONFIG_SITE; do
1364 if test -r "$ac_site_file"; then
1365 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1366 echo "$as_me: loading site script $ac_site_file" >&6;}
1367 sed 's
/^
/|
/' "$ac_site_file" >&5
1372 if test -r "$cache_file"; then
1373 # Some versions of bash will fail to source /dev/null (special
1374 # files actually), so we avoid doing that.
1375 if test -f "$cache_file"; then
1376 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1377 echo "$as_me: loading cache $cache_file" >&6;}
1379 [\\/]* | ?:[\\/]* ) . $cache_file;;
1380 *) . ./$cache_file;;
1384 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1385 echo "$as_me: creating cache $cache_file" >&6;}
1389 # Check that the precious variables saved in the cache have kept the same
1391 ac_cache_corrupted=false
1392 for ac_var in `(set) 2>&1 |
1393 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1394 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1395 eval ac_new_set=\$ac_env_${ac_var}_set
1396 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1397 eval ac_new_val="\$ac_env_${ac_var}_value"
1398 case $ac_old_set,$ac_new_set in
1400 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1401 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1402 ac_cache_corrupted=: ;;
1404 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1405 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1406 ac_cache_corrupted=: ;;
1409 if test "x$ac_old_val" != "x$ac_new_val"; then
1410 # differences in whitespace do not lead to failure.
1411 ac_old_val_w=`echo x $ac_old_val`
1412 ac_new_val_w=`echo x $ac_new_val`
1413 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1414 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1415 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1416 ac_cache_corrupted=:
1418 { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1419 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run
:" >&2;}
1420 eval $ac_var=\$ac_old_val
1422 { echo "$as_me:$LINENO: former value
: \
`$ac_old_val'" >&5
1423 echo "$as_me: former value: \`$ac_old_val'" >&2;}
1424 { echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1425 echo "$as_me: current value
: \
`$ac_new_val'" >&2;}
1428 # Pass precious variables to config.status.
1429 if test "$ac_new_set" = set; then
1431 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1432 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1433 *) ac_arg=$ac_var=$ac_new_val ;;
1435 case " $ac_configure_args " in
1436 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1437 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1441 if $ac_cache_corrupted; then
1442 { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1443 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1444 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1445 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1446 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1447 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1448 { (exit 1); exit 1; }; }
1452 ac_cpp='$CPP $CPPFLAGS'
1453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1488 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1489 if test -f $ac_dir/install-sh; then
1491 ac_install_sh="$ac_aux_dir/install-sh -c"
1493 elif test -f $ac_dir/install.sh; then
1495 ac_install_sh="$ac_aux_dir/install.sh -c"
1497 elif test -f $ac_dir/shtool; then
1499 ac_install_sh="$ac_aux_dir/shtool install -c"
1503 if test -z "$ac_aux_dir"; then
1504 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1505 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1506 { (exit 1); exit 1; }; }
1508 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1509 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1510 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1512 # Make sure we can run config.sub.
1513 $ac_config_sub sun4 >/dev/null 2>&1 ||
1514 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1515 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1516 { (exit 1); exit 1; }; }
1518 echo "$as_me:$LINENO: checking build system type" >&5
1519 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1520 if test "${ac_cv_build+set}" = set; then
1521 echo $ECHO_N "(cached) $ECHO_C" >&6
1523 ac_cv_build_alias=$build_alias
1524 test -z "$ac_cv_build_alias" &&
1525 ac_cv_build_alias=`$ac_config_guess`
1526 test -z "$ac_cv_build_alias" &&
1527 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1528 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1529 { (exit 1); exit 1; }; }
1530 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1531 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1532 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1533 { (exit 1); exit 1; }; }
1536 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1537 echo "${ECHO_T}$ac_cv_build" >&6
1539 build_cpu=`echo $ac_cv_build |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1540 build_vendor=`echo $ac_cv_build |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1541 build_os=`echo $ac_cv_build |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1544 echo "$as_me:$LINENO: checking host system type" >&5
1545 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1546 if test "${ac_cv_host+set}" = set; then
1547 echo $ECHO_N "(cached) $ECHO_C" >&6
1549 ac_cv_host_alias=$host_alias
1550 test -z "$ac_cv_host_alias" &&
1551 ac_cv_host_alias=$ac_cv_build_alias
1552 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1553 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1554 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1555 { (exit 1); exit 1; }; }
1558 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1559 echo "${ECHO_T}$ac_cv_host" >&6
1561 host_cpu=`echo $ac_cv_host |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1562 host_vendor=`echo $ac_cv_host |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1563 host_os=`echo $ac_cv_host |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1566 echo "$as_me:$LINENO: checking target system type" >&5
1567 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1568 if test "${ac_cv_target+set}" = set; then
1569 echo $ECHO_N "(cached) $ECHO_C" >&6
1571 ac_cv_target_alias=$target_alias
1572 test "x$ac_cv_target_alias" = "x" &&
1573 ac_cv_target_alias=$ac_cv_host_alias
1574 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1575 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1576 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1577 { (exit 1); exit 1; }; }
1580 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1581 echo "${ECHO_T}$ac_cv_target" >&6
1582 target=$ac_cv_target
1583 target_cpu=`echo $ac_cv_target |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1584 target_vendor=`echo $ac_cv_target |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1585 target_os=`echo $ac_cv_target |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1588 # The aliases save the names the user supplied, while $host etc.
1589 # will get canonicalized.
1590 test -n "$target_alias" &&
1591 test "$program_prefix$program_suffix$program_transform_name" = \
1593 program_prefix=${target_alias}-
1594 case ${build_alias} in
1595 "") build_noncanonical=${build} ;;
1596 *) build_noncanonical=${build_alias} ;;
1599 case ${host_alias} in
1600 "") host_noncanonical=${build_noncanonical} ;;
1601 *) host_noncanonical=${host_alias} ;;
1604 case ${target_alias} in
1605 "") target_noncanonical=${host_noncanonical} ;;
1606 *) target_noncanonical=${target_alias} ;;
1612 am__api_version="1.9"
1613 # Find a good install program. We prefer a C program (faster),
1614 # so one script is as good as another. But avoid the broken or
1615 # incompatible versions:
1616 # SysV /etc/install, /usr/sbin/install
1617 # SunOS /usr/etc/install
1618 # IRIX /sbin/install
1620 # AmigaOS /C/install, which installs bootblocks on floppy discs
1621 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1622 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1623 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1624 # OS/2's system install, which has a completely different semantic
1625 # ./install, which can be erroneously created by make from ./install.sh.
1626 # Reject install programs that cannot install multiple files.
1627 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1628 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1629 if test -z "$INSTALL"; then
1630 if test "${ac_cv_path_install+set}" = set; then
1631 echo $ECHO_N "(cached) $ECHO_C" >&6
1633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1637 test -z "$as_dir" && as_dir=.
1638 # Account for people who put trailing slashes in PATH elements.
1640 ./ | .// | /cC/* | \
1641 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1642 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1645 # OSF1 and SCO ODT 3.0 have their own names for install.
1646 # Don't use installbsd from OSF since it installs stuff as root
1648 for ac_prog in ginstall scoinst install; do
1649 for ac_exec_ext in '' $ac_executable_extensions; do
1650 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1651 if test $ac_prog = install &&
1652 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1653 # AIX install. It has an incompatible calling convention.
1655 elif test $ac_prog = install &&
1656 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1657 # program-specific install script used by HP pwplus--don't use.
1660 rm -rf conftest.one conftest.two conftest.dir
1661 echo one > conftest.one
1662 echo two > conftest.two
1664 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1665 test -s conftest.one && test -s conftest.two &&
1666 test -s conftest.dir/conftest.one &&
1667 test -s conftest.dir/conftest.two
1669 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1680 rm -rf conftest.one conftest.two conftest.dir
1683 if test "${ac_cv_path_install+set}" = set; then
1684 INSTALL=$ac_cv_path_install
1686 # As a last resort, use the slow shell script. Don't cache a
1687 # value for INSTALL within a source directory, because that will
1688 # break other packages using the cache if that directory is
1689 # removed, or if the value is a relative name.
1690 INSTALL=$ac_install_sh
1693 echo "$as_me:$LINENO: result: $INSTALL" >&5
1694 echo "${ECHO_T}$INSTALL" >&6
1696 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1697 # It thinks the first close brace ends the variable substitution.
1698 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1700 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1702 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1704 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1705 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1708 echo timestamp > conftest.file
1709 # Do `set' in a subshell so we don't clobber the current shell
's
1710 # arguments. Must try -L first in case configure is actually a
1711 # symlink; some systems play weird games with the mod time of symlinks
1712 # (eg FreeBSD returns the mod time of the symlink's containing
1715 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1716 if test "$*" = "X"; then
1718 set X
`ls -t $srcdir/configure conftest.file`
1721 if test "$*" != "X $srcdir/configure conftest.file" \
1722 && test "$*" != "X conftest.file $srcdir/configure"; then
1724 # If neither matched, then we have a broken ls. This can happen
1725 # if, for instance, CONFIG_SHELL is bash and it inherits a
1726 # broken ls alias from the environment. This has actually
1727 # happened. Such a system could not be considered "sane".
1728 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1729 alias in your environment" >&5
1730 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1731 alias in your environment" >&2;}
1732 { (exit 1); exit 1; }; }
1735 test "$2" = conftest.
file
1741 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1742 Check your system clock" >&5
1743 echo "$as_me: error: newly created file is older than distributed files!
1744 Check your system clock" >&2;}
1745 { (exit 1); exit 1; }; }
1747 echo "$as_me:$LINENO: result: yes" >&5
1748 echo "${ECHO_T}yes" >&6
1749 test "$program_prefix" != NONE
&&
1750 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1751 # Use a double $ so make ignores it.
1752 test "$program_suffix" != NONE
&&
1753 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1754 # Double any \ or $. echo might interpret backslashes.
1755 # By default was `s,x,x', remove it if useless.
1756 cat <<\_ACEOF
>conftest.
sed
1757 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1759 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1762 # expand $ac_aux_dir to an absolute path
1763 am_aux_dir
=`cd $ac_aux_dir && pwd`
1765 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1766 # Use eval to expand $SHELL
1767 if eval "$MISSING --run true"; then
1768 am_missing_run
="$MISSING --run "
1771 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1772 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1775 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1776 # We used to keeping the `.' as first argument, in order to
1777 # allow $(mkdir_p) to be used without argument. As in
1778 # $(mkdir_p) $(somedir)
1779 # where $(somedir) is conditionally defined. However this is wrong
1781 # 1. if the package is installed by a user who cannot write `.'
1782 # make install will fail,
1783 # 2. the above comment should most certainly read
1784 # $(mkdir_p) $(DESTDIR)$(somedir)
1785 # so it does not work when $(somedir) is undefined and
1786 # $(DESTDIR) is not.
1787 # To support the latter case, we have to write
1788 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1789 # so the `.' trick is pointless.
1790 mkdir_p
='mkdir -p --'
1792 # On NextStep and OpenStep, the `mkdir' command does not
1793 # recognize any option. It will interpret all options as
1794 # directories to create, and then abort because `.' already
1796 for d
in .
/-p .
/--version;
1798 test -d $d && rmdir $d
1800 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1801 if test -f "$ac_aux_dir/mkinstalldirs"; then
1802 mkdir_p
='$(mkinstalldirs)'
1804 mkdir_p
='$(install_sh) -d'
1808 for ac_prog
in gawk mawk nawk
awk
1810 # Extract the first word of "$ac_prog", so it can be a program name with args.
1811 set dummy
$ac_prog; ac_word
=$2
1812 echo "$as_me:$LINENO: checking for $ac_word" >&5
1813 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1814 if test "${ac_cv_prog_AWK+set}" = set; then
1815 echo $ECHO_N "(cached) $ECHO_C" >&6
1817 if test -n "$AWK"; then
1818 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1820 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1824 test -z "$as_dir" && as_dir
=.
1825 for ac_exec_ext
in '' $ac_executable_extensions; do
1826 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1827 ac_cv_prog_AWK
="$ac_prog"
1828 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1837 if test -n "$AWK"; then
1838 echo "$as_me:$LINENO: result: $AWK" >&5
1839 echo "${ECHO_T}$AWK" >&6
1841 echo "$as_me:$LINENO: result: no" >&5
1842 echo "${ECHO_T}no" >&6
1845 test -n "$AWK" && break
1848 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1849 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1850 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1851 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1852 echo $ECHO_N "(cached) $ECHO_C" >&6
1854 cat >conftest.
make <<\_ACEOF
1856 @
echo 'ac_maketemp="$(MAKE)"'
1858 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1859 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1860 if test -n "$ac_maketemp"; then
1861 eval ac_cv_prog_make_
${ac_make}_set
=yes
1863 eval ac_cv_prog_make_
${ac_make}_set
=no
1867 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1868 echo "$as_me:$LINENO: result: yes" >&5
1869 echo "${ECHO_T}yes" >&6
1872 echo "$as_me:$LINENO: result: no" >&5
1873 echo "${ECHO_T}no" >&6
1874 SET_MAKE
="MAKE=${MAKE-make}"
1877 rm -rf .tst
2>/dev
/null
1878 mkdir .tst
2>/dev
/null
1879 if test -d .tst
; then
1884 rmdir .tst
2>/dev
/null
1886 # test to see if srcdir already configured
1887 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1888 test -f $srcdir/config.status
; then
1889 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1890 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1891 { (exit 1); exit 1; }; }
1894 # test whether we have cygpath
1895 if test -z "$CYGPATH_W"; then
1896 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1897 CYGPATH_W
='cygpath -w'
1904 # Define the identity of the package.
1905 PACKAGE
='libmudflap'
1909 cat >>confdefs.h
<<_ACEOF
1910 #define PACKAGE "$PACKAGE"
1914 cat >>confdefs.h
<<_ACEOF
1915 #define VERSION "$VERSION"
1918 # Some tools Automake needs.
1920 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1923 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1926 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1929 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1932 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1934 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1936 # Installed binaries are usually stripped using `strip' when the user
1937 # run `make install-strip'. However `strip' might not be the right
1938 # tool to use in cross-compilation environments, therefore Automake
1939 # will honor the `STRIP' environment variable to overrule this program.
1940 if test "$cross_compiling" != no
; then
1941 if test -n "$ac_tool_prefix"; then
1942 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1943 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1944 echo "$as_me:$LINENO: checking for $ac_word" >&5
1945 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1946 if test "${ac_cv_prog_STRIP+set}" = set; then
1947 echo $ECHO_N "(cached) $ECHO_C" >&6
1949 if test -n "$STRIP"; then
1950 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1952 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1956 test -z "$as_dir" && as_dir
=.
1957 for ac_exec_ext
in '' $ac_executable_extensions; do
1958 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1959 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1960 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1968 STRIP
=$ac_cv_prog_STRIP
1969 if test -n "$STRIP"; then
1970 echo "$as_me:$LINENO: result: $STRIP" >&5
1971 echo "${ECHO_T}$STRIP" >&6
1973 echo "$as_me:$LINENO: result: no" >&5
1974 echo "${ECHO_T}no" >&6
1978 if test -z "$ac_cv_prog_STRIP"; then
1980 # Extract the first word of "strip", so it can be a program name with args.
1981 set dummy strip
; ac_word
=$2
1982 echo "$as_me:$LINENO: checking for $ac_word" >&5
1983 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1984 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1985 echo $ECHO_N "(cached) $ECHO_C" >&6
1987 if test -n "$ac_ct_STRIP"; then
1988 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1990 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1994 test -z "$as_dir" && as_dir
=.
1995 for ac_exec_ext
in '' $ac_executable_extensions; do
1996 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1997 ac_cv_prog_ac_ct_STRIP
="strip"
1998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2004 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
2007 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2008 if test -n "$ac_ct_STRIP"; then
2009 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2010 echo "${ECHO_T}$ac_ct_STRIP" >&6
2012 echo "$as_me:$LINENO: result: no" >&5
2013 echo "${ECHO_T}no" >&6
2018 STRIP
="$ac_cv_prog_STRIP"
2022 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2024 # We need awk for the "check" target. The system "awk" is bad on
2026 # Always define AMTAR for backward compatibility.
2028 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2030 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2037 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
2038 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
2039 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
2040 if test "${enable_version_specific_runtime_libs+set}" = set; then
2041 enableval
="$enable_version_specific_runtime_libs"
2042 case "$enableval" in
2043 yes) version_specific_libs
=yes ;;
2044 no
) version_specific_libs
=no
;;
2045 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
2046 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
2047 { (exit 1); exit 1; }; };;
2050 version_specific_libs
=no
2052 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
2053 echo "${ECHO_T}$version_specific_libs" >&6
2055 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2056 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
2057 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
2058 if test "${enable_maintainer_mode+set}" = set; then
2059 enableval
="$enable_maintainer_mode"
2060 USE_MAINTAINER_MODE
=$enableval
2062 USE_MAINTAINER_MODE
=no
2064 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2065 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
2068 if test $USE_MAINTAINER_MODE = yes; then
2069 MAINTAINER_MODE_TRUE
=
2070 MAINTAINER_MODE_FALSE
='#'
2072 MAINTAINER_MODE_TRUE
='#'
2073 MAINTAINER_MODE_FALSE
=
2076 MAINT
=$MAINTAINER_MODE_TRUE
2081 # Default to --enable-multilib
2082 # Check whether --enable-multilib or --disable-multilib was given.
2083 if test "${enable_multilib+set}" = set; then
2084 enableval
="$enable_multilib"
2085 case "$enableval" in
2086 yes) multilib
=yes ;;
2088 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
2089 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
2090 { (exit 1); exit 1; }; } ;;
2096 # We may get other options which we leave undocumented:
2097 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2098 # See config-ml.in if you want the gory details.
2100 if test "$srcdir" = "."; then
2101 if test "$with_target_subdir" != "."; then
2102 multi_basedir
="$srcdir/$with_multisrctop../.."
2104 multi_basedir
="$srcdir/$with_multisrctop.."
2107 multi_basedir
="$srcdir/.."
2111 # Even if the default multilib is not a cross compilation,
2112 # it may be that some of the other multilibs are.
2113 if test $cross_compiling = no
&& test $multilib = yes \
2114 && test "x${with_multisubdir}" != x
; then
2115 cross_compiling
=maybe
2118 ac_config_commands
="$ac_config_commands default-1"
2121 target_alias
=${target_alias-$host_alias}
2124 ac_config_headers
="$ac_config_headers config.h"
2128 ac_cpp
='$CPP $CPPFLAGS'
2129 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2130 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2131 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2133 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
2134 # We must force CC to /not/ be precious variables; otherwise
2135 # the wrong, non-multilib-adjusted value will be used in multilibs.
2136 # As a side effect, we have to subst CFLAGS ourselves.
2141 ac_cpp
='$CPP $CPPFLAGS'
2142 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2143 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2144 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2145 if test -n "$ac_tool_prefix"; then
2146 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2147 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2148 echo "$as_me:$LINENO: checking for $ac_word" >&5
2149 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2150 if test "${ac_cv_prog_CC+set}" = set; then
2151 echo $ECHO_N "(cached) $ECHO_C" >&6
2153 if test -n "$CC"; then
2154 ac_cv_prog_CC
="$CC" # Let the user override the test.
2156 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2160 test -z "$as_dir" && as_dir
=.
2161 for ac_exec_ext
in '' $ac_executable_extensions; do
2162 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2163 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2164 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2173 if test -n "$CC"; then
2174 echo "$as_me:$LINENO: result: $CC" >&5
2175 echo "${ECHO_T}$CC" >&6
2177 echo "$as_me:$LINENO: result: no" >&5
2178 echo "${ECHO_T}no" >&6
2182 if test -z "$ac_cv_prog_CC"; then
2184 # Extract the first word of "gcc", so it can be a program name with args.
2185 set dummy gcc
; ac_word
=$2
2186 echo "$as_me:$LINENO: checking for $ac_word" >&5
2187 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2188 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2189 echo $ECHO_N "(cached) $ECHO_C" >&6
2191 if test -n "$ac_ct_CC"; then
2192 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2194 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2198 test -z "$as_dir" && as_dir
=.
2199 for ac_exec_ext
in '' $ac_executable_extensions; do
2200 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2201 ac_cv_prog_ac_ct_CC
="gcc"
2202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2210 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2211 if test -n "$ac_ct_CC"; then
2212 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2213 echo "${ECHO_T}$ac_ct_CC" >&6
2215 echo "$as_me:$LINENO: result: no" >&5
2216 echo "${ECHO_T}no" >&6
2224 if test -z "$CC"; then
2225 if test -n "$ac_tool_prefix"; then
2226 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2227 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2228 echo "$as_me:$LINENO: checking for $ac_word" >&5
2229 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2230 if test "${ac_cv_prog_CC+set}" = set; then
2231 echo $ECHO_N "(cached) $ECHO_C" >&6
2233 if test -n "$CC"; then
2234 ac_cv_prog_CC
="$CC" # Let the user override the test.
2236 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2240 test -z "$as_dir" && as_dir
=.
2241 for ac_exec_ext
in '' $ac_executable_extensions; do
2242 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2243 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2244 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2253 if test -n "$CC"; then
2254 echo "$as_me:$LINENO: result: $CC" >&5
2255 echo "${ECHO_T}$CC" >&6
2257 echo "$as_me:$LINENO: result: no" >&5
2258 echo "${ECHO_T}no" >&6
2262 if test -z "$ac_cv_prog_CC"; then
2264 # Extract the first word of "cc", so it can be a program name with args.
2265 set dummy cc
; ac_word
=$2
2266 echo "$as_me:$LINENO: checking for $ac_word" >&5
2267 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2268 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2269 echo $ECHO_N "(cached) $ECHO_C" >&6
2271 if test -n "$ac_ct_CC"; then
2272 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2274 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2278 test -z "$as_dir" && as_dir
=.
2279 for ac_exec_ext
in '' $ac_executable_extensions; do
2280 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2281 ac_cv_prog_ac_ct_CC
="cc"
2282 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2290 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2291 if test -n "$ac_ct_CC"; then
2292 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2293 echo "${ECHO_T}$ac_ct_CC" >&6
2295 echo "$as_me:$LINENO: result: no" >&5
2296 echo "${ECHO_T}no" >&6
2305 if test -z "$CC"; then
2306 # Extract the first word of "cc", so it can be a program name with args.
2307 set dummy cc
; ac_word
=$2
2308 echo "$as_me:$LINENO: checking for $ac_word" >&5
2309 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2310 if test "${ac_cv_prog_CC+set}" = set; then
2311 echo $ECHO_N "(cached) $ECHO_C" >&6
2313 if test -n "$CC"; then
2314 ac_cv_prog_CC
="$CC" # Let the user override the test.
2317 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2321 test -z "$as_dir" && as_dir
=.
2322 for ac_exec_ext
in '' $ac_executable_extensions; do
2323 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2324 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2325 ac_prog_rejected
=yes
2329 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2335 if test $ac_prog_rejected = yes; then
2336 # We found a bogon in the path, so make sure we never use it.
2337 set dummy
$ac_cv_prog_CC
2339 if test $# != 0; then
2340 # We chose a different compiler from the bogus one.
2341 # However, it has the same basename, so the bogon will be chosen
2342 # first if we set CC to just the basename; use the full file name.
2344 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2350 if test -n "$CC"; then
2351 echo "$as_me:$LINENO: result: $CC" >&5
2352 echo "${ECHO_T}$CC" >&6
2354 echo "$as_me:$LINENO: result: no" >&5
2355 echo "${ECHO_T}no" >&6
2359 if test -z "$CC"; then
2360 if test -n "$ac_tool_prefix"; then
2363 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2364 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2365 echo "$as_me:$LINENO: checking for $ac_word" >&5
2366 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2367 if test "${ac_cv_prog_CC+set}" = set; then
2368 echo $ECHO_N "(cached) $ECHO_C" >&6
2370 if test -n "$CC"; then
2371 ac_cv_prog_CC
="$CC" # Let the user override the test.
2373 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2377 test -z "$as_dir" && as_dir
=.
2378 for ac_exec_ext
in '' $ac_executable_extensions; do
2379 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2380 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2381 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2390 if test -n "$CC"; then
2391 echo "$as_me:$LINENO: result: $CC" >&5
2392 echo "${ECHO_T}$CC" >&6
2394 echo "$as_me:$LINENO: result: no" >&5
2395 echo "${ECHO_T}no" >&6
2398 test -n "$CC" && break
2401 if test -z "$CC"; then
2405 # Extract the first word of "$ac_prog", so it can be a program name with args.
2406 set dummy
$ac_prog; ac_word
=$2
2407 echo "$as_me:$LINENO: checking for $ac_word" >&5
2408 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2409 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2410 echo $ECHO_N "(cached) $ECHO_C" >&6
2412 if test -n "$ac_ct_CC"; then
2413 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2415 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2419 test -z "$as_dir" && as_dir
=.
2420 for ac_exec_ext
in '' $ac_executable_extensions; do
2421 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2422 ac_cv_prog_ac_ct_CC
="$ac_prog"
2423 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2431 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2432 if test -n "$ac_ct_CC"; then
2433 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2434 echo "${ECHO_T}$ac_ct_CC" >&6
2436 echo "$as_me:$LINENO: result: no" >&5
2437 echo "${ECHO_T}no" >&6
2440 test -n "$ac_ct_CC" && break
2449 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2450 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2451 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2452 See \`config.log' for more details." >&5
2453 echo "$as_me: error: no acceptable C compiler found in \$PATH
2454 See \`config.log' for more details." >&2;}
2455 { (exit 1); exit 1; }; }; }
2457 # Provide some information about the compiler.
2458 echo "$as_me:$LINENO:" \
2459 "checking for C compiler version" >&5
2460 ac_compiler
=`set X $ac_compile; echo $2`
2461 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2462 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2465 (exit $ac_status); }
2466 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2467 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2470 (exit $ac_status); }
2471 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2472 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2475 (exit $ac_status); }
2477 cat >conftest.
$ac_ext <<_ACEOF
2480 cat confdefs.h
>>conftest.
$ac_ext
2481 cat >>conftest.
$ac_ext <<_ACEOF
2482 /* end confdefs.h. */
2492 ac_clean_files_save
=$ac_clean_files
2493 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2494 # Try to create an executable without -o first, disregard a.out.
2495 # It will help us diagnose broken compilers, and finding out an intuition
2497 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2498 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2499 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2500 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2501 (eval $ac_link_default) 2>&5
2503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2504 (exit $ac_status); }; then
2505 # Find the output, starting from the most likely. This scheme is
2506 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2509 # Be careful to initialize this variable, since it used to be cached.
2510 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2512 # b.out is created by i960 compilers.
2513 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2515 test -f "$ac_file" ||
continue
2517 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2520 # This is the source file.
2523 # We found the default executable, but exeext='' is most
2527 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2528 # FIXME: I believe we export ac_cv_exeext for Libtool,
2529 # but it would be cool to find out if it's true. Does anybody
2530 # maintain Libtool? --akim.
2538 echo "$as_me: failed program was:" >&5
2539 sed 's/^/| /' conftest.
$ac_ext >&5
2541 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2542 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2543 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2544 See \`config.log' for more details." >&5
2545 echo "$as_me: error: C compiler cannot create executables
2546 See \`config.log' for more details." >&2;}
2547 { (exit 77); exit 77; }; }; }
2550 ac_exeext
=$ac_cv_exeext
2551 echo "$as_me:$LINENO: result: $ac_file" >&5
2552 echo "${ECHO_T}$ac_file" >&6
2554 # Check the compiler produces executables we can run. If not, either
2555 # the compiler is broken, or we cross compile.
2556 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2557 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2558 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2559 # If not cross compiling, check that we can run a simple program.
2560 if test "$cross_compiling" != yes; then
2561 if { ac_try
='./$ac_file'
2562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2566 (exit $ac_status); }; }; then
2569 if test "$cross_compiling" = maybe
; then
2572 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2573 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2574 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2575 If you meant to cross compile, use \`--host'.
2576 See \`config.log' for more details." >&5
2577 echo "$as_me: error: cannot run C compiled programs.
2578 If you meant to cross compile, use \`--host'.
2579 See \`config.log' for more details." >&2;}
2580 { (exit 1); exit 1; }; }; }
2584 echo "$as_me:$LINENO: result: yes" >&5
2585 echo "${ECHO_T}yes" >&6
2587 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2588 ac_clean_files
=$ac_clean_files_save
2589 # Check the compiler produces executables we can run. If not, either
2590 # the compiler is broken, or we cross compile.
2591 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2592 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2593 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2594 echo "${ECHO_T}$cross_compiling" >&6
2596 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2597 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2599 (eval $ac_link) 2>&5
2601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2602 (exit $ac_status); }; then
2603 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2604 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2605 # work properly (i.e., refer to `conftest.exe'), while it won't with
2607 for ac_file
in conftest.exe conftest conftest.
*; do
2608 test -f "$ac_file" ||
continue
2610 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2611 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2618 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2619 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2620 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2621 See \`config.log' for more details." >&5
2622 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2623 See \`config.log' for more details." >&2;}
2624 { (exit 1); exit 1; }; }; }
2627 rm -f conftest
$ac_cv_exeext
2628 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2629 echo "${ECHO_T}$ac_cv_exeext" >&6
2631 rm -f conftest.
$ac_ext
2632 EXEEXT
=$ac_cv_exeext
2634 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2635 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2636 if test "${ac_cv_objext+set}" = set; then
2637 echo $ECHO_N "(cached) $ECHO_C" >&6
2639 cat >conftest.
$ac_ext <<_ACEOF
2642 cat confdefs.h
>>conftest.
$ac_ext
2643 cat >>conftest.
$ac_ext <<_ACEOF
2644 /* end confdefs.h. */
2654 rm -f conftest.o conftest.obj
2655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2656 (eval $ac_compile) 2>&5
2658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2659 (exit $ac_status); }; then
2660 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2662 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2663 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2668 echo "$as_me: failed program was:" >&5
2669 sed 's/^/| /' conftest.
$ac_ext >&5
2671 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2672 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2673 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2674 See \`config.log' for more details." >&5
2675 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2676 See \`config.log' for more details." >&2;}
2677 { (exit 1); exit 1; }; }; }
2680 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2682 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2683 echo "${ECHO_T}$ac_cv_objext" >&6
2684 OBJEXT
=$ac_cv_objext
2686 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2687 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2688 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2689 echo $ECHO_N "(cached) $ECHO_C" >&6
2691 cat >conftest.
$ac_ext <<_ACEOF
2694 cat confdefs.h
>>conftest.
$ac_ext
2695 cat >>conftest.
$ac_ext <<_ACEOF
2696 /* end confdefs.h. */
2709 rm -f conftest.
$ac_objext
2710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2711 (eval $ac_compile) 2>conftest.er1
2713 grep -v '^ *+' conftest.er1
>conftest.err
2715 cat conftest.err
>&5
2716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2717 (exit $ac_status); } &&
2718 { ac_try
='test -z "$ac_c_werror_flag"
2719 || test ! -s conftest.err'
2720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2724 (exit $ac_status); }; } &&
2725 { ac_try
='test -s conftest.$ac_objext'
2726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2730 (exit $ac_status); }; }; then
2733 echo "$as_me: failed program was:" >&5
2734 sed 's/^/| /' conftest.
$ac_ext >&5
2738 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2739 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2742 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2743 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2744 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2745 ac_test_CFLAGS
=${CFLAGS+set}
2746 ac_save_CFLAGS
=$CFLAGS
2748 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2749 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2750 if test "${ac_cv_prog_cc_g+set}" = set; then
2751 echo $ECHO_N "(cached) $ECHO_C" >&6
2753 cat >conftest.
$ac_ext <<_ACEOF
2756 cat confdefs.h
>>conftest.
$ac_ext
2757 cat >>conftest.
$ac_ext <<_ACEOF
2758 /* end confdefs.h. */
2768 rm -f conftest.
$ac_objext
2769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2770 (eval $ac_compile) 2>conftest.er1
2772 grep -v '^ *+' conftest.er1
>conftest.err
2774 cat conftest.err
>&5
2775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2776 (exit $ac_status); } &&
2777 { ac_try
='test -z "$ac_c_werror_flag"
2778 || test ! -s conftest.err'
2779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2783 (exit $ac_status); }; } &&
2784 { ac_try
='test -s conftest.$ac_objext'
2785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2789 (exit $ac_status); }; }; then
2792 echo "$as_me: failed program was:" >&5
2793 sed 's/^/| /' conftest.
$ac_ext >&5
2797 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2799 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2800 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2801 if test "$ac_test_CFLAGS" = set; then
2802 CFLAGS
=$ac_save_CFLAGS
2803 elif test $ac_cv_prog_cc_g = yes; then
2804 if test "$GCC" = yes; then
2810 if test "$GCC" = yes; then
2816 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2817 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2818 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2819 echo $ECHO_N "(cached) $ECHO_C" >&6
2821 ac_cv_prog_cc_stdc
=no
2823 cat >conftest.
$ac_ext <<_ACEOF
2826 cat confdefs.h
>>conftest.
$ac_ext
2827 cat >>conftest.
$ac_ext <<_ACEOF
2828 /* end confdefs.h. */
2831 #include <sys/types.h>
2832 #include <sys/stat.h>
2833 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2834 struct buf { int x; };
2835 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2836 static char *e (p, i)
2842 static char *f (char * (*g) (char **, int), char **p, ...)
2847 s = g (p, va_arg (v,int));
2852 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2853 function prototypes and stuff, but not '\xHH' hex character constants.
2854 These don't provoke an error unfortunately, instead are silently treated
2855 as 'x'. The following induces an error, until -std1 is added to get
2856 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2857 array size at least. It's necessary to write '\x00'==0 to get something
2858 that's true only with -std1. */
2859 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2861 int test (int i, double x);
2862 struct s1 {int (*f) (int a);};
2863 struct s2 {int (*f) (double a);};
2864 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2870 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2875 # Don't try gcc -ansi; that turns off useful extensions and
2876 # breaks some systems' header files.
2877 # AIX -qlanglvl=ansi
2878 # Ultrix and OSF/1 -std1
2879 # HP-UX 10.20 and later -Ae
2880 # HP-UX older versions -Aa -D_HPUX_SOURCE
2881 # SVR4 -Xc -D__EXTENSIONS__
2882 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2884 CC
="$ac_save_CC $ac_arg"
2885 rm -f conftest.
$ac_objext
2886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2887 (eval $ac_compile) 2>conftest.er1
2889 grep -v '^ *+' conftest.er1
>conftest.err
2891 cat conftest.err
>&5
2892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2893 (exit $ac_status); } &&
2894 { ac_try
='test -z "$ac_c_werror_flag"
2895 || test ! -s conftest.err'
2896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2900 (exit $ac_status); }; } &&
2901 { ac_try
='test -s conftest.$ac_objext'
2902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2906 (exit $ac_status); }; }; then
2907 ac_cv_prog_cc_stdc
=$ac_arg
2910 echo "$as_me: failed program was:" >&5
2911 sed 's/^/| /' conftest.
$ac_ext >&5
2914 rm -f conftest.err conftest.
$ac_objext
2916 rm -f conftest.
$ac_ext conftest.
$ac_objext
2921 case "x$ac_cv_prog_cc_stdc" in
2923 echo "$as_me:$LINENO: result: none needed" >&5
2924 echo "${ECHO_T}none needed" >&6 ;;
2926 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2927 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2928 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2931 # Some people use a C++ compiler to compile C. Since we use `exit',
2932 # in C++ we need to declare it. In case someone uses the same compiler
2933 # for both compiling C and C++ we need to have the C++ compiler decide
2934 # the declaration of exit, since it's the most demanding environment.
2935 cat >conftest.
$ac_ext <<_ACEOF
2940 rm -f conftest.
$ac_objext
2941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2942 (eval $ac_compile) 2>conftest.er1
2944 grep -v '^ *+' conftest.er1
>conftest.err
2946 cat conftest.err
>&5
2947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2948 (exit $ac_status); } &&
2949 { ac_try
='test -z "$ac_c_werror_flag"
2950 || test ! -s conftest.err'
2951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2955 (exit $ac_status); }; } &&
2956 { ac_try
='test -s conftest.$ac_objext'
2957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2961 (exit $ac_status); }; }; then
2962 for ac_declaration
in \
2964 'extern "C" void std::exit (int) throw (); using std::exit;' \
2965 'extern "C" void std::exit (int); using std::exit;' \
2966 'extern "C" void exit (int) throw ();' \
2967 'extern "C" void exit (int);' \
2970 cat >conftest.
$ac_ext <<_ACEOF
2973 cat confdefs.h
>>conftest.
$ac_ext
2974 cat >>conftest.
$ac_ext <<_ACEOF
2975 /* end confdefs.h. */
2986 rm -f conftest.
$ac_objext
2987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2988 (eval $ac_compile) 2>conftest.er1
2990 grep -v '^ *+' conftest.er1
>conftest.err
2992 cat conftest.err
>&5
2993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2994 (exit $ac_status); } &&
2995 { ac_try
='test -z "$ac_c_werror_flag"
2996 || test ! -s conftest.err'
2997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3001 (exit $ac_status); }; } &&
3002 { ac_try
='test -s conftest.$ac_objext'
3003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3007 (exit $ac_status); }; }; then
3010 echo "$as_me: failed program was:" >&5
3011 sed 's/^/| /' conftest.
$ac_ext >&5
3015 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3016 cat >conftest.
$ac_ext <<_ACEOF
3019 cat confdefs.h
>>conftest.
$ac_ext
3020 cat >>conftest.
$ac_ext <<_ACEOF
3021 /* end confdefs.h. */
3031 rm -f conftest.
$ac_objext
3032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3033 (eval $ac_compile) 2>conftest.er1
3035 grep -v '^ *+' conftest.er1
>conftest.err
3037 cat conftest.err
>&5
3038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3039 (exit $ac_status); } &&
3040 { ac_try
='test -z "$ac_c_werror_flag"
3041 || test ! -s conftest.err'
3042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3046 (exit $ac_status); }; } &&
3047 { ac_try
='test -s conftest.$ac_objext'
3048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3052 (exit $ac_status); }; }; then
3055 echo "$as_me: failed program was:" >&5
3056 sed 's/^/| /' conftest.
$ac_ext >&5
3059 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3062 if test -n "$ac_declaration"; then
3063 echo '#ifdef __cplusplus' >>confdefs.h
3064 echo $ac_declaration >>confdefs.h
3065 echo '#endif' >>confdefs.h
3069 echo "$as_me: failed program was:" >&5
3070 sed 's/^/| /' conftest.
$ac_ext >&5
3073 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3075 ac_cpp
='$CPP $CPPFLAGS'
3076 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3077 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3078 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3079 DEPDIR
="${am__leading_dot}deps"
3081 ac_config_commands
="$ac_config_commands depfiles"
3084 am_make
=${MAKE-make}
3085 cat > confinc
<< 'END'
3090 # If we don't find an include directive, just comment out the code.
3091 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3092 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3096 # First try GNU make style include.
3097 echo "include confinc" > confmf
3098 # We grep out `Entering directory' and `Leaving directory'
3099 # messages which can occur if `w' ends up in MAKEFLAGS.
3100 # In particular we don't look at `^make:' because GNU make might
3101 # be invoked under some other name (usually "gmake"), in which
3102 # case it prints its new name instead of `make'.
3103 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3108 # Now try BSD make style include.
3109 if test "$am__include" = "#"; then
3110 echo '.include "confinc"' > confmf
3111 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3112 am__include
=.include
3119 echo "$as_me:$LINENO: result: $_am_result" >&5
3120 echo "${ECHO_T}$_am_result" >&6
3121 rm -f confinc confmf
3123 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3124 if test "${enable_dependency_tracking+set}" = set; then
3125 enableval
="$enable_dependency_tracking"
3128 if test "x$enable_dependency_tracking" != xno
; then
3129 am_depcomp
="$ac_aux_dir/depcomp"
3134 if test "x$enable_dependency_tracking" != xno; then
3145 depcc
="$CC" am_compiler_list
=
3147 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3148 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3149 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3150 echo $ECHO_N "(cached) $ECHO_C" >&6
3152 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3153 # We make a subdir and do the tests there. Otherwise we can end up
3154 # making bogus files that we don't know about and never remove. For
3155 # instance it was reported that on HP-UX the gcc test will end up
3156 # making a dummy file named `D' -- because `-MD' means `put the output
3159 # Copy depcomp to subdir because otherwise we won't find it if we're
3160 # using a relative directory.
3161 cp "$am_depcomp" conftest.dir
3163 # We will build objects and dependencies in a subdirectory because
3164 # it helps to detect inapplicable dependency modes. For instance
3165 # both Tru64's cc and ICC support -MD to output dependencies as a
3166 # side effect of compilation, but ICC will put the dependencies in
3167 # the current directory while Tru64 will put them in the object
3171 am_cv_CC_dependencies_compiler_type
=none
3172 if test "$am_compiler_list" = ""; then
3173 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3175 for depmode
in $am_compiler_list; do
3176 # Setup a source with many dependencies, because some compilers
3177 # like to wrap large dependency lists on column 80 (with \), and
3178 # we should not choose a depcomp mode which is confused by this.
3180 # We need to recreate these files for each test, as the compiler may
3181 # overwrite some of them when testing with obscure command lines.
3182 # This happens at least with the AIX C compiler.
3184 for i
in 1 2 3 4 5 6; do
3185 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3186 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3187 # Solaris 8's {/usr,}/bin/sh.
3188 touch sub
/conftst
$i.h
3190 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3194 # after this tag, mechanisms are not by side-effect, so they'll
3195 # only be used when explicitly requested
3196 if test "x$enable_dependency_tracking" = xyes
; then
3204 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3205 # mode. It turns out that the SunPro C++ compiler does not properly
3206 # handle `-M -o', and we need to detect this.
3207 if depmode
=$depmode \
3208 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3209 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3210 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3211 >/dev
/null
2>conftest.err
&&
3212 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3213 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3214 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3215 # icc doesn't choke on unknown options, it will just issue warnings
3216 # or remarks (even with -Werror). So we grep stderr for any message
3217 # that says an option was ignored or not supported.
3218 # When given -MP, icc 7.0 and 7.1 complain thusly:
3219 # icc: Command line warning: ignoring option '-M'; no argument required
3220 # The diagnosis changed in icc 8.0:
3221 # icc: Command line remark: option '-MP' not supported
3222 if (grep 'ignoring option' conftest.err ||
3223 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3224 am_cv_CC_dependencies_compiler_type
=$depmode
3233 am_cv_CC_dependencies_compiler_type
=none
3237 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3238 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3239 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3244 test "x$enable_dependency_tracking" != xno \
3245 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3247 am__fastdepCC_FALSE
='#'
3249 am__fastdepCC_TRUE
='#'
3250 am__fastdepCC_FALSE
=
3258 if test "x$GCC" != "xyes"; then
3259 { { echo "$as_me:$LINENO: error: libmudflap must be built with GCC" >&5
3260 echo "$as_me: error: libmudflap must be built with GCC" >&2;}
3261 { (exit 1); exit 1; }; }
3264 ac_cpp
='$CPP $CPPFLAGS'
3265 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3266 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3267 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3268 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3269 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3270 # On Suns, sometimes $CPP names a directory.
3271 if test -n "$CPP" && test -d "$CPP"; then
3274 if test -z "$CPP"; then
3275 if test "${ac_cv_prog_CPP+set}" = set; then
3276 echo $ECHO_N "(cached) $ECHO_C" >&6
3278 # Double quotes because CPP needs to be expanded
3279 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3282 for ac_c_preproc_warn_flag
in '' yes
3284 # Use a header file that comes with gcc, so configuring glibc
3285 # with a fresh cross-compiler works.
3286 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3287 # <limits.h> exists even on freestanding compilers.
3288 # On the NeXT, cc -E runs the code through the compiler's parser,
3289 # not just through cpp. "Syntax error" is here to catch this case.
3290 cat >conftest.
$ac_ext <<_ACEOF
3293 cat confdefs.h
>>conftest.
$ac_ext
3294 cat >>conftest.
$ac_ext <<_ACEOF
3295 /* end confdefs.h. */
3297 # include <limits.h>
3299 # include <assert.h>
3303 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3304 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3306 grep -v '^ *+' conftest.er1
>conftest.err
3308 cat conftest.err
>&5
3309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3310 (exit $ac_status); } >/dev
/null
; then
3311 if test -s conftest.err
; then
3312 ac_cpp_err
=$ac_c_preproc_warn_flag
3313 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3320 if test -z "$ac_cpp_err"; then
3323 echo "$as_me: failed program was:" >&5
3324 sed 's/^/| /' conftest.
$ac_ext >&5
3326 # Broken: fails on valid input.
3329 rm -f conftest.err conftest.
$ac_ext
3331 # OK, works on sane cases. Now check whether non-existent headers
3332 # can be detected and how.
3333 cat >conftest.
$ac_ext <<_ACEOF
3336 cat confdefs.h
>>conftest.
$ac_ext
3337 cat >>conftest.
$ac_ext <<_ACEOF
3338 /* end confdefs.h. */
3339 #include <ac_nonexistent.h>
3341 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3342 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3344 grep -v '^ *+' conftest.er1
>conftest.err
3346 cat conftest.err
>&5
3347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3348 (exit $ac_status); } >/dev
/null
; then
3349 if test -s conftest.err
; then
3350 ac_cpp_err
=$ac_c_preproc_warn_flag
3351 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3358 if test -z "$ac_cpp_err"; then
3359 # Broken: success on invalid input.
3362 echo "$as_me: failed program was:" >&5
3363 sed 's/^/| /' conftest.
$ac_ext >&5
3365 # Passes both tests.
3369 rm -f conftest.err conftest.
$ac_ext
3372 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3373 rm -f conftest.err conftest.
$ac_ext
3374 if $ac_preproc_ok; then
3386 echo "$as_me:$LINENO: result: $CPP" >&5
3387 echo "${ECHO_T}$CPP" >&6
3389 for ac_c_preproc_warn_flag
in '' yes
3391 # Use a header file that comes with gcc, so configuring glibc
3392 # with a fresh cross-compiler works.
3393 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3394 # <limits.h> exists even on freestanding compilers.
3395 # On the NeXT, cc -E runs the code through the compiler's parser,
3396 # not just through cpp. "Syntax error" is here to catch this case.
3397 cat >conftest.
$ac_ext <<_ACEOF
3400 cat confdefs.h
>>conftest.
$ac_ext
3401 cat >>conftest.
$ac_ext <<_ACEOF
3402 /* end confdefs.h. */
3404 # include <limits.h>
3406 # include <assert.h>
3410 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3411 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3413 grep -v '^ *+' conftest.er1
>conftest.err
3415 cat conftest.err
>&5
3416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3417 (exit $ac_status); } >/dev
/null
; then
3418 if test -s conftest.err
; then
3419 ac_cpp_err
=$ac_c_preproc_warn_flag
3420 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3427 if test -z "$ac_cpp_err"; then
3430 echo "$as_me: failed program was:" >&5
3431 sed 's/^/| /' conftest.
$ac_ext >&5
3433 # Broken: fails on valid input.
3436 rm -f conftest.err conftest.
$ac_ext
3438 # OK, works on sane cases. Now check whether non-existent headers
3439 # can be detected and how.
3440 cat >conftest.
$ac_ext <<_ACEOF
3443 cat confdefs.h
>>conftest.
$ac_ext
3444 cat >>conftest.
$ac_ext <<_ACEOF
3445 /* end confdefs.h. */
3446 #include <ac_nonexistent.h>
3448 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3449 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3451 grep -v '^ *+' conftest.er1
>conftest.err
3453 cat conftest.err
>&5
3454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3455 (exit $ac_status); } >/dev
/null
; then
3456 if test -s conftest.err
; then
3457 ac_cpp_err
=$ac_c_preproc_warn_flag
3458 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3465 if test -z "$ac_cpp_err"; then
3466 # Broken: success on invalid input.
3469 echo "$as_me: failed program was:" >&5
3470 sed 's/^/| /' conftest.
$ac_ext >&5
3472 # Passes both tests.
3476 rm -f conftest.err conftest.
$ac_ext
3479 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3480 rm -f conftest.err conftest.
$ac_ext
3481 if $ac_preproc_ok; then
3484 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3485 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3486 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3487 See \`config.log' for more details." >&5
3488 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3489 See \`config.log' for more details." >&2;}
3490 { (exit 1); exit 1; }; }; }
3494 ac_cpp
='$CPP $CPPFLAGS'
3495 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3496 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3497 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3500 # Some hosts don't have dlsym(RTLD_NEXT, "symbol") for use in
3501 # symbol interposition. We disable shared libraries for these.
3502 echo "$as_me:$LINENO: checking whether dlsym(RTLD_NEXT,...) is available" >&5
3503 echo $ECHO_N "checking whether dlsym(RTLD_NEXT,...) is available... $ECHO_C" >&6
3505 cat >conftest.
$ac_ext <<_ACEOF
3508 cat confdefs.h
>>conftest.
$ac_ext
3509 cat >>conftest.
$ac_ext <<_ACEOF
3510 /* end confdefs.h. */
3518 void *foo = dlsym (RTLD_NEXT, "exit");
3523 rm -f conftest.
$ac_objext
3524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3525 (eval $ac_compile) 2>conftest.er1
3527 grep -v '^ *+' conftest.er1
>conftest.err
3529 cat conftest.err
>&5
3530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3531 (exit $ac_status); } &&
3532 { ac_try
='test -z "$ac_c_werror_flag"
3533 || test ! -s conftest.err'
3534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3538 (exit $ac_status); }; } &&
3539 { ac_try
='test -s conftest.$ac_objext'
3540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3544 (exit $ac_status); }; }; then
3545 echo "$as_me:$LINENO: result: yes" >&5
3546 echo "${ECHO_T}yes" >&6
3548 echo "$as_me: failed program was:" >&5
3549 sed 's/^/| /' conftest.
$ac_ext >&5
3551 echo "$as_me:$LINENO: result: no" >&5
3552 echo "${ECHO_T}no" >&6
3555 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3558 echo "$as_me:$LINENO: checking for egrep" >&5
3559 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3560 if test "${ac_cv_prog_egrep+set}" = set; then
3561 echo $ECHO_N "(cached) $ECHO_C" >&6
3563 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3564 then ac_cv_prog_egrep
='grep -E'
3565 else ac_cv_prog_egrep
='egrep'
3568 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3569 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3570 EGREP
=$ac_cv_prog_egrep
3573 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3574 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3575 if test "${ac_cv_header_stdc+set}" = set; then
3576 echo $ECHO_N "(cached) $ECHO_C" >&6
3578 cat >conftest.
$ac_ext <<_ACEOF
3581 cat confdefs.h
>>conftest.
$ac_ext
3582 cat >>conftest.
$ac_ext <<_ACEOF
3583 /* end confdefs.h. */
3597 rm -f conftest.
$ac_objext
3598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3599 (eval $ac_compile) 2>conftest.er1
3601 grep -v '^ *+' conftest.er1
>conftest.err
3603 cat conftest.err
>&5
3604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3605 (exit $ac_status); } &&
3606 { ac_try
='test -z "$ac_c_werror_flag"
3607 || test ! -s conftest.err'
3608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3612 (exit $ac_status); }; } &&
3613 { ac_try
='test -s conftest.$ac_objext'
3614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3618 (exit $ac_status); }; }; then
3619 ac_cv_header_stdc
=yes
3621 echo "$as_me: failed program was:" >&5
3622 sed 's/^/| /' conftest.
$ac_ext >&5
3624 ac_cv_header_stdc
=no
3626 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3628 if test $ac_cv_header_stdc = yes; then
3629 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3630 cat >conftest.
$ac_ext <<_ACEOF
3633 cat confdefs.h
>>conftest.
$ac_ext
3634 cat >>conftest.
$ac_ext <<_ACEOF
3635 /* end confdefs.h. */
3639 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3640 $EGREP "memchr" >/dev
/null
2>&1; then
3643 ac_cv_header_stdc
=no
3649 if test $ac_cv_header_stdc = yes; then
3650 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3651 cat >conftest.
$ac_ext <<_ACEOF
3654 cat confdefs.h
>>conftest.
$ac_ext
3655 cat >>conftest.
$ac_ext <<_ACEOF
3656 /* end confdefs.h. */
3660 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3661 $EGREP "free" >/dev
/null
2>&1; then
3664 ac_cv_header_stdc
=no
3670 if test $ac_cv_header_stdc = yes; then
3671 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3672 if test "$cross_compiling" = yes; then
3675 cat >conftest.
$ac_ext <<_ACEOF
3678 cat confdefs.h
>>conftest.
$ac_ext
3679 cat >>conftest.
$ac_ext <<_ACEOF
3680 /* end confdefs.h. */
3682 #if ((' ' & 0x0FF) == 0x020)
3683 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3684 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3686 # define ISLOWER(c) \
3687 (('a' <= (c) && (c) <= 'i') \
3688 || ('j' <= (c) && (c) <= 'r') \
3689 || ('s' <= (c) && (c) <= 'z'))
3690 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3693 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3698 for (i = 0; i < 256; i++)
3699 if (XOR (islower (i), ISLOWER (i))
3700 || toupper (i) != TOUPPER (i))
3705 rm -f conftest
$ac_exeext
3706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3707 (eval $ac_link) 2>&5
3709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3710 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3715 (exit $ac_status); }; }; then
3718 echo "$as_me: program exited with status $ac_status" >&5
3719 echo "$as_me: failed program was:" >&5
3720 sed 's/^/| /' conftest.
$ac_ext >&5
3723 ac_cv_header_stdc
=no
3725 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3729 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3730 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3731 if test $ac_cv_header_stdc = yes; then
3733 cat >>confdefs.h
<<\_ACEOF
3734 #define STDC_HEADERS 1
3739 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3749 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3750 inttypes.h stdint.h unistd.h
3752 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3753 echo "$as_me:$LINENO: checking for $ac_header" >&5
3754 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3755 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3756 echo $ECHO_N "(cached) $ECHO_C" >&6
3758 cat >conftest.
$ac_ext <<_ACEOF
3761 cat confdefs.h
>>conftest.
$ac_ext
3762 cat >>conftest.
$ac_ext <<_ACEOF
3763 /* end confdefs.h. */
3764 $ac_includes_default
3766 #include <$ac_header>
3768 rm -f conftest.
$ac_objext
3769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3770 (eval $ac_compile) 2>conftest.er1
3772 grep -v '^ *+' conftest.er1
>conftest.err
3774 cat conftest.err
>&5
3775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3776 (exit $ac_status); } &&
3777 { ac_try
='test -z "$ac_c_werror_flag"
3778 || test ! -s conftest.err'
3779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3783 (exit $ac_status); }; } &&
3784 { ac_try
='test -s conftest.$ac_objext'
3785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3789 (exit $ac_status); }; }; then
3790 eval "$as_ac_Header=yes"
3792 echo "$as_me: failed program was:" >&5
3793 sed 's/^/| /' conftest.
$ac_ext >&5
3795 eval "$as_ac_Header=no"
3797 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3800 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3801 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3802 cat >>confdefs.h
<<_ACEOF
3803 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3830 for ac_header
in stdint.h execinfo.h signal.h dlfcn.h dirent.h
pwd.h grp.h \
3831 netdb.h sys
/ipc.h sys
/sem.h sys
/shm.h sys
/wait.h ctype.h mntent.h \
3832 sys
/socket.h netinet
/in.h arpa
/inet.h dlfcn.h sys
/mman.h
3834 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3835 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3836 echo "$as_me:$LINENO: checking for $ac_header" >&5
3837 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3838 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3839 echo $ECHO_N "(cached) $ECHO_C" >&6
3841 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3842 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3844 # Is the header compilable?
3845 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3846 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3847 cat >conftest.
$ac_ext <<_ACEOF
3850 cat confdefs.h
>>conftest.
$ac_ext
3851 cat >>conftest.
$ac_ext <<_ACEOF
3852 /* end confdefs.h. */
3853 $ac_includes_default
3854 #include <$ac_header>
3856 rm -f conftest.
$ac_objext
3857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3858 (eval $ac_compile) 2>conftest.er1
3860 grep -v '^ *+' conftest.er1
>conftest.err
3862 cat conftest.err
>&5
3863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3864 (exit $ac_status); } &&
3865 { ac_try
='test -z "$ac_c_werror_flag"
3866 || test ! -s conftest.err'
3867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3871 (exit $ac_status); }; } &&
3872 { ac_try
='test -s conftest.$ac_objext'
3873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3877 (exit $ac_status); }; }; then
3878 ac_header_compiler
=yes
3880 echo "$as_me: failed program was:" >&5
3881 sed 's/^/| /' conftest.
$ac_ext >&5
3883 ac_header_compiler
=no
3885 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3886 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3887 echo "${ECHO_T}$ac_header_compiler" >&6
3889 # Is the header present?
3890 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3891 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3892 cat >conftest.
$ac_ext <<_ACEOF
3895 cat confdefs.h
>>conftest.
$ac_ext
3896 cat >>conftest.
$ac_ext <<_ACEOF
3897 /* end confdefs.h. */
3898 #include <$ac_header>
3900 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3901 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3903 grep -v '^ *+' conftest.er1
>conftest.err
3905 cat conftest.err
>&5
3906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3907 (exit $ac_status); } >/dev
/null
; then
3908 if test -s conftest.err
; then
3909 ac_cpp_err
=$ac_c_preproc_warn_flag
3910 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3917 if test -z "$ac_cpp_err"; then
3918 ac_header_preproc
=yes
3920 echo "$as_me: failed program was:" >&5
3921 sed 's/^/| /' conftest.
$ac_ext >&5
3923 ac_header_preproc
=no
3925 rm -f conftest.err conftest.
$ac_ext
3926 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3927 echo "${ECHO_T}$ac_header_preproc" >&6
3929 # So? What about this header?
3930 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3932 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3933 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3934 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3935 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3936 ac_header_preproc
=yes
3939 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3940 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3941 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3942 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3943 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3944 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3945 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3946 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3947 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3948 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3949 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3950 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3953 ## ------------------------------------- ##
3954 ## Report this to the libmudflap lists. ##
3955 ## ------------------------------------- ##
3958 sed "s/^/$as_me: WARNING: /" >&2
3961 echo "$as_me:$LINENO: checking for $ac_header" >&5
3962 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3963 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3964 echo $ECHO_N "(cached) $ECHO_C" >&6
3966 eval "$as_ac_Header=\$ac_header_preproc"
3968 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3969 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3972 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3973 cat >>confdefs.h
<<_ACEOF
3974 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3986 for ac_func
in backtrace backtrace_symbols gettimeofday signal
3988 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3989 echo "$as_me:$LINENO: checking for $ac_func" >&5
3990 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3991 if eval "test \"\${$as_ac_var+set}\" = set"; then
3992 echo $ECHO_N "(cached) $ECHO_C" >&6
3994 cat >conftest.
$ac_ext <<_ACEOF
3997 cat confdefs.h
>>conftest.
$ac_ext
3998 cat >>conftest.
$ac_ext <<_ACEOF
3999 /* end confdefs.h. */
4000 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4001 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4002 #define $ac_func innocuous_$ac_func
4004 /* System header to define __stub macros and hopefully few prototypes,
4005 which can conflict with char $ac_func (); below.
4006 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4007 <limits.h> exists even on freestanding compilers. */
4010 # include <limits.h>
4012 # include <assert.h>
4017 /* Override any gcc2 internal prototype to avoid an error. */
4022 /* We use char because int might match the return type of a gcc2
4023 builtin and then its argument prototype would still apply. */
4025 /* The GNU C library defines this for functions which it implements
4026 to always fail with ENOSYS. Some functions are actually named
4027 something starting with __ and the normal name is an alias. */
4028 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4031 char (*f) () = $ac_func;
4040 return f != $ac_func;
4045 rm -f conftest.
$ac_objext conftest
$ac_exeext
4046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4047 (eval $ac_link) 2>conftest.er1
4049 grep -v '^ *+' conftest.er1
>conftest.err
4051 cat conftest.err
>&5
4052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4053 (exit $ac_status); } &&
4054 { ac_try
='test -z "$ac_c_werror_flag"
4055 || test ! -s conftest.err'
4056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4060 (exit $ac_status); }; } &&
4061 { ac_try
='test -s conftest$ac_exeext'
4062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4066 (exit $ac_status); }; }; then
4067 eval "$as_ac_var=yes"
4069 echo "$as_me: failed program was:" >&5
4070 sed 's/^/| /' conftest.
$ac_ext >&5
4072 eval "$as_ac_var=no"
4074 rm -f conftest.err conftest.
$ac_objext \
4075 conftest
$ac_exeext conftest.
$ac_ext
4077 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4078 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4079 if test `eval echo '${'$as_ac_var'}'` = yes; then
4080 cat >>confdefs.h
<<_ACEOF
4081 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4092 for ac_func
in fopen64 fseeko64 ftello64 stat64 freopen64
4094 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4095 echo "$as_me:$LINENO: checking for $ac_func" >&5
4096 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4097 if eval "test \"\${$as_ac_var+set}\" = set"; then
4098 echo $ECHO_N "(cached) $ECHO_C" >&6
4100 cat >conftest.
$ac_ext <<_ACEOF
4103 cat confdefs.h
>>conftest.
$ac_ext
4104 cat >>conftest.
$ac_ext <<_ACEOF
4105 /* end confdefs.h. */
4106 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4107 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4108 #define $ac_func innocuous_$ac_func
4110 /* System header to define __stub macros and hopefully few prototypes,
4111 which can conflict with char $ac_func (); below.
4112 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4113 <limits.h> exists even on freestanding compilers. */
4116 # include <limits.h>
4118 # include <assert.h>
4123 /* Override any gcc2 internal prototype to avoid an error. */
4128 /* We use char because int might match the return type of a gcc2
4129 builtin and then its argument prototype would still apply. */
4131 /* The GNU C library defines this for functions which it implements
4132 to always fail with ENOSYS. Some functions are actually named
4133 something starting with __ and the normal name is an alias. */
4134 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4137 char (*f) () = $ac_func;
4146 return f != $ac_func;
4151 rm -f conftest.
$ac_objext conftest
$ac_exeext
4152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4153 (eval $ac_link) 2>conftest.er1
4155 grep -v '^ *+' conftest.er1
>conftest.err
4157 cat conftest.err
>&5
4158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4159 (exit $ac_status); } &&
4160 { ac_try
='test -z "$ac_c_werror_flag"
4161 || test ! -s conftest.err'
4162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4166 (exit $ac_status); }; } &&
4167 { ac_try
='test -s conftest$ac_exeext'
4168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4172 (exit $ac_status); }; }; then
4173 eval "$as_ac_var=yes"
4175 echo "$as_me: failed program was:" >&5
4176 sed 's/^/| /' conftest.
$ac_ext >&5
4178 eval "$as_ac_var=no"
4180 rm -f conftest.err conftest.
$ac_objext \
4181 conftest
$ac_exeext conftest.
$ac_ext
4183 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4184 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4185 if test `eval echo '${'$as_ac_var'}'` = yes; then
4186 cat >>confdefs.h
<<_ACEOF
4187 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4197 for ac_func
in setbuf setbuffer setlinebuf setvbuf
4199 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4200 echo "$as_me:$LINENO: checking for $ac_func" >&5
4201 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4202 if eval "test \"\${$as_ac_var+set}\" = set"; then
4203 echo $ECHO_N "(cached) $ECHO_C" >&6
4205 cat >conftest.
$ac_ext <<_ACEOF
4208 cat confdefs.h
>>conftest.
$ac_ext
4209 cat >>conftest.
$ac_ext <<_ACEOF
4210 /* end confdefs.h. */
4211 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4212 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4213 #define $ac_func innocuous_$ac_func
4215 /* System header to define __stub macros and hopefully few prototypes,
4216 which can conflict with char $ac_func (); below.
4217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4218 <limits.h> exists even on freestanding compilers. */
4221 # include <limits.h>
4223 # include <assert.h>
4228 /* Override any gcc2 internal prototype to avoid an error. */
4233 /* We use char because int might match the return type of a gcc2
4234 builtin and then its argument prototype would still apply. */
4236 /* The GNU C library defines this for functions which it implements
4237 to always fail with ENOSYS. Some functions are actually named
4238 something starting with __ and the normal name is an alias. */
4239 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4242 char (*f) () = $ac_func;
4251 return f != $ac_func;
4256 rm -f conftest.
$ac_objext conftest
$ac_exeext
4257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4258 (eval $ac_link) 2>conftest.er1
4260 grep -v '^ *+' conftest.er1
>conftest.err
4262 cat conftest.err
>&5
4263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4264 (exit $ac_status); } &&
4265 { ac_try
='test -z "$ac_c_werror_flag"
4266 || test ! -s conftest.err'
4267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4271 (exit $ac_status); }; } &&
4272 { ac_try
='test -s conftest$ac_exeext'
4273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4277 (exit $ac_status); }; }; then
4278 eval "$as_ac_var=yes"
4280 echo "$as_me: failed program was:" >&5
4281 sed 's/^/| /' conftest.
$ac_ext >&5
4283 eval "$as_ac_var=no"
4285 rm -f conftest.err conftest.
$ac_objext \
4286 conftest
$ac_exeext conftest.
$ac_ext
4288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4289 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4290 if test `eval echo '${'$as_ac_var'}'` = yes; then
4291 cat >>confdefs.h
<<_ACEOF
4292 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4303 for ac_func
in strnlen memrchr strncpy memmem sethostname
4305 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4306 echo "$as_me:$LINENO: checking for $ac_func" >&5
4307 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4308 if eval "test \"\${$as_ac_var+set}\" = set"; then
4309 echo $ECHO_N "(cached) $ECHO_C" >&6
4311 cat >conftest.
$ac_ext <<_ACEOF
4314 cat confdefs.h
>>conftest.
$ac_ext
4315 cat >>conftest.
$ac_ext <<_ACEOF
4316 /* end confdefs.h. */
4317 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4318 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4319 #define $ac_func innocuous_$ac_func
4321 /* System header to define __stub macros and hopefully few prototypes,
4322 which can conflict with char $ac_func (); below.
4323 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4324 <limits.h> exists even on freestanding compilers. */
4327 # include <limits.h>
4329 # include <assert.h>
4334 /* Override any gcc2 internal prototype to avoid an error. */
4339 /* We use char because int might match the return type of a gcc2
4340 builtin and then its argument prototype would still apply. */
4342 /* The GNU C library defines this for functions which it implements
4343 to always fail with ENOSYS. Some functions are actually named
4344 something starting with __ and the normal name is an alias. */
4345 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4348 char (*f) () = $ac_func;
4357 return f != $ac_func;
4362 rm -f conftest.
$ac_objext conftest
$ac_exeext
4363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4364 (eval $ac_link) 2>conftest.er1
4366 grep -v '^ *+' conftest.er1
>conftest.err
4368 cat conftest.err
>&5
4369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4370 (exit $ac_status); } &&
4371 { ac_try
='test -z "$ac_c_werror_flag"
4372 || test ! -s conftest.err'
4373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4377 (exit $ac_status); }; } &&
4378 { ac_try
='test -s conftest$ac_exeext'
4379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4383 (exit $ac_status); }; }; then
4384 eval "$as_ac_var=yes"
4386 echo "$as_me: failed program was:" >&5
4387 sed 's/^/| /' conftest.
$ac_ext >&5
4389 eval "$as_ac_var=no"
4391 rm -f conftest.err conftest.
$ac_objext \
4392 conftest
$ac_exeext conftest.
$ac_ext
4394 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4395 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4396 if test `eval echo '${'$as_ac_var'}'` = yes; then
4397 cat >>confdefs.h
<<_ACEOF
4398 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4407 for ac_func
in __ctype_b_loc __ctype_tolower_loc __ctype_toupper_loc
4409 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4410 echo "$as_me:$LINENO: checking for $ac_func" >&5
4411 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4412 if eval "test \"\${$as_ac_var+set}\" = set"; then
4413 echo $ECHO_N "(cached) $ECHO_C" >&6
4415 cat >conftest.
$ac_ext <<_ACEOF
4418 cat confdefs.h
>>conftest.
$ac_ext
4419 cat >>conftest.
$ac_ext <<_ACEOF
4420 /* end confdefs.h. */
4421 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4422 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4423 #define $ac_func innocuous_$ac_func
4425 /* System header to define __stub macros and hopefully few prototypes,
4426 which can conflict with char $ac_func (); below.
4427 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4428 <limits.h> exists even on freestanding compilers. */
4431 # include <limits.h>
4433 # include <assert.h>
4438 /* Override any gcc2 internal prototype to avoid an error. */
4443 /* We use char because int might match the return type of a gcc2
4444 builtin and then its argument prototype would still apply. */
4446 /* The GNU C library defines this for functions which it implements
4447 to always fail with ENOSYS. Some functions are actually named
4448 something starting with __ and the normal name is an alias. */
4449 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4452 char (*f) () = $ac_func;
4461 return f != $ac_func;
4466 rm -f conftest.
$ac_objext conftest
$ac_exeext
4467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4468 (eval $ac_link) 2>conftest.er1
4470 grep -v '^ *+' conftest.er1
>conftest.err
4472 cat conftest.err
>&5
4473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4474 (exit $ac_status); } &&
4475 { ac_try
='test -z "$ac_c_werror_flag"
4476 || test ! -s conftest.err'
4477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4481 (exit $ac_status); }; } &&
4482 { ac_try
='test -s conftest$ac_exeext'
4483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4487 (exit $ac_status); }; }; then
4488 eval "$as_ac_var=yes"
4490 echo "$as_me: failed program was:" >&5
4491 sed 's/^/| /' conftest.
$ac_ext >&5
4493 eval "$as_ac_var=no"
4495 rm -f conftest.err conftest.
$ac_objext \
4496 conftest
$ac_exeext conftest.
$ac_ext
4498 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4499 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4500 if test `eval echo '${'$as_ac_var'}'` = yes; then
4501 cat >>confdefs.h
<<_ACEOF
4502 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4516 for ac_func
in getlogin cuserid getpwnam getpwuid getpwent getgrnam getgrgid getgrent
4518 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4519 echo "$as_me:$LINENO: checking for $ac_func" >&5
4520 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4521 if eval "test \"\${$as_ac_var+set}\" = set"; then
4522 echo $ECHO_N "(cached) $ECHO_C" >&6
4524 cat >conftest.
$ac_ext <<_ACEOF
4527 cat confdefs.h
>>conftest.
$ac_ext
4528 cat >>conftest.
$ac_ext <<_ACEOF
4529 /* end confdefs.h. */
4530 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4531 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4532 #define $ac_func innocuous_$ac_func
4534 /* System header to define __stub macros and hopefully few prototypes,
4535 which can conflict with char $ac_func (); below.
4536 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4537 <limits.h> exists even on freestanding compilers. */
4540 # include <limits.h>
4542 # include <assert.h>
4547 /* Override any gcc2 internal prototype to avoid an error. */
4552 /* We use char because int might match the return type of a gcc2
4553 builtin and then its argument prototype would still apply. */
4555 /* The GNU C library defines this for functions which it implements
4556 to always fail with ENOSYS. Some functions are actually named
4557 something starting with __ and the normal name is an alias. */
4558 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4561 char (*f) () = $ac_func;
4570 return f != $ac_func;
4575 rm -f conftest.
$ac_objext conftest
$ac_exeext
4576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4577 (eval $ac_link) 2>conftest.er1
4579 grep -v '^ *+' conftest.er1
>conftest.err
4581 cat conftest.err
>&5
4582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4583 (exit $ac_status); } &&
4584 { ac_try
='test -z "$ac_c_werror_flag"
4585 || test ! -s conftest.err'
4586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4590 (exit $ac_status); }; } &&
4591 { ac_try
='test -s conftest$ac_exeext'
4592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4596 (exit $ac_status); }; }; then
4597 eval "$as_ac_var=yes"
4599 echo "$as_me: failed program was:" >&5
4600 sed 's/^/| /' conftest.
$ac_ext >&5
4602 eval "$as_ac_var=no"
4604 rm -f conftest.err conftest.
$ac_objext \
4605 conftest
$ac_exeext conftest.
$ac_ext
4607 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4608 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4609 if test `eval echo '${'$as_ac_var'}'` = yes; then
4610 cat >>confdefs.h
<<_ACEOF
4611 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4622 for ac_func
in getlogin_r getpwnam_r getpwuid_r getgrnam_r getgrgid_r
4624 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4625 echo "$as_me:$LINENO: checking for $ac_func" >&5
4626 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4627 if eval "test \"\${$as_ac_var+set}\" = set"; then
4628 echo $ECHO_N "(cached) $ECHO_C" >&6
4630 cat >conftest.
$ac_ext <<_ACEOF
4633 cat confdefs.h
>>conftest.
$ac_ext
4634 cat >>conftest.
$ac_ext <<_ACEOF
4635 /* end confdefs.h. */
4636 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4637 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4638 #define $ac_func innocuous_$ac_func
4640 /* System header to define __stub macros and hopefully few prototypes,
4641 which can conflict with char $ac_func (); below.
4642 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4643 <limits.h> exists even on freestanding compilers. */
4646 # include <limits.h>
4648 # include <assert.h>
4653 /* Override any gcc2 internal prototype to avoid an error. */
4658 /* We use char because int might match the return type of a gcc2
4659 builtin and then its argument prototype would still apply. */
4661 /* The GNU C library defines this for functions which it implements
4662 to always fail with ENOSYS. Some functions are actually named
4663 something starting with __ and the normal name is an alias. */
4664 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4667 char (*f) () = $ac_func;
4676 return f != $ac_func;
4681 rm -f conftest.
$ac_objext conftest
$ac_exeext
4682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4683 (eval $ac_link) 2>conftest.er1
4685 grep -v '^ *+' conftest.er1
>conftest.err
4687 cat conftest.err
>&5
4688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4689 (exit $ac_status); } &&
4690 { ac_try
='test -z "$ac_c_werror_flag"
4691 || test ! -s conftest.err'
4692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4696 (exit $ac_status); }; } &&
4697 { ac_try
='test -s conftest$ac_exeext'
4698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4702 (exit $ac_status); }; }; then
4703 eval "$as_ac_var=yes"
4705 echo "$as_me: failed program was:" >&5
4706 sed 's/^/| /' conftest.
$ac_ext >&5
4708 eval "$as_ac_var=no"
4710 rm -f conftest.err conftest.
$ac_objext \
4711 conftest
$ac_exeext conftest.
$ac_ext
4713 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4714 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4715 if test `eval echo '${'$as_ac_var'}'` = yes; then
4716 cat >>confdefs.h
<<_ACEOF
4717 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4728 for ac_func
in getservent getservbyname getservbyport getaddrinfo gai_strerror
4730 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4731 echo "$as_me:$LINENO: checking for $ac_func" >&5
4732 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4733 if eval "test \"\${$as_ac_var+set}\" = set"; then
4734 echo $ECHO_N "(cached) $ECHO_C" >&6
4736 cat >conftest.
$ac_ext <<_ACEOF
4739 cat confdefs.h
>>conftest.
$ac_ext
4740 cat >>conftest.
$ac_ext <<_ACEOF
4741 /* end confdefs.h. */
4742 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4743 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4744 #define $ac_func innocuous_$ac_func
4746 /* System header to define __stub macros and hopefully few prototypes,
4747 which can conflict with char $ac_func (); below.
4748 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4749 <limits.h> exists even on freestanding compilers. */
4752 # include <limits.h>
4754 # include <assert.h>
4759 /* Override any gcc2 internal prototype to avoid an error. */
4764 /* We use char because int might match the return type of a gcc2
4765 builtin and then its argument prototype would still apply. */
4767 /* The GNU C library defines this for functions which it implements
4768 to always fail with ENOSYS. Some functions are actually named
4769 something starting with __ and the normal name is an alias. */
4770 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4773 char (*f) () = $ac_func;
4782 return f != $ac_func;
4787 rm -f conftest.
$ac_objext conftest
$ac_exeext
4788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4789 (eval $ac_link) 2>conftest.er1
4791 grep -v '^ *+' conftest.er1
>conftest.err
4793 cat conftest.err
>&5
4794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4795 (exit $ac_status); } &&
4796 { ac_try
='test -z "$ac_c_werror_flag"
4797 || test ! -s conftest.err'
4798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4802 (exit $ac_status); }; } &&
4803 { ac_try
='test -s conftest$ac_exeext'
4804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4808 (exit $ac_status); }; }; then
4809 eval "$as_ac_var=yes"
4811 echo "$as_me: failed program was:" >&5
4812 sed 's/^/| /' conftest.
$ac_ext >&5
4814 eval "$as_ac_var=no"
4816 rm -f conftest.err conftest.
$ac_objext \
4817 conftest
$ac_exeext conftest.
$ac_ext
4819 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4820 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4821 if test `eval echo '${'$as_ac_var'}'` = yes; then
4822 cat >>confdefs.h
<<_ACEOF
4823 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4832 for ac_func
in getprotoent getprotobyname getprotobynumber
4834 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4835 echo "$as_me:$LINENO: checking for $ac_func" >&5
4836 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4837 if eval "test \"\${$as_ac_var+set}\" = set"; then
4838 echo $ECHO_N "(cached) $ECHO_C" >&6
4840 cat >conftest.
$ac_ext <<_ACEOF
4843 cat confdefs.h
>>conftest.
$ac_ext
4844 cat >>conftest.
$ac_ext <<_ACEOF
4845 /* end confdefs.h. */
4846 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4847 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4848 #define $ac_func innocuous_$ac_func
4850 /* System header to define __stub macros and hopefully few prototypes,
4851 which can conflict with char $ac_func (); below.
4852 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4853 <limits.h> exists even on freestanding compilers. */
4856 # include <limits.h>
4858 # include <assert.h>
4863 /* Override any gcc2 internal prototype to avoid an error. */
4868 /* We use char because int might match the return type of a gcc2
4869 builtin and then its argument prototype would still apply. */
4871 /* The GNU C library defines this for functions which it implements
4872 to always fail with ENOSYS. Some functions are actually named
4873 something starting with __ and the normal name is an alias. */
4874 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4877 char (*f) () = $ac_func;
4886 return f != $ac_func;
4891 rm -f conftest.
$ac_objext conftest
$ac_exeext
4892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4893 (eval $ac_link) 2>conftest.er1
4895 grep -v '^ *+' conftest.er1
>conftest.err
4897 cat conftest.err
>&5
4898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4899 (exit $ac_status); } &&
4900 { ac_try
='test -z "$ac_c_werror_flag"
4901 || test ! -s conftest.err'
4902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4906 (exit $ac_status); }; } &&
4907 { ac_try
='test -s conftest$ac_exeext'
4908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4912 (exit $ac_status); }; }; then
4913 eval "$as_ac_var=yes"
4915 echo "$as_me: failed program was:" >&5
4916 sed 's/^/| /' conftest.
$ac_ext >&5
4918 eval "$as_ac_var=no"
4920 rm -f conftest.err conftest.
$ac_objext \
4921 conftest
$ac_exeext conftest.
$ac_ext
4923 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4924 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4925 if test `eval echo '${'$as_ac_var'}'` = yes; then
4926 cat >>confdefs.h
<<_ACEOF
4927 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4936 for ac_func
in getmntent setmntent addmntent
4938 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4939 echo "$as_me:$LINENO: checking for $ac_func" >&5
4940 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4941 if eval "test \"\${$as_ac_var+set}\" = set"; then
4942 echo $ECHO_N "(cached) $ECHO_C" >&6
4944 cat >conftest.
$ac_ext <<_ACEOF
4947 cat confdefs.h
>>conftest.
$ac_ext
4948 cat >>conftest.
$ac_ext <<_ACEOF
4949 /* end confdefs.h. */
4950 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4951 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4952 #define $ac_func innocuous_$ac_func
4954 /* System header to define __stub macros and hopefully few prototypes,
4955 which can conflict with char $ac_func (); below.
4956 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4957 <limits.h> exists even on freestanding compilers. */
4960 # include <limits.h>
4962 # include <assert.h>
4967 /* Override any gcc2 internal prototype to avoid an error. */
4972 /* We use char because int might match the return type of a gcc2
4973 builtin and then its argument prototype would still apply. */
4975 /* The GNU C library defines this for functions which it implements
4976 to always fail with ENOSYS. Some functions are actually named
4977 something starting with __ and the normal name is an alias. */
4978 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4981 char (*f) () = $ac_func;
4990 return f != $ac_func;
4995 rm -f conftest.
$ac_objext conftest
$ac_exeext
4996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4997 (eval $ac_link) 2>conftest.er1
4999 grep -v '^ *+' conftest.er1
>conftest.err
5001 cat conftest.err
>&5
5002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5003 (exit $ac_status); } &&
5004 { ac_try
='test -z "$ac_c_werror_flag"
5005 || test ! -s conftest.err'
5006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5010 (exit $ac_status); }; } &&
5011 { ac_try
='test -s conftest$ac_exeext'
5012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5016 (exit $ac_status); }; }; then
5017 eval "$as_ac_var=yes"
5019 echo "$as_me: failed program was:" >&5
5020 sed 's/^/| /' conftest.
$ac_ext >&5
5022 eval "$as_ac_var=no"
5024 rm -f conftest.err conftest.
$ac_objext \
5025 conftest
$ac_exeext conftest.
$ac_ext
5027 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5028 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5029 if test `eval echo '${'$as_ac_var'}'` = yes; then
5030 cat >>confdefs.h
<<_ACEOF
5031 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5040 for ac_func
in inet_ntoa mmap munmap
5042 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5043 echo "$as_me:$LINENO: checking for $ac_func" >&5
5044 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5045 if eval "test \"\${$as_ac_var+set}\" = set"; then
5046 echo $ECHO_N "(cached) $ECHO_C" >&6
5048 cat >conftest.
$ac_ext <<_ACEOF
5051 cat confdefs.h
>>conftest.
$ac_ext
5052 cat >>conftest.
$ac_ext <<_ACEOF
5053 /* end confdefs.h. */
5054 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5055 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5056 #define $ac_func innocuous_$ac_func
5058 /* System header to define __stub macros and hopefully few prototypes,
5059 which can conflict with char $ac_func (); below.
5060 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5061 <limits.h> exists even on freestanding compilers. */
5064 # include <limits.h>
5066 # include <assert.h>
5071 /* Override any gcc2 internal prototype to avoid an error. */
5076 /* We use char because int might match the return type of a gcc2
5077 builtin and then its argument prototype would still apply. */
5079 /* The GNU C library defines this for functions which it implements
5080 to always fail with ENOSYS. Some functions are actually named
5081 something starting with __ and the normal name is an alias. */
5082 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5085 char (*f) () = $ac_func;
5094 return f != $ac_func;
5099 rm -f conftest.
$ac_objext conftest
$ac_exeext
5100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5101 (eval $ac_link) 2>conftest.er1
5103 grep -v '^ *+' conftest.er1
>conftest.err
5105 cat conftest.err
>&5
5106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5107 (exit $ac_status); } &&
5108 { ac_try
='test -z "$ac_c_werror_flag"
5109 || test ! -s conftest.err'
5110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5114 (exit $ac_status); }; } &&
5115 { ac_try
='test -s conftest$ac_exeext'
5116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5120 (exit $ac_status); }; }; then
5121 eval "$as_ac_var=yes"
5123 echo "$as_me: failed program was:" >&5
5124 sed 's/^/| /' conftest.
$ac_ext >&5
5126 eval "$as_ac_var=no"
5128 rm -f conftest.err conftest.
$ac_objext \
5129 conftest
$ac_exeext conftest.
$ac_ext
5131 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5132 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5133 if test `eval echo '${'$as_ac_var'}'` = yes; then
5134 cat >>confdefs.h
<<_ACEOF
5135 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5142 for ac_func
in __libc_freeres
5144 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5145 echo "$as_me:$LINENO: checking for $ac_func" >&5
5146 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5147 if eval "test \"\${$as_ac_var+set}\" = set"; then
5148 echo $ECHO_N "(cached) $ECHO_C" >&6
5150 cat >conftest.
$ac_ext <<_ACEOF
5153 cat confdefs.h
>>conftest.
$ac_ext
5154 cat >>conftest.
$ac_ext <<_ACEOF
5155 /* end confdefs.h. */
5156 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5157 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5158 #define $ac_func innocuous_$ac_func
5160 /* System header to define __stub macros and hopefully few prototypes,
5161 which can conflict with char $ac_func (); below.
5162 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5163 <limits.h> exists even on freestanding compilers. */
5166 # include <limits.h>
5168 # include <assert.h>
5173 /* Override any gcc2 internal prototype to avoid an error. */
5178 /* We use char because int might match the return type of a gcc2
5179 builtin and then its argument prototype would still apply. */
5181 /* The GNU C library defines this for functions which it implements
5182 to always fail with ENOSYS. Some functions are actually named
5183 something starting with __ and the normal name is an alias. */
5184 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5187 char (*f) () = $ac_func;
5196 return f != $ac_func;
5201 rm -f conftest.
$ac_objext conftest
$ac_exeext
5202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5203 (eval $ac_link) 2>conftest.er1
5205 grep -v '^ *+' conftest.er1
>conftest.err
5207 cat conftest.err
>&5
5208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5209 (exit $ac_status); } &&
5210 { ac_try
='test -z "$ac_c_werror_flag"
5211 || test ! -s conftest.err'
5212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5216 (exit $ac_status); }; } &&
5217 { ac_try
='test -s conftest$ac_exeext'
5218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5222 (exit $ac_status); }; }; then
5223 eval "$as_ac_var=yes"
5225 echo "$as_me: failed program was:" >&5
5226 sed 's/^/| /' conftest.
$ac_ext >&5
5228 eval "$as_ac_var=no"
5230 rm -f conftest.err conftest.
$ac_objext \
5231 conftest
$ac_exeext conftest.
$ac_ext
5233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5234 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5235 if test `eval echo '${'$as_ac_var'}'` = yes; then
5236 cat >>confdefs.h
<<_ACEOF
5237 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5244 cat >conftest.
$ac_ext <<_ACEOF
5247 cat confdefs.h
>>conftest.
$ac_ext
5248 cat >>conftest.
$ac_ext <<_ACEOF
5249 /* end confdefs.h. */
5250 #include <sys/types.h>
5251 #include <sys/ipc.h>
5252 #include <sys/sem.h>
5261 rm -f conftest.
$ac_objext
5262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5263 (eval $ac_compile) 2>conftest.er1
5265 grep -v '^ *+' conftest.er1
>conftest.err
5267 cat conftest.err
>&5
5268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5269 (exit $ac_status); } &&
5270 { ac_try
='test -z "$ac_c_werror_flag"
5271 || test ! -s conftest.err'
5272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5276 (exit $ac_status); }; } &&
5277 { ac_try
='test -s conftest.$ac_objext'
5278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5282 (exit $ac_status); }; }; then
5285 echo "$as_me: failed program was:" >&5
5286 sed 's/^/| /' conftest.
$ac_ext >&5
5290 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5291 if test $mf_have_semun = 1
5294 cat >>confdefs.h
<<\_ACEOF
5295 #define HAVE_UNION_SEMUN 1
5301 echo "$as_me:$LINENO: checking for socklen_t in sys/socket.h" >&5
5302 echo $ECHO_N "checking for socklen_t in sys/socket.h... $ECHO_C" >&6
5303 cat >conftest.
$ac_ext <<_ACEOF
5306 cat confdefs.h
>>conftest.
$ac_ext
5307 cat >>conftest.
$ac_ext <<_ACEOF
5308 /* end confdefs.h. */
5309 #define _POSIX_PII_SOCKET
5310 #include <sys/types.h>
5311 #include <sys/socket.h>
5320 rm -f conftest.
$ac_objext
5321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5322 (eval $ac_compile) 2>conftest.er1
5324 grep -v '^ *+' conftest.er1
>conftest.err
5326 cat conftest.err
>&5
5327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5328 (exit $ac_status); } &&
5329 { ac_try
='test -z "$ac_c_werror_flag"
5330 || test ! -s conftest.err'
5331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5335 (exit $ac_status); }; } &&
5336 { ac_try
='test -s conftest.$ac_objext'
5337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5341 (exit $ac_status); }; }; then
5343 cat >>confdefs.h
<<\_ACEOF
5344 #define HAVE_SOCKLEN_T 1
5347 echo "$as_me:$LINENO: result: yes" >&5
5348 echo "${ECHO_T}yes" >&6
5350 echo "$as_me: failed program was:" >&5
5351 sed 's/^/| /' conftest.
$ac_ext >&5
5353 echo "$as_me:$LINENO: result: no" >&5
5354 echo "${ECHO_T}no" >&6
5356 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5364 macro_version
='2.1a'
5365 macro_revision
='1.2435'
5378 ltmain
="$ac_aux_dir/ltmain.sh"
5386 # Check whether --enable-shared or --disable-shared was given.
5387 if test "${enable_shared+set}" = set; then
5388 enableval
="$enable_shared"
5389 p
=${PACKAGE-default}
5391 yes) enable_shared
=yes ;;
5392 no
) enable_shared
=no
;;
5395 # Look at the argument we got. We use all the common list separators.
5396 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
5397 for pkg
in $enableval; do
5399 if test "X$pkg" = "X$p"; then
5417 # Check whether --enable-static or --disable-static was given.
5418 if test "${enable_static+set}" = set; then
5419 enableval
="$enable_static"
5420 p
=${PACKAGE-default}
5422 yes) enable_static
=yes ;;
5423 no
) enable_static
=no
;;
5426 # Look at the argument we got. We use all the common list separators.
5427 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
5428 for pkg
in $enableval; do
5430 if test "X$pkg" = "X$p"; then
5449 # Check whether --with-pic or --without-pic was given.
5450 if test "${with_pic+set}" = set; then
5457 test -z "$pic_mode" && pic_mode
=default
5465 # Check whether --enable-fast-install or --disable-fast-install was given.
5466 if test "${enable_fast_install+set}" = set; then
5467 enableval
="$enable_fast_install"
5468 p
=${PACKAGE-default}
5470 yes) enable_fast_install
=yes ;;
5471 no
) enable_fast_install
=no
;;
5473 enable_fast_install
=no
5474 # Look at the argument we got. We use all the common list separators.
5475 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
5476 for pkg
in $enableval; do
5478 if test "X$pkg" = "X$p"; then
5479 enable_fast_install
=yes
5486 enable_fast_install
=yes
5496 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
5497 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
5498 if test "${lt_cv_path_SED+set}" = set; then
5499 echo $ECHO_N "(cached) $ECHO_C" >&6
5501 # Loop through the user's path and test for sed and gsed.
5502 # Then use that list of sed's as ones to test for truncation.
5503 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5507 test -z "$as_dir" && as_dir
=.
5508 for lt_ac_prog
in sed gsed
; do
5509 for ac_exec_ext
in '' $ac_executable_extensions; do
5510 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
5511 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
5519 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
5520 # along with /bin/sed that truncates output.
5521 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
5522 test ! -f $lt_ac_sed && continue
5523 cat /dev
/null
> conftest.
in
5525 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
5526 # Check for GNU sed and select it if it is found.
5527 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
5528 lt_cv_path_SED
=$lt_ac_sed
5532 cat conftest.
in conftest.
in >conftest.tmp
5533 mv conftest.tmp conftest.
in
5534 cp conftest.
in conftest.
nl
5536 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
5537 cmp -s conftest.out conftest.
nl ||
break
5538 # 10000 chars as input seems more than enough
5539 test $lt_ac_count -gt 10 && break
5540 lt_ac_count
=`expr $lt_ac_count + 1`
5541 if test $lt_ac_count -gt $lt_ac_max; then
5542 lt_ac_max
=$lt_ac_count
5543 lt_cv_path_SED
=$lt_ac_sed
5552 echo "$as_me:$LINENO: result: $SED" >&5
5553 echo "${ECHO_T}$SED" >&6
5555 test -z "$SED" && SED
=sed
5556 Xsed
="$SED -e 1s/^X//"
5568 echo "$as_me:$LINENO: checking for fgrep" >&5
5569 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
5570 if test "${ac_cv_prog_fgrep+set}" = set; then
5571 echo $ECHO_N "(cached) $ECHO_C" >&6
5573 if echo 'ab*c' |
(grep -F 'ab*c') >/dev
/null
2>&1
5574 then ac_cv_prog_fgrep
='grep -F'
5575 else ac_cv_prog_fgrep
='fgrep'
5578 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
5579 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
5580 FGREP
=$ac_cv_prog_fgrep
5583 test -z "$GREP" && GREP
=grep
5603 # Check whether --with-gnu-ld or --without-gnu-ld was given.
5604 if test "${with_gnu_ld+set}" = set; then
5605 withval
="$with_gnu_ld"
5606 test "$withval" = no || with_gnu_ld
=yes
5611 if test "$GCC" = yes; then
5612 # Check if gcc -print-prog-name=ld gives a path.
5613 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
5614 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
5617 # gcc leaves a trailing carriage return which upsets mingw
5618 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5620 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5623 # Accept absolute paths.
5625 re_direlt
='/[^/][^/]*/\.\./'
5626 # Canonicalize the pathname of ld
5627 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5628 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5629 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5631 test -z "$LD" && LD
="$ac_prog"
5634 # If it fails, then pretend we aren't using GCC.
5638 # If it is relative, then search for the first ld in PATH.
5642 elif test "$with_gnu_ld" = yes; then
5643 echo "$as_me:$LINENO: checking for GNU ld" >&5
5644 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
5646 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5647 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
5649 if test "${lt_cv_path_LD+set}" = set; then
5650 echo $ECHO_N "(cached) $ECHO_C" >&6
5652 if test -z "$LD"; then
5653 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5654 for ac_dir
in $PATH; do
5656 test -z "$ac_dir" && ac_dir
=.
5657 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5658 lt_cv_path_LD
="$ac_dir/$ac_prog"
5659 # Check to see if the program is GNU ld. I'd rather use --version,
5660 # but apparently some variants of GNU ld only accept -v.
5661 # Break only if it was the GNU/non-GNU ld that we prefer.
5662 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5663 *GNU
* |
*'with BFD'*)
5664 test "$with_gnu_ld" != no
&& break
5667 test "$with_gnu_ld" != yes && break
5674 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5679 if test -n "$LD"; then
5680 echo "$as_me:$LINENO: result: $LD" >&5
5681 echo "${ECHO_T}$LD" >&6
5683 echo "$as_me:$LINENO: result: no" >&5
5684 echo "${ECHO_T}no" >&6
5686 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5687 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5688 { (exit 1); exit 1; }; }
5689 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5690 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
5691 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5692 echo $ECHO_N "(cached) $ECHO_C" >&6
5694 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5695 case `$LD -v 2>&1 </dev/null` in
5696 *GNU
* |
*'with BFD'*)
5697 lt_cv_prog_gnu_ld
=yes
5700 lt_cv_prog_gnu_ld
=no
5704 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5705 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
5706 with_gnu_ld
=$lt_cv_prog_gnu_ld
5717 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
5718 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
5719 if test "${lt_cv_path_NM+set}" = set; then
5720 echo $ECHO_N "(cached) $ECHO_C" >&6
5722 if test -n "$NM"; then
5723 # Let the user override the test.
5726 lt_nm_to_check
="${ac_tool_prefix}nm"
5727 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5728 lt_nm_to_check
="$lt_nm_to_check nm"
5730 for lt_tmp_nm
in $lt_nm_to_check; do
5731 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5732 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5734 test -z "$ac_dir" && ac_dir
=.
5735 tmp_nm
="$ac_dir/$lt_tmp_nm"
5736 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5737 # Check to see if the nm accepts a BSD-compat flag.
5738 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5739 # nm: unknown option "B" ignored
5740 # Tru64's nm complains that /dev/null is an invalid object file
5741 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5742 */dev
/null
* |
*'Invalid file or object type'*)
5743 lt_cv_path_NM
="$tmp_nm -B"
5747 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5749 lt_cv_path_NM
="$tmp_nm -p"
5753 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5754 continue # so that we can try to find one that supports BSD flags
5763 : ${lt_cv_path_NM=no}
5766 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5767 echo "${ECHO_T}$lt_cv_path_NM" >&6
5768 if test "$lt_cv_path_NM" != "no"; then
5771 # Didn't find any BSD compatible name lister, look for dumpbin.
5772 if test -n "$ac_tool_prefix"; then
5773 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5775 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5776 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5777 echo "$as_me:$LINENO: checking for $ac_word" >&5
5778 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5779 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
5780 echo $ECHO_N "(cached) $ECHO_C" >&6
5782 if test -n "$DUMPBIN"; then
5783 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5785 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5789 test -z "$as_dir" && as_dir
=.
5790 for ac_exec_ext
in '' $ac_executable_extensions; do
5791 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5792 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5793 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5801 DUMPBIN
=$ac_cv_prog_DUMPBIN
5802 if test -n "$DUMPBIN"; then
5803 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
5804 echo "${ECHO_T}$DUMPBIN" >&6
5806 echo "$as_me:$LINENO: result: no" >&5
5807 echo "${ECHO_T}no" >&6
5810 test -n "$DUMPBIN" && break
5813 if test -z "$DUMPBIN"; then
5814 ac_ct_DUMPBIN
=$DUMPBIN
5815 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5817 # Extract the first word of "$ac_prog", so it can be a program name with args.
5818 set dummy
$ac_prog; ac_word
=$2
5819 echo "$as_me:$LINENO: checking for $ac_word" >&5
5820 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5821 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
5822 echo $ECHO_N "(cached) $ECHO_C" >&6
5824 if test -n "$ac_ct_DUMPBIN"; then
5825 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5827 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5831 test -z "$as_dir" && as_dir
=.
5832 for ac_exec_ext
in '' $ac_executable_extensions; do
5833 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5834 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5835 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5843 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5844 if test -n "$ac_ct_DUMPBIN"; then
5845 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
5846 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
5848 echo "$as_me:$LINENO: result: no" >&5
5849 echo "${ECHO_T}no" >&6
5852 test -n "$ac_ct_DUMPBIN" && break
5854 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN
=":"
5856 DUMPBIN
=$ac_ct_DUMPBIN
5860 if test "$DUMPBIN" != ":"; then
5864 test -z "$NM" && NM
=nm
5871 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
5872 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
5873 if test "${lt_cv_nm_interface+set}" = set; then
5874 echo $ECHO_N "(cached) $ECHO_C" >&6
5876 lt_cv_nm_interface
="BSD nm"
5877 echo "int some_variable = 0;" > conftest.
$ac_ext
5878 (eval echo "\"\$as_me:5878: $ac_compile\"" >&5)
5879 (eval "$ac_compile" 2>conftest.err
)
5880 cat conftest.err
>&5
5881 (eval echo "\"\$as_me:5881: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5882 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5883 cat conftest.err
>&5
5884 (eval echo "\"\$as_me:5884: output\"" >&5)
5885 cat conftest.out
>&5
5886 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5887 lt_cv_nm_interface
="MS dumpbin"
5891 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
5892 echo "${ECHO_T}$lt_cv_nm_interface" >&6
5894 echo "$as_me:$LINENO: checking whether ln -s works" >&5
5895 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
5897 if test "$LN_S" = "ln -s"; then
5898 echo "$as_me:$LINENO: result: yes" >&5
5899 echo "${ECHO_T}yes" >&6
5901 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5902 echo "${ECHO_T}no, using $LN_S" >&6
5905 # find the maximum length of command line arguments
5906 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5907 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5908 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5909 echo $ECHO_N "(cached) $ECHO_C" >&6
5916 # On DJGPP, this test can blow up pretty badly due to problems in libc
5917 # (any single argument exceeding 2000 bytes causes a buffer overrun
5918 # during glob expansion). Even if it were fixed, the result of this
5919 # check would be larger than it should be.
5920 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5924 # Under GNU Hurd, this test is not required because there is
5925 # no limit to the length of command line arguments.
5926 # Libtool will interpret -1 as no limit whatsoever
5927 lt_cv_sys_max_cmd_len
=-1;
5931 # On Win9x/ME, this test blows up -- it succeeds, but takes
5932 # about 5 minutes as the teststring grows exponentially.
5933 # Worse, since 9x/ME are not pre-emptively multitasking,
5934 # you end up with a "frozen" computer, even though with patience
5935 # the test eventually succeeds (with a max line length of 256k).
5936 # Instead, let's just punt: use the minimum linelength reported by
5937 # all of the supported platforms: 8192 (on NT/2K/XP).
5938 lt_cv_sys_max_cmd_len
=8192;
5942 # On AmigaOS with pdksh, this test takes hours, literally.
5943 # So we just punt and use a minimum line length of 8192.
5944 lt_cv_sys_max_cmd_len
=8192;
5947 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5948 # This has been around since 386BSD, at least. Likely further.
5949 if test -x /sbin
/sysctl
; then
5950 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5951 elif test -x /usr
/sbin
/sysctl
; then
5952 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5954 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5956 # And add a safety zone
5957 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5958 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5962 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5963 lt_cv_sys_max_cmd_len
=196608
5967 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5968 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5969 # nice to cause kernel panics so lets avoid the loop below.
5970 # First set a reasonable default.
5971 lt_cv_sys_max_cmd_len
=16384
5973 if test -x /sbin
/sysconfig
; then
5974 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5975 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5980 lt_cv_sys_max_cmd_len
=102400
5982 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5983 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5984 if test -n "$kargmax"; then
5985 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5987 lt_cv_sys_max_cmd_len
=32768
5991 lt_cv_sys_max_cmd_len
=`getconf ARG_MAX 2> /dev/null`
5992 if test -n $lt_cv_sys_max_cmd_len; then
5993 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5994 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5996 # Make teststring a little bigger before we do anything with it.
5997 # a 1K string should be a reasonable start.
5998 for i
in 1 2 3 4 5 6 7 8 ; do
5999 teststring
=$teststring$teststring
6001 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6002 # If test is not a shell built-in, we'll probably end up computing a
6003 # maximum length that is only half of the actual maximum length, but
6005 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
6006 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
6007 test $i != 17 # 1/2 MB should be enough
6010 teststring
=$teststring$teststring
6012 # Only check the string length outside the loop.
6013 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6015 # Add a significant safety factor because C++ compilers can tack on
6016 # massive amounts of additional arguments before passing them to the
6017 # linker. It appears as though 1/2 is a usable value.
6018 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6025 if test -n $lt_cv_sys_max_cmd_len ; then
6026 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6027 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
6029 echo "$as_me:$LINENO: result: none" >&5
6030 echo "${ECHO_T}none" >&6
6032 max_cmd_len
=$lt_cv_sys_max_cmd_len
6043 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
6044 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
6045 # Try some XSI features
6048 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6049 = c,a/b,, ) >/dev/null 2>&1 \
6051 echo "$as_me:$LINENO: result
: $xsi_shell" >&5
6052 echo "${ECHO_T}$xsi_shell" >&6
6055 echo "$as_me:$LINENO: checking whether the shell understands
\"+=\"" >&5
6056 echo $ECHO_N "checking whether the shell understands
\"+=\"...
$ECHO_C" >&6
6058 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
6060 && lt_shell_append=yes
6061 echo "$as_me:$LINENO: result
: $lt_shell_append" >&5
6062 echo "${ECHO_T}$lt_shell_append" >&6
6065 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6075 # test EBCDIC or ASCII
6076 case `echo X|tr X '\101'` in
6077 A) # ASCII based system
6078 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6079 lt_SP2NL='tr \040 \012'
6080 lt_NL2SP='tr \015\012 \040\040'
6082 *) # EBCDIC based system
6083 lt_SP2NL='tr \100 \n'
6084 lt_NL2SP='tr \r\n \100\100'
6096 echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
6097 echo $ECHO_N "checking
for $LD option to reload object files...
$ECHO_C" >&6
6098 if test "${lt_cv_ld_reload_flag+set}" = set; then
6099 echo $ECHO_N "(cached
) $ECHO_C" >&6
6101 lt_cv_ld_reload_flag='-r'
6103 echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
6104 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
6105 reload_flag=$lt_cv_ld_reload_flag
6106 case $reload_flag in
6108 *) reload_flag=" $reload_flag" ;;
6110 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6113 if test "$GCC" = yes; then
6114 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6116 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6130 echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
6131 echo $ECHO_N "checking how to recognize dependent libraries...
$ECHO_C" >&6
6132 if test "${lt_cv_deplibs_check_method+set}" = set; then
6133 echo $ECHO_N "(cached
) $ECHO_C" >&6
6135 lt_cv_file_magic_cmd='$MAGIC_CMD'
6136 lt_cv_file_magic_test_file=
6137 lt_cv_deplibs_check_method='unknown'
6138 # Need to set the preceding variable on all platforms that support
6139 # interlibrary dependencies.
6140 # 'none' -- dependencies not supported.
6141 # `unknown' -- same as none, but documents that we really don't know.
6142 # 'pass_all' -- all dependencies passed with no checks.
6143 # 'test_compile' -- check by making test program.
6144 # 'file_magic [[regex]]' -- check by looking for files in library path
6145 # which responds to the $file_magic_cmd with a given extended regex.
6146 # If you have `file' or equivalent on your system and you're not sure
6147 # whether `pass_all' will *always* work, you probably want this one.
6151 lt_cv_deplibs_check_method=pass_all
6155 lt_cv_deplibs_check_method=pass_all
6159 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6160 lt_cv_file_magic_cmd='/usr/bin/file -L'
6161 lt_cv_file_magic_test_file=/shlib/libc.so
6165 # func_win32_libid is a shell function defined in ltmain.sh
6166 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6167 lt_cv_file_magic_cmd='func_win32_libid'
6171 # Base MSYS/MinGW do not provide the 'file' command needed by
6172 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6173 # unless we find 'file', for example because we are cross-compiling.
6174 if ( file / ) >/dev/null 2>&1; then
6175 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6176 lt_cv_file_magic_cmd='func_win32_libid'
6178 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6179 lt_cv_file_magic_cmd='$OBJDUMP -f'
6183 darwin* | rhapsody*)
6184 lt_cv_deplibs_check_method=pass_all
6187 freebsd* | dragonfly*)
6188 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6191 # Not sure whether the presence of OpenBSD here was a mistake.
6192 # Let's accept both of them until this is cleared up.
6193 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6194 lt_cv_file_magic_cmd=/usr/bin/file
6195 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6199 lt_cv_deplibs_check_method=pass_all
6204 lt_cv_deplibs_check_method=pass_all
6207 hpux10.20* | hpux11*)
6208 lt_cv_file_magic_cmd=/usr/bin/file
6211 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6212 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6215 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]'
6216 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6219 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6220 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6226 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6227 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6230 irix5* | irix6* | nonstopux*)
6232 *-32|*"-32 ") libmagic=32-bit;;
6233 *-n32|*"-n32 ") libmagic=N32;;
6234 *-64|*"-64 ") libmagic=64-bit;;
6235 *) libmagic=never-match;;
6237 lt_cv_deplibs_check_method=pass_all
6240 # This must be Linux ELF.
6241 linux* | k*bsd*-gnu)
6242 lt_cv_deplibs_check_method=pass_all
6246 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6247 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6249 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6254 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6255 lt_cv_file_magic_cmd=/usr/bin/file
6256 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6260 lt_cv_deplibs_check_method=pass_all
6264 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6265 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6267 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6271 osf3* | osf4* | osf5*)
6272 lt_cv_deplibs_check_method=pass_all
6276 lt_cv_deplibs_check_method=pass_all
6280 lt_cv_deplibs_check_method=pass_all
6283 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6284 lt_cv_deplibs_check_method=pass_all
6288 case $host_vendor in
6290 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]'
6291 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6294 lt_cv_deplibs_check_method=pass_all
6297 lt_cv_file_magic_cmd='/bin/file'
6298 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6301 lt_cv_file_magic_cmd='/bin/file'
6302 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6303 lt_cv_file_magic_test_file=/lib/libc.so
6306 lt_cv_deplibs_check_method=pass_all
6309 lt_cv_deplibs_check_method=pass_all
6315 lt_cv_deplibs_check_method=pass_all
6320 echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
6321 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
6322 file_magic_cmd=$lt_cv_file_magic_cmd
6323 deplibs_check_method=$lt_cv_deplibs_check_method
6324 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6337 if test -n "$ac_tool_prefix"; then
6338 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6339 set dummy ${ac_tool_prefix}ar; ac_word=$2
6340 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6341 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6342 if test "${ac_cv_prog_AR+set}" = set; then
6343 echo $ECHO_N "(cached
) $ECHO_C" >&6
6345 if test -n "$AR"; then
6346 ac_cv_prog_AR="$AR" # Let the user override the test.
6348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6352 test -z "$as_dir" && as_dir=.
6353 for ac_exec_ext in '' $ac_executable_extensions; do
6354 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6355 ac_cv_prog_AR="${ac_tool_prefix}ar"
6356 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6365 if test -n "$AR"; then
6366 echo "$as_me:$LINENO: result
: $AR" >&5
6367 echo "${ECHO_T}$AR" >&6
6369 echo "$as_me:$LINENO: result
: no
" >&5
6370 echo "${ECHO_T}no
" >&6
6374 if test -z "$ac_cv_prog_AR"; then
6376 # Extract the first word of "ar", so it can be a program name with args.
6377 set dummy ar; ac_word=$2
6378 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6379 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6380 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6381 echo $ECHO_N "(cached
) $ECHO_C" >&6
6383 if test -n "$ac_ct_AR"; then
6384 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6390 test -z "$as_dir" && as_dir=.
6391 for ac_exec_ext in '' $ac_executable_extensions; do
6392 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6393 ac_cv_prog_ac_ct_AR="ar"
6394 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6400 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false
"
6403 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6404 if test -n "$ac_ct_AR"; then
6405 echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
6406 echo "${ECHO_T}$ac_ct_AR" >&6
6408 echo "$as_me:$LINENO: result
: no
" >&5
6409 echo "${ECHO_T}no
" >&6
6417 test -z "$AR" && AR=ar
6418 test -z "$AR_FLAGS" && AR_FLAGS=cru
6430 if test -n "$ac_tool_prefix"; then
6431 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6432 set dummy ${ac_tool_prefix}strip; ac_word=$2
6433 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6434 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6435 if test "${ac_cv_prog_STRIP+set}" = set; then
6436 echo $ECHO_N "(cached
) $ECHO_C" >&6
6438 if test -n "$STRIP"; then
6439 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6445 test -z "$as_dir" && as_dir=.
6446 for ac_exec_ext in '' $ac_executable_extensions; do
6447 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6448 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6449 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6457 STRIP=$ac_cv_prog_STRIP
6458 if test -n "$STRIP"; then
6459 echo "$as_me:$LINENO: result
: $STRIP" >&5
6460 echo "${ECHO_T}$STRIP" >&6
6462 echo "$as_me:$LINENO: result
: no
" >&5
6463 echo "${ECHO_T}no
" >&6
6467 if test -z "$ac_cv_prog_STRIP"; then
6469 # Extract the first word of "strip
", so it can be a program name with args.
6470 set dummy strip; ac_word=$2
6471 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6472 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6473 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6474 echo $ECHO_N "(cached
) $ECHO_C" >&6
6476 if test -n "$ac_ct_STRIP"; then
6477 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6483 test -z "$as_dir" && as_dir=.
6484 for ac_exec_ext in '' $ac_executable_extensions; do
6485 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6486 ac_cv_prog_ac_ct_STRIP="strip
"
6487 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6493 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
6496 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6497 if test -n "$ac_ct_STRIP"; then
6498 echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
6499 echo "${ECHO_T}$ac_ct_STRIP" >&6
6501 echo "$as_me:$LINENO: result
: no
" >&5
6502 echo "${ECHO_T}no
" >&6
6507 STRIP="$ac_cv_prog_STRIP"
6510 test -z "$STRIP" && STRIP=:
6517 if test -n "$ac_tool_prefix"; then
6518 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6519 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6520 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6521 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6522 if test "${ac_cv_prog_RANLIB+set}" = set; then
6523 echo $ECHO_N "(cached
) $ECHO_C" >&6
6525 if test -n "$RANLIB"; then
6526 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6532 test -z "$as_dir" && as_dir=.
6533 for ac_exec_ext in '' $ac_executable_extensions; do
6534 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6535 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6536 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6544 RANLIB=$ac_cv_prog_RANLIB
6545 if test -n "$RANLIB"; then
6546 echo "$as_me:$LINENO: result
: $RANLIB" >&5
6547 echo "${ECHO_T}$RANLIB" >&6
6549 echo "$as_me:$LINENO: result
: no
" >&5
6550 echo "${ECHO_T}no
" >&6
6554 if test -z "$ac_cv_prog_RANLIB"; then
6555 ac_ct_RANLIB=$RANLIB
6556 # Extract the first word of "ranlib
", so it can be a program name with args.
6557 set dummy ranlib; ac_word=$2
6558 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6559 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6560 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6561 echo $ECHO_N "(cached
) $ECHO_C" >&6
6563 if test -n "$ac_ct_RANLIB"; then
6564 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6570 test -z "$as_dir" && as_dir=.
6571 for ac_exec_ext in '' $ac_executable_extensions; do
6572 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6573 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6574 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6580 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
6583 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6584 if test -n "$ac_ct_RANLIB"; then
6585 echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
6586 echo "${ECHO_T}$ac_ct_RANLIB" >&6
6588 echo "$as_me:$LINENO: result
: no
" >&5
6589 echo "${ECHO_T}no
" >&6
6592 RANLIB=$ac_ct_RANLIB
6594 RANLIB="$ac_cv_prog_RANLIB"
6597 test -z "$RANLIB" && RANLIB=:
6604 # Determine commands to create old-style static archives.
6605 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
6606 old_postinstall_cmds='chmod 644 $oldlib'
6607 old_postuninstall_cmds=
6609 if test -n "$RANLIB"; then
6612 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6615 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6618 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6654 # If no C compiler was specified, use CC.
6657 # If no C compiler flags were specified, use CFLAGS.
6658 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6660 # Allow CC to be a program name with arguments.
6664 # Check for command to grab the raw symbol name followed by C symbol from nm.
6665 echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
6666 echo $ECHO_N "checking
command to parse
$NM output from
$compiler object...
$ECHO_C" >&6
6667 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6668 echo $ECHO_N "(cached
) $ECHO_C" >&6
6671 # These are sane defaults that work on at least a few old systems.
6672 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6674 # Character class describing NM global symbol codes.
6675 symcode='[BCDEGRST]'
6677 # Regexp to match symbols that can be accessed directly from C.
6678 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6680 # Define system-specific variables.
6685 cygwin* | mingw* | pw32*)
6686 symcode='[ABCDGISTW]'
6689 if test "$host_cpu" = ia64; then
6690 symcode='[ABCDEGRST]'
6694 symcode='[BCDEGRST]'
6697 symcode='[BCDEGQRST]'
6708 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6716 # If we're using GNU nm, then use its standard symbol codes.
6717 case `$NM -V 2>&1` in
6718 *GNU* | *'with BFD'*)
6719 symcode='[ABCDGIRSTW]' ;;
6722 # Transform an extracted symbol line into a proper C declaration.
6723 # Some systems (esp. on ia64) link data and code symbols differently,
6724 # so use this general approach.
6725 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6727 # Transform an extracted symbol line into symbol name and symbol address
6728 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6730 # Handle CRLF in mingw tool chain
6734 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6738 # Try without a prefix underscore, then with it.
6739 for ac_symprfx in "" "_
"; do
6741 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6742 symxfrm="\\1 $ac_symprfx\\2 \\2"
6744 # Write the raw and C identifiers.
6745 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6746 # Fake it for dumpbin and say T for any non-static function
6747 # and D for any global variable.
6748 # Also find C++ and __fastcall symbols from MSVC++,
6749 # which start with @ or ?.
6750 lt_cv_sys_global_symbol_pipe="$AWK '"\
6751 " {last_section=section; section=\$ 3};"\
6752 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6753 " \$ 0!~/External *\|/{next};"\
6754 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6755 " {if(hide[section]) next};"\
6756 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6757 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6758 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6759 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6760 " ' prfx
=^
$ac_symprfx"
6762 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6765 # Check to see that the pipe works correctly.
6769 cat > conftest.$ac_ext <<_LT_EOF
6774 void nm_test_func(void);
6775 void nm_test_func(void){}
6779 int main(){nm_test_var='a';nm_test_func();return(0);}
6782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6783 (eval $ac_compile) 2>&5
6785 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6786 (exit $ac_status); }; then
6787 # Now try to grab the symbols.
6789 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
6790 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6792 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6793 (exit $ac_status); } && test -s "$nlist"; then
6794 # Try sorting and uniquifying the output.
6795 if sort "$nlist" | uniq > "$nlist"T; then
6796 mv -f "$nlist"T "$nlist"
6801 # Make sure that we snagged all the symbols we need.
6802 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6803 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6804 cat <<_LT_EOF > conftest.$ac_ext
6810 # Now generate the symbol file.
6811 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6813 cat <<_LT_EOF >> conftest.$ac_ext
6815 /* The mapping between symbol names and symbols. */
6820 lt__PROGRAM__LTX_preloaded_symbols[] =
6822 { "@PROGRAM@
", (void *) 0 },
6824 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6825 cat <<\_LT_EOF >> conftest.$ac_ext
6829 /* This works around a problem in FreeBSD linker */
6830 #ifdef FREEBSD_WORKAROUND
6831 static const void *lt_preloaded_setup() {
6832 return lt__PROGRAM__LTX_preloaded_symbols;
6840 # Now try linking the two files.
6841 mv conftest.$ac_objext conftstm.$ac_objext
6842 lt_save_LIBS="$LIBS"
6843 lt_save_CFLAGS="$CFLAGS"
6844 LIBS="conftstm.
$ac_objext"
6845 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6847 (eval $ac_link) 2>&5
6849 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6850 (exit $ac_status); } && test -s conftest${ac_exeext}; then
6853 LIBS="$lt_save_LIBS"
6854 CFLAGS="$lt_save_CFLAGS"
6856 echo "cannot
find nm_test_func
in $nlist" >&5
6859 echo "cannot
find nm_test_var
in $nlist" >&5
6862 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6865 echo "$progname: failed program was
:" >&5
6866 cat conftest.$ac_ext >&5
6868 rm -f conftest* conftst*
6870 # Do not use the global_symbol_pipe unless it works.
6871 if test "$pipe_works" = yes; then
6874 lt_cv_sys_global_symbol_pipe=
6880 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6881 lt_cv_sys_global_symbol_to_cdecl=
6883 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6884 echo "$as_me:$LINENO: result
: failed
" >&5
6885 echo "${ECHO_T}failed
" >&6
6887 echo "$as_me:$LINENO: result
: ok
" >&5
6888 echo "${ECHO_T}ok
" >&6
6907 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6908 if test "${enable_libtool_lock+set}" = set; then
6909 enableval="$enable_libtool_lock"
6912 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6914 # Some flags need to be propagated to the compiler or linker for good
6918 # Find out which ABI we are using.
6919 echo 'int i;' > conftest.$ac_ext
6920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6921 (eval $ac_compile) 2>&5
6923 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6924 (exit $ac_status); }; then
6925 case `/usr/bin/file conftest.$ac_objext` in
6937 # Find out which ABI we are using.
6938 echo '#line 6938 "configure
"' > conftest.$ac_ext
6939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6940 (eval $ac_compile) 2>&5
6942 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6943 (exit $ac_status); }; then
6944 if test "$lt_cv_prog_gnu_ld" = yes; then
6945 case `/usr/bin/file conftest.$ac_objext` in
6947 LD="${LD-ld} -melf32bsmip"
6950 LD="${LD-ld} -melf32bmipn32"
6953 LD="${LD-ld} -melf64bmip"
6957 case `/usr/bin/file conftest.$ac_objext` in
6973 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6974 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6975 # Find out which ABI we are using.
6976 echo 'int i;' > conftest.$ac_ext
6977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6978 (eval $ac_compile) 2>&5
6980 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6981 (exit $ac_status); }; then
6982 case `/usr/bin/file conftest.o` in
6985 x86_64-*kfreebsd*-gnu)
6986 LD="${LD-ld} -m elf_i386_fbsd
"
6989 LD="${LD-ld} -m elf_i386
"
6991 ppc64-*linux*|powerpc64-*linux*)
6992 LD="${LD-ld} -m elf32ppclinux
"
6995 LD="${LD-ld} -m elf_s390
"
6998 LD="${LD-ld} -m elf32_sparc
"
7004 x86_64-*kfreebsd*-gnu)
7005 LD="${LD-ld} -m elf_x86_64_fbsd
"
7008 LD="${LD-ld} -m elf_x86_64
"
7010 ppc*-*linux*|powerpc*-*linux*)
7011 LD="${LD-ld} -m elf64ppc
"
7013 s390*-*linux*|s390*-*tpf*)
7014 LD="${LD-ld} -m elf64_s390
"
7017 LD="${LD-ld} -m elf64_sparc
"
7027 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7028 SAVE_CFLAGS="$CFLAGS"
7029 CFLAGS="$CFLAGS -belf"
7030 echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
7031 echo $ECHO_N "checking whether the C compiler needs
-belf...
$ECHO_C" >&6
7032 if test "${lt_cv_cc_needs_belf+set}" = set; then
7033 echo $ECHO_N "(cached
) $ECHO_C" >&6
7036 ac_cpp='$CPP $CPPFLAGS'
7037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7041 cat >conftest.$ac_ext <<_ACEOF
7044 cat confdefs.h >>conftest.$ac_ext
7045 cat >>conftest.$ac_ext <<_ACEOF
7046 /* end confdefs.h. */
7056 rm -f conftest.$ac_objext conftest$ac_exeext
7057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7058 (eval $ac_link) 2>conftest.er1
7060 grep -v '^ *+' conftest.er1 >conftest.err
7062 cat conftest.err >&5
7063 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7064 (exit $ac_status); } &&
7065 { ac_try='test -z "$ac_c_werror_flag"
7066 || test ! -s conftest.err'
7067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7070 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7071 (exit $ac_status); }; } &&
7072 { ac_try='test -s conftest$ac_exeext'
7073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7076 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7077 (exit $ac_status); }; }; then
7078 lt_cv_cc_needs_belf=yes
7080 echo "$as_me: failed program was
:" >&5
7081 sed 's/^/| /' conftest.$ac_ext >&5
7083 lt_cv_cc_needs_belf=no
7085 rm -f conftest.err conftest.$ac_objext \
7086 conftest$ac_exeext conftest.$ac_ext
7088 ac_cpp='$CPP $CPPFLAGS'
7089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7094 echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
7095 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
7096 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7097 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7098 CFLAGS="$SAVE_CFLAGS"
7102 # Find out which ABI we are using.
7103 echo 'int i;' > conftest.$ac_ext
7104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7105 (eval $ac_compile) 2>&5
7107 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7108 (exit $ac_status); }; then
7109 case `/usr/bin/file conftest.o` in
7111 case $lt_cv_prog_gnu_ld in
7112 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7113 *) LD="${LD-ld} -64" ;;
7122 need_locks="$enable_libtool_lock"
7125 for ac_header in dlfcn.h
7127 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
7128 echo "$as_me:$LINENO: checking
for $ac_header" >&5
7129 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6
7130 if eval "test \"\
${$as_ac_Header+set}\" = set"; then
7131 echo $ECHO_N "(cached
) $ECHO_C" >&6
7133 cat >conftest.$ac_ext <<_ACEOF
7136 cat confdefs.h >>conftest.$ac_ext
7137 cat >>conftest.$ac_ext <<_ACEOF
7138 /* end confdefs.h. */
7139 $ac_includes_default
7141 #include <$ac_header>
7143 rm -f conftest.$ac_objext
7144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7145 (eval $ac_compile) 2>conftest.er1
7147 grep -v '^ *+' conftest.er1 >conftest.err
7149 cat conftest.err >&5
7150 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7151 (exit $ac_status); } &&
7152 { ac_try='test -z "$ac_c_werror_flag"
7153 || test ! -s conftest.err'
7154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7157 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7158 (exit $ac_status); }; } &&
7159 { ac_try='test -s conftest.$ac_objext'
7160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7163 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7164 (exit $ac_status); }; }; then
7165 eval "$as_ac_Header=yes"
7167 echo "$as_me: failed program was
:" >&5
7168 sed 's/^/| /' conftest.$ac_ext >&5
7170 eval "$as_ac_Header=no
"
7172 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7174 echo "$as_me:$LINENO: result
: `eval echo '${'$as_ac_Header'}'`" >&5
7175 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7176 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7177 cat >>confdefs.h <<_ACEOF
7178 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
7187 # This can be used to rebuild libtool when needed
7188 LIBTOOL_DEPS="$ltmain"
7190 # Always use our own libtool.
7191 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7217 test -z "$LN_S" && LN_S="ln -s"
7232 if test -n "${ZSH_VERSION+set}" ; then
7233 setopt NO_GLOB_SUBST
7236 echo "$as_me:$LINENO: checking
for objdir
" >&5
7237 echo $ECHO_N "checking
for objdir...
$ECHO_C" >&6
7238 if test "${lt_cv_objdir+set}" = set; then
7239 echo $ECHO_N "(cached
) $ECHO_C" >&6
7241 rm -f .libs 2>/dev/null
7242 mkdir .libs 2>/dev/null
7243 if test -d .libs; then
7246 # MS-DOS does not allow filenames that begin with a dot.
7249 rmdir .libs 2>/dev/null
7251 echo "$as_me:$LINENO: result
: $lt_cv_objdir" >&5
7252 echo "${ECHO_T}$lt_cv_objdir" >&6
7253 objdir=$lt_cv_objdir
7259 cat >>confdefs.h <<_ACEOF
7260 #define LT_OBJDIR "$lt_cv_objdir/"
7281 # AIX sometimes has problems with the GCC collect2 program. For some
7282 # reason, if we set the COLLECT_NAMES environment variable, the problems
7283 # vanish in a puff of smoke.
7284 if test "X
${COLLECT_NAMES+set}" != Xset; then
7286 export COLLECT_NAMES
7291 # Sed substitution that helps us do robust quoting. It backslashifies
7292 # metacharacters that are still active within double-quoted strings.
7293 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7295 # Same as above, but do not quote variable references.
7296 double_quote_subst='s/\(["`\\]\
)/\\\
1/g
'
7298 # Sed substitution to delay expansion of an escaped shell variable in a
7299 # double_quote_subst'ed string.
7300 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
7302 # Sed substitution to delay expansion of an escaped single quote.
7303 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
7305 # Sed substitution to avoid accidental globbing in evaled expressions
7306 no_glob_subst
='s/\*/\\\*/g'
7310 can_build_shared
=yes
7312 # All known linkers require a `.a' archive for static linking (except MSVC,
7313 # which needs '.lib').
7316 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7319 old_CFLAGS
="$CFLAGS"
7321 # Set sane defaults for various variables
7322 test -z "$CC" && CC
=cc
7323 test -z "$LTCC" && LTCC
=$CC
7324 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7325 test -z "$LD" && LD
=ld
7326 test -z "$ac_objext" && ac_objext
=o
7328 for cc_temp
in $compiler""; do
7330 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7331 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7336 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7339 # Only perform the check for file, if the check method requires it
7340 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7341 case $deplibs_check_method in
7343 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7344 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7345 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
7346 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7347 echo $ECHO_N "(cached) $ECHO_C" >&6
7351 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7354 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7355 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7356 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7357 for ac_dir
in $ac_dummy; do
7359 test -z "$ac_dir" && ac_dir
=.
7360 if test -f $ac_dir/${ac_tool_prefix}file; then
7361 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7362 if test -n "$file_magic_test_file"; then
7363 case $deplibs_check_method in
7365 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7366 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7367 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7368 $EGREP "$file_magic_regex" > /dev
/null
; then
7373 *** Warning: the command libtool uses to detect shared libraries,
7374 *** $file_magic_cmd, produces output that libtool cannot recognize.
7375 *** The result is that libtool may fail to recognize shared libraries
7376 *** as such. This will affect the creation of libtool libraries that
7377 *** depend on shared libraries, but programs linked with such libtool
7378 *** libraries will work regardless of this problem. Nevertheless, you
7379 *** may want to report the problem to your system manager and/or to
7380 *** bug-libtool@gnu.org
7390 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7395 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7396 if test -n "$MAGIC_CMD"; then
7397 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7398 echo "${ECHO_T}$MAGIC_CMD" >&6
7400 echo "$as_me:$LINENO: result: no" >&5
7401 echo "${ECHO_T}no" >&6
7408 if test -z "$lt_cv_path_MAGIC_CMD"; then
7409 if test -n "$ac_tool_prefix"; then
7410 echo "$as_me:$LINENO: checking for file" >&5
7411 echo $ECHO_N "checking for file... $ECHO_C" >&6
7412 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7413 echo $ECHO_N "(cached) $ECHO_C" >&6
7417 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7420 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7421 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7422 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7423 for ac_dir
in $ac_dummy; do
7425 test -z "$ac_dir" && ac_dir
=.
7426 if test -f $ac_dir/file; then
7427 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7428 if test -n "$file_magic_test_file"; then
7429 case $deplibs_check_method in
7431 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7432 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7433 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7434 $EGREP "$file_magic_regex" > /dev
/null
; then
7439 *** Warning: the command libtool uses to detect shared libraries,
7440 *** $file_magic_cmd, produces output that libtool cannot recognize.
7441 *** The result is that libtool may fail to recognize shared libraries
7442 *** as such. This will affect the creation of libtool libraries that
7443 *** depend on shared libraries, but programs linked with such libtool
7444 *** libraries will work regardless of this problem. Nevertheless, you
7445 *** may want to report the problem to your system manager and/or to
7446 *** bug-libtool@gnu.org
7456 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7461 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7462 if test -n "$MAGIC_CMD"; then
7463 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7464 echo "${ECHO_T}$MAGIC_CMD" >&6
7466 echo "$as_me:$LINENO: result: no" >&5
7467 echo "${ECHO_T}no" >&6
7480 # Use C for the default configuration in the libtool script
7484 ac_cpp
='$CPP $CPPFLAGS'
7485 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7486 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7487 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7490 # Source file extension for C test sources.
7493 # Object file extension for compiled C test sources.
7497 # Code to be used in simple compile tests
7498 lt_simple_compile_test_code
="int some_variable = 0;"
7500 # Code to be used in simple link tests
7501 lt_simple_link_test_code
='int main(){return(0);}'
7509 # If no C compiler was specified, use CC.
7512 # If no C compiler flags were specified, use CFLAGS.
7513 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7515 # Allow CC to be a program name with arguments.
7518 # Save the default compiler, since it gets overwritten when the other
7519 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7520 compiler_DEFAULT
=$CC
7522 # save warnings/boilerplate of simple test code
7523 ac_outfile
=conftest.
$ac_objext
7524 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7525 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7526 _lt_compiler_boilerplate
=`cat conftest.err`
7529 ac_outfile
=conftest.
$ac_objext
7530 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7531 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7532 _lt_linker_boilerplate
=`cat conftest.err`
7537 ## There is no encapsulation within the following macros, do not change
7538 ## the running order or otherwise move them around unless you know exactly
7539 ## what you are doing...
7540 if test -n "$compiler"; then
7542 lt_prog_compiler_no_builtin_flag
=
7544 if test "$GCC" = yes; then
7545 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
7547 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7548 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
7549 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7550 echo $ECHO_N "(cached) $ECHO_C" >&6
7552 lt_cv_prog_compiler_rtti_exceptions
=no
7553 ac_outfile
=conftest.
$ac_objext
7554 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7555 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7556 # Insert the option either (1) after the last *FLAGS variable, or
7557 # (2) before a word containing "conftest.", or (3) at the end.
7558 # Note that $ac_compile itself does not contain backslashes and begins
7559 # with a dollar sign (not a hyphen), so the echo should work correctly.
7560 # The option is referenced via a variable to avoid confusing sed.
7561 lt_compile
=`echo "$ac_compile" | $SED \
7562 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7563 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7564 -e 's:$: $lt_compiler_flag:'`
7565 (eval echo "\"\$as_me:7565: $lt_compile\"" >&5)
7566 (eval "$lt_compile" 2>conftest.err
)
7568 cat conftest.err
>&5
7569 echo "$as_me:7569: \$? = $ac_status" >&5
7570 if (exit $ac_status) && test -s "$ac_outfile"; then
7571 # The compiler can only warn and ignore the option if not recognized
7572 # So say no if there are warnings other than the usual output.
7573 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7574 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7575 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7576 lt_cv_prog_compiler_rtti_exceptions
=yes
7582 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7583 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
7585 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7586 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7598 lt_prog_compiler_wl
=
7599 lt_prog_compiler_pic
=
7600 lt_prog_compiler_static
=
7602 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7603 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
7605 if test "$GCC" = yes; then
7606 lt_prog_compiler_wl
='-Wl,'
7607 lt_prog_compiler_static
='-static'
7611 # All AIX code is PIC.
7612 if test "$host_cpu" = ia64
; then
7613 # AIX 5 now supports IA64 processor
7614 lt_prog_compiler_static
='-Bstatic'
7619 if test "$host_cpu" = m68k
; then
7620 # FIXME: we need at least 68020 code to build shared libraries, but
7621 # adding the `-m68020' flag to GCC prevents building anything better,
7623 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7627 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7628 # PIC is the default for these OSes.
7631 mingw
* | cygwin
* | pw32
* | os2
*)
7632 # This hack is so that the source file can tell whether it is being
7633 # built for inclusion in a dll (and should export symbols for example).
7634 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7635 # (--disable-auto-import) libraries
7636 lt_prog_compiler_pic
='-DDLL_EXPORT'
7639 darwin
* | rhapsody
*)
7640 # PIC is the default on this platform
7641 # Common symbols not allowed in MH_DYLIB files
7642 lt_prog_compiler_pic
='-fno-common'
7646 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7653 lt_prog_compiler_pic
='-fPIC'
7659 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7660 # Instead, we relocate shared libraries at runtime.
7664 # Just because we use GCC doesn't mean we suddenly get shared libraries
7665 # on systems that don't support them.
7666 lt_prog_compiler_can_build_shared
=no
7671 # QNX uses GNU C++, but need to define -shared option too, otherwise
7673 lt_prog_compiler_pic
='-fPIC -shared'
7677 if test -d /usr
/nec
; then
7678 lt_prog_compiler_pic
=-Kconform_pic
7683 lt_prog_compiler_pic
='-fPIC'
7687 # PORTME Check for flag to pass linker flags through the system compiler.
7690 lt_prog_compiler_wl
='-Wl,'
7691 if test "$host_cpu" = ia64
; then
7692 # AIX 5 now supports IA64 processor
7693 lt_prog_compiler_static
='-Bstatic'
7695 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7699 # PIC is the default on this platform
7700 # Common symbols not allowed in MH_DYLIB files
7701 case $cc_basename in
7703 lt_prog_compiler_pic
='-qnocommon'
7704 lt_prog_compiler_wl
='-Wl,'
7709 mingw
* | cygwin
* | pw32
* | os2
*)
7710 # This hack is so that the source file can tell whether it is being
7711 # built for inclusion in a dll (and should export symbols for example).
7712 lt_prog_compiler_pic
='-DDLL_EXPORT'
7715 hpux9
* | hpux10
* | hpux11
*)
7716 lt_prog_compiler_wl
='-Wl,'
7717 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7724 lt_prog_compiler_pic
='+Z'
7727 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7728 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7731 irix5
* | irix6
* | nonstopux
*)
7732 lt_prog_compiler_wl
='-Wl,'
7733 # PIC (with -KPIC) is the default.
7734 lt_prog_compiler_static
='-non_shared'
7737 linux
* | k
*bsd
*-gnu)
7738 case $cc_basename in
7740 lt_prog_compiler_wl
='-Wl,'
7741 lt_prog_compiler_pic
='-KPIC'
7742 lt_prog_compiler_static
='-static'
7744 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7745 # Portland Group compilers (*not* the Pentium gcc compiler,
7746 # which looks to be a dead project)
7747 lt_prog_compiler_wl
='-Wl,'
7748 lt_prog_compiler_pic
='-fpic'
7749 lt_prog_compiler_static
='-Bstatic'
7752 lt_prog_compiler_wl
='-Wl,'
7753 # All Alpha code is PIC.
7754 lt_prog_compiler_static
='-non_shared'
7757 case `$CC -V 2>&1 | sed 5q` in
7760 lt_prog_compiler_pic
='-KPIC'
7761 lt_prog_compiler_static
='-Bstatic'
7762 lt_prog_compiler_wl
='-Wl,'
7765 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7766 lt_prog_compiler_pic
='-KPIC'
7767 lt_prog_compiler_static
='-Bstatic'
7768 lt_prog_compiler_wl
=''
7776 lt_prog_compiler_pic
='-KPIC'
7777 lt_prog_compiler_static
='-Bstatic'
7781 # QNX uses GNU C++, but need to define -shared option too, otherwise
7783 lt_prog_compiler_pic
='-fPIC -shared'
7786 osf3
* | osf4
* | osf5
*)
7787 lt_prog_compiler_wl
='-Wl,'
7788 # All OSF/1 code is PIC.
7789 lt_prog_compiler_static
='-non_shared'
7793 lt_prog_compiler_static
='-non_shared'
7797 lt_prog_compiler_pic
='-KPIC'
7798 lt_prog_compiler_static
='-Bstatic'
7799 case $cc_basename in
7801 lt_prog_compiler_wl
='-Qoption ld ';;
7803 lt_prog_compiler_wl
='-Wl,';;
7808 lt_prog_compiler_wl
='-Qoption ld '
7809 lt_prog_compiler_pic
='-PIC'
7810 lt_prog_compiler_static
='-Bstatic'
7813 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7814 lt_prog_compiler_wl
='-Wl,'
7815 lt_prog_compiler_pic
='-KPIC'
7816 lt_prog_compiler_static
='-Bstatic'
7820 if test -d /usr
/nec
;then
7821 lt_prog_compiler_pic
='-Kconform_pic'
7822 lt_prog_compiler_static
='-Bstatic'
7826 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7827 lt_prog_compiler_wl
='-Wl,'
7828 lt_prog_compiler_pic
='-KPIC'
7829 lt_prog_compiler_static
='-Bstatic'
7833 lt_prog_compiler_wl
='-Wl,'
7834 lt_prog_compiler_can_build_shared
=no
7838 lt_prog_compiler_pic
='-pic'
7839 lt_prog_compiler_static
='-Bstatic'
7843 lt_prog_compiler_can_build_shared
=no
7849 # For platforms which do not support PIC, -DPIC is meaningless:
7851 lt_prog_compiler_pic
=
7854 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7857 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7858 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
7866 # Check to make sure the PIC flag actually works.
7868 if test -n "$lt_prog_compiler_pic"; then
7869 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7870 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
7871 if test "${lt_prog_compiler_pic_works+set}" = set; then
7872 echo $ECHO_N "(cached) $ECHO_C" >&6
7874 lt_prog_compiler_pic_works
=no
7875 ac_outfile
=conftest.
$ac_objext
7876 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7877 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7878 # Insert the option either (1) after the last *FLAGS variable, or
7879 # (2) before a word containing "conftest.", or (3) at the end.
7880 # Note that $ac_compile itself does not contain backslashes and begins
7881 # with a dollar sign (not a hyphen), so the echo should work correctly.
7882 # The option is referenced via a variable to avoid confusing sed.
7883 lt_compile
=`echo "$ac_compile" | $SED \
7884 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7885 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7886 -e 's:$: $lt_compiler_flag:'`
7887 (eval echo "\"\$as_me:7887: $lt_compile\"" >&5)
7888 (eval "$lt_compile" 2>conftest.err
)
7890 cat conftest.err
>&5
7891 echo "$as_me:7891: \$? = $ac_status" >&5
7892 if (exit $ac_status) && test -s "$ac_outfile"; then
7893 # The compiler can only warn and ignore the option if not recognized
7894 # So say no if there are warnings other than the usual output.
7895 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7896 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7897 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7898 lt_prog_compiler_pic_works
=yes
7904 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7905 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
7907 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
7908 case $lt_prog_compiler_pic in
7910 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7913 lt_prog_compiler_pic
=
7914 lt_prog_compiler_can_build_shared
=no
7925 # Check to make sure the static flag actually works.
7927 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7928 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7929 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
7930 if test "${lt_prog_compiler_static_works+set}" = set; then
7931 echo $ECHO_N "(cached) $ECHO_C" >&6
7933 lt_prog_compiler_static_works
=no
7934 save_LDFLAGS
="$LDFLAGS"
7935 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7936 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7937 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7938 # The linker can only warn and ignore the option if not recognized
7939 # So say no if there are warnings
7940 if test -s conftest.err
; then
7941 # Append any errors to the config.log.
7942 cat conftest.err
1>&5
7943 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7944 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7945 if diff conftest.exp conftest.er2
>/dev
/null
; then
7946 lt_prog_compiler_static_works
=yes
7949 lt_prog_compiler_static_works
=yes
7953 LDFLAGS
="$save_LDFLAGS"
7956 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7957 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
7959 if test x
"$lt_prog_compiler_static_works" = xyes
; then
7962 lt_prog_compiler_static
=
7971 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7972 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7973 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7974 echo $ECHO_N "(cached) $ECHO_C" >&6
7976 lt_cv_prog_compiler_c_o
=no
7977 $RM -r conftest
2>/dev
/null
7981 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7983 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7984 # Insert the option either (1) after the last *FLAGS variable, or
7985 # (2) before a word containing "conftest.", or (3) at the end.
7986 # Note that $ac_compile itself does not contain backslashes and begins
7987 # with a dollar sign (not a hyphen), so the echo should work correctly.
7988 lt_compile
=`echo "$ac_compile" | $SED \
7989 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7990 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7991 -e 's:$: $lt_compiler_flag:'`
7992 (eval echo "\"\$as_me:7992: $lt_compile\"" >&5)
7993 (eval "$lt_compile" 2>out
/conftest.err
)
7995 cat out
/conftest.err
>&5
7996 echo "$as_me:7996: \$? = $ac_status" >&5
7997 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7999 # The compiler can only warn and ignore the option if not recognized
8000 # So say no if there are warnings
8001 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8002 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8003 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8004 lt_cv_prog_compiler_c_o
=yes
8009 # SGI C++ compiler will create directory out/ii_files/ for
8010 # template instantiation
8011 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8012 $RM out
/* && rmdir out
8018 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8019 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
8026 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8027 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
8028 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8029 echo $ECHO_N "(cached) $ECHO_C" >&6
8031 lt_cv_prog_compiler_c_o
=no
8032 $RM -r conftest
2>/dev
/null
8036 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8038 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8039 # Insert the option either (1) after the last *FLAGS variable, or
8040 # (2) before a word containing "conftest.", or (3) at the end.
8041 # Note that $ac_compile itself does not contain backslashes and begins
8042 # with a dollar sign (not a hyphen), so the echo should work correctly.
8043 lt_compile
=`echo "$ac_compile" | $SED \
8044 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8045 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8046 -e 's:$: $lt_compiler_flag:'`
8047 (eval echo "\"\$as_me:8047: $lt_compile\"" >&5)
8048 (eval "$lt_compile" 2>out
/conftest.err
)
8050 cat out
/conftest.err
>&5
8051 echo "$as_me:8051: \$? = $ac_status" >&5
8052 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8054 # The compiler can only warn and ignore the option if not recognized
8055 # So say no if there are warnings
8056 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8057 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8058 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8059 lt_cv_prog_compiler_c_o
=yes
8064 # SGI C++ compiler will create directory out/ii_files/ for
8065 # template instantiation
8066 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8067 $RM out
/* && rmdir out
8073 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8074 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
8079 hard_links
="nottested"
8080 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8081 # do not overwrite the value of need_locks provided by the user
8082 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8083 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
8086 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8088 ln conftest.a conftest.b
2>&5 || hard_links
=no
8089 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8090 echo "$as_me:$LINENO: result: $hard_links" >&5
8091 echo "${ECHO_T}$hard_links" >&6
8092 if test "$hard_links" = no
; then
8093 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8094 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8106 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8107 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
8110 allow_undefined_flag
=
8111 always_export_symbols
=no
8113 archive_expsym_cmds
=
8114 compiler_needs_object
=no
8115 enable_shared_with_static_runtimes
=no
8116 export_dynamic_flag_spec
=
8117 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8118 hardcode_automatic
=no
8120 hardcode_direct_absolute
=no
8121 hardcode_libdir_flag_spec
=
8122 hardcode_libdir_flag_spec_ld
=
8123 hardcode_libdir_separator
=
8125 hardcode_shlibpath_var
=unsupported
8127 link_all_deplibs
=unknown
8130 old_archive_from_new_cmds
=
8131 old_archive_from_expsyms_cmds
=
8132 thread_safe_flag_spec
=
8133 whole_archive_flag_spec
=
8134 # include_expsyms should be a list of space-separated symbols to be *always*
8135 # included in the symbol list
8137 # exclude_expsyms can be an extended regexp of symbols to exclude
8138 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8139 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8140 # as well as any symbol that contains `d'.
8141 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
8142 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8143 # platforms (ab)use it in PIC code, but their linkers get confused if
8144 # the symbol is explicitly referenced. Since portable code cannot
8145 # rely on this symbol name, it's probably fine to never include it in
8146 # preloaded symbol tables.
8147 extract_expsyms_cmds
=
8150 cygwin
* | mingw
* | pw32
*)
8151 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8152 # When not using gcc, we currently assume that we are using
8153 # Microsoft Visual C++.
8154 if test "$GCC" != yes; then
8159 # we just hope/assume this is gcc and not c89 (= MSVC++)
8168 if test "$with_gnu_ld" = yes; then
8169 # If archive_cmds runs LD, not CC, wlarc should be empty
8172 # Set some defaults for GNU ld with shared library support. These
8173 # are reset later if shared libraries are not supported. Putting them
8174 # here allows them to be overridden if necessary.
8175 runpath_var
=LD_RUN_PATH
8176 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8177 export_dynamic_flag_spec
='${wl}--export-dynamic'
8178 # ancient GNU ld didn't support --whole-archive et. al.
8179 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8180 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8182 whole_archive_flag_spec
=
8184 supports_anon_versioning
=no
8185 case `$LD -v 2>&1` in
8186 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8187 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8188 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8189 *\
2.11.
*) ;; # other 2.11 versions
8190 *) supports_anon_versioning
=yes ;;
8193 # See if GNU ld supports shared libraries.
8196 # On AIX/PPC, the GNU linker is very broken
8197 if test "$host_cpu" != ia64
; then
8201 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8202 *** to be unable to reliably create shared libraries on AIX.
8203 *** Therefore, libtool is disabling shared libraries support. If you
8204 *** really care for shared libraries, you may want to modify your PATH
8205 *** so that a non-GNU linker is found, and then restart.
8212 if test "$host_cpu" = m68k
; then
8213 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)'
8214 hardcode_libdir_flag_spec
='-L$libdir'
8215 hardcode_minus_L
=yes
8218 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
8219 # that the semantics of dynamic libraries on AmigaOS, at least up
8220 # to version 4, is to share data among multiple programs linked
8221 # with the same dynamic library. Since this doesn't match the
8222 # behavior of shared libraries on other platforms, we can't use
8228 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8229 allow_undefined_flag
=unsupported
8230 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8231 # support --undefined. This deserves some investigation. FIXME
8232 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8238 cygwin
* | mingw
* | pw32
*)
8239 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8240 # as there is no search path for DLLs.
8241 hardcode_libdir_flag_spec
='-L$libdir'
8242 allow_undefined_flag
=unsupported
8243 always_export_symbols
=no
8244 enable_shared_with_static_runtimes
=yes
8245 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8247 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8248 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8249 # If the export-symbols file already is a .def file (1st line
8250 # is EXPORTS), use it as is; otherwise, prepend...
8251 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8252 cp $export_symbols $output_objdir/$soname.def;
8254 echo EXPORTS > $output_objdir/$soname.def;
8255 cat $export_symbols >> $output_objdir/$soname.def;
8257 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8265 hardcode_shlibpath_var
=no
8266 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8267 export_dynamic_flag_spec
='${wl}-E'
8268 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8269 # Instead, shared libraries are loaded at an image base (0x10000000 by
8270 # default) and relocated if they conflict, which is a slow very memory
8271 # consuming and fragmenting process. To avoid this, we pick a random,
8272 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8273 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8274 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8275 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'
8278 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
8280 if test "$host_os" = linux-dietlibc
; then
8281 case $cc_basename in
8282 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8285 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8286 && test "$tmp_diet" = no
8289 case $cc_basename,$host_cpu in
8290 pgcc
*) # Portland Group C compiler
8291 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'
8292 tmp_addflag
=' $pic_flag'
8294 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
8295 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'
8296 tmp_addflag
=' $pic_flag -Mnomain' ;;
8297 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8298 tmp_addflag
=' -i_dynamic' ;;
8299 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8300 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8301 ifc
* | ifort
*) # Intel Fortran compiler
8302 tmp_addflag
=' -nofor_main' ;;
8304 case `$CC -V 2>&1 | sed 5q` in
8305 *Sun\ C
*) # Sun C 5.9
8306 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'
8307 compiler_needs_object
=yes
8308 tmp_sharedflag
='-G' ;;
8309 *Sun\ F
*) # Sun Fortran 8.3
8310 tmp_sharedflag
='-G' ;;
8312 tmp_sharedflag
='-shared' ;;
8314 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8316 if test "x$supports_anon_versioning" = xyes
; then
8317 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8318 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8319 echo "local: *; };" >> $output_objdir/$libname.ver~
8320 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8328 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8329 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8332 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8333 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8338 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8342 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8343 *** create shared libraries on Solaris systems. Therefore, libtool
8344 *** is disabling shared libraries support. We urge you to upgrade GNU
8345 *** binutils to release 2.9.1 or newer. Another option is to modify
8346 *** your PATH or compiler configuration so that the native linker is
8347 *** used, and then restart.
8350 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8351 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8352 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8358 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8359 case `$LD -v 2>&1` in
8360 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8364 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8365 *** reliably create shared libraries on SCO systems. Therefore, libtool
8366 *** is disabling shared libraries support. We urge you to upgrade GNU
8367 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8368 *** your PATH or compiler configuration so that the native linker is
8369 *** used, and then restart.
8374 # For security reasons, it is highly recommended that you always
8375 # use absolute paths for naming shared libraries, and exclude the
8376 # DT_RUNPATH tag from executables and libraries. But doing so
8377 # requires that you compile everything twice, which is a pain.
8378 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8379 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8380 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8381 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8390 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8393 hardcode_shlibpath_var
=no
8397 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8398 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8399 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8406 if test "$ld_shlibs" = no
; then
8408 hardcode_libdir_flag_spec
=
8409 export_dynamic_flag_spec
=
8410 whole_archive_flag_spec
=
8413 # PORTME fill in a description of your system's linker (not GNU ld)
8416 allow_undefined_flag
=unsupported
8417 always_export_symbols
=yes
8418 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'
8419 # Note: this linker hardcodes the directories in LIBPATH if there
8420 # are no directories specified by -L.
8421 hardcode_minus_L
=yes
8422 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8423 # Neither direct hardcoding nor static linking is supported with a
8425 hardcode_direct
=unsupported
8430 if test "$host_cpu" = ia64
; then
8431 # On IA64, the linker does run time linking by default, so we don't
8432 # have to do anything special.
8433 aix_use_runtimelinking
=no
8434 exp_sym_flag
='-Bexport'
8437 # If we're using GNU nm, then we don't want the "-C" option.
8438 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8439 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8440 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'
8442 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'
8444 aix_use_runtimelinking
=no
8446 # Test if we are trying to use run time linking or normal
8447 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8448 # need to do runtime linking.
8449 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8450 for ld_flag
in $LDFLAGS; do
8451 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8452 aix_use_runtimelinking
=yes
8459 exp_sym_flag
='-bexport'
8460 no_entry_flag
='-bnoentry'
8463 # When large executables or shared objects are built, AIX ld can
8464 # have problems creating the table of contents. If linking a library
8465 # or program results in "error TOC overflow" add -mminimal-toc to
8466 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8467 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8471 hardcode_direct_absolute
=yes
8472 hardcode_libdir_separator
=':'
8473 link_all_deplibs
=yes
8474 file_list_spec
='${wl}-f,'
8476 if test "$GCC" = yes; then
8477 case $host_os in aix4.
[012]|aix4.
[012].
*)
8478 # We only want to do this on AIX 4.2 and lower, the check
8479 # below for broken collect2 doesn't work under 4.3+
8480 collect2name
=`${CC} -print-prog-name=collect2`
8481 if test -f "$collect2name" &&
8482 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8484 # We have reworked collect2
8487 # We have old collect2
8488 hardcode_direct
=unsupported
8489 # It fails to find uninstalled libraries when the uninstalled
8490 # path is not listed in the libpath. Setting hardcode_minus_L
8491 # to unsupported forces relinking
8492 hardcode_minus_L
=yes
8493 hardcode_libdir_flag_spec
='-L$libdir'
8494 hardcode_libdir_separator
=
8498 shared_flag
='-shared'
8499 if test "$aix_use_runtimelinking" = yes; then
8500 shared_flag
="$shared_flag "'${wl}-G'
8504 if test "$host_cpu" = ia64
; then
8505 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8506 # chokes on -Wl,-G. The following line is correct:
8509 if test "$aix_use_runtimelinking" = yes; then
8510 shared_flag
='${wl}-G'
8512 shared_flag
='${wl}-bM:SRE'
8517 # It seems that -bexpall does not export symbols beginning with
8518 # underscore (_), so it is better to generate a list of symbols to export.
8519 always_export_symbols
=yes
8520 if test "$aix_use_runtimelinking" = yes; then
8521 # Warning - without using the other runtime loading flags (-brtl),
8522 # -berok will link without error, but may produce a broken library.
8523 allow_undefined_flag
='-berok'
8524 # Determine the default libpath from the value encoded in an
8526 cat >conftest.
$ac_ext <<_ACEOF
8529 cat confdefs.h
>>conftest.
$ac_ext
8530 cat >>conftest.
$ac_ext <<_ACEOF
8531 /* end confdefs.h. */
8541 rm -f conftest.
$ac_objext conftest
$ac_exeext
8542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8543 (eval $ac_link) 2>conftest.er1
8545 grep -v '^ *+' conftest.er1
>conftest.err
8547 cat conftest.err
>&5
8548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8549 (exit $ac_status); } &&
8550 { ac_try
='test -z "$ac_c_werror_flag"
8551 || test ! -s conftest.err'
8552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8556 (exit $ac_status); }; } &&
8557 { ac_try
='test -s conftest$ac_exeext'
8558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8562 (exit $ac_status); }; }; then
8564 lt_aix_libpath_sed
='
8565 /Import File Strings/,/^$/ {
8571 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8572 # Check for a 64-bit object if we didn't find anything.
8573 if test -z "$aix_libpath"; then
8574 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8577 echo "$as_me: failed program was:" >&5
8578 sed 's/^/| /' conftest.
$ac_ext >&5
8581 rm -f conftest.err conftest.
$ac_objext \
8582 conftest
$ac_exeext conftest.
$ac_ext
8583 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8585 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8586 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"
8588 if test "$host_cpu" = ia64
; then
8589 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
8590 allow_undefined_flag
="-z nodefs"
8591 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"
8593 # Determine the default libpath from the value encoded in an
8595 cat >conftest.
$ac_ext <<_ACEOF
8598 cat confdefs.h
>>conftest.
$ac_ext
8599 cat >>conftest.
$ac_ext <<_ACEOF
8600 /* end confdefs.h. */
8610 rm -f conftest.
$ac_objext conftest
$ac_exeext
8611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8612 (eval $ac_link) 2>conftest.er1
8614 grep -v '^ *+' conftest.er1
>conftest.err
8616 cat conftest.err
>&5
8617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8618 (exit $ac_status); } &&
8619 { ac_try
='test -z "$ac_c_werror_flag"
8620 || test ! -s conftest.err'
8621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8625 (exit $ac_status); }; } &&
8626 { ac_try
='test -s conftest$ac_exeext'
8627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8631 (exit $ac_status); }; }; then
8633 lt_aix_libpath_sed
='
8634 /Import File Strings/,/^$/ {
8640 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8641 # Check for a 64-bit object if we didn't find anything.
8642 if test -z "$aix_libpath"; then
8643 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8646 echo "$as_me: failed program was:" >&5
8647 sed 's/^/| /' conftest.
$ac_ext >&5
8650 rm -f conftest.err conftest.
$ac_objext \
8651 conftest
$ac_exeext conftest.
$ac_ext
8652 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8654 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8655 # Warning - without using the other run time loading flags,
8656 # -berok will link without error, but may produce a broken library.
8657 no_undefined_flag
=' ${wl}-bernotok'
8658 allow_undefined_flag
=' ${wl}-berok'
8659 # Exported symbols can be pulled into shared objects from archives
8660 whole_archive_flag_spec
='$convenience'
8661 archive_cmds_need_lc
=yes
8662 # This is similar to how AIX traditionally builds its shared libraries.
8663 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'
8669 if test "$host_cpu" = m68k
; then
8670 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)'
8671 hardcode_libdir_flag_spec
='-L$libdir'
8672 hardcode_minus_L
=yes
8674 # see comment about different semantics on the GNU ld section
8679 export_dynamic_flag_spec
=-rdynamic
8682 cygwin
* | mingw
* | pw32
*)
8683 # When not using gcc, we currently assume that we are using
8684 # Microsoft Visual C++.
8685 # hardcode_libdir_flag_spec is actually meaningless, as there is
8686 # no search path for DLLs.
8687 hardcode_libdir_flag_spec
=' '
8688 allow_undefined_flag
=unsupported
8689 # Tell ltmain to make .lib files, not .a files.
8691 # Tell ltmain to make .dll files, not .so files.
8693 # FIXME: Setting linknames here is a bad hack.
8694 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8695 # The linker will automatically build a .lib file if we build a DLL.
8696 old_archive_from_new_cmds
='true'
8697 # FIXME: Should let the user specify the lib program.
8698 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8699 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8700 enable_shared_with_static_runtimes
=yes
8703 darwin
* | rhapsody
*)
8705 rhapsody
* | darwin1.
[012])
8706 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
8709 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
8711 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8714 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
8719 archive_cmds_need_lc
=no
8721 hardcode_automatic
=yes
8722 hardcode_shlibpath_var
=unsupported
8723 whole_archive_flag_spec
=''
8724 link_all_deplibs
=yes
8725 if test "$GCC" = yes ; then
8726 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
8727 echo $ECHO_N "(cached) $ECHO_C" >&6
8729 lt_cv_apple_cc_single_mod
=no
8730 if test -z "${LT_MULTI_MODULE}"; then
8731 # By default we will add the -single_module flag. You can override
8732 # by either setting the environment variable LT_MULTI_MODULE
8733 # non-empty at configure time, or by adding -multi-module to the
8735 echo "int foo(void){return 1;}" > conftest.c
8736 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8737 -dynamiclib ${wl}-single_module conftest.c
8738 if test -f libconftest.dylib
; then
8739 lt_cv_apple_cc_single_mod
=yes
8740 rm libconftest.dylib
8746 output_verbose_link_cmd
=echo
8747 if test "X$lt_cv_apple_cc_single_mod" = Xyes
; then
8748 archive_cmds
='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8749 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}'
8751 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8752 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}'
8754 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8755 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}'
8757 case $cc_basename in
8759 output_verbose_link_cmd
=echo
8760 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
8761 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8762 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8763 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}'
8764 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}'
8774 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8775 hardcode_libdir_flag_spec
='-L$libdir'
8776 hardcode_shlibpath_var
=no
8783 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8784 # support. Future versions do this automatically, but an explicit c++rt0.o
8785 # does not break anything, and helps significantly (at the cost of a little
8788 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8789 hardcode_libdir_flag_spec
='-R$libdir'
8791 hardcode_shlibpath_var
=no
8794 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8796 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8798 hardcode_minus_L
=yes
8799 hardcode_shlibpath_var
=no
8802 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8803 freebsd
* | dragonfly
*)
8804 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8805 hardcode_libdir_flag_spec
='-R$libdir'
8807 hardcode_shlibpath_var
=no
8811 if test "$GCC" = yes; then
8812 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'
8814 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'
8816 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8817 hardcode_libdir_separator
=:
8820 # hardcode_minus_L: Not really in the search PATH,
8821 # but as the default location of the library.
8822 hardcode_minus_L
=yes
8823 export_dynamic_flag_spec
='${wl}-E'
8827 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8828 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8830 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8832 if test "$with_gnu_ld" = no
; then
8833 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8834 hardcode_libdir_flag_spec_ld
='+b $libdir'
8835 hardcode_libdir_separator
=:
8837 hardcode_direct_absolute
=yes
8838 export_dynamic_flag_spec
='${wl}-E'
8839 # hardcode_minus_L: Not really in the search PATH,
8840 # but as the default location of the library.
8841 hardcode_minus_L
=yes
8846 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8849 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8852 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8855 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8861 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8864 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8867 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8871 if test "$with_gnu_ld" = no
; then
8872 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8873 hardcode_libdir_separator
=:
8878 hardcode_shlibpath_var
=no
8882 hardcode_direct_absolute
=yes
8883 export_dynamic_flag_spec
='${wl}-E'
8885 # hardcode_minus_L: Not really in the search PATH,
8886 # but as the default location of the library.
8887 hardcode_minus_L
=yes
8893 irix5
* | irix6
* | nonstopux
*)
8894 if test "$GCC" = yes; then
8895 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'
8896 # Try to use the -exported_symbol ld option, if it does not
8897 # work, assume that -exports_file does not work either and
8898 # implicitly export all symbols.
8899 save_LDFLAGS
="$LDFLAGS"
8900 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8901 cat >conftest.
$ac_ext <<_ACEOF
8904 rm -f conftest.
$ac_objext conftest
$ac_exeext
8905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8906 (eval $ac_link) 2>conftest.er1
8908 grep -v '^ *+' conftest.er1
>conftest.err
8910 cat conftest.err
>&5
8911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8912 (exit $ac_status); } &&
8913 { ac_try
='test -z "$ac_c_werror_flag"
8914 || test ! -s conftest.err'
8915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8919 (exit $ac_status); }; } &&
8920 { ac_try
='test -s conftest$ac_exeext'
8921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8925 (exit $ac_status); }; }; then
8926 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'
8929 echo "$as_me: failed program was:" >&5
8930 sed 's/^/| /' conftest.
$ac_ext >&5
8933 rm -f conftest.err conftest.
$ac_objext \
8934 conftest
$ac_exeext conftest.
$ac_ext
8935 LDFLAGS
="$save_LDFLAGS"
8937 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'
8938 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'
8940 archive_cmds_need_lc
='no'
8941 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8942 hardcode_libdir_separator
=:
8944 link_all_deplibs
=yes
8948 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8949 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8951 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8953 hardcode_libdir_flag_spec
='-R$libdir'
8955 hardcode_shlibpath_var
=no
8959 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8961 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8962 hardcode_libdir_separator
=:
8963 hardcode_shlibpath_var
=no
8971 hardcode_shlibpath_var
=no
8972 hardcode_direct_absolute
=yes
8973 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8974 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8975 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8976 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8977 export_dynamic_flag_spec
='${wl}-E'
8980 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8981 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8982 hardcode_libdir_flag_spec
='-R$libdir'
8985 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8986 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8993 hardcode_libdir_flag_spec
='-L$libdir'
8994 hardcode_minus_L
=yes
8995 allow_undefined_flag
=unsupported
8996 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'
8997 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9001 if test "$GCC" = yes; then
9002 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9003 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'
9005 allow_undefined_flag
=' -expect_unresolved \*'
9006 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'
9008 archive_cmds_need_lc
='no'
9009 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9010 hardcode_libdir_separator
=:
9013 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9014 if test "$GCC" = yes; then
9015 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9016 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'
9017 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9019 allow_undefined_flag
=' -expect_unresolved \*'
9020 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'
9021 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~
9022 $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'
9024 # Both c and cxx compiler support -rpath directly
9025 hardcode_libdir_flag_spec
='-rpath $libdir'
9027 archive_cmds_need_lc
='no'
9028 hardcode_libdir_separator
=:
9032 no_undefined_flag
=' -z defs'
9033 if test "$GCC" = yes; then
9035 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9036 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9037 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9039 case `$CC -V 2>&1` in
9042 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9043 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9044 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9048 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9049 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9050 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9054 hardcode_libdir_flag_spec
='-R$libdir'
9055 hardcode_shlibpath_var
=no
9057 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9059 # The compiler driver will combine and reorder linker options,
9060 # but understands `-z linker_flag'. GCC discards it without `$wl',
9061 # but is careful enough not to reorder.
9062 # Supported since Solaris 2.6 (maybe 2.5.1?)
9063 if test "$GCC" = yes; then
9064 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9066 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9070 link_all_deplibs
=yes
9074 if test "x$host_vendor" = xsequent
; then
9075 # Use $CC to link under sequent, because it throws in some extra .o
9076 # files that make .init and .fini sections work.
9077 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9079 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9081 hardcode_libdir_flag_spec
='-L$libdir'
9083 hardcode_minus_L
=yes
9084 hardcode_shlibpath_var
=no
9088 case $host_vendor in
9090 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9091 hardcode_direct
=yes # is this really true???
9094 ## LD is ld it makes a PLAMLIB
9095 ## CC just makes a GrossModule.
9096 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9097 reload_cmds
='$CC -r -o $output$reload_objs'
9101 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9102 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9105 runpath_var
='LD_RUN_PATH'
9106 hardcode_shlibpath_var
=no
9110 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9111 hardcode_shlibpath_var
=no
9112 export_dynamic_flag_spec
='-Bexport'
9116 if test -d /usr
/nec
; then
9117 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9118 hardcode_shlibpath_var
=no
9119 runpath_var
=LD_RUN_PATH
9120 hardcode_runpath_var
=yes
9125 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9126 no_undefined_flag
='${wl}-z,text'
9127 archive_cmds_need_lc
=no
9128 hardcode_shlibpath_var
=no
9129 runpath_var
='LD_RUN_PATH'
9131 if test "$GCC" = yes; then
9132 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9133 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9135 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9136 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9140 sysv5
* | sco3.2v5
* | sco5v6
*)
9141 # Note: We can NOT use -z defs as we might desire, because we do not
9142 # link with -lc, and that would cause any symbols used from libc to
9143 # always be unresolved, which means just about no library would
9144 # ever link correctly. If we're not using GNU ld we use -z text
9145 # though, which does catch some bad symbols but isn't as heavy-handed
9147 no_undefined_flag
='${wl}-z,text'
9148 allow_undefined_flag
='${wl}-z,nodefs'
9149 archive_cmds_need_lc
=no
9150 hardcode_shlibpath_var
=no
9151 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9152 hardcode_libdir_separator
=':'
9153 link_all_deplibs
=yes
9154 export_dynamic_flag_spec
='${wl}-Bexport'
9155 runpath_var
='LD_RUN_PATH'
9157 if test "$GCC" = yes; then
9158 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9159 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9161 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9162 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9167 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9168 hardcode_libdir_flag_spec
='-L$libdir'
9169 hardcode_shlibpath_var
=no
9177 if test x
$host_vendor = xsni
; then
9179 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9180 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9186 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9187 echo "${ECHO_T}$ld_shlibs" >&6
9188 test "$ld_shlibs" = no
&& can_build_shared
=no
9190 with_gnu_ld
=$with_gnu_ld
9207 # Do we need to explicitly link libc?
9209 case "x$archive_cmds_need_lc" in
9211 # Assume -lc should be added
9212 archive_cmds_need_lc
=yes
9214 if test "$enable_shared" = yes && test "$GCC" = yes; then
9215 case $archive_cmds in
9217 # FIXME: we may have to deal with multi-command sequences.
9220 # Test whether the compiler implicitly links with -lc since on some
9221 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9222 # to ld, don't add -lc before -lgcc.
9223 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9224 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
9226 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9229 (eval $ac_compile) 2>&5
9231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9232 (exit $ac_status); } 2>conftest.err
; then
9235 libobjs
=conftest.
$ac_objext
9237 wl
=$lt_prog_compiler_wl
9238 pic_flag
=$lt_prog_compiler_pic
9244 lt_save_allow_undefined_flag
=$allow_undefined_flag
9245 allow_undefined_flag
=
9246 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9247 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9250 (exit $ac_status); }
9252 archive_cmds_need_lc
=no
9254 archive_cmds_need_lc
=yes
9256 allow_undefined_flag
=$lt_save_allow_undefined_flag
9258 cat conftest.err
1>&5
9261 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9262 echo "${ECHO_T}$archive_cmds_need_lc" >&6
9425 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9426 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
9428 if test "$withGCC" = yes; then
9430 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9431 *) lt_awk_arg
="/^libraries:/" ;;
9433 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9434 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
9435 # if the path contains ";" then we assume it to be the separator
9436 # otherwise default to the standard path separator (i.e. ":") - it is
9437 # assumed that no part of a normal pathname contains ";" but that should
9438 # okay in the real world where ";" in dirpaths is itself problematic.
9439 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9441 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9443 # Ok, now we have the path, separated by spaces, we can step through it
9444 # and add multilib dir if necessary.
9445 lt_tmp_lt_search_path_spec
=
9446 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9447 for lt_sys_path
in $lt_search_path_spec; do
9448 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9449 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9451 test -d "$lt_sys_path" && \
9452 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9455 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9456 BEGIN {RS=" "; FS="/|\n";} {
9459 for (lt_i = NF; lt_i > 0; lt_i--) {
9460 if ($lt_i != "" && $lt_i != ".") {
9461 if ($lt_i == "..") {
9464 if (lt_count == 0) {
9465 lt_foo="/" $lt_i lt_foo;
9472 if (lt_foo != "") { lt_freq[lt_foo]++; }
9473 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9475 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
9477 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9480 libname_spec
='lib$name'
9488 shlibpath_overrides_runpath
=unknown
9490 dynamic_linker
="$host_os ld.so"
9491 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9492 need_lib_prefix
=unknown
9493 hardcode_into_libs
=no
9495 # when you set need_version to no, make sure it does not cause -set_version
9496 # flags to be left without arguments
9497 need_version
=unknown
9502 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9503 shlibpath_var
=LIBPATH
9505 # AIX 3 has no versioning support, so we append a major version to the name.
9506 soname_spec
='${libname}${release}${shared_ext}$major'
9513 hardcode_into_libs
=yes
9514 if test "$host_cpu" = ia64
; then
9515 # AIX 5 supports IA64
9516 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9517 shlibpath_var
=LD_LIBRARY_PATH
9519 # With GCC up to 2.95.x, collect2 would create an import file
9520 # for dependence libraries. The import file would start with
9521 # the line `#! .'. This would cause the generated library to
9522 # depend on `.', always an invalid library. This was fixed in
9523 # development snapshots of GCC prior to 3.0.
9525 aix4 | aix4.
[01] | aix4.
[01].
*)
9526 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9528 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9535 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9536 # soname into executable. Probably we can add versioning support to
9537 # collect2, so additional links can be useful in future.
9538 if test "$aix_use_runtimelinking" = yes; then
9539 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9540 # instead of lib<name>.a to let people know that these are not
9541 # typical AIX shared libraries.
9542 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9544 # We preserve .a as extension for shared libraries through AIX4.2
9545 # and later when we are not doing run time linking.
9546 library_names_spec
='${libname}${release}.a $libname.a'
9547 soname_spec
='${libname}${release}${shared_ext}$major'
9549 shlibpath_var
=LIBPATH
9554 if test "$host_cpu" = m68k
; then
9555 library_names_spec
='$libname.ixlibrary $libname.a'
9556 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9557 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'
9564 library_names_spec
='${libname}${shared_ext}'
9565 dynamic_linker
="$host_os ld.so"
9566 shlibpath_var
=LIBRARY_PATH
9572 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9573 soname_spec
='${libname}${release}${shared_ext}$major'
9574 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9575 shlibpath_var
=LD_LIBRARY_PATH
9576 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9577 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9578 # the default ld.so.conf also contains /usr/contrib/lib and
9579 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9580 # libtool to hard-code these into programs
9583 cygwin
* | mingw
* | pw32
*)
9584 version_type
=windows
9589 case $withGCC,$host_os in
9590 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
9591 library_names_spec
='$libname.dll.a'
9592 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9593 postinstall_cmds
='base_file=`basename \${file}`~
9594 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9595 dldir=$destdir/`dirname \$dlpath`~
9596 test -d \$dldir || mkdir -p \$dldir~
9597 $install_prog $dir/$dlname \$dldir/$dlname~
9598 chmod a+x \$dldir/$dlname~
9599 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9600 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9602 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9603 dlpath=$dir/\$dldll~
9605 shlibpath_overrides_runpath
=yes
9609 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9610 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9611 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
9614 # MinGW DLLs use traditional 'lib' prefix
9615 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9616 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9617 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
9618 # It is most probably a Windows format PATH printed by
9619 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9620 # path with ; separators, and with drive letters. We can handle the
9621 # drive letters (cygwin fileutils understands them), so leave them,
9622 # especially as we might pass files found there to a mingw objdump,
9623 # which wouldn't understand a cygwinified path. Ahh.
9624 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9626 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9630 # pw32 DLLs use 'pw' prefix rather than 'lib'
9631 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9637 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9640 dynamic_linker
='Win32 ld.exe'
9641 # FIXME: first we should search . and the directory the executable is in
9645 darwin
* | rhapsody
*)
9646 dynamic_linker
="$host_os dyld"
9650 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9651 soname_spec
='${libname}${release}${major}$shared_ext'
9652 shlibpath_overrides_runpath
=yes
9653 shlibpath_var
=DYLD_LIBRARY_PATH
9654 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9656 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9657 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9664 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9665 soname_spec
='${libname}${release}${shared_ext}$major'
9666 shlibpath_var
=LD_LIBRARY_PATH
9673 freebsd
* | dragonfly
*)
9674 # DragonFly does not have aout. When/if they implement a new
9675 # versioning mechanism, adjust this.
9676 if test -x /usr
/bin
/objformat
; then
9677 objformat
=`/usr/bin/objformat`
9680 freebsd
[123]*) objformat
=aout
;;
9684 version_type
=freebsd-
$objformat
9685 case $version_type in
9687 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9692 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9696 shlibpath_var
=LD_LIBRARY_PATH
9699 shlibpath_overrides_runpath
=yes
9701 freebsd3.
[01]* | freebsdelf3.
[01]*)
9702 shlibpath_overrides_runpath
=yes
9703 hardcode_into_libs
=yes
9705 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9706 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9707 shlibpath_overrides_runpath
=no
9708 hardcode_into_libs
=yes
9710 *) # from 4.6 on, and DragonFly
9711 shlibpath_overrides_runpath
=yes
9712 hardcode_into_libs
=yes
9721 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9722 soname_spec
='${libname}${release}${shared_ext}$major'
9723 shlibpath_var
=LD_LIBRARY_PATH
9724 hardcode_into_libs
=yes
9727 hpux9
* | hpux10
* | hpux11
*)
9728 # Give a soname corresponding to the major version so that dld.sl refuses to
9729 # link against other versions.
9736 hardcode_into_libs
=yes
9737 dynamic_linker
="$host_os dld.so"
9738 shlibpath_var
=LD_LIBRARY_PATH
9739 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9740 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9741 soname_spec
='${libname}${release}${shared_ext}$major'
9742 if test "X$HPUX_IA64_MODE" = X32
; then
9743 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9745 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9747 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9751 hardcode_into_libs
=yes
9752 dynamic_linker
="$host_os dld.sl"
9753 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9754 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9755 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9756 soname_spec
='${libname}${release}${shared_ext}$major'
9757 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9758 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9762 dynamic_linker
="$host_os dld.sl"
9763 shlibpath_var
=SHLIB_PATH
9764 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9765 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9766 soname_spec
='${libname}${release}${shared_ext}$major'
9769 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9770 postinstall_cmds
='chmod 555 $lib'
9777 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9778 soname_spec
='${libname}${release}${shared_ext}$major'
9779 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9780 shlibpath_var
=LD_LIBRARY_PATH
9781 shlibpath_overrides_runpath
=no
9782 hardcode_into_libs
=yes
9785 irix5
* | irix6
* | nonstopux
*)
9787 nonstopux
*) version_type
=nonstopux
;;
9789 if test "$lt_cv_prog_gnu_ld" = yes; then
9797 soname_spec
='${libname}${release}${shared_ext}$major'
9798 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9800 irix5
* | nonstopux
*)
9804 case $LD in # libtool.m4 will add one of these switches to LD
9805 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9806 libsuff
= shlibsuff
= libmagic
=32-bit;;
9807 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9808 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9809 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9810 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9811 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9815 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9816 shlibpath_overrides_runpath
=no
9817 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9818 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9819 hardcode_into_libs
=yes
9822 # No shared lib support for Linux oldld, aout, or coff.
9823 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9827 # This must be Linux ELF.
9828 linux
* | k
*bsd
*-gnu)
9832 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9833 soname_spec
='${libname}${release}${shared_ext}$major'
9834 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9835 shlibpath_var
=LD_LIBRARY_PATH
9836 shlibpath_overrides_runpath
=no
9837 # Some binutils ld are patched to set DT_RUNPATH
9838 save_LDFLAGS
=$LDFLAGS
9840 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9841 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9842 cat >conftest.
$ac_ext <<_ACEOF
9845 cat confdefs.h
>>conftest.
$ac_ext
9846 cat >>conftest.
$ac_ext <<_ACEOF
9847 /* end confdefs.h. */
9857 rm -f conftest.
$ac_objext conftest
$ac_exeext
9858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9859 (eval $ac_link) 2>conftest.er1
9861 grep -v '^ *+' conftest.er1
>conftest.err
9863 cat conftest.err
>&5
9864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9865 (exit $ac_status); } &&
9866 { ac_try
='test -z "$ac_c_werror_flag"
9867 || test ! -s conftest.err'
9868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9872 (exit $ac_status); }; } &&
9873 { ac_try
='test -s conftest$ac_exeext'
9874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9878 (exit $ac_status); }; }; then
9879 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir"; then
9880 shlibpath_overrides_runpath
=yes
9884 echo "$as_me: failed program was:" >&5
9885 sed 's/^/| /' conftest.
$ac_ext >&5
9888 rm -f conftest.err conftest.
$ac_objext \
9889 conftest
$ac_exeext conftest.
$ac_ext
9890 LDFLAGS
=$save_LDFLAGS
9893 # This implies no fast_install, which is unacceptable.
9894 # Some rework will be needed to allow for fast_install
9895 # before this can be enabled.
9896 hardcode_into_libs
=yes
9898 # Append ld.so.conf contents to the search path
9899 if test -f /etc
/ld.so.conf
; then
9900 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' ' '`
9901 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9904 # We used to test for /lib/ld.so.1 and disable shared libraries on
9905 # powerpc, because MkLinux only supported shared libraries with the
9906 # GNU dynamic linker. Since this was broken with cross compilers,
9907 # most powerpc-linux boxes support dynamic linking these days and
9908 # people can always --disable-shared, the test was removed, and we
9909 # assume the GNU/Linux dynamic linker is in use.
9910 dynamic_linker
='GNU/Linux ld.so'
9917 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9918 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9919 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9920 dynamic_linker
='NetBSD (a.out) ld.so'
9922 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9923 soname_spec
='${libname}${release}${shared_ext}$major'
9924 dynamic_linker
='NetBSD ld.elf_so'
9926 shlibpath_var
=LD_LIBRARY_PATH
9927 shlibpath_overrides_runpath
=yes
9928 hardcode_into_libs
=yes
9933 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9934 shlibpath_var
=LD_LIBRARY_PATH
9935 shlibpath_overrides_runpath
=yes
9942 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9943 soname_spec
='${libname}${release}${shared_ext}$major'
9944 shlibpath_var
=LD_LIBRARY_PATH
9945 shlibpath_overrides_runpath
=no
9946 hardcode_into_libs
=yes
9947 dynamic_linker
='ldqnx.so'
9952 sys_lib_dlsearch_path_spec
="/usr/lib"
9954 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9956 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9957 *) need_version
=no
;;
9959 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9960 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9961 shlibpath_var
=LD_LIBRARY_PATH
9962 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9964 openbsd2.
[89] | openbsd2.
[89].
*)
9965 shlibpath_overrides_runpath
=no
9968 shlibpath_overrides_runpath
=yes
9972 shlibpath_overrides_runpath
=yes
9977 libname_spec
='$name'
9980 library_names_spec
='$libname${shared_ext} $libname.a'
9981 dynamic_linker
='OS/2 ld.exe'
9982 shlibpath_var
=LIBPATH
9985 osf3
* | osf4
* | osf5
*)
9989 soname_spec
='${libname}${release}${shared_ext}$major'
9990 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9991 shlibpath_var
=LD_LIBRARY_PATH
9992 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9993 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10004 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10005 soname_spec
='${libname}${release}${shared_ext}$major'
10006 shlibpath_var
=LD_LIBRARY_PATH
10007 shlibpath_overrides_runpath
=yes
10008 hardcode_into_libs
=yes
10009 # ldd complains unless libraries are executable
10010 postinstall_cmds
='chmod +x $lib'
10015 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10016 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10017 shlibpath_var
=LD_LIBRARY_PATH
10018 shlibpath_overrides_runpath
=yes
10019 if test "$with_gnu_ld" = yes; then
10027 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10028 soname_spec
='${libname}${release}${shared_ext}$major'
10029 shlibpath_var
=LD_LIBRARY_PATH
10030 case $host_vendor in
10032 shlibpath_overrides_runpath
=no
10034 runpath_var
=LD_RUN_PATH
10042 shlibpath_overrides_runpath
=no
10043 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10049 if test -d /usr
/nec
;then
10051 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10052 soname_spec
='$libname${shared_ext}.$major'
10053 shlibpath_var
=LD_LIBRARY_PATH
10057 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10058 version_type
=freebsd-elf
10061 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10062 soname_spec
='${libname}${release}${shared_ext}$major'
10063 shlibpath_var
=LD_LIBRARY_PATH
10064 shlibpath_overrides_runpath
=yes
10065 hardcode_into_libs
=yes
10066 if test "$with_gnu_ld" = yes; then
10067 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10069 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10072 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10076 sys_lib_dlsearch_path_spec
='/usr/lib'
10080 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10084 library_name_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10085 shlibpath_var
=LD_LIBRARY_PATH
10086 shlibpath_overrides_runpath
=no
10087 hardcode_into_libs
=yes
10092 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10093 soname_spec
='${libname}${release}${shared_ext}$major'
10094 shlibpath_var
=LD_LIBRARY_PATH
10101 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10102 echo "${ECHO_T}$dynamic_linker" >&6
10103 test "$dynamic_linker" = no
&& can_build_shared
=no
10105 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10106 if test "$GCC" = yes; then
10107 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10196 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10197 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
10199 if test -n "$hardcode_libdir_flag_spec" ||
10200 test -n "$runpath_var" ||
10201 test "X$hardcode_automatic" = "Xyes" ; then
10203 # We can hardcode non-existent directories.
10204 if test "$hardcode_direct" != no
&&
10205 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10206 # have to relink, otherwise we might link with an installed library
10207 # when we should be linking with a yet-to-be-installed one
10208 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10209 test "$hardcode_minus_L" != no
; then
10210 # Linking always hardcodes the temporary library directory.
10211 hardcode_action
=relink
10213 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10214 hardcode_action
=immediate
10217 # We cannot hardcode anything, or else we can only hardcode existing
10219 hardcode_action
=unsupported
10221 echo "$as_me:$LINENO: result: $hardcode_action" >&5
10222 echo "${ECHO_T}$hardcode_action" >&6
10224 if test "$hardcode_action" = relink ||
10225 test "$inherit_rpath" = yes; then
10226 # Fast installation is not supported
10227 enable_fast_install
=no
10228 elif test "$shlibpath_overrides_runpath" = yes ||
10229 test "$enable_shared" = no
; then
10230 # Fast installation is not necessary
10231 enable_fast_install
=needless
10239 if test "x$enable_dlopen" != xyes
; then
10240 enable_dlopen
=unknown
10241 enable_dlopen_self
=unknown
10242 enable_dlopen_self_static
=unknown
10249 lt_cv_dlopen
="load_add_on"
10251 lt_cv_dlopen_self
=yes
10255 lt_cv_dlopen
="LoadLibrary"
10260 lt_cv_dlopen
="dlopen"
10265 # if libdl is installed we need to link against it
10266 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10267 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10268 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10269 echo $ECHO_N "(cached) $ECHO_C" >&6
10271 ac_check_lib_save_LIBS
=$LIBS
10273 cat >conftest.
$ac_ext <<_ACEOF
10276 cat confdefs.h
>>conftest.
$ac_ext
10277 cat >>conftest.
$ac_ext <<_ACEOF
10278 /* end confdefs.h. */
10280 /* Override any gcc2 internal prototype to avoid an error. */
10284 /* We use char because int might match the return type of a gcc2
10285 builtin and then its argument prototype would still apply. */
10295 rm -f conftest.
$ac_objext conftest
$ac_exeext
10296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10297 (eval $ac_link) 2>conftest.er1
10299 grep -v '^ *+' conftest.er1
>conftest.err
10301 cat conftest.err
>&5
10302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10303 (exit $ac_status); } &&
10304 { ac_try
='test -z "$ac_c_werror_flag"
10305 || test ! -s conftest.err'
10306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10307 (eval $ac_try) 2>&5
10309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10310 (exit $ac_status); }; } &&
10311 { ac_try
='test -s conftest$ac_exeext'
10312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10313 (eval $ac_try) 2>&5
10315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10316 (exit $ac_status); }; }; then
10317 ac_cv_lib_dl_dlopen
=yes
10319 echo "$as_me: failed program was:" >&5
10320 sed 's/^/| /' conftest.
$ac_ext >&5
10322 ac_cv_lib_dl_dlopen
=no
10324 rm -f conftest.err conftest.
$ac_objext \
10325 conftest
$ac_exeext conftest.
$ac_ext
10326 LIBS
=$ac_check_lib_save_LIBS
10328 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10329 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10330 if test $ac_cv_lib_dl_dlopen = yes; then
10331 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10334 lt_cv_dlopen
="dyld"
10336 lt_cv_dlopen_self
=yes
10343 echo "$as_me:$LINENO: checking for shl_load" >&5
10344 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
10345 if test "${ac_cv_func_shl_load+set}" = set; then
10346 echo $ECHO_N "(cached) $ECHO_C" >&6
10348 cat >conftest.
$ac_ext <<_ACEOF
10351 cat confdefs.h
>>conftest.
$ac_ext
10352 cat >>conftest.
$ac_ext <<_ACEOF
10353 /* end confdefs.h. */
10354 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10355 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10356 #define shl_load innocuous_shl_load
10358 /* System header to define __stub macros and hopefully few prototypes,
10359 which can conflict with char shl_load (); below.
10360 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10361 <limits.h> exists even on freestanding compilers. */
10364 # include <limits.h>
10366 # include <assert.h>
10371 /* Override any gcc2 internal prototype to avoid an error. */
10376 /* We use char because int might match the return type of a gcc2
10377 builtin and then its argument prototype would still apply. */
10379 /* The GNU C library defines this for functions which it implements
10380 to always fail with ENOSYS. Some functions are actually named
10381 something starting with __ and the normal name is an alias. */
10382 #if defined (__stub_shl_load) || defined (__stub___shl_load)
10385 char (*f) () = shl_load;
10394 return f != shl_load;
10399 rm -f conftest.
$ac_objext conftest
$ac_exeext
10400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10401 (eval $ac_link) 2>conftest.er1
10403 grep -v '^ *+' conftest.er1
>conftest.err
10405 cat conftest.err
>&5
10406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10407 (exit $ac_status); } &&
10408 { ac_try
='test -z "$ac_c_werror_flag"
10409 || test ! -s conftest.err'
10410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10411 (eval $ac_try) 2>&5
10413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10414 (exit $ac_status); }; } &&
10415 { ac_try
='test -s conftest$ac_exeext'
10416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10417 (eval $ac_try) 2>&5
10419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10420 (exit $ac_status); }; }; then
10421 ac_cv_func_shl_load
=yes
10423 echo "$as_me: failed program was:" >&5
10424 sed 's/^/| /' conftest.
$ac_ext >&5
10426 ac_cv_func_shl_load
=no
10428 rm -f conftest.err conftest.
$ac_objext \
10429 conftest
$ac_exeext conftest.
$ac_ext
10431 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10432 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
10433 if test $ac_cv_func_shl_load = yes; then
10434 lt_cv_dlopen
="shl_load"
10436 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10437 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
10438 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10439 echo $ECHO_N "(cached) $ECHO_C" >&6
10441 ac_check_lib_save_LIBS
=$LIBS
10443 cat >conftest.
$ac_ext <<_ACEOF
10446 cat confdefs.h
>>conftest.
$ac_ext
10447 cat >>conftest.
$ac_ext <<_ACEOF
10448 /* end confdefs.h. */
10450 /* Override any gcc2 internal prototype to avoid an error. */
10454 /* We use char because int might match the return type of a gcc2
10455 builtin and then its argument prototype would still apply. */
10465 rm -f conftest.
$ac_objext conftest
$ac_exeext
10466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10467 (eval $ac_link) 2>conftest.er1
10469 grep -v '^ *+' conftest.er1
>conftest.err
10471 cat conftest.err
>&5
10472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10473 (exit $ac_status); } &&
10474 { ac_try
='test -z "$ac_c_werror_flag"
10475 || test ! -s conftest.err'
10476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10477 (eval $ac_try) 2>&5
10479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10480 (exit $ac_status); }; } &&
10481 { ac_try
='test -s conftest$ac_exeext'
10482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10483 (eval $ac_try) 2>&5
10485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10486 (exit $ac_status); }; }; then
10487 ac_cv_lib_dld_shl_load
=yes
10489 echo "$as_me: failed program was:" >&5
10490 sed 's/^/| /' conftest.
$ac_ext >&5
10492 ac_cv_lib_dld_shl_load
=no
10494 rm -f conftest.err conftest.
$ac_objext \
10495 conftest
$ac_exeext conftest.
$ac_ext
10496 LIBS
=$ac_check_lib_save_LIBS
10498 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10499 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
10500 if test $ac_cv_lib_dld_shl_load = yes; then
10501 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
10503 echo "$as_me:$LINENO: checking for dlopen" >&5
10504 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
10505 if test "${ac_cv_func_dlopen+set}" = set; then
10506 echo $ECHO_N "(cached) $ECHO_C" >&6
10508 cat >conftest.
$ac_ext <<_ACEOF
10511 cat confdefs.h
>>conftest.
$ac_ext
10512 cat >>conftest.
$ac_ext <<_ACEOF
10513 /* end confdefs.h. */
10514 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10515 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10516 #define dlopen innocuous_dlopen
10518 /* System header to define __stub macros and hopefully few prototypes,
10519 which can conflict with char dlopen (); below.
10520 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10521 <limits.h> exists even on freestanding compilers. */
10524 # include <limits.h>
10526 # include <assert.h>
10531 /* Override any gcc2 internal prototype to avoid an error. */
10536 /* We use char because int might match the return type of a gcc2
10537 builtin and then its argument prototype would still apply. */
10539 /* The GNU C library defines this for functions which it implements
10540 to always fail with ENOSYS. Some functions are actually named
10541 something starting with __ and the normal name is an alias. */
10542 #if defined (__stub_dlopen) || defined (__stub___dlopen)
10545 char (*f) () = dlopen;
10554 return f != dlopen;
10559 rm -f conftest.
$ac_objext conftest
$ac_exeext
10560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10561 (eval $ac_link) 2>conftest.er1
10563 grep -v '^ *+' conftest.er1
>conftest.err
10565 cat conftest.err
>&5
10566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10567 (exit $ac_status); } &&
10568 { ac_try
='test -z "$ac_c_werror_flag"
10569 || test ! -s conftest.err'
10570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10571 (eval $ac_try) 2>&5
10573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10574 (exit $ac_status); }; } &&
10575 { ac_try
='test -s conftest$ac_exeext'
10576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10577 (eval $ac_try) 2>&5
10579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10580 (exit $ac_status); }; }; then
10581 ac_cv_func_dlopen
=yes
10583 echo "$as_me: failed program was:" >&5
10584 sed 's/^/| /' conftest.
$ac_ext >&5
10586 ac_cv_func_dlopen
=no
10588 rm -f conftest.err conftest.
$ac_objext \
10589 conftest
$ac_exeext conftest.
$ac_ext
10591 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10592 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
10593 if test $ac_cv_func_dlopen = yes; then
10594 lt_cv_dlopen
="dlopen"
10596 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10597 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10598 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10599 echo $ECHO_N "(cached) $ECHO_C" >&6
10601 ac_check_lib_save_LIBS
=$LIBS
10603 cat >conftest.
$ac_ext <<_ACEOF
10606 cat confdefs.h
>>conftest.
$ac_ext
10607 cat >>conftest.
$ac_ext <<_ACEOF
10608 /* end confdefs.h. */
10610 /* Override any gcc2 internal prototype to avoid an error. */
10614 /* We use char because int might match the return type of a gcc2
10615 builtin and then its argument prototype would still apply. */
10625 rm -f conftest.
$ac_objext conftest
$ac_exeext
10626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10627 (eval $ac_link) 2>conftest.er1
10629 grep -v '^ *+' conftest.er1
>conftest.err
10631 cat conftest.err
>&5
10632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10633 (exit $ac_status); } &&
10634 { ac_try
='test -z "$ac_c_werror_flag"
10635 || test ! -s conftest.err'
10636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10637 (eval $ac_try) 2>&5
10639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10640 (exit $ac_status); }; } &&
10641 { ac_try
='test -s conftest$ac_exeext'
10642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10643 (eval $ac_try) 2>&5
10645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10646 (exit $ac_status); }; }; then
10647 ac_cv_lib_dl_dlopen
=yes
10649 echo "$as_me: failed program was:" >&5
10650 sed 's/^/| /' conftest.
$ac_ext >&5
10652 ac_cv_lib_dl_dlopen
=no
10654 rm -f conftest.err conftest.
$ac_objext \
10655 conftest
$ac_exeext conftest.
$ac_ext
10656 LIBS
=$ac_check_lib_save_LIBS
10658 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10659 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10660 if test $ac_cv_lib_dl_dlopen = yes; then
10661 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10663 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10664 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
10665 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10666 echo $ECHO_N "(cached) $ECHO_C" >&6
10668 ac_check_lib_save_LIBS
=$LIBS
10669 LIBS
="-lsvld $LIBS"
10670 cat >conftest.
$ac_ext <<_ACEOF
10673 cat confdefs.h
>>conftest.
$ac_ext
10674 cat >>conftest.
$ac_ext <<_ACEOF
10675 /* end confdefs.h. */
10677 /* Override any gcc2 internal prototype to avoid an error. */
10681 /* We use char because int might match the return type of a gcc2
10682 builtin and then its argument prototype would still apply. */
10692 rm -f conftest.
$ac_objext conftest
$ac_exeext
10693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10694 (eval $ac_link) 2>conftest.er1
10696 grep -v '^ *+' conftest.er1
>conftest.err
10698 cat conftest.err
>&5
10699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10700 (exit $ac_status); } &&
10701 { ac_try
='test -z "$ac_c_werror_flag"
10702 || test ! -s conftest.err'
10703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10704 (eval $ac_try) 2>&5
10706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10707 (exit $ac_status); }; } &&
10708 { ac_try
='test -s conftest$ac_exeext'
10709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10710 (eval $ac_try) 2>&5
10712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10713 (exit $ac_status); }; }; then
10714 ac_cv_lib_svld_dlopen
=yes
10716 echo "$as_me: failed program was:" >&5
10717 sed 's/^/| /' conftest.
$ac_ext >&5
10719 ac_cv_lib_svld_dlopen
=no
10721 rm -f conftest.err conftest.
$ac_objext \
10722 conftest
$ac_exeext conftest.
$ac_ext
10723 LIBS
=$ac_check_lib_save_LIBS
10725 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10726 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
10727 if test $ac_cv_lib_svld_dlopen = yes; then
10728 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10730 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10731 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
10732 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10733 echo $ECHO_N "(cached) $ECHO_C" >&6
10735 ac_check_lib_save_LIBS
=$LIBS
10737 cat >conftest.
$ac_ext <<_ACEOF
10740 cat confdefs.h
>>conftest.
$ac_ext
10741 cat >>conftest.
$ac_ext <<_ACEOF
10742 /* end confdefs.h. */
10744 /* Override any gcc2 internal prototype to avoid an error. */
10748 /* We use char because int might match the return type of a gcc2
10749 builtin and then its argument prototype would still apply. */
10759 rm -f conftest.
$ac_objext conftest
$ac_exeext
10760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10761 (eval $ac_link) 2>conftest.er1
10763 grep -v '^ *+' conftest.er1
>conftest.err
10765 cat conftest.err
>&5
10766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10767 (exit $ac_status); } &&
10768 { ac_try
='test -z "$ac_c_werror_flag"
10769 || test ! -s conftest.err'
10770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10771 (eval $ac_try) 2>&5
10773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10774 (exit $ac_status); }; } &&
10775 { ac_try
='test -s conftest$ac_exeext'
10776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10777 (eval $ac_try) 2>&5
10779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10780 (exit $ac_status); }; }; then
10781 ac_cv_lib_dld_dld_link
=yes
10783 echo "$as_me: failed program was:" >&5
10784 sed 's/^/| /' conftest.
$ac_ext >&5
10786 ac_cv_lib_dld_dld_link
=no
10788 rm -f conftest.err conftest.
$ac_objext \
10789 conftest
$ac_exeext conftest.
$ac_ext
10790 LIBS
=$ac_check_lib_save_LIBS
10792 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10793 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
10794 if test $ac_cv_lib_dld_dld_link = yes; then
10795 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
10816 if test "x$lt_cv_dlopen" != xno
; then
10822 case $lt_cv_dlopen in
10824 save_CPPFLAGS
="$CPPFLAGS"
10825 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10827 save_LDFLAGS
="$LDFLAGS"
10828 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10831 LIBS
="$lt_cv_dlopen_libs $LIBS"
10833 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10834 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
10835 if test "${lt_cv_dlopen_self+set}" = set; then
10836 echo $ECHO_N "(cached) $ECHO_C" >&6
10838 if test "$cross_compiling" = yes; then :
10839 lt_cv_dlopen_self
=cross
10841 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10842 lt_status
=$lt_dlunknown
10843 cat > conftest.
$ac_ext <<_LT_EOF
10844 #line 10844 "configure"
10845 #include "confdefs.h"
10854 # define LT_DLGLOBAL RTLD_GLOBAL
10857 # define LT_DLGLOBAL DL_GLOBAL
10859 # define LT_DLGLOBAL 0
10863 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10864 find out it does not work in some platform. */
10865 #ifndef LT_DLLAZY_OR_NOW
10867 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10870 # define LT_DLLAZY_OR_NOW DL_LAZY
10873 # define LT_DLLAZY_OR_NOW RTLD_NOW
10876 # define LT_DLLAZY_OR_NOW DL_NOW
10878 # define LT_DLLAZY_OR_NOW 0
10886 extern "C" void exit (int);
10889 void fnord() { int i=42;}
10892 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10893 int status = $lt_dlunknown;
10897 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10898 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10899 /* dlclose (self); */
10907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10908 (eval $ac_link) 2>&5
10910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10911 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10912 (.
/conftest
; exit; ) >&5 2>/dev
/null
10914 case x
$lt_status in
10915 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10916 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10917 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10920 # compilation failed
10921 lt_cv_dlopen_self
=no
10928 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10929 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
10931 if test "x$lt_cv_dlopen_self" = xyes
; then
10932 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10933 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10934 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
10935 if test "${lt_cv_dlopen_self_static+set}" = set; then
10936 echo $ECHO_N "(cached) $ECHO_C" >&6
10938 if test "$cross_compiling" = yes; then :
10939 lt_cv_dlopen_self_static
=cross
10941 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10942 lt_status
=$lt_dlunknown
10943 cat > conftest.
$ac_ext <<_LT_EOF
10944 #line 10944 "configure"
10945 #include "confdefs.h"
10954 # define LT_DLGLOBAL RTLD_GLOBAL
10957 # define LT_DLGLOBAL DL_GLOBAL
10959 # define LT_DLGLOBAL 0
10963 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10964 find out it does not work in some platform. */
10965 #ifndef LT_DLLAZY_OR_NOW
10967 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10970 # define LT_DLLAZY_OR_NOW DL_LAZY
10973 # define LT_DLLAZY_OR_NOW RTLD_NOW
10976 # define LT_DLLAZY_OR_NOW DL_NOW
10978 # define LT_DLLAZY_OR_NOW 0
10986 extern "C" void exit (int);
10989 void fnord() { int i=42;}
10992 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10993 int status = $lt_dlunknown;
10997 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10998 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10999 /* dlclose (self); */
11007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11008 (eval $ac_link) 2>&5
11010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11011 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11012 (.
/conftest
; exit; ) >&5 2>/dev
/null
11014 case x
$lt_status in
11015 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11016 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11017 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11020 # compilation failed
11021 lt_cv_dlopen_self_static
=no
11028 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11029 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
11032 CPPFLAGS
="$save_CPPFLAGS"
11033 LDFLAGS
="$save_LDFLAGS"
11038 case $lt_cv_dlopen_self in
11039 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11040 *) enable_dlopen_self
=unknown
;;
11043 case $lt_cv_dlopen_self_static in
11044 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11045 *) enable_dlopen_self_static
=unknown
;;
11067 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11068 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
11069 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11070 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11071 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11072 echo "$as_me:$LINENO: result: yes" >&5
11073 echo "${ECHO_T}yes" >&6
11075 # FIXME - insert some real tests, host_os isn't really good enough
11078 if test -n "$STRIP" ; then
11079 striplib
="$STRIP -x"
11080 old_striplib
="$STRIP -S"
11081 echo "$as_me:$LINENO: result: yes" >&5
11082 echo "${ECHO_T}yes" >&6
11084 echo "$as_me:$LINENO: result: no" >&5
11085 echo "${ECHO_T}no" >&6
11089 echo "$as_me:$LINENO: result: no" >&5
11090 echo "${ECHO_T}no" >&6
11106 # Report which library types will actually be built
11107 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11108 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
11109 echo "$as_me:$LINENO: result: $can_build_shared" >&5
11110 echo "${ECHO_T}$can_build_shared" >&6
11112 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11113 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
11114 test "$can_build_shared" = "no" && enable_shared
=no
11116 # On AIX, shared libraries and static libraries use the same namespace, and
11117 # are all built from PIC.
11120 test "$enable_shared" = yes && enable_static
=no
11121 if test -n "$RANLIB"; then
11122 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11123 postinstall_cmds
='$RANLIB $lib'
11128 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11129 test "$enable_shared" = yes && enable_static
=no
11133 echo "$as_me:$LINENO: result: $enable_shared" >&5
11134 echo "${ECHO_T}$enable_shared" >&6
11136 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11137 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
11138 # Make sure either enable_shared or enable_static is yes.
11139 test "$enable_shared" = yes || enable_static
=yes
11140 echo "$as_me:$LINENO: result: $enable_static" >&5
11141 echo "${ECHO_T}$enable_static" >&6
11148 ac_cpp
='$CPP $CPPFLAGS'
11149 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11150 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11151 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11167 ac_config_commands
="$ac_config_commands libtool"
11172 # Only expand once:
11178 if test "${ac_cv_header_stdint_h+set}" = set; then
11179 echo "$as_me:$LINENO: checking for stdint.h" >&5
11180 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6
11181 if test "${ac_cv_header_stdint_h+set}" = set; then
11182 echo $ECHO_N "(cached) $ECHO_C" >&6
11184 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&5
11185 echo "${ECHO_T}$ac_cv_header_stdint_h" >&6
11187 # Is the header compilable?
11188 echo "$as_me:$LINENO: checking stdint.h usability" >&5
11189 echo $ECHO_N "checking stdint.h usability... $ECHO_C" >&6
11190 cat >conftest.
$ac_ext <<_ACEOF
11193 cat confdefs.h
>>conftest.
$ac_ext
11194 cat >>conftest.
$ac_ext <<_ACEOF
11195 /* end confdefs.h. */
11196 $ac_includes_default
11197 #include <stdint.h>
11199 rm -f conftest.
$ac_objext
11200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11201 (eval $ac_compile) 2>conftest.er1
11203 grep -v '^ *+' conftest.er1
>conftest.err
11205 cat conftest.err
>&5
11206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11207 (exit $ac_status); } &&
11208 { ac_try
='test -z "$ac_c_werror_flag"
11209 || test ! -s conftest.err'
11210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11211 (eval $ac_try) 2>&5
11213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11214 (exit $ac_status); }; } &&
11215 { ac_try
='test -s conftest.$ac_objext'
11216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11217 (eval $ac_try) 2>&5
11219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11220 (exit $ac_status); }; }; then
11221 ac_header_compiler
=yes
11223 echo "$as_me: failed program was:" >&5
11224 sed 's/^/| /' conftest.
$ac_ext >&5
11226 ac_header_compiler
=no
11228 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11229 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11230 echo "${ECHO_T}$ac_header_compiler" >&6
11232 # Is the header present?
11233 echo "$as_me:$LINENO: checking stdint.h presence" >&5
11234 echo $ECHO_N "checking stdint.h presence... $ECHO_C" >&6
11235 cat >conftest.
$ac_ext <<_ACEOF
11238 cat confdefs.h
>>conftest.
$ac_ext
11239 cat >>conftest.
$ac_ext <<_ACEOF
11240 /* end confdefs.h. */
11241 #include <stdint.h>
11243 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11244 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11246 grep -v '^ *+' conftest.er1
>conftest.err
11248 cat conftest.err
>&5
11249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11250 (exit $ac_status); } >/dev
/null
; then
11251 if test -s conftest.err
; then
11252 ac_cpp_err
=$ac_c_preproc_warn_flag
11253 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11260 if test -z "$ac_cpp_err"; then
11261 ac_header_preproc
=yes
11263 echo "$as_me: failed program was:" >&5
11264 sed 's/^/| /' conftest.
$ac_ext >&5
11266 ac_header_preproc
=no
11268 rm -f conftest.err conftest.
$ac_ext
11269 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11270 echo "${ECHO_T}$ac_header_preproc" >&6
11272 # So? What about this header?
11273 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11275 { echo "$as_me:$LINENO: WARNING: stdint.h: accepted by the compiler, rejected by the preprocessor!" >&5
11276 echo "$as_me: WARNING: stdint.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11277 { echo "$as_me:$LINENO: WARNING: stdint.h: proceeding with the compiler's result" >&5
11278 echo "$as_me: WARNING: stdint.h: proceeding with the compiler's result" >&2;}
11279 ac_header_preproc
=yes
11282 { echo "$as_me:$LINENO: WARNING: stdint.h: present but cannot be compiled" >&5
11283 echo "$as_me: WARNING: stdint.h: present but cannot be compiled" >&2;}
11284 { echo "$as_me:$LINENO: WARNING: stdint.h: check for missing prerequisite headers?" >&5
11285 echo "$as_me: WARNING: stdint.h: check for missing prerequisite headers?" >&2;}
11286 { echo "$as_me:$LINENO: WARNING: stdint.h: see the Autoconf documentation" >&5
11287 echo "$as_me: WARNING: stdint.h: see the Autoconf documentation" >&2;}
11288 { echo "$as_me:$LINENO: WARNING: stdint.h: section \"Present But Cannot Be Compiled\"" >&5
11289 echo "$as_me: WARNING: stdint.h: section \"Present But Cannot Be Compiled\"" >&2;}
11290 { echo "$as_me:$LINENO: WARNING: stdint.h: proceeding with the preprocessor's result" >&5
11291 echo "$as_me: WARNING: stdint.h: proceeding with the preprocessor's result" >&2;}
11292 { echo "$as_me:$LINENO: WARNING: stdint.h: in the future, the compiler will take precedence" >&5
11293 echo "$as_me: WARNING: stdint.h: in the future, the compiler will take precedence" >&2;}
11296 ## ------------------------------------- ##
11297 ## Report this to the libmudflap lists. ##
11298 ## ------------------------------------- ##
11301 sed "s/^/$as_me: WARNING: /" >&2
11304 echo "$as_me:$LINENO: checking for stdint.h" >&5
11305 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6
11306 if test "${ac_cv_header_stdint_h+set}" = set; then
11307 echo $ECHO_N "(cached) $ECHO_C" >&6
11309 ac_cv_header_stdint_h
=$ac_header_preproc
11311 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&5
11312 echo "${ECHO_T}$ac_cv_header_stdint_h" >&6
11315 if test $ac_cv_header_stdint_h = yes; then
11323 if test $MF_HAVE_STDINT_H = 1
11325 MF_HAVE_UINTPTR_T
=1
11327 cat >conftest.
$ac_ext <<_ACEOF
11330 cat confdefs.h
>>conftest.
$ac_ext
11331 cat >>conftest.
$ac_ext <<_ACEOF
11332 /* end confdefs.h. */
11333 #include <sys/types.h>
11342 rm -f conftest.
$ac_objext
11343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11344 (eval $ac_compile) 2>conftest.er1
11346 grep -v '^ *+' conftest.er1
>conftest.err
11348 cat conftest.err
>&5
11349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11350 (exit $ac_status); } &&
11351 { ac_try
='test -z "$ac_c_werror_flag"
11352 || test ! -s conftest.err'
11353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11354 (eval $ac_try) 2>&5
11356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11357 (exit $ac_status); }; } &&
11358 { ac_try
='test -s conftest.$ac_objext'
11359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11360 (eval $ac_try) 2>&5
11362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11363 (exit $ac_status); }; }; then
11364 MF_HAVE_UINTPTR_T
=1
11366 echo "$as_me: failed program was:" >&5
11367 sed 's/^/| /' conftest.
$ac_ext >&5
11369 MF_HAVE_UINTPTR_T
=0
11371 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11377 # libmudflapth objects are built in this subdirectory
11382 for ac_header
in pthread.h
11384 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11385 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11386 echo "$as_me:$LINENO: checking for $ac_header" >&5
11387 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11388 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11389 echo $ECHO_N "(cached) $ECHO_C" >&6
11391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11392 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11394 # Is the header compilable?
11395 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11396 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11397 cat >conftest.
$ac_ext <<_ACEOF
11400 cat confdefs.h
>>conftest.
$ac_ext
11401 cat >>conftest.
$ac_ext <<_ACEOF
11402 /* end confdefs.h. */
11403 $ac_includes_default
11404 #include <$ac_header>
11406 rm -f conftest.
$ac_objext
11407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11408 (eval $ac_compile) 2>conftest.er1
11410 grep -v '^ *+' conftest.er1
>conftest.err
11412 cat conftest.err
>&5
11413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11414 (exit $ac_status); } &&
11415 { ac_try
='test -z "$ac_c_werror_flag"
11416 || test ! -s conftest.err'
11417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11418 (eval $ac_try) 2>&5
11420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11421 (exit $ac_status); }; } &&
11422 { ac_try
='test -s conftest.$ac_objext'
11423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11424 (eval $ac_try) 2>&5
11426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11427 (exit $ac_status); }; }; then
11428 ac_header_compiler
=yes
11430 echo "$as_me: failed program was:" >&5
11431 sed 's/^/| /' conftest.
$ac_ext >&5
11433 ac_header_compiler
=no
11435 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11436 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11437 echo "${ECHO_T}$ac_header_compiler" >&6
11439 # Is the header present?
11440 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11441 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11442 cat >conftest.
$ac_ext <<_ACEOF
11445 cat confdefs.h
>>conftest.
$ac_ext
11446 cat >>conftest.
$ac_ext <<_ACEOF
11447 /* end confdefs.h. */
11448 #include <$ac_header>
11450 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11451 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11453 grep -v '^ *+' conftest.er1
>conftest.err
11455 cat conftest.err
>&5
11456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11457 (exit $ac_status); } >/dev
/null
; then
11458 if test -s conftest.err
; then
11459 ac_cpp_err
=$ac_c_preproc_warn_flag
11460 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11467 if test -z "$ac_cpp_err"; then
11468 ac_header_preproc
=yes
11470 echo "$as_me: failed program was:" >&5
11471 sed 's/^/| /' conftest.
$ac_ext >&5
11473 ac_header_preproc
=no
11475 rm -f conftest.err conftest.
$ac_ext
11476 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11477 echo "${ECHO_T}$ac_header_preproc" >&6
11479 # So? What about this header?
11480 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11482 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11483 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11484 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11485 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11486 ac_header_preproc
=yes
11489 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11490 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11491 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11492 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11493 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11494 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11495 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11496 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11497 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11498 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11499 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11500 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11503 ## ------------------------------------- ##
11504 ## Report this to the libmudflap lists. ##
11505 ## ------------------------------------- ##
11508 sed "s/^/$as_me: WARNING: /" >&2
11511 echo "$as_me:$LINENO: checking for $ac_header" >&5
11512 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11513 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11514 echo $ECHO_N "(cached) $ECHO_C" >&6
11516 eval "$as_ac_Header=\$ac_header_preproc"
11518 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11519 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11522 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11523 cat >>confdefs.h
<<_ACEOF
11524 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11532 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
11533 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
11534 target_thread_file
=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
11535 echo "$as_me:$LINENO: result: $target_thread_file" >&5
11536 echo "${ECHO_T}$target_thread_file" >&6
11538 # We only support posix threads, or no threads at all.
11540 case ${target_thread_file} in
11547 echo "${target_thread_file} is an unsupported thread package" 1>&2
11554 if test "x$posix_threads" != "x"; then
11556 LIBMUDFLAPTH_FALSE
='#'
11558 LIBMUDFLAPTH_TRUE
='#'
11559 LIBMUDFLAPTH_FALSE
=
11562 if test "x$posix_threads" != "x"
11564 build_libmudflapth
=1
11566 build_libmudflapth
=0
11571 echo "$as_me:$LINENO: checking for dlsym in -ldl" >&5
11572 echo $ECHO_N "checking for dlsym in -ldl... $ECHO_C" >&6
11573 if test "${ac_cv_lib_dl_dlsym+set}" = set; then
11574 echo $ECHO_N "(cached) $ECHO_C" >&6
11576 ac_check_lib_save_LIBS
=$LIBS
11578 cat >conftest.
$ac_ext <<_ACEOF
11581 cat confdefs.h
>>conftest.
$ac_ext
11582 cat >>conftest.
$ac_ext <<_ACEOF
11583 /* end confdefs.h. */
11585 /* Override any gcc2 internal prototype to avoid an error. */
11589 /* We use char because int might match the return type of a gcc2
11590 builtin and then its argument prototype would still apply. */
11600 rm -f conftest.
$ac_objext conftest
$ac_exeext
11601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11602 (eval $ac_link) 2>conftest.er1
11604 grep -v '^ *+' conftest.er1
>conftest.err
11606 cat conftest.err
>&5
11607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11608 (exit $ac_status); } &&
11609 { ac_try
='test -z "$ac_c_werror_flag"
11610 || test ! -s conftest.err'
11611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11612 (eval $ac_try) 2>&5
11614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11615 (exit $ac_status); }; } &&
11616 { ac_try
='test -s conftest$ac_exeext'
11617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11618 (eval $ac_try) 2>&5
11620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11621 (exit $ac_status); }; }; then
11622 ac_cv_lib_dl_dlsym
=yes
11624 echo "$as_me: failed program was:" >&5
11625 sed 's/^/| /' conftest.
$ac_ext >&5
11627 ac_cv_lib_dl_dlsym
=no
11629 rm -f conftest.err conftest.
$ac_objext \
11630 conftest
$ac_exeext conftest.
$ac_ext
11631 LIBS
=$ac_check_lib_save_LIBS
11633 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlsym" >&5
11634 echo "${ECHO_T}$ac_cv_lib_dl_dlsym" >&6
11635 if test $ac_cv_lib_dl_dlsym = yes; then
11636 cat >>confdefs.h
<<_ACEOF
11637 #define HAVE_LIBDL 1
11645 # Calculate toolexeclibdir
11646 # Also toolexecdir, though it's only used in toolexeclibdir
11647 case ${version_specific_libs} in
11649 # Need the gcc compiler version to know where to install libraries
11650 # and header files if --enable-version-specific-runtime-libs option
11652 toolexecdir
='$(libdir)/gcc/$(target_alias)'
11653 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
11656 if test -n "$with_cross_host" &&
11657 test x
"$with_cross_host" != x
"no"; then
11658 # Install a library built with a cross compiler in tooldir, not libdir.
11659 toolexecdir
='$(exec_prefix)/$(target_alias)'
11660 toolexeclibdir
='$(toolexecdir)/lib'
11662 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
11663 toolexeclibdir
='$(libdir)'
11665 multi_os_directory
=`$CC -print-multi-os-directory`
11666 case $multi_os_directory in
11667 .
) ;; # Avoid trailing /.
11668 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
11675 includedir
=${toolexecdir}/include
11678 pthread_create_version
='""'
11679 if test "x$enable_shared" = "xyes" && test "x$posix_threads" != "x"; then
11680 # NB: don't check for -lpthread here, because then it would be
11681 # added to LIBS. For the thread-unaware libmudflap.la, we don't
11684 # glibc-related hacks. dlsym() may pick the wrong version of
11685 # interposed functions like pthread_create on modern glibc.
11686 # We need to find the proper symbol version string, and use
11687 # the nonstandard dlvsym().
11689 for ac_func
in dlvsym
11691 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11692 echo "$as_me:$LINENO: checking for $ac_func" >&5
11693 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11694 if eval "test \"\${$as_ac_var+set}\" = set"; then
11695 echo $ECHO_N "(cached) $ECHO_C" >&6
11697 cat >conftest.
$ac_ext <<_ACEOF
11700 cat confdefs.h
>>conftest.
$ac_ext
11701 cat >>conftest.
$ac_ext <<_ACEOF
11702 /* end confdefs.h. */
11703 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11704 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11705 #define $ac_func innocuous_$ac_func
11707 /* System header to define __stub macros and hopefully few prototypes,
11708 which can conflict with char $ac_func (); below.
11709 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11710 <limits.h> exists even on freestanding compilers. */
11713 # include <limits.h>
11715 # include <assert.h>
11720 /* Override any gcc2 internal prototype to avoid an error. */
11725 /* We use char because int might match the return type of a gcc2
11726 builtin and then its argument prototype would still apply. */
11728 /* The GNU C library defines this for functions which it implements
11729 to always fail with ENOSYS. Some functions are actually named
11730 something starting with __ and the normal name is an alias. */
11731 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11734 char (*f) () = $ac_func;
11743 return f != $ac_func;
11748 rm -f conftest.
$ac_objext conftest
$ac_exeext
11749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11750 (eval $ac_link) 2>conftest.er1
11752 grep -v '^ *+' conftest.er1
>conftest.err
11754 cat conftest.err
>&5
11755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11756 (exit $ac_status); } &&
11757 { ac_try
='test -z "$ac_c_werror_flag"
11758 || test ! -s conftest.err'
11759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11760 (eval $ac_try) 2>&5
11762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11763 (exit $ac_status); }; } &&
11764 { ac_try
='test -s conftest$ac_exeext'
11765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11766 (eval $ac_try) 2>&5
11768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11769 (exit $ac_status); }; }; then
11770 eval "$as_ac_var=yes"
11772 echo "$as_me: failed program was:" >&5
11773 sed 's/^/| /' conftest.
$ac_ext >&5
11775 eval "$as_ac_var=no"
11777 rm -f conftest.err conftest.
$ac_objext \
11778 conftest
$ac_exeext conftest.
$ac_ext
11780 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11781 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11782 if test `eval echo '${'$as_ac_var'}'` = yes; then
11783 cat >>confdefs.h
<<_ACEOF
11784 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11790 if test -n "$ac_tool_prefix"; then
11791 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
11792 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
11793 echo "$as_me:$LINENO: checking for $ac_word" >&5
11794 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11795 if test "${ac_cv_prog_NM+set}" = set; then
11796 echo $ECHO_N "(cached) $ECHO_C" >&6
11798 if test -n "$NM"; then
11799 ac_cv_prog_NM
="$NM" # Let the user override the test.
11801 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11802 for as_dir
in $PATH
11805 test -z "$as_dir" && as_dir
=.
11806 for ac_exec_ext
in '' $ac_executable_extensions; do
11807 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11808 ac_cv_prog_NM
="${ac_tool_prefix}nm"
11809 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11818 if test -n "$NM"; then
11819 echo "$as_me:$LINENO: result: $NM" >&5
11820 echo "${ECHO_T}$NM" >&6
11822 echo "$as_me:$LINENO: result: no" >&5
11823 echo "${ECHO_T}no" >&6
11827 if test -z "$ac_cv_prog_NM"; then
11829 # Extract the first word of "nm", so it can be a program name with args.
11830 set dummy nm
; ac_word
=$2
11831 echo "$as_me:$LINENO: checking for $ac_word" >&5
11832 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11833 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
11834 echo $ECHO_N "(cached) $ECHO_C" >&6
11836 if test -n "$ac_ct_NM"; then
11837 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
11839 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11840 for as_dir
in $PATH
11843 test -z "$as_dir" && as_dir
=.
11844 for ac_exec_ext
in '' $ac_executable_extensions; do
11845 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11846 ac_cv_prog_ac_ct_NM
="nm"
11847 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11855 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
11856 if test -n "$ac_ct_NM"; then
11857 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
11858 echo "${ECHO_T}$ac_ct_NM" >&6
11860 echo "$as_me:$LINENO: result: no" >&5
11861 echo "${ECHO_T}no" >&6
11866 NM
="$ac_cv_prog_NM"
11869 if test "x$ac_cv_have_dlvsym" != "x"; then
11870 # Try compiling a simple pthreads program. Find the shared libraries it
11871 # ends up with. Then use "nm" on those libraries to extract the
11872 # default symbol versioning suffix ("@@"), if any. But that's tricky.
11873 # Rather, run nm on the resulting executable. Unfortunately, autoconf
11874 # doesn't appear to have a macro that builds a test executable for
11875 # subsequent analysis ... so we do it by hand here.
11876 cat >> conftest.c
<< EOF
11877 #include <pthread.h>
11878 int main () { void *p = (void *) & pthread_create; return (int) p; }
11881 LIBS
="$LIBS -lpthread"
11882 pthread_create_version
="\"\""
11883 echo "$as_me:$LINENO: checking pthread_create symbol version" >&5
11884 echo $ECHO_N "checking pthread_create symbol version... $ECHO_C" >&6
11885 if eval $ac_link 2>&5 && test -s conftest
${ac_exeext}; then
11886 version
=`$NM conftest${ac_exeect} | grep 'pthread_create@@' | sed -e 's/^.*@@//'`
11887 if test "x$version" != "x"; then
11888 pthread_create_version
="\"$version\""
11891 echo "$as_me:$LINENO: result: $pthread_create_version" >&5
11892 echo "${ECHO_T}$pthread_create_version" >&6
11897 cat >>confdefs.h
<<_ACEOF
11898 #define PTHREAD_CREATE_VERSION $pthread_create_version
11903 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
11904 # similarly to how libstdc++ does it
11905 ac_test_CFLAGS
="${CFLAGS+set}"
11906 ac_save_CFLAGS
="$CFLAGS"
11908 # Check for -ffunction-sections -fdata-sections
11909 echo "$as_me:$LINENO: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
11910 echo $ECHO_N "checking for gcc that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
11911 CFLAGS
='-Werror -ffunction-sections -fdata-sections'
11912 cat >conftest.
$ac_ext <<_ACEOF
11915 cat confdefs.h
>>conftest.
$ac_ext
11916 cat >>conftest.
$ac_ext <<_ACEOF
11917 /* end confdefs.h. */
11927 rm -f conftest.
$ac_objext
11928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11929 (eval $ac_compile) 2>conftest.er1
11931 grep -v '^ *+' conftest.er1
>conftest.err
11933 cat conftest.err
>&5
11934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11935 (exit $ac_status); } &&
11936 { ac_try
='test -z "$ac_c_werror_flag"
11937 || test ! -s conftest.err'
11938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11939 (eval $ac_try) 2>&5
11941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11942 (exit $ac_status); }; } &&
11943 { ac_try
='test -s conftest.$ac_objext'
11944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11945 (eval $ac_try) 2>&5
11947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11948 (exit $ac_status); }; }; then
11951 echo "$as_me: failed program was:" >&5
11952 sed 's/^/| /' conftest.
$ac_ext >&5
11956 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11957 if test "$ac_test_CFLAGS" = set; then
11958 CFLAGS
="$ac_save_CFLAGS"
11960 # this is the suspicious part
11963 if test x
"$ac_fdsections" = x
"yes"; then
11964 SECTION_FLAGS
='-ffunction-sections -fdata-sections'
11966 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
11967 echo "${ECHO_T}$ac_fdsections" >&6
11971 # Check for the name of the symbol used for the entry point.
11972 echo "$as_me:$LINENO: checking for the name of the symbol used for the entry point" >&5
11973 echo $ECHO_N "checking for the name of the symbol used for the entry point... $ECHO_C" >&6
11974 if test "${mudflap_cv_entry_point+set}" = set; then
11975 echo $ECHO_N "(cached) $ECHO_C" >&6
11978 for name
in _start __start unknown
; do
11979 cat >conftest.
$ac_ext <<_ACEOF
11982 cat confdefs.h
>>conftest.
$ac_ext
11983 cat >>conftest.
$ac_ext <<_ACEOF
11984 /* end confdefs.h. */
11985 extern char $name[];
11994 rm -f conftest.
$ac_objext conftest
$ac_exeext
11995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11996 (eval $ac_link) 2>conftest.er1
11998 grep -v '^ *+' conftest.er1
>conftest.err
12000 cat conftest.err
>&5
12001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12002 (exit $ac_status); } &&
12003 { ac_try
='test -z "$ac_c_werror_flag"
12004 || test ! -s conftest.err'
12005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12006 (eval $ac_try) 2>&5
12008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12009 (exit $ac_status); }; } &&
12010 { ac_try
='test -s conftest$ac_exeext'
12011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12012 (eval $ac_try) 2>&5
12014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12015 (exit $ac_status); }; }; then
12018 echo "$as_me: failed program was:" >&5
12019 sed 's/^/| /' conftest.
$ac_ext >&5
12022 rm -f conftest.err conftest.
$ac_objext \
12023 conftest
$ac_exeext conftest.
$ac_ext
12025 mudflap_cv_entry_point
="$name"
12027 echo "$as_me:$LINENO: result: $mudflap_cv_entry_point" >&5
12028 echo "${ECHO_T}$mudflap_cv_entry_point" >&6
12029 if test "$mudflap_cv_entry_point" = unknown
; then
12030 { { echo "$as_me:$LINENO: error: none of the known symbol names works" >&5
12031 echo "$as_me: error: none of the known symbol names works" >&2;}
12032 { (exit 1); exit 1; }; }
12035 cat >>confdefs.h
<<_ACEOF
12036 #define ENTRY_POINT $mudflap_cv_entry_point
12041 if test ${multilib} = yes; then
12042 multilib_arg
="--enable-multilib"
12047 # See if we support thread-local storage.
12049 # Check whether --enable-tls or --disable-tls was given.
12050 if test "${enable_tls+set}" = set; then
12051 enableval
="$enable_tls"
12053 case "$enableval" in
12055 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
12056 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
12057 { (exit 1); exit 1; }; } ;;
12064 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
12065 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
12066 if test "${gcc_cv_have_tls+set}" = set; then
12067 echo $ECHO_N "(cached) $ECHO_C" >&6
12070 if test "$cross_compiling" = yes; then
12071 cat >conftest.
$ac_ext <<_ACEOF
12072 __thread int a; int b; int main() { return a = b; }
12074 rm -f conftest.
$ac_objext conftest
$ac_exeext
12075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12076 (eval $ac_link) 2>conftest.er1
12078 grep -v '^ *+' conftest.er1
>conftest.err
12080 cat conftest.err
>&5
12081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12082 (exit $ac_status); } &&
12083 { ac_try
='test -z "$ac_c_werror_flag"
12084 || test ! -s conftest.err'
12085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12086 (eval $ac_try) 2>&5
12088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12089 (exit $ac_status); }; } &&
12090 { ac_try
='test -s conftest$ac_exeext'
12091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12092 (eval $ac_try) 2>&5
12094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12095 (exit $ac_status); }; }; then
12096 gcc_cv_have_tls
=yes
12098 echo "$as_me: failed program was:" >&5
12099 sed 's/^/| /' conftest.
$ac_ext >&5
12103 rm -f conftest.err conftest.
$ac_objext \
12104 conftest
$ac_exeext conftest.
$ac_ext
12108 cat >conftest.
$ac_ext <<_ACEOF
12109 __thread int a; int b; int main() { return a = b; }
12111 rm -f conftest
$ac_exeext
12112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12113 (eval $ac_link) 2>&5
12115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12116 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12118 (eval $ac_try) 2>&5
12120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12121 (exit $ac_status); }; }; then
12122 chktls_save_LDFLAGS
="$LDFLAGS"
12123 LDFLAGS
="-static $LDFLAGS"
12124 cat >conftest.
$ac_ext <<_ACEOF
12125 int main() { return 0; }
12127 rm -f conftest.
$ac_objext conftest
$ac_exeext
12128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12129 (eval $ac_link) 2>conftest.er1
12131 grep -v '^ *+' conftest.er1
>conftest.err
12133 cat conftest.err
>&5
12134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12135 (exit $ac_status); } &&
12136 { ac_try
='test -z "$ac_c_werror_flag"
12137 || test ! -s conftest.err'
12138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12139 (eval $ac_try) 2>&5
12141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12142 (exit $ac_status); }; } &&
12143 { ac_try
='test -s conftest$ac_exeext'
12144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12145 (eval $ac_try) 2>&5
12147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12148 (exit $ac_status); }; }; then
12149 if test "$cross_compiling" = yes; then
12150 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
12151 echo "$as_me: error: in \`$ac_pwd':" >&2;}
12152 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
12153 See \`config.log' for more details." >&5
12154 echo "$as_me: error: cannot run test program while cross compiling
12155 See \`config.log' for more details." >&2;}
12156 { (exit 1); exit 1; }; }; }
12158 cat >conftest.
$ac_ext <<_ACEOF
12159 __thread int a; int b; int main() { return a = b; }
12161 rm -f conftest
$ac_exeext
12162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12163 (eval $ac_link) 2>&5
12165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12166 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12168 (eval $ac_try) 2>&5
12170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12171 (exit $ac_status); }; }; then
12172 gcc_cv_have_tls
=yes
12174 echo "$as_me: program exited with status $ac_status" >&5
12175 echo "$as_me: failed program was:" >&5
12176 sed 's/^/| /' conftest.
$ac_ext >&5
12178 ( exit $ac_status )
12181 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12184 echo "$as_me: failed program was:" >&5
12185 sed 's/^/| /' conftest.
$ac_ext >&5
12187 gcc_cv_have_tls
=yes
12189 rm -f conftest.err conftest.
$ac_objext \
12190 conftest
$ac_exeext conftest.
$ac_ext
12191 LDFLAGS
="$chktls_save_LDFLAGS"
12192 if test $gcc_cv_have_tls = yes; then
12193 chktls_save_CFLAGS
="$CFLAGS"
12194 thread_CFLAGS
=failed
12195 for flag
in '' '-pthread' '-lpthread'; do
12196 CFLAGS
="$flag $chktls_save_CFLAGS"
12197 cat >conftest.
$ac_ext <<_ACEOF
12200 cat confdefs.h
>>conftest.
$ac_ext
12201 cat >>conftest.
$ac_ext <<_ACEOF
12202 /* end confdefs.h. */
12203 #include <pthread.h>
12204 void *g(void *d) { return NULL; }
12208 pthread_t t; pthread_create(&t,NULL,g,NULL);
12213 rm -f conftest.
$ac_objext conftest
$ac_exeext
12214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12215 (eval $ac_link) 2>conftest.er1
12217 grep -v '^ *+' conftest.er1
>conftest.err
12219 cat conftest.err
>&5
12220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12221 (exit $ac_status); } &&
12222 { ac_try
='test -z "$ac_c_werror_flag"
12223 || test ! -s conftest.err'
12224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12225 (eval $ac_try) 2>&5
12227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12228 (exit $ac_status); }; } &&
12229 { ac_try
='test -s conftest$ac_exeext'
12230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12231 (eval $ac_try) 2>&5
12233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12234 (exit $ac_status); }; }; then
12235 thread_CFLAGS
="$flag"
12237 echo "$as_me: failed program was:" >&5
12238 sed 's/^/| /' conftest.
$ac_ext >&5
12241 rm -f conftest.err conftest.
$ac_objext \
12242 conftest
$ac_exeext conftest.
$ac_ext
12243 if test "X$thread_CFLAGS" != Xfailed
; then
12247 CFLAGS
="$chktls_save_CFLAGS"
12248 if test "X$thread_CFLAGS" != Xfailed
; then
12249 CFLAGS
="$thread_CFLAGS $chktls_save_CFLAGS"
12250 if test "$cross_compiling" = yes; then
12251 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
12252 echo "$as_me: error: in \`$ac_pwd':" >&2;}
12253 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
12254 See \`config.log' for more details." >&5
12255 echo "$as_me: error: cannot run test program while cross compiling
12256 See \`config.log' for more details." >&2;}
12257 { (exit 1); exit 1; }; }; }
12259 cat >conftest.
$ac_ext <<_ACEOF
12262 cat confdefs.h
>>conftest.
$ac_ext
12263 cat >>conftest.
$ac_ext <<_ACEOF
12264 /* end confdefs.h. */
12265 #include <pthread.h>
12267 static int *a_in_other_thread;
12269 thread_func (void *arg)
12271 a_in_other_thread = &a;
12278 void *thread_retval;
12279 int *a_in_main_thread;
12280 if (pthread_create (&thread, (pthread_attr_t *)0,
12281 thread_func, (void *)0))
12283 a_in_main_thread = &a;
12284 if (pthread_join (thread, &thread_retval))
12286 return (a_in_other_thread == a_in_main_thread);
12291 rm -f conftest
$ac_exeext
12292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12293 (eval $ac_link) 2>&5
12295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12296 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12298 (eval $ac_try) 2>&5
12300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12301 (exit $ac_status); }; }; then
12302 gcc_cv_have_tls
=yes
12304 echo "$as_me: program exited with status $ac_status" >&5
12305 echo "$as_me: failed program was:" >&5
12306 sed 's/^/| /' conftest.
$ac_ext >&5
12308 ( exit $ac_status )
12311 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12313 CFLAGS
="$chktls_save_CFLAGS"
12317 echo "$as_me: program exited with status $ac_status" >&5
12318 echo "$as_me: failed program was:" >&5
12319 sed 's/^/| /' conftest.
$ac_ext >&5
12321 ( exit $ac_status )
12324 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12327 echo "$as_me:$LINENO: result: $gcc_cv_have_tls" >&5
12328 echo "${ECHO_T}$gcc_cv_have_tls" >&6
12329 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
12331 cat >>confdefs.h
<<\_ACEOF
12337 ac_config_files
="$ac_config_files Makefile testsuite/Makefile testsuite/mfconfig.exp"
12339 cat >confcache
<<\_ACEOF
12340 # This file is a shell script that caches the results of configure
12341 # tests run on this system so they can be shared between configure
12342 # scripts and configure runs, see configure's option --config-cache.
12343 # It is not useful on other systems. If it contains results you don't
12344 # want to keep, you may remove or edit it.
12346 # config.status only pays attention to the cache file if you give it
12347 # the --recheck option to rerun configure.
12349 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12350 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12351 # following values.
12355 # The following way of writing the cache mishandles newlines in values,
12356 # but we know of no workaround that is simple, portable, and efficient.
12357 # So, don't put newlines in cache variables' values.
12358 # Ultrix sh set writes to stderr and can't be redirected directly,
12359 # and sets the high bit in the cache file unless we assign to the vars.
12362 case `(ac_space=' '; set | grep ac_space) 2>&1` in
12364 # `set' does not quote correctly, so add quotes (double-quote
12365 # substitution turns \\\\ into \\, and sed turns \\ into \).
12368 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12371 # `set' quotes correctly as required by POSIX, so do not add quotes.
12373 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
12380 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12382 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12384 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
12385 if test -w $cache_file; then
12386 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
12387 cat confcache
>$cache_file
12389 echo "not updating unwritable cache $cache_file"
12394 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12395 # Let make expand exec_prefix.
12396 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12398 # VPATH may cause trouble with some makes, so we remove $(srcdir),
12399 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
12400 # trailing colons and then remove the whole line if VPATH becomes empty
12401 # (actually we leave an empty line to preserve line numbers).
12402 if test "x$srcdir" = x.
; then
12403 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
12404 s/:*\$(srcdir):*/:/;
12405 s/:*\${srcdir}:*/:/;
12407 s/^\([^=]*=[ ]*\):*/\1/;
12413 DEFS
=-DHAVE_CONFIG_H
12417 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12418 # 1. Remove the extension, and $U if already installed.
12419 ac_i
=`echo "$ac_i" |
12420 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
12422 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
12423 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
12425 LIBOBJS
=$ac_libobjs
12427 LTLIBOBJS
=$ac_ltlibobjs
12430 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
12431 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
12432 Usually this means the macro was only invoked conditionally." >&5
12433 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
12434 Usually this means the macro was only invoked conditionally." >&2;}
12435 { (exit 1); exit 1; }; }
12437 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12438 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
12439 Usually this means the macro was only invoked conditionally." >&5
12440 echo "$as_me: error: conditional \"AMDEP\" was never defined.
12441 Usually this means the macro was only invoked conditionally." >&2;}
12442 { (exit 1); exit 1; }; }
12444 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12445 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
12446 Usually this means the macro was only invoked conditionally." >&5
12447 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
12448 Usually this means the macro was only invoked conditionally." >&2;}
12449 { (exit 1); exit 1; }; }
12451 if test -z "${LIBMUDFLAPTH_TRUE}" && test -z "${LIBMUDFLAPTH_FALSE}"; then
12452 { { echo "$as_me:$LINENO: error: conditional \"LIBMUDFLAPTH\" was never defined.
12453 Usually this means the macro was only invoked conditionally." >&5
12454 echo "$as_me: error: conditional \"LIBMUDFLAPTH\" was never defined.
12455 Usually this means the macro was only invoked conditionally." >&2;}
12456 { (exit 1); exit 1; }; }
12459 : ${CONFIG_STATUS=./config.status}
12460 ac_clean_files_save
=$ac_clean_files
12461 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12462 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
12463 echo "$as_me: creating $CONFIG_STATUS" >&6;}
12464 cat >$CONFIG_STATUS <<_ACEOF
12466 # Generated by $as_me.
12467 # Run this file to recreate the current configuration.
12468 # Compiler output produced by configure, useful for debugging
12469 # configure, is in config.log if it exists.
12472 ac_cs_recheck=false
12474 SHELL=\${CONFIG_SHELL-$SHELL}
12477 cat >>$CONFIG_STATUS <<\_ACEOF
12478 ## --------------------- ##
12479 ## M4sh Initialization. ##
12480 ## --------------------- ##
12482 # Be Bourne compatible
12483 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
12486 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
12487 # is contrary to our usage. Disable this feature.
12488 alias -g '${1+"$@"}'='"$@"'
12489 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
12492 DUALCASE
=1; export DUALCASE
# for MKS sh
12494 # Support unset when possible.
12495 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
12502 # Work around bugs in pre-3.0 UWIN ksh.
12503 $as_unset ENV MAIL MAILPATH
12510 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
12511 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
12512 LC_TELEPHONE LC_TIME
12514 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
12515 eval $as_var=C
; export $as_var
12521 # Required to use basename.
12522 if expr a
: '\(a\)' >/dev
/null
2>&1; then
12528 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
12529 as_basename
=basename
12535 # Name of the executable.
12536 as_me
=`$as_basename "$0" ||
12537 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12538 X"$0" : 'X\(//\)$' \| \
12539 X"$0" : 'X\(/\)$' \| \
12540 . : '\(.\)' 2>/dev/null ||
12542 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
12543 /^X\/\(\/\/\)$/{ s//\1/; q; }
12544 /^X\/\(\/\).*/{ s//\1/; q; }
12548 # PATH needs CR, and LINENO needs CR and PATH.
12549 # Avoid depending upon Character Ranges.
12550 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12551 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12552 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12553 as_cr_digits
='0123456789'
12554 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12556 # The user is always right.
12557 if test "${PATH_SEPARATOR+set}" != set; then
12558 echo "#! /bin/sh" >conf$$.sh
12559 echo "exit 0" >>conf$$.sh
12561 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
12570 as_lineno_1
=$LINENO
12571 as_lineno_2
=$LINENO
12572 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
12573 test "x$as_lineno_1" != "x$as_lineno_2" &&
12574 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
12575 # Find who we are. Look in the path if we contain no path at all
12578 *[\\/]* ) as_myself
=$0 ;;
12579 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12580 for as_dir
in $PATH
12583 test -z "$as_dir" && as_dir
=.
12584 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
12589 # We did not find ourselves, most probably we were run as `sh COMMAND'
12590 # in which case we are not to be found in the path.
12591 if test "x$as_myself" = x
; then
12594 if test ! -f "$as_myself"; then
12595 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
12596 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
12597 { (exit 1); exit 1; }; }
12599 case $CONFIG_SHELL in
12601 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12602 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
12605 test -z "$as_dir" && as_dir
=.
12606 for as_base
in sh bash ksh sh5
; do
12609 if ("$as_dir/$as_base" -c '
12610 as_lineno_1=$LINENO
12611 as_lineno_2=$LINENO
12612 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
12613 test "x$as_lineno_1" != "x$as_lineno_2" &&
12614 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
12615 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
12616 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
12617 CONFIG_SHELL
=$as_dir/$as_base
12618 export CONFIG_SHELL
12619 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
12627 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
12628 # uniformly replaced by the line number. The first 'sed' inserts a
12629 # line-number line before each line; the second 'sed' does the real
12630 # work. The second script uses 'N' to pair each line-number line
12631 # with the numbered line, and appends trailing '-' during
12632 # substitution so that $LINENO is not a special case at line end.
12633 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
12634 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
12635 sed '=' <$as_myself |
12640 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
12643 s,^['$as_cr_digits']*\n,,
12644 ' >$as_me.lineno
&&
12645 chmod +x
$as_me.lineno ||
12646 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
12647 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
12648 { (exit 1); exit 1; }; }
12650 # Don't try to exec as it changes $[0], causing all sort of problems
12651 # (the dirname of $[0] is not the place where we might find the
12652 # original and so on. Autoconf is especially sensible to this).
12654 # Exit status is that of the last command.
12659 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
12660 *c
*,-n*) ECHO_N
= ECHO_C
='
12662 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
12663 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
12666 if expr a
: '\(a\)' >/dev
/null
2>&1; then
12672 rm -f conf$$ conf$$.exe conf$$.
file
12674 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12675 # We could just check for DJGPP; but this test a) works b) is more generic
12676 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
12677 if test -f conf$$.exe
; then
12678 # Don't use ln at all; we don't have any links
12683 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12688 rm -f conf$$ conf$$.exe conf$$.
file
12690 if mkdir
-p .
2>/dev
/null
; then
12693 test -d .
/-p && rmdir .
/-p
12697 as_executable_p
="test -f"
12699 # Sed expression to map a string onto a valid CPP name.
12700 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12702 # Sed expression to map a string onto a valid variable name.
12703 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12707 # We need space, tab and new line, in precisely that order.
12717 # Open the log real soon, to keep \$[0] and so on meaningful, and to
12718 # report actual input values of CONFIG_FILES etc. instead of their
12719 # values after options handling. Logging --version etc. is OK.
12723 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12724 ## Running $as_me. ##
12729 This file was extended by libmudflap $as_me 1.0, which was
12730 generated by GNU Autoconf 2.59. Invocation command line was
12732 CONFIG_FILES = $CONFIG_FILES
12733 CONFIG_HEADERS = $CONFIG_HEADERS
12734 CONFIG_LINKS = $CONFIG_LINKS
12735 CONFIG_COMMANDS = $CONFIG_COMMANDS
12739 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
12743 # Files that config.status was made for.
12744 if test -n "$ac_config_files"; then
12745 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
12748 if test -n "$ac_config_headers"; then
12749 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
12752 if test -n "$ac_config_links"; then
12753 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
12756 if test -n "$ac_config_commands"; then
12757 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
12760 cat >>$CONFIG_STATUS <<\_ACEOF
12763 \`$as_me' instantiates files from templates according to the
12764 current configuration.
12766 Usage: $0 [OPTIONS] [FILE]...
12768 -h, --help print this help, then exit
12769 -V, --version print version number, then exit
12770 -q, --quiet do not print progress messages
12771 -d, --debug don't remove temporary files
12772 --recheck update $as_me by reconfiguring in the same conditions
12773 --file=FILE[:TEMPLATE]
12774 instantiate the configuration file FILE
12775 --header=FILE[:TEMPLATE]
12776 instantiate the configuration header FILE
12778 Configuration files:
12781 Configuration headers:
12784 Configuration commands:
12787 Report bugs to <bug-autoconf@gnu.org>."
12790 cat >>$CONFIG_STATUS <<_ACEOF
12792 libmudflap config.status 1.0
12793 configured by $0, generated by GNU Autoconf 2.59,
12794 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
12796 Copyright (C) 2003 Free Software Foundation, Inc.
12797 This config.status script is free software; the Free Software Foundation
12798 gives unlimited permission to copy, distribute and modify it."
12803 cat >>$CONFIG_STATUS <<\_ACEOF
12804 # If no file are specified by the user, then we need to provide default
12805 # value. By we need to know if files were specified by the user.
12811 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
12812 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
12820 *) # This is not an option, so the user has probably given explicit
12823 ac_need_defaults
=false
;;
12827 # Handling of the options.
12829 cat >>$CONFIG_STATUS <<\_ACEOF
12830 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
12832 --version |
--vers* |
-V )
12833 echo "$ac_cs_version"; exit 0 ;;
12835 # Conflict between --help and --header
12836 { { echo "$as_me:$LINENO: error: ambiguous option: $1
12837 Try \`$0 --help' for more information." >&5
12838 echo "$as_me: error: ambiguous option: $1
12839 Try \`$0 --help' for more information." >&2;}
12840 { (exit 1); exit 1; }; };;
12841 --help |
--hel |
-h )
12842 echo "$ac_cs_usage"; exit 0 ;;
12843 --debug |
--d* |
-d )
12845 --file |
--fil |
--fi |
--f )
12847 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
12848 ac_need_defaults
=false
;;
12849 --header |
--heade |
--head |
--hea )
12851 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
12852 ac_need_defaults
=false
;;
12853 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
12854 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
12857 # This is an error.
12858 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
12859 Try \`$0 --help' for more information." >&5
12860 echo "$as_me: error: unrecognized option: $1
12861 Try \`$0 --help' for more information." >&2;}
12862 { (exit 1); exit 1; }; } ;;
12864 *) ac_config_targets
="$ac_config_targets $1" ;;
12870 ac_configure_extra_args
=
12872 if $ac_cs_silent; then
12874 ac_configure_extra_args
="$ac_configure_extra_args --silent"
12878 cat >>$CONFIG_STATUS <<_ACEOF
12879 if \$ac_cs_recheck; then
12880 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
12881 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12886 cat >>$CONFIG_STATUS <<_ACEOF
12888 # INIT-COMMANDS section.
12895 with_multisubdir="$with_multisubdir"
12896 with_multisrctop="$with_multisrctop"
12897 with_target_subdir="$with_target_subdir"
12898 ac_configure_args="${multilib_arg} ${ac_configure_args}"
12899 multi_basedir="$multi_basedir"
12900 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
12902 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12905 # The HP-UX ksh and POSIX shell print the target directory to stdout
12906 # if CDPATH is set.
12907 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12909 sed_quote_subst='$sed_quote_subst'
12910 double_quote_subst='$double_quote_subst'
12911 delay_variable_subst='$delay_variable_subst'
12912 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
12913 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
12914 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
12915 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
12916 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
12917 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
12918 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
12919 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
12920 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
12921 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
12922 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
12923 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
12924 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
12925 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
12926 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
12927 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
12928 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
12929 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
12930 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
12931 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
12932 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
12933 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
12934 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
12935 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
12936 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
12937 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
12938 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
12939 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12940 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
12941 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
12942 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
12943 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
12944 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
12945 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
12946 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12947 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12948 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12949 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
12950 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
12951 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
12952 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
12953 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
12954 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
12955 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"`'
12956 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
12957 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
12958 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
12959 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
12960 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
12961 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
12962 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
12963 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
12964 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
12965 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
12966 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
12967 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12968 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12969 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
12970 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
12971 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12972 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12973 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
12974 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12975 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12976 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12977 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12978 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12979 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12980 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
12981 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
12982 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
12983 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12984 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
12985 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
12986 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
12987 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
12988 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
12989 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12990 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
12991 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
12992 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
12993 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
12994 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
12995 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12996 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
12997 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
12998 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12999 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
13000 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
13001 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13002 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
13003 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
13004 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13005 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13006 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
13007 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13008 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
13009 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13010 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13011 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13012 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13013 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
13014 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
13015 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13016 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13017 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
13018 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
13019 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
13020 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
13021 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
13022 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
13025 LTCFLAGS='$LTCFLAGS'
13026 compiler='$compiler_DEFAULT'
13028 # Quote evaled strings.
13039 deplibs_check_method \
13048 lt_cv_sys_global_symbol_pipe \
13049 lt_cv_sys_global_symbol_to_cdecl \
13050 lt_cv_sys_global_symbol_to_c_name_address \
13053 lt_prog_compiler_no_builtin_flag \
13054 lt_prog_compiler_wl \
13055 lt_prog_compiler_pic \
13056 lt_prog_compiler_static \
13057 lt_cv_prog_compiler_c_o \
13060 export_dynamic_flag_spec \
13061 whole_archive_flag_spec \
13062 compiler_needs_object \
13064 allow_undefined_flag \
13065 no_undefined_flag \
13066 hardcode_libdir_flag_spec \
13067 hardcode_libdir_flag_spec_ld \
13068 hardcode_libdir_separator \
13073 variables_saved_for_relink \
13075 library_names_spec \
13080 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13081 *[\\\\\\\`\\"\\\$]*)
13082 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13085 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13090 # Double-quote double-evaled strings.
13091 for var in reload_cmds \
13092 old_postinstall_cmds \
13093 old_postuninstall_cmds \
13095 extract_expsyms_cmds \
13096 old_archive_from_new_cmds \
13097 old_archive_from_expsyms_cmds \
13099 archive_expsym_cmds \
13101 module_expsym_cmds \
13102 export_symbols_cmds \
13105 postuninstall_cmds \
13107 sys_lib_search_path_spec \
13108 sys_lib_dlsearch_path_spec; do
13109 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13110 *[\\\\\\\`\\"\\\$]*)
13111 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13114 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13119 # Fix-up fallback echo if it was mangled by the above quoting rules.
13121 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
13125 ac_aux_dir='$ac_aux_dir'
13126 xsi_shell='$xsi_shell'
13127 lt_shell_append='$lt_shell_append'
13129 # See if we are running on zsh, and set the options which allow our
13130 # commands through without removal of \ escapes INIT.
13131 if test -n "\${ZSH_VERSION+set}" ; then
13132 setopt NO_GLOB_SUBST
13138 TIMESTAMP='$TIMESTAMP'
13149 cat >>$CONFIG_STATUS <<\_ACEOF
13150 for ac_config_target
in $ac_config_targets
13152 case "$ac_config_target" in
13153 # Handling of arguments.
13154 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13155 "testsuite/Makefile" ) CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
13156 "testsuite/mfconfig.exp" ) CONFIG_FILES
="$CONFIG_FILES testsuite/mfconfig.exp" ;;
13157 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
13158 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
13159 "libtool" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
13160 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
13161 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13162 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13163 { (exit 1); exit 1; }; };;
13167 # If the user did not use the arguments to specify the items to instantiate,
13168 # then the envvar interface is used. Set only those that are not.
13169 # We use the long form for the default assignment because of an extremely
13170 # bizarre bug on SunOS 4.1.3.
13171 if $ac_need_defaults; then
13172 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13173 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13174 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13177 # Have a temporary directory for convenience. Make it in the build tree
13178 # simply because there is no reason to put it here, and in addition,
13179 # creating and moving files from /tmp can sometimes cause problems.
13180 # Create a temporary directory, and hook for its removal unless debugging.
13183 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
13184 trap '{ (exit 1); exit 1; }' 1 2 13 15
13187 # Create a (secure) tmp directory for tmp files.
13190 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
13191 test -n "$tmp" && test -d "$tmp"
13194 tmp
=.
/confstat$$
-$RANDOM
13195 (umask 077 && mkdir
$tmp)
13198 echo "$me: cannot create a temporary directory in ." >&2
13199 { (exit 1); exit 1; }
13204 cat >>$CONFIG_STATUS <<_ACEOF
13207 # CONFIG_FILES section.
13210 # No need to generate the scripts if there are no CONFIG_FILES.
13211 # This happens for instance when ./config.status config.h
13212 if test -n "\$CONFIG_FILES"; then
13213 # Protect against being on the right side of a sed subst in config.status.
13214 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
13215 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
13216 s,@SHELL@,$SHELL,;t t
13217 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
13218 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
13219 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
13220 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
13221 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
13222 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
13223 s,@exec_prefix@,$exec_prefix,;t t
13224 s,@prefix@,$prefix,;t t
13225 s,@program_transform_name@,$program_transform_name,;t t
13226 s,@bindir@,$bindir,;t t
13227 s,@sbindir@,$sbindir,;t t
13228 s,@libexecdir@,$libexecdir,;t t
13229 s,@datadir@,$datadir,;t t
13230 s,@sysconfdir@,$sysconfdir,;t t
13231 s,@sharedstatedir@,$sharedstatedir,;t t
13232 s,@localstatedir@,$localstatedir,;t t
13233 s,@libdir@,$libdir,;t t
13234 s,@includedir@,$includedir,;t t
13235 s,@oldincludedir@,$oldincludedir,;t t
13236 s,@infodir@,$infodir,;t t
13237 s,@mandir@,$mandir,;t t
13238 s,@build_alias@,$build_alias,;t t
13239 s,@host_alias@,$host_alias,;t t
13240 s,@target_alias@,$target_alias,;t t
13241 s,@DEFS@,$DEFS,;t t
13242 s,@ECHO_C@,$ECHO_C,;t t
13243 s,@ECHO_N@,$ECHO_N,;t t
13244 s,@ECHO_T@,$ECHO_T,;t t
13245 s,@LIBS@,$LIBS,;t t
13246 s,@build@,$build,;t t
13247 s,@build_cpu@,$build_cpu,;t t
13248 s,@build_vendor@,$build_vendor,;t t
13249 s,@build_os@,$build_os,;t t
13250 s,@host@,$host,;t t
13251 s,@host_cpu@,$host_cpu,;t t
13252 s,@host_vendor@,$host_vendor,;t t
13253 s,@host_os@,$host_os,;t t
13254 s,@target@,$target,;t t
13255 s,@target_cpu@,$target_cpu,;t t
13256 s,@target_vendor@,$target_vendor,;t t
13257 s,@target_os@,$target_os,;t t
13258 s,@target_noncanonical@,$target_noncanonical,;t t
13259 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
13260 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
13261 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
13262 s,@CYGPATH_W@,$CYGPATH_W,;t t
13263 s,@PACKAGE@,$PACKAGE,;t t
13264 s,@VERSION@,$VERSION,;t t
13265 s,@ACLOCAL@,$ACLOCAL,;t t
13266 s,@AUTOCONF@,$AUTOCONF,;t t
13267 s,@AUTOMAKE@,$AUTOMAKE,;t t
13268 s,@AUTOHEADER@,$AUTOHEADER,;t t
13269 s,@MAKEINFO@,$MAKEINFO,;t t
13270 s,@install_sh@,$install_sh,;t t
13271 s,@STRIP@,$STRIP,;t t
13272 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
13273 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
13274 s,@mkdir_p@,$mkdir_p,;t t
13276 s,@SET_MAKE@,$SET_MAKE,;t t
13277 s,@am__leading_dot@,$am__leading_dot,;t t
13278 s,@AMTAR@,$AMTAR,;t t
13279 s,@am__tar@,$am__tar,;t t
13280 s,@am__untar@,$am__untar,;t t
13281 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
13282 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
13283 s,@MAINT@,$MAINT,;t t
13284 s,@multi_basedir@,$multi_basedir,;t t
13286 s,@ac_ct_CC@,$ac_ct_CC,;t t
13287 s,@EXEEXT@,$EXEEXT,;t t
13288 s,@OBJEXT@,$OBJEXT,;t t
13289 s,@DEPDIR@,$DEPDIR,;t t
13290 s,@am__include@,$am__include,;t t
13291 s,@am__quote@,$am__quote,;t t
13292 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
13293 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
13294 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
13295 s,@CCDEPMODE@,$CCDEPMODE,;t t
13296 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
13297 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
13298 s,@CFLAGS@,$CFLAGS,;t t
13300 s,@CPPFLAGS@,$CPPFLAGS,;t t
13301 s,@EGREP@,$EGREP,;t t
13302 s,@LIBTOOL@,$LIBTOOL,;t t
13304 s,@FGREP@,$FGREP,;t t
13305 s,@GREP@,$GREP,;t t
13307 s,@DUMPBIN@,$DUMPBIN,;t t
13308 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
13310 s,@LN_S@,$LN_S,;t t
13312 s,@ac_ct_AR@,$ac_ct_AR,;t t
13313 s,@RANLIB@,$RANLIB,;t t
13314 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
13315 s,@lt_ECHO@,$lt_ECHO,;t t
13316 s,@enable_shared@,$enable_shared,;t t
13317 s,@enable_static@,$enable_static,;t t
13318 s,@MF_HAVE_STDINT_H@,$MF_HAVE_STDINT_H,;t t
13319 s,@MF_HAVE_UINTPTR_T@,$MF_HAVE_UINTPTR_T,;t t
13320 s,@LIBMUDFLAPTH_TRUE@,$LIBMUDFLAPTH_TRUE,;t t
13321 s,@LIBMUDFLAPTH_FALSE@,$LIBMUDFLAPTH_FALSE,;t t
13322 s,@build_libmudflapth@,$build_libmudflapth,;t t
13323 s,@toolexecdir@,$toolexecdir,;t t
13324 s,@toolexeclibdir@,$toolexeclibdir,;t t
13325 s,@ac_ct_NM@,$ac_ct_NM,;t t
13326 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
13327 s,@LIBOBJS@,$LIBOBJS,;t t
13328 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
13333 cat >>$CONFIG_STATUS <<\_ACEOF
13334 # Split the substitutions into bite-sized pieces for seds with
13335 # small command number limits, like on Digital OSF/1 and HP-UX.
13336 ac_max_sed_lines
=48
13337 ac_sed_frag
=1 # Number of current file.
13338 ac_beg
=1 # First line for current file.
13339 ac_end
=$ac_max_sed_lines # Line after last line for current file.
13342 while $ac_more_lines; do
13343 if test $ac_beg -gt 1; then
13344 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
13346 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
13348 if test ! -s $tmp/subs.frag
; then
13349 ac_more_lines
=false
13351 # The purpose of the label and of the branching condition is to
13352 # speed up the sed processing (if there are no `@' at all, there
13353 # is no need to browse any of the substitutions).
13354 # These are the two extra sed commands mentioned above.
13356 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
13357 if test -z "$ac_sed_cmds"; then
13358 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
13360 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
13362 ac_sed_frag
=`expr $ac_sed_frag + 1`
13364 ac_end
=`expr $ac_end + $ac_max_sed_lines`
13367 if test -z "$ac_sed_cmds"; then
13370 fi # test -n "$CONFIG_FILES"
13373 cat >>$CONFIG_STATUS <<\_ACEOF
13374 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
13375 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13377 - |
*:- |
*:-:* ) # input from stdin
13379 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13380 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
13381 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13382 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
13383 * ) ac_file_in
=$ac_file.
in ;;
13386 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
13387 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
13388 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13389 X"$ac_file" : 'X\(//\)[^/]' \| \
13390 X"$ac_file" : 'X\(//\)$' \| \
13391 X"$ac_file" : 'X\(/\)' \| \
13392 . : '\(.\)' 2>/dev/null ||
13394 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13395 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13396 /^X\(\/\/\)$/{ s//\1/; q; }
13397 /^X\(\/\).*/{ s//\1/; q; }
13399 { if $as_mkdir_p; then
13404 while test ! -d "$as_dir"; do
13405 as_dirs
="$as_dir $as_dirs"
13406 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
13407 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13408 X"$as_dir" : 'X\(//\)[^/]' \| \
13409 X"$as_dir" : 'X\(//\)$' \| \
13410 X"$as_dir" : 'X\(/\)' \| \
13411 . : '\(.\)' 2>/dev/null ||
13413 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13414 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13415 /^X\(\/\/\)$/{ s//\1/; q; }
13416 /^X\(\/\).*/{ s//\1/; q; }
13419 test ! -n "$as_dirs" || mkdir
$as_dirs
13420 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13421 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13422 { (exit 1); exit 1; }; }; }
13426 if test "$ac_dir" != .
; then
13427 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13428 # A "../" for each directory in $ac_dir_suffix.
13429 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
13431 ac_dir_suffix
= ac_top_builddir
=
13435 .
) # No --srcdir option. We are building in place.
13437 if test -z "$ac_top_builddir"; then
13440 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
13442 [\\/]* | ?
:[\\/]* ) # Absolute path.
13443 ac_srcdir
=$srcdir$ac_dir_suffix;
13444 ac_top_srcdir
=$srcdir ;;
13445 *) # Relative path.
13446 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
13447 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
13450 # Do not use `cd foo && pwd` to compute absolute paths, because
13451 # the directories may not exist.
13453 .
) ac_abs_builddir
="$ac_dir";;
13456 .
) ac_abs_builddir
=`pwd`;;
13457 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
13458 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
13461 case $ac_abs_builddir in
13462 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
13464 case ${ac_top_builddir}.
in
13465 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
13466 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
13467 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
13470 case $ac_abs_builddir in
13471 .
) ac_abs_srcdir
=$ac_srcdir;;
13474 .
) ac_abs_srcdir
=$ac_abs_builddir;;
13475 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
13476 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
13479 case $ac_abs_builddir in
13480 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
13482 case $ac_top_srcdir in
13483 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
13484 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
13485 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
13491 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
13492 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
13495 if test x
"$ac_file" != x-
; then
13496 { echo "$as_me:$LINENO: creating $ac_file" >&5
13497 echo "$as_me: creating $ac_file" >&6;}
13500 # Let's still pretend it is `configure' which instantiates (i.e., don't
13501 # use $as_me), people would be surprised to read:
13502 # /* config.h. Generated by config.status. */
13503 if test x
"$ac_file" = x-
; then
13506 configure_input
="$ac_file. "
13508 configure_input
=$configure_input"Generated from `echo $ac_file_in |
13509 sed 's,.*/,,'` by configure."
13511 # First look for the input files in the build tree, otherwise in the
13513 ac_file_inputs
=`IFS=:
13514 for f in $ac_file_in; do
13516 -) echo $tmp/stdin ;;
13518 # Absolute (can't be DOS-style, as IFS=:)
13519 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13520 echo "$as_me: error: cannot find input file: $f" >&2;}
13521 { (exit 1); exit 1; }; }
13524 if test -f "$f"; then
13527 elif test -f "$srcdir/$f"; then
13532 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13533 echo "$as_me: error: cannot find input file: $f" >&2;}
13534 { (exit 1); exit 1; }; }
13537 done` ||
{ (exit 1); exit 1; }
13539 cat >>$CONFIG_STATUS <<_ACEOF
13543 cat >>$CONFIG_STATUS <<\_ACEOF
13545 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13546 s
,@configure_input@
,$configure_input,;t t
13547 s
,@srcdir@
,$ac_srcdir,;t t
13548 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
13549 s
,@top_srcdir@
,$ac_top_srcdir,;t t
13550 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
13551 s
,@builddir@
,$ac_builddir,;t t
13552 s
,@abs_builddir@
,$ac_abs_builddir,;t t
13553 s
,@top_builddir@
,$ac_top_builddir,;t t
13554 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
13555 s
,@INSTALL@
,$ac_INSTALL,;t t
13556 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
13558 if test x"$ac_file" != x-; then
13559 mv $tmp/out $ac_file
13567 cat >>$CONFIG_STATUS <<\_ACEOF
13570 # CONFIG_HEADER section.
13573 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
13574 # NAME is the cpp macro being defined and VALUE is the value it is being given.
13576 # ac_d sets the value in "#define NAME VALUE" lines.
13577 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
13578 ac_dB
='[ ].*$,\1#\2'
13581 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
13582 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
13583 ac_uB
='$,\1#\2define\3'
13587 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
13588 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13590 - |
*:- |
*:-:* ) # input from stdin
13592 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13593 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
13594 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13595 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
13596 * ) ac_file_in
=$ac_file.
in ;;
13599 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
13600 echo "$as_me: creating $ac_file" >&6;}
13602 # First look for the input files in the build tree, otherwise in the
13604 ac_file_inputs
=`IFS=:
13605 for f in $ac_file_in; do
13607 -) echo $tmp/stdin ;;
13609 # Absolute (can't be DOS-style, as IFS=:)
13610 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13611 echo "$as_me: error: cannot find input file: $f" >&2;}
13612 { (exit 1); exit 1; }; }
13613 # Do quote $f, to prevent DOS paths from being IFS'd.
13616 if test -f "$f"; then
13619 elif test -f "$srcdir/$f"; then
13624 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13625 echo "$as_me: error: cannot find input file: $f" >&2;}
13626 { (exit 1); exit 1; }; }
13629 done` ||
{ (exit 1); exit 1; }
13630 # Remove the trailing spaces.
13631 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
13635 # Transform confdefs.h into two sed scripts, `conftest.defines' and
13636 # `conftest.undefs', that substitutes the proper values into
13637 # config.h.in to produce config.h. The first handles `#define'
13638 # templates, and the second `#undef' templates.
13639 # And first: Protect against being on the right side of a sed subst in
13640 # config.status. Protect against being in an unquoted here document
13641 # in config.status.
13642 rm -f conftest.defines conftest.undefs
13643 # Using a here document instead of a string reduces the quoting nightmare.
13644 # Putting comments in sed scripts is not portable.
13646 # `end' is used to avoid that the second main sed command (meant for
13647 # 0-ary CPP macros) applies to n-ary macro definitions.
13648 # See the Autoconf documentation for `clear'.
13649 cat >confdef2sed.
sed <<\_ACEOF
13654 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
13656 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
13659 # If some macros were called several times there might be several times
13660 # the same #defines, which is useless. Nevertheless, we may not want to
13661 # sort them, since we want the *last* AC-DEFINE to be honored.
13662 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
13663 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
13664 rm -f confdef2sed.sed
13666 # This sed command replaces #undef with comments. This is necessary, for
13667 # example, in the case of _POSIX_SOURCE, which is predefined and required
13668 # on some systems where configure will not decide to define it.
13669 cat >>conftest.undefs <<\_ACEOF
13670 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
13673 # Break up conftest.defines because some shells have a limit on the size
13674 # of here documents, and old seds have small limits too (100 cmds).
13675 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
13676 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
13677 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
13678 echo ' :' >>$CONFIG_STATUS
13679 rm -f conftest.tail
13680 while grep . conftest.defines >/dev/null
13682 # Write a limited-size here document to $tmp/defines.sed.
13683 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
13684 # Speed up: don't consider the non `#define' lines.
13685 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
13686 # Work around the forget-to-reset-the-flag bug.
13687 echo 't clr' >>$CONFIG_STATUS
13688 echo ': clr' >>$CONFIG_STATUS
13689 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
13691 sed -f $tmp/defines.sed $tmp/in >$tmp/out
13693 mv $tmp/out $tmp/in
13695 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
13696 rm -f conftest.defines
13697 mv conftest.
tail conftest.defines
13699 rm -f conftest.defines
13700 echo ' fi # grep' >>$CONFIG_STATUS
13701 echo >>$CONFIG_STATUS
13703 # Break up conftest.undefs because some shells have a limit on the size
13704 # of here documents, and old seds have small limits too (100 cmds).
13705 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
13706 rm -f conftest.
tail
13707 while grep . conftest.undefs
>/dev
/null
13709 # Write a limited-size here document to $tmp/undefs.sed.
13710 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
13711 # Speed up: don't consider the non
`#undef'
13712 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
13713 # Work around the forget-to-reset-the-flag bug.
13714 echo 't clr' >>$CONFIG_STATUS
13715 echo ': clr' >>$CONFIG_STATUS
13716 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
13718 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
13720 mv $tmp/out $tmp/in
13722 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
13723 rm -f conftest.undefs
13724 mv conftest.tail conftest.undefs
13726 rm -f conftest.undefs
13728 cat >>$CONFIG_STATUS <<\_ACEOF
13729 # Let's still pretend it is `configure
' which instantiates (i.e., don't
13730 # use $as_me), people would be surprised to read:
13731 # /* config.h. Generated by config.status. */
13732 if test x
"$ac_file" = x-
; then
13733 echo "/* Generated by configure. */" >$tmp/config.h
13735 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
13737 cat $tmp/in >>$tmp/config.h
13739 if test x
"$ac_file" != x-
; then
13740 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
13741 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
13742 echo "$as_me: $ac_file is unchanged" >&6;}
13744 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
13745 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13746 X"$ac_file" : 'X\(//\)[^/]' \| \
13747 X"$ac_file" : 'X\(//\)$' \| \
13748 X"$ac_file" : 'X\(/\)' \| \
13749 . : '\(.\)' 2>/dev/null ||
13751 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13752 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13753 /^X\(\/\/\)$/{ s//\1/; q; }
13754 /^X\(\/\).*/{ s//\1/; q; }
13756 { if $as_mkdir_p; then
13761 while test ! -d "$as_dir"; do
13762 as_dirs
="$as_dir $as_dirs"
13763 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
13764 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13765 X"$as_dir" : 'X\(//\)[^/]' \| \
13766 X"$as_dir" : 'X\(//\)$' \| \
13767 X"$as_dir" : 'X\(/\)' \| \
13768 . : '\(.\)' 2>/dev/null ||
13770 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13771 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13772 /^X\(\/\/\)$/{ s//\1/; q; }
13773 /^X\(\/\).*/{ s//\1/; q; }
13776 test ! -n "$as_dirs" || mkdir
$as_dirs
13777 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13778 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13779 { (exit 1); exit 1; }; }; }
13782 mv $tmp/config.h
$ac_file
13786 rm -f $tmp/config.h
13788 # Compute $ac_file's index in $config_headers.
13790 for _am_header
in $config_headers :; do
13791 case $_am_header in
13792 $ac_file |
$ac_file:* )
13795 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
13798 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
13799 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13800 X$ac_file : 'X\(//\)[^/]' \| \
13801 X$ac_file : 'X\(//\)$' \| \
13802 X$ac_file : 'X\(/\)' \| \
13803 . : '\(.\)' 2>/dev/null ||
13805 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13806 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13807 /^X\(\/\/\)$/{ s//\1/; q; }
13808 /^X\(\/\).*/{ s//\1/; q; }
13809 s/.*/./; q'`/stamp-h
$_am_stamp_count
13812 cat >>$CONFIG_STATUS <<\_ACEOF
13815 # CONFIG_COMMANDS section.
13817 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
13818 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
13819 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13820 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
13821 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13822 X"$ac_dest" : 'X\(//\)[^/]' \| \
13823 X"$ac_dest" : 'X\(//\)$' \| \
13824 X"$ac_dest" : 'X\(/\)' \| \
13825 . : '\(.\)' 2>/dev/null ||
13827 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13828 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13829 /^X\(\/\/\)$/{ s//\1/; q; }
13830 /^X\(\/\).*/{ s//\1/; q; }
13832 { if $as_mkdir_p; then
13837 while test ! -d "$as_dir"; do
13838 as_dirs
="$as_dir $as_dirs"
13839 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
13840 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13841 X"$as_dir" : 'X\(//\)[^/]' \| \
13842 X"$as_dir" : 'X\(//\)$' \| \
13843 X"$as_dir" : 'X\(/\)' \| \
13844 . : '\(.\)' 2>/dev/null ||
13846 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13847 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13848 /^X\(\/\/\)$/{ s//\1/; q; }
13849 /^X\(\/\).*/{ s//\1/; q; }
13852 test ! -n "$as_dirs" || mkdir
$as_dirs
13853 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13854 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13855 { (exit 1); exit 1; }; }; }
13859 if test "$ac_dir" != .
; then
13860 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13861 # A "../" for each directory in $ac_dir_suffix.
13862 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
13864 ac_dir_suffix
= ac_top_builddir
=
13868 .
) # No --srcdir option. We are building in place.
13870 if test -z "$ac_top_builddir"; then
13873 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
13875 [\\/]* | ?
:[\\/]* ) # Absolute path.
13876 ac_srcdir
=$srcdir$ac_dir_suffix;
13877 ac_top_srcdir
=$srcdir ;;
13878 *) # Relative path.
13879 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
13880 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
13883 # Do not use `cd foo && pwd` to compute absolute paths, because
13884 # the directories may not exist.
13886 .
) ac_abs_builddir
="$ac_dir";;
13889 .
) ac_abs_builddir
=`pwd`;;
13890 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
13891 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
13894 case $ac_abs_builddir in
13895 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
13897 case ${ac_top_builddir}.
in
13898 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
13899 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
13900 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
13903 case $ac_abs_builddir in
13904 .
) ac_abs_srcdir
=$ac_srcdir;;
13907 .
) ac_abs_srcdir
=$ac_abs_builddir;;
13908 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
13909 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
13912 case $ac_abs_builddir in
13913 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
13915 case $ac_top_srcdir in
13916 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
13917 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
13918 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
13923 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
13924 echo "$as_me: executing $ac_dest commands" >&6;}
13927 # Only add multilib support code if we just rebuilt the top-level
13929 case " $CONFIG_FILES " in
13931 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
13934 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
13935 # Strip MF so we end up with the name of the file.
13936 mf
=`echo "$mf" | sed -e 's/:.*$//'`
13937 # Check whether this is an Automake generated Makefile or not.
13938 # We used to match only the files named `Makefile.in', but
13939 # some people rename them; so instead we look at the file content.
13940 # Grep'ing the first line is not enough: some people post-process
13941 # each Makefile.in and add a new line on top of each file to say so.
13942 # So let's grep whole file.
13943 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
13944 dirpart
=`(dirname "$mf") 2>/dev/null ||
13945 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13946 X"$mf" : 'X\(//\)[^/]' \| \
13947 X"$mf" : 'X\(//\)$' \| \
13948 X"$mf" : 'X\(/\)' \| \
13949 . : '\(.\)' 2>/dev/null ||
13951 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13952 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13953 /^X\(\/\/\)$/{ s//\1/; q; }
13954 /^X\(\/\).*/{ s//\1/; q; }
13959 # Extract the definition of DEPDIR, am__include, and am__quote
13960 # from the Makefile without running `make'.
13961 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
13962 test -z "$DEPDIR" && continue
13963 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
13964 test -z "am__include" && continue
13965 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
13966 # When using ansi2knr, U may be empty or an underscore; expand it
13967 U
=`sed -n 's/^U = //p' < "$mf"`
13968 # Find all dependency output files, they are included files with
13969 # $(DEPDIR) in their names. We invoke sed twice because it is the
13970 # simplest approach to changing $(DEPDIR) to its actual value in the
13972 for file in `sed -n "
13973 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13974 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
13975 # Make sure the directory exists.
13976 test -f "$dirpart/$file" && continue
13977 fdir
=`(dirname "$file") 2>/dev/null ||
13978 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13979 X"$file" : 'X\(//\)[^/]' \| \
13980 X"$file" : 'X\(//\)$' \| \
13981 X"$file" : 'X\(/\)' \| \
13982 . : '\(.\)' 2>/dev/null ||
13984 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13985 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13986 /^X\(\/\/\)$/{ s//\1/; q; }
13987 /^X\(\/\).*/{ s//\1/; q; }
13989 { if $as_mkdir_p; then
13990 mkdir
-p $dirpart/$fdir
13992 as_dir
=$dirpart/$fdir
13994 while test ! -d "$as_dir"; do
13995 as_dirs
="$as_dir $as_dirs"
13996 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
13997 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13998 X"$as_dir" : 'X\(//\)[^/]' \| \
13999 X"$as_dir" : 'X\(//\)$' \| \
14000 X"$as_dir" : 'X\(/\)' \| \
14001 . : '\(.\)' 2>/dev/null ||
14003 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14004 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14005 /^X\(\/\/\)$/{ s//\1/; q; }
14006 /^X\(\/\).*/{ s//\1/; q; }
14009 test ! -n "$as_dirs" || mkdir
$as_dirs
14010 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
14011 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
14012 { (exit 1); exit 1; }; }; }
14014 # echo "creating $dirpart/$file"
14015 echo '# dummy' > "$dirpart/$file"
14021 # See if we are running on zsh, and set the options which allow our
14022 # commands through without removal of \ escapes.
14023 if test -n "${ZSH_VERSION+set}" ; then
14024 setopt NO_GLOB_SUBST
14027 cfgfile
="${ofile}T"
14028 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14031 cat <<_LT_EOF >> "$cfgfile"
14034 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14035 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
14036 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14037 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14039 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14040 # 2006, 2007 Free Software Foundation, Inc.
14042 # This file is part of GNU Libtool:
14043 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
14045 # This program is free software; you can redistribute it and/or modify
14046 # it under the terms of the GNU General Public License as published by
14047 # the Free Software Foundation; either version 2 of the License, or
14048 # (at your option) any later version.
14050 # This program is distributed in the hope that it will be useful, but
14051 # WITHOUT ANY WARRANTY; without even the implied warranty of
14052 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14053 # General Public License for more details.
14055 # You should have received a copy of the GNU General Public License
14056 # along with this program; if not, a copy can be downloaded from
14057 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
14058 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
14059 # MA 02110-1301, USA.
14061 # As a special exception to the GNU General Public License, if you
14062 # distribute this file as part of a program that contains a
14063 # configuration script generated by Autoconf, you may include it under
14064 # the same distribution terms that you use for the rest of that program.
14067 # The names of the tagged configurations supported by this script.
14070 # ### BEGIN LIBTOOL CONFIG
14072 # Which release of libtool.m4 was used?
14073 macro_version=$macro_version
14074 macro_revision=$macro_revision
14076 # Whether or not to build shared libraries.
14077 build_libtool_libs=$enable_shared
14079 # Whether or not to build static libraries.
14080 build_old_libs=$enable_static
14082 # What type of objects to build.
14085 # Whether or not to optimize for fast installation.
14086 fast_install=$enable_fast_install
14089 host_alias=$host_alias
14093 # The build system.
14094 build_alias=$build_alias
14098 # A sed program that does not truncate output.
14101 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14102 Xsed="\$SED -e 1s/^X//"
14104 # A grep program that handles long lines.
14110 # A literal string matcher.
14113 # A BSD- or MS-compatible name lister.
14116 # Whether we need soft or hard links.
14119 # What is the maximum length of a command?
14120 max_cmd_len=$max_cmd_len
14122 # Object file suffix (normally "o").
14125 # Executable file suffix (normally "").
14128 # whether the shell understands "unset".
14131 # turn spaces into newlines.
14134 # turn newlines into spaces.
14137 # How to create reloadable object files.
14138 reload_flag=$lt_reload_flag
14139 reload_cmds=$lt_reload_cmds
14141 # Method to check whether dependent libraries are shared objects.
14142 deplibs_check_method=$lt_deplibs_check_method
14144 # Command to use when deplibs_check_method == "file_magic".
14145 file_magic_cmd=$lt_file_magic_cmd
14149 AR_FLAGS=$lt_AR_FLAGS
14151 # A symbol stripping program.
14154 # Commands used to install an old-style archive.
14156 old_postinstall_cmds=$lt_old_postinstall_cmds
14157 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14162 # LTCC compiler flags.
14163 LTCFLAGS=$lt_CFLAGS
14165 # Take the output of nm and produce a listing of raw symbols and C names.
14166 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14168 # Transform the output of nm in a proper C declaration.
14169 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14171 # Transform the output of nm in a C name address pair.
14172 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14174 # The name of the directory that contains temporary libtool files.
14177 # Shell to use when invoking shell scripts.
14180 # An echo program that does not interpret backslashes.
14183 # Used to examine libraries when file_magic_cmd begins with "file".
14184 MAGIC_CMD=$MAGIC_CMD
14186 # Must we lock files when doing compilation?
14187 need_locks=$lt_need_locks
14189 # Old archive suffix (normally "a").
14192 # Shared library suffix (normally ".so").
14193 shrext_cmds=$lt_shrext_cmds
14195 # The commands to extract the exported symbol list from a shared archive.
14196 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14198 # Variables whose values should be saved in libtool wrapper scripts and
14199 # restored at link time.
14200 variables_saved_for_relink=$lt_variables_saved_for_relink
14202 # Do we need the "lib" prefix for modules?
14203 need_lib_prefix=$need_lib_prefix
14205 # Do we need a version for libraries?
14206 need_version=$need_version
14208 # Library versioning type.
14209 version_type=$version_type
14211 # Shared library runtime path variable.
14212 runpath_var=$runpath_var
14214 # Shared library path variable.
14215 shlibpath_var=$shlibpath_var
14217 # Is shlibpath searched before the hard-coded library search path?
14218 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14220 # Format of library name prefix.
14221 libname_spec=$lt_libname_spec
14223 # List of archive names. First name is the real one, the rest are links.
14224 # The last name is the one that the linker finds with -lNAME
14225 library_names_spec=$lt_library_names_spec
14227 # The coded name of the library, if different from the real name.
14228 soname_spec=$lt_soname_spec
14230 # Command to use after installation of a shared archive.
14231 postinstall_cmds=$lt_postinstall_cmds
14233 # Command to use after uninstallation of a shared archive.
14234 postuninstall_cmds=$lt_postuninstall_cmds
14236 # Commands used to finish a libtool library installation in a directory.
14237 finish_cmds=$lt_finish_cmds
14239 # As "finish_cmds", except a single script fragment to be evaled but
14241 finish_eval=$lt_finish_eval
14243 # Whether we should hardcode library paths into libraries.
14244 hardcode_into_libs=$hardcode_into_libs
14246 # Compile-time system search path for libraries.
14247 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14249 # Run-time system search path for libraries.
14250 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14252 # Whether dlopen is supported.
14253 dlopen_support=$enable_dlopen
14255 # Whether dlopen of programs is supported.
14256 dlopen_self=$enable_dlopen_self
14258 # Whether dlopen of statically linked programs is supported.
14259 dlopen_self_static=$enable_dlopen_self_static
14261 # Commands to strip libraries.
14262 old_striplib=$lt_old_striplib
14263 striplib=$lt_striplib
14266 # The linker used to build libraries.
14269 # Commands used to build an old-style archive.
14270 old_archive_cmds=$lt_old_archive_cmds
14272 # A language specific compiler.
14275 # Is the compiler the GNU compiler?
14278 # Compiler flag to turn off builtin functions.
14279 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14281 # How to pass a linker flag through the compiler.
14282 wl=$lt_lt_prog_compiler_wl
14284 # Additional compiler flags for building library objects.
14285 pic_flag=$lt_lt_prog_compiler_pic
14287 # Compiler flag to prevent dynamic linking.
14288 link_static_flag=$lt_lt_prog_compiler_static
14290 # Does compiler simultaneously support -c and -o options?
14291 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14293 # Whether or not to add -lc for building shared libraries.
14294 build_libtool_need_lc=$archive_cmds_need_lc
14296 # Whether or not to disallow shared libs when runtime libs are static.
14297 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14299 # Compiler flag to allow reflexive dlopens.
14300 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14302 # Compiler flag to generate shared objects directly from archives.
14303 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14305 # Whether the compiler copes with passing no objects directly.
14306 compiler_needs_object=$lt_compiler_needs_object
14308 # Create an old-style archive from a shared archive.
14309 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14311 # Create a temporary old-style archive to link instead of a shared archive.
14312 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14314 # Commands used to build a shared archive.
14315 archive_cmds=$lt_archive_cmds
14316 archive_expsym_cmds=$lt_archive_expsym_cmds
14318 # Commands used to build a loadable module if different from building
14319 # a shared archive.
14320 module_cmds=$lt_module_cmds
14321 module_expsym_cmds=$lt_module_expsym_cmds
14323 # Whether we are building with GNU ld or not.
14324 with_gnu_ld=$lt_with_gnu_ld
14326 # Flag that allows shared libraries with undefined symbols to be built.
14327 allow_undefined_flag=$lt_allow_undefined_flag
14329 # Flag that enforces no undefined symbols.
14330 no_undefined_flag=$lt_no_undefined_flag
14332 # Flag to hardcode \$libdir into a binary during linking.
14333 # This must work even if \$libdir does not exist
14334 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14336 # If ld is used when linking, flag to hardcode \$libdir into a binary
14337 # during linking. This must work even if \$libdir does not exist.
14338 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14340 # Whether we need a single "-rpath" flag with a separated argument.
14341 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14343 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14344 # DIR into the resulting binary.
14345 hardcode_direct=$hardcode_direct
14347 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14348 # DIR into the resulting binary and the resulting library dependency is
14349 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14350 # library is relocated.
14351 hardcode_direct_absolute=$hardcode_direct_absolute
14353 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14354 # into the resulting binary.
14355 hardcode_minus_L=$hardcode_minus_L
14357 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14358 # into the resulting binary.
14359 hardcode_shlibpath_var=$hardcode_shlibpath_var
14361 # Set to "yes" if building a shared library automatically hardcodes DIR
14362 # into the library and all subsequent libraries and executables linked
14364 hardcode_automatic=$hardcode_automatic
14366 # Set to yes if linker adds runtime paths of dependent libraries
14367 # to runtime path list.
14368 inherit_rpath=$inherit_rpath
14370 # Whether libtool must link a program against all its dependency libraries.
14371 link_all_deplibs=$link_all_deplibs
14373 # Fix the shell variable \$srcfile for the compiler.
14374 fix_srcfile_path=$lt_fix_srcfile_path
14376 # Set to "yes" if exported symbols are required.
14377 always_export_symbols=$always_export_symbols
14379 # The commands to list exported symbols.
14380 export_symbols_cmds=$lt_export_symbols_cmds
14382 # Symbols that should not be listed in the preloaded symbols.
14383 exclude_expsyms=$lt_exclude_expsyms
14385 # Symbols that must always be exported.
14386 include_expsyms=$lt_include_expsyms
14388 # Commands necessary for linking programs (against libraries) with templates.
14389 prelink_cmds=$lt_prelink_cmds
14391 # Specify filename containing input files.
14392 file_list_spec=$lt_file_list_spec
14394 # How to hardcode a shared library path into an executable.
14395 hardcode_action=$hardcode_action
14397 # ### END LIBTOOL CONFIG
14403 cat <<\_LT_EOF
>> "$cfgfile"
14404 # AIX sometimes has problems with the GCC collect2 program. For some
14405 # reason, if we set the COLLECT_NAMES environment variable, the problems
14406 # vanish in a puff of smoke.
14407 if test "X${COLLECT_NAMES+set}" != Xset
; then
14409 export COLLECT_NAMES
14416 ltmain
="$ac_aux_dir/ltmain.sh"
14419 # We use sed instead of cat because bash on DJGPP gets confused if
14420 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14421 # text mode, it properly converts lines to CR/LF. This bash problem
14422 # is reportedly fixed, but why not run on old versions too?
14423 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
14424 ||
(rm -f "$cfgfile"; exit 1)
14428 cat << \_LT_EOF
>> "$cfgfile"
14429 # func_dirname file append nondir_replacement
14430 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
14431 # otherwise set result to NONDIR_REPLACEMENT.
14435 */*) func_dirname_result
="${1%/*}${2}" ;;
14436 * ) func_dirname_result
="${3}" ;;
14440 # func_basename file
14443 func_basename_result
="${1##*/}"
14446 # func_stripname prefix suffix name
14447 # strip PREFIX and SUFFIX off of NAME.
14448 # PREFIX and SUFFIX must not contain globbing or regex special
14449 # characters, hashes, percent signs, but SUFFIX may contain a leading
14450 # dot (in which case that matches only a dot).
14453 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
14454 # positional parameters, so assign one to ordinary parameter first.
14455 func_stripname_result
=${3}
14456 func_stripname_result
=${func_stripname_result#"${1}"}
14457 func_stripname_result
=${func_stripname_result%"${2}"}
14463 func_opt_split_opt
=${1%%=*}
14464 func_opt_split_arg
=${1#*=}
14471 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
14472 *) func_lo2o_result
=${1} ;;
14477 *) # Bourne compatible functions.
14478 cat << \_LT_EOF
>> "$cfgfile"
14479 # func_dirname file append nondir_replacement
14480 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
14481 # otherwise set result to NONDIR_REPLACEMENT.
14484 # Extract subdirectory from the argument.
14485 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
14486 if test "X$func_dirname_result" = "X${1}"; then
14487 func_dirname_result
="${3}"
14489 func_dirname_result
="$func_dirname_result${2}"
14493 # func_basename file
14496 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
14499 # func_stripname prefix suffix name
14500 # strip PREFIX and SUFFIX off of NAME.
14501 # PREFIX and SUFFIX must not contain globbing or regex special
14502 # characters, hashes, percent signs, but SUFFIX may contain a leading
14503 # dot (in which case that matches only a dot).
14504 # func_strip_suffix prefix name
14508 .
*) func_stripname_result
=`$ECHO "X${3}" \
14509 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
14510 *) func_stripname_result
=`$ECHO "X${3}" \
14511 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
14516 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
14517 my_sed_long_arg
='1s/^-[^=]*=//'
14522 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
14523 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
14529 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
14534 case $lt_shell_append in
14536 cat << \_LT_EOF
>> "$cfgfile"
14538 # func_append var value
14539 # Append VALUE to the end of shell variable VAR.
14547 cat << \_LT_EOF
>> "$cfgfile"
14549 # func_append var value
14550 # Append VALUE to the end of shell variable VAR.
14560 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
14561 ||
(rm -f "$cfgfile"; exit 1)
14563 mv -f "$cfgfile" "$ofile" ||
14564 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14572 cat >>$CONFIG_STATUS <<\_ACEOF
14574 { (exit 0); exit 0; }
14576 chmod +x
$CONFIG_STATUS
14577 ac_clean_files
=$ac_clean_files_save
14580 # configure is writing to config.log, and then calls config.status.
14581 # config.status does its own redirection, appending to config.log.
14582 # Unfortunately, on DOS this fails, as config.log is still kept open
14583 # by configure, so config.status won't be able to write to it; its
14584 # output is simply discarded. So we exec the FD to /dev/null,
14585 # effectively closing config.log, so it can be properly (re)opened and
14586 # appended to by config.status. When coming back to configure, we
14587 # need to make the FD available again.
14588 if test "$no_create" != yes; then
14590 ac_config_status_args
=
14591 test "$silent" = yes &&
14592 ac_config_status_args
="$ac_config_status_args --quiet"
14594 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
14596 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14597 # would make configure fail if this is the last instruction.
14598 $ac_cs_success ||
{ (exit 1); exit 1; }