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 OBJDUMP ac_ct_OBJDUMP AR ac_ct_AR RANLIB ac_ct_RANLIB lt_ECHO DSYMUTIL ac_ct_DSYMUTIL NMEDIT ac_ct_NMEDIT LIPO ac_ct_LIPO OTOOL ac_ct_OTOOL OTOOL64 ac_ct_OTOOL64 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 { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5365 echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5370 macro_version
='2.2.6'
5371 macro_revision
='1.3012'
5385 ltmain
="$ac_aux_dir/ltmain.sh"
5387 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
5388 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
5389 if test "${lt_cv_path_SED+set}" = set; then
5390 echo $ECHO_N "(cached) $ECHO_C" >&6
5392 # Loop through the user's path and test for sed and gsed.
5393 # Then use that list of sed's as ones to test for truncation.
5394 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5398 test -z "$as_dir" && as_dir
=.
5399 for lt_ac_prog
in sed gsed
; do
5400 for ac_exec_ext
in '' $ac_executable_extensions; do
5401 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
5402 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
5410 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
5411 # along with /bin/sed that truncates output.
5412 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
5413 test ! -f $lt_ac_sed && continue
5414 cat /dev
/null
> conftest.
in
5416 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
5417 # Check for GNU sed and select it if it is found.
5418 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
5419 lt_cv_path_SED
=$lt_ac_sed
5423 cat conftest.
in conftest.
in >conftest.tmp
5424 mv conftest.tmp conftest.
in
5425 cp conftest.
in conftest.
nl
5427 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
5428 cmp -s conftest.out conftest.
nl ||
break
5429 # 10000 chars as input seems more than enough
5430 test $lt_ac_count -gt 10 && break
5431 lt_ac_count
=`expr $lt_ac_count + 1`
5432 if test $lt_ac_count -gt $lt_ac_max; then
5433 lt_ac_max
=$lt_ac_count
5434 lt_cv_path_SED
=$lt_ac_sed
5443 echo "$as_me:$LINENO: result: $SED" >&5
5444 echo "${ECHO_T}$SED" >&6
5446 test -z "$SED" && SED
=sed
5447 Xsed
="$SED -e 1s/^X//"
5459 echo "$as_me:$LINENO: checking for fgrep" >&5
5460 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
5461 if test "${ac_cv_prog_fgrep+set}" = set; then
5462 echo $ECHO_N "(cached) $ECHO_C" >&6
5464 if echo 'ab*c' |
(grep -F 'ab*c') >/dev
/null
2>&1
5465 then ac_cv_prog_fgrep
='grep -F'
5466 else ac_cv_prog_fgrep
='fgrep'
5469 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
5470 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
5471 FGREP
=$ac_cv_prog_fgrep
5474 test -z "$GREP" && GREP
=grep
5494 # Check whether --with-gnu-ld or --without-gnu-ld was given.
5495 if test "${with_gnu_ld+set}" = set; then
5496 withval
="$with_gnu_ld"
5497 test "$withval" = no || with_gnu_ld
=yes
5502 if test "$GCC" = yes; then
5503 # Check if gcc -print-prog-name=ld gives a path.
5504 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
5505 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
5508 # gcc leaves a trailing carriage return which upsets mingw
5509 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5511 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5514 # Accept absolute paths.
5516 re_direlt
='/[^/][^/]*/\.\./'
5517 # Canonicalize the pathname of ld
5518 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5519 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5520 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5522 test -z "$LD" && LD
="$ac_prog"
5525 # If it fails, then pretend we aren't using GCC.
5529 # If it is relative, then search for the first ld in PATH.
5533 elif test "$with_gnu_ld" = yes; then
5534 echo "$as_me:$LINENO: checking for GNU ld" >&5
5535 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
5537 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5538 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
5540 if test "${lt_cv_path_LD+set}" = set; then
5541 echo $ECHO_N "(cached) $ECHO_C" >&6
5543 if test -z "$LD"; then
5544 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5545 for ac_dir
in $PATH; do
5547 test -z "$ac_dir" && ac_dir
=.
5548 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5549 lt_cv_path_LD
="$ac_dir/$ac_prog"
5550 # Check to see if the program is GNU ld. I'd rather use --version,
5551 # but apparently some variants of GNU ld only accept -v.
5552 # Break only if it was the GNU/non-GNU ld that we prefer.
5553 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5554 *GNU
* |
*'with BFD'*)
5555 test "$with_gnu_ld" != no
&& break
5558 test "$with_gnu_ld" != yes && break
5565 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5570 if test -n "$LD"; then
5571 echo "$as_me:$LINENO: result: $LD" >&5
5572 echo "${ECHO_T}$LD" >&6
5574 echo "$as_me:$LINENO: result: no" >&5
5575 echo "${ECHO_T}no" >&6
5577 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5578 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5579 { (exit 1); exit 1; }; }
5580 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5581 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
5582 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5583 echo $ECHO_N "(cached) $ECHO_C" >&6
5585 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5586 case `$LD -v 2>&1 </dev/null` in
5587 *GNU
* |
*'with BFD'*)
5588 lt_cv_prog_gnu_ld
=yes
5591 lt_cv_prog_gnu_ld
=no
5595 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5596 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
5597 with_gnu_ld
=$lt_cv_prog_gnu_ld
5607 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
5608 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
5609 if test "${lt_cv_path_NM+set}" = set; then
5610 echo $ECHO_N "(cached) $ECHO_C" >&6
5612 if test -n "$NM"; then
5613 # Let the user override the test.
5616 lt_nm_to_check
="${ac_tool_prefix}nm"
5617 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5618 lt_nm_to_check
="$lt_nm_to_check nm"
5620 for lt_tmp_nm
in $lt_nm_to_check; do
5621 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5622 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5624 test -z "$ac_dir" && ac_dir
=.
5625 tmp_nm
="$ac_dir/$lt_tmp_nm"
5626 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5627 # Check to see if the nm accepts a BSD-compat flag.
5628 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5629 # nm: unknown option "B" ignored
5630 # Tru64's nm complains that /dev/null is an invalid object file
5631 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5632 */dev
/null
* |
*'Invalid file or object type'*)
5633 lt_cv_path_NM
="$tmp_nm -B"
5637 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5639 lt_cv_path_NM
="$tmp_nm -p"
5643 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5644 continue # so that we can try to find one that supports BSD flags
5653 : ${lt_cv_path_NM=no}
5656 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5657 echo "${ECHO_T}$lt_cv_path_NM" >&6
5658 if test "$lt_cv_path_NM" != "no"; then
5661 # Didn't find any BSD compatible name lister, look for dumpbin.
5662 if test -n "$ac_tool_prefix"; then
5663 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5665 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5666 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5667 echo "$as_me:$LINENO: checking for $ac_word" >&5
5668 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5669 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
5670 echo $ECHO_N "(cached) $ECHO_C" >&6
5672 if test -n "$DUMPBIN"; then
5673 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5675 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5679 test -z "$as_dir" && as_dir
=.
5680 for ac_exec_ext
in '' $ac_executable_extensions; do
5681 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5682 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5683 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5691 DUMPBIN
=$ac_cv_prog_DUMPBIN
5692 if test -n "$DUMPBIN"; then
5693 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
5694 echo "${ECHO_T}$DUMPBIN" >&6
5696 echo "$as_me:$LINENO: result: no" >&5
5697 echo "${ECHO_T}no" >&6
5700 test -n "$DUMPBIN" && break
5703 if test -z "$DUMPBIN"; then
5704 ac_ct_DUMPBIN
=$DUMPBIN
5705 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5707 # Extract the first word of "$ac_prog", so it can be a program name with args.
5708 set dummy
$ac_prog; ac_word
=$2
5709 echo "$as_me:$LINENO: checking for $ac_word" >&5
5710 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5711 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
5712 echo $ECHO_N "(cached) $ECHO_C" >&6
5714 if test -n "$ac_ct_DUMPBIN"; then
5715 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5717 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5721 test -z "$as_dir" && as_dir
=.
5722 for ac_exec_ext
in '' $ac_executable_extensions; do
5723 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5724 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5725 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5733 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5734 if test -n "$ac_ct_DUMPBIN"; then
5735 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
5736 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
5738 echo "$as_me:$LINENO: result: no" >&5
5739 echo "${ECHO_T}no" >&6
5742 test -n "$ac_ct_DUMPBIN" && break
5744 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN
=":"
5746 DUMPBIN
=$ac_ct_DUMPBIN
5750 if test "$DUMPBIN" != ":"; then
5754 test -z "$NM" && NM
=nm
5761 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
5762 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
5763 if test "${lt_cv_nm_interface+set}" = set; then
5764 echo $ECHO_N "(cached) $ECHO_C" >&6
5766 lt_cv_nm_interface
="BSD nm"
5767 echo "int some_variable = 0;" > conftest.
$ac_ext
5768 (eval echo "\"\$as_me:5768: $ac_compile\"" >&5)
5769 (eval "$ac_compile" 2>conftest.err
)
5770 cat conftest.err
>&5
5771 (eval echo "\"\$as_me:5771: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5772 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5773 cat conftest.err
>&5
5774 (eval echo "\"\$as_me:5774: output\"" >&5)
5775 cat conftest.out
>&5
5776 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5777 lt_cv_nm_interface
="MS dumpbin"
5781 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
5782 echo "${ECHO_T}$lt_cv_nm_interface" >&6
5784 echo "$as_me:$LINENO: checking whether ln -s works" >&5
5785 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
5787 if test "$LN_S" = "ln -s"; then
5788 echo "$as_me:$LINENO: result: yes" >&5
5789 echo "${ECHO_T}yes" >&6
5791 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5792 echo "${ECHO_T}no, using $LN_S" >&6
5795 # find the maximum length of command line arguments
5796 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5797 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5798 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5799 echo $ECHO_N "(cached) $ECHO_C" >&6
5806 # On DJGPP, this test can blow up pretty badly due to problems in libc
5807 # (any single argument exceeding 2000 bytes causes a buffer overrun
5808 # during glob expansion). Even if it were fixed, the result of this
5809 # check would be larger than it should be.
5810 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5814 # Under GNU Hurd, this test is not required because there is
5815 # no limit to the length of command line arguments.
5816 # Libtool will interpret -1 as no limit whatsoever
5817 lt_cv_sys_max_cmd_len
=-1;
5820 cygwin
* | mingw
* | cegcc
*)
5821 # On Win9x/ME, this test blows up -- it succeeds, but takes
5822 # about 5 minutes as the teststring grows exponentially.
5823 # Worse, since 9x/ME are not pre-emptively multitasking,
5824 # you end up with a "frozen" computer, even though with patience
5825 # the test eventually succeeds (with a max line length of 256k).
5826 # Instead, let's just punt: use the minimum linelength reported by
5827 # all of the supported platforms: 8192 (on NT/2K/XP).
5828 lt_cv_sys_max_cmd_len
=8192;
5832 # On AmigaOS with pdksh, this test takes hours, literally.
5833 # So we just punt and use a minimum line length of 8192.
5834 lt_cv_sys_max_cmd_len
=8192;
5837 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5838 # This has been around since 386BSD, at least. Likely further.
5839 if test -x /sbin
/sysctl
; then
5840 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5841 elif test -x /usr
/sbin
/sysctl
; then
5842 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5844 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5846 # And add a safety zone
5847 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5848 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5852 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5853 lt_cv_sys_max_cmd_len
=196608
5857 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5858 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5859 # nice to cause kernel panics so lets avoid the loop below.
5860 # First set a reasonable default.
5861 lt_cv_sys_max_cmd_len
=16384
5863 if test -x /sbin
/sysconfig
; then
5864 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5865 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5870 lt_cv_sys_max_cmd_len
=102400
5872 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5873 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5874 if test -n "$kargmax"; then
5875 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5877 lt_cv_sys_max_cmd_len
=32768
5881 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5882 if test -n "$lt_cv_sys_max_cmd_len"; then
5883 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5884 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5886 # Make teststring a little bigger before we do anything with it.
5887 # a 1K string should be a reasonable start.
5888 for i
in 1 2 3 4 5 6 7 8 ; do
5889 teststring
=$teststring$teststring
5891 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5892 # If test is not a shell built-in, we'll probably end up computing a
5893 # maximum length that is only half of the actual maximum length, but
5895 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5896 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
5897 test $i != 17 # 1/2 MB should be enough
5900 teststring
=$teststring$teststring
5902 # Only check the string length outside the loop.
5903 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5905 # Add a significant safety factor because C++ compilers can tack on
5906 # massive amounts of additional arguments before passing them to the
5907 # linker. It appears as though 1/2 is a usable value.
5908 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5915 if test -n $lt_cv_sys_max_cmd_len ; then
5916 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5917 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5919 echo "$as_me:$LINENO: result: none" >&5
5920 echo "${ECHO_T}none" >&6
5922 max_cmd_len
=$lt_cv_sys_max_cmd_len
5933 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
5934 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
5935 # Try some XSI features
5938 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5940 && eval 'test $(( 1 + 1 )) -eq 2 \
5941 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5943 echo "$as_me:$LINENO: result
: $xsi_shell" >&5
5944 echo "${ECHO_T}$xsi_shell" >&6
5947 echo "$as_me:$LINENO: checking whether the shell understands
\"+=\"" >&5
5948 echo $ECHO_N "checking whether the shell understands
\"+=\"...
$ECHO_C" >&6
5950 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5952 && lt_shell_append=yes
5953 echo "$as_me:$LINENO: result
: $lt_shell_append" >&5
5954 echo "${ECHO_T}$lt_shell_append" >&6
5957 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5967 # test EBCDIC or ASCII
5968 case `echo X|tr X '\101'` in
5969 A) # ASCII based system
5970 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5971 lt_SP2NL='tr \040 \012'
5972 lt_NL2SP='tr \015\012 \040\040'
5974 *) # EBCDIC based system
5975 lt_SP2NL='tr \100 \n'
5976 lt_NL2SP='tr \r\n \100\100'
5988 echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
5989 echo $ECHO_N "checking
for $LD option to reload object files...
$ECHO_C" >&6
5990 if test "${lt_cv_ld_reload_flag+set}" = set; then
5991 echo $ECHO_N "(cached
) $ECHO_C" >&6
5993 lt_cv_ld_reload_flag='-r'
5995 echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
5996 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
5997 reload_flag=$lt_cv_ld_reload_flag
5998 case $reload_flag in
6000 *) reload_flag=" $reload_flag" ;;
6002 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6005 if test "$GCC" = yes; then
6006 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6008 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6021 if test -n "$ac_tool_prefix"; then
6022 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6023 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6024 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6025 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6026 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
6027 echo $ECHO_N "(cached
) $ECHO_C" >&6
6029 if test -n "$OBJDUMP"; then
6030 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6036 test -z "$as_dir" && as_dir=.
6037 for ac_exec_ext in '' $ac_executable_extensions; do
6038 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6039 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6040 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6048 OBJDUMP=$ac_cv_prog_OBJDUMP
6049 if test -n "$OBJDUMP"; then
6050 echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
6051 echo "${ECHO_T}$OBJDUMP" >&6
6053 echo "$as_me:$LINENO: result
: no
" >&5
6054 echo "${ECHO_T}no
" >&6
6058 if test -z "$ac_cv_prog_OBJDUMP"; then
6059 ac_ct_OBJDUMP=$OBJDUMP
6060 # Extract the first word of "objdump
", so it can be a program name with args.
6061 set dummy objdump; ac_word=$2
6062 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6063 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6064 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
6065 echo $ECHO_N "(cached
) $ECHO_C" >&6
6067 if test -n "$ac_ct_OBJDUMP"; then
6068 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6074 test -z "$as_dir" && as_dir=.
6075 for ac_exec_ext in '' $ac_executable_extensions; do
6076 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6077 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6078 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6084 test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false
"
6087 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6088 if test -n "$ac_ct_OBJDUMP"; then
6089 echo "$as_me:$LINENO: result
: $ac_ct_OBJDUMP" >&5
6090 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
6092 echo "$as_me:$LINENO: result
: no
" >&5
6093 echo "${ECHO_T}no
" >&6
6096 OBJDUMP=$ac_ct_OBJDUMP
6098 OBJDUMP="$ac_cv_prog_OBJDUMP"
6101 test -z "$OBJDUMP" && OBJDUMP=objdump
6111 echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
6112 echo $ECHO_N "checking how to recognize dependent libraries...
$ECHO_C" >&6
6113 if test "${lt_cv_deplibs_check_method+set}" = set; then
6114 echo $ECHO_N "(cached
) $ECHO_C" >&6
6116 lt_cv_file_magic_cmd='$MAGIC_CMD'
6117 lt_cv_file_magic_test_file=
6118 lt_cv_deplibs_check_method='unknown'
6119 # Need to set the preceding variable on all platforms that support
6120 # interlibrary dependencies.
6121 # 'none' -- dependencies not supported.
6122 # `unknown' -- same as none, but documents that we really don't know.
6123 # 'pass_all' -- all dependencies passed with no checks.
6124 # 'test_compile' -- check by making test program.
6125 # 'file_magic [[regex]]' -- check by looking for files in library path
6126 # which responds to the $file_magic_cmd with a given extended regex.
6127 # If you have `file' or equivalent on your system and you're not sure
6128 # whether `pass_all' will *always* work, you probably want this one.
6132 lt_cv_deplibs_check_method=pass_all
6136 lt_cv_deplibs_check_method=pass_all
6140 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6141 lt_cv_file_magic_cmd='/usr/bin/file -L'
6142 lt_cv_file_magic_test_file=/shlib/libc.so
6146 # func_win32_libid is a shell function defined in ltmain.sh
6147 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6148 lt_cv_file_magic_cmd='func_win32_libid'
6152 # Base MSYS/MinGW do not provide the 'file' command needed by
6153 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6154 # unless we find 'file', for example because we are cross-compiling.
6155 if ( file / ) >/dev/null 2>&1; then
6156 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6157 lt_cv_file_magic_cmd='func_win32_libid'
6159 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6160 lt_cv_file_magic_cmd='$OBJDUMP -f'
6165 # use the weaker test based on 'objdump'. See mingw*.
6166 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6167 lt_cv_file_magic_cmd='$OBJDUMP -f'
6170 darwin* | rhapsody*)
6171 lt_cv_deplibs_check_method=pass_all
6174 freebsd* | dragonfly*)
6175 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6178 # Not sure whether the presence of OpenBSD here was a mistake.
6179 # Let's accept both of them until this is cleared up.
6180 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6181 lt_cv_file_magic_cmd=/usr/bin/file
6182 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6186 lt_cv_deplibs_check_method=pass_all
6191 lt_cv_deplibs_check_method=pass_all
6194 hpux10.20* | hpux11*)
6195 lt_cv_file_magic_cmd=/usr/bin/file
6198 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6199 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6202 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]'
6203 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6206 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6207 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6213 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6214 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6217 irix5* | irix6* | nonstopux*)
6219 *-32|*"-32 ") libmagic=32-bit;;
6220 *-n32|*"-n32 ") libmagic=N32;;
6221 *-64|*"-64 ") libmagic=64-bit;;
6222 *) libmagic=never-match;;
6224 lt_cv_deplibs_check_method=pass_all
6227 # This must be Linux ELF.
6228 linux* | k*bsd*-gnu)
6229 lt_cv_deplibs_check_method=pass_all
6233 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6234 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6236 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6241 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6242 lt_cv_file_magic_cmd=/usr/bin/file
6243 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6247 lt_cv_deplibs_check_method=pass_all
6251 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6252 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6254 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6258 osf3* | osf4* | osf5*)
6259 lt_cv_deplibs_check_method=pass_all
6263 lt_cv_deplibs_check_method=pass_all
6267 lt_cv_deplibs_check_method=pass_all
6270 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6271 lt_cv_deplibs_check_method=pass_all
6275 case $host_vendor in
6277 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]'
6278 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6281 lt_cv_deplibs_check_method=pass_all
6284 lt_cv_file_magic_cmd='/bin/file'
6285 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6288 lt_cv_file_magic_cmd='/bin/file'
6289 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6290 lt_cv_file_magic_test_file=/lib/libc.so
6293 lt_cv_deplibs_check_method=pass_all
6296 lt_cv_deplibs_check_method=pass_all
6302 lt_cv_deplibs_check_method=pass_all
6307 echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
6308 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
6309 file_magic_cmd=$lt_cv_file_magic_cmd
6310 deplibs_check_method=$lt_cv_deplibs_check_method
6311 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6324 if test -n "$ac_tool_prefix"; then
6325 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6326 set dummy ${ac_tool_prefix}ar; ac_word=$2
6327 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6328 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6329 if test "${ac_cv_prog_AR+set}" = set; then
6330 echo $ECHO_N "(cached
) $ECHO_C" >&6
6332 if test -n "$AR"; then
6333 ac_cv_prog_AR="$AR" # Let the user override the test.
6335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6339 test -z "$as_dir" && as_dir=.
6340 for ac_exec_ext in '' $ac_executable_extensions; do
6341 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6342 ac_cv_prog_AR="${ac_tool_prefix}ar"
6343 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6352 if test -n "$AR"; then
6353 echo "$as_me:$LINENO: result
: $AR" >&5
6354 echo "${ECHO_T}$AR" >&6
6356 echo "$as_me:$LINENO: result
: no
" >&5
6357 echo "${ECHO_T}no
" >&6
6361 if test -z "$ac_cv_prog_AR"; then
6363 # Extract the first word of "ar", so it can be a program name with args.
6364 set dummy ar; ac_word=$2
6365 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6366 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6367 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6368 echo $ECHO_N "(cached
) $ECHO_C" >&6
6370 if test -n "$ac_ct_AR"; then
6371 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6377 test -z "$as_dir" && as_dir=.
6378 for ac_exec_ext in '' $ac_executable_extensions; do
6379 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6380 ac_cv_prog_ac_ct_AR="ar"
6381 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6387 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false
"
6390 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6391 if test -n "$ac_ct_AR"; then
6392 echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
6393 echo "${ECHO_T}$ac_ct_AR" >&6
6395 echo "$as_me:$LINENO: result
: no
" >&5
6396 echo "${ECHO_T}no
" >&6
6404 test -z "$AR" && AR=ar
6405 test -z "$AR_FLAGS" && AR_FLAGS=cru
6417 if test -n "$ac_tool_prefix"; then
6418 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6419 set dummy ${ac_tool_prefix}strip; ac_word=$2
6420 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6421 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6422 if test "${ac_cv_prog_STRIP+set}" = set; then
6423 echo $ECHO_N "(cached
) $ECHO_C" >&6
6425 if test -n "$STRIP"; then
6426 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6432 test -z "$as_dir" && as_dir=.
6433 for ac_exec_ext in '' $ac_executable_extensions; do
6434 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6435 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6436 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6444 STRIP=$ac_cv_prog_STRIP
6445 if test -n "$STRIP"; then
6446 echo "$as_me:$LINENO: result
: $STRIP" >&5
6447 echo "${ECHO_T}$STRIP" >&6
6449 echo "$as_me:$LINENO: result
: no
" >&5
6450 echo "${ECHO_T}no
" >&6
6454 if test -z "$ac_cv_prog_STRIP"; then
6456 # Extract the first word of "strip
", so it can be a program name with args.
6457 set dummy strip; ac_word=$2
6458 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6459 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6460 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6461 echo $ECHO_N "(cached
) $ECHO_C" >&6
6463 if test -n "$ac_ct_STRIP"; then
6464 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6470 test -z "$as_dir" && as_dir=.
6471 for ac_exec_ext in '' $ac_executable_extensions; do
6472 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6473 ac_cv_prog_ac_ct_STRIP="strip
"
6474 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6480 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
6483 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6484 if test -n "$ac_ct_STRIP"; then
6485 echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
6486 echo "${ECHO_T}$ac_ct_STRIP" >&6
6488 echo "$as_me:$LINENO: result
: no
" >&5
6489 echo "${ECHO_T}no
" >&6
6494 STRIP="$ac_cv_prog_STRIP"
6497 test -z "$STRIP" && STRIP=:
6504 if test -n "$ac_tool_prefix"; then
6505 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6506 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6507 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6508 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6509 if test "${ac_cv_prog_RANLIB+set}" = set; then
6510 echo $ECHO_N "(cached
) $ECHO_C" >&6
6512 if test -n "$RANLIB"; then
6513 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6519 test -z "$as_dir" && as_dir=.
6520 for ac_exec_ext in '' $ac_executable_extensions; do
6521 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6522 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6523 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6531 RANLIB=$ac_cv_prog_RANLIB
6532 if test -n "$RANLIB"; then
6533 echo "$as_me:$LINENO: result
: $RANLIB" >&5
6534 echo "${ECHO_T}$RANLIB" >&6
6536 echo "$as_me:$LINENO: result
: no
" >&5
6537 echo "${ECHO_T}no
" >&6
6541 if test -z "$ac_cv_prog_RANLIB"; then
6542 ac_ct_RANLIB=$RANLIB
6543 # Extract the first word of "ranlib
", so it can be a program name with args.
6544 set dummy ranlib; ac_word=$2
6545 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6546 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6547 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6548 echo $ECHO_N "(cached
) $ECHO_C" >&6
6550 if test -n "$ac_ct_RANLIB"; then
6551 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6557 test -z "$as_dir" && as_dir=.
6558 for ac_exec_ext in '' $ac_executable_extensions; do
6559 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6560 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6561 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6567 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
6570 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6571 if test -n "$ac_ct_RANLIB"; then
6572 echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
6573 echo "${ECHO_T}$ac_ct_RANLIB" >&6
6575 echo "$as_me:$LINENO: result
: no
" >&5
6576 echo "${ECHO_T}no
" >&6
6579 RANLIB=$ac_ct_RANLIB
6581 RANLIB="$ac_cv_prog_RANLIB"
6584 test -z "$RANLIB" && RANLIB=:
6591 # Determine commands to create old-style static archives.
6592 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6593 old_postinstall_cmds='chmod 644 $oldlib'
6594 old_postuninstall_cmds=
6596 if test -n "$RANLIB"; then
6599 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6602 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6605 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6641 # If no C compiler was specified, use CC.
6644 # If no C compiler flags were specified, use CFLAGS.
6645 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6647 # Allow CC to be a program name with arguments.
6651 # Check for command to grab the raw symbol name followed by C symbol from nm.
6652 echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
6653 echo $ECHO_N "checking
command to parse
$NM output from
$compiler object...
$ECHO_C" >&6
6654 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6655 echo $ECHO_N "(cached
) $ECHO_C" >&6
6658 # These are sane defaults that work on at least a few old systems.
6659 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6661 # Character class describing NM global symbol codes.
6662 symcode='[BCDEGRST]'
6664 # Regexp to match symbols that can be accessed directly from C.
6665 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6667 # Define system-specific variables.
6672 cygwin* | mingw* | pw32* | cegcc*)
6673 symcode='[ABCDGISTW]'
6676 if test "$host_cpu" = ia64; then
6677 symcode='[ABCDEGRST]'
6681 symcode='[BCDEGRST]'
6684 symcode='[BCDEGQRST]'
6695 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6703 # If we're using GNU nm, then use its standard symbol codes.
6704 case `$NM -V 2>&1` in
6705 *GNU* | *'with BFD'*)
6706 symcode='[ABCDGIRSTW]' ;;
6709 # Transform an extracted symbol line into a proper C declaration.
6710 # Some systems (esp. on ia64) link data and code symbols differently,
6711 # so use this general approach.
6712 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6714 # Transform an extracted symbol line into symbol name and symbol address
6715 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6716 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
6718 # Handle CRLF in mingw tool chain
6722 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6726 # Try without a prefix underscore, then with it.
6727 for ac_symprfx in "" "_
"; do
6729 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6730 symxfrm="\\1 $ac_symprfx\\2 \\2"
6732 # Write the raw and C identifiers.
6733 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6734 # Fake it for dumpbin and say T for any non-static function
6735 # and D for any global variable.
6736 # Also find C++ and __fastcall symbols from MSVC++,
6737 # which start with @ or ?.
6738 lt_cv_sys_global_symbol_pipe="$AWK '"\
6739 " {last_section=section; section=\$ 3};"\
6740 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6741 " \$ 0!~/External *\|/{next};"\
6742 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6743 " {if(hide[section]) next};"\
6744 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6745 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6746 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6747 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6748 " ' prfx
=^
$ac_symprfx"
6750 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6753 # Check to see that the pipe works correctly.
6757 cat > conftest.$ac_ext <<_LT_EOF
6762 void nm_test_func(void);
6763 void nm_test_func(void){}
6767 int main(){nm_test_var='a';nm_test_func();return(0);}
6770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6771 (eval $ac_compile) 2>&5
6773 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6774 (exit $ac_status); }; then
6775 # Now try to grab the symbols.
6777 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
6778 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6780 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6781 (exit $ac_status); } && test -s "$nlist"; then
6782 # Try sorting and uniquifying the output.
6783 if sort "$nlist" | uniq > "$nlist"T; then
6784 mv -f "$nlist"T "$nlist"
6789 # Make sure that we snagged all the symbols we need.
6790 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6791 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6792 cat <<_LT_EOF > conftest.$ac_ext
6798 # Now generate the symbol file.
6799 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6801 cat <<_LT_EOF >> conftest.$ac_ext
6803 /* The mapping between symbol names and symbols. */
6808 lt__PROGRAM__LTX_preloaded_symbols[] =
6810 { "@PROGRAM@
", (void *) 0 },
6812 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6813 cat <<\_LT_EOF >> conftest.$ac_ext
6817 /* This works around a problem in FreeBSD linker */
6818 #ifdef FREEBSD_WORKAROUND
6819 static const void *lt_preloaded_setup() {
6820 return lt__PROGRAM__LTX_preloaded_symbols;
6828 # Now try linking the two files.
6829 mv conftest.$ac_objext conftstm.$ac_objext
6830 lt_save_LIBS="$LIBS"
6831 lt_save_CFLAGS="$CFLAGS"
6832 LIBS="conftstm.
$ac_objext"
6833 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6835 (eval $ac_link) 2>&5
6837 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6838 (exit $ac_status); } && test -s conftest${ac_exeext}; then
6841 LIBS="$lt_save_LIBS"
6842 CFLAGS="$lt_save_CFLAGS"
6844 echo "cannot
find nm_test_func
in $nlist" >&5
6847 echo "cannot
find nm_test_var
in $nlist" >&5
6850 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6853 echo "$progname: failed program was
:" >&5
6854 cat conftest.$ac_ext >&5
6856 rm -rf conftest* conftst*
6858 # Do not use the global_symbol_pipe unless it works.
6859 if test "$pipe_works" = yes; then
6862 lt_cv_sys_global_symbol_pipe=
6868 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6869 lt_cv_sys_global_symbol_to_cdecl=
6871 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6872 echo "$as_me:$LINENO: result
: failed
" >&5
6873 echo "${ECHO_T}failed
" >&6
6875 echo "$as_me:$LINENO: result
: ok
" >&5
6876 echo "${ECHO_T}ok
" >&6
6900 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6901 if test "${enable_libtool_lock+set}" = set; then
6902 enableval="$enable_libtool_lock"
6905 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6907 # Some flags need to be propagated to the compiler or linker for good
6911 # Find out which ABI we are using.
6912 echo 'int i;' > conftest.$ac_ext
6913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6914 (eval $ac_compile) 2>&5
6916 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6917 (exit $ac_status); }; then
6918 case `/usr/bin/file conftest.$ac_objext` in
6930 # Find out which ABI we are using.
6931 echo '#line 6931 "configure
"' > conftest.$ac_ext
6932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6933 (eval $ac_compile) 2>&5
6935 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6936 (exit $ac_status); }; then
6937 if test "$lt_cv_prog_gnu_ld" = yes; then
6938 case `/usr/bin/file conftest.$ac_objext` in
6940 LD="${LD-ld} -melf32bsmip"
6943 LD="${LD-ld} -melf32bmipn32"
6946 LD="${LD-ld} -melf64bmip"
6950 case `/usr/bin/file conftest.$ac_objext` in
6966 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6967 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6968 # Find out which ABI we are using.
6969 echo 'int i;' > conftest.$ac_ext
6970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6971 (eval $ac_compile) 2>&5
6973 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6974 (exit $ac_status); }; then
6975 case `/usr/bin/file conftest.o` in
6978 x86_64-*kfreebsd*-gnu)
6979 LD="${LD-ld} -m elf_i386_fbsd
"
6982 LD="${LD-ld} -m elf_i386
"
6984 ppc64-*linux*|powerpc64-*linux*)
6985 LD="${LD-ld} -m elf32ppclinux
"
6988 LD="${LD-ld} -m elf_s390
"
6991 LD="${LD-ld} -m elf32_sparc
"
6997 x86_64-*kfreebsd*-gnu)
6998 LD="${LD-ld} -m elf_x86_64_fbsd
"
7001 LD="${LD-ld} -m elf_x86_64
"
7003 ppc*-*linux*|powerpc*-*linux*)
7004 LD="${LD-ld} -m elf64ppc
"
7006 s390*-*linux*|s390*-*tpf*)
7007 LD="${LD-ld} -m elf64_s390
"
7010 LD="${LD-ld} -m elf64_sparc
"
7020 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7021 SAVE_CFLAGS="$CFLAGS"
7022 CFLAGS="$CFLAGS -belf"
7023 echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
7024 echo $ECHO_N "checking whether the C compiler needs
-belf...
$ECHO_C" >&6
7025 if test "${lt_cv_cc_needs_belf+set}" = set; then
7026 echo $ECHO_N "(cached
) $ECHO_C" >&6
7029 ac_cpp='$CPP $CPPFLAGS'
7030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7034 cat >conftest.$ac_ext <<_ACEOF
7037 cat confdefs.h >>conftest.$ac_ext
7038 cat >>conftest.$ac_ext <<_ACEOF
7039 /* end confdefs.h. */
7049 rm -f conftest.$ac_objext conftest$ac_exeext
7050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7051 (eval $ac_link) 2>conftest.er1
7053 grep -v '^ *+' conftest.er1 >conftest.err
7055 cat conftest.err >&5
7056 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7057 (exit $ac_status); } &&
7058 { ac_try='test -z "$ac_c_werror_flag"
7059 || test ! -s conftest.err'
7060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7063 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7064 (exit $ac_status); }; } &&
7065 { ac_try='test -s conftest$ac_exeext'
7066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7069 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7070 (exit $ac_status); }; }; then
7071 lt_cv_cc_needs_belf=yes
7073 echo "$as_me: failed program was
:" >&5
7074 sed 's/^/| /' conftest.$ac_ext >&5
7076 lt_cv_cc_needs_belf=no
7078 rm -f conftest.err conftest.$ac_objext \
7079 conftest$ac_exeext conftest.$ac_ext
7081 ac_cpp='$CPP $CPPFLAGS'
7082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7087 echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
7088 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
7089 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7090 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7091 CFLAGS="$SAVE_CFLAGS"
7095 # Find out which ABI we are using.
7096 echo 'int i;' > conftest.$ac_ext
7097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7098 (eval $ac_compile) 2>&5
7100 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7101 (exit $ac_status); }; then
7102 case `/usr/bin/file conftest.o` in
7104 case $lt_cv_prog_gnu_ld in
7105 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7107 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7119 need_locks="$enable_libtool_lock"
7123 rhapsody* | darwin*)
7124 if test -n "$ac_tool_prefix"; then
7125 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7126 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7127 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7128 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7129 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
7130 echo $ECHO_N "(cached
) $ECHO_C" >&6
7132 if test -n "$DSYMUTIL"; then
7133 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7139 test -z "$as_dir" && as_dir=.
7140 for ac_exec_ext in '' $ac_executable_extensions; do
7141 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7142 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7143 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7151 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7152 if test -n "$DSYMUTIL"; then
7153 echo "$as_me:$LINENO: result
: $DSYMUTIL" >&5
7154 echo "${ECHO_T}$DSYMUTIL" >&6
7156 echo "$as_me:$LINENO: result
: no
" >&5
7157 echo "${ECHO_T}no
" >&6
7161 if test -z "$ac_cv_prog_DSYMUTIL"; then
7162 ac_ct_DSYMUTIL=$DSYMUTIL
7163 # Extract the first word of "dsymutil
", so it can be a program name with args.
7164 set dummy dsymutil; ac_word=$2
7165 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7166 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7167 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
7168 echo $ECHO_N "(cached
) $ECHO_C" >&6
7170 if test -n "$ac_ct_DSYMUTIL"; then
7171 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7177 test -z "$as_dir" && as_dir=.
7178 for ac_exec_ext in '' $ac_executable_extensions; do
7179 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7180 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7181 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7187 test -z "$ac_cv_prog_ac_ct_DSYMUTIL" && ac_cv_prog_ac_ct_DSYMUTIL=":"
7190 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7191 if test -n "$ac_ct_DSYMUTIL"; then
7192 echo "$as_me:$LINENO: result
: $ac_ct_DSYMUTIL" >&5
7193 echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6
7195 echo "$as_me:$LINENO: result
: no
" >&5
7196 echo "${ECHO_T}no
" >&6
7199 DSYMUTIL=$ac_ct_DSYMUTIL
7201 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7204 if test -n "$ac_tool_prefix"; then
7205 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7206 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7207 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7208 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7209 if test "${ac_cv_prog_NMEDIT+set}" = set; then
7210 echo $ECHO_N "(cached
) $ECHO_C" >&6
7212 if test -n "$NMEDIT"; then
7213 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7219 test -z "$as_dir" && as_dir=.
7220 for ac_exec_ext in '' $ac_executable_extensions; do
7221 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7222 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7223 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7231 NMEDIT=$ac_cv_prog_NMEDIT
7232 if test -n "$NMEDIT"; then
7233 echo "$as_me:$LINENO: result
: $NMEDIT" >&5
7234 echo "${ECHO_T}$NMEDIT" >&6
7236 echo "$as_me:$LINENO: result
: no
" >&5
7237 echo "${ECHO_T}no
" >&6
7241 if test -z "$ac_cv_prog_NMEDIT"; then
7242 ac_ct_NMEDIT=$NMEDIT
7243 # Extract the first word of "nmedit
", so it can be a program name with args.
7244 set dummy nmedit; ac_word=$2
7245 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7246 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7247 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
7248 echo $ECHO_N "(cached
) $ECHO_C" >&6
7250 if test -n "$ac_ct_NMEDIT"; then
7251 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7257 test -z "$as_dir" && as_dir=.
7258 for ac_exec_ext in '' $ac_executable_extensions; do
7259 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7260 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7261 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7267 test -z "$ac_cv_prog_ac_ct_NMEDIT" && ac_cv_prog_ac_ct_NMEDIT=":"
7270 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7271 if test -n "$ac_ct_NMEDIT"; then
7272 echo "$as_me:$LINENO: result
: $ac_ct_NMEDIT" >&5
7273 echo "${ECHO_T}$ac_ct_NMEDIT" >&6
7275 echo "$as_me:$LINENO: result
: no
" >&5
7276 echo "${ECHO_T}no
" >&6
7279 NMEDIT=$ac_ct_NMEDIT
7281 NMEDIT="$ac_cv_prog_NMEDIT"
7284 if test -n "$ac_tool_prefix"; then
7285 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7286 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7287 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7288 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7289 if test "${ac_cv_prog_LIPO+set}" = set; then
7290 echo $ECHO_N "(cached
) $ECHO_C" >&6
7292 if test -n "$LIPO"; then
7293 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7299 test -z "$as_dir" && as_dir=.
7300 for ac_exec_ext in '' $ac_executable_extensions; do
7301 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7302 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7303 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7311 LIPO=$ac_cv_prog_LIPO
7312 if test -n "$LIPO"; then
7313 echo "$as_me:$LINENO: result
: $LIPO" >&5
7314 echo "${ECHO_T}$LIPO" >&6
7316 echo "$as_me:$LINENO: result
: no
" >&5
7317 echo "${ECHO_T}no
" >&6
7321 if test -z "$ac_cv_prog_LIPO"; then
7323 # Extract the first word of "lipo
", so it can be a program name with args.
7324 set dummy lipo; ac_word=$2
7325 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7326 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7327 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
7328 echo $ECHO_N "(cached
) $ECHO_C" >&6
7330 if test -n "$ac_ct_LIPO"; then
7331 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7337 test -z "$as_dir" && as_dir=.
7338 for ac_exec_ext in '' $ac_executable_extensions; do
7339 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7340 ac_cv_prog_ac_ct_LIPO="lipo
"
7341 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7347 test -z "$ac_cv_prog_ac_ct_LIPO" && ac_cv_prog_ac_ct_LIPO=":"
7350 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7351 if test -n "$ac_ct_LIPO"; then
7352 echo "$as_me:$LINENO: result
: $ac_ct_LIPO" >&5
7353 echo "${ECHO_T}$ac_ct_LIPO" >&6
7355 echo "$as_me:$LINENO: result
: no
" >&5
7356 echo "${ECHO_T}no
" >&6
7361 LIPO="$ac_cv_prog_LIPO"
7364 if test -n "$ac_tool_prefix"; then
7365 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7366 set dummy ${ac_tool_prefix}otool; ac_word=$2
7367 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7368 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7369 if test "${ac_cv_prog_OTOOL+set}" = set; then
7370 echo $ECHO_N "(cached
) $ECHO_C" >&6
7372 if test -n "$OTOOL"; then
7373 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7379 test -z "$as_dir" && as_dir=.
7380 for ac_exec_ext in '' $ac_executable_extensions; do
7381 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7382 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7383 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7391 OTOOL=$ac_cv_prog_OTOOL
7392 if test -n "$OTOOL"; then
7393 echo "$as_me:$LINENO: result
: $OTOOL" >&5
7394 echo "${ECHO_T}$OTOOL" >&6
7396 echo "$as_me:$LINENO: result
: no
" >&5
7397 echo "${ECHO_T}no
" >&6
7401 if test -z "$ac_cv_prog_OTOOL"; then
7403 # Extract the first word of "otool
", so it can be a program name with args.
7404 set dummy otool; ac_word=$2
7405 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7406 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7407 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
7408 echo $ECHO_N "(cached
) $ECHO_C" >&6
7410 if test -n "$ac_ct_OTOOL"; then
7411 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7417 test -z "$as_dir" && as_dir=.
7418 for ac_exec_ext in '' $ac_executable_extensions; do
7419 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7420 ac_cv_prog_ac_ct_OTOOL="otool
"
7421 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7427 test -z "$ac_cv_prog_ac_ct_OTOOL" && ac_cv_prog_ac_ct_OTOOL=":"
7430 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7431 if test -n "$ac_ct_OTOOL"; then
7432 echo "$as_me:$LINENO: result
: $ac_ct_OTOOL" >&5
7433 echo "${ECHO_T}$ac_ct_OTOOL" >&6
7435 echo "$as_me:$LINENO: result
: no
" >&5
7436 echo "${ECHO_T}no
" >&6
7441 OTOOL="$ac_cv_prog_OTOOL"
7444 if test -n "$ac_tool_prefix"; then
7445 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7446 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7447 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7448 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7449 if test "${ac_cv_prog_OTOOL64+set}" = set; then
7450 echo $ECHO_N "(cached
) $ECHO_C" >&6
7452 if test -n "$OTOOL64"; then
7453 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7459 test -z "$as_dir" && as_dir=.
7460 for ac_exec_ext in '' $ac_executable_extensions; do
7461 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7462 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7463 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7471 OTOOL64=$ac_cv_prog_OTOOL64
7472 if test -n "$OTOOL64"; then
7473 echo "$as_me:$LINENO: result
: $OTOOL64" >&5
7474 echo "${ECHO_T}$OTOOL64" >&6
7476 echo "$as_me:$LINENO: result
: no
" >&5
7477 echo "${ECHO_T}no
" >&6
7481 if test -z "$ac_cv_prog_OTOOL64"; then
7482 ac_ct_OTOOL64=$OTOOL64
7483 # Extract the first word of "otool64
", so it can be a program name with args.
7484 set dummy otool64; ac_word=$2
7485 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7486 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7487 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
7488 echo $ECHO_N "(cached
) $ECHO_C" >&6
7490 if test -n "$ac_ct_OTOOL64"; then
7491 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7497 test -z "$as_dir" && as_dir=.
7498 for ac_exec_ext in '' $ac_executable_extensions; do
7499 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7500 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7501 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7507 test -z "$ac_cv_prog_ac_ct_OTOOL64" && ac_cv_prog_ac_ct_OTOOL64=":"
7510 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7511 if test -n "$ac_ct_OTOOL64"; then
7512 echo "$as_me:$LINENO: result
: $ac_ct_OTOOL64" >&5
7513 echo "${ECHO_T}$ac_ct_OTOOL64" >&6
7515 echo "$as_me:$LINENO: result
: no
" >&5
7516 echo "${ECHO_T}no
" >&6
7519 OTOOL64=$ac_ct_OTOOL64
7521 OTOOL64="$ac_cv_prog_OTOOL64"
7550 echo "$as_me:$LINENO: checking
for -single_module linker flag
" >&5
7551 echo $ECHO_N "checking
for -single_module linker flag...
$ECHO_C" >&6
7552 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7553 echo $ECHO_N "(cached
) $ECHO_C" >&6
7555 lt_cv_apple_cc_single_mod=no
7556 if test -z "${LT_MULTI_MODULE}"; then
7557 # By default we will add the -single_module flag. You can override
7558 # by either setting the environment variable LT_MULTI_MODULE
7559 # non-empty at configure time, or by adding -multi_module to the
7561 rm -rf libconftest.dylib*
7562 echo "int foo
(void
){return 1;}" > conftest.c
7563 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7564 -dynamiclib -Wl,-single_module conftest.c
" >&5
7565 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7566 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7568 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7569 lt_cv_apple_cc_single_mod=yes
7571 cat conftest.err >&5
7573 rm -rf libconftest.dylib*
7577 echo "$as_me:$LINENO: result
: $lt_cv_apple_cc_single_mod" >&5
7578 echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6
7579 echo "$as_me:$LINENO: checking
for -exported_symbols_list linker flag
" >&5
7580 echo $ECHO_N "checking
for -exported_symbols_list linker flag...
$ECHO_C" >&6
7581 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
7582 echo $ECHO_N "(cached
) $ECHO_C" >&6
7584 lt_cv_ld_exported_symbols_list=no
7585 save_LDFLAGS=$LDFLAGS
7586 echo "_main
" > conftest.sym
7587 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7588 cat >conftest.$ac_ext <<_ACEOF
7591 cat confdefs.h >>conftest.$ac_ext
7592 cat >>conftest.$ac_ext <<_ACEOF
7593 /* end confdefs.h. */
7603 rm -f conftest.$ac_objext conftest$ac_exeext
7604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7605 (eval $ac_link) 2>conftest.er1
7607 grep -v '^ *+' conftest.er1 >conftest.err
7609 cat conftest.err >&5
7610 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7611 (exit $ac_status); } &&
7612 { ac_try='test -z "$ac_c_werror_flag"
7613 || test ! -s conftest.err'
7614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7617 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7618 (exit $ac_status); }; } &&
7619 { ac_try='test -s conftest$ac_exeext'
7620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7623 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7624 (exit $ac_status); }; }; then
7625 lt_cv_ld_exported_symbols_list=yes
7627 echo "$as_me: failed program was
:" >&5
7628 sed 's/^/| /' conftest.$ac_ext >&5
7630 lt_cv_ld_exported_symbols_list=no
7632 rm -f conftest.err conftest.$ac_objext \
7633 conftest$ac_exeext conftest.$ac_ext
7634 LDFLAGS="$save_LDFLAGS"
7637 echo "$as_me:$LINENO: result
: $lt_cv_ld_exported_symbols_list" >&5
7638 echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6
7640 rhapsody* | darwin1.[012])
7641 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7643 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7644 darwin*) # darwin 5.x on
7645 # if running on 10.5 or later, the deployment target defaults
7646 # to the OS version, if on x86, and 10.4, the deployment
7647 # target defaults to 10.4. Don't you love it?
7648 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7649 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7650 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7652 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7654 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7658 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7659 _lt_dar_single_mod='$single_module'
7661 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7662 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7664 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7666 if test "$DSYMUTIL" != ":"; then
7667 _lt_dsymutil='~$DSYMUTIL $lib || :'
7675 for ac_header in dlfcn.h
7677 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
7678 echo "$as_me:$LINENO: checking
for $ac_header" >&5
7679 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6
7680 if eval "test \"\
${$as_ac_Header+set}\" = set"; then
7681 echo $ECHO_N "(cached
) $ECHO_C" >&6
7683 cat >conftest.$ac_ext <<_ACEOF
7686 cat confdefs.h >>conftest.$ac_ext
7687 cat >>conftest.$ac_ext <<_ACEOF
7688 /* end confdefs.h. */
7689 $ac_includes_default
7691 #include <$ac_header>
7693 rm -f conftest.$ac_objext
7694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7695 (eval $ac_compile) 2>conftest.er1
7697 grep -v '^ *+' conftest.er1 >conftest.err
7699 cat conftest.err >&5
7700 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7701 (exit $ac_status); } &&
7702 { ac_try='test -z "$ac_c_werror_flag"
7703 || test ! -s conftest.err'
7704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7707 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7708 (exit $ac_status); }; } &&
7709 { ac_try='test -s conftest.$ac_objext'
7710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7713 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7714 (exit $ac_status); }; }; then
7715 eval "$as_ac_Header=yes"
7717 echo "$as_me: failed program was
:" >&5
7718 sed 's/^/| /' conftest.$ac_ext >&5
7720 eval "$as_ac_Header=no
"
7722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7724 echo "$as_me:$LINENO: result
: `eval echo '${'$as_ac_Header'}'`" >&5
7725 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7726 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7727 cat >>confdefs.h <<_ACEOF
7728 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
7745 # Check whether --enable-shared or --disable-shared was given.
7746 if test "${enable_shared+set}" = set; then
7747 enableval="$enable_shared"
7748 p=${PACKAGE-default}
7750 yes) enable_shared=yes ;;
7751 no) enable_shared=no ;;
7754 # Look at the argument we got. We use all the common list separators.
7755 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7756 for pkg in $enableval; do
7758 if test "X
$pkg" = "X
$p"; then
7776 # Check whether --enable-static or --disable-static was given.
7777 if test "${enable_static+set}" = set; then
7778 enableval="$enable_static"
7779 p=${PACKAGE-default}
7781 yes) enable_static=yes ;;
7782 no) enable_static=no ;;
7785 # Look at the argument we got. We use all the common list separators.
7786 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7787 for pkg in $enableval; do
7789 if test "X
$pkg" = "X
$p"; then
7808 # Check whether --with-pic or --without-pic was given.
7809 if test "${with_pic+set}" = set; then
7816 test -z "$pic_mode" && pic_mode=default
7824 # Check whether --enable-fast-install or --disable-fast-install was given.
7825 if test "${enable_fast_install+set}" = set; then
7826 enableval="$enable_fast_install"
7827 p=${PACKAGE-default}
7829 yes) enable_fast_install=yes ;;
7830 no) enable_fast_install=no ;;
7832 enable_fast_install=no
7833 # Look at the argument we got. We use all the common list separators.
7834 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7835 for pkg in $enableval; do
7837 if test "X
$pkg" = "X
$p"; then
7838 enable_fast_install=yes
7845 enable_fast_install=yes
7857 # This can be used to rebuild libtool when needed
7858 LIBTOOL_DEPS="$ltmain"
7860 # Always use our own libtool.
7861 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7887 test -z "$LN_S" && LN_S="ln -s"
7902 if test -n "${ZSH_VERSION+set}" ; then
7903 setopt NO_GLOB_SUBST
7906 echo "$as_me:$LINENO: checking
for objdir
" >&5
7907 echo $ECHO_N "checking
for objdir...
$ECHO_C" >&6
7908 if test "${lt_cv_objdir+set}" = set; then
7909 echo $ECHO_N "(cached
) $ECHO_C" >&6
7911 rm -f .libs 2>/dev/null
7912 mkdir .libs 2>/dev/null
7913 if test -d .libs; then
7916 # MS-DOS does not allow filenames that begin with a dot.
7919 rmdir .libs 2>/dev/null
7921 echo "$as_me:$LINENO: result
: $lt_cv_objdir" >&5
7922 echo "${ECHO_T}$lt_cv_objdir" >&6
7923 objdir=$lt_cv_objdir
7929 cat >>confdefs.h <<_ACEOF
7930 #define LT_OBJDIR "$lt_cv_objdir/"
7951 # AIX sometimes has problems with the GCC collect2 program. For some
7952 # reason, if we set the COLLECT_NAMES environment variable, the problems
7953 # vanish in a puff of smoke.
7954 if test "X
${COLLECT_NAMES+set}" != Xset; then
7956 export COLLECT_NAMES
7961 # Sed substitution that helps us do robust quoting. It backslashifies
7962 # metacharacters that are still active within double-quoted strings.
7963 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7965 # Same as above, but do not quote variable references.
7966 double_quote_subst='s/\(["`\\]\
)/\\\
1/g
'
7968 # Sed substitution to delay expansion of an escaped shell variable in a
7969 # double_quote_subst'ed string.
7970 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
7972 # Sed substitution to delay expansion of an escaped single quote.
7973 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
7975 # Sed substitution to avoid accidental globbing in evaled expressions
7976 no_glob_subst
='s/\*/\\\*/g'
7980 can_build_shared
=yes
7982 # All known linkers require a `.a' archive for static linking (except MSVC,
7983 # which needs '.lib').
7986 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7989 old_CFLAGS
="$CFLAGS"
7991 # Set sane defaults for various variables
7992 test -z "$CC" && CC
=cc
7993 test -z "$LTCC" && LTCC
=$CC
7994 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7995 test -z "$LD" && LD
=ld
7996 test -z "$ac_objext" && ac_objext
=o
7998 for cc_temp
in $compiler""; do
8000 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8001 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8006 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8009 # Only perform the check for file, if the check method requires it
8010 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8011 case $deplibs_check_method in
8013 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8014 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
8015 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
8016 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8017 echo $ECHO_N "(cached) $ECHO_C" >&6
8021 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8024 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8025 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8026 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8027 for ac_dir
in $ac_dummy; do
8029 test -z "$ac_dir" && ac_dir
=.
8030 if test -f $ac_dir/${ac_tool_prefix}file; then
8031 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8032 if test -n "$file_magic_test_file"; then
8033 case $deplibs_check_method in
8035 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8036 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8037 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8038 $EGREP "$file_magic_regex" > /dev
/null
; then
8043 *** Warning: the command libtool uses to detect shared libraries,
8044 *** $file_magic_cmd, produces output that libtool cannot recognize.
8045 *** The result is that libtool may fail to recognize shared libraries
8046 *** as such. This will affect the creation of libtool libraries that
8047 *** depend on shared libraries, but programs linked with such libtool
8048 *** libraries will work regardless of this problem. Nevertheless, you
8049 *** may want to report the problem to your system manager and/or to
8050 *** bug-libtool@gnu.org
8060 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8065 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8066 if test -n "$MAGIC_CMD"; then
8067 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8068 echo "${ECHO_T}$MAGIC_CMD" >&6
8070 echo "$as_me:$LINENO: result: no" >&5
8071 echo "${ECHO_T}no" >&6
8078 if test -z "$lt_cv_path_MAGIC_CMD"; then
8079 if test -n "$ac_tool_prefix"; then
8080 echo "$as_me:$LINENO: checking for file" >&5
8081 echo $ECHO_N "checking for file... $ECHO_C" >&6
8082 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8083 echo $ECHO_N "(cached) $ECHO_C" >&6
8087 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8090 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8091 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8092 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8093 for ac_dir
in $ac_dummy; do
8095 test -z "$ac_dir" && ac_dir
=.
8096 if test -f $ac_dir/file; then
8097 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8098 if test -n "$file_magic_test_file"; then
8099 case $deplibs_check_method in
8101 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8102 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8103 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8104 $EGREP "$file_magic_regex" > /dev
/null
; then
8109 *** Warning: the command libtool uses to detect shared libraries,
8110 *** $file_magic_cmd, produces output that libtool cannot recognize.
8111 *** The result is that libtool may fail to recognize shared libraries
8112 *** as such. This will affect the creation of libtool libraries that
8113 *** depend on shared libraries, but programs linked with such libtool
8114 *** libraries will work regardless of this problem. Nevertheless, you
8115 *** may want to report the problem to your system manager and/or to
8116 *** bug-libtool@gnu.org
8126 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8131 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8132 if test -n "$MAGIC_CMD"; then
8133 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8134 echo "${ECHO_T}$MAGIC_CMD" >&6
8136 echo "$as_me:$LINENO: result: no" >&5
8137 echo "${ECHO_T}no" >&6
8150 # Use C for the default configuration in the libtool script
8154 ac_cpp
='$CPP $CPPFLAGS'
8155 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8156 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8157 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8160 # Source file extension for C test sources.
8163 # Object file extension for compiled C test sources.
8167 # Code to be used in simple compile tests
8168 lt_simple_compile_test_code
="int some_variable = 0;"
8170 # Code to be used in simple link tests
8171 lt_simple_link_test_code
='int main(){return(0);}'
8179 # If no C compiler was specified, use CC.
8182 # If no C compiler flags were specified, use CFLAGS.
8183 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8185 # Allow CC to be a program name with arguments.
8188 # Save the default compiler, since it gets overwritten when the other
8189 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8190 compiler_DEFAULT
=$CC
8192 # save warnings/boilerplate of simple test code
8193 ac_outfile
=conftest.
$ac_objext
8194 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8195 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8196 _lt_compiler_boilerplate
=`cat conftest.err`
8199 ac_outfile
=conftest.
$ac_objext
8200 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8201 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8202 _lt_linker_boilerplate
=`cat conftest.err`
8207 ## There is no encapsulation within the following macros, do not change
8208 ## the running order or otherwise move them around unless you know exactly
8209 ## what you are doing...
8210 if test -n "$compiler"; then
8212 lt_prog_compiler_no_builtin_flag
=
8214 if test "$GCC" = yes; then
8215 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
8217 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8218 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
8219 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
8220 echo $ECHO_N "(cached) $ECHO_C" >&6
8222 lt_cv_prog_compiler_rtti_exceptions
=no
8223 ac_outfile
=conftest.
$ac_objext
8224 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8225 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8226 # Insert the option either (1) after the last *FLAGS variable, or
8227 # (2) before a word containing "conftest.", or (3) at the end.
8228 # Note that $ac_compile itself does not contain backslashes and begins
8229 # with a dollar sign (not a hyphen), so the echo should work correctly.
8230 # The option is referenced via a variable to avoid confusing sed.
8231 lt_compile
=`echo "$ac_compile" | $SED \
8232 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8233 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8234 -e 's:$: $lt_compiler_flag:'`
8235 (eval echo "\"\$as_me:8235: $lt_compile\"" >&5)
8236 (eval "$lt_compile" 2>conftest.err
)
8238 cat conftest.err
>&5
8239 echo "$as_me:8239: \$? = $ac_status" >&5
8240 if (exit $ac_status) && test -s "$ac_outfile"; then
8241 # The compiler can only warn and ignore the option if not recognized
8242 # So say no if there are warnings other than the usual output.
8243 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8244 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8245 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8246 lt_cv_prog_compiler_rtti_exceptions
=yes
8252 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8253 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
8255 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8256 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8268 lt_prog_compiler_wl
=
8269 lt_prog_compiler_pic
=
8270 lt_prog_compiler_static
=
8272 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
8273 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
8275 if test "$GCC" = yes; then
8276 lt_prog_compiler_wl
='-Wl,'
8277 lt_prog_compiler_static
='-static'
8281 # All AIX code is PIC.
8282 if test "$host_cpu" = ia64
; then
8283 # AIX 5 now supports IA64 processor
8284 lt_prog_compiler_static
='-Bstatic'
8291 # see comment about AmigaOS4 .so support
8292 lt_prog_compiler_pic
='-fPIC'
8295 # FIXME: we need at least 68020 code to build shared libraries, but
8296 # adding the `-m68020' flag to GCC prevents building anything better,
8298 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8303 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8304 # PIC is the default for these OSes.
8307 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8308 # This hack is so that the source file can tell whether it is being
8309 # built for inclusion in a dll (and should export symbols for example).
8310 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8311 # (--disable-auto-import) libraries
8312 lt_prog_compiler_pic
='-DDLL_EXPORT'
8315 darwin
* | rhapsody
*)
8316 # PIC is the default on this platform
8317 # Common symbols not allowed in MH_DYLIB files
8318 lt_prog_compiler_pic
='-fno-common'
8322 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8323 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8324 # sets the default TLS model and affects inlining.
8330 lt_prog_compiler_pic
='-fPIC'
8336 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8337 # Instead, we relocate shared libraries at runtime.
8341 # Just because we use GCC doesn't mean we suddenly get shared libraries
8342 # on systems that don't support them.
8343 lt_prog_compiler_can_build_shared
=no
8348 # QNX uses GNU C++, but need to define -shared option too, otherwise
8350 lt_prog_compiler_pic
='-fPIC -shared'
8354 if test -d /usr
/nec
; then
8355 lt_prog_compiler_pic
=-Kconform_pic
8360 lt_prog_compiler_pic
='-fPIC'
8364 # PORTME Check for flag to pass linker flags through the system compiler.
8367 lt_prog_compiler_wl
='-Wl,'
8368 if test "$host_cpu" = ia64
; then
8369 # AIX 5 now supports IA64 processor
8370 lt_prog_compiler_static
='-Bstatic'
8372 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8376 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8377 # This hack is so that the source file can tell whether it is being
8378 # built for inclusion in a dll (and should export symbols for example).
8379 lt_prog_compiler_pic
='-DDLL_EXPORT'
8382 hpux9
* | hpux10
* | hpux11
*)
8383 lt_prog_compiler_wl
='-Wl,'
8384 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8391 lt_prog_compiler_pic
='+Z'
8394 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8395 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8398 irix5
* | irix6
* | nonstopux
*)
8399 lt_prog_compiler_wl
='-Wl,'
8400 # PIC (with -KPIC) is the default.
8401 lt_prog_compiler_static
='-non_shared'
8404 linux
* | k
*bsd
*-gnu)
8405 case $cc_basename in
8406 # old Intel for x86_64 which still supported -KPIC.
8408 lt_prog_compiler_wl
='-Wl,'
8409 lt_prog_compiler_pic
='-KPIC'
8410 lt_prog_compiler_static
='-static'
8412 # icc used to be incompatible with GCC.
8413 # ICC 10 doesn't accept -KPIC any more.
8415 lt_prog_compiler_wl
='-Wl,'
8416 lt_prog_compiler_pic
='-fPIC'
8417 lt_prog_compiler_static
='-static'
8419 # Lahey Fortran 8.1.
8421 lt_prog_compiler_wl
='-Wl,'
8422 lt_prog_compiler_pic
='--shared'
8423 lt_prog_compiler_static
='--static'
8425 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
8426 # Portland Group compilers (*not* the Pentium gcc compiler,
8427 # which looks to be a dead project)
8428 lt_prog_compiler_wl
='-Wl,'
8429 lt_prog_compiler_pic
='-fpic'
8430 lt_prog_compiler_static
='-Bstatic'
8433 lt_prog_compiler_wl
='-Wl,'
8434 # All Alpha code is PIC.
8435 lt_prog_compiler_static
='-non_shared'
8438 # IBM XL C 8.0/Fortran 10.1 on PPC
8439 lt_prog_compiler_wl
='-Wl,'
8440 lt_prog_compiler_pic
='-qpic'
8441 lt_prog_compiler_static
='-qstaticlink'
8444 case `$CC -V 2>&1 | sed 5q` in
8447 lt_prog_compiler_pic
='-KPIC'
8448 lt_prog_compiler_static
='-Bstatic'
8449 lt_prog_compiler_wl
='-Wl,'
8452 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8453 lt_prog_compiler_pic
='-KPIC'
8454 lt_prog_compiler_static
='-Bstatic'
8455 lt_prog_compiler_wl
=''
8463 lt_prog_compiler_pic
='-KPIC'
8464 lt_prog_compiler_static
='-Bstatic'
8468 # QNX uses GNU C++, but need to define -shared option too, otherwise
8470 lt_prog_compiler_pic
='-fPIC -shared'
8473 osf3
* | osf4
* | osf5
*)
8474 lt_prog_compiler_wl
='-Wl,'
8475 # All OSF/1 code is PIC.
8476 lt_prog_compiler_static
='-non_shared'
8480 lt_prog_compiler_static
='-non_shared'
8484 lt_prog_compiler_pic
='-KPIC'
8485 lt_prog_compiler_static
='-Bstatic'
8486 case $cc_basename in
8488 lt_prog_compiler_wl
='-Qoption ld ';;
8490 lt_prog_compiler_wl
='-Wl,';;
8495 lt_prog_compiler_wl
='-Qoption ld '
8496 lt_prog_compiler_pic
='-PIC'
8497 lt_prog_compiler_static
='-Bstatic'
8500 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8501 lt_prog_compiler_wl
='-Wl,'
8502 lt_prog_compiler_pic
='-KPIC'
8503 lt_prog_compiler_static
='-Bstatic'
8507 if test -d /usr
/nec
;then
8508 lt_prog_compiler_pic
='-Kconform_pic'
8509 lt_prog_compiler_static
='-Bstatic'
8513 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8514 lt_prog_compiler_wl
='-Wl,'
8515 lt_prog_compiler_pic
='-KPIC'
8516 lt_prog_compiler_static
='-Bstatic'
8520 lt_prog_compiler_wl
='-Wl,'
8521 lt_prog_compiler_can_build_shared
=no
8525 lt_prog_compiler_pic
='-pic'
8526 lt_prog_compiler_static
='-Bstatic'
8530 lt_prog_compiler_can_build_shared
=no
8536 # For platforms which do not support PIC, -DPIC is meaningless:
8538 lt_prog_compiler_pic
=
8541 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8544 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8545 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
8553 # Check to make sure the PIC flag actually works.
8555 if test -n "$lt_prog_compiler_pic"; then
8556 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8557 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
8558 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
8559 echo $ECHO_N "(cached) $ECHO_C" >&6
8561 lt_cv_prog_compiler_pic_works
=no
8562 ac_outfile
=conftest.
$ac_objext
8563 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8564 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8565 # Insert the option either (1) after the last *FLAGS variable, or
8566 # (2) before a word containing "conftest.", or (3) at the end.
8567 # Note that $ac_compile itself does not contain backslashes and begins
8568 # with a dollar sign (not a hyphen), so the echo should work correctly.
8569 # The option is referenced via a variable to avoid confusing sed.
8570 lt_compile
=`echo "$ac_compile" | $SED \
8571 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8572 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8573 -e 's:$: $lt_compiler_flag:'`
8574 (eval echo "\"\$as_me:8574: $lt_compile\"" >&5)
8575 (eval "$lt_compile" 2>conftest.err
)
8577 cat conftest.err
>&5
8578 echo "$as_me:8578: \$? = $ac_status" >&5
8579 if (exit $ac_status) && test -s "$ac_outfile"; then
8580 # The compiler can only warn and ignore the option if not recognized
8581 # So say no if there are warnings other than the usual output.
8582 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8583 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8584 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8585 lt_cv_prog_compiler_pic_works
=yes
8591 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
8592 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6
8594 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8595 case $lt_prog_compiler_pic in
8597 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8600 lt_prog_compiler_pic
=
8601 lt_prog_compiler_can_build_shared
=no
8612 # Check to make sure the static flag actually works.
8614 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8615 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8616 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
8617 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
8618 echo $ECHO_N "(cached) $ECHO_C" >&6
8620 lt_cv_prog_compiler_static_works
=no
8621 save_LDFLAGS
="$LDFLAGS"
8622 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8623 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8624 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8625 # The linker can only warn and ignore the option if not recognized
8626 # So say no if there are warnings
8627 if test -s conftest.err
; then
8628 # Append any errors to the config.log.
8629 cat conftest.err
1>&5
8630 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
8631 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8632 if diff conftest.exp conftest.er2
>/dev
/null
; then
8633 lt_cv_prog_compiler_static_works
=yes
8636 lt_cv_prog_compiler_static_works
=yes
8640 LDFLAGS
="$save_LDFLAGS"
8643 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
8644 echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6
8646 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8649 lt_prog_compiler_static
=
8658 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8659 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
8660 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8661 echo $ECHO_N "(cached) $ECHO_C" >&6
8663 lt_cv_prog_compiler_c_o
=no
8664 $RM -r conftest
2>/dev
/null
8668 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8670 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8671 # Insert the option either (1) after the last *FLAGS variable, or
8672 # (2) before a word containing "conftest.", or (3) at the end.
8673 # Note that $ac_compile itself does not contain backslashes and begins
8674 # with a dollar sign (not a hyphen), so the echo should work correctly.
8675 lt_compile
=`echo "$ac_compile" | $SED \
8676 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8677 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8678 -e 's:$: $lt_compiler_flag:'`
8679 (eval echo "\"\$as_me:8679: $lt_compile\"" >&5)
8680 (eval "$lt_compile" 2>out
/conftest.err
)
8682 cat out
/conftest.err
>&5
8683 echo "$as_me:8683: \$? = $ac_status" >&5
8684 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8686 # The compiler can only warn and ignore the option if not recognized
8687 # So say no if there are warnings
8688 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8689 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8690 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8691 lt_cv_prog_compiler_c_o
=yes
8696 # SGI C++ compiler will create directory out/ii_files/ for
8697 # template instantiation
8698 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8699 $RM out
/* && rmdir out
8705 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8706 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
8713 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8714 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
8715 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8716 echo $ECHO_N "(cached) $ECHO_C" >&6
8718 lt_cv_prog_compiler_c_o
=no
8719 $RM -r conftest
2>/dev
/null
8723 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8725 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8726 # Insert the option either (1) after the last *FLAGS variable, or
8727 # (2) before a word containing "conftest.", or (3) at the end.
8728 # Note that $ac_compile itself does not contain backslashes and begins
8729 # with a dollar sign (not a hyphen), so the echo should work correctly.
8730 lt_compile
=`echo "$ac_compile" | $SED \
8731 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8732 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8733 -e 's:$: $lt_compiler_flag:'`
8734 (eval echo "\"\$as_me:8734: $lt_compile\"" >&5)
8735 (eval "$lt_compile" 2>out
/conftest.err
)
8737 cat out
/conftest.err
>&5
8738 echo "$as_me:8738: \$? = $ac_status" >&5
8739 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8741 # The compiler can only warn and ignore the option if not recognized
8742 # So say no if there are warnings
8743 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8744 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8745 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8746 lt_cv_prog_compiler_c_o
=yes
8751 # SGI C++ compiler will create directory out/ii_files/ for
8752 # template instantiation
8753 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8754 $RM out
/* && rmdir out
8760 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8761 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
8766 hard_links
="nottested"
8767 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8768 # do not overwrite the value of need_locks provided by the user
8769 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8770 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
8773 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8775 ln conftest.a conftest.b
2>&5 || hard_links
=no
8776 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8777 echo "$as_me:$LINENO: result: $hard_links" >&5
8778 echo "${ECHO_T}$hard_links" >&6
8779 if test "$hard_links" = no
; then
8780 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8781 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8793 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8794 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
8797 allow_undefined_flag
=
8798 always_export_symbols
=no
8800 archive_expsym_cmds
=
8801 compiler_needs_object
=no
8802 enable_shared_with_static_runtimes
=no
8803 export_dynamic_flag_spec
=
8804 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8805 hardcode_automatic
=no
8807 hardcode_direct_absolute
=no
8808 hardcode_libdir_flag_spec
=
8809 hardcode_libdir_flag_spec_ld
=
8810 hardcode_libdir_separator
=
8812 hardcode_shlibpath_var
=unsupported
8814 link_all_deplibs
=unknown
8817 old_archive_from_new_cmds
=
8818 old_archive_from_expsyms_cmds
=
8819 thread_safe_flag_spec
=
8820 whole_archive_flag_spec
=
8821 # include_expsyms should be a list of space-separated symbols to be *always*
8822 # included in the symbol list
8824 # exclude_expsyms can be an extended regexp of symbols to exclude
8825 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8826 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8827 # as well as any symbol that contains `d'.
8828 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8829 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8830 # platforms (ab)use it in PIC code, but their linkers get confused if
8831 # the symbol is explicitly referenced. Since portable code cannot
8832 # rely on this symbol name, it's probably fine to never include it in
8833 # preloaded symbol tables.
8834 # Exclude shared library initialization/finalization symbols.
8835 extract_expsyms_cmds
=
8838 cygwin
* | mingw
* | pw32
* | cegcc
*)
8839 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8840 # When not using gcc, we currently assume that we are using
8841 # Microsoft Visual C++.
8842 if test "$GCC" != yes; then
8847 # we just hope/assume this is gcc and not c89 (= MSVC++)
8856 if test "$with_gnu_ld" = yes; then
8857 # If archive_cmds runs LD, not CC, wlarc should be empty
8860 # Set some defaults for GNU ld with shared library support. These
8861 # are reset later if shared libraries are not supported. Putting them
8862 # here allows them to be overridden if necessary.
8863 runpath_var
=LD_RUN_PATH
8864 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8865 export_dynamic_flag_spec
='${wl}--export-dynamic'
8866 # ancient GNU ld didn't support --whole-archive et. al.
8867 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8868 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8870 whole_archive_flag_spec
=
8872 supports_anon_versioning
=no
8873 case `$LD -v 2>&1` in
8874 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8875 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8876 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8877 *\
2.11.
*) ;; # other 2.11 versions
8878 *) supports_anon_versioning
=yes ;;
8881 # See if GNU ld supports shared libraries.
8884 # On AIX/PPC, the GNU linker is very broken
8885 if test "$host_cpu" != ia64
; then
8889 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8890 *** to be unable to reliably create shared libraries on AIX.
8891 *** Therefore, libtool is disabling shared libraries support. If you
8892 *** really care for shared libraries, you may want to modify your PATH
8893 *** so that a non-GNU linker is found, and then restart.
8902 # see comment about AmigaOS4 .so support
8903 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8904 archive_expsym_cmds
=''
8907 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)'
8908 hardcode_libdir_flag_spec
='-L$libdir'
8909 hardcode_minus_L
=yes
8915 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8916 allow_undefined_flag
=unsupported
8917 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8918 # support --undefined. This deserves some investigation. FIXME
8919 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8925 cygwin
* | mingw
* | pw32
* | cegcc
*)
8926 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8927 # as there is no search path for DLLs.
8928 hardcode_libdir_flag_spec
='-L$libdir'
8929 allow_undefined_flag
=unsupported
8930 always_export_symbols
=no
8931 enable_shared_with_static_runtimes
=yes
8932 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8934 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8935 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8936 # If the export-symbols file already is a .def file (1st line
8937 # is EXPORTS), use it as is; otherwise, prepend...
8938 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8939 cp $export_symbols $output_objdir/$soname.def;
8941 echo EXPORTS > $output_objdir/$soname.def;
8942 cat $export_symbols >> $output_objdir/$soname.def;
8944 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8952 hardcode_shlibpath_var
=no
8953 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8954 export_dynamic_flag_spec
='${wl}-E'
8955 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8956 # Instead, shared libraries are loaded at an image base (0x10000000 by
8957 # default) and relocated if they conflict, which is a slow very memory
8958 # consuming and fragmenting process. To avoid this, we pick a random,
8959 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8960 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8961 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8962 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'
8965 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
8967 if test "$host_os" = linux-dietlibc
; then
8968 case $cc_basename in
8969 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8972 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8973 && test "$tmp_diet" = no
8976 tmp_sharedflag
='-shared'
8977 case $cc_basename,$host_cpu in
8978 pgcc
*) # Portland Group C compiler
8979 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'
8980 tmp_addflag
=' $pic_flag'
8982 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
8983 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'
8984 tmp_addflag
=' $pic_flag -Mnomain' ;;
8985 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8986 tmp_addflag
=' -i_dynamic' ;;
8987 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8988 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8989 ifc
* | ifort
*) # Intel Fortran compiler
8990 tmp_addflag
=' -nofor_main' ;;
8991 lf95
*) # Lahey Fortran 8.1
8992 whole_archive_flag_spec
=
8993 tmp_sharedflag
='--shared' ;;
8994 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8995 tmp_sharedflag
='-qmkshrobj'
8998 case `$CC -V 2>&1 | sed 5q` in
8999 *Sun\ C
*) # Sun C 5.9
9000 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'
9001 compiler_needs_object
=yes
9002 tmp_sharedflag
='-G' ;;
9003 *Sun\ F
*) # Sun Fortran 8.3
9004 tmp_sharedflag
='-G' ;;
9006 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9008 if test "x$supports_anon_versioning" = xyes
; then
9009 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9010 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9011 echo "local: *; };" >> $output_objdir/$libname.ver~
9012 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9015 case $cc_basename in
9017 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9018 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9019 hardcode_libdir_flag_spec
=
9020 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9021 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9022 if test "x$supports_anon_versioning" = xyes
; then
9023 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9024 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9025 echo "local: *; };" >> $output_objdir/$libname.ver~
9026 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9036 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9037 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9040 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9041 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9046 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9050 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9051 *** create shared libraries on Solaris systems. Therefore, libtool
9052 *** is disabling shared libraries support. We urge you to upgrade GNU
9053 *** binutils to release 2.9.1 or newer. Another option is to modify
9054 *** your PATH or compiler configuration so that the native linker is
9055 *** used, and then restart.
9058 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9059 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9060 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9066 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9067 case `$LD -v 2>&1` in
9068 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9072 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9073 *** reliably create shared libraries on SCO systems. Therefore, libtool
9074 *** is disabling shared libraries support. We urge you to upgrade GNU
9075 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9076 *** your PATH or compiler configuration so that the native linker is
9077 *** used, and then restart.
9082 # For security reasons, it is highly recommended that you always
9083 # use absolute paths for naming shared libraries, and exclude the
9084 # DT_RUNPATH tag from executables and libraries. But doing so
9085 # requires that you compile everything twice, which is a pain.
9086 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9087 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9088 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9089 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9098 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9101 hardcode_shlibpath_var
=no
9105 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9106 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9107 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9114 if test "$ld_shlibs" = no
; then
9116 hardcode_libdir_flag_spec
=
9117 export_dynamic_flag_spec
=
9118 whole_archive_flag_spec
=
9121 # PORTME fill in a description of your system's linker (not GNU ld)
9124 allow_undefined_flag
=unsupported
9125 always_export_symbols
=yes
9126 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'
9127 # Note: this linker hardcodes the directories in LIBPATH if there
9128 # are no directories specified by -L.
9129 hardcode_minus_L
=yes
9130 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9131 # Neither direct hardcoding nor static linking is supported with a
9133 hardcode_direct
=unsupported
9138 if test "$host_cpu" = ia64
; then
9139 # On IA64, the linker does run time linking by default, so we don't
9140 # have to do anything special.
9141 aix_use_runtimelinking
=no
9142 exp_sym_flag
='-Bexport'
9145 # If we're using GNU nm, then we don't want the "-C" option.
9146 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9147 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9148 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'
9150 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'
9152 aix_use_runtimelinking
=no
9154 # Test if we are trying to use run time linking or normal
9155 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9156 # need to do runtime linking.
9157 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9158 for ld_flag
in $LDFLAGS; do
9159 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9160 aix_use_runtimelinking
=yes
9167 exp_sym_flag
='-bexport'
9168 no_entry_flag
='-bnoentry'
9171 # When large executables or shared objects are built, AIX ld can
9172 # have problems creating the table of contents. If linking a library
9173 # or program results in "error TOC overflow" add -mminimal-toc to
9174 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9175 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9179 hardcode_direct_absolute
=yes
9180 hardcode_libdir_separator
=':'
9181 link_all_deplibs
=yes
9182 file_list_spec
='${wl}-f,'
9184 if test "$GCC" = yes; then
9185 case $host_os in aix4.
[012]|aix4.
[012].
*)
9186 # We only want to do this on AIX 4.2 and lower, the check
9187 # below for broken collect2 doesn't work under 4.3+
9188 collect2name
=`${CC} -print-prog-name=collect2`
9189 if test -f "$collect2name" &&
9190 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9192 # We have reworked collect2
9195 # We have old collect2
9196 hardcode_direct
=unsupported
9197 # It fails to find uninstalled libraries when the uninstalled
9198 # path is not listed in the libpath. Setting hardcode_minus_L
9199 # to unsupported forces relinking
9200 hardcode_minus_L
=yes
9201 hardcode_libdir_flag_spec
='-L$libdir'
9202 hardcode_libdir_separator
=
9206 shared_flag
='-shared'
9207 if test "$aix_use_runtimelinking" = yes; then
9208 shared_flag
="$shared_flag "'${wl}-G'
9212 if test "$host_cpu" = ia64
; then
9213 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9214 # chokes on -Wl,-G. The following line is correct:
9217 if test "$aix_use_runtimelinking" = yes; then
9218 shared_flag
='${wl}-G'
9220 shared_flag
='${wl}-bM:SRE'
9225 export_dynamic_flag_spec
='${wl}-bexpall'
9226 # It seems that -bexpall does not export symbols beginning with
9227 # underscore (_), so it is better to generate a list of symbols to export.
9228 always_export_symbols
=yes
9229 if test "$aix_use_runtimelinking" = yes; then
9230 # Warning - without using the other runtime loading flags (-brtl),
9231 # -berok will link without error, but may produce a broken library.
9232 allow_undefined_flag
='-berok'
9233 # Determine the default libpath from the value encoded in an
9235 cat >conftest.
$ac_ext <<_ACEOF
9238 cat confdefs.h
>>conftest.
$ac_ext
9239 cat >>conftest.
$ac_ext <<_ACEOF
9240 /* end confdefs.h. */
9250 rm -f conftest.
$ac_objext conftest
$ac_exeext
9251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9252 (eval $ac_link) 2>conftest.er1
9254 grep -v '^ *+' conftest.er1
>conftest.err
9256 cat conftest.err
>&5
9257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9258 (exit $ac_status); } &&
9259 { ac_try
='test -z "$ac_c_werror_flag"
9260 || test ! -s conftest.err'
9261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9265 (exit $ac_status); }; } &&
9266 { ac_try
='test -s conftest$ac_exeext'
9267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9271 (exit $ac_status); }; }; then
9273 lt_aix_libpath_sed
='
9274 /Import File Strings/,/^$/ {
9280 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9281 # Check for a 64-bit object if we didn't find anything.
9282 if test -z "$aix_libpath"; then
9283 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9286 echo "$as_me: failed program was:" >&5
9287 sed 's/^/| /' conftest.
$ac_ext >&5
9290 rm -f conftest.err conftest.
$ac_objext \
9291 conftest
$ac_exeext conftest.
$ac_ext
9292 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9294 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9295 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"
9297 if test "$host_cpu" = ia64
; then
9298 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9299 allow_undefined_flag
="-z nodefs"
9300 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"
9302 # Determine the default libpath from the value encoded in an
9304 cat >conftest.
$ac_ext <<_ACEOF
9307 cat confdefs.h
>>conftest.
$ac_ext
9308 cat >>conftest.
$ac_ext <<_ACEOF
9309 /* end confdefs.h. */
9319 rm -f conftest.
$ac_objext conftest
$ac_exeext
9320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9321 (eval $ac_link) 2>conftest.er1
9323 grep -v '^ *+' conftest.er1
>conftest.err
9325 cat conftest.err
>&5
9326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9327 (exit $ac_status); } &&
9328 { ac_try
='test -z "$ac_c_werror_flag"
9329 || test ! -s conftest.err'
9330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9334 (exit $ac_status); }; } &&
9335 { ac_try
='test -s conftest$ac_exeext'
9336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9340 (exit $ac_status); }; }; then
9342 lt_aix_libpath_sed
='
9343 /Import File Strings/,/^$/ {
9349 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9350 # Check for a 64-bit object if we didn't find anything.
9351 if test -z "$aix_libpath"; then
9352 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9355 echo "$as_me: failed program was:" >&5
9356 sed 's/^/| /' conftest.
$ac_ext >&5
9359 rm -f conftest.err conftest.
$ac_objext \
9360 conftest
$ac_exeext conftest.
$ac_ext
9361 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9363 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9364 # Warning - without using the other run time loading flags,
9365 # -berok will link without error, but may produce a broken library.
9366 no_undefined_flag
=' ${wl}-bernotok'
9367 allow_undefined_flag
=' ${wl}-berok'
9368 # Exported symbols can be pulled into shared objects from archives
9369 whole_archive_flag_spec
='$convenience'
9370 archive_cmds_need_lc
=yes
9371 # This is similar to how AIX traditionally builds its shared libraries.
9372 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'
9380 # see comment about AmigaOS4 .so support
9381 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9382 archive_expsym_cmds
=''
9385 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)'
9386 hardcode_libdir_flag_spec
='-L$libdir'
9387 hardcode_minus_L
=yes
9393 export_dynamic_flag_spec
=-rdynamic
9396 cygwin
* | mingw
* | pw32
* | cegcc
*)
9397 # When not using gcc, we currently assume that we are using
9398 # Microsoft Visual C++.
9399 # hardcode_libdir_flag_spec is actually meaningless, as there is
9400 # no search path for DLLs.
9401 hardcode_libdir_flag_spec
=' '
9402 allow_undefined_flag
=unsupported
9403 # Tell ltmain to make .lib files, not .a files.
9405 # Tell ltmain to make .dll files, not .so files.
9407 # FIXME: Setting linknames here is a bad hack.
9408 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9409 # The linker will automatically build a .lib file if we build a DLL.
9410 old_archive_from_new_cmds
='true'
9411 # FIXME: Should let the user specify the lib program.
9412 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9413 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9414 enable_shared_with_static_runtimes
=yes
9417 darwin
* | rhapsody
*)
9420 archive_cmds_need_lc
=no
9422 hardcode_automatic
=yes
9423 hardcode_shlibpath_var
=unsupported
9424 whole_archive_flag_spec
=''
9425 link_all_deplibs
=yes
9426 allow_undefined_flag
="$_lt_dar_allow_undefined"
9427 case $cc_basename in
9428 ifort
*) _lt_dar_can_shared
=yes ;;
9429 *) _lt_dar_can_shared
=$GCC ;;
9431 if test "$_lt_dar_can_shared" = "yes"; then
9432 output_verbose_link_cmd
=echo
9433 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9434 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9435 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 ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
9436 module_expsym_cmds
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
9445 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9446 hardcode_libdir_flag_spec
='-L$libdir'
9447 hardcode_shlibpath_var
=no
9454 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9455 # support. Future versions do this automatically, but an explicit c++rt0.o
9456 # does not break anything, and helps significantly (at the cost of a little
9459 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9460 hardcode_libdir_flag_spec
='-R$libdir'
9462 hardcode_shlibpath_var
=no
9465 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9467 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9469 hardcode_minus_L
=yes
9470 hardcode_shlibpath_var
=no
9473 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9474 freebsd
* | dragonfly
*)
9475 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9476 hardcode_libdir_flag_spec
='-R$libdir'
9478 hardcode_shlibpath_var
=no
9482 if test "$GCC" = yes; then
9483 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'
9485 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'
9487 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9488 hardcode_libdir_separator
=:
9491 # hardcode_minus_L: Not really in the search PATH,
9492 # but as the default location of the library.
9493 hardcode_minus_L
=yes
9494 export_dynamic_flag_spec
='${wl}-E'
9498 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9499 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9501 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9503 if test "$with_gnu_ld" = no
; then
9504 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9505 hardcode_libdir_flag_spec_ld
='+b $libdir'
9506 hardcode_libdir_separator
=:
9508 hardcode_direct_absolute
=yes
9509 export_dynamic_flag_spec
='${wl}-E'
9510 # hardcode_minus_L: Not really in the search PATH,
9511 # but as the default location of the library.
9512 hardcode_minus_L
=yes
9517 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9520 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9523 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9526 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9532 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9535 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9538 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9542 if test "$with_gnu_ld" = no
; then
9543 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9544 hardcode_libdir_separator
=:
9549 hardcode_shlibpath_var
=no
9553 hardcode_direct_absolute
=yes
9554 export_dynamic_flag_spec
='${wl}-E'
9556 # hardcode_minus_L: Not really in the search PATH,
9557 # but as the default location of the library.
9558 hardcode_minus_L
=yes
9564 irix5
* | irix6
* | nonstopux
*)
9565 if test "$GCC" = yes; then
9566 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'
9567 # Try to use the -exported_symbol ld option, if it does not
9568 # work, assume that -exports_file does not work either and
9569 # implicitly export all symbols.
9570 save_LDFLAGS
="$LDFLAGS"
9571 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9572 cat >conftest.
$ac_ext <<_ACEOF
9575 rm -f conftest.
$ac_objext conftest
$ac_exeext
9576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9577 (eval $ac_link) 2>conftest.er1
9579 grep -v '^ *+' conftest.er1
>conftest.err
9581 cat conftest.err
>&5
9582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9583 (exit $ac_status); } &&
9584 { ac_try
='test -z "$ac_c_werror_flag"
9585 || test ! -s conftest.err'
9586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9590 (exit $ac_status); }; } &&
9591 { ac_try
='test -s conftest$ac_exeext'
9592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9596 (exit $ac_status); }; }; then
9597 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'
9600 echo "$as_me: failed program was:" >&5
9601 sed 's/^/| /' conftest.
$ac_ext >&5
9604 rm -f conftest.err conftest.
$ac_objext \
9605 conftest
$ac_exeext conftest.
$ac_ext
9606 LDFLAGS
="$save_LDFLAGS"
9608 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'
9609 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'
9611 archive_cmds_need_lc
='no'
9612 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9613 hardcode_libdir_separator
=:
9615 link_all_deplibs
=yes
9619 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9620 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9622 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9624 hardcode_libdir_flag_spec
='-R$libdir'
9626 hardcode_shlibpath_var
=no
9630 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9632 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9633 hardcode_libdir_separator
=:
9634 hardcode_shlibpath_var
=no
9641 if test -f /usr
/libexec
/ld.so
; then
9643 hardcode_shlibpath_var
=no
9644 hardcode_direct_absolute
=yes
9645 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9646 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9647 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9648 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9649 export_dynamic_flag_spec
='${wl}-E'
9652 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9653 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9654 hardcode_libdir_flag_spec
='-R$libdir'
9657 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9658 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9668 hardcode_libdir_flag_spec
='-L$libdir'
9669 hardcode_minus_L
=yes
9670 allow_undefined_flag
=unsupported
9671 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'
9672 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9676 if test "$GCC" = yes; then
9677 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9678 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'
9680 allow_undefined_flag
=' -expect_unresolved \*'
9681 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'
9683 archive_cmds_need_lc
='no'
9684 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9685 hardcode_libdir_separator
=:
9688 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9689 if test "$GCC" = yes; then
9690 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9691 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'
9692 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9694 allow_undefined_flag
=' -expect_unresolved \*'
9695 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'
9696 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~
9697 $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'
9699 # Both c and cxx compiler support -rpath directly
9700 hardcode_libdir_flag_spec
='-rpath $libdir'
9702 archive_cmds_need_lc
='no'
9703 hardcode_libdir_separator
=:
9707 no_undefined_flag
=' -z defs'
9708 if test "$GCC" = yes; then
9710 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9711 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9712 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9714 case `$CC -V 2>&1` in
9717 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9718 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9719 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9723 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9724 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9725 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9729 hardcode_libdir_flag_spec
='-R$libdir'
9730 hardcode_shlibpath_var
=no
9732 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9734 # The compiler driver will combine and reorder linker options,
9735 # but understands `-z linker_flag'. GCC discards it without `$wl',
9736 # but is careful enough not to reorder.
9737 # Supported since Solaris 2.6 (maybe 2.5.1?)
9738 if test "$GCC" = yes; then
9739 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9741 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9745 link_all_deplibs
=yes
9749 if test "x$host_vendor" = xsequent
; then
9750 # Use $CC to link under sequent, because it throws in some extra .o
9751 # files that make .init and .fini sections work.
9752 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9754 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9756 hardcode_libdir_flag_spec
='-L$libdir'
9758 hardcode_minus_L
=yes
9759 hardcode_shlibpath_var
=no
9763 case $host_vendor in
9765 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9766 hardcode_direct
=yes # is this really true???
9769 ## LD is ld it makes a PLAMLIB
9770 ## CC just makes a GrossModule.
9771 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9772 reload_cmds
='$CC -r -o $output$reload_objs'
9776 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9777 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9780 runpath_var
='LD_RUN_PATH'
9781 hardcode_shlibpath_var
=no
9785 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9786 hardcode_shlibpath_var
=no
9787 export_dynamic_flag_spec
='-Bexport'
9791 if test -d /usr
/nec
; then
9792 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9793 hardcode_shlibpath_var
=no
9794 runpath_var
=LD_RUN_PATH
9795 hardcode_runpath_var
=yes
9800 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9801 no_undefined_flag
='${wl}-z,text'
9802 archive_cmds_need_lc
=no
9803 hardcode_shlibpath_var
=no
9804 runpath_var
='LD_RUN_PATH'
9806 if test "$GCC" = yes; then
9807 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9808 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9810 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9811 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9815 sysv5
* | sco3.2v5
* | sco5v6
*)
9816 # Note: We can NOT use -z defs as we might desire, because we do not
9817 # link with -lc, and that would cause any symbols used from libc to
9818 # always be unresolved, which means just about no library would
9819 # ever link correctly. If we're not using GNU ld we use -z text
9820 # though, which does catch some bad symbols but isn't as heavy-handed
9822 no_undefined_flag
='${wl}-z,text'
9823 allow_undefined_flag
='${wl}-z,nodefs'
9824 archive_cmds_need_lc
=no
9825 hardcode_shlibpath_var
=no
9826 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9827 hardcode_libdir_separator
=':'
9828 link_all_deplibs
=yes
9829 export_dynamic_flag_spec
='${wl}-Bexport'
9830 runpath_var
='LD_RUN_PATH'
9832 if test "$GCC" = yes; then
9833 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9834 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9836 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9837 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9842 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9843 hardcode_libdir_flag_spec
='-L$libdir'
9844 hardcode_shlibpath_var
=no
9852 if test x
$host_vendor = xsni
; then
9854 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9855 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9861 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9862 echo "${ECHO_T}$ld_shlibs" >&6
9863 test "$ld_shlibs" = no
&& can_build_shared
=no
9865 with_gnu_ld
=$with_gnu_ld
9882 # Do we need to explicitly link libc?
9884 case "x$archive_cmds_need_lc" in
9886 # Assume -lc should be added
9887 archive_cmds_need_lc
=yes
9889 if test "$enable_shared" = yes && test "$GCC" = yes; then
9890 case $archive_cmds in
9892 # FIXME: we may have to deal with multi-command sequences.
9895 # Test whether the compiler implicitly links with -lc since on some
9896 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9897 # to ld, don't add -lc before -lgcc.
9898 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9899 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
9901 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9904 (eval $ac_compile) 2>&5
9906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9907 (exit $ac_status); } 2>conftest.err
; then
9910 libobjs
=conftest.
$ac_objext
9912 wl
=$lt_prog_compiler_wl
9913 pic_flag
=$lt_prog_compiler_pic
9919 lt_save_allow_undefined_flag
=$allow_undefined_flag
9920 allow_undefined_flag
=
9921 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9922 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9925 (exit $ac_status); }
9927 archive_cmds_need_lc
=no
9929 archive_cmds_need_lc
=yes
9931 allow_undefined_flag
=$lt_save_allow_undefined_flag
9933 cat conftest.err
1>&5
9936 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9937 echo "${ECHO_T}$archive_cmds_need_lc" >&6
10100 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
10101 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
10103 if test "$GCC" = yes; then
10105 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10106 *) lt_awk_arg
="/^libraries:/" ;;
10108 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10109 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
10110 # if the path contains ";" then we assume it to be the separator
10111 # otherwise default to the standard path separator (i.e. ":") - it is
10112 # assumed that no part of a normal pathname contains ";" but that should
10113 # okay in the real world where ";" in dirpaths is itself problematic.
10114 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10116 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10118 # Ok, now we have the path, separated by spaces, we can step through it
10119 # and add multilib dir if necessary.
10120 lt_tmp_lt_search_path_spec
=
10121 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10122 for lt_sys_path
in $lt_search_path_spec; do
10123 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10124 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10126 test -d "$lt_sys_path" && \
10127 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10130 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10131 BEGIN {RS=" "; FS="/|\n";} {
10134 for (lt_i = NF; lt_i > 0; lt_i--) {
10135 if ($lt_i != "" && $lt_i != ".") {
10136 if ($lt_i == "..") {
10139 if (lt_count == 0) {
10140 lt_foo="/" $lt_i lt_foo;
10147 if (lt_foo != "") { lt_freq[lt_foo]++; }
10148 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10150 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
10152 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10154 library_names_spec
=
10155 libname_spec
='lib$name'
10159 postuninstall_cmds
=
10163 shlibpath_overrides_runpath
=unknown
10165 dynamic_linker
="$host_os ld.so"
10166 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10167 need_lib_prefix
=unknown
10168 hardcode_into_libs
=no
10170 # when you set need_version to no, make sure it does not cause -set_version
10171 # flags to be left without arguments
10172 need_version
=unknown
10177 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10178 shlibpath_var
=LIBPATH
10180 # AIX 3 has no versioning support, so we append a major version to the name.
10181 soname_spec
='${libname}${release}${shared_ext}$major'
10188 hardcode_into_libs
=yes
10189 if test "$host_cpu" = ia64
; then
10190 # AIX 5 supports IA64
10191 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10192 shlibpath_var
=LD_LIBRARY_PATH
10194 # With GCC up to 2.95.x, collect2 would create an import file
10195 # for dependence libraries. The import file would start with
10196 # the line `#! .'. This would cause the generated library to
10197 # depend on `.', always an invalid library. This was fixed in
10198 # development snapshots of GCC prior to 3.0.
10200 aix4 | aix4.
[01] | aix4.
[01].
*)
10201 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10203 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10206 can_build_shared
=no
10210 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10211 # soname into executable. Probably we can add versioning support to
10212 # collect2, so additional links can be useful in future.
10213 if test "$aix_use_runtimelinking" = yes; then
10214 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10215 # instead of lib<name>.a to let people know that these are not
10216 # typical AIX shared libraries.
10217 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10219 # We preserve .a as extension for shared libraries through AIX4.2
10220 # and later when we are not doing run time linking.
10221 library_names_spec
='${libname}${release}.a $libname.a'
10222 soname_spec
='${libname}${release}${shared_ext}$major'
10224 shlibpath_var
=LIBPATH
10231 # Since July 2007 AmigaOS4 officially supports .so libraries.
10232 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10233 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10236 library_names_spec
='$libname.ixlibrary $libname.a'
10237 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10238 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'
10244 library_names_spec
='${libname}${shared_ext}'
10245 dynamic_linker
="$host_os ld.so"
10246 shlibpath_var
=LIBRARY_PATH
10252 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10253 soname_spec
='${libname}${release}${shared_ext}$major'
10254 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10255 shlibpath_var
=LD_LIBRARY_PATH
10256 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10257 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10258 # the default ld.so.conf also contains /usr/contrib/lib and
10259 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10260 # libtool to hard-code these into programs
10263 cygwin
* | mingw
* | pw32
* | cegcc
*)
10264 version_type
=windows
10269 case $GCC,$host_os in
10270 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10271 library_names_spec
='$libname.dll.a'
10272 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10273 postinstall_cmds
='base_file=`basename \${file}`~
10274 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10275 dldir=$destdir/`dirname \$dlpath`~
10276 test -d \$dldir || mkdir -p \$dldir~
10277 $install_prog $dir/$dlname \$dldir/$dlname~
10278 chmod a+x \$dldir/$dlname~
10279 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10280 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10282 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10283 dlpath=$dir/\$dldll~
10285 shlibpath_overrides_runpath
=yes
10289 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10290 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10291 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
10294 # MinGW DLLs use traditional 'lib' prefix
10295 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10296 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10297 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
10298 # It is most probably a Windows format PATH printed by
10299 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10300 # path with ; separators, and with drive letters. We can handle the
10301 # drive letters (cygwin fileutils understands them), so leave them,
10302 # especially as we might pass files found there to a mingw objdump,
10303 # which wouldn't understand a cygwinified path. Ahh.
10304 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10306 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10310 # pw32 DLLs use 'pw' prefix rather than 'lib'
10311 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10317 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10320 dynamic_linker
='Win32 ld.exe'
10321 # FIXME: first we should search . and the directory the executable is in
10325 darwin
* | rhapsody
*)
10326 dynamic_linker
="$host_os dyld"
10327 version_type
=darwin
10330 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10331 soname_spec
='${libname}${release}${major}$shared_ext'
10332 shlibpath_overrides_runpath
=yes
10333 shlibpath_var
=DYLD_LIBRARY_PATH
10334 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10336 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10337 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10344 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10345 soname_spec
='${libname}${release}${shared_ext}$major'
10346 shlibpath_var
=LD_LIBRARY_PATH
10353 freebsd
* | dragonfly
*)
10354 # DragonFly does not have aout. When/if they implement a new
10355 # versioning mechanism, adjust this.
10356 if test -x /usr
/bin
/objformat
; then
10357 objformat
=`/usr/bin/objformat`
10360 freebsd
[123]*) objformat
=aout
;;
10361 *) objformat
=elf
;;
10364 version_type
=freebsd-
$objformat
10365 case $version_type in
10367 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10372 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10376 shlibpath_var
=LD_LIBRARY_PATH
10379 shlibpath_overrides_runpath
=yes
10381 freebsd3.
[01]* | freebsdelf3.
[01]*)
10382 shlibpath_overrides_runpath
=yes
10383 hardcode_into_libs
=yes
10385 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10386 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10387 shlibpath_overrides_runpath
=no
10388 hardcode_into_libs
=yes
10390 *) # from 4.6 on, and DragonFly
10391 shlibpath_overrides_runpath
=yes
10392 hardcode_into_libs
=yes
10401 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10402 soname_spec
='${libname}${release}${shared_ext}$major'
10403 shlibpath_var
=LD_LIBRARY_PATH
10404 hardcode_into_libs
=yes
10407 hpux9
* | hpux10
* | hpux11
*)
10408 # Give a soname corresponding to the major version so that dld.sl refuses to
10409 # link against other versions.
10416 hardcode_into_libs
=yes
10417 dynamic_linker
="$host_os dld.so"
10418 shlibpath_var
=LD_LIBRARY_PATH
10419 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10420 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10421 soname_spec
='${libname}${release}${shared_ext}$major'
10422 if test "X$HPUX_IA64_MODE" = X32
; then
10423 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10425 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10427 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10431 hardcode_into_libs
=yes
10432 dynamic_linker
="$host_os dld.sl"
10433 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10434 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10435 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10436 soname_spec
='${libname}${release}${shared_ext}$major'
10437 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10438 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10442 dynamic_linker
="$host_os dld.sl"
10443 shlibpath_var
=SHLIB_PATH
10444 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10445 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10446 soname_spec
='${libname}${release}${shared_ext}$major'
10449 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10450 postinstall_cmds
='chmod 555 $lib'
10457 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10458 soname_spec
='${libname}${release}${shared_ext}$major'
10459 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10460 shlibpath_var
=LD_LIBRARY_PATH
10461 shlibpath_overrides_runpath
=no
10462 hardcode_into_libs
=yes
10465 irix5
* | irix6
* | nonstopux
*)
10467 nonstopux
*) version_type
=nonstopux
;;
10469 if test "$lt_cv_prog_gnu_ld" = yes; then
10477 soname_spec
='${libname}${release}${shared_ext}$major'
10478 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10480 irix5
* | nonstopux
*)
10481 libsuff
= shlibsuff
=
10484 case $LD in # libtool.m4 will add one of these switches to LD
10485 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10486 libsuff
= shlibsuff
= libmagic
=32-bit;;
10487 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10488 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10489 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10490 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10491 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10495 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10496 shlibpath_overrides_runpath
=no
10497 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10498 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10499 hardcode_into_libs
=yes
10502 # No shared lib support for Linux oldld, aout, or coff.
10503 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10507 # This must be Linux ELF.
10508 linux
* | k
*bsd
*-gnu)
10512 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10513 soname_spec
='${libname}${release}${shared_ext}$major'
10514 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10515 shlibpath_var
=LD_LIBRARY_PATH
10516 shlibpath_overrides_runpath
=no
10517 # Some binutils ld are patched to set DT_RUNPATH
10518 save_LDFLAGS
=$LDFLAGS
10519 save_libdir
=$libdir
10520 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10521 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10522 cat >conftest.
$ac_ext <<_ACEOF
10525 cat confdefs.h
>>conftest.
$ac_ext
10526 cat >>conftest.
$ac_ext <<_ACEOF
10527 /* end confdefs.h. */
10537 rm -f conftest.
$ac_objext conftest
$ac_exeext
10538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10539 (eval $ac_link) 2>conftest.er1
10541 grep -v '^ *+' conftest.er1
>conftest.err
10543 cat conftest.err
>&5
10544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10545 (exit $ac_status); } &&
10546 { ac_try
='test -z "$ac_c_werror_flag"
10547 || test ! -s conftest.err'
10548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10549 (eval $ac_try) 2>&5
10551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10552 (exit $ac_status); }; } &&
10553 { ac_try
='test -s conftest$ac_exeext'
10554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10555 (eval $ac_try) 2>&5
10557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10558 (exit $ac_status); }; }; then
10559 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then
10560 shlibpath_overrides_runpath
=yes
10564 echo "$as_me: failed program was:" >&5
10565 sed 's/^/| /' conftest.
$ac_ext >&5
10568 rm -f conftest.err conftest.
$ac_objext \
10569 conftest
$ac_exeext conftest.
$ac_ext
10570 LDFLAGS
=$save_LDFLAGS
10571 libdir
=$save_libdir
10573 # This implies no fast_install, which is unacceptable.
10574 # Some rework will be needed to allow for fast_install
10575 # before this can be enabled.
10576 hardcode_into_libs
=yes
10578 # Append ld.so.conf contents to the search path
10579 if test -f /etc
/ld.so.conf
; then
10580 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/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
10581 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10584 # We used to test for /lib/ld.so.1 and disable shared libraries on
10585 # powerpc, because MkLinux only supported shared libraries with the
10586 # GNU dynamic linker. Since this was broken with cross compilers,
10587 # most powerpc-linux boxes support dynamic linking these days and
10588 # people can always --disable-shared, the test was removed, and we
10589 # assume the GNU/Linux dynamic linker is in use.
10590 dynamic_linker
='GNU/Linux ld.so'
10597 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10598 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10599 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10600 dynamic_linker
='NetBSD (a.out) ld.so'
10602 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10603 soname_spec
='${libname}${release}${shared_ext}$major'
10604 dynamic_linker
='NetBSD ld.elf_so'
10606 shlibpath_var
=LD_LIBRARY_PATH
10607 shlibpath_overrides_runpath
=yes
10608 hardcode_into_libs
=yes
10613 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10614 shlibpath_var
=LD_LIBRARY_PATH
10615 shlibpath_overrides_runpath
=yes
10622 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10623 soname_spec
='${libname}${release}${shared_ext}$major'
10624 shlibpath_var
=LD_LIBRARY_PATH
10625 shlibpath_overrides_runpath
=no
10626 hardcode_into_libs
=yes
10627 dynamic_linker
='ldqnx.so'
10632 sys_lib_dlsearch_path_spec
="/usr/lib"
10634 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10636 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10637 *) need_version
=no
;;
10639 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10640 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10641 shlibpath_var
=LD_LIBRARY_PATH
10642 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10644 openbsd2.
[89] | openbsd2.
[89].
*)
10645 shlibpath_overrides_runpath
=no
10648 shlibpath_overrides_runpath
=yes
10652 shlibpath_overrides_runpath
=yes
10657 libname_spec
='$name'
10660 library_names_spec
='$libname${shared_ext} $libname.a'
10661 dynamic_linker
='OS/2 ld.exe'
10662 shlibpath_var
=LIBPATH
10665 osf3
* | osf4
* | osf5
*)
10669 soname_spec
='${libname}${release}${shared_ext}$major'
10670 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10671 shlibpath_var
=LD_LIBRARY_PATH
10672 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10673 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10684 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10685 soname_spec
='${libname}${release}${shared_ext}$major'
10686 shlibpath_var
=LD_LIBRARY_PATH
10687 shlibpath_overrides_runpath
=yes
10688 hardcode_into_libs
=yes
10689 # ldd complains unless libraries are executable
10690 postinstall_cmds
='chmod +x $lib'
10695 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10696 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10697 shlibpath_var
=LD_LIBRARY_PATH
10698 shlibpath_overrides_runpath
=yes
10699 if test "$with_gnu_ld" = yes; then
10707 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10708 soname_spec
='${libname}${release}${shared_ext}$major'
10709 shlibpath_var
=LD_LIBRARY_PATH
10710 case $host_vendor in
10712 shlibpath_overrides_runpath
=no
10714 runpath_var
=LD_RUN_PATH
10722 shlibpath_overrides_runpath
=no
10723 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10729 if test -d /usr
/nec
;then
10731 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10732 soname_spec
='$libname${shared_ext}.$major'
10733 shlibpath_var
=LD_LIBRARY_PATH
10737 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10738 version_type
=freebsd-elf
10741 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10742 soname_spec
='${libname}${release}${shared_ext}$major'
10743 shlibpath_var
=LD_LIBRARY_PATH
10744 shlibpath_overrides_runpath
=yes
10745 hardcode_into_libs
=yes
10746 if test "$with_gnu_ld" = yes; then
10747 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10749 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10752 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10756 sys_lib_dlsearch_path_spec
='/usr/lib'
10760 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10764 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10765 shlibpath_var
=LD_LIBRARY_PATH
10766 shlibpath_overrides_runpath
=no
10767 hardcode_into_libs
=yes
10772 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10773 soname_spec
='${libname}${release}${shared_ext}$major'
10774 shlibpath_var
=LD_LIBRARY_PATH
10781 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10782 echo "${ECHO_T}$dynamic_linker" >&6
10783 test "$dynamic_linker" = no
&& can_build_shared
=no
10785 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10786 if test "$GCC" = yes; then
10787 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10790 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10791 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10793 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10794 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10883 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10884 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
10886 if test -n "$hardcode_libdir_flag_spec" ||
10887 test -n "$runpath_var" ||
10888 test "X$hardcode_automatic" = "Xyes" ; then
10890 # We can hardcode non-existent directories.
10891 if test "$hardcode_direct" != no
&&
10892 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10893 # have to relink, otherwise we might link with an installed library
10894 # when we should be linking with a yet-to-be-installed one
10895 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10896 test "$hardcode_minus_L" != no
; then
10897 # Linking always hardcodes the temporary library directory.
10898 hardcode_action
=relink
10900 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10901 hardcode_action
=immediate
10904 # We cannot hardcode anything, or else we can only hardcode existing
10906 hardcode_action
=unsupported
10908 echo "$as_me:$LINENO: result: $hardcode_action" >&5
10909 echo "${ECHO_T}$hardcode_action" >&6
10911 if test "$hardcode_action" = relink ||
10912 test "$inherit_rpath" = yes; then
10913 # Fast installation is not supported
10914 enable_fast_install
=no
10915 elif test "$shlibpath_overrides_runpath" = yes ||
10916 test "$enable_shared" = no
; then
10917 # Fast installation is not necessary
10918 enable_fast_install
=needless
10926 if test "x$enable_dlopen" != xyes
; then
10927 enable_dlopen
=unknown
10928 enable_dlopen_self
=unknown
10929 enable_dlopen_self_static
=unknown
10936 lt_cv_dlopen
="load_add_on"
10938 lt_cv_dlopen_self
=yes
10941 mingw
* | pw32
* | cegcc
*)
10942 lt_cv_dlopen
="LoadLibrary"
10947 lt_cv_dlopen
="dlopen"
10952 # if libdl is installed we need to link against it
10953 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10954 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10955 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10956 echo $ECHO_N "(cached) $ECHO_C" >&6
10958 ac_check_lib_save_LIBS
=$LIBS
10960 cat >conftest.
$ac_ext <<_ACEOF
10963 cat confdefs.h
>>conftest.
$ac_ext
10964 cat >>conftest.
$ac_ext <<_ACEOF
10965 /* end confdefs.h. */
10967 /* Override any gcc2 internal prototype to avoid an error. */
10971 /* We use char because int might match the return type of a gcc2
10972 builtin and then its argument prototype would still apply. */
10982 rm -f conftest.
$ac_objext conftest
$ac_exeext
10983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10984 (eval $ac_link) 2>conftest.er1
10986 grep -v '^ *+' conftest.er1
>conftest.err
10988 cat conftest.err
>&5
10989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10990 (exit $ac_status); } &&
10991 { ac_try
='test -z "$ac_c_werror_flag"
10992 || test ! -s conftest.err'
10993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10994 (eval $ac_try) 2>&5
10996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10997 (exit $ac_status); }; } &&
10998 { ac_try
='test -s conftest$ac_exeext'
10999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11000 (eval $ac_try) 2>&5
11002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11003 (exit $ac_status); }; }; then
11004 ac_cv_lib_dl_dlopen
=yes
11006 echo "$as_me: failed program was:" >&5
11007 sed 's/^/| /' conftest.
$ac_ext >&5
11009 ac_cv_lib_dl_dlopen
=no
11011 rm -f conftest.err conftest.
$ac_objext \
11012 conftest
$ac_exeext conftest.
$ac_ext
11013 LIBS
=$ac_check_lib_save_LIBS
11015 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11016 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11017 if test $ac_cv_lib_dl_dlopen = yes; then
11018 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11021 lt_cv_dlopen
="dyld"
11023 lt_cv_dlopen_self
=yes
11030 echo "$as_me:$LINENO: checking for shl_load" >&5
11031 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
11032 if test "${ac_cv_func_shl_load+set}" = set; then
11033 echo $ECHO_N "(cached) $ECHO_C" >&6
11035 cat >conftest.
$ac_ext <<_ACEOF
11038 cat confdefs.h
>>conftest.
$ac_ext
11039 cat >>conftest.
$ac_ext <<_ACEOF
11040 /* end confdefs.h. */
11041 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
11042 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11043 #define shl_load innocuous_shl_load
11045 /* System header to define __stub macros and hopefully few prototypes,
11046 which can conflict with char shl_load (); below.
11047 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11048 <limits.h> exists even on freestanding compilers. */
11051 # include <limits.h>
11053 # include <assert.h>
11058 /* Override any gcc2 internal prototype to avoid an error. */
11063 /* We use char because int might match the return type of a gcc2
11064 builtin and then its argument prototype would still apply. */
11066 /* The GNU C library defines this for functions which it implements
11067 to always fail with ENOSYS. Some functions are actually named
11068 something starting with __ and the normal name is an alias. */
11069 #if defined (__stub_shl_load) || defined (__stub___shl_load)
11072 char (*f) () = shl_load;
11081 return f != shl_load;
11086 rm -f conftest.
$ac_objext conftest
$ac_exeext
11087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11088 (eval $ac_link) 2>conftest.er1
11090 grep -v '^ *+' conftest.er1
>conftest.err
11092 cat conftest.err
>&5
11093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11094 (exit $ac_status); } &&
11095 { ac_try
='test -z "$ac_c_werror_flag"
11096 || test ! -s conftest.err'
11097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11098 (eval $ac_try) 2>&5
11100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11101 (exit $ac_status); }; } &&
11102 { ac_try
='test -s conftest$ac_exeext'
11103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11104 (eval $ac_try) 2>&5
11106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11107 (exit $ac_status); }; }; then
11108 ac_cv_func_shl_load
=yes
11110 echo "$as_me: failed program was:" >&5
11111 sed 's/^/| /' conftest.
$ac_ext >&5
11113 ac_cv_func_shl_load
=no
11115 rm -f conftest.err conftest.
$ac_objext \
11116 conftest
$ac_exeext conftest.
$ac_ext
11118 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11119 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
11120 if test $ac_cv_func_shl_load = yes; then
11121 lt_cv_dlopen
="shl_load"
11123 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11124 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
11125 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11126 echo $ECHO_N "(cached) $ECHO_C" >&6
11128 ac_check_lib_save_LIBS
=$LIBS
11130 cat >conftest.
$ac_ext <<_ACEOF
11133 cat confdefs.h
>>conftest.
$ac_ext
11134 cat >>conftest.
$ac_ext <<_ACEOF
11135 /* end confdefs.h. */
11137 /* Override any gcc2 internal prototype to avoid an error. */
11141 /* We use char because int might match the return type of a gcc2
11142 builtin and then its argument prototype would still apply. */
11152 rm -f conftest.
$ac_objext conftest
$ac_exeext
11153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11154 (eval $ac_link) 2>conftest.er1
11156 grep -v '^ *+' conftest.er1
>conftest.err
11158 cat conftest.err
>&5
11159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11160 (exit $ac_status); } &&
11161 { ac_try
='test -z "$ac_c_werror_flag"
11162 || test ! -s conftest.err'
11163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11164 (eval $ac_try) 2>&5
11166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11167 (exit $ac_status); }; } &&
11168 { ac_try
='test -s conftest$ac_exeext'
11169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11170 (eval $ac_try) 2>&5
11172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11173 (exit $ac_status); }; }; then
11174 ac_cv_lib_dld_shl_load
=yes
11176 echo "$as_me: failed program was:" >&5
11177 sed 's/^/| /' conftest.
$ac_ext >&5
11179 ac_cv_lib_dld_shl_load
=no
11181 rm -f conftest.err conftest.
$ac_objext \
11182 conftest
$ac_exeext conftest.
$ac_ext
11183 LIBS
=$ac_check_lib_save_LIBS
11185 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11186 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
11187 if test $ac_cv_lib_dld_shl_load = yes; then
11188 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11190 echo "$as_me:$LINENO: checking for dlopen" >&5
11191 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
11192 if test "${ac_cv_func_dlopen+set}" = set; then
11193 echo $ECHO_N "(cached) $ECHO_C" >&6
11195 cat >conftest.
$ac_ext <<_ACEOF
11198 cat confdefs.h
>>conftest.
$ac_ext
11199 cat >>conftest.
$ac_ext <<_ACEOF
11200 /* end confdefs.h. */
11201 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
11202 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11203 #define dlopen innocuous_dlopen
11205 /* System header to define __stub macros and hopefully few prototypes,
11206 which can conflict with char dlopen (); below.
11207 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11208 <limits.h> exists even on freestanding compilers. */
11211 # include <limits.h>
11213 # include <assert.h>
11218 /* Override any gcc2 internal prototype to avoid an error. */
11223 /* We use char because int might match the return type of a gcc2
11224 builtin and then its argument prototype would still apply. */
11226 /* The GNU C library defines this for functions which it implements
11227 to always fail with ENOSYS. Some functions are actually named
11228 something starting with __ and the normal name is an alias. */
11229 #if defined (__stub_dlopen) || defined (__stub___dlopen)
11232 char (*f) () = dlopen;
11241 return f != dlopen;
11246 rm -f conftest.
$ac_objext conftest
$ac_exeext
11247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11248 (eval $ac_link) 2>conftest.er1
11250 grep -v '^ *+' conftest.er1
>conftest.err
11252 cat conftest.err
>&5
11253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11254 (exit $ac_status); } &&
11255 { ac_try
='test -z "$ac_c_werror_flag"
11256 || test ! -s conftest.err'
11257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11258 (eval $ac_try) 2>&5
11260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11261 (exit $ac_status); }; } &&
11262 { ac_try
='test -s conftest$ac_exeext'
11263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11264 (eval $ac_try) 2>&5
11266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11267 (exit $ac_status); }; }; then
11268 ac_cv_func_dlopen
=yes
11270 echo "$as_me: failed program was:" >&5
11271 sed 's/^/| /' conftest.
$ac_ext >&5
11273 ac_cv_func_dlopen
=no
11275 rm -f conftest.err conftest.
$ac_objext \
11276 conftest
$ac_exeext conftest.
$ac_ext
11278 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11279 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
11280 if test $ac_cv_func_dlopen = yes; then
11281 lt_cv_dlopen
="dlopen"
11283 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11284 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11285 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11286 echo $ECHO_N "(cached) $ECHO_C" >&6
11288 ac_check_lib_save_LIBS
=$LIBS
11290 cat >conftest.
$ac_ext <<_ACEOF
11293 cat confdefs.h
>>conftest.
$ac_ext
11294 cat >>conftest.
$ac_ext <<_ACEOF
11295 /* end confdefs.h. */
11297 /* Override any gcc2 internal prototype to avoid an error. */
11301 /* We use char because int might match the return type of a gcc2
11302 builtin and then its argument prototype would still apply. */
11312 rm -f conftest.
$ac_objext conftest
$ac_exeext
11313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11314 (eval $ac_link) 2>conftest.er1
11316 grep -v '^ *+' conftest.er1
>conftest.err
11318 cat conftest.err
>&5
11319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11320 (exit $ac_status); } &&
11321 { ac_try
='test -z "$ac_c_werror_flag"
11322 || test ! -s conftest.err'
11323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11324 (eval $ac_try) 2>&5
11326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11327 (exit $ac_status); }; } &&
11328 { ac_try
='test -s conftest$ac_exeext'
11329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11330 (eval $ac_try) 2>&5
11332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11333 (exit $ac_status); }; }; then
11334 ac_cv_lib_dl_dlopen
=yes
11336 echo "$as_me: failed program was:" >&5
11337 sed 's/^/| /' conftest.
$ac_ext >&5
11339 ac_cv_lib_dl_dlopen
=no
11341 rm -f conftest.err conftest.
$ac_objext \
11342 conftest
$ac_exeext conftest.
$ac_ext
11343 LIBS
=$ac_check_lib_save_LIBS
11345 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11346 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11347 if test $ac_cv_lib_dl_dlopen = yes; then
11348 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11350 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11351 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
11352 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11353 echo $ECHO_N "(cached) $ECHO_C" >&6
11355 ac_check_lib_save_LIBS
=$LIBS
11356 LIBS
="-lsvld $LIBS"
11357 cat >conftest.
$ac_ext <<_ACEOF
11360 cat confdefs.h
>>conftest.
$ac_ext
11361 cat >>conftest.
$ac_ext <<_ACEOF
11362 /* end confdefs.h. */
11364 /* Override any gcc2 internal prototype to avoid an error. */
11368 /* We use char because int might match the return type of a gcc2
11369 builtin and then its argument prototype would still apply. */
11379 rm -f conftest.
$ac_objext conftest
$ac_exeext
11380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11381 (eval $ac_link) 2>conftest.er1
11383 grep -v '^ *+' conftest.er1
>conftest.err
11385 cat conftest.err
>&5
11386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11387 (exit $ac_status); } &&
11388 { ac_try
='test -z "$ac_c_werror_flag"
11389 || test ! -s conftest.err'
11390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11391 (eval $ac_try) 2>&5
11393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11394 (exit $ac_status); }; } &&
11395 { ac_try
='test -s conftest$ac_exeext'
11396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11397 (eval $ac_try) 2>&5
11399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11400 (exit $ac_status); }; }; then
11401 ac_cv_lib_svld_dlopen
=yes
11403 echo "$as_me: failed program was:" >&5
11404 sed 's/^/| /' conftest.
$ac_ext >&5
11406 ac_cv_lib_svld_dlopen
=no
11408 rm -f conftest.err conftest.
$ac_objext \
11409 conftest
$ac_exeext conftest.
$ac_ext
11410 LIBS
=$ac_check_lib_save_LIBS
11412 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11413 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
11414 if test $ac_cv_lib_svld_dlopen = yes; then
11415 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11417 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11418 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
11419 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11420 echo $ECHO_N "(cached) $ECHO_C" >&6
11422 ac_check_lib_save_LIBS
=$LIBS
11424 cat >conftest.
$ac_ext <<_ACEOF
11427 cat confdefs.h
>>conftest.
$ac_ext
11428 cat >>conftest.
$ac_ext <<_ACEOF
11429 /* end confdefs.h. */
11431 /* Override any gcc2 internal prototype to avoid an error. */
11435 /* We use char because int might match the return type of a gcc2
11436 builtin and then its argument prototype would still apply. */
11446 rm -f conftest.
$ac_objext conftest
$ac_exeext
11447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11448 (eval $ac_link) 2>conftest.er1
11450 grep -v '^ *+' conftest.er1
>conftest.err
11452 cat conftest.err
>&5
11453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11454 (exit $ac_status); } &&
11455 { ac_try
='test -z "$ac_c_werror_flag"
11456 || test ! -s conftest.err'
11457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11458 (eval $ac_try) 2>&5
11460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11461 (exit $ac_status); }; } &&
11462 { ac_try
='test -s conftest$ac_exeext'
11463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11464 (eval $ac_try) 2>&5
11466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11467 (exit $ac_status); }; }; then
11468 ac_cv_lib_dld_dld_link
=yes
11470 echo "$as_me: failed program was:" >&5
11471 sed 's/^/| /' conftest.
$ac_ext >&5
11473 ac_cv_lib_dld_dld_link
=no
11475 rm -f conftest.err conftest.
$ac_objext \
11476 conftest
$ac_exeext conftest.
$ac_ext
11477 LIBS
=$ac_check_lib_save_LIBS
11479 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11480 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
11481 if test $ac_cv_lib_dld_dld_link = yes; then
11482 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11503 if test "x$lt_cv_dlopen" != xno
; then
11509 case $lt_cv_dlopen in
11511 save_CPPFLAGS
="$CPPFLAGS"
11512 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11514 save_LDFLAGS
="$LDFLAGS"
11515 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11518 LIBS
="$lt_cv_dlopen_libs $LIBS"
11520 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11521 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
11522 if test "${lt_cv_dlopen_self+set}" = set; then
11523 echo $ECHO_N "(cached) $ECHO_C" >&6
11525 if test "$cross_compiling" = yes; then :
11526 lt_cv_dlopen_self
=cross
11528 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11529 lt_status
=$lt_dlunknown
11530 cat > conftest.
$ac_ext <<_LT_EOF
11531 #line 11531 "configure"
11532 #include "confdefs.h"
11541 # define LT_DLGLOBAL RTLD_GLOBAL
11544 # define LT_DLGLOBAL DL_GLOBAL
11546 # define LT_DLGLOBAL 0
11550 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11551 find out it does not work in some platform. */
11552 #ifndef LT_DLLAZY_OR_NOW
11554 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11557 # define LT_DLLAZY_OR_NOW DL_LAZY
11560 # define LT_DLLAZY_OR_NOW RTLD_NOW
11563 # define LT_DLLAZY_OR_NOW DL_NOW
11565 # define LT_DLLAZY_OR_NOW 0
11572 void fnord() { int i=42;}
11575 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11576 int status = $lt_dlunknown;
11580 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11581 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11582 /* dlclose (self); */
11590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11591 (eval $ac_link) 2>&5
11593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11594 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11595 (.
/conftest
; exit; ) >&5 2>/dev
/null
11597 case x
$lt_status in
11598 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11599 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11600 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11603 # compilation failed
11604 lt_cv_dlopen_self
=no
11611 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11612 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
11614 if test "x$lt_cv_dlopen_self" = xyes
; then
11615 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11616 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11617 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
11618 if test "${lt_cv_dlopen_self_static+set}" = set; then
11619 echo $ECHO_N "(cached) $ECHO_C" >&6
11621 if test "$cross_compiling" = yes; then :
11622 lt_cv_dlopen_self_static
=cross
11624 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11625 lt_status
=$lt_dlunknown
11626 cat > conftest.
$ac_ext <<_LT_EOF
11627 #line 11627 "configure"
11628 #include "confdefs.h"
11637 # define LT_DLGLOBAL RTLD_GLOBAL
11640 # define LT_DLGLOBAL DL_GLOBAL
11642 # define LT_DLGLOBAL 0
11646 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11647 find out it does not work in some platform. */
11648 #ifndef LT_DLLAZY_OR_NOW
11650 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11653 # define LT_DLLAZY_OR_NOW DL_LAZY
11656 # define LT_DLLAZY_OR_NOW RTLD_NOW
11659 # define LT_DLLAZY_OR_NOW DL_NOW
11661 # define LT_DLLAZY_OR_NOW 0
11668 void fnord() { int i=42;}
11671 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11672 int status = $lt_dlunknown;
11676 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11677 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11678 /* dlclose (self); */
11686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11687 (eval $ac_link) 2>&5
11689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11690 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11691 (.
/conftest
; exit; ) >&5 2>/dev
/null
11693 case x
$lt_status in
11694 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11695 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11696 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11699 # compilation failed
11700 lt_cv_dlopen_self_static
=no
11707 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11708 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
11711 CPPFLAGS
="$save_CPPFLAGS"
11712 LDFLAGS
="$save_LDFLAGS"
11717 case $lt_cv_dlopen_self in
11718 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11719 *) enable_dlopen_self
=unknown
;;
11722 case $lt_cv_dlopen_self_static in
11723 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11724 *) enable_dlopen_self_static
=unknown
;;
11746 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11747 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
11748 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11749 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11750 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11751 echo "$as_me:$LINENO: result: yes" >&5
11752 echo "${ECHO_T}yes" >&6
11754 # FIXME - insert some real tests, host_os isn't really good enough
11757 if test -n "$STRIP" ; then
11758 striplib
="$STRIP -x"
11759 old_striplib
="$STRIP -S"
11760 echo "$as_me:$LINENO: result: yes" >&5
11761 echo "${ECHO_T}yes" >&6
11763 echo "$as_me:$LINENO: result: no" >&5
11764 echo "${ECHO_T}no" >&6
11768 echo "$as_me:$LINENO: result: no" >&5
11769 echo "${ECHO_T}no" >&6
11785 # Report which library types will actually be built
11786 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11787 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
11788 echo "$as_me:$LINENO: result: $can_build_shared" >&5
11789 echo "${ECHO_T}$can_build_shared" >&6
11791 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11792 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
11793 test "$can_build_shared" = "no" && enable_shared
=no
11795 # On AIX, shared libraries and static libraries use the same namespace, and
11796 # are all built from PIC.
11799 test "$enable_shared" = yes && enable_static
=no
11800 if test -n "$RANLIB"; then
11801 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11802 postinstall_cmds
='$RANLIB $lib'
11807 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11808 test "$enable_shared" = yes && enable_static
=no
11812 echo "$as_me:$LINENO: result: $enable_shared" >&5
11813 echo "${ECHO_T}$enable_shared" >&6
11815 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11816 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
11817 # Make sure either enable_shared or enable_static is yes.
11818 test "$enable_shared" = yes || enable_static
=yes
11819 echo "$as_me:$LINENO: result: $enable_static" >&5
11820 echo "${ECHO_T}$enable_static" >&6
11827 ac_cpp
='$CPP $CPPFLAGS'
11828 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11829 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11830 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11846 ac_config_commands
="$ac_config_commands libtool"
11851 # Only expand once:
11857 if test "${ac_cv_header_stdint_h+set}" = set; then
11858 echo "$as_me:$LINENO: checking for stdint.h" >&5
11859 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6
11860 if test "${ac_cv_header_stdint_h+set}" = set; then
11861 echo $ECHO_N "(cached) $ECHO_C" >&6
11863 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&5
11864 echo "${ECHO_T}$ac_cv_header_stdint_h" >&6
11866 # Is the header compilable?
11867 echo "$as_me:$LINENO: checking stdint.h usability" >&5
11868 echo $ECHO_N "checking stdint.h usability... $ECHO_C" >&6
11869 cat >conftest.
$ac_ext <<_ACEOF
11872 cat confdefs.h
>>conftest.
$ac_ext
11873 cat >>conftest.
$ac_ext <<_ACEOF
11874 /* end confdefs.h. */
11875 $ac_includes_default
11876 #include <stdint.h>
11878 rm -f conftest.
$ac_objext
11879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11880 (eval $ac_compile) 2>conftest.er1
11882 grep -v '^ *+' conftest.er1
>conftest.err
11884 cat conftest.err
>&5
11885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11886 (exit $ac_status); } &&
11887 { ac_try
='test -z "$ac_c_werror_flag"
11888 || test ! -s conftest.err'
11889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11890 (eval $ac_try) 2>&5
11892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11893 (exit $ac_status); }; } &&
11894 { ac_try
='test -s conftest.$ac_objext'
11895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11896 (eval $ac_try) 2>&5
11898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11899 (exit $ac_status); }; }; then
11900 ac_header_compiler
=yes
11902 echo "$as_me: failed program was:" >&5
11903 sed 's/^/| /' conftest.
$ac_ext >&5
11905 ac_header_compiler
=no
11907 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11908 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11909 echo "${ECHO_T}$ac_header_compiler" >&6
11911 # Is the header present?
11912 echo "$as_me:$LINENO: checking stdint.h presence" >&5
11913 echo $ECHO_N "checking stdint.h presence... $ECHO_C" >&6
11914 cat >conftest.
$ac_ext <<_ACEOF
11917 cat confdefs.h
>>conftest.
$ac_ext
11918 cat >>conftest.
$ac_ext <<_ACEOF
11919 /* end confdefs.h. */
11920 #include <stdint.h>
11922 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11923 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11925 grep -v '^ *+' conftest.er1
>conftest.err
11927 cat conftest.err
>&5
11928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11929 (exit $ac_status); } >/dev
/null
; then
11930 if test -s conftest.err
; then
11931 ac_cpp_err
=$ac_c_preproc_warn_flag
11932 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11939 if test -z "$ac_cpp_err"; then
11940 ac_header_preproc
=yes
11942 echo "$as_me: failed program was:" >&5
11943 sed 's/^/| /' conftest.
$ac_ext >&5
11945 ac_header_preproc
=no
11947 rm -f conftest.err conftest.
$ac_ext
11948 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11949 echo "${ECHO_T}$ac_header_preproc" >&6
11951 # So? What about this header?
11952 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11954 { echo "$as_me:$LINENO: WARNING: stdint.h: accepted by the compiler, rejected by the preprocessor!" >&5
11955 echo "$as_me: WARNING: stdint.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11956 { echo "$as_me:$LINENO: WARNING: stdint.h: proceeding with the compiler's result" >&5
11957 echo "$as_me: WARNING: stdint.h: proceeding with the compiler's result" >&2;}
11958 ac_header_preproc
=yes
11961 { echo "$as_me:$LINENO: WARNING: stdint.h: present but cannot be compiled" >&5
11962 echo "$as_me: WARNING: stdint.h: present but cannot be compiled" >&2;}
11963 { echo "$as_me:$LINENO: WARNING: stdint.h: check for missing prerequisite headers?" >&5
11964 echo "$as_me: WARNING: stdint.h: check for missing prerequisite headers?" >&2;}
11965 { echo "$as_me:$LINENO: WARNING: stdint.h: see the Autoconf documentation" >&5
11966 echo "$as_me: WARNING: stdint.h: see the Autoconf documentation" >&2;}
11967 { echo "$as_me:$LINENO: WARNING: stdint.h: section \"Present But Cannot Be Compiled\"" >&5
11968 echo "$as_me: WARNING: stdint.h: section \"Present But Cannot Be Compiled\"" >&2;}
11969 { echo "$as_me:$LINENO: WARNING: stdint.h: proceeding with the preprocessor's result" >&5
11970 echo "$as_me: WARNING: stdint.h: proceeding with the preprocessor's result" >&2;}
11971 { echo "$as_me:$LINENO: WARNING: stdint.h: in the future, the compiler will take precedence" >&5
11972 echo "$as_me: WARNING: stdint.h: in the future, the compiler will take precedence" >&2;}
11975 ## ------------------------------------- ##
11976 ## Report this to the libmudflap lists. ##
11977 ## ------------------------------------- ##
11980 sed "s/^/$as_me: WARNING: /" >&2
11983 echo "$as_me:$LINENO: checking for stdint.h" >&5
11984 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6
11985 if test "${ac_cv_header_stdint_h+set}" = set; then
11986 echo $ECHO_N "(cached) $ECHO_C" >&6
11988 ac_cv_header_stdint_h
=$ac_header_preproc
11990 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&5
11991 echo "${ECHO_T}$ac_cv_header_stdint_h" >&6
11994 if test $ac_cv_header_stdint_h = yes; then
12002 if test $MF_HAVE_STDINT_H = 1
12004 MF_HAVE_UINTPTR_T
=1
12006 cat >conftest.
$ac_ext <<_ACEOF
12009 cat confdefs.h
>>conftest.
$ac_ext
12010 cat >>conftest.
$ac_ext <<_ACEOF
12011 /* end confdefs.h. */
12012 #include <sys/types.h>
12021 rm -f conftest.
$ac_objext
12022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12023 (eval $ac_compile) 2>conftest.er1
12025 grep -v '^ *+' conftest.er1
>conftest.err
12027 cat conftest.err
>&5
12028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12029 (exit $ac_status); } &&
12030 { ac_try
='test -z "$ac_c_werror_flag"
12031 || test ! -s conftest.err'
12032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12033 (eval $ac_try) 2>&5
12035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12036 (exit $ac_status); }; } &&
12037 { ac_try
='test -s conftest.$ac_objext'
12038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12039 (eval $ac_try) 2>&5
12041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12042 (exit $ac_status); }; }; then
12043 MF_HAVE_UINTPTR_T
=1
12045 echo "$as_me: failed program was:" >&5
12046 sed 's/^/| /' conftest.
$ac_ext >&5
12048 MF_HAVE_UINTPTR_T
=0
12050 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12056 # libmudflapth objects are built in this subdirectory
12061 for ac_header
in pthread.h
12063 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12064 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12065 echo "$as_me:$LINENO: checking for $ac_header" >&5
12066 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12067 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12068 echo $ECHO_N "(cached) $ECHO_C" >&6
12070 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12071 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12073 # Is the header compilable?
12074 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12075 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12076 cat >conftest.
$ac_ext <<_ACEOF
12079 cat confdefs.h
>>conftest.
$ac_ext
12080 cat >>conftest.
$ac_ext <<_ACEOF
12081 /* end confdefs.h. */
12082 $ac_includes_default
12083 #include <$ac_header>
12085 rm -f conftest.
$ac_objext
12086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12087 (eval $ac_compile) 2>conftest.er1
12089 grep -v '^ *+' conftest.er1
>conftest.err
12091 cat conftest.err
>&5
12092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12093 (exit $ac_status); } &&
12094 { ac_try
='test -z "$ac_c_werror_flag"
12095 || test ! -s conftest.err'
12096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12097 (eval $ac_try) 2>&5
12099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12100 (exit $ac_status); }; } &&
12101 { ac_try
='test -s conftest.$ac_objext'
12102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12103 (eval $ac_try) 2>&5
12105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12106 (exit $ac_status); }; }; then
12107 ac_header_compiler
=yes
12109 echo "$as_me: failed program was:" >&5
12110 sed 's/^/| /' conftest.
$ac_ext >&5
12112 ac_header_compiler
=no
12114 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12115 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12116 echo "${ECHO_T}$ac_header_compiler" >&6
12118 # Is the header present?
12119 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12120 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12121 cat >conftest.
$ac_ext <<_ACEOF
12124 cat confdefs.h
>>conftest.
$ac_ext
12125 cat >>conftest.
$ac_ext <<_ACEOF
12126 /* end confdefs.h. */
12127 #include <$ac_header>
12129 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12130 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12132 grep -v '^ *+' conftest.er1
>conftest.err
12134 cat conftest.err
>&5
12135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12136 (exit $ac_status); } >/dev
/null
; then
12137 if test -s conftest.err
; then
12138 ac_cpp_err
=$ac_c_preproc_warn_flag
12139 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12146 if test -z "$ac_cpp_err"; then
12147 ac_header_preproc
=yes
12149 echo "$as_me: failed program was:" >&5
12150 sed 's/^/| /' conftest.
$ac_ext >&5
12152 ac_header_preproc
=no
12154 rm -f conftest.err conftest.
$ac_ext
12155 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12156 echo "${ECHO_T}$ac_header_preproc" >&6
12158 # So? What about this header?
12159 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12161 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12162 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12163 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12164 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12165 ac_header_preproc
=yes
12168 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12169 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12170 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12171 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12172 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12173 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12174 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12175 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12176 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12177 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12178 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12179 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12182 ## ------------------------------------- ##
12183 ## Report this to the libmudflap lists. ##
12184 ## ------------------------------------- ##
12187 sed "s/^/$as_me: WARNING: /" >&2
12190 echo "$as_me:$LINENO: checking for $ac_header" >&5
12191 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12192 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12193 echo $ECHO_N "(cached) $ECHO_C" >&6
12195 eval "$as_ac_Header=\$ac_header_preproc"
12197 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12198 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12201 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12202 cat >>confdefs.h
<<_ACEOF
12203 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12211 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
12212 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
12213 target_thread_file
=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
12214 echo "$as_me:$LINENO: result: $target_thread_file" >&5
12215 echo "${ECHO_T}$target_thread_file" >&6
12217 # We only support posix threads, or no threads at all.
12219 case ${target_thread_file} in
12226 echo "${target_thread_file} is an unsupported thread package" 1>&2
12233 if test "x$posix_threads" != "x"; then
12235 LIBMUDFLAPTH_FALSE
='#'
12237 LIBMUDFLAPTH_TRUE
='#'
12238 LIBMUDFLAPTH_FALSE
=
12241 if test "x$posix_threads" != "x"
12243 build_libmudflapth
=1
12245 build_libmudflapth
=0
12250 echo "$as_me:$LINENO: checking for dlsym in -ldl" >&5
12251 echo $ECHO_N "checking for dlsym in -ldl... $ECHO_C" >&6
12252 if test "${ac_cv_lib_dl_dlsym+set}" = set; then
12253 echo $ECHO_N "(cached) $ECHO_C" >&6
12255 ac_check_lib_save_LIBS
=$LIBS
12257 cat >conftest.
$ac_ext <<_ACEOF
12260 cat confdefs.h
>>conftest.
$ac_ext
12261 cat >>conftest.
$ac_ext <<_ACEOF
12262 /* end confdefs.h. */
12264 /* Override any gcc2 internal prototype to avoid an error. */
12268 /* We use char because int might match the return type of a gcc2
12269 builtin and then its argument prototype would still apply. */
12279 rm -f conftest.
$ac_objext conftest
$ac_exeext
12280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12281 (eval $ac_link) 2>conftest.er1
12283 grep -v '^ *+' conftest.er1
>conftest.err
12285 cat conftest.err
>&5
12286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12287 (exit $ac_status); } &&
12288 { ac_try
='test -z "$ac_c_werror_flag"
12289 || test ! -s conftest.err'
12290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12291 (eval $ac_try) 2>&5
12293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12294 (exit $ac_status); }; } &&
12295 { ac_try
='test -s conftest$ac_exeext'
12296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12297 (eval $ac_try) 2>&5
12299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12300 (exit $ac_status); }; }; then
12301 ac_cv_lib_dl_dlsym
=yes
12303 echo "$as_me: failed program was:" >&5
12304 sed 's/^/| /' conftest.
$ac_ext >&5
12306 ac_cv_lib_dl_dlsym
=no
12308 rm -f conftest.err conftest.
$ac_objext \
12309 conftest
$ac_exeext conftest.
$ac_ext
12310 LIBS
=$ac_check_lib_save_LIBS
12312 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlsym" >&5
12313 echo "${ECHO_T}$ac_cv_lib_dl_dlsym" >&6
12314 if test $ac_cv_lib_dl_dlsym = yes; then
12315 cat >>confdefs.h
<<_ACEOF
12316 #define HAVE_LIBDL 1
12324 # Calculate toolexeclibdir
12325 # Also toolexecdir, though it's only used in toolexeclibdir
12326 case ${version_specific_libs} in
12328 # Need the gcc compiler version to know where to install libraries
12329 # and header files if --enable-version-specific-runtime-libs option
12331 toolexecdir
='$(libdir)/gcc/$(target_alias)'
12332 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
12335 if test -n "$with_cross_host" &&
12336 test x
"$with_cross_host" != x
"no"; then
12337 # Install a library built with a cross compiler in tooldir, not libdir.
12338 toolexecdir
='$(exec_prefix)/$(target_alias)'
12339 toolexeclibdir
='$(toolexecdir)/lib'
12341 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
12342 toolexeclibdir
='$(libdir)'
12344 multi_os_directory
=`$CC -print-multi-os-directory`
12345 case $multi_os_directory in
12346 .
) ;; # Avoid trailing /.
12347 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
12354 includedir
=${toolexecdir}/include
12357 pthread_create_version
='""'
12358 if test "x$enable_shared" = "xyes" && test "x$posix_threads" != "x"; then
12359 # NB: don't check for -lpthread here, because then it would be
12360 # added to LIBS. For the thread-unaware libmudflap.la, we don't
12363 # glibc-related hacks. dlsym() may pick the wrong version of
12364 # interposed functions like pthread_create on modern glibc.
12365 # We need to find the proper symbol version string, and use
12366 # the nonstandard dlvsym().
12368 for ac_func
in dlvsym
12370 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12371 echo "$as_me:$LINENO: checking for $ac_func" >&5
12372 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12373 if eval "test \"\${$as_ac_var+set}\" = set"; then
12374 echo $ECHO_N "(cached) $ECHO_C" >&6
12376 cat >conftest.
$ac_ext <<_ACEOF
12379 cat confdefs.h
>>conftest.
$ac_ext
12380 cat >>conftest.
$ac_ext <<_ACEOF
12381 /* end confdefs.h. */
12382 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12383 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12384 #define $ac_func innocuous_$ac_func
12386 /* System header to define __stub macros and hopefully few prototypes,
12387 which can conflict with char $ac_func (); below.
12388 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12389 <limits.h> exists even on freestanding compilers. */
12392 # include <limits.h>
12394 # include <assert.h>
12399 /* Override any gcc2 internal prototype to avoid an error. */
12404 /* We use char because int might match the return type of a gcc2
12405 builtin and then its argument prototype would still apply. */
12407 /* The GNU C library defines this for functions which it implements
12408 to always fail with ENOSYS. Some functions are actually named
12409 something starting with __ and the normal name is an alias. */
12410 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12413 char (*f) () = $ac_func;
12422 return f != $ac_func;
12427 rm -f conftest.
$ac_objext conftest
$ac_exeext
12428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12429 (eval $ac_link) 2>conftest.er1
12431 grep -v '^ *+' conftest.er1
>conftest.err
12433 cat conftest.err
>&5
12434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12435 (exit $ac_status); } &&
12436 { ac_try
='test -z "$ac_c_werror_flag"
12437 || test ! -s conftest.err'
12438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12439 (eval $ac_try) 2>&5
12441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12442 (exit $ac_status); }; } &&
12443 { ac_try
='test -s conftest$ac_exeext'
12444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12445 (eval $ac_try) 2>&5
12447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12448 (exit $ac_status); }; }; then
12449 eval "$as_ac_var=yes"
12451 echo "$as_me: failed program was:" >&5
12452 sed 's/^/| /' conftest.
$ac_ext >&5
12454 eval "$as_ac_var=no"
12456 rm -f conftest.err conftest.
$ac_objext \
12457 conftest
$ac_exeext conftest.
$ac_ext
12459 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12460 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12461 if test `eval echo '${'$as_ac_var'}'` = yes; then
12462 cat >>confdefs.h
<<_ACEOF
12463 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12469 if test -n "$ac_tool_prefix"; then
12470 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
12471 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
12472 echo "$as_me:$LINENO: checking for $ac_word" >&5
12473 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12474 if test "${ac_cv_prog_NM+set}" = set; then
12475 echo $ECHO_N "(cached) $ECHO_C" >&6
12477 if test -n "$NM"; then
12478 ac_cv_prog_NM
="$NM" # Let the user override the test.
12480 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12481 for as_dir
in $PATH
12484 test -z "$as_dir" && as_dir
=.
12485 for ac_exec_ext
in '' $ac_executable_extensions; do
12486 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12487 ac_cv_prog_NM
="${ac_tool_prefix}nm"
12488 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12497 if test -n "$NM"; then
12498 echo "$as_me:$LINENO: result: $NM" >&5
12499 echo "${ECHO_T}$NM" >&6
12501 echo "$as_me:$LINENO: result: no" >&5
12502 echo "${ECHO_T}no" >&6
12506 if test -z "$ac_cv_prog_NM"; then
12508 # Extract the first word of "nm", so it can be a program name with args.
12509 set dummy nm
; ac_word
=$2
12510 echo "$as_me:$LINENO: checking for $ac_word" >&5
12511 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12512 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
12513 echo $ECHO_N "(cached) $ECHO_C" >&6
12515 if test -n "$ac_ct_NM"; then
12516 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
12518 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12519 for as_dir
in $PATH
12522 test -z "$as_dir" && as_dir
=.
12523 for ac_exec_ext
in '' $ac_executable_extensions; do
12524 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12525 ac_cv_prog_ac_ct_NM
="nm"
12526 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12534 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
12535 if test -n "$ac_ct_NM"; then
12536 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
12537 echo "${ECHO_T}$ac_ct_NM" >&6
12539 echo "$as_me:$LINENO: result: no" >&5
12540 echo "${ECHO_T}no" >&6
12545 NM
="$ac_cv_prog_NM"
12548 if test "x$ac_cv_have_dlvsym" != "x"; then
12549 # Try compiling a simple pthreads program. Find the shared libraries it
12550 # ends up with. Then use "nm" on those libraries to extract the
12551 # default symbol versioning suffix ("@@"), if any. But that's tricky.
12552 # Rather, run nm on the resulting executable. Unfortunately, autoconf
12553 # doesn't appear to have a macro that builds a test executable for
12554 # subsequent analysis ... so we do it by hand here.
12555 cat >> conftest.c
<< EOF
12556 #include <pthread.h>
12557 int main () { void *p = (void *) & pthread_create; return (int) p; }
12560 LIBS
="$LIBS -lpthread"
12561 pthread_create_version
="\"\""
12562 echo "$as_me:$LINENO: checking pthread_create symbol version" >&5
12563 echo $ECHO_N "checking pthread_create symbol version... $ECHO_C" >&6
12564 if eval $ac_link 2>&5 && test -s conftest
${ac_exeext}; then
12565 version
=`$NM conftest${ac_exeect} | grep 'pthread_create@@' | sed -e 's/^.*@@//'`
12566 if test "x$version" != "x"; then
12567 pthread_create_version
="\"$version\""
12570 echo "$as_me:$LINENO: result: $pthread_create_version" >&5
12571 echo "${ECHO_T}$pthread_create_version" >&6
12576 cat >>confdefs.h
<<_ACEOF
12577 #define PTHREAD_CREATE_VERSION $pthread_create_version
12582 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
12583 # similarly to how libstdc++ does it
12584 ac_test_CFLAGS
="${CFLAGS+set}"
12585 ac_save_CFLAGS
="$CFLAGS"
12587 # Check for -ffunction-sections -fdata-sections
12588 echo "$as_me:$LINENO: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
12589 echo $ECHO_N "checking for gcc that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
12590 CFLAGS
='-Werror -ffunction-sections -fdata-sections'
12591 cat >conftest.
$ac_ext <<_ACEOF
12594 cat confdefs.h
>>conftest.
$ac_ext
12595 cat >>conftest.
$ac_ext <<_ACEOF
12596 /* end confdefs.h. */
12606 rm -f conftest.
$ac_objext
12607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12608 (eval $ac_compile) 2>conftest.er1
12610 grep -v '^ *+' conftest.er1
>conftest.err
12612 cat conftest.err
>&5
12613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12614 (exit $ac_status); } &&
12615 { ac_try
='test -z "$ac_c_werror_flag"
12616 || test ! -s conftest.err'
12617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12618 (eval $ac_try) 2>&5
12620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12621 (exit $ac_status); }; } &&
12622 { ac_try
='test -s conftest.$ac_objext'
12623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12624 (eval $ac_try) 2>&5
12626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12627 (exit $ac_status); }; }; then
12630 echo "$as_me: failed program was:" >&5
12631 sed 's/^/| /' conftest.
$ac_ext >&5
12635 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12636 if test "$ac_test_CFLAGS" = set; then
12637 CFLAGS
="$ac_save_CFLAGS"
12639 # this is the suspicious part
12642 if test x
"$ac_fdsections" = x
"yes"; then
12643 SECTION_FLAGS
='-ffunction-sections -fdata-sections'
12645 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
12646 echo "${ECHO_T}$ac_fdsections" >&6
12650 # Check for the name of the symbol used for the entry point.
12651 echo "$as_me:$LINENO: checking for the name of the symbol used for the entry point" >&5
12652 echo $ECHO_N "checking for the name of the symbol used for the entry point... $ECHO_C" >&6
12653 if test "${mudflap_cv_entry_point+set}" = set; then
12654 echo $ECHO_N "(cached) $ECHO_C" >&6
12657 for name
in _start __start unknown
; do
12658 cat >conftest.
$ac_ext <<_ACEOF
12661 cat confdefs.h
>>conftest.
$ac_ext
12662 cat >>conftest.
$ac_ext <<_ACEOF
12663 /* end confdefs.h. */
12664 extern char $name[];
12673 rm -f conftest.
$ac_objext conftest
$ac_exeext
12674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12675 (eval $ac_link) 2>conftest.er1
12677 grep -v '^ *+' conftest.er1
>conftest.err
12679 cat conftest.err
>&5
12680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12681 (exit $ac_status); } &&
12682 { ac_try
='test -z "$ac_c_werror_flag"
12683 || test ! -s conftest.err'
12684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12685 (eval $ac_try) 2>&5
12687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12688 (exit $ac_status); }; } &&
12689 { ac_try
='test -s conftest$ac_exeext'
12690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12691 (eval $ac_try) 2>&5
12693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12694 (exit $ac_status); }; }; then
12697 echo "$as_me: failed program was:" >&5
12698 sed 's/^/| /' conftest.
$ac_ext >&5
12701 rm -f conftest.err conftest.
$ac_objext \
12702 conftest
$ac_exeext conftest.
$ac_ext
12704 mudflap_cv_entry_point
="$name"
12706 echo "$as_me:$LINENO: result: $mudflap_cv_entry_point" >&5
12707 echo "${ECHO_T}$mudflap_cv_entry_point" >&6
12708 if test "$mudflap_cv_entry_point" = unknown
; then
12709 { { echo "$as_me:$LINENO: error: none of the known symbol names works" >&5
12710 echo "$as_me: error: none of the known symbol names works" >&2;}
12711 { (exit 1); exit 1; }; }
12714 cat >>confdefs.h
<<_ACEOF
12715 #define ENTRY_POINT $mudflap_cv_entry_point
12720 if test ${multilib} = yes; then
12721 multilib_arg
="--enable-multilib"
12726 # See if we support thread-local storage.
12728 # Check whether --enable-tls or --disable-tls was given.
12729 if test "${enable_tls+set}" = set; then
12730 enableval
="$enable_tls"
12732 case "$enableval" in
12734 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
12735 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
12736 { (exit 1); exit 1; }; } ;;
12743 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
12744 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
12745 if test "${gcc_cv_have_tls+set}" = set; then
12746 echo $ECHO_N "(cached) $ECHO_C" >&6
12749 if test "$cross_compiling" = yes; then
12750 cat >conftest.
$ac_ext <<_ACEOF
12751 __thread int a; int b; int main() { return a = b; }
12753 rm -f conftest.
$ac_objext conftest
$ac_exeext
12754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12755 (eval $ac_link) 2>conftest.er1
12757 grep -v '^ *+' conftest.er1
>conftest.err
12759 cat conftest.err
>&5
12760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12761 (exit $ac_status); } &&
12762 { ac_try
='test -z "$ac_c_werror_flag"
12763 || test ! -s conftest.err'
12764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12765 (eval $ac_try) 2>&5
12767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12768 (exit $ac_status); }; } &&
12769 { ac_try
='test -s conftest$ac_exeext'
12770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12771 (eval $ac_try) 2>&5
12773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12774 (exit $ac_status); }; }; then
12775 gcc_cv_have_tls
=yes
12777 echo "$as_me: failed program was:" >&5
12778 sed 's/^/| /' conftest.
$ac_ext >&5
12782 rm -f conftest.err conftest.
$ac_objext \
12783 conftest
$ac_exeext conftest.
$ac_ext
12787 cat >conftest.
$ac_ext <<_ACEOF
12788 __thread int a; int b; int main() { return a = b; }
12790 rm -f conftest
$ac_exeext
12791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12792 (eval $ac_link) 2>&5
12794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12795 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12797 (eval $ac_try) 2>&5
12799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12800 (exit $ac_status); }; }; then
12801 chktls_save_LDFLAGS
="$LDFLAGS"
12802 LDFLAGS
="-static $LDFLAGS"
12803 cat >conftest.
$ac_ext <<_ACEOF
12804 int main() { return 0; }
12806 rm -f conftest.
$ac_objext conftest
$ac_exeext
12807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12808 (eval $ac_link) 2>conftest.er1
12810 grep -v '^ *+' conftest.er1
>conftest.err
12812 cat conftest.err
>&5
12813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12814 (exit $ac_status); } &&
12815 { ac_try
='test -z "$ac_c_werror_flag"
12816 || test ! -s conftest.err'
12817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12818 (eval $ac_try) 2>&5
12820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12821 (exit $ac_status); }; } &&
12822 { ac_try
='test -s conftest$ac_exeext'
12823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12824 (eval $ac_try) 2>&5
12826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12827 (exit $ac_status); }; }; then
12828 if test "$cross_compiling" = yes; then
12829 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
12830 echo "$as_me: error: in \`$ac_pwd':" >&2;}
12831 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
12832 See \`config.log' for more details." >&5
12833 echo "$as_me: error: cannot run test program while cross compiling
12834 See \`config.log' for more details." >&2;}
12835 { (exit 1); exit 1; }; }; }
12837 cat >conftest.
$ac_ext <<_ACEOF
12838 __thread int a; int b; int main() { return a = b; }
12840 rm -f conftest
$ac_exeext
12841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12842 (eval $ac_link) 2>&5
12844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12845 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12847 (eval $ac_try) 2>&5
12849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12850 (exit $ac_status); }; }; then
12851 gcc_cv_have_tls
=yes
12853 echo "$as_me: program exited with status $ac_status" >&5
12854 echo "$as_me: failed program was:" >&5
12855 sed 's/^/| /' conftest.
$ac_ext >&5
12857 ( exit $ac_status )
12860 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12863 echo "$as_me: failed program was:" >&5
12864 sed 's/^/| /' conftest.
$ac_ext >&5
12866 gcc_cv_have_tls
=yes
12868 rm -f conftest.err conftest.
$ac_objext \
12869 conftest
$ac_exeext conftest.
$ac_ext
12870 LDFLAGS
="$chktls_save_LDFLAGS"
12871 if test $gcc_cv_have_tls = yes; then
12872 chktls_save_CFLAGS
="$CFLAGS"
12873 thread_CFLAGS
=failed
12874 for flag
in '' '-pthread' '-lpthread'; do
12875 CFLAGS
="$flag $chktls_save_CFLAGS"
12876 cat >conftest.
$ac_ext <<_ACEOF
12879 cat confdefs.h
>>conftest.
$ac_ext
12880 cat >>conftest.
$ac_ext <<_ACEOF
12881 /* end confdefs.h. */
12882 #include <pthread.h>
12883 void *g(void *d) { return NULL; }
12887 pthread_t t; pthread_create(&t,NULL,g,NULL);
12892 rm -f conftest.
$ac_objext conftest
$ac_exeext
12893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12894 (eval $ac_link) 2>conftest.er1
12896 grep -v '^ *+' conftest.er1
>conftest.err
12898 cat conftest.err
>&5
12899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12900 (exit $ac_status); } &&
12901 { ac_try
='test -z "$ac_c_werror_flag"
12902 || test ! -s conftest.err'
12903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12904 (eval $ac_try) 2>&5
12906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12907 (exit $ac_status); }; } &&
12908 { ac_try
='test -s conftest$ac_exeext'
12909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12910 (eval $ac_try) 2>&5
12912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12913 (exit $ac_status); }; }; then
12914 thread_CFLAGS
="$flag"
12916 echo "$as_me: failed program was:" >&5
12917 sed 's/^/| /' conftest.
$ac_ext >&5
12920 rm -f conftest.err conftest.
$ac_objext \
12921 conftest
$ac_exeext conftest.
$ac_ext
12922 if test "X$thread_CFLAGS" != Xfailed
; then
12926 CFLAGS
="$chktls_save_CFLAGS"
12927 if test "X$thread_CFLAGS" != Xfailed
; then
12928 CFLAGS
="$thread_CFLAGS $chktls_save_CFLAGS"
12929 if test "$cross_compiling" = yes; then
12930 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
12931 echo "$as_me: error: in \`$ac_pwd':" >&2;}
12932 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
12933 See \`config.log' for more details." >&5
12934 echo "$as_me: error: cannot run test program while cross compiling
12935 See \`config.log' for more details." >&2;}
12936 { (exit 1); exit 1; }; }; }
12938 cat >conftest.
$ac_ext <<_ACEOF
12941 cat confdefs.h
>>conftest.
$ac_ext
12942 cat >>conftest.
$ac_ext <<_ACEOF
12943 /* end confdefs.h. */
12944 #include <pthread.h>
12946 static int *a_in_other_thread;
12948 thread_func (void *arg)
12950 a_in_other_thread = &a;
12957 void *thread_retval;
12958 int *a_in_main_thread;
12959 if (pthread_create (&thread, (pthread_attr_t *)0,
12960 thread_func, (void *)0))
12962 a_in_main_thread = &a;
12963 if (pthread_join (thread, &thread_retval))
12965 return (a_in_other_thread == a_in_main_thread);
12970 rm -f conftest
$ac_exeext
12971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12972 (eval $ac_link) 2>&5
12974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12975 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12977 (eval $ac_try) 2>&5
12979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12980 (exit $ac_status); }; }; then
12981 gcc_cv_have_tls
=yes
12983 echo "$as_me: program exited with status $ac_status" >&5
12984 echo "$as_me: failed program was:" >&5
12985 sed 's/^/| /' conftest.
$ac_ext >&5
12987 ( exit $ac_status )
12990 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12992 CFLAGS
="$chktls_save_CFLAGS"
12996 echo "$as_me: program exited with status $ac_status" >&5
12997 echo "$as_me: failed program was:" >&5
12998 sed 's/^/| /' conftest.
$ac_ext >&5
13000 ( exit $ac_status )
13003 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13006 echo "$as_me:$LINENO: result: $gcc_cv_have_tls" >&5
13007 echo "${ECHO_T}$gcc_cv_have_tls" >&6
13008 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
13010 cat >>confdefs.h
<<\_ACEOF
13016 ac_config_files
="$ac_config_files Makefile testsuite/Makefile testsuite/mfconfig.exp"
13018 cat >confcache
<<\_ACEOF
13019 # This file is a shell script that caches the results of configure
13020 # tests run on this system so they can be shared between configure
13021 # scripts and configure runs, see configure's option --config-cache.
13022 # It is not useful on other systems. If it contains results you don't
13023 # want to keep, you may remove or edit it.
13025 # config.status only pays attention to the cache file if you give it
13026 # the --recheck option to rerun configure.
13028 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13029 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13030 # following values.
13034 # The following way of writing the cache mishandles newlines in values,
13035 # but we know of no workaround that is simple, portable, and efficient.
13036 # So, don't put newlines in cache variables' values.
13037 # Ultrix sh set writes to stderr and can't be redirected directly,
13038 # and sets the high bit in the cache file unless we assign to the vars.
13041 case `(ac_space=' '; set | grep ac_space) 2>&1` in
13043 # `set' does not quote correctly, so add quotes (double-quote
13044 # substitution turns \\\\ into \\, and sed turns \\ into \).
13047 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13050 # `set' quotes correctly as required by POSIX, so do not add quotes.
13052 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
13059 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13061 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13063 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
13064 if test -w $cache_file; then
13065 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
13066 cat confcache
>$cache_file
13068 echo "not updating unwritable cache $cache_file"
13073 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
13074 # Let make expand exec_prefix.
13075 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
13077 # VPATH may cause trouble with some makes, so we remove $(srcdir),
13078 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
13079 # trailing colons and then remove the whole line if VPATH becomes empty
13080 # (actually we leave an empty line to preserve line numbers).
13081 if test "x$srcdir" = x.
; then
13082 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
13083 s/:*\$(srcdir):*/:/;
13084 s/:*\${srcdir}:*/:/;
13086 s/^\([^=]*=[ ]*\):*/\1/;
13092 DEFS
=-DHAVE_CONFIG_H
13096 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
13097 # 1. Remove the extension, and $U if already installed.
13098 ac_i
=`echo "$ac_i" |
13099 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
13101 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
13102 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
13104 LIBOBJS
=$ac_libobjs
13106 LTLIBOBJS
=$ac_ltlibobjs
13109 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13110 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
13111 Usually this means the macro was only invoked conditionally." >&5
13112 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
13113 Usually this means the macro was only invoked conditionally." >&2;}
13114 { (exit 1); exit 1; }; }
13116 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13117 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
13118 Usually this means the macro was only invoked conditionally." >&5
13119 echo "$as_me: error: conditional \"AMDEP\" was never defined.
13120 Usually this means the macro was only invoked conditionally." >&2;}
13121 { (exit 1); exit 1; }; }
13123 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13124 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
13125 Usually this means the macro was only invoked conditionally." >&5
13126 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
13127 Usually this means the macro was only invoked conditionally." >&2;}
13128 { (exit 1); exit 1; }; }
13130 if test -z "${LIBMUDFLAPTH_TRUE}" && test -z "${LIBMUDFLAPTH_FALSE}"; then
13131 { { echo "$as_me:$LINENO: error: conditional \"LIBMUDFLAPTH\" was never defined.
13132 Usually this means the macro was only invoked conditionally." >&5
13133 echo "$as_me: error: conditional \"LIBMUDFLAPTH\" was never defined.
13134 Usually this means the macro was only invoked conditionally." >&2;}
13135 { (exit 1); exit 1; }; }
13138 : ${CONFIG_STATUS=./config.status}
13139 ac_clean_files_save
=$ac_clean_files
13140 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
13141 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
13142 echo "$as_me: creating $CONFIG_STATUS" >&6;}
13143 cat >$CONFIG_STATUS <<_ACEOF
13145 # Generated by $as_me.
13146 # Run this file to recreate the current configuration.
13147 # Compiler output produced by configure, useful for debugging
13148 # configure, is in config.log if it exists.
13151 ac_cs_recheck=false
13153 SHELL=\${CONFIG_SHELL-$SHELL}
13156 cat >>$CONFIG_STATUS <<\_ACEOF
13157 ## --------------------- ##
13158 ## M4sh Initialization. ##
13159 ## --------------------- ##
13161 # Be Bourne compatible
13162 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
13165 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
13166 # is contrary to our usage. Disable this feature.
13167 alias -g '${1+"$@"}'='"$@"'
13168 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
13171 DUALCASE
=1; export DUALCASE
# for MKS sh
13173 # Support unset when possible.
13174 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
13181 # Work around bugs in pre-3.0 UWIN ksh.
13182 $as_unset ENV MAIL MAILPATH
13189 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
13190 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
13191 LC_TELEPHONE LC_TIME
13193 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
13194 eval $as_var=C
; export $as_var
13200 # Required to use basename.
13201 if expr a
: '\(a\)' >/dev
/null
2>&1; then
13207 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
13208 as_basename
=basename
13214 # Name of the executable.
13215 as_me
=`$as_basename "$0" ||
13216 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13217 X"$0" : 'X\(//\)$' \| \
13218 X"$0" : 'X\(/\)$' \| \
13219 . : '\(.\)' 2>/dev/null ||
13221 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
13222 /^X\/\(\/\/\)$/{ s//\1/; q; }
13223 /^X\/\(\/\).*/{ s//\1/; q; }
13227 # PATH needs CR, and LINENO needs CR and PATH.
13228 # Avoid depending upon Character Ranges.
13229 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
13230 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13231 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
13232 as_cr_digits
='0123456789'
13233 as_cr_alnum
=$as_cr_Letters$as_cr_digits
13235 # The user is always right.
13236 if test "${PATH_SEPARATOR+set}" != set; then
13237 echo "#! /bin/sh" >conf$$.sh
13238 echo "exit 0" >>conf$$.sh
13240 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
13249 as_lineno_1
=$LINENO
13250 as_lineno_2
=$LINENO
13251 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
13252 test "x$as_lineno_1" != "x$as_lineno_2" &&
13253 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
13254 # Find who we are. Look in the path if we contain no path at all
13257 *[\\/]* ) as_myself
=$0 ;;
13258 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13259 for as_dir
in $PATH
13262 test -z "$as_dir" && as_dir
=.
13263 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
13268 # We did not find ourselves, most probably we were run as `sh COMMAND'
13269 # in which case we are not to be found in the path.
13270 if test "x$as_myself" = x
; then
13273 if test ! -f "$as_myself"; then
13274 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
13275 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
13276 { (exit 1); exit 1; }; }
13278 case $CONFIG_SHELL in
13280 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13281 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
13284 test -z "$as_dir" && as_dir
=.
13285 for as_base
in sh bash ksh sh5
; do
13288 if ("$as_dir/$as_base" -c '
13289 as_lineno_1=$LINENO
13290 as_lineno_2=$LINENO
13291 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
13292 test "x$as_lineno_1" != "x$as_lineno_2" &&
13293 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
13294 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
13295 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
13296 CONFIG_SHELL
=$as_dir/$as_base
13297 export CONFIG_SHELL
13298 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
13306 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
13307 # uniformly replaced by the line number. The first 'sed' inserts a
13308 # line-number line before each line; the second 'sed' does the real
13309 # work. The second script uses 'N' to pair each line-number line
13310 # with the numbered line, and appends trailing '-' during
13311 # substitution so that $LINENO is not a special case at line end.
13312 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
13313 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
13314 sed '=' <$as_myself |
13319 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
13322 s,^['$as_cr_digits']*\n,,
13323 ' >$as_me.lineno
&&
13324 chmod +x
$as_me.lineno ||
13325 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
13326 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
13327 { (exit 1); exit 1; }; }
13329 # Don't try to exec as it changes $[0], causing all sort of problems
13330 # (the dirname of $[0] is not the place where we might find the
13331 # original and so on. Autoconf is especially sensible to this).
13333 # Exit status is that of the last command.
13338 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
13339 *c
*,-n*) ECHO_N
= ECHO_C
='
13341 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
13342 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
13345 if expr a
: '\(a\)' >/dev
/null
2>&1; then
13351 rm -f conf$$ conf$$.exe conf$$.
file
13353 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13354 # We could just check for DJGPP; but this test a) works b) is more generic
13355 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
13356 if test -f conf$$.exe
; then
13357 # Don't use ln at all; we don't have any links
13362 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13367 rm -f conf$$ conf$$.exe conf$$.
file
13369 if mkdir
-p .
2>/dev
/null
; then
13372 test -d .
/-p && rmdir .
/-p
13376 as_executable_p
="test -f"
13378 # Sed expression to map a string onto a valid CPP name.
13379 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13381 # Sed expression to map a string onto a valid variable name.
13382 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13386 # We need space, tab and new line, in precisely that order.
13396 # Open the log real soon, to keep \$[0] and so on meaningful, and to
13397 # report actual input values of CONFIG_FILES etc. instead of their
13398 # values after options handling. Logging --version etc. is OK.
13402 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13403 ## Running $as_me. ##
13408 This file was extended by libmudflap $as_me 1.0, which was
13409 generated by GNU Autoconf 2.59. Invocation command line was
13411 CONFIG_FILES = $CONFIG_FILES
13412 CONFIG_HEADERS = $CONFIG_HEADERS
13413 CONFIG_LINKS = $CONFIG_LINKS
13414 CONFIG_COMMANDS = $CONFIG_COMMANDS
13418 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
13422 # Files that config.status was made for.
13423 if test -n "$ac_config_files"; then
13424 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
13427 if test -n "$ac_config_headers"; then
13428 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
13431 if test -n "$ac_config_links"; then
13432 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
13435 if test -n "$ac_config_commands"; then
13436 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
13439 cat >>$CONFIG_STATUS <<\_ACEOF
13442 \`$as_me' instantiates files from templates according to the
13443 current configuration.
13445 Usage: $0 [OPTIONS] [FILE]...
13447 -h, --help print this help, then exit
13448 -V, --version print version number, then exit
13449 -q, --quiet do not print progress messages
13450 -d, --debug don't remove temporary files
13451 --recheck update $as_me by reconfiguring in the same conditions
13452 --file=FILE[:TEMPLATE]
13453 instantiate the configuration file FILE
13454 --header=FILE[:TEMPLATE]
13455 instantiate the configuration header FILE
13457 Configuration files:
13460 Configuration headers:
13463 Configuration commands:
13466 Report bugs to <bug-autoconf@gnu.org>."
13469 cat >>$CONFIG_STATUS <<_ACEOF
13471 libmudflap config.status 1.0
13472 configured by $0, generated by GNU Autoconf 2.59,
13473 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
13475 Copyright (C) 2003 Free Software Foundation, Inc.
13476 This config.status script is free software; the Free Software Foundation
13477 gives unlimited permission to copy, distribute and modify it."
13482 cat >>$CONFIG_STATUS <<\_ACEOF
13483 # If no file are specified by the user, then we need to provide default
13484 # value. By we need to know if files were specified by the user.
13490 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
13491 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
13499 *) # This is not an option, so the user has probably given explicit
13502 ac_need_defaults
=false
;;
13506 # Handling of the options.
13508 cat >>$CONFIG_STATUS <<\_ACEOF
13509 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13511 --version |
--vers* |
-V )
13512 echo "$ac_cs_version"; exit 0 ;;
13514 # Conflict between --help and --header
13515 { { echo "$as_me:$LINENO: error: ambiguous option: $1
13516 Try \`$0 --help' for more information." >&5
13517 echo "$as_me: error: ambiguous option: $1
13518 Try \`$0 --help' for more information." >&2;}
13519 { (exit 1); exit 1; }; };;
13520 --help |
--hel |
-h )
13521 echo "$ac_cs_usage"; exit 0 ;;
13522 --debug |
--d* |
-d )
13524 --file |
--fil |
--fi |
--f )
13526 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
13527 ac_need_defaults
=false
;;
13528 --header |
--heade |
--head |
--hea )
13530 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
13531 ac_need_defaults
=false
;;
13532 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13533 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13536 # This is an error.
13537 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
13538 Try \`$0 --help' for more information." >&5
13539 echo "$as_me: error: unrecognized option: $1
13540 Try \`$0 --help' for more information." >&2;}
13541 { (exit 1); exit 1; }; } ;;
13543 *) ac_config_targets
="$ac_config_targets $1" ;;
13549 ac_configure_extra_args
=
13551 if $ac_cs_silent; then
13553 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13557 cat >>$CONFIG_STATUS <<_ACEOF
13558 if \$ac_cs_recheck; then
13559 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
13560 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13565 cat >>$CONFIG_STATUS <<_ACEOF
13567 # INIT-COMMANDS section.
13574 with_multisubdir="$with_multisubdir"
13575 with_multisrctop="$with_multisrctop"
13576 with_target_subdir="$with_target_subdir"
13577 ac_configure_args="${multilib_arg} ${ac_configure_args}"
13578 multi_basedir="$multi_basedir"
13579 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
13581 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13584 # The HP-UX ksh and POSIX shell print the target directory to stdout
13585 # if CDPATH is set.
13586 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13588 sed_quote_subst='$sed_quote_subst'
13589 double_quote_subst='$double_quote_subst'
13590 delay_variable_subst='$delay_variable_subst'
13591 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
13592 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
13593 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
13594 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
13595 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
13596 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
13597 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
13598 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
13599 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
13600 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
13601 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
13602 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
13603 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
13604 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
13605 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
13606 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
13607 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
13608 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
13609 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
13610 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
13611 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
13612 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
13613 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
13614 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
13615 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
13616 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
13617 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
13618 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13619 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
13620 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
13621 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
13622 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
13623 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13624 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
13625 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
13626 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13627 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13628 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13629 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
13630 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13631 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
13632 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
13633 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
13634 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
13635 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"`'
13636 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13637 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
13638 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
13639 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
13640 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
13641 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
13642 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
13643 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
13644 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
13645 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
13646 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
13647 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
13648 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
13649 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
13650 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
13651 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
13652 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
13653 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13654 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13655 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
13656 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
13657 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13658 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13659 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
13660 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13661 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13662 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13663 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13664 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13665 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13666 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
13667 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13668 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13669 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13670 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
13671 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
13672 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
13673 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
13674 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
13675 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13676 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
13677 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
13678 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
13679 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
13680 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
13681 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13682 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13683 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13684 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13685 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
13686 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
13687 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13688 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
13689 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
13690 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13691 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13692 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
13693 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13694 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
13695 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13696 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13697 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13698 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13699 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
13700 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
13701 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13702 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13703 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
13704 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
13705 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
13706 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
13707 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
13708 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
13711 LTCFLAGS='$LTCFLAGS'
13712 compiler='$compiler_DEFAULT'
13714 # Quote evaled strings.
13726 deplibs_check_method \
13735 lt_cv_sys_global_symbol_pipe \
13736 lt_cv_sys_global_symbol_to_cdecl \
13737 lt_cv_sys_global_symbol_to_c_name_address \
13738 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13741 lt_prog_compiler_no_builtin_flag \
13742 lt_prog_compiler_wl \
13743 lt_prog_compiler_pic \
13744 lt_prog_compiler_static \
13745 lt_cv_prog_compiler_c_o \
13753 export_dynamic_flag_spec \
13754 whole_archive_flag_spec \
13755 compiler_needs_object \
13757 allow_undefined_flag \
13758 no_undefined_flag \
13759 hardcode_libdir_flag_spec \
13760 hardcode_libdir_flag_spec_ld \
13761 hardcode_libdir_separator \
13766 variables_saved_for_relink \
13768 library_names_spec \
13773 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13774 *[\\\\\\\`\\"\\\$]*)
13775 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13778 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13783 # Double-quote double-evaled strings.
13784 for var in reload_cmds \
13785 old_postinstall_cmds \
13786 old_postuninstall_cmds \
13788 extract_expsyms_cmds \
13789 old_archive_from_new_cmds \
13790 old_archive_from_expsyms_cmds \
13792 archive_expsym_cmds \
13794 module_expsym_cmds \
13795 export_symbols_cmds \
13798 postuninstall_cmds \
13800 sys_lib_search_path_spec \
13801 sys_lib_dlsearch_path_spec; do
13802 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13803 *[\\\\\\\`\\"\\\$]*)
13804 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13807 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13812 # Fix-up fallback echo if it was mangled by the above quoting rules.
13814 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
13818 ac_aux_dir='$ac_aux_dir'
13819 xsi_shell='$xsi_shell'
13820 lt_shell_append='$lt_shell_append'
13822 # See if we are running on zsh, and set the options which allow our
13823 # commands through without removal of \ escapes INIT.
13824 if test -n "\${ZSH_VERSION+set}" ; then
13825 setopt NO_GLOB_SUBST
13831 TIMESTAMP='$TIMESTAMP'
13842 cat >>$CONFIG_STATUS <<\_ACEOF
13843 for ac_config_target
in $ac_config_targets
13845 case "$ac_config_target" in
13846 # Handling of arguments.
13847 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13848 "testsuite/Makefile" ) CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
13849 "testsuite/mfconfig.exp" ) CONFIG_FILES
="$CONFIG_FILES testsuite/mfconfig.exp" ;;
13850 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
13851 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
13852 "libtool" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
13853 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
13854 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13855 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13856 { (exit 1); exit 1; }; };;
13860 # If the user did not use the arguments to specify the items to instantiate,
13861 # then the envvar interface is used. Set only those that are not.
13862 # We use the long form for the default assignment because of an extremely
13863 # bizarre bug on SunOS 4.1.3.
13864 if $ac_need_defaults; then
13865 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13866 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13867 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13870 # Have a temporary directory for convenience. Make it in the build tree
13871 # simply because there is no reason to put it here, and in addition,
13872 # creating and moving files from /tmp can sometimes cause problems.
13873 # Create a temporary directory, and hook for its removal unless debugging.
13876 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
13877 trap '{ (exit 1); exit 1; }' 1 2 13 15
13880 # Create a (secure) tmp directory for tmp files.
13883 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
13884 test -n "$tmp" && test -d "$tmp"
13887 tmp
=.
/confstat$$
-$RANDOM
13888 (umask 077 && mkdir
$tmp)
13891 echo "$me: cannot create a temporary directory in ." >&2
13892 { (exit 1); exit 1; }
13897 cat >>$CONFIG_STATUS <<_ACEOF
13900 # CONFIG_FILES section.
13903 # No need to generate the scripts if there are no CONFIG_FILES.
13904 # This happens for instance when ./config.status config.h
13905 if test -n "\$CONFIG_FILES"; then
13906 # Protect against being on the right side of a sed subst in config.status.
13907 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
13908 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
13909 s,@SHELL@,$SHELL,;t t
13910 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
13911 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
13912 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
13913 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
13914 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
13915 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
13916 s,@exec_prefix@,$exec_prefix,;t t
13917 s,@prefix@,$prefix,;t t
13918 s,@program_transform_name@,$program_transform_name,;t t
13919 s,@bindir@,$bindir,;t t
13920 s,@sbindir@,$sbindir,;t t
13921 s,@libexecdir@,$libexecdir,;t t
13922 s,@datadir@,$datadir,;t t
13923 s,@sysconfdir@,$sysconfdir,;t t
13924 s,@sharedstatedir@,$sharedstatedir,;t t
13925 s,@localstatedir@,$localstatedir,;t t
13926 s,@libdir@,$libdir,;t t
13927 s,@includedir@,$includedir,;t t
13928 s,@oldincludedir@,$oldincludedir,;t t
13929 s,@infodir@,$infodir,;t t
13930 s,@mandir@,$mandir,;t t
13931 s,@build_alias@,$build_alias,;t t
13932 s,@host_alias@,$host_alias,;t t
13933 s,@target_alias@,$target_alias,;t t
13934 s,@DEFS@,$DEFS,;t t
13935 s,@ECHO_C@,$ECHO_C,;t t
13936 s,@ECHO_N@,$ECHO_N,;t t
13937 s,@ECHO_T@,$ECHO_T,;t t
13938 s,@LIBS@,$LIBS,;t t
13939 s,@build@,$build,;t t
13940 s,@build_cpu@,$build_cpu,;t t
13941 s,@build_vendor@,$build_vendor,;t t
13942 s,@build_os@,$build_os,;t t
13943 s,@host@,$host,;t t
13944 s,@host_cpu@,$host_cpu,;t t
13945 s,@host_vendor@,$host_vendor,;t t
13946 s,@host_os@,$host_os,;t t
13947 s,@target@,$target,;t t
13948 s,@target_cpu@,$target_cpu,;t t
13949 s,@target_vendor@,$target_vendor,;t t
13950 s,@target_os@,$target_os,;t t
13951 s,@target_noncanonical@,$target_noncanonical,;t t
13952 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
13953 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
13954 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
13955 s,@CYGPATH_W@,$CYGPATH_W,;t t
13956 s,@PACKAGE@,$PACKAGE,;t t
13957 s,@VERSION@,$VERSION,;t t
13958 s,@ACLOCAL@,$ACLOCAL,;t t
13959 s,@AUTOCONF@,$AUTOCONF,;t t
13960 s,@AUTOMAKE@,$AUTOMAKE,;t t
13961 s,@AUTOHEADER@,$AUTOHEADER,;t t
13962 s,@MAKEINFO@,$MAKEINFO,;t t
13963 s,@install_sh@,$install_sh,;t t
13964 s,@STRIP@,$STRIP,;t t
13965 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
13966 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
13967 s,@mkdir_p@,$mkdir_p,;t t
13969 s,@SET_MAKE@,$SET_MAKE,;t t
13970 s,@am__leading_dot@,$am__leading_dot,;t t
13971 s,@AMTAR@,$AMTAR,;t t
13972 s,@am__tar@,$am__tar,;t t
13973 s,@am__untar@,$am__untar,;t t
13974 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
13975 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
13976 s,@MAINT@,$MAINT,;t t
13977 s,@multi_basedir@,$multi_basedir,;t t
13979 s,@ac_ct_CC@,$ac_ct_CC,;t t
13980 s,@EXEEXT@,$EXEEXT,;t t
13981 s,@OBJEXT@,$OBJEXT,;t t
13982 s,@DEPDIR@,$DEPDIR,;t t
13983 s,@am__include@,$am__include,;t t
13984 s,@am__quote@,$am__quote,;t t
13985 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
13986 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
13987 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
13988 s,@CCDEPMODE@,$CCDEPMODE,;t t
13989 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
13990 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
13991 s,@CFLAGS@,$CFLAGS,;t t
13993 s,@CPPFLAGS@,$CPPFLAGS,;t t
13994 s,@EGREP@,$EGREP,;t t
13995 s,@LIBTOOL@,$LIBTOOL,;t t
13997 s,@FGREP@,$FGREP,;t t
13998 s,@GREP@,$GREP,;t t
14000 s,@DUMPBIN@,$DUMPBIN,;t t
14001 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
14003 s,@LN_S@,$LN_S,;t t
14004 s,@OBJDUMP@,$OBJDUMP,;t t
14005 s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t
14007 s,@ac_ct_AR@,$ac_ct_AR,;t t
14008 s,@RANLIB@,$RANLIB,;t t
14009 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
14010 s,@lt_ECHO@,$lt_ECHO,;t t
14011 s,@DSYMUTIL@,$DSYMUTIL,;t t
14012 s,@ac_ct_DSYMUTIL@,$ac_ct_DSYMUTIL,;t t
14013 s,@NMEDIT@,$NMEDIT,;t t
14014 s,@ac_ct_NMEDIT@,$ac_ct_NMEDIT,;t t
14015 s,@LIPO@,$LIPO,;t t
14016 s,@ac_ct_LIPO@,$ac_ct_LIPO,;t t
14017 s,@OTOOL@,$OTOOL,;t t
14018 s,@ac_ct_OTOOL@,$ac_ct_OTOOL,;t t
14019 s,@OTOOL64@,$OTOOL64,;t t
14020 s,@ac_ct_OTOOL64@,$ac_ct_OTOOL64,;t t
14021 s,@enable_shared@,$enable_shared,;t t
14022 s,@enable_static@,$enable_static,;t t
14023 s,@MF_HAVE_STDINT_H@,$MF_HAVE_STDINT_H,;t t
14024 s,@MF_HAVE_UINTPTR_T@,$MF_HAVE_UINTPTR_T,;t t
14025 s,@LIBMUDFLAPTH_TRUE@,$LIBMUDFLAPTH_TRUE,;t t
14026 s,@LIBMUDFLAPTH_FALSE@,$LIBMUDFLAPTH_FALSE,;t t
14027 s,@build_libmudflapth@,$build_libmudflapth,;t t
14028 s,@toolexecdir@,$toolexecdir,;t t
14029 s,@toolexeclibdir@,$toolexeclibdir,;t t
14030 s,@ac_ct_NM@,$ac_ct_NM,;t t
14031 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
14032 s,@LIBOBJS@,$LIBOBJS,;t t
14033 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
14038 cat >>$CONFIG_STATUS <<\_ACEOF
14039 # Split the substitutions into bite-sized pieces for seds with
14040 # small command number limits, like on Digital OSF/1 and HP-UX.
14041 ac_max_sed_lines
=48
14042 ac_sed_frag
=1 # Number of current file.
14043 ac_beg
=1 # First line for current file.
14044 ac_end
=$ac_max_sed_lines # Line after last line for current file.
14047 while $ac_more_lines; do
14048 if test $ac_beg -gt 1; then
14049 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
14051 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
14053 if test ! -s $tmp/subs.frag
; then
14054 ac_more_lines
=false
14056 # The purpose of the label and of the branching condition is to
14057 # speed up the sed processing (if there are no `@' at all, there
14058 # is no need to browse any of the substitutions).
14059 # These are the two extra sed commands mentioned above.
14061 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
14062 if test -z "$ac_sed_cmds"; then
14063 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
14065 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
14067 ac_sed_frag
=`expr $ac_sed_frag + 1`
14069 ac_end
=`expr $ac_end + $ac_max_sed_lines`
14072 if test -z "$ac_sed_cmds"; then
14075 fi # test -n "$CONFIG_FILES"
14078 cat >>$CONFIG_STATUS <<\_ACEOF
14079 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
14080 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
14082 - |
*:- |
*:-:* ) # input from stdin
14084 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
14085 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
14086 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
14087 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
14088 * ) ac_file_in
=$ac_file.
in ;;
14091 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
14092 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
14093 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14094 X"$ac_file" : 'X\(//\)[^/]' \| \
14095 X"$ac_file" : 'X\(//\)$' \| \
14096 X"$ac_file" : 'X\(/\)' \| \
14097 . : '\(.\)' 2>/dev/null ||
14099 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14100 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14101 /^X\(\/\/\)$/{ s//\1/; q; }
14102 /^X\(\/\).*/{ s//\1/; q; }
14104 { if $as_mkdir_p; then
14109 while test ! -d "$as_dir"; do
14110 as_dirs
="$as_dir $as_dirs"
14111 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
14112 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14113 X"$as_dir" : 'X\(//\)[^/]' \| \
14114 X"$as_dir" : 'X\(//\)$' \| \
14115 X"$as_dir" : 'X\(/\)' \| \
14116 . : '\(.\)' 2>/dev/null ||
14118 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14119 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14120 /^X\(\/\/\)$/{ s//\1/; q; }
14121 /^X\(\/\).*/{ s//\1/; q; }
14124 test ! -n "$as_dirs" || mkdir
$as_dirs
14125 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
14126 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
14127 { (exit 1); exit 1; }; }; }
14131 if test "$ac_dir" != .
; then
14132 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
14133 # A "../" for each directory in $ac_dir_suffix.
14134 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
14136 ac_dir_suffix
= ac_top_builddir
=
14140 .
) # No --srcdir option. We are building in place.
14142 if test -z "$ac_top_builddir"; then
14145 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
14147 [\\/]* | ?
:[\\/]* ) # Absolute path.
14148 ac_srcdir
=$srcdir$ac_dir_suffix;
14149 ac_top_srcdir
=$srcdir ;;
14150 *) # Relative path.
14151 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
14152 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
14155 # Do not use `cd foo && pwd` to compute absolute paths, because
14156 # the directories may not exist.
14158 .
) ac_abs_builddir
="$ac_dir";;
14161 .
) ac_abs_builddir
=`pwd`;;
14162 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
14163 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
14166 case $ac_abs_builddir in
14167 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
14169 case ${ac_top_builddir}.
in
14170 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
14171 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
14172 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
14175 case $ac_abs_builddir in
14176 .
) ac_abs_srcdir
=$ac_srcdir;;
14179 .
) ac_abs_srcdir
=$ac_abs_builddir;;
14180 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
14181 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
14184 case $ac_abs_builddir in
14185 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
14187 case $ac_top_srcdir in
14188 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
14189 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
14190 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
14196 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
14197 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
14200 if test x
"$ac_file" != x-
; then
14201 { echo "$as_me:$LINENO: creating $ac_file" >&5
14202 echo "$as_me: creating $ac_file" >&6;}
14205 # Let's still pretend it is `configure' which instantiates (i.e., don't
14206 # use $as_me), people would be surprised to read:
14207 # /* config.h. Generated by config.status. */
14208 if test x
"$ac_file" = x-
; then
14211 configure_input
="$ac_file. "
14213 configure_input
=$configure_input"Generated from `echo $ac_file_in |
14214 sed 's,.*/,,'` by configure."
14216 # First look for the input files in the build tree, otherwise in the
14218 ac_file_inputs
=`IFS=:
14219 for f in $ac_file_in; do
14221 -) echo $tmp/stdin ;;
14223 # Absolute (can't be DOS-style, as IFS=:)
14224 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
14225 echo "$as_me: error: cannot find input file: $f" >&2;}
14226 { (exit 1); exit 1; }; }
14229 if test -f "$f"; then
14232 elif test -f "$srcdir/$f"; then
14237 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
14238 echo "$as_me: error: cannot find input file: $f" >&2;}
14239 { (exit 1); exit 1; }; }
14242 done` ||
{ (exit 1); exit 1; }
14244 cat >>$CONFIG_STATUS <<_ACEOF
14248 cat >>$CONFIG_STATUS <<\_ACEOF
14250 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
14251 s
,@configure_input@
,$configure_input,;t t
14252 s
,@srcdir@
,$ac_srcdir,;t t
14253 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
14254 s
,@top_srcdir@
,$ac_top_srcdir,;t t
14255 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
14256 s
,@builddir@
,$ac_builddir,;t t
14257 s
,@abs_builddir@
,$ac_abs_builddir,;t t
14258 s
,@top_builddir@
,$ac_top_builddir,;t t
14259 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
14260 s
,@INSTALL@
,$ac_INSTALL,;t t
14261 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
14263 if test x"$ac_file" != x-; then
14264 mv $tmp/out $ac_file
14272 cat >>$CONFIG_STATUS <<\_ACEOF
14275 # CONFIG_HEADER section.
14278 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
14279 # NAME is the cpp macro being defined and VALUE is the value it is being given.
14281 # ac_d sets the value in "#define NAME VALUE" lines.
14282 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
14283 ac_dB
='[ ].*$,\1#\2'
14286 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
14287 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
14288 ac_uB
='$,\1#\2define\3'
14292 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
14293 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
14295 - |
*:- |
*:-:* ) # input from stdin
14297 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
14298 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
14299 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
14300 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
14301 * ) ac_file_in
=$ac_file.
in ;;
14304 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
14305 echo "$as_me: creating $ac_file" >&6;}
14307 # First look for the input files in the build tree, otherwise in the
14309 ac_file_inputs
=`IFS=:
14310 for f in $ac_file_in; do
14312 -) echo $tmp/stdin ;;
14314 # Absolute (can't be DOS-style, as IFS=:)
14315 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
14316 echo "$as_me: error: cannot find input file: $f" >&2;}
14317 { (exit 1); exit 1; }; }
14318 # Do quote $f, to prevent DOS paths from being IFS'd.
14321 if test -f "$f"; then
14324 elif test -f "$srcdir/$f"; then
14329 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
14330 echo "$as_me: error: cannot find input file: $f" >&2;}
14331 { (exit 1); exit 1; }; }
14334 done` ||
{ (exit 1); exit 1; }
14335 # Remove the trailing spaces.
14336 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
14340 # Transform confdefs.h into two sed scripts, `conftest.defines' and
14341 # `conftest.undefs', that substitutes the proper values into
14342 # config.h.in to produce config.h. The first handles `#define'
14343 # templates, and the second `#undef' templates.
14344 # And first: Protect against being on the right side of a sed subst in
14345 # config.status. Protect against being in an unquoted here document
14346 # in config.status.
14347 rm -f conftest.defines conftest.undefs
14348 # Using a here document instead of a string reduces the quoting nightmare.
14349 # Putting comments in sed scripts is not portable.
14351 # `end' is used to avoid that the second main sed command (meant for
14352 # 0-ary CPP macros) applies to n-ary macro definitions.
14353 # See the Autoconf documentation for `clear'.
14354 cat >confdef2sed.
sed <<\_ACEOF
14359 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
14361 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
14364 # If some macros were called several times there might be several times
14365 # the same #defines, which is useless. Nevertheless, we may not want to
14366 # sort them, since we want the *last* AC-DEFINE to be honored.
14367 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
14368 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
14369 rm -f confdef2sed.sed
14371 # This sed command replaces #undef with comments. This is necessary, for
14372 # example, in the case of _POSIX_SOURCE, which is predefined and required
14373 # on some systems where configure will not decide to define it.
14374 cat >>conftest.undefs <<\_ACEOF
14375 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
14378 # Break up conftest.defines because some shells have a limit on the size
14379 # of here documents, and old seds have small limits too (100 cmds).
14380 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
14381 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
14382 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
14383 echo ' :' >>$CONFIG_STATUS
14384 rm -f conftest.tail
14385 while grep . conftest.defines >/dev/null
14387 # Write a limited-size here document to $tmp/defines.sed.
14388 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
14389 # Speed up: don't consider the non `#define' lines.
14390 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
14391 # Work around the forget-to-reset-the-flag bug.
14392 echo 't clr' >>$CONFIG_STATUS
14393 echo ': clr' >>$CONFIG_STATUS
14394 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
14396 sed -f $tmp/defines.sed $tmp/in >$tmp/out
14398 mv $tmp/out $tmp/in
14400 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
14401 rm -f conftest.defines
14402 mv conftest.
tail conftest.defines
14404 rm -f conftest.defines
14405 echo ' fi # grep' >>$CONFIG_STATUS
14406 echo >>$CONFIG_STATUS
14408 # Break up conftest.undefs because some shells have a limit on the size
14409 # of here documents, and old seds have small limits too (100 cmds).
14410 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
14411 rm -f conftest.
tail
14412 while grep . conftest.undefs
>/dev
/null
14414 # Write a limited-size here document to $tmp/undefs.sed.
14415 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
14416 # Speed up: don't consider the non
`#undef'
14417 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
14418 # Work around the forget-to-reset-the-flag bug.
14419 echo 't clr' >>$CONFIG_STATUS
14420 echo ': clr' >>$CONFIG_STATUS
14421 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
14423 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
14425 mv $tmp/out $tmp/in
14427 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
14428 rm -f conftest.undefs
14429 mv conftest.tail conftest.undefs
14431 rm -f conftest.undefs
14433 cat >>$CONFIG_STATUS <<\_ACEOF
14434 # Let's still pretend it is `configure
' which instantiates (i.e., don't
14435 # use $as_me), people would be surprised to read:
14436 # /* config.h. Generated by config.status. */
14437 if test x
"$ac_file" = x-
; then
14438 echo "/* Generated by configure. */" >$tmp/config.h
14440 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
14442 cat $tmp/in >>$tmp/config.h
14444 if test x
"$ac_file" != x-
; then
14445 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
14446 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
14447 echo "$as_me: $ac_file is unchanged" >&6;}
14449 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
14450 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14451 X"$ac_file" : 'X\(//\)[^/]' \| \
14452 X"$ac_file" : 'X\(//\)$' \| \
14453 X"$ac_file" : 'X\(/\)' \| \
14454 . : '\(.\)' 2>/dev/null ||
14456 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14457 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14458 /^X\(\/\/\)$/{ s//\1/; q; }
14459 /^X\(\/\).*/{ s//\1/; q; }
14461 { if $as_mkdir_p; then
14466 while test ! -d "$as_dir"; do
14467 as_dirs
="$as_dir $as_dirs"
14468 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
14469 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14470 X"$as_dir" : 'X\(//\)[^/]' \| \
14471 X"$as_dir" : 'X\(//\)$' \| \
14472 X"$as_dir" : 'X\(/\)' \| \
14473 . : '\(.\)' 2>/dev/null ||
14475 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14476 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14477 /^X\(\/\/\)$/{ s//\1/; q; }
14478 /^X\(\/\).*/{ s//\1/; q; }
14481 test ! -n "$as_dirs" || mkdir
$as_dirs
14482 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
14483 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
14484 { (exit 1); exit 1; }; }; }
14487 mv $tmp/config.h
$ac_file
14491 rm -f $tmp/config.h
14493 # Compute $ac_file's index in $config_headers.
14495 for _am_header
in $config_headers :; do
14496 case $_am_header in
14497 $ac_file |
$ac_file:* )
14500 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
14503 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
14504 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14505 X$ac_file : 'X\(//\)[^/]' \| \
14506 X$ac_file : 'X\(//\)$' \| \
14507 X$ac_file : 'X\(/\)' \| \
14508 . : '\(.\)' 2>/dev/null ||
14510 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14511 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14512 /^X\(\/\/\)$/{ s//\1/; q; }
14513 /^X\(\/\).*/{ s//\1/; q; }
14514 s/.*/./; q'`/stamp-h
$_am_stamp_count
14517 cat >>$CONFIG_STATUS <<\_ACEOF
14520 # CONFIG_COMMANDS section.
14522 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
14523 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
14524 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
14525 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
14526 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14527 X"$ac_dest" : 'X\(//\)[^/]' \| \
14528 X"$ac_dest" : 'X\(//\)$' \| \
14529 X"$ac_dest" : 'X\(/\)' \| \
14530 . : '\(.\)' 2>/dev/null ||
14532 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14533 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14534 /^X\(\/\/\)$/{ s//\1/; q; }
14535 /^X\(\/\).*/{ s//\1/; q; }
14537 { if $as_mkdir_p; then
14542 while test ! -d "$as_dir"; do
14543 as_dirs
="$as_dir $as_dirs"
14544 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
14545 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14546 X"$as_dir" : 'X\(//\)[^/]' \| \
14547 X"$as_dir" : 'X\(//\)$' \| \
14548 X"$as_dir" : 'X\(/\)' \| \
14549 . : '\(.\)' 2>/dev/null ||
14551 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14552 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14553 /^X\(\/\/\)$/{ s//\1/; q; }
14554 /^X\(\/\).*/{ s//\1/; q; }
14557 test ! -n "$as_dirs" || mkdir
$as_dirs
14558 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
14559 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
14560 { (exit 1); exit 1; }; }; }
14564 if test "$ac_dir" != .
; then
14565 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
14566 # A "../" for each directory in $ac_dir_suffix.
14567 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
14569 ac_dir_suffix
= ac_top_builddir
=
14573 .
) # No --srcdir option. We are building in place.
14575 if test -z "$ac_top_builddir"; then
14578 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
14580 [\\/]* | ?
:[\\/]* ) # Absolute path.
14581 ac_srcdir
=$srcdir$ac_dir_suffix;
14582 ac_top_srcdir
=$srcdir ;;
14583 *) # Relative path.
14584 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
14585 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
14588 # Do not use `cd foo && pwd` to compute absolute paths, because
14589 # the directories may not exist.
14591 .
) ac_abs_builddir
="$ac_dir";;
14594 .
) ac_abs_builddir
=`pwd`;;
14595 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
14596 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
14599 case $ac_abs_builddir in
14600 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
14602 case ${ac_top_builddir}.
in
14603 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
14604 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
14605 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
14608 case $ac_abs_builddir in
14609 .
) ac_abs_srcdir
=$ac_srcdir;;
14612 .
) ac_abs_srcdir
=$ac_abs_builddir;;
14613 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
14614 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
14617 case $ac_abs_builddir in
14618 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
14620 case $ac_top_srcdir in
14621 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
14622 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
14623 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
14628 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
14629 echo "$as_me: executing $ac_dest commands" >&6;}
14632 # Only add multilib support code if we just rebuilt the top-level
14634 case " $CONFIG_FILES " in
14636 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
14639 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
14640 # Strip MF so we end up with the name of the file.
14641 mf
=`echo "$mf" | sed -e 's/:.*$//'`
14642 # Check whether this is an Automake generated Makefile or not.
14643 # We used to match only the files named `Makefile.in', but
14644 # some people rename them; so instead we look at the file content.
14645 # Grep'ing the first line is not enough: some people post-process
14646 # each Makefile.in and add a new line on top of each file to say so.
14647 # So let's grep whole file.
14648 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
14649 dirpart
=`(dirname "$mf") 2>/dev/null ||
14650 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14651 X"$mf" : 'X\(//\)[^/]' \| \
14652 X"$mf" : 'X\(//\)$' \| \
14653 X"$mf" : 'X\(/\)' \| \
14654 . : '\(.\)' 2>/dev/null ||
14656 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14657 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14658 /^X\(\/\/\)$/{ s//\1/; q; }
14659 /^X\(\/\).*/{ s//\1/; q; }
14664 # Extract the definition of DEPDIR, am__include, and am__quote
14665 # from the Makefile without running `make'.
14666 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
14667 test -z "$DEPDIR" && continue
14668 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
14669 test -z "am__include" && continue
14670 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
14671 # When using ansi2knr, U may be empty or an underscore; expand it
14672 U
=`sed -n 's/^U = //p' < "$mf"`
14673 # Find all dependency output files, they are included files with
14674 # $(DEPDIR) in their names. We invoke sed twice because it is the
14675 # simplest approach to changing $(DEPDIR) to its actual value in the
14677 for file in `sed -n "
14678 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14679 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14680 # Make sure the directory exists.
14681 test -f "$dirpart/$file" && continue
14682 fdir
=`(dirname "$file") 2>/dev/null ||
14683 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14684 X"$file" : 'X\(//\)[^/]' \| \
14685 X"$file" : 'X\(//\)$' \| \
14686 X"$file" : 'X\(/\)' \| \
14687 . : '\(.\)' 2>/dev/null ||
14689 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14690 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14691 /^X\(\/\/\)$/{ s//\1/; q; }
14692 /^X\(\/\).*/{ s//\1/; q; }
14694 { if $as_mkdir_p; then
14695 mkdir
-p $dirpart/$fdir
14697 as_dir
=$dirpart/$fdir
14699 while test ! -d "$as_dir"; do
14700 as_dirs
="$as_dir $as_dirs"
14701 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
14702 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14703 X"$as_dir" : 'X\(//\)[^/]' \| \
14704 X"$as_dir" : 'X\(//\)$' \| \
14705 X"$as_dir" : 'X\(/\)' \| \
14706 . : '\(.\)' 2>/dev/null ||
14708 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14709 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14710 /^X\(\/\/\)$/{ s//\1/; q; }
14711 /^X\(\/\).*/{ s//\1/; q; }
14714 test ! -n "$as_dirs" || mkdir
$as_dirs
14715 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
14716 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
14717 { (exit 1); exit 1; }; }; }
14719 # echo "creating $dirpart/$file"
14720 echo '# dummy' > "$dirpart/$file"
14726 # See if we are running on zsh, and set the options which allow our
14727 # commands through without removal of \ escapes.
14728 if test -n "${ZSH_VERSION+set}" ; then
14729 setopt NO_GLOB_SUBST
14732 cfgfile
="${ofile}T"
14733 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14736 cat <<_LT_EOF >> "$cfgfile"
14739 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14740 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14741 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14742 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14744 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14745 # 2006, 2007, 2008 Free Software Foundation, Inc.
14746 # Written by Gordon Matzigkeit, 1996
14748 # This file is part of GNU Libtool.
14750 # GNU Libtool is free software; you can redistribute it and/or
14751 # modify it under the terms of the GNU General Public License as
14752 # published by the Free Software Foundation; either version 2 of
14753 # the License, or (at your option) any later version.
14755 # As a special exception to the GNU General Public License,
14756 # if you distribute this file as part of a program or library that
14757 # is built using GNU Libtool, you may include this file under the
14758 # same distribution terms that you use for the rest of that program.
14760 # GNU Libtool is distributed in the hope that it will be useful,
14761 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14762 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14763 # GNU General Public License for more details.
14765 # You should have received a copy of the GNU General Public License
14766 # along with GNU Libtool; see the file COPYING. If not, a copy
14767 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14768 # obtained by writing to the Free Software Foundation, Inc.,
14769 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14772 # The names of the tagged configurations supported by this script.
14775 # ### BEGIN LIBTOOL CONFIG
14777 # Which release of libtool.m4 was used?
14778 macro_version=$macro_version
14779 macro_revision=$macro_revision
14781 # Whether or not to build shared libraries.
14782 build_libtool_libs=$enable_shared
14784 # Whether or not to build static libraries.
14785 build_old_libs=$enable_static
14787 # What type of objects to build.
14790 # Whether or not to optimize for fast installation.
14791 fast_install=$enable_fast_install
14794 host_alias=$host_alias
14798 # The build system.
14799 build_alias=$build_alias
14803 # A sed program that does not truncate output.
14806 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14807 Xsed="\$SED -e 1s/^X//"
14809 # A grep program that handles long lines.
14815 # A literal string matcher.
14818 # A BSD- or MS-compatible name lister.
14821 # Whether we need soft or hard links.
14824 # What is the maximum length of a command?
14825 max_cmd_len=$max_cmd_len
14827 # Object file suffix (normally "o").
14830 # Executable file suffix (normally "").
14833 # whether the shell understands "unset".
14836 # turn spaces into newlines.
14839 # turn newlines into spaces.
14842 # How to create reloadable object files.
14843 reload_flag=$lt_reload_flag
14844 reload_cmds=$lt_reload_cmds
14846 # An object symbol dumper.
14847 OBJDUMP=$lt_OBJDUMP
14849 # Method to check whether dependent libraries are shared objects.
14850 deplibs_check_method=$lt_deplibs_check_method
14852 # Command to use when deplibs_check_method == "file_magic".
14853 file_magic_cmd=$lt_file_magic_cmd
14857 AR_FLAGS=$lt_AR_FLAGS
14859 # A symbol stripping program.
14862 # Commands used to install an old-style archive.
14864 old_postinstall_cmds=$lt_old_postinstall_cmds
14865 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14870 # LTCC compiler flags.
14871 LTCFLAGS=$lt_CFLAGS
14873 # Take the output of nm and produce a listing of raw symbols and C names.
14874 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14876 # Transform the output of nm in a proper C declaration.
14877 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14879 # Transform the output of nm in a C name address pair.
14880 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14882 # Transform the output of nm in a C name address pair when lib prefix is needed.
14883 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14885 # The name of the directory that contains temporary libtool files.
14888 # Shell to use when invoking shell scripts.
14891 # An echo program that does not interpret backslashes.
14894 # Used to examine libraries when file_magic_cmd begins with "file".
14895 MAGIC_CMD=$MAGIC_CMD
14897 # Must we lock files when doing compilation?
14898 need_locks=$lt_need_locks
14900 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14901 DSYMUTIL=$lt_DSYMUTIL
14903 # Tool to change global to local symbols on Mac OS X.
14906 # Tool to manipulate fat objects and archives on Mac OS X.
14909 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14912 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14913 OTOOL64=$lt_OTOOL64
14915 # Old archive suffix (normally "a").
14918 # Shared library suffix (normally ".so").
14919 shrext_cmds=$lt_shrext_cmds
14921 # The commands to extract the exported symbol list from a shared archive.
14922 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14924 # Variables whose values should be saved in libtool wrapper scripts and
14925 # restored at link time.
14926 variables_saved_for_relink=$lt_variables_saved_for_relink
14928 # Do we need the "lib" prefix for modules?
14929 need_lib_prefix=$need_lib_prefix
14931 # Do we need a version for libraries?
14932 need_version=$need_version
14934 # Library versioning type.
14935 version_type=$version_type
14937 # Shared library runtime path variable.
14938 runpath_var=$runpath_var
14940 # Shared library path variable.
14941 shlibpath_var=$shlibpath_var
14943 # Is shlibpath searched before the hard-coded library search path?
14944 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14946 # Format of library name prefix.
14947 libname_spec=$lt_libname_spec
14949 # List of archive names. First name is the real one, the rest are links.
14950 # The last name is the one that the linker finds with -lNAME
14951 library_names_spec=$lt_library_names_spec
14953 # The coded name of the library, if different from the real name.
14954 soname_spec=$lt_soname_spec
14956 # Command to use after installation of a shared archive.
14957 postinstall_cmds=$lt_postinstall_cmds
14959 # Command to use after uninstallation of a shared archive.
14960 postuninstall_cmds=$lt_postuninstall_cmds
14962 # Commands used to finish a libtool library installation in a directory.
14963 finish_cmds=$lt_finish_cmds
14965 # As "finish_cmds", except a single script fragment to be evaled but
14967 finish_eval=$lt_finish_eval
14969 # Whether we should hardcode library paths into libraries.
14970 hardcode_into_libs=$hardcode_into_libs
14972 # Compile-time system search path for libraries.
14973 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14975 # Run-time system search path for libraries.
14976 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14978 # Whether dlopen is supported.
14979 dlopen_support=$enable_dlopen
14981 # Whether dlopen of programs is supported.
14982 dlopen_self=$enable_dlopen_self
14984 # Whether dlopen of statically linked programs is supported.
14985 dlopen_self_static=$enable_dlopen_self_static
14987 # Commands to strip libraries.
14988 old_striplib=$lt_old_striplib
14989 striplib=$lt_striplib
14992 # The linker used to build libraries.
14995 # Commands used to build an old-style archive.
14996 old_archive_cmds=$lt_old_archive_cmds
14998 # A language specific compiler.
15001 # Is the compiler the GNU compiler?
15004 # Compiler flag to turn off builtin functions.
15005 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15007 # How to pass a linker flag through the compiler.
15008 wl=$lt_lt_prog_compiler_wl
15010 # Additional compiler flags for building library objects.
15011 pic_flag=$lt_lt_prog_compiler_pic
15013 # Compiler flag to prevent dynamic linking.
15014 link_static_flag=$lt_lt_prog_compiler_static
15016 # Does compiler simultaneously support -c and -o options?
15017 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15019 # Whether or not to add -lc for building shared libraries.
15020 build_libtool_need_lc=$archive_cmds_need_lc
15022 # Whether or not to disallow shared libs when runtime libs are static.
15023 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15025 # Compiler flag to allow reflexive dlopens.
15026 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15028 # Compiler flag to generate shared objects directly from archives.
15029 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15031 # Whether the compiler copes with passing no objects directly.
15032 compiler_needs_object=$lt_compiler_needs_object
15034 # Create an old-style archive from a shared archive.
15035 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15037 # Create a temporary old-style archive to link instead of a shared archive.
15038 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15040 # Commands used to build a shared archive.
15041 archive_cmds=$lt_archive_cmds
15042 archive_expsym_cmds=$lt_archive_expsym_cmds
15044 # Commands used to build a loadable module if different from building
15045 # a shared archive.
15046 module_cmds=$lt_module_cmds
15047 module_expsym_cmds=$lt_module_expsym_cmds
15049 # Whether we are building with GNU ld or not.
15050 with_gnu_ld=$lt_with_gnu_ld
15052 # Flag that allows shared libraries with undefined symbols to be built.
15053 allow_undefined_flag=$lt_allow_undefined_flag
15055 # Flag that enforces no undefined symbols.
15056 no_undefined_flag=$lt_no_undefined_flag
15058 # Flag to hardcode \$libdir into a binary during linking.
15059 # This must work even if \$libdir does not exist
15060 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15062 # If ld is used when linking, flag to hardcode \$libdir into a binary
15063 # during linking. This must work even if \$libdir does not exist.
15064 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15066 # Whether we need a single "-rpath" flag with a separated argument.
15067 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15069 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15070 # DIR into the resulting binary.
15071 hardcode_direct=$hardcode_direct
15073 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15074 # DIR into the resulting binary and the resulting library dependency is
15075 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15076 # library is relocated.
15077 hardcode_direct_absolute=$hardcode_direct_absolute
15079 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15080 # into the resulting binary.
15081 hardcode_minus_L=$hardcode_minus_L
15083 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15084 # into the resulting binary.
15085 hardcode_shlibpath_var=$hardcode_shlibpath_var
15087 # Set to "yes" if building a shared library automatically hardcodes DIR
15088 # into the library and all subsequent libraries and executables linked
15090 hardcode_automatic=$hardcode_automatic
15092 # Set to yes if linker adds runtime paths of dependent libraries
15093 # to runtime path list.
15094 inherit_rpath=$inherit_rpath
15096 # Whether libtool must link a program against all its dependency libraries.
15097 link_all_deplibs=$link_all_deplibs
15099 # Fix the shell variable \$srcfile for the compiler.
15100 fix_srcfile_path=$lt_fix_srcfile_path
15102 # Set to "yes" if exported symbols are required.
15103 always_export_symbols=$always_export_symbols
15105 # The commands to list exported symbols.
15106 export_symbols_cmds=$lt_export_symbols_cmds
15108 # Symbols that should not be listed in the preloaded symbols.
15109 exclude_expsyms=$lt_exclude_expsyms
15111 # Symbols that must always be exported.
15112 include_expsyms=$lt_include_expsyms
15114 # Commands necessary for linking programs (against libraries) with templates.
15115 prelink_cmds=$lt_prelink_cmds
15117 # Specify filename containing input files.
15118 file_list_spec=$lt_file_list_spec
15120 # How to hardcode a shared library path into an executable.
15121 hardcode_action=$hardcode_action
15123 # ### END LIBTOOL CONFIG
15129 cat <<\_LT_EOF
>> "$cfgfile"
15130 # AIX sometimes has problems with the GCC collect2 program. For some
15131 # reason, if we set the COLLECT_NAMES environment variable, the problems
15132 # vanish in a puff of smoke.
15133 if test "X${COLLECT_NAMES+set}" != Xset
; then
15135 export COLLECT_NAMES
15142 ltmain
="$ac_aux_dir/ltmain.sh"
15145 # We use sed instead of cat because bash on DJGPP gets confused if
15146 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15147 # text mode, it properly converts lines to CR/LF. This bash problem
15148 # is reportedly fixed, but why not run on old versions too?
15149 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
15150 ||
(rm -f "$cfgfile"; exit 1)
15154 cat << \_LT_EOF
>> "$cfgfile"
15156 # func_dirname file append nondir_replacement
15157 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15158 # otherwise set result to NONDIR_REPLACEMENT.
15162 */*) func_dirname_result
="${1%/*}${2}" ;;
15163 * ) func_dirname_result
="${3}" ;;
15167 # func_basename file
15170 func_basename_result
="${1##*/}"
15173 # func_dirname_and_basename file append nondir_replacement
15174 # perform func_basename and func_dirname in a single function
15176 # dirname: Compute the dirname of FILE. If nonempty,
15177 # add APPEND to the result, otherwise set result
15178 # to NONDIR_REPLACEMENT.
15179 # value returned in "$func_dirname_result"
15180 # basename: Compute filename of FILE.
15181 # value retuned in "$func_basename_result"
15182 # Implementation must be kept synchronized with func_dirname
15183 # and func_basename. For efficiency, we do not delegate to
15184 # those functions but instead duplicate the functionality here.
15185 func_dirname_and_basename
()
15188 */*) func_dirname_result
="${1%/*}${2}" ;;
15189 * ) func_dirname_result
="${3}" ;;
15191 func_basename_result
="${1##*/}"
15194 # func_stripname prefix suffix name
15195 # strip PREFIX and SUFFIX off of NAME.
15196 # PREFIX and SUFFIX must not contain globbing or regex special
15197 # characters, hashes, percent signs, but SUFFIX may contain a leading
15198 # dot (in which case that matches only a dot).
15201 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15202 # positional parameters, so assign one to ordinary parameter first.
15203 func_stripname_result
=${3}
15204 func_stripname_result
=${func_stripname_result#"${1}"}
15205 func_stripname_result
=${func_stripname_result%"${2}"}
15211 func_opt_split_opt
=${1%%=*}
15212 func_opt_split_arg
=${1#*=}
15219 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
15220 *) func_lo2o_result
=${1} ;;
15224 # func_xform libobj-or-source
15227 func_xform_result
=${1%.*}.lo
15230 # func_arith arithmetic-term...
15233 func_arith_result
=$
(( $
* ))
15237 # STRING may not start with a hyphen.
15240 func_len_result
=${#1}
15245 *) # Bourne compatible functions.
15246 cat << \_LT_EOF
>> "$cfgfile"
15248 # func_dirname file append nondir_replacement
15249 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15250 # otherwise set result to NONDIR_REPLACEMENT.
15253 # Extract subdirectory from the argument.
15254 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15255 if test "X$func_dirname_result" = "X${1}"; then
15256 func_dirname_result
="${3}"
15258 func_dirname_result
="$func_dirname_result${2}"
15262 # func_basename file
15265 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
15269 # func_stripname prefix suffix name
15270 # strip PREFIX and SUFFIX off of NAME.
15271 # PREFIX and SUFFIX must not contain globbing or regex special
15272 # characters, hashes, percent signs, but SUFFIX may contain a leading
15273 # dot (in which case that matches only a dot).
15274 # func_strip_suffix prefix name
15278 .
*) func_stripname_result
=`$ECHO "X${3}" \
15279 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
15280 *) func_stripname_result
=`$ECHO "X${3}" \
15281 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
15286 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
15287 my_sed_long_arg
='1s/^-[^=]*=//'
15292 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
15293 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
15299 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
15302 # func_xform libobj-or-source
15305 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
15308 # func_arith arithmetic-term...
15311 func_arith_result
=`expr "$@"`
15315 # STRING may not start with a hyphen.
15318 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15324 case $lt_shell_append in
15326 cat << \_LT_EOF
>> "$cfgfile"
15328 # func_append var value
15329 # Append VALUE to the end of shell variable VAR.
15337 cat << \_LT_EOF
>> "$cfgfile"
15339 # func_append var value
15340 # Append VALUE to the end of shell variable VAR.
15351 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15352 ||
(rm -f "$cfgfile"; exit 1)
15354 mv -f "$cfgfile" "$ofile" ||
15355 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15363 cat >>$CONFIG_STATUS <<\_ACEOF
15365 { (exit 0); exit 0; }
15367 chmod +x
$CONFIG_STATUS
15368 ac_clean_files
=$ac_clean_files_save
15371 # configure is writing to config.log, and then calls config.status.
15372 # config.status does its own redirection, appending to config.log.
15373 # Unfortunately, on DOS this fails, as config.log is still kept open
15374 # by configure, so config.status won't be able to write to it; its
15375 # output is simply discarded. So we exec the FD to /dev/null,
15376 # effectively closing config.log, so it can be properly (re)opened and
15377 # appended to by config.status. When coming back to configure, we
15378 # need to make the FD available again.
15379 if test "$no_create" != yes; then
15381 ac_config_status_args
=
15382 test "$silent" = yes &&
15383 ac_config_status_args
="$ac_config_status_args --quiet"
15385 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15387 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15388 # would make configure fail if this is the last instruction.
15389 $ac_cs_success ||
{ (exit 1); exit 1; }