2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for libmudflap 1.0.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # Check that we are running under the correct shell.
246 SHELL
=${CONFIG_SHELL-/bin/sh}
250 # Remove one level of quotation (which was required for Make).
251 ECHO
=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
256 if test "X$1" = X--no-reexec
; then
257 # Discard the --no-reexec flag, and continue.
259 elif test "X$1" = X--fallback-echo
; then
260 # Avoid inline document here, it may be left over
262 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
263 # Yippee, $ECHO works!
266 # Restart under the correct shell.
267 exec $SHELL "$0" --no-reexec ${1+"$@"}
270 if test "X$1" = X--fallback-echo
; then
271 # used as fallback echo
279 # The HP-UX ksh and POSIX shell print the target directory to stdout
281 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
283 if test -z "$lt_ECHO"; then
284 if test "X${echo_test_string+set}" != Xset
; then
285 # find a string as large as possible, as long as the shell can cope with it
286 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
287 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
288 if { echo_test_string
=`eval $cmd`; } 2>/dev
/null
&&
289 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev
/null
296 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
297 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
298 test "X$echo_testing_string" = "X$echo_test_string"; then
301 # The Solaris, AIX, and Digital Unix default echo programs unquote
302 # backslashes. This makes it impossible to quote backslashes using
303 # echo "$something" | sed 's/\\/\\\\/g'
305 # So, first we look for a working echo in the user's PATH.
307 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
308 for dir
in $PATH /usr
/ucb
; do
310 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
311 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
312 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
313 test "X$echo_testing_string" = "X$echo_test_string"; then
320 if test "X$ECHO" = Xecho
; then
321 # We didn't find a better echo, so look for alternatives.
322 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
323 echo_testing_string
=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
324 test "X$echo_testing_string" = "X$echo_test_string"; then
325 # This shell has a builtin print -r that does the trick.
327 elif { test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext; } &&
328 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
329 # If we have ksh, try running configure again with it.
330 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
331 export ORIGINAL_CONFIG_SHELL
332 CONFIG_SHELL
=/bin
/ksh
334 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
338 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
339 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
340 test "X$echo_testing_string" = "X$echo_test_string"; then
343 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
344 test "X$echo_testing_string" = 'X\t' &&
345 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
346 test "X$echo_testing_string" = "X$echo_test_string"; then
347 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
349 SHELL
="$CONFIG_SHELL"
351 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
352 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
353 test "X$echo_testing_string" = 'X\t' &&
354 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
355 test "X$echo_testing_string" = "X$echo_test_string"; then
356 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
358 # maybe with a smaller string...
361 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
362 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev
/null
369 if test "$prev" != 'sed 50q "$0"'; then
370 echo_test_string
=`eval $prev`
371 export echo_test_string
372 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
374 # Oops. We lost completely, so just stick with echo.
383 # Copy echo and quote the copy suitably for passing to libtool from
384 # the Makefile, instead of quoting the original, which is used later.
386 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
387 lt_ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
394 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
395 # so uname gets run too.
396 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
403 ac_default_prefix
=/usr
/local
404 ac_config_libobj_dir
=.
409 SHELL
=${CONFIG_SHELL-/bin/sh}
411 # Maximum number of lines to put in a shell here document.
412 # This variable seems obsolete. It should probably be removed, and
413 # only ac_max_sed_lines should be used.
414 : ${ac_max_here_lines=38}
416 # Identity of this package.
417 PACKAGE_NAME
='libmudflap'
418 PACKAGE_TARNAME
='libmudflap'
419 PACKAGE_VERSION
='1.0'
420 PACKAGE_STRING
='libmudflap 1.0'
423 ac_unique_file
="mf-runtime.c"
424 # Factoring default headers for most tests.
425 ac_includes_default
="\
428 # include <sys/types.h>
431 # include <sys/stat.h>
442 # if !STDC_HEADERS && HAVE_MEMORY_H
448 # include <strings.h>
451 # include <inttypes.h>
461 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os target_noncanonical INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT multi_basedir CC ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CFLAGS CPP CPPFLAGS EGREP LIBTOOL SED FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM LN_S AR ac_ct_AR RANLIB ac_ct_RANLIB lt_ECHO enable_shared enable_static MF_HAVE_STDINT_H MF_HAVE_UINTPTR_T LIBMUDFLAPTH_TRUE LIBMUDFLAPTH_FALSE build_libmudflapth toolexecdir toolexeclibdir ac_ct_NM SECTION_FLAGS LIBOBJS LTLIBOBJS'
464 # Initialize some variables set by options.
466 ac_init_version
=false
467 # The variables have the same names as the options, with
468 # dashes changed to underlines.
476 program_transform_name
=s
,x
,x
,
484 # Installation directory options.
485 # These are left unexpanded so users can "make install exec_prefix=/foo"
486 # and all the variables that are supposed to be based on exec_prefix
487 # by default will actually change.
488 # Use braces instead of parens because sh, perl, etc. also accept them.
489 bindir
='${exec_prefix}/bin'
490 sbindir
='${exec_prefix}/sbin'
491 libexecdir
='${exec_prefix}/libexec'
492 datadir
='${prefix}/share'
493 sysconfdir
='${prefix}/etc'
494 sharedstatedir
='${prefix}/com'
495 localstatedir
='${prefix}/var'
496 libdir
='${exec_prefix}/lib'
497 includedir
='${prefix}/include'
498 oldincludedir
='/usr/include'
499 infodir
='${prefix}/info'
500 mandir
='${prefix}/man'
505 # If the previous option needs an argument, assign it.
506 if test -n "$ac_prev"; then
507 eval "$ac_prev=\$ac_option"
512 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
514 # Accept the important Cygnus configure options, so we can diagnose typos.
518 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
520 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
523 -build |
--build |
--buil |
--bui |
--bu)
524 ac_prev
=build_alias
;;
525 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
526 build_alias
=$ac_optarg ;;
528 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
529 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
530 ac_prev
=cache_file
;;
531 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
532 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
533 cache_file
=$ac_optarg ;;
536 cache_file
=config.cache
;;
538 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
540 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
542 datadir
=$ac_optarg ;;
544 -disable-* |
--disable-*)
545 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
546 # Reject names that are not valid shell variable names.
547 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
548 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
549 { (exit 1); exit 1; }; }
550 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
551 eval "enable_$ac_feature=no" ;;
553 -enable-* |
--enable-*)
554 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
555 # Reject names that are not valid shell variable names.
556 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
557 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
558 { (exit 1); exit 1; }; }
559 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
561 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
564 eval "enable_$ac_feature='$ac_optarg'" ;;
566 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
567 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
568 |
--exec |
--exe |
--ex)
569 ac_prev
=exec_prefix
;;
570 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
571 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
572 |
--exec=* |
--exe=* |
--ex=*)
573 exec_prefix
=$ac_optarg ;;
575 -gas |
--gas |
--ga |
--g)
576 # Obsolete; use --with-gas.
579 -help |
--help |
--hel |
--he |
-h)
581 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
582 ac_init_help
=recursive
;;
583 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
584 ac_init_help
=short
;;
586 -host |
--host |
--hos |
--ho)
587 ac_prev
=host_alias
;;
588 -host=* |
--host=* |
--hos=* |
--ho=*)
589 host_alias
=$ac_optarg ;;
591 -includedir |
--includedir |
--includedi |
--included |
--include \
592 |
--includ |
--inclu |
--incl |
--inc)
593 ac_prev
=includedir
;;
594 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
595 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
596 includedir
=$ac_optarg ;;
598 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
600 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
601 infodir
=$ac_optarg ;;
603 -libdir |
--libdir |
--libdi |
--libd)
605 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
608 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
609 |
--libexe |
--libex |
--libe)
610 ac_prev
=libexecdir
;;
611 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
612 |
--libexe=* |
--libex=* |
--libe=*)
613 libexecdir
=$ac_optarg ;;
615 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
616 |
--localstate |
--localstat |
--localsta |
--localst \
617 |
--locals |
--local |
--loca |
--loc |
--lo)
618 ac_prev
=localstatedir
;;
619 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
620 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
621 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
622 localstatedir
=$ac_optarg ;;
624 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
626 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
630 # Obsolete; use --without-fp.
633 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
634 |
--no-cr |
--no-c |
-n)
637 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
638 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
641 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
642 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
643 |
--oldin |
--oldi |
--old |
--ol |
--o)
644 ac_prev
=oldincludedir
;;
645 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
646 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
647 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
648 oldincludedir
=$ac_optarg ;;
650 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
652 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
655 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
656 |
--program-pre |
--program-pr |
--program-p)
657 ac_prev
=program_prefix
;;
658 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
659 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
660 program_prefix
=$ac_optarg ;;
662 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
663 |
--program-suf |
--program-su |
--program-s)
664 ac_prev
=program_suffix
;;
665 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
666 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
667 program_suffix
=$ac_optarg ;;
669 -program-transform-name |
--program-transform-name \
670 |
--program-transform-nam |
--program-transform-na \
671 |
--program-transform-n |
--program-transform- \
672 |
--program-transform |
--program-transfor \
673 |
--program-transfo |
--program-transf \
674 |
--program-trans |
--program-tran \
675 |
--progr-tra |
--program-tr |
--program-t)
676 ac_prev
=program_transform_name
;;
677 -program-transform-name=* |
--program-transform-name=* \
678 |
--program-transform-nam=* |
--program-transform-na=* \
679 |
--program-transform-n=* |
--program-transform-=* \
680 |
--program-transform=* |
--program-transfor=* \
681 |
--program-transfo=* |
--program-transf=* \
682 |
--program-trans=* |
--program-tran=* \
683 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
684 program_transform_name
=$ac_optarg ;;
686 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
687 |
-silent |
--silent |
--silen |
--sile |
--sil)
690 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
692 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
694 sbindir
=$ac_optarg ;;
696 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
697 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
698 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
700 ac_prev
=sharedstatedir
;;
701 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
702 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
703 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
705 sharedstatedir
=$ac_optarg ;;
707 -site |
--site |
--sit)
709 -site=* |
--site=* |
--sit=*)
712 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
714 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
717 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
718 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
719 ac_prev
=sysconfdir
;;
720 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
721 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
722 sysconfdir
=$ac_optarg ;;
724 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
725 ac_prev
=target_alias
;;
726 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
727 target_alias
=$ac_optarg ;;
729 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
732 -version |
--version |
--versio |
--versi |
--vers |
-V)
736 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
737 # Reject names that are not valid shell variable names.
738 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
739 { echo "$as_me: error: invalid package name: $ac_package" >&2
740 { (exit 1); exit 1; }; }
741 ac_package
=`echo $ac_package| sed 's/-/_/g'`
743 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
746 eval "with_$ac_package='$ac_optarg'" ;;
748 -without-* |
--without-*)
749 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
750 # Reject names that are not valid shell variable names.
751 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
752 { echo "$as_me: error: invalid package name: $ac_package" >&2
753 { (exit 1); exit 1; }; }
754 ac_package
=`echo $ac_package | sed 's/-/_/g'`
755 eval "with_$ac_package=no" ;;
758 # Obsolete; use --with-x.
761 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
762 |
--x-incl |
--x-inc |
--x-in |
--x-i)
763 ac_prev
=x_includes
;;
764 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
765 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
766 x_includes
=$ac_optarg ;;
768 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
769 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
770 ac_prev
=x_libraries
;;
771 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
772 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
773 x_libraries
=$ac_optarg ;;
775 -*) { echo "$as_me: error: unrecognized option: $ac_option
776 Try \`$0 --help' for more information." >&2
777 { (exit 1); exit 1; }; }
781 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
782 # Reject names that are not valid shell variable names.
783 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
784 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
785 { (exit 1); exit 1; }; }
786 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
787 eval "$ac_envvar='$ac_optarg'"
791 # FIXME: should be removed in autoconf 3.0.
792 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
793 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
794 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
795 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
801 if test -n "$ac_prev"; then
802 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
803 { echo "$as_me: error: missing argument to $ac_option" >&2
804 { (exit 1); exit 1; }; }
807 # Be sure to have absolute paths.
808 for ac_var
in exec_prefix prefix
810 eval ac_val
=$
`echo $ac_var`
812 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
813 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
814 { (exit 1); exit 1; }; };;
818 # Be sure to have absolute paths.
819 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
820 localstatedir libdir includedir oldincludedir infodir mandir
822 eval ac_val
=$
`echo $ac_var`
824 [\\/$
]* | ?
:[\\/]* ) ;;
825 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
826 { (exit 1); exit 1; }; };;
830 # There might be people who depend on the old broken behavior: `$host'
831 # used to hold the argument of --host etc.
832 # FIXME: To remove some day.
837 # FIXME: To remove some day.
838 if test "x$host_alias" != x
; then
839 if test "x$build_alias" = x
; then
840 cross_compiling
=maybe
841 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
842 If a cross compiler is detected then cross compile mode will be used." >&2
843 elif test "x$build_alias" != "x$host_alias"; then
849 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
851 test "$silent" = yes && exec 6>/dev
/null
854 # Find the source files, if location was not specified.
855 if test -z "$srcdir"; then
856 ac_srcdir_defaulted
=yes
857 # Try the directory containing this script, then its parent.
858 ac_confdir
=`(dirname "$0") 2>/dev/null ||
859 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
860 X"$0" : 'X\(//\)[^/]' \| \
861 X"$0" : 'X\(//\)$' \| \
862 X"$0" : 'X\(/\)' \| \
863 . : '\(.\)' 2>/dev/null ||
865 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
866 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
867 /^X\(\/\/\)$/{ s//\1/; q; }
868 /^X\(\/\).*/{ s//\1/; q; }
871 if test ! -r $srcdir/$ac_unique_file; then
875 ac_srcdir_defaulted
=no
877 if test ! -r $srcdir/$ac_unique_file; then
878 if test "$ac_srcdir_defaulted" = yes; then
879 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
880 { (exit 1); exit 1; }; }
882 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
883 { (exit 1); exit 1; }; }
886 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
887 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
888 { (exit 1); exit 1; }; }
889 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
890 ac_env_build_alias_set
=${build_alias+set}
891 ac_env_build_alias_value
=$build_alias
892 ac_cv_env_build_alias_set
=${build_alias+set}
893 ac_cv_env_build_alias_value
=$build_alias
894 ac_env_host_alias_set
=${host_alias+set}
895 ac_env_host_alias_value
=$host_alias
896 ac_cv_env_host_alias_set
=${host_alias+set}
897 ac_cv_env_host_alias_value
=$host_alias
898 ac_env_target_alias_set
=${target_alias+set}
899 ac_env_target_alias_value
=$target_alias
900 ac_cv_env_target_alias_set
=${target_alias+set}
901 ac_cv_env_target_alias_value
=$target_alias
902 ac_env_CPP_set
=${CPP+set}
903 ac_env_CPP_value
=$CPP
904 ac_cv_env_CPP_set
=${CPP+set}
905 ac_cv_env_CPP_value
=$CPP
906 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
907 ac_env_CPPFLAGS_value
=$CPPFLAGS
908 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
909 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
912 # Report the --help message.
914 if test "$ac_init_help" = "long"; then
915 # Omit some internal or obsolete options to make the list less imposing.
916 # This message is too long to be a string in the A/UX 3.1 sh.
918 \`configure' configures libmudflap 1.0 to adapt to many kinds of systems.
920 Usage: $0 [OPTION]... [VAR=VALUE]...
922 To assign environment variables (e.g., CC, CFLAGS...), specify them as
923 VAR=VALUE. See below for descriptions of some of the useful variables.
925 Defaults for the options are specified in brackets.
928 -h, --help display this help and exit
929 --help=short display options specific to this package
930 --help=recursive display the short help of all the included packages
931 -V, --version display version information and exit
932 -q, --quiet, --silent do not print \`checking...' messages
933 --cache-file=FILE cache test results in FILE [disabled]
934 -C, --config-cache alias for \`--cache-file=config.cache'
935 -n, --no-create do not create output files
936 --srcdir=DIR find the sources in DIR [configure dir or \`..']
941 Installation directories:
942 --prefix=PREFIX install architecture-independent files in PREFIX
944 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
947 By default, \`make install' will install all the files in
948 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
949 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
950 for instance \`--prefix=\$HOME'.
952 For better control, use the options below.
954 Fine tuning of the installation directories:
955 --bindir=DIR user executables [EPREFIX/bin]
956 --sbindir=DIR system admin executables [EPREFIX/sbin]
957 --libexecdir=DIR program executables [EPREFIX/libexec]
958 --datadir=DIR read-only architecture-independent data [PREFIX/share]
959 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
960 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
961 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
962 --libdir=DIR object code libraries [EPREFIX/lib]
963 --includedir=DIR C header files [PREFIX/include]
964 --oldincludedir=DIR C header files for non-gcc [/usr/include]
965 --infodir=DIR info documentation [PREFIX/info]
966 --mandir=DIR man documentation [PREFIX/man]
972 --program-prefix=PREFIX prepend PREFIX to installed program names
973 --program-suffix=SUFFIX append SUFFIX to installed program names
974 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
977 --build=BUILD configure
for building on BUILD
[guessed
]
978 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
979 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
983 if test -n "$ac_init_help"; then
984 case $ac_init_help in
985 short | recursive
) echo "Configuration of libmudflap 1.0:";;
990 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
991 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
992 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed
in a compiler-specific directory
993 --enable-maintainer-mode enable make rules and dependencies not useful
994 (and sometimes confusing
) to the casual installer
995 --enable-multilib build many library versions
(default
)
996 --disable-dependency-tracking speeds up one-time build
997 --enable-dependency-tracking do not reject slow dependency extractors
998 --enable-shared[=PKGS
]
999 build shared libraries
[default
=yes]
1000 --enable-static[=PKGS
]
1001 build static libraries
[default
=yes]
1002 --enable-fast-install[=PKGS
]
1003 optimize
for fast installation
[default
=yes]
1004 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1005 --enable-tls Use thread-local storage
[default
=yes]
1008 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1009 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1010 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1012 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1014 Some influential environment variables
:
1015 CC C compiler
command
1016 CFLAGS C compiler flags
1017 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1018 nonstandard directory
<lib dir
>
1019 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1020 headers
in a nonstandard directory
<include dir
>
1023 Use these variables to override the choices made by
`configure' or to help
1024 it to find libraries and programs with nonstandard names/locations.
1029 if test "$ac_init_help" = "recursive"; then
1030 # If there are subdirs, report their specific --help.
1032 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1033 test -d $ac_dir || continue
1036 if test "$ac_dir" != .; then
1037 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1038 # A "../" for each directory in $ac_dir_suffix.
1039 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
1041 ac_dir_suffix= ac_top_builddir=
1045 .) # No --srcdir option. We are building in place.
1047 if test -z "$ac_top_builddir"; then
1050 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
1052 [\\/]* | ?:[\\/]* ) # Absolute path.
1053 ac_srcdir=$srcdir$ac_dir_suffix;
1054 ac_top_srcdir=$srcdir ;;
1056 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1057 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1060 # Do not use `cd foo
&& pwd` to compute absolute paths, because
1061 # the directories may not exist.
1063 .) ac_abs_builddir="$ac_dir";;
1066 .) ac_abs_builddir=`pwd`;;
1067 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1068 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1071 case $ac_abs_builddir in
1072 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1074 case ${ac_top_builddir}. in
1075 .) ac_abs_top_builddir=$ac_abs_builddir;;
1076 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1077 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1080 case $ac_abs_builddir in
1081 .) ac_abs_srcdir=$ac_srcdir;;
1084 .) ac_abs_srcdir=$ac_abs_builddir;;
1085 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1086 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1089 case $ac_abs_builddir in
1090 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1092 case $ac_top_srcdir in
1093 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1094 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1095 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1100 # Check for guested configure; otherwise get Cygnus style configure.
1101 if test -f $ac_srcdir/configure.gnu; then
1103 $SHELL $ac_srcdir/configure.gnu --help=recursive
1104 elif test -f $ac_srcdir/configure; then
1106 $SHELL $ac_srcdir/configure --help=recursive
1107 elif test -f $ac_srcdir/configure.ac ||
1108 test -f $ac_srcdir/configure.in; then
1110 $ac_configure --help
1112 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1118 test -n "$ac_init_help" && exit 0
1119 if $ac_init_version; then
1121 libmudflap configure 1.0
1122 generated by GNU Autoconf 2.59
1124 Copyright (C) 2003 Free Software Foundation, Inc.
1125 This configure script is free software; the Free Software Foundation
1126 gives unlimited permission to copy, distribute and modify it.
1132 This file contains any messages produced by compilers while
1133 running configure, to aid debugging if configure makes a mistake.
1135 It was created by libmudflap $as_me 1.0, which was
1136 generated by GNU Autoconf 2.59. Invocation command line was
1147 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1148 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1149 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1150 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1151 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1153 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1154 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1156 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1157 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1158 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1159 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1160 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1161 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1162 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1170 test -z "$as_dir" && as_dir=.
1171 echo "PATH: $as_dir"
1186 # Keep a trace of the command line.
1187 # Strip out --no-create and --no-recursion so they do not pile up.
1188 # Strip out --silent because we don't want to record it for future runs.
1189 # Also quote any args containing shell meta-characters.
1190 # Make two passes to allow for proper duplicate-argument suppression.
1195 ac_must_keep_next=false
1201 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1202 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1203 | -silent | --silent | --silen | --sile | --sil)
1205 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1206 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1209 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1211 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1212 if test $ac_must_keep_next = true; then
1213 ac_must_keep_next=false # Got value, back to normal.
1216 *=* | --config-cache | -C | -disable-* | --disable-* \
1217 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1218 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1219 | -with-* | --with-* | -without-* | --without-* | --x)
1220 case "$ac_configure_args0 " in
1221 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1224 -* ) ac_must_keep_next=true ;;
1227 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1228 # Get rid of the leading space.
1234 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1235 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1237 # When interrupted or exit'd, cleanup temporary files, and complete
1238 # config.log. We remove comments because anyway the quotes in there
1239 # would cause problems or look ugly.
1240 # WARNING: Be sure not to use single quotes in there, as some shells,
1241 # such as our DU 5.0 friend, will then `close
' the trap.
1242 trap 'exit_status
=$?
1243 # Save into config.log some information that might help in debugging.
1248 ## ---------------- ##
1249 ## Cache variables. ##
1250 ## ---------------- ##
1253 # The following way of writing the cache mishandles newlines in values,
1256 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1259 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1260 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1264 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1271 ## ----------------- ##
1272 ## Output variables. ##
1273 ## ----------------- ##
1276 for ac_var
in $ac_subst_vars
1278 eval ac_val
=$
`echo $ac_var`
1279 echo "$ac_var='"'"'$ac_val'"'"'"
1283 if test -n "$ac_subst_files"; then
1290 for ac_var
in $ac_subst_files
1292 eval ac_val
=$
`echo $ac_var`
1293 echo "$ac_var='"'"'$ac_val'"'"'"
1298 if test -s confdefs.h
; then
1305 sed "/^$/d" confdefs.h |
sort
1308 test "$ac_signal" != 0 &&
1309 echo "$as_me: caught signal $ac_signal"
1310 echo "$as_me: exit $exit_status"
1312 rm -f core
*.core
&&
1313 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1316 for ac_signal in 1 2 13 15; do
1317 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1321 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1322 rm -rf conftest* confdefs.h
1323 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1326 # Predefined preprocessor variables.
1328 cat >>confdefs.h <<_ACEOF
1329 #define PACKAGE_NAME "$PACKAGE_NAME"
1333 cat >>confdefs.h <<_ACEOF
1334 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1338 cat >>confdefs.h <<_ACEOF
1339 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1343 cat >>confdefs.h <<_ACEOF
1344 #define PACKAGE_STRING "$PACKAGE_STRING"
1348 cat >>confdefs.h <<_ACEOF
1349 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1353 # Let the site file select an alternate cache file if it wants to.
1354 # Prefer explicitly selected file to automatically selected ones.
1355 if test -z "$CONFIG_SITE"; then
1356 if test "x$prefix" != xNONE; then
1357 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1359 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1362 for ac_site_file in $CONFIG_SITE; do
1363 if test -r "$ac_site_file"; then
1364 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1365 echo "$as_me: loading site script $ac_site_file" >&6;}
1366 sed 's
/^
/|
/' "$ac_site_file" >&5
1371 if test -r "$cache_file"; then
1372 # Some versions of bash will fail to source /dev/null (special
1373 # files actually), so we avoid doing that.
1374 if test -f "$cache_file"; then
1375 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1376 echo "$as_me: loading cache $cache_file" >&6;}
1378 [\\/]* | ?:[\\/]* ) . $cache_file;;
1379 *) . ./$cache_file;;
1383 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1384 echo "$as_me: creating cache $cache_file" >&6;}
1388 # Check that the precious variables saved in the cache have kept the same
1390 ac_cache_corrupted=false
1391 for ac_var in `(set) 2>&1 |
1392 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1393 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1394 eval ac_new_set=\$ac_env_${ac_var}_set
1395 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1396 eval ac_new_val="\$ac_env_${ac_var}_value"
1397 case $ac_old_set,$ac_new_set in
1399 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1400 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1401 ac_cache_corrupted=: ;;
1403 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1404 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1405 ac_cache_corrupted=: ;;
1408 if test "x$ac_old_val" != "x$ac_new_val"; then
1409 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1410 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1411 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1412 echo "$as_me: former value: $ac_old_val" >&2;}
1413 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1414 echo "$as_me: current value: $ac_new_val" >&2;}
1415 ac_cache_corrupted=:
1418 # Pass precious variables to config.status.
1419 if test "$ac_new_set" = set; then
1421 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1422 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1423 *) ac_arg=$ac_var=$ac_new_val ;;
1425 case " $ac_configure_args " in
1426 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1427 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1431 if $ac_cache_corrupted; then
1432 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1433 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1434 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1435 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1436 { (exit 1); exit 1; }; }
1440 ac_cpp='$CPP $CPPFLAGS'
1441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1442 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1473 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1474 if test -f $ac_dir/install-sh; then
1476 ac_install_sh="$ac_aux_dir/install-sh -c"
1478 elif test -f $ac_dir/install.sh; then
1480 ac_install_sh="$ac_aux_dir/install.sh -c"
1482 elif test -f $ac_dir/shtool; then
1484 ac_install_sh="$ac_aux_dir/shtool install -c"
1488 if test -z "$ac_aux_dir"; then
1489 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1490 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1491 { (exit 1); exit 1; }; }
1493 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1494 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1495 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1497 # Make sure we can run config.sub.
1498 $ac_config_sub sun4 >/dev/null 2>&1 ||
1499 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1500 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1501 { (exit 1); exit 1; }; }
1503 echo "$as_me:$LINENO: checking build system type" >&5
1504 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1505 if test "${ac_cv_build+set}" = set; then
1506 echo $ECHO_N "(cached) $ECHO_C" >&6
1508 ac_cv_build_alias=$build_alias
1509 test -z "$ac_cv_build_alias" &&
1510 ac_cv_build_alias=`$ac_config_guess`
1511 test -z "$ac_cv_build_alias" &&
1512 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1513 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1514 { (exit 1); exit 1; }; }
1515 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1516 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1517 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1518 { (exit 1); exit 1; }; }
1521 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1522 echo "${ECHO_T}$ac_cv_build" >&6
1524 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1525 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1526 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1529 echo "$as_me:$LINENO: checking host system type" >&5
1530 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1531 if test "${ac_cv_host+set}" = set; then
1532 echo $ECHO_N "(cached) $ECHO_C" >&6
1534 ac_cv_host_alias=$host_alias
1535 test -z "$ac_cv_host_alias" &&
1536 ac_cv_host_alias=$ac_cv_build_alias
1537 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1538 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1539 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1540 { (exit 1); exit 1; }; }
1543 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1544 echo "${ECHO_T}$ac_cv_host" >&6
1546 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1547 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1548 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1551 echo "$as_me:$LINENO: checking target system type" >&5
1552 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1553 if test "${ac_cv_target+set}" = set; then
1554 echo $ECHO_N "(cached) $ECHO_C" >&6
1556 ac_cv_target_alias=$target_alias
1557 test "x$ac_cv_target_alias" = "x" &&
1558 ac_cv_target_alias=$ac_cv_host_alias
1559 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1560 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1561 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1562 { (exit 1); exit 1; }; }
1565 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1566 echo "${ECHO_T}$ac_cv_target" >&6
1567 target=$ac_cv_target
1568 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1569 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1570 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1573 # The aliases save the names the user supplied, while $host etc.
1574 # will get canonicalized.
1575 test -n "$target_alias" &&
1576 test "$program_prefix$program_suffix$program_transform_name" = \
1578 program_prefix=${target_alias}-
1579 case ${build_alias} in
1580 "") build_noncanonical=${build} ;;
1581 *) build_noncanonical=${build_alias} ;;
1584 case ${host_alias} in
1585 "") host_noncanonical=${build_noncanonical} ;;
1586 *) host_noncanonical=${host_alias} ;;
1589 case ${target_alias} in
1590 "") target_noncanonical=${host_noncanonical} ;;
1591 *) target_noncanonical=${target_alias} ;;
1597 am__api_version="1.9"
1598 # Find a good install program. We prefer a C program (faster),
1599 # so one script is as good as another. But avoid the broken or
1600 # incompatible versions:
1601 # SysV /etc/install, /usr/sbin/install
1602 # SunOS /usr/etc/install
1603 # IRIX /sbin/install
1605 # AmigaOS /C/install, which installs bootblocks on floppy discs
1606 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1607 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1608 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1609 # OS/2's system install, which has a completely different semantic
1610 # ./install, which can be erroneously created by make from ./install.sh.
1611 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1612 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1613 if test -z "$INSTALL"; then
1614 if test "${ac_cv_path_install+set}" = set; then
1615 echo $ECHO_N "(cached) $ECHO_C" >&6
1617 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1621 test -z "$as_dir" && as_dir
=.
1622 # Account for people who put trailing slashes in PATH elements.
1624 .
/ | .
// |
/cC
/* | \
1625 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1626 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1629 # OSF1 and SCO ODT 3.0 have their own names for install.
1630 # Don't use installbsd from OSF since it installs stuff as root
1632 for ac_prog
in ginstall scoinst
install; do
1633 for ac_exec_ext
in '' $ac_executable_extensions; do
1634 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1635 if test $ac_prog = install &&
1636 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1637 # AIX install. It has an incompatible calling convention.
1639 elif test $ac_prog = install &&
1640 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1641 # program-specific install script used by HP pwplus--don't use.
1644 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1656 if test "${ac_cv_path_install+set}" = set; then
1657 INSTALL
=$ac_cv_path_install
1659 # As a last resort, use the slow shell script. We don't cache a
1660 # path for INSTALL within a source directory, because that will
1661 # break other packages using the cache if that directory is
1662 # removed, or if the path is relative.
1663 INSTALL
=$ac_install_sh
1666 echo "$as_me:$LINENO: result: $INSTALL" >&5
1667 echo "${ECHO_T}$INSTALL" >&6
1669 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1670 # It thinks the first close brace ends the variable substitution.
1671 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1673 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1675 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1677 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1678 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1681 echo timestamp
> conftest.
file
1682 # Do `set' in a subshell so we don't clobber the current shell's
1683 # arguments. Must try -L first in case configure is actually a
1684 # symlink; some systems play weird games with the mod time of symlinks
1685 # (eg FreeBSD returns the mod time of the symlink's containing
1688 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1689 if test "$*" = "X"; then
1691 set X
`ls -t $srcdir/configure conftest.file`
1694 if test "$*" != "X $srcdir/configure conftest.file" \
1695 && test "$*" != "X conftest.file $srcdir/configure"; then
1697 # If neither matched, then we have a broken ls. This can happen
1698 # if, for instance, CONFIG_SHELL is bash and it inherits a
1699 # broken ls alias from the environment. This has actually
1700 # happened. Such a system could not be considered "sane".
1701 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1702 alias in your environment" >&5
1703 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1704 alias in your environment" >&2;}
1705 { (exit 1); exit 1; }; }
1708 test "$2" = conftest.
file
1714 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1715 Check your system clock" >&5
1716 echo "$as_me: error: newly created file is older than distributed files!
1717 Check your system clock" >&2;}
1718 { (exit 1); exit 1; }; }
1720 echo "$as_me:$LINENO: result: yes" >&5
1721 echo "${ECHO_T}yes" >&6
1722 test "$program_prefix" != NONE
&&
1723 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1724 # Use a double $ so make ignores it.
1725 test "$program_suffix" != NONE
&&
1726 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1727 # Double any \ or $. echo might interpret backslashes.
1728 # By default was `s,x,x', remove it if useless.
1729 cat <<\_ACEOF
>conftest.
sed
1730 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1732 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1735 # expand $ac_aux_dir to an absolute path
1736 am_aux_dir
=`cd $ac_aux_dir && pwd`
1738 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1739 # Use eval to expand $SHELL
1740 if eval "$MISSING --run true"; then
1741 am_missing_run
="$MISSING --run "
1744 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1745 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1748 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1749 # We used to keeping the `.' as first argument, in order to
1750 # allow $(mkdir_p) to be used without argument. As in
1751 # $(mkdir_p) $(somedir)
1752 # where $(somedir) is conditionally defined. However this is wrong
1754 # 1. if the package is installed by a user who cannot write `.'
1755 # make install will fail,
1756 # 2. the above comment should most certainly read
1757 # $(mkdir_p) $(DESTDIR)$(somedir)
1758 # so it does not work when $(somedir) is undefined and
1759 # $(DESTDIR) is not.
1760 # To support the latter case, we have to write
1761 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1762 # so the `.' trick is pointless.
1763 mkdir_p
='mkdir -p --'
1765 # On NextStep and OpenStep, the `mkdir' command does not
1766 # recognize any option. It will interpret all options as
1767 # directories to create, and then abort because `.' already
1769 for d
in .
/-p .
/--version;
1771 test -d $d && rmdir $d
1773 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1774 if test -f "$ac_aux_dir/mkinstalldirs"; then
1775 mkdir_p
='$(mkinstalldirs)'
1777 mkdir_p
='$(install_sh) -d'
1781 for ac_prog
in gawk mawk nawk
awk
1783 # Extract the first word of "$ac_prog", so it can be a program name with args.
1784 set dummy
$ac_prog; ac_word
=$2
1785 echo "$as_me:$LINENO: checking for $ac_word" >&5
1786 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1787 if test "${ac_cv_prog_AWK+set}" = set; then
1788 echo $ECHO_N "(cached) $ECHO_C" >&6
1790 if test -n "$AWK"; then
1791 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1793 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1797 test -z "$as_dir" && as_dir
=.
1798 for ac_exec_ext
in '' $ac_executable_extensions; do
1799 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1800 ac_cv_prog_AWK
="$ac_prog"
1801 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1810 if test -n "$AWK"; then
1811 echo "$as_me:$LINENO: result: $AWK" >&5
1812 echo "${ECHO_T}$AWK" >&6
1814 echo "$as_me:$LINENO: result: no" >&5
1815 echo "${ECHO_T}no" >&6
1818 test -n "$AWK" && break
1821 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1822 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1823 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1824 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1825 echo $ECHO_N "(cached) $ECHO_C" >&6
1827 cat >conftest.
make <<\_ACEOF
1829 @
echo 'ac_maketemp="$(MAKE)"'
1831 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1832 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1833 if test -n "$ac_maketemp"; then
1834 eval ac_cv_prog_make_
${ac_make}_set
=yes
1836 eval ac_cv_prog_make_
${ac_make}_set
=no
1840 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1841 echo "$as_me:$LINENO: result: yes" >&5
1842 echo "${ECHO_T}yes" >&6
1845 echo "$as_me:$LINENO: result: no" >&5
1846 echo "${ECHO_T}no" >&6
1847 SET_MAKE
="MAKE=${MAKE-make}"
1850 rm -rf .tst
2>/dev
/null
1851 mkdir .tst
2>/dev
/null
1852 if test -d .tst
; then
1857 rmdir .tst
2>/dev
/null
1859 # test to see if srcdir already configured
1860 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1861 test -f $srcdir/config.status
; then
1862 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1863 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1864 { (exit 1); exit 1; }; }
1867 # test whether we have cygpath
1868 if test -z "$CYGPATH_W"; then
1869 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1870 CYGPATH_W
='cygpath -w'
1877 # Define the identity of the package.
1878 PACKAGE
='libmudflap'
1882 cat >>confdefs.h
<<_ACEOF
1883 #define PACKAGE "$PACKAGE"
1887 cat >>confdefs.h
<<_ACEOF
1888 #define VERSION "$VERSION"
1891 # Some tools Automake needs.
1893 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1896 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1899 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1902 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1905 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1907 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1909 # Installed binaries are usually stripped using `strip' when the user
1910 # run `make install-strip'. However `strip' might not be the right
1911 # tool to use in cross-compilation environments, therefore Automake
1912 # will honor the `STRIP' environment variable to overrule this program.
1913 if test "$cross_compiling" != no
; then
1914 if test -n "$ac_tool_prefix"; then
1915 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1916 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1917 echo "$as_me:$LINENO: checking for $ac_word" >&5
1918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1919 if test "${ac_cv_prog_STRIP+set}" = set; then
1920 echo $ECHO_N "(cached) $ECHO_C" >&6
1922 if test -n "$STRIP"; then
1923 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1925 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1929 test -z "$as_dir" && as_dir
=.
1930 for ac_exec_ext
in '' $ac_executable_extensions; do
1931 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1932 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1933 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1941 STRIP
=$ac_cv_prog_STRIP
1942 if test -n "$STRIP"; then
1943 echo "$as_me:$LINENO: result: $STRIP" >&5
1944 echo "${ECHO_T}$STRIP" >&6
1946 echo "$as_me:$LINENO: result: no" >&5
1947 echo "${ECHO_T}no" >&6
1951 if test -z "$ac_cv_prog_STRIP"; then
1953 # Extract the first word of "strip", so it can be a program name with args.
1954 set dummy strip
; ac_word
=$2
1955 echo "$as_me:$LINENO: checking for $ac_word" >&5
1956 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1957 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1958 echo $ECHO_N "(cached) $ECHO_C" >&6
1960 if test -n "$ac_ct_STRIP"; then
1961 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1963 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1967 test -z "$as_dir" && as_dir
=.
1968 for ac_exec_ext
in '' $ac_executable_extensions; do
1969 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1970 ac_cv_prog_ac_ct_STRIP
="strip"
1971 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1977 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1980 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1981 if test -n "$ac_ct_STRIP"; then
1982 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1983 echo "${ECHO_T}$ac_ct_STRIP" >&6
1985 echo "$as_me:$LINENO: result: no" >&5
1986 echo "${ECHO_T}no" >&6
1991 STRIP
="$ac_cv_prog_STRIP"
1995 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1997 # We need awk for the "check" target. The system "awk" is bad on
1999 # Always define AMTAR for backward compatibility.
2001 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2003 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2010 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
2011 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
2012 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
2013 if test "${enable_version_specific_runtime_libs+set}" = set; then
2014 enableval
="$enable_version_specific_runtime_libs"
2015 case "$enableval" in
2016 yes) version_specific_libs
=yes ;;
2017 no
) version_specific_libs
=no
;;
2018 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
2019 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
2020 { (exit 1); exit 1; }; };;
2023 version_specific_libs
=no
2025 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
2026 echo "${ECHO_T}$version_specific_libs" >&6
2028 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2029 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
2030 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
2031 if test "${enable_maintainer_mode+set}" = set; then
2032 enableval
="$enable_maintainer_mode"
2033 USE_MAINTAINER_MODE
=$enableval
2035 USE_MAINTAINER_MODE
=no
2037 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2038 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
2041 if test $USE_MAINTAINER_MODE = yes; then
2042 MAINTAINER_MODE_TRUE
=
2043 MAINTAINER_MODE_FALSE
='#'
2045 MAINTAINER_MODE_TRUE
='#'
2046 MAINTAINER_MODE_FALSE
=
2049 MAINT
=$MAINTAINER_MODE_TRUE
2054 # Default to --enable-multilib
2055 # Check whether --enable-multilib or --disable-multilib was given.
2056 if test "${enable_multilib+set}" = set; then
2057 enableval
="$enable_multilib"
2058 case "$enableval" in
2059 yes) multilib
=yes ;;
2061 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
2062 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
2063 { (exit 1); exit 1; }; } ;;
2069 # We may get other options which we leave undocumented:
2070 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2071 # See config-ml.in if you want the gory details.
2073 if test "$srcdir" = "."; then
2074 if test "$with_target_subdir" != "."; then
2075 multi_basedir
="$srcdir/$with_multisrctop../.."
2077 multi_basedir
="$srcdir/$with_multisrctop.."
2080 multi_basedir
="$srcdir/.."
2084 # Even if the default multilib is not a cross compilation,
2085 # it may be that some of the other multilibs are.
2086 if test $cross_compiling = no
&& test $multilib = yes \
2087 && test "x${with_multisubdir}" != x
; then
2088 cross_compiling
=maybe
2091 ac_config_commands
="$ac_config_commands default-1"
2094 target_alias
=${target_alias-$host_alias}
2097 ac_config_headers
="$ac_config_headers config.h"
2101 ac_cpp
='$CPP $CPPFLAGS'
2102 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2103 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2104 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2106 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
2107 # We must force CC to /not/ be precious variables; otherwise
2108 # the wrong, non-multilib-adjusted value will be used in multilibs.
2109 # As a side effect, we have to subst CFLAGS ourselves.
2114 ac_cpp
='$CPP $CPPFLAGS'
2115 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2116 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2117 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2118 if test -n "$ac_tool_prefix"; then
2119 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2120 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2121 echo "$as_me:$LINENO: checking for $ac_word" >&5
2122 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2123 if test "${ac_cv_prog_CC+set}" = set; then
2124 echo $ECHO_N "(cached) $ECHO_C" >&6
2126 if test -n "$CC"; then
2127 ac_cv_prog_CC
="$CC" # Let the user override the test.
2129 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2133 test -z "$as_dir" && as_dir
=.
2134 for ac_exec_ext
in '' $ac_executable_extensions; do
2135 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2136 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2137 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2146 if test -n "$CC"; then
2147 echo "$as_me:$LINENO: result: $CC" >&5
2148 echo "${ECHO_T}$CC" >&6
2150 echo "$as_me:$LINENO: result: no" >&5
2151 echo "${ECHO_T}no" >&6
2155 if test -z "$ac_cv_prog_CC"; then
2157 # Extract the first word of "gcc", so it can be a program name with args.
2158 set dummy gcc
; ac_word
=$2
2159 echo "$as_me:$LINENO: checking for $ac_word" >&5
2160 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2161 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2162 echo $ECHO_N "(cached) $ECHO_C" >&6
2164 if test -n "$ac_ct_CC"; then
2165 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2167 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2171 test -z "$as_dir" && as_dir
=.
2172 for ac_exec_ext
in '' $ac_executable_extensions; do
2173 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2174 ac_cv_prog_ac_ct_CC
="gcc"
2175 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2183 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2184 if test -n "$ac_ct_CC"; then
2185 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2186 echo "${ECHO_T}$ac_ct_CC" >&6
2188 echo "$as_me:$LINENO: result: no" >&5
2189 echo "${ECHO_T}no" >&6
2197 if test -z "$CC"; then
2198 if test -n "$ac_tool_prefix"; then
2199 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2200 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2201 echo "$as_me:$LINENO: checking for $ac_word" >&5
2202 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2203 if test "${ac_cv_prog_CC+set}" = set; then
2204 echo $ECHO_N "(cached) $ECHO_C" >&6
2206 if test -n "$CC"; then
2207 ac_cv_prog_CC
="$CC" # Let the user override the test.
2209 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2213 test -z "$as_dir" && as_dir
=.
2214 for ac_exec_ext
in '' $ac_executable_extensions; do
2215 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2216 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2217 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2226 if test -n "$CC"; then
2227 echo "$as_me:$LINENO: result: $CC" >&5
2228 echo "${ECHO_T}$CC" >&6
2230 echo "$as_me:$LINENO: result: no" >&5
2231 echo "${ECHO_T}no" >&6
2235 if test -z "$ac_cv_prog_CC"; then
2237 # Extract the first word of "cc", so it can be a program name with args.
2238 set dummy cc
; ac_word
=$2
2239 echo "$as_me:$LINENO: checking for $ac_word" >&5
2240 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2241 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2242 echo $ECHO_N "(cached) $ECHO_C" >&6
2244 if test -n "$ac_ct_CC"; then
2245 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2247 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2251 test -z "$as_dir" && as_dir
=.
2252 for ac_exec_ext
in '' $ac_executable_extensions; do
2253 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2254 ac_cv_prog_ac_ct_CC
="cc"
2255 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2263 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2264 if test -n "$ac_ct_CC"; then
2265 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2266 echo "${ECHO_T}$ac_ct_CC" >&6
2268 echo "$as_me:$LINENO: result: no" >&5
2269 echo "${ECHO_T}no" >&6
2278 if test -z "$CC"; then
2279 # Extract the first word of "cc", so it can be a program name with args.
2280 set dummy cc
; ac_word
=$2
2281 echo "$as_me:$LINENO: checking for $ac_word" >&5
2282 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2283 if test "${ac_cv_prog_CC+set}" = set; then
2284 echo $ECHO_N "(cached) $ECHO_C" >&6
2286 if test -n "$CC"; then
2287 ac_cv_prog_CC
="$CC" # Let the user override the test.
2290 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2294 test -z "$as_dir" && as_dir
=.
2295 for ac_exec_ext
in '' $ac_executable_extensions; do
2296 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2297 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2298 ac_prog_rejected
=yes
2302 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2308 if test $ac_prog_rejected = yes; then
2309 # We found a bogon in the path, so make sure we never use it.
2310 set dummy
$ac_cv_prog_CC
2312 if test $# != 0; then
2313 # We chose a different compiler from the bogus one.
2314 # However, it has the same basename, so the bogon will be chosen
2315 # first if we set CC to just the basename; use the full file name.
2317 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2323 if test -n "$CC"; then
2324 echo "$as_me:$LINENO: result: $CC" >&5
2325 echo "${ECHO_T}$CC" >&6
2327 echo "$as_me:$LINENO: result: no" >&5
2328 echo "${ECHO_T}no" >&6
2332 if test -z "$CC"; then
2333 if test -n "$ac_tool_prefix"; then
2336 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2337 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2338 echo "$as_me:$LINENO: checking for $ac_word" >&5
2339 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2340 if test "${ac_cv_prog_CC+set}" = set; then
2341 echo $ECHO_N "(cached) $ECHO_C" >&6
2343 if test -n "$CC"; then
2344 ac_cv_prog_CC
="$CC" # Let the user override the test.
2346 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2350 test -z "$as_dir" && as_dir
=.
2351 for ac_exec_ext
in '' $ac_executable_extensions; do
2352 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2353 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2354 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2363 if test -n "$CC"; then
2364 echo "$as_me:$LINENO: result: $CC" >&5
2365 echo "${ECHO_T}$CC" >&6
2367 echo "$as_me:$LINENO: result: no" >&5
2368 echo "${ECHO_T}no" >&6
2371 test -n "$CC" && break
2374 if test -z "$CC"; then
2378 # Extract the first word of "$ac_prog", so it can be a program name with args.
2379 set dummy
$ac_prog; ac_word
=$2
2380 echo "$as_me:$LINENO: checking for $ac_word" >&5
2381 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2382 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2383 echo $ECHO_N "(cached) $ECHO_C" >&6
2385 if test -n "$ac_ct_CC"; then
2386 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2388 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2392 test -z "$as_dir" && as_dir
=.
2393 for ac_exec_ext
in '' $ac_executable_extensions; do
2394 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2395 ac_cv_prog_ac_ct_CC
="$ac_prog"
2396 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2404 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2405 if test -n "$ac_ct_CC"; then
2406 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2407 echo "${ECHO_T}$ac_ct_CC" >&6
2409 echo "$as_me:$LINENO: result: no" >&5
2410 echo "${ECHO_T}no" >&6
2413 test -n "$ac_ct_CC" && break
2422 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2423 See \`config.log' for more details." >&5
2424 echo "$as_me: error: no acceptable C compiler found in \$PATH
2425 See \`config.log' for more details." >&2;}
2426 { (exit 1); exit 1; }; }
2428 # Provide some information about the compiler.
2429 echo "$as_me:$LINENO:" \
2430 "checking for C compiler version" >&5
2431 ac_compiler
=`set X $ac_compile; echo $2`
2432 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2433 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2436 (exit $ac_status); }
2437 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2438 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2441 (exit $ac_status); }
2442 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2443 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2446 (exit $ac_status); }
2448 cat >conftest.
$ac_ext <<_ACEOF
2451 cat confdefs.h
>>conftest.
$ac_ext
2452 cat >>conftest.
$ac_ext <<_ACEOF
2453 /* end confdefs.h. */
2463 ac_clean_files_save
=$ac_clean_files
2464 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2465 # Try to create an executable without -o first, disregard a.out.
2466 # It will help us diagnose broken compilers, and finding out an intuition
2468 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2469 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2470 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2471 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2472 (eval $ac_link_default) 2>&5
2474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2475 (exit $ac_status); }; then
2476 # Find the output, starting from the most likely. This scheme is
2477 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2480 # Be careful to initialize this variable, since it used to be cached.
2481 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2483 # b.out is created by i960 compilers.
2484 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2486 test -f "$ac_file" ||
continue
2488 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2491 # This is the source file.
2494 # We found the default executable, but exeext='' is most
2498 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2499 # FIXME: I believe we export ac_cv_exeext for Libtool,
2500 # but it would be cool to find out if it's true. Does anybody
2501 # maintain Libtool? --akim.
2509 echo "$as_me: failed program was:" >&5
2510 sed 's/^/| /' conftest.
$ac_ext >&5
2512 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2513 See \`config.log' for more details." >&5
2514 echo "$as_me: error: C compiler cannot create executables
2515 See \`config.log' for more details." >&2;}
2516 { (exit 77); exit 77; }; }
2519 ac_exeext
=$ac_cv_exeext
2520 echo "$as_me:$LINENO: result: $ac_file" >&5
2521 echo "${ECHO_T}$ac_file" >&6
2523 # Check the compiler produces executables we can run. If not, either
2524 # the compiler is broken, or we cross compile.
2525 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2526 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2527 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2528 # If not cross compiling, check that we can run a simple program.
2529 if test "$cross_compiling" != yes; then
2530 if { ac_try
='./$ac_file'
2531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2535 (exit $ac_status); }; }; then
2538 if test "$cross_compiling" = maybe
; then
2541 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2542 If you meant to cross compile, use \`--host'.
2543 See \`config.log' for more details." >&5
2544 echo "$as_me: error: cannot run C compiled programs.
2545 If you meant to cross compile, use \`--host'.
2546 See \`config.log' for more details." >&2;}
2547 { (exit 1); exit 1; }; }
2551 echo "$as_me:$LINENO: result: yes" >&5
2552 echo "${ECHO_T}yes" >&6
2554 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2555 ac_clean_files
=$ac_clean_files_save
2556 # Check the compiler produces executables we can run. If not, either
2557 # the compiler is broken, or we cross compile.
2558 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2559 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2560 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2561 echo "${ECHO_T}$cross_compiling" >&6
2563 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2564 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2566 (eval $ac_link) 2>&5
2568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2569 (exit $ac_status); }; then
2570 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2571 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2572 # work properly (i.e., refer to `conftest.exe'), while it won't with
2574 for ac_file
in conftest.exe conftest conftest.
*; do
2575 test -f "$ac_file" ||
continue
2577 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2578 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2585 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2586 See \`config.log' for more details." >&5
2587 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2588 See \`config.log' for more details." >&2;}
2589 { (exit 1); exit 1; }; }
2592 rm -f conftest
$ac_cv_exeext
2593 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2594 echo "${ECHO_T}$ac_cv_exeext" >&6
2596 rm -f conftest.
$ac_ext
2597 EXEEXT
=$ac_cv_exeext
2599 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2600 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2601 if test "${ac_cv_objext+set}" = set; then
2602 echo $ECHO_N "(cached) $ECHO_C" >&6
2604 cat >conftest.
$ac_ext <<_ACEOF
2607 cat confdefs.h
>>conftest.
$ac_ext
2608 cat >>conftest.
$ac_ext <<_ACEOF
2609 /* end confdefs.h. */
2619 rm -f conftest.o conftest.obj
2620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2621 (eval $ac_compile) 2>&5
2623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2624 (exit $ac_status); }; then
2625 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2627 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2628 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2633 echo "$as_me: failed program was:" >&5
2634 sed 's/^/| /' conftest.
$ac_ext >&5
2636 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2637 See \`config.log' for more details." >&5
2638 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2639 See \`config.log' for more details." >&2;}
2640 { (exit 1); exit 1; }; }
2643 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2645 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2646 echo "${ECHO_T}$ac_cv_objext" >&6
2647 OBJEXT
=$ac_cv_objext
2649 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2650 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2651 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2652 echo $ECHO_N "(cached) $ECHO_C" >&6
2654 cat >conftest.
$ac_ext <<_ACEOF
2657 cat confdefs.h
>>conftest.
$ac_ext
2658 cat >>conftest.
$ac_ext <<_ACEOF
2659 /* end confdefs.h. */
2672 rm -f conftest.
$ac_objext
2673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2674 (eval $ac_compile) 2>conftest.er1
2676 grep -v '^ *+' conftest.er1
>conftest.err
2678 cat conftest.err
>&5
2679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2680 (exit $ac_status); } &&
2681 { ac_try
='test -z "$ac_c_werror_flag"
2682 || test ! -s conftest.err'
2683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2687 (exit $ac_status); }; } &&
2688 { ac_try
='test -s conftest.$ac_objext'
2689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2693 (exit $ac_status); }; }; then
2696 echo "$as_me: failed program was:" >&5
2697 sed 's/^/| /' conftest.
$ac_ext >&5
2701 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2702 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2705 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2706 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2707 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2708 ac_test_CFLAGS
=${CFLAGS+set}
2709 ac_save_CFLAGS
=$CFLAGS
2711 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2712 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2713 if test "${ac_cv_prog_cc_g+set}" = set; then
2714 echo $ECHO_N "(cached) $ECHO_C" >&6
2716 cat >conftest.
$ac_ext <<_ACEOF
2719 cat confdefs.h
>>conftest.
$ac_ext
2720 cat >>conftest.
$ac_ext <<_ACEOF
2721 /* end confdefs.h. */
2731 rm -f conftest.
$ac_objext
2732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2733 (eval $ac_compile) 2>conftest.er1
2735 grep -v '^ *+' conftest.er1
>conftest.err
2737 cat conftest.err
>&5
2738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2739 (exit $ac_status); } &&
2740 { ac_try
='test -z "$ac_c_werror_flag"
2741 || test ! -s conftest.err'
2742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2746 (exit $ac_status); }; } &&
2747 { ac_try
='test -s conftest.$ac_objext'
2748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2752 (exit $ac_status); }; }; then
2755 echo "$as_me: failed program was:" >&5
2756 sed 's/^/| /' conftest.
$ac_ext >&5
2760 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2762 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2763 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2764 if test "$ac_test_CFLAGS" = set; then
2765 CFLAGS
=$ac_save_CFLAGS
2766 elif test $ac_cv_prog_cc_g = yes; then
2767 if test "$GCC" = yes; then
2773 if test "$GCC" = yes; then
2779 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2780 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2781 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2782 echo $ECHO_N "(cached) $ECHO_C" >&6
2784 ac_cv_prog_cc_stdc
=no
2786 cat >conftest.
$ac_ext <<_ACEOF
2789 cat confdefs.h
>>conftest.
$ac_ext
2790 cat >>conftest.
$ac_ext <<_ACEOF
2791 /* end confdefs.h. */
2794 #include <sys/types.h>
2795 #include <sys/stat.h>
2796 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2797 struct buf { int x; };
2798 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2799 static char *e (p, i)
2805 static char *f (char * (*g) (char **, int), char **p, ...)
2810 s = g (p, va_arg (v,int));
2815 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2816 function prototypes and stuff, but not '\xHH' hex character constants.
2817 These don't provoke an error unfortunately, instead are silently treated
2818 as 'x'. The following induces an error, until -std1 is added to get
2819 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2820 array size at least. It's necessary to write '\x00'==0 to get something
2821 that's true only with -std1. */
2822 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2824 int test (int i, double x);
2825 struct s1 {int (*f) (int a);};
2826 struct s2 {int (*f) (double a);};
2827 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2833 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2838 # Don't try gcc -ansi; that turns off useful extensions and
2839 # breaks some systems' header files.
2840 # AIX -qlanglvl=ansi
2841 # Ultrix and OSF/1 -std1
2842 # HP-UX 10.20 and later -Ae
2843 # HP-UX older versions -Aa -D_HPUX_SOURCE
2844 # SVR4 -Xc -D__EXTENSIONS__
2845 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2847 CC
="$ac_save_CC $ac_arg"
2848 rm -f conftest.
$ac_objext
2849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2850 (eval $ac_compile) 2>conftest.er1
2852 grep -v '^ *+' conftest.er1
>conftest.err
2854 cat conftest.err
>&5
2855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2856 (exit $ac_status); } &&
2857 { ac_try
='test -z "$ac_c_werror_flag"
2858 || test ! -s conftest.err'
2859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2863 (exit $ac_status); }; } &&
2864 { ac_try
='test -s conftest.$ac_objext'
2865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2869 (exit $ac_status); }; }; then
2870 ac_cv_prog_cc_stdc
=$ac_arg
2873 echo "$as_me: failed program was:" >&5
2874 sed 's/^/| /' conftest.
$ac_ext >&5
2877 rm -f conftest.err conftest.
$ac_objext
2879 rm -f conftest.
$ac_ext conftest.
$ac_objext
2884 case "x$ac_cv_prog_cc_stdc" in
2886 echo "$as_me:$LINENO: result: none needed" >&5
2887 echo "${ECHO_T}none needed" >&6 ;;
2889 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2890 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2891 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2894 # Some people use a C++ compiler to compile C. Since we use `exit',
2895 # in C++ we need to declare it. In case someone uses the same compiler
2896 # for both compiling C and C++ we need to have the C++ compiler decide
2897 # the declaration of exit, since it's the most demanding environment.
2898 cat >conftest.
$ac_ext <<_ACEOF
2903 rm -f conftest.
$ac_objext
2904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2905 (eval $ac_compile) 2>conftest.er1
2907 grep -v '^ *+' conftest.er1
>conftest.err
2909 cat conftest.err
>&5
2910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2911 (exit $ac_status); } &&
2912 { ac_try
='test -z "$ac_c_werror_flag"
2913 || test ! -s conftest.err'
2914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2918 (exit $ac_status); }; } &&
2919 { ac_try
='test -s conftest.$ac_objext'
2920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2924 (exit $ac_status); }; }; then
2925 for ac_declaration
in \
2927 'extern "C" void std::exit (int) throw (); using std::exit;' \
2928 'extern "C" void std::exit (int); using std::exit;' \
2929 'extern "C" void exit (int) throw ();' \
2930 'extern "C" void exit (int);' \
2933 cat >conftest.
$ac_ext <<_ACEOF
2936 cat confdefs.h
>>conftest.
$ac_ext
2937 cat >>conftest.
$ac_ext <<_ACEOF
2938 /* end confdefs.h. */
2949 rm -f conftest.
$ac_objext
2950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2951 (eval $ac_compile) 2>conftest.er1
2953 grep -v '^ *+' conftest.er1
>conftest.err
2955 cat conftest.err
>&5
2956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2957 (exit $ac_status); } &&
2958 { ac_try
='test -z "$ac_c_werror_flag"
2959 || test ! -s conftest.err'
2960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2964 (exit $ac_status); }; } &&
2965 { ac_try
='test -s conftest.$ac_objext'
2966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2970 (exit $ac_status); }; }; then
2973 echo "$as_me: failed program was:" >&5
2974 sed 's/^/| /' conftest.
$ac_ext >&5
2978 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2979 cat >conftest.
$ac_ext <<_ACEOF
2982 cat confdefs.h
>>conftest.
$ac_ext
2983 cat >>conftest.
$ac_ext <<_ACEOF
2984 /* end confdefs.h. */
2994 rm -f conftest.
$ac_objext
2995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2996 (eval $ac_compile) 2>conftest.er1
2998 grep -v '^ *+' conftest.er1
>conftest.err
3000 cat conftest.err
>&5
3001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3002 (exit $ac_status); } &&
3003 { ac_try
='test -z "$ac_c_werror_flag"
3004 || test ! -s conftest.err'
3005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3009 (exit $ac_status); }; } &&
3010 { ac_try
='test -s conftest.$ac_objext'
3011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3015 (exit $ac_status); }; }; then
3018 echo "$as_me: failed program was:" >&5
3019 sed 's/^/| /' conftest.
$ac_ext >&5
3022 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3025 if test -n "$ac_declaration"; then
3026 echo '#ifdef __cplusplus' >>confdefs.h
3027 echo $ac_declaration >>confdefs.h
3028 echo '#endif' >>confdefs.h
3032 echo "$as_me: failed program was:" >&5
3033 sed 's/^/| /' conftest.
$ac_ext >&5
3036 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3038 ac_cpp
='$CPP $CPPFLAGS'
3039 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3040 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3041 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3042 DEPDIR
="${am__leading_dot}deps"
3044 ac_config_commands
="$ac_config_commands depfiles"
3047 am_make
=${MAKE-make}
3048 cat > confinc
<< 'END'
3053 # If we don't find an include directive, just comment out the code.
3054 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3055 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3059 # First try GNU make style include.
3060 echo "include confinc" > confmf
3061 # We grep out `Entering directory' and `Leaving directory'
3062 # messages which can occur if `w' ends up in MAKEFLAGS.
3063 # In particular we don't look at `^make:' because GNU make might
3064 # be invoked under some other name (usually "gmake"), in which
3065 # case it prints its new name instead of `make'.
3066 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3071 # Now try BSD make style include.
3072 if test "$am__include" = "#"; then
3073 echo '.include "confinc"' > confmf
3074 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3075 am__include
=.include
3082 echo "$as_me:$LINENO: result: $_am_result" >&5
3083 echo "${ECHO_T}$_am_result" >&6
3084 rm -f confinc confmf
3086 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3087 if test "${enable_dependency_tracking+set}" = set; then
3088 enableval
="$enable_dependency_tracking"
3091 if test "x$enable_dependency_tracking" != xno
; then
3092 am_depcomp
="$ac_aux_dir/depcomp"
3097 if test "x$enable_dependency_tracking" != xno; then
3108 depcc
="$CC" am_compiler_list
=
3110 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3111 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3112 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3113 echo $ECHO_N "(cached) $ECHO_C" >&6
3115 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3116 # We make a subdir and do the tests there. Otherwise we can end up
3117 # making bogus files that we don't know about and never remove. For
3118 # instance it was reported that on HP-UX the gcc test will end up
3119 # making a dummy file named `D' -- because `-MD' means `put the output
3122 # Copy depcomp to subdir because otherwise we won't find it if we're
3123 # using a relative directory.
3124 cp "$am_depcomp" conftest.dir
3126 # We will build objects and dependencies in a subdirectory because
3127 # it helps to detect inapplicable dependency modes. For instance
3128 # both Tru64's cc and ICC support -MD to output dependencies as a
3129 # side effect of compilation, but ICC will put the dependencies in
3130 # the current directory while Tru64 will put them in the object
3134 am_cv_CC_dependencies_compiler_type
=none
3135 if test "$am_compiler_list" = ""; then
3136 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3138 for depmode
in $am_compiler_list; do
3139 # Setup a source with many dependencies, because some compilers
3140 # like to wrap large dependency lists on column 80 (with \), and
3141 # we should not choose a depcomp mode which is confused by this.
3143 # We need to recreate these files for each test, as the compiler may
3144 # overwrite some of them when testing with obscure command lines.
3145 # This happens at least with the AIX C compiler.
3147 for i
in 1 2 3 4 5 6; do
3148 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3149 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3150 # Solaris 8's {/usr,}/bin/sh.
3151 touch sub
/conftst
$i.h
3153 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3157 # after this tag, mechanisms are not by side-effect, so they'll
3158 # only be used when explicitly requested
3159 if test "x$enable_dependency_tracking" = xyes
; then
3167 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3168 # mode. It turns out that the SunPro C++ compiler does not properly
3169 # handle `-M -o', and we need to detect this.
3170 if depmode
=$depmode \
3171 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3172 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3173 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3174 >/dev
/null
2>conftest.err
&&
3175 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3176 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3177 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3178 # icc doesn't choke on unknown options, it will just issue warnings
3179 # or remarks (even with -Werror). So we grep stderr for any message
3180 # that says an option was ignored or not supported.
3181 # When given -MP, icc 7.0 and 7.1 complain thusly:
3182 # icc: Command line warning: ignoring option '-M'; no argument required
3183 # The diagnosis changed in icc 8.0:
3184 # icc: Command line remark: option '-MP' not supported
3185 if (grep 'ignoring option' conftest.err ||
3186 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3187 am_cv_CC_dependencies_compiler_type
=$depmode
3196 am_cv_CC_dependencies_compiler_type
=none
3200 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3201 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3202 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3207 test "x$enable_dependency_tracking" != xno \
3208 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3210 am__fastdepCC_FALSE
='#'
3212 am__fastdepCC_TRUE
='#'
3213 am__fastdepCC_FALSE
=
3221 if test "x$GCC" != "xyes"; then
3222 { { echo "$as_me:$LINENO: error: libmudflap must be built with GCC" >&5
3223 echo "$as_me: error: libmudflap must be built with GCC" >&2;}
3224 { (exit 1); exit 1; }; }
3227 ac_cpp
='$CPP $CPPFLAGS'
3228 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3229 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3230 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3231 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3232 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3233 # On Suns, sometimes $CPP names a directory.
3234 if test -n "$CPP" && test -d "$CPP"; then
3237 if test -z "$CPP"; then
3238 if test "${ac_cv_prog_CPP+set}" = set; then
3239 echo $ECHO_N "(cached) $ECHO_C" >&6
3241 # Double quotes because CPP needs to be expanded
3242 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3245 for ac_c_preproc_warn_flag
in '' yes
3247 # Use a header file that comes with gcc, so configuring glibc
3248 # with a fresh cross-compiler works.
3249 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3250 # <limits.h> exists even on freestanding compilers.
3251 # On the NeXT, cc -E runs the code through the compiler's parser,
3252 # not just through cpp. "Syntax error" is here to catch this case.
3253 cat >conftest.
$ac_ext <<_ACEOF
3256 cat confdefs.h
>>conftest.
$ac_ext
3257 cat >>conftest.
$ac_ext <<_ACEOF
3258 /* end confdefs.h. */
3260 # include <limits.h>
3262 # include <assert.h>
3266 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3267 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3269 grep -v '^ *+' conftest.er1
>conftest.err
3271 cat conftest.err
>&5
3272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3273 (exit $ac_status); } >/dev
/null
; then
3274 if test -s conftest.err
; then
3275 ac_cpp_err
=$ac_c_preproc_warn_flag
3276 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3283 if test -z "$ac_cpp_err"; then
3286 echo "$as_me: failed program was:" >&5
3287 sed 's/^/| /' conftest.
$ac_ext >&5
3289 # Broken: fails on valid input.
3292 rm -f conftest.err conftest.
$ac_ext
3294 # OK, works on sane cases. Now check whether non-existent headers
3295 # can be detected and how.
3296 cat >conftest.
$ac_ext <<_ACEOF
3299 cat confdefs.h
>>conftest.
$ac_ext
3300 cat >>conftest.
$ac_ext <<_ACEOF
3301 /* end confdefs.h. */
3302 #include <ac_nonexistent.h>
3304 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3305 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3307 grep -v '^ *+' conftest.er1
>conftest.err
3309 cat conftest.err
>&5
3310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3311 (exit $ac_status); } >/dev
/null
; then
3312 if test -s conftest.err
; then
3313 ac_cpp_err
=$ac_c_preproc_warn_flag
3314 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3321 if test -z "$ac_cpp_err"; then
3322 # Broken: success on invalid input.
3325 echo "$as_me: failed program was:" >&5
3326 sed 's/^/| /' conftest.
$ac_ext >&5
3328 # Passes both tests.
3332 rm -f conftest.err conftest.
$ac_ext
3335 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3336 rm -f conftest.err conftest.
$ac_ext
3337 if $ac_preproc_ok; then
3349 echo "$as_me:$LINENO: result: $CPP" >&5
3350 echo "${ECHO_T}$CPP" >&6
3352 for ac_c_preproc_warn_flag
in '' yes
3354 # Use a header file that comes with gcc, so configuring glibc
3355 # with a fresh cross-compiler works.
3356 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3357 # <limits.h> exists even on freestanding compilers.
3358 # On the NeXT, cc -E runs the code through the compiler's parser,
3359 # not just through cpp. "Syntax error" is here to catch this case.
3360 cat >conftest.
$ac_ext <<_ACEOF
3363 cat confdefs.h
>>conftest.
$ac_ext
3364 cat >>conftest.
$ac_ext <<_ACEOF
3365 /* end confdefs.h. */
3367 # include <limits.h>
3369 # include <assert.h>
3373 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3374 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3376 grep -v '^ *+' conftest.er1
>conftest.err
3378 cat conftest.err
>&5
3379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3380 (exit $ac_status); } >/dev
/null
; then
3381 if test -s conftest.err
; then
3382 ac_cpp_err
=$ac_c_preproc_warn_flag
3383 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3390 if test -z "$ac_cpp_err"; then
3393 echo "$as_me: failed program was:" >&5
3394 sed 's/^/| /' conftest.
$ac_ext >&5
3396 # Broken: fails on valid input.
3399 rm -f conftest.err conftest.
$ac_ext
3401 # OK, works on sane cases. Now check whether non-existent headers
3402 # can be detected and how.
3403 cat >conftest.
$ac_ext <<_ACEOF
3406 cat confdefs.h
>>conftest.
$ac_ext
3407 cat >>conftest.
$ac_ext <<_ACEOF
3408 /* end confdefs.h. */
3409 #include <ac_nonexistent.h>
3411 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3412 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3414 grep -v '^ *+' conftest.er1
>conftest.err
3416 cat conftest.err
>&5
3417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3418 (exit $ac_status); } >/dev
/null
; then
3419 if test -s conftest.err
; then
3420 ac_cpp_err
=$ac_c_preproc_warn_flag
3421 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3428 if test -z "$ac_cpp_err"; then
3429 # Broken: success on invalid input.
3432 echo "$as_me: failed program was:" >&5
3433 sed 's/^/| /' conftest.
$ac_ext >&5
3435 # Passes both tests.
3439 rm -f conftest.err conftest.
$ac_ext
3442 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3443 rm -f conftest.err conftest.
$ac_ext
3444 if $ac_preproc_ok; then
3447 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3448 See \`config.log' for more details." >&5
3449 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3450 See \`config.log' for more details." >&2;}
3451 { (exit 1); exit 1; }; }
3455 ac_cpp
='$CPP $CPPFLAGS'
3456 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3457 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3458 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3461 # Some hosts don't have dlsym(RTLD_NEXT, "symbol") for use in
3462 # symbol interposition. We disable shared libraries for these.
3463 echo "$as_me:$LINENO: checking whether dlsym(RTLD_NEXT,...) is available" >&5
3464 echo $ECHO_N "checking whether dlsym(RTLD_NEXT,...) is available... $ECHO_C" >&6
3466 cat >conftest.
$ac_ext <<_ACEOF
3469 cat confdefs.h
>>conftest.
$ac_ext
3470 cat >>conftest.
$ac_ext <<_ACEOF
3471 /* end confdefs.h. */
3479 void *foo = dlsym (RTLD_NEXT, "exit");
3484 rm -f conftest.
$ac_objext
3485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3486 (eval $ac_compile) 2>conftest.er1
3488 grep -v '^ *+' conftest.er1
>conftest.err
3490 cat conftest.err
>&5
3491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3492 (exit $ac_status); } &&
3493 { ac_try
='test -z "$ac_c_werror_flag"
3494 || test ! -s conftest.err'
3495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3499 (exit $ac_status); }; } &&
3500 { ac_try
='test -s conftest.$ac_objext'
3501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3505 (exit $ac_status); }; }; then
3506 echo "$as_me:$LINENO: result: yes" >&5
3507 echo "${ECHO_T}yes" >&6
3509 echo "$as_me: failed program was:" >&5
3510 sed 's/^/| /' conftest.
$ac_ext >&5
3512 echo "$as_me:$LINENO: result: no" >&5
3513 echo "${ECHO_T}no" >&6
3516 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3519 echo "$as_me:$LINENO: checking for egrep" >&5
3520 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3521 if test "${ac_cv_prog_egrep+set}" = set; then
3522 echo $ECHO_N "(cached) $ECHO_C" >&6
3524 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3525 then ac_cv_prog_egrep
='grep -E'
3526 else ac_cv_prog_egrep
='egrep'
3529 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3530 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3531 EGREP
=$ac_cv_prog_egrep
3534 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3535 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3536 if test "${ac_cv_header_stdc+set}" = set; then
3537 echo $ECHO_N "(cached) $ECHO_C" >&6
3539 cat >conftest.
$ac_ext <<_ACEOF
3542 cat confdefs.h
>>conftest.
$ac_ext
3543 cat >>conftest.
$ac_ext <<_ACEOF
3544 /* end confdefs.h. */
3558 rm -f conftest.
$ac_objext
3559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3560 (eval $ac_compile) 2>conftest.er1
3562 grep -v '^ *+' conftest.er1
>conftest.err
3564 cat conftest.err
>&5
3565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3566 (exit $ac_status); } &&
3567 { ac_try
='test -z "$ac_c_werror_flag"
3568 || test ! -s conftest.err'
3569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3573 (exit $ac_status); }; } &&
3574 { ac_try
='test -s conftest.$ac_objext'
3575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3579 (exit $ac_status); }; }; then
3580 ac_cv_header_stdc
=yes
3582 echo "$as_me: failed program was:" >&5
3583 sed 's/^/| /' conftest.
$ac_ext >&5
3585 ac_cv_header_stdc
=no
3587 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3589 if test $ac_cv_header_stdc = yes; then
3590 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3591 cat >conftest.
$ac_ext <<_ACEOF
3594 cat confdefs.h
>>conftest.
$ac_ext
3595 cat >>conftest.
$ac_ext <<_ACEOF
3596 /* end confdefs.h. */
3600 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3601 $EGREP "memchr" >/dev
/null
2>&1; then
3604 ac_cv_header_stdc
=no
3610 if test $ac_cv_header_stdc = yes; then
3611 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3612 cat >conftest.
$ac_ext <<_ACEOF
3615 cat confdefs.h
>>conftest.
$ac_ext
3616 cat >>conftest.
$ac_ext <<_ACEOF
3617 /* end confdefs.h. */
3621 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3622 $EGREP "free" >/dev
/null
2>&1; then
3625 ac_cv_header_stdc
=no
3631 if test $ac_cv_header_stdc = yes; then
3632 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3633 if test "$cross_compiling" = yes; then
3636 cat >conftest.
$ac_ext <<_ACEOF
3639 cat confdefs.h
>>conftest.
$ac_ext
3640 cat >>conftest.
$ac_ext <<_ACEOF
3641 /* end confdefs.h. */
3643 #if ((' ' & 0x0FF) == 0x020)
3644 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3645 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3647 # define ISLOWER(c) \
3648 (('a' <= (c) && (c) <= 'i') \
3649 || ('j' <= (c) && (c) <= 'r') \
3650 || ('s' <= (c) && (c) <= 'z'))
3651 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3654 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3659 for (i = 0; i < 256; i++)
3660 if (XOR (islower (i), ISLOWER (i))
3661 || toupper (i) != TOUPPER (i))
3666 rm -f conftest
$ac_exeext
3667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3668 (eval $ac_link) 2>&5
3670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3671 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3676 (exit $ac_status); }; }; then
3679 echo "$as_me: program exited with status $ac_status" >&5
3680 echo "$as_me: failed program was:" >&5
3681 sed 's/^/| /' conftest.
$ac_ext >&5
3684 ac_cv_header_stdc
=no
3686 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3690 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3691 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3692 if test $ac_cv_header_stdc = yes; then
3694 cat >>confdefs.h
<<\_ACEOF
3695 #define STDC_HEADERS 1
3700 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3710 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3711 inttypes.h stdint.h unistd.h
3713 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3714 echo "$as_me:$LINENO: checking for $ac_header" >&5
3715 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3716 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3717 echo $ECHO_N "(cached) $ECHO_C" >&6
3719 cat >conftest.
$ac_ext <<_ACEOF
3722 cat confdefs.h
>>conftest.
$ac_ext
3723 cat >>conftest.
$ac_ext <<_ACEOF
3724 /* end confdefs.h. */
3725 $ac_includes_default
3727 #include <$ac_header>
3729 rm -f conftest.
$ac_objext
3730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3731 (eval $ac_compile) 2>conftest.er1
3733 grep -v '^ *+' conftest.er1
>conftest.err
3735 cat conftest.err
>&5
3736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3737 (exit $ac_status); } &&
3738 { ac_try
='test -z "$ac_c_werror_flag"
3739 || test ! -s conftest.err'
3740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3744 (exit $ac_status); }; } &&
3745 { ac_try
='test -s conftest.$ac_objext'
3746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3750 (exit $ac_status); }; }; then
3751 eval "$as_ac_Header=yes"
3753 echo "$as_me: failed program was:" >&5
3754 sed 's/^/| /' conftest.
$ac_ext >&5
3756 eval "$as_ac_Header=no"
3758 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3760 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3761 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3762 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3763 cat >>confdefs.h
<<_ACEOF
3764 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3791 for ac_header
in stdint.h execinfo.h signal.h dlfcn.h dirent.h
pwd.h grp.h \
3792 netdb.h sys
/ipc.h sys
/sem.h sys
/shm.h sys
/wait.h ctype.h mntent.h \
3793 sys
/socket.h netinet
/in.h arpa
/inet.h dlfcn.h sys
/mman.h
3795 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3796 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3797 echo "$as_me:$LINENO: checking for $ac_header" >&5
3798 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3799 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3800 echo $ECHO_N "(cached) $ECHO_C" >&6
3802 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3803 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3805 # Is the header compilable?
3806 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3807 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3808 cat >conftest.
$ac_ext <<_ACEOF
3811 cat confdefs.h
>>conftest.
$ac_ext
3812 cat >>conftest.
$ac_ext <<_ACEOF
3813 /* end confdefs.h. */
3814 $ac_includes_default
3815 #include <$ac_header>
3817 rm -f conftest.
$ac_objext
3818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3819 (eval $ac_compile) 2>conftest.er1
3821 grep -v '^ *+' conftest.er1
>conftest.err
3823 cat conftest.err
>&5
3824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3825 (exit $ac_status); } &&
3826 { ac_try
='test -z "$ac_c_werror_flag"
3827 || test ! -s conftest.err'
3828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3832 (exit $ac_status); }; } &&
3833 { ac_try
='test -s conftest.$ac_objext'
3834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3838 (exit $ac_status); }; }; then
3839 ac_header_compiler
=yes
3841 echo "$as_me: failed program was:" >&5
3842 sed 's/^/| /' conftest.
$ac_ext >&5
3844 ac_header_compiler
=no
3846 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3847 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3848 echo "${ECHO_T}$ac_header_compiler" >&6
3850 # Is the header present?
3851 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3852 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3853 cat >conftest.
$ac_ext <<_ACEOF
3856 cat confdefs.h
>>conftest.
$ac_ext
3857 cat >>conftest.
$ac_ext <<_ACEOF
3858 /* end confdefs.h. */
3859 #include <$ac_header>
3861 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3862 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3864 grep -v '^ *+' conftest.er1
>conftest.err
3866 cat conftest.err
>&5
3867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3868 (exit $ac_status); } >/dev
/null
; then
3869 if test -s conftest.err
; then
3870 ac_cpp_err
=$ac_c_preproc_warn_flag
3871 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3878 if test -z "$ac_cpp_err"; then
3879 ac_header_preproc
=yes
3881 echo "$as_me: failed program was:" >&5
3882 sed 's/^/| /' conftest.
$ac_ext >&5
3884 ac_header_preproc
=no
3886 rm -f conftest.err conftest.
$ac_ext
3887 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3888 echo "${ECHO_T}$ac_header_preproc" >&6
3890 # So? What about this header?
3891 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3893 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3894 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3895 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3896 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3897 ac_header_preproc
=yes
3900 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3901 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3902 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3903 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3904 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3905 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3906 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3907 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3908 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3909 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3910 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3911 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3914 ## ------------------------------------- ##
3915 ## Report this to the libmudflap lists. ##
3916 ## ------------------------------------- ##
3919 sed "s/^/$as_me: WARNING: /" >&2
3922 echo "$as_me:$LINENO: checking for $ac_header" >&5
3923 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3924 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3925 echo $ECHO_N "(cached) $ECHO_C" >&6
3927 eval "$as_ac_Header=\$ac_header_preproc"
3929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3930 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3933 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3934 cat >>confdefs.h
<<_ACEOF
3935 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3947 for ac_func
in backtrace backtrace_symbols gettimeofday signal
3949 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3950 echo "$as_me:$LINENO: checking for $ac_func" >&5
3951 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3952 if eval "test \"\${$as_ac_var+set}\" = set"; then
3953 echo $ECHO_N "(cached) $ECHO_C" >&6
3955 cat >conftest.
$ac_ext <<_ACEOF
3958 cat confdefs.h
>>conftest.
$ac_ext
3959 cat >>conftest.
$ac_ext <<_ACEOF
3960 /* end confdefs.h. */
3961 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3962 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3963 #define $ac_func innocuous_$ac_func
3965 /* System header to define __stub macros and hopefully few prototypes,
3966 which can conflict with char $ac_func (); below.
3967 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3968 <limits.h> exists even on freestanding compilers. */
3971 # include <limits.h>
3973 # include <assert.h>
3978 /* Override any gcc2 internal prototype to avoid an error. */
3983 /* We use char because int might match the return type of a gcc2
3984 builtin and then its argument prototype would still apply. */
3986 /* The GNU C library defines this for functions which it implements
3987 to always fail with ENOSYS. Some functions are actually named
3988 something starting with __ and the normal name is an alias. */
3989 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3992 char (*f) () = $ac_func;
4001 return f != $ac_func;
4006 rm -f conftest.
$ac_objext conftest
$ac_exeext
4007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4008 (eval $ac_link) 2>conftest.er1
4010 grep -v '^ *+' conftest.er1
>conftest.err
4012 cat conftest.err
>&5
4013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4014 (exit $ac_status); } &&
4015 { ac_try
='test -z "$ac_c_werror_flag"
4016 || test ! -s conftest.err'
4017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4021 (exit $ac_status); }; } &&
4022 { ac_try
='test -s conftest$ac_exeext'
4023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4027 (exit $ac_status); }; }; then
4028 eval "$as_ac_var=yes"
4030 echo "$as_me: failed program was:" >&5
4031 sed 's/^/| /' conftest.
$ac_ext >&5
4033 eval "$as_ac_var=no"
4035 rm -f conftest.err conftest.
$ac_objext \
4036 conftest
$ac_exeext conftest.
$ac_ext
4038 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4039 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4040 if test `eval echo '${'$as_ac_var'}'` = yes; then
4041 cat >>confdefs.h
<<_ACEOF
4042 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4053 for ac_func
in fopen64 fseeko64 ftello64 stat64 freopen64
4055 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4056 echo "$as_me:$LINENO: checking for $ac_func" >&5
4057 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4058 if eval "test \"\${$as_ac_var+set}\" = set"; then
4059 echo $ECHO_N "(cached) $ECHO_C" >&6
4061 cat >conftest.
$ac_ext <<_ACEOF
4064 cat confdefs.h
>>conftest.
$ac_ext
4065 cat >>conftest.
$ac_ext <<_ACEOF
4066 /* end confdefs.h. */
4067 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4068 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4069 #define $ac_func innocuous_$ac_func
4071 /* System header to define __stub macros and hopefully few prototypes,
4072 which can conflict with char $ac_func (); below.
4073 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4074 <limits.h> exists even on freestanding compilers. */
4077 # include <limits.h>
4079 # include <assert.h>
4084 /* Override any gcc2 internal prototype to avoid an error. */
4089 /* We use char because int might match the return type of a gcc2
4090 builtin and then its argument prototype would still apply. */
4092 /* The GNU C library defines this for functions which it implements
4093 to always fail with ENOSYS. Some functions are actually named
4094 something starting with __ and the normal name is an alias. */
4095 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4098 char (*f) () = $ac_func;
4107 return f != $ac_func;
4112 rm -f conftest.
$ac_objext conftest
$ac_exeext
4113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4114 (eval $ac_link) 2>conftest.er1
4116 grep -v '^ *+' conftest.er1
>conftest.err
4118 cat conftest.err
>&5
4119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4120 (exit $ac_status); } &&
4121 { ac_try
='test -z "$ac_c_werror_flag"
4122 || test ! -s conftest.err'
4123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4127 (exit $ac_status); }; } &&
4128 { ac_try
='test -s conftest$ac_exeext'
4129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4133 (exit $ac_status); }; }; then
4134 eval "$as_ac_var=yes"
4136 echo "$as_me: failed program was:" >&5
4137 sed 's/^/| /' conftest.
$ac_ext >&5
4139 eval "$as_ac_var=no"
4141 rm -f conftest.err conftest.
$ac_objext \
4142 conftest
$ac_exeext conftest.
$ac_ext
4144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4145 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4146 if test `eval echo '${'$as_ac_var'}'` = yes; then
4147 cat >>confdefs.h
<<_ACEOF
4148 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4158 for ac_func
in setbuf setbuffer setlinebuf setvbuf
4160 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4161 echo "$as_me:$LINENO: checking for $ac_func" >&5
4162 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4163 if eval "test \"\${$as_ac_var+set}\" = set"; then
4164 echo $ECHO_N "(cached) $ECHO_C" >&6
4166 cat >conftest.
$ac_ext <<_ACEOF
4169 cat confdefs.h
>>conftest.
$ac_ext
4170 cat >>conftest.
$ac_ext <<_ACEOF
4171 /* end confdefs.h. */
4172 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4173 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4174 #define $ac_func innocuous_$ac_func
4176 /* System header to define __stub macros and hopefully few prototypes,
4177 which can conflict with char $ac_func (); below.
4178 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4179 <limits.h> exists even on freestanding compilers. */
4182 # include <limits.h>
4184 # include <assert.h>
4189 /* Override any gcc2 internal prototype to avoid an error. */
4194 /* We use char because int might match the return type of a gcc2
4195 builtin and then its argument prototype would still apply. */
4197 /* The GNU C library defines this for functions which it implements
4198 to always fail with ENOSYS. Some functions are actually named
4199 something starting with __ and the normal name is an alias. */
4200 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4203 char (*f) () = $ac_func;
4212 return f != $ac_func;
4217 rm -f conftest.
$ac_objext conftest
$ac_exeext
4218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4219 (eval $ac_link) 2>conftest.er1
4221 grep -v '^ *+' conftest.er1
>conftest.err
4223 cat conftest.err
>&5
4224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4225 (exit $ac_status); } &&
4226 { ac_try
='test -z "$ac_c_werror_flag"
4227 || test ! -s conftest.err'
4228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4232 (exit $ac_status); }; } &&
4233 { ac_try
='test -s conftest$ac_exeext'
4234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4238 (exit $ac_status); }; }; then
4239 eval "$as_ac_var=yes"
4241 echo "$as_me: failed program was:" >&5
4242 sed 's/^/| /' conftest.
$ac_ext >&5
4244 eval "$as_ac_var=no"
4246 rm -f conftest.err conftest.
$ac_objext \
4247 conftest
$ac_exeext conftest.
$ac_ext
4249 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4250 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4251 if test `eval echo '${'$as_ac_var'}'` = yes; then
4252 cat >>confdefs.h
<<_ACEOF
4253 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4264 for ac_func
in strnlen memrchr strncpy memmem sethostname
4266 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4267 echo "$as_me:$LINENO: checking for $ac_func" >&5
4268 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4269 if eval "test \"\${$as_ac_var+set}\" = set"; then
4270 echo $ECHO_N "(cached) $ECHO_C" >&6
4272 cat >conftest.
$ac_ext <<_ACEOF
4275 cat confdefs.h
>>conftest.
$ac_ext
4276 cat >>conftest.
$ac_ext <<_ACEOF
4277 /* end confdefs.h. */
4278 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4279 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4280 #define $ac_func innocuous_$ac_func
4282 /* System header to define __stub macros and hopefully few prototypes,
4283 which can conflict with char $ac_func (); below.
4284 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4285 <limits.h> exists even on freestanding compilers. */
4288 # include <limits.h>
4290 # include <assert.h>
4295 /* Override any gcc2 internal prototype to avoid an error. */
4300 /* We use char because int might match the return type of a gcc2
4301 builtin and then its argument prototype would still apply. */
4303 /* The GNU C library defines this for functions which it implements
4304 to always fail with ENOSYS. Some functions are actually named
4305 something starting with __ and the normal name is an alias. */
4306 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4309 char (*f) () = $ac_func;
4318 return f != $ac_func;
4323 rm -f conftest.
$ac_objext conftest
$ac_exeext
4324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4325 (eval $ac_link) 2>conftest.er1
4327 grep -v '^ *+' conftest.er1
>conftest.err
4329 cat conftest.err
>&5
4330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4331 (exit $ac_status); } &&
4332 { ac_try
='test -z "$ac_c_werror_flag"
4333 || test ! -s conftest.err'
4334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4338 (exit $ac_status); }; } &&
4339 { ac_try
='test -s conftest$ac_exeext'
4340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4344 (exit $ac_status); }; }; then
4345 eval "$as_ac_var=yes"
4347 echo "$as_me: failed program was:" >&5
4348 sed 's/^/| /' conftest.
$ac_ext >&5
4350 eval "$as_ac_var=no"
4352 rm -f conftest.err conftest.
$ac_objext \
4353 conftest
$ac_exeext conftest.
$ac_ext
4355 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4356 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4357 if test `eval echo '${'$as_ac_var'}'` = yes; then
4358 cat >>confdefs.h
<<_ACEOF
4359 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4368 for ac_func
in __ctype_b_loc __ctype_tolower_loc __ctype_toupper_loc
4370 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4371 echo "$as_me:$LINENO: checking for $ac_func" >&5
4372 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4373 if eval "test \"\${$as_ac_var+set}\" = set"; then
4374 echo $ECHO_N "(cached) $ECHO_C" >&6
4376 cat >conftest.
$ac_ext <<_ACEOF
4379 cat confdefs.h
>>conftest.
$ac_ext
4380 cat >>conftest.
$ac_ext <<_ACEOF
4381 /* end confdefs.h. */
4382 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4383 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4384 #define $ac_func innocuous_$ac_func
4386 /* System header to define __stub macros and hopefully few prototypes,
4387 which can conflict with char $ac_func (); below.
4388 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4389 <limits.h> exists even on freestanding compilers. */
4392 # include <limits.h>
4394 # include <assert.h>
4399 /* Override any gcc2 internal prototype to avoid an error. */
4404 /* We use char because int might match the return type of a gcc2
4405 builtin and then its argument prototype would still apply. */
4407 /* The GNU C library defines this for functions which it implements
4408 to always fail with ENOSYS. Some functions are actually named
4409 something starting with __ and the normal name is an alias. */
4410 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4413 char (*f) () = $ac_func;
4422 return f != $ac_func;
4427 rm -f conftest.
$ac_objext conftest
$ac_exeext
4428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4429 (eval $ac_link) 2>conftest.er1
4431 grep -v '^ *+' conftest.er1
>conftest.err
4433 cat conftest.err
>&5
4434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4435 (exit $ac_status); } &&
4436 { ac_try
='test -z "$ac_c_werror_flag"
4437 || test ! -s conftest.err'
4438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4442 (exit $ac_status); }; } &&
4443 { ac_try
='test -s conftest$ac_exeext'
4444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4448 (exit $ac_status); }; }; then
4449 eval "$as_ac_var=yes"
4451 echo "$as_me: failed program was:" >&5
4452 sed 's/^/| /' conftest.
$ac_ext >&5
4454 eval "$as_ac_var=no"
4456 rm -f conftest.err conftest.
$ac_objext \
4457 conftest
$ac_exeext conftest.
$ac_ext
4459 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4460 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4461 if test `eval echo '${'$as_ac_var'}'` = yes; then
4462 cat >>confdefs.h
<<_ACEOF
4463 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4477 for ac_func
in getlogin cuserid getpwnam getpwuid getpwent getgrnam getgrgid getgrent
4479 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4480 echo "$as_me:$LINENO: checking for $ac_func" >&5
4481 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4482 if eval "test \"\${$as_ac_var+set}\" = set"; then
4483 echo $ECHO_N "(cached) $ECHO_C" >&6
4485 cat >conftest.
$ac_ext <<_ACEOF
4488 cat confdefs.h
>>conftest.
$ac_ext
4489 cat >>conftest.
$ac_ext <<_ACEOF
4490 /* end confdefs.h. */
4491 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4492 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4493 #define $ac_func innocuous_$ac_func
4495 /* System header to define __stub macros and hopefully few prototypes,
4496 which can conflict with char $ac_func (); below.
4497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4498 <limits.h> exists even on freestanding compilers. */
4501 # include <limits.h>
4503 # include <assert.h>
4508 /* Override any gcc2 internal prototype to avoid an error. */
4513 /* We use char because int might match the return type of a gcc2
4514 builtin and then its argument prototype would still apply. */
4516 /* The GNU C library defines this for functions which it implements
4517 to always fail with ENOSYS. Some functions are actually named
4518 something starting with __ and the normal name is an alias. */
4519 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4522 char (*f) () = $ac_func;
4531 return f != $ac_func;
4536 rm -f conftest.
$ac_objext conftest
$ac_exeext
4537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4538 (eval $ac_link) 2>conftest.er1
4540 grep -v '^ *+' conftest.er1
>conftest.err
4542 cat conftest.err
>&5
4543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4544 (exit $ac_status); } &&
4545 { ac_try
='test -z "$ac_c_werror_flag"
4546 || test ! -s conftest.err'
4547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4551 (exit $ac_status); }; } &&
4552 { ac_try
='test -s conftest$ac_exeext'
4553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4557 (exit $ac_status); }; }; then
4558 eval "$as_ac_var=yes"
4560 echo "$as_me: failed program was:" >&5
4561 sed 's/^/| /' conftest.
$ac_ext >&5
4563 eval "$as_ac_var=no"
4565 rm -f conftest.err conftest.
$ac_objext \
4566 conftest
$ac_exeext conftest.
$ac_ext
4568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4569 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4570 if test `eval echo '${'$as_ac_var'}'` = yes; then
4571 cat >>confdefs.h
<<_ACEOF
4572 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4583 for ac_func
in getlogin_r getpwnam_r getpwuid_r getgrnam_r getgrgid_r
4585 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4586 echo "$as_me:$LINENO: checking for $ac_func" >&5
4587 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4588 if eval "test \"\${$as_ac_var+set}\" = set"; then
4589 echo $ECHO_N "(cached) $ECHO_C" >&6
4591 cat >conftest.
$ac_ext <<_ACEOF
4594 cat confdefs.h
>>conftest.
$ac_ext
4595 cat >>conftest.
$ac_ext <<_ACEOF
4596 /* end confdefs.h. */
4597 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4598 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4599 #define $ac_func innocuous_$ac_func
4601 /* System header to define __stub macros and hopefully few prototypes,
4602 which can conflict with char $ac_func (); below.
4603 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4604 <limits.h> exists even on freestanding compilers. */
4607 # include <limits.h>
4609 # include <assert.h>
4614 /* Override any gcc2 internal prototype to avoid an error. */
4619 /* We use char because int might match the return type of a gcc2
4620 builtin and then its argument prototype would still apply. */
4622 /* The GNU C library defines this for functions which it implements
4623 to always fail with ENOSYS. Some functions are actually named
4624 something starting with __ and the normal name is an alias. */
4625 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4628 char (*f) () = $ac_func;
4637 return f != $ac_func;
4642 rm -f conftest.
$ac_objext conftest
$ac_exeext
4643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4644 (eval $ac_link) 2>conftest.er1
4646 grep -v '^ *+' conftest.er1
>conftest.err
4648 cat conftest.err
>&5
4649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4650 (exit $ac_status); } &&
4651 { ac_try
='test -z "$ac_c_werror_flag"
4652 || test ! -s conftest.err'
4653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4657 (exit $ac_status); }; } &&
4658 { ac_try
='test -s conftest$ac_exeext'
4659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4663 (exit $ac_status); }; }; then
4664 eval "$as_ac_var=yes"
4666 echo "$as_me: failed program was:" >&5
4667 sed 's/^/| /' conftest.
$ac_ext >&5
4669 eval "$as_ac_var=no"
4671 rm -f conftest.err conftest.
$ac_objext \
4672 conftest
$ac_exeext conftest.
$ac_ext
4674 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4675 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4676 if test `eval echo '${'$as_ac_var'}'` = yes; then
4677 cat >>confdefs.h
<<_ACEOF
4678 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4689 for ac_func
in getservent getservbyname getservbyport getaddrinfo gai_strerror
4691 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4692 echo "$as_me:$LINENO: checking for $ac_func" >&5
4693 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4694 if eval "test \"\${$as_ac_var+set}\" = set"; then
4695 echo $ECHO_N "(cached) $ECHO_C" >&6
4697 cat >conftest.
$ac_ext <<_ACEOF
4700 cat confdefs.h
>>conftest.
$ac_ext
4701 cat >>conftest.
$ac_ext <<_ACEOF
4702 /* end confdefs.h. */
4703 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4704 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4705 #define $ac_func innocuous_$ac_func
4707 /* System header to define __stub macros and hopefully few prototypes,
4708 which can conflict with char $ac_func (); below.
4709 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4710 <limits.h> exists even on freestanding compilers. */
4713 # include <limits.h>
4715 # include <assert.h>
4720 /* Override any gcc2 internal prototype to avoid an error. */
4725 /* We use char because int might match the return type of a gcc2
4726 builtin and then its argument prototype would still apply. */
4728 /* The GNU C library defines this for functions which it implements
4729 to always fail with ENOSYS. Some functions are actually named
4730 something starting with __ and the normal name is an alias. */
4731 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4734 char (*f) () = $ac_func;
4743 return f != $ac_func;
4748 rm -f conftest.
$ac_objext conftest
$ac_exeext
4749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4750 (eval $ac_link) 2>conftest.er1
4752 grep -v '^ *+' conftest.er1
>conftest.err
4754 cat conftest.err
>&5
4755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4756 (exit $ac_status); } &&
4757 { ac_try
='test -z "$ac_c_werror_flag"
4758 || test ! -s conftest.err'
4759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4763 (exit $ac_status); }; } &&
4764 { ac_try
='test -s conftest$ac_exeext'
4765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4769 (exit $ac_status); }; }; then
4770 eval "$as_ac_var=yes"
4772 echo "$as_me: failed program was:" >&5
4773 sed 's/^/| /' conftest.
$ac_ext >&5
4775 eval "$as_ac_var=no"
4777 rm -f conftest.err conftest.
$ac_objext \
4778 conftest
$ac_exeext conftest.
$ac_ext
4780 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4781 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4782 if test `eval echo '${'$as_ac_var'}'` = yes; then
4783 cat >>confdefs.h
<<_ACEOF
4784 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4793 for ac_func
in getprotoent getprotobyname getprotobynumber
4795 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4796 echo "$as_me:$LINENO: checking for $ac_func" >&5
4797 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4798 if eval "test \"\${$as_ac_var+set}\" = set"; then
4799 echo $ECHO_N "(cached) $ECHO_C" >&6
4801 cat >conftest.
$ac_ext <<_ACEOF
4804 cat confdefs.h
>>conftest.
$ac_ext
4805 cat >>conftest.
$ac_ext <<_ACEOF
4806 /* end confdefs.h. */
4807 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4808 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4809 #define $ac_func innocuous_$ac_func
4811 /* System header to define __stub macros and hopefully few prototypes,
4812 which can conflict with char $ac_func (); below.
4813 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4814 <limits.h> exists even on freestanding compilers. */
4817 # include <limits.h>
4819 # include <assert.h>
4824 /* Override any gcc2 internal prototype to avoid an error. */
4829 /* We use char because int might match the return type of a gcc2
4830 builtin and then its argument prototype would still apply. */
4832 /* The GNU C library defines this for functions which it implements
4833 to always fail with ENOSYS. Some functions are actually named
4834 something starting with __ and the normal name is an alias. */
4835 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4838 char (*f) () = $ac_func;
4847 return f != $ac_func;
4852 rm -f conftest.
$ac_objext conftest
$ac_exeext
4853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4854 (eval $ac_link) 2>conftest.er1
4856 grep -v '^ *+' conftest.er1
>conftest.err
4858 cat conftest.err
>&5
4859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4860 (exit $ac_status); } &&
4861 { ac_try
='test -z "$ac_c_werror_flag"
4862 || test ! -s conftest.err'
4863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4867 (exit $ac_status); }; } &&
4868 { ac_try
='test -s conftest$ac_exeext'
4869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4873 (exit $ac_status); }; }; then
4874 eval "$as_ac_var=yes"
4876 echo "$as_me: failed program was:" >&5
4877 sed 's/^/| /' conftest.
$ac_ext >&5
4879 eval "$as_ac_var=no"
4881 rm -f conftest.err conftest.
$ac_objext \
4882 conftest
$ac_exeext conftest.
$ac_ext
4884 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4885 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4886 if test `eval echo '${'$as_ac_var'}'` = yes; then
4887 cat >>confdefs.h
<<_ACEOF
4888 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4897 for ac_func
in getmntent setmntent addmntent
4899 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4900 echo "$as_me:$LINENO: checking for $ac_func" >&5
4901 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4902 if eval "test \"\${$as_ac_var+set}\" = set"; then
4903 echo $ECHO_N "(cached) $ECHO_C" >&6
4905 cat >conftest.
$ac_ext <<_ACEOF
4908 cat confdefs.h
>>conftest.
$ac_ext
4909 cat >>conftest.
$ac_ext <<_ACEOF
4910 /* end confdefs.h. */
4911 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4912 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4913 #define $ac_func innocuous_$ac_func
4915 /* System header to define __stub macros and hopefully few prototypes,
4916 which can conflict with char $ac_func (); below.
4917 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4918 <limits.h> exists even on freestanding compilers. */
4921 # include <limits.h>
4923 # include <assert.h>
4928 /* Override any gcc2 internal prototype to avoid an error. */
4933 /* We use char because int might match the return type of a gcc2
4934 builtin and then its argument prototype would still apply. */
4936 /* The GNU C library defines this for functions which it implements
4937 to always fail with ENOSYS. Some functions are actually named
4938 something starting with __ and the normal name is an alias. */
4939 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4942 char (*f) () = $ac_func;
4951 return f != $ac_func;
4956 rm -f conftest.
$ac_objext conftest
$ac_exeext
4957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4958 (eval $ac_link) 2>conftest.er1
4960 grep -v '^ *+' conftest.er1
>conftest.err
4962 cat conftest.err
>&5
4963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4964 (exit $ac_status); } &&
4965 { ac_try
='test -z "$ac_c_werror_flag"
4966 || test ! -s conftest.err'
4967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4971 (exit $ac_status); }; } &&
4972 { ac_try
='test -s conftest$ac_exeext'
4973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4977 (exit $ac_status); }; }; then
4978 eval "$as_ac_var=yes"
4980 echo "$as_me: failed program was:" >&5
4981 sed 's/^/| /' conftest.
$ac_ext >&5
4983 eval "$as_ac_var=no"
4985 rm -f conftest.err conftest.
$ac_objext \
4986 conftest
$ac_exeext conftest.
$ac_ext
4988 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4989 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4990 if test `eval echo '${'$as_ac_var'}'` = yes; then
4991 cat >>confdefs.h
<<_ACEOF
4992 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5001 for ac_func
in inet_ntoa mmap munmap
5003 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5004 echo "$as_me:$LINENO: checking for $ac_func" >&5
5005 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5006 if eval "test \"\${$as_ac_var+set}\" = set"; then
5007 echo $ECHO_N "(cached) $ECHO_C" >&6
5009 cat >conftest.
$ac_ext <<_ACEOF
5012 cat confdefs.h
>>conftest.
$ac_ext
5013 cat >>conftest.
$ac_ext <<_ACEOF
5014 /* end confdefs.h. */
5015 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5016 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5017 #define $ac_func innocuous_$ac_func
5019 /* System header to define __stub macros and hopefully few prototypes,
5020 which can conflict with char $ac_func (); below.
5021 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5022 <limits.h> exists even on freestanding compilers. */
5025 # include <limits.h>
5027 # include <assert.h>
5032 /* Override any gcc2 internal prototype to avoid an error. */
5037 /* We use char because int might match the return type of a gcc2
5038 builtin and then its argument prototype would still apply. */
5040 /* The GNU C library defines this for functions which it implements
5041 to always fail with ENOSYS. Some functions are actually named
5042 something starting with __ and the normal name is an alias. */
5043 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5046 char (*f) () = $ac_func;
5055 return f != $ac_func;
5060 rm -f conftest.
$ac_objext conftest
$ac_exeext
5061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5062 (eval $ac_link) 2>conftest.er1
5064 grep -v '^ *+' conftest.er1
>conftest.err
5066 cat conftest.err
>&5
5067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5068 (exit $ac_status); } &&
5069 { ac_try
='test -z "$ac_c_werror_flag"
5070 || test ! -s conftest.err'
5071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5075 (exit $ac_status); }; } &&
5076 { ac_try
='test -s conftest$ac_exeext'
5077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5081 (exit $ac_status); }; }; then
5082 eval "$as_ac_var=yes"
5084 echo "$as_me: failed program was:" >&5
5085 sed 's/^/| /' conftest.
$ac_ext >&5
5087 eval "$as_ac_var=no"
5089 rm -f conftest.err conftest.
$ac_objext \
5090 conftest
$ac_exeext conftest.
$ac_ext
5092 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5093 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5094 if test `eval echo '${'$as_ac_var'}'` = yes; then
5095 cat >>confdefs.h
<<_ACEOF
5096 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5103 for ac_func
in __libc_freeres
5105 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5106 echo "$as_me:$LINENO: checking for $ac_func" >&5
5107 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5108 if eval "test \"\${$as_ac_var+set}\" = set"; then
5109 echo $ECHO_N "(cached) $ECHO_C" >&6
5111 cat >conftest.
$ac_ext <<_ACEOF
5114 cat confdefs.h
>>conftest.
$ac_ext
5115 cat >>conftest.
$ac_ext <<_ACEOF
5116 /* end confdefs.h. */
5117 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5118 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5119 #define $ac_func innocuous_$ac_func
5121 /* System header to define __stub macros and hopefully few prototypes,
5122 which can conflict with char $ac_func (); below.
5123 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5124 <limits.h> exists even on freestanding compilers. */
5127 # include <limits.h>
5129 # include <assert.h>
5134 /* Override any gcc2 internal prototype to avoid an error. */
5139 /* We use char because int might match the return type of a gcc2
5140 builtin and then its argument prototype would still apply. */
5142 /* The GNU C library defines this for functions which it implements
5143 to always fail with ENOSYS. Some functions are actually named
5144 something starting with __ and the normal name is an alias. */
5145 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5148 char (*f) () = $ac_func;
5157 return f != $ac_func;
5162 rm -f conftest.
$ac_objext conftest
$ac_exeext
5163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5164 (eval $ac_link) 2>conftest.er1
5166 grep -v '^ *+' conftest.er1
>conftest.err
5168 cat conftest.err
>&5
5169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5170 (exit $ac_status); } &&
5171 { ac_try
='test -z "$ac_c_werror_flag"
5172 || test ! -s conftest.err'
5173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5177 (exit $ac_status); }; } &&
5178 { ac_try
='test -s conftest$ac_exeext'
5179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5183 (exit $ac_status); }; }; then
5184 eval "$as_ac_var=yes"
5186 echo "$as_me: failed program was:" >&5
5187 sed 's/^/| /' conftest.
$ac_ext >&5
5189 eval "$as_ac_var=no"
5191 rm -f conftest.err conftest.
$ac_objext \
5192 conftest
$ac_exeext conftest.
$ac_ext
5194 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5195 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5196 if test `eval echo '${'$as_ac_var'}'` = yes; then
5197 cat >>confdefs.h
<<_ACEOF
5198 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5205 cat >conftest.
$ac_ext <<_ACEOF
5208 cat confdefs.h
>>conftest.
$ac_ext
5209 cat >>conftest.
$ac_ext <<_ACEOF
5210 /* end confdefs.h. */
5211 #include <sys/types.h>
5212 #include <sys/ipc.h>
5213 #include <sys/sem.h>
5222 rm -f conftest.
$ac_objext
5223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5224 (eval $ac_compile) 2>conftest.er1
5226 grep -v '^ *+' conftest.er1
>conftest.err
5228 cat conftest.err
>&5
5229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5230 (exit $ac_status); } &&
5231 { ac_try
='test -z "$ac_c_werror_flag"
5232 || test ! -s conftest.err'
5233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5237 (exit $ac_status); }; } &&
5238 { ac_try
='test -s conftest.$ac_objext'
5239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5243 (exit $ac_status); }; }; then
5246 echo "$as_me: failed program was:" >&5
5247 sed 's/^/| /' conftest.
$ac_ext >&5
5251 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5252 if test $mf_have_semun = 1
5255 cat >>confdefs.h
<<\_ACEOF
5256 #define HAVE_UNION_SEMUN 1
5262 echo "$as_me:$LINENO: checking for socklen_t in sys/socket.h" >&5
5263 echo $ECHO_N "checking for socklen_t in sys/socket.h... $ECHO_C" >&6
5264 cat >conftest.
$ac_ext <<_ACEOF
5267 cat confdefs.h
>>conftest.
$ac_ext
5268 cat >>conftest.
$ac_ext <<_ACEOF
5269 /* end confdefs.h. */
5270 #define _POSIX_PII_SOCKET
5271 #include <sys/types.h>
5272 #include <sys/socket.h>
5281 rm -f conftest.
$ac_objext
5282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5283 (eval $ac_compile) 2>conftest.er1
5285 grep -v '^ *+' conftest.er1
>conftest.err
5287 cat conftest.err
>&5
5288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5289 (exit $ac_status); } &&
5290 { ac_try
='test -z "$ac_c_werror_flag"
5291 || test ! -s conftest.err'
5292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5296 (exit $ac_status); }; } &&
5297 { ac_try
='test -s conftest.$ac_objext'
5298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5302 (exit $ac_status); }; }; then
5304 cat >>confdefs.h
<<\_ACEOF
5305 #define HAVE_SOCKLEN_T 1
5308 echo "$as_me:$LINENO: result: yes" >&5
5309 echo "${ECHO_T}yes" >&6
5311 echo "$as_me: failed program was:" >&5
5312 sed 's/^/| /' conftest.
$ac_ext >&5
5314 echo "$as_me:$LINENO: result: no" >&5
5315 echo "${ECHO_T}no" >&6
5317 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5325 macro_version
='2.1a'
5326 macro_revision
='1.2435'
5339 ltmain
="$ac_aux_dir/ltmain.sh"
5347 # Check whether --enable-shared or --disable-shared was given.
5348 if test "${enable_shared+set}" = set; then
5349 enableval
="$enable_shared"
5350 p
=${PACKAGE-default}
5352 yes) enable_shared
=yes ;;
5353 no
) enable_shared
=no
;;
5356 # Look at the argument we got. We use all the common list separators.
5357 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
5358 for pkg
in $enableval; do
5360 if test "X$pkg" = "X$p"; then
5378 # Check whether --enable-static or --disable-static was given.
5379 if test "${enable_static+set}" = set; then
5380 enableval
="$enable_static"
5381 p
=${PACKAGE-default}
5383 yes) enable_static
=yes ;;
5384 no
) enable_static
=no
;;
5387 # Look at the argument we got. We use all the common list separators.
5388 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
5389 for pkg
in $enableval; do
5391 if test "X$pkg" = "X$p"; then
5410 # Check whether --with-pic or --without-pic was given.
5411 if test "${with_pic+set}" = set; then
5418 test -z "$pic_mode" && pic_mode
=default
5426 # Check whether --enable-fast-install or --disable-fast-install was given.
5427 if test "${enable_fast_install+set}" = set; then
5428 enableval
="$enable_fast_install"
5429 p
=${PACKAGE-default}
5431 yes) enable_fast_install
=yes ;;
5432 no
) enable_fast_install
=no
;;
5434 enable_fast_install
=no
5435 # Look at the argument we got. We use all the common list separators.
5436 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
5437 for pkg
in $enableval; do
5439 if test "X$pkg" = "X$p"; then
5440 enable_fast_install
=yes
5447 enable_fast_install
=yes
5457 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
5458 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
5459 if test "${lt_cv_path_SED+set}" = set; then
5460 echo $ECHO_N "(cached) $ECHO_C" >&6
5462 # Loop through the user's path and test for sed and gsed.
5463 # Then use that list of sed's as ones to test for truncation.
5464 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5468 test -z "$as_dir" && as_dir
=.
5469 for lt_ac_prog
in sed gsed
; do
5470 for ac_exec_ext
in '' $ac_executable_extensions; do
5471 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
5472 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
5480 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
5481 # along with /bin/sed that truncates output.
5482 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
5483 test ! -f $lt_ac_sed && continue
5484 cat /dev
/null
> conftest.
in
5486 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
5487 # Check for GNU sed and select it if it is found.
5488 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
5489 lt_cv_path_SED
=$lt_ac_sed
5493 cat conftest.
in conftest.
in >conftest.tmp
5494 mv conftest.tmp conftest.
in
5495 cp conftest.
in conftest.
nl
5497 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
5498 cmp -s conftest.out conftest.
nl ||
break
5499 # 10000 chars as input seems more than enough
5500 test $lt_ac_count -gt 10 && break
5501 lt_ac_count
=`expr $lt_ac_count + 1`
5502 if test $lt_ac_count -gt $lt_ac_max; then
5503 lt_ac_max
=$lt_ac_count
5504 lt_cv_path_SED
=$lt_ac_sed
5513 echo "$as_me:$LINENO: result: $SED" >&5
5514 echo "${ECHO_T}$SED" >&6
5516 test -z "$SED" && SED
=sed
5517 Xsed
="$SED -e 1s/^X//"
5529 echo "$as_me:$LINENO: checking for fgrep" >&5
5530 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
5531 if test "${ac_cv_prog_fgrep+set}" = set; then
5532 echo $ECHO_N "(cached) $ECHO_C" >&6
5534 if echo 'ab*c' |
(grep -F 'ab*c') >/dev
/null
2>&1
5535 then ac_cv_prog_fgrep
='grep -F'
5536 else ac_cv_prog_fgrep
='fgrep'
5539 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
5540 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
5541 FGREP
=$ac_cv_prog_fgrep
5544 test -z "$GREP" && GREP
=grep
5564 # Check whether --with-gnu-ld or --without-gnu-ld was given.
5565 if test "${with_gnu_ld+set}" = set; then
5566 withval
="$with_gnu_ld"
5567 test "$withval" = no || with_gnu_ld
=yes
5572 if test "$GCC" = yes; then
5573 # Check if gcc -print-prog-name=ld gives a path.
5574 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
5575 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
5578 # gcc leaves a trailing carriage return which upsets mingw
5579 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5581 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5584 # Accept absolute paths.
5586 re_direlt
='/[^/][^/]*/\.\./'
5587 # Canonicalize the pathname of ld
5588 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5589 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5590 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5592 test -z "$LD" && LD
="$ac_prog"
5595 # If it fails, then pretend we aren't using GCC.
5599 # If it is relative, then search for the first ld in PATH.
5603 elif test "$with_gnu_ld" = yes; then
5604 echo "$as_me:$LINENO: checking for GNU ld" >&5
5605 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
5607 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5608 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
5610 if test "${lt_cv_path_LD+set}" = set; then
5611 echo $ECHO_N "(cached) $ECHO_C" >&6
5613 if test -z "$LD"; then
5614 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5615 for ac_dir
in $PATH; do
5617 test -z "$ac_dir" && ac_dir
=.
5618 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5619 lt_cv_path_LD
="$ac_dir/$ac_prog"
5620 # Check to see if the program is GNU ld. I'd rather use --version,
5621 # but apparently some variants of GNU ld only accept -v.
5622 # Break only if it was the GNU/non-GNU ld that we prefer.
5623 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5624 *GNU
* |
*'with BFD'*)
5625 test "$with_gnu_ld" != no
&& break
5628 test "$with_gnu_ld" != yes && break
5635 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5640 if test -n "$LD"; then
5641 echo "$as_me:$LINENO: result: $LD" >&5
5642 echo "${ECHO_T}$LD" >&6
5644 echo "$as_me:$LINENO: result: no" >&5
5645 echo "${ECHO_T}no" >&6
5647 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5648 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5649 { (exit 1); exit 1; }; }
5650 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5651 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
5652 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5653 echo $ECHO_N "(cached) $ECHO_C" >&6
5655 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5656 case `$LD -v 2>&1 </dev/null` in
5657 *GNU
* |
*'with BFD'*)
5658 lt_cv_prog_gnu_ld
=yes
5661 lt_cv_prog_gnu_ld
=no
5665 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5666 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
5667 with_gnu_ld
=$lt_cv_prog_gnu_ld
5678 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
5679 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
5680 if test "${lt_cv_path_NM+set}" = set; then
5681 echo $ECHO_N "(cached) $ECHO_C" >&6
5683 if test -n "$NM"; then
5684 # Let the user override the test.
5687 lt_nm_to_check
="${ac_tool_prefix}nm"
5688 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5689 lt_nm_to_check
="$lt_nm_to_check nm"
5691 for lt_tmp_nm
in $lt_nm_to_check; do
5692 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5693 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5695 test -z "$ac_dir" && ac_dir
=.
5696 tmp_nm
="$ac_dir/$lt_tmp_nm"
5697 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5698 # Check to see if the nm accepts a BSD-compat flag.
5699 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5700 # nm: unknown option "B" ignored
5701 # Tru64's nm complains that /dev/null is an invalid object file
5702 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5703 */dev
/null
* |
*'Invalid file or object type'*)
5704 lt_cv_path_NM
="$tmp_nm -B"
5708 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5710 lt_cv_path_NM
="$tmp_nm -p"
5714 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5715 continue # so that we can try to find one that supports BSD flags
5724 : ${lt_cv_path_NM=no}
5727 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5728 echo "${ECHO_T}$lt_cv_path_NM" >&6
5729 if test "$lt_cv_path_NM" != "no"; then
5732 # Didn't find any BSD compatible name lister, look for dumpbin.
5733 if test -n "$ac_tool_prefix"; then
5734 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5736 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5737 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5738 echo "$as_me:$LINENO: checking for $ac_word" >&5
5739 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5740 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
5741 echo $ECHO_N "(cached) $ECHO_C" >&6
5743 if test -n "$DUMPBIN"; then
5744 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5746 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5750 test -z "$as_dir" && as_dir
=.
5751 for ac_exec_ext
in '' $ac_executable_extensions; do
5752 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5753 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5754 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5762 DUMPBIN
=$ac_cv_prog_DUMPBIN
5763 if test -n "$DUMPBIN"; then
5764 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
5765 echo "${ECHO_T}$DUMPBIN" >&6
5767 echo "$as_me:$LINENO: result: no" >&5
5768 echo "${ECHO_T}no" >&6
5771 test -n "$DUMPBIN" && break
5774 if test -z "$DUMPBIN"; then
5775 ac_ct_DUMPBIN
=$DUMPBIN
5776 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5778 # Extract the first word of "$ac_prog", so it can be a program name with args.
5779 set dummy
$ac_prog; ac_word
=$2
5780 echo "$as_me:$LINENO: checking for $ac_word" >&5
5781 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5782 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
5783 echo $ECHO_N "(cached) $ECHO_C" >&6
5785 if test -n "$ac_ct_DUMPBIN"; then
5786 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5788 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5792 test -z "$as_dir" && as_dir
=.
5793 for ac_exec_ext
in '' $ac_executable_extensions; do
5794 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5795 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5796 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5804 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5805 if test -n "$ac_ct_DUMPBIN"; then
5806 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
5807 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
5809 echo "$as_me:$LINENO: result: no" >&5
5810 echo "${ECHO_T}no" >&6
5813 test -n "$ac_ct_DUMPBIN" && break
5815 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN
=":"
5817 DUMPBIN
=$ac_ct_DUMPBIN
5821 if test "$DUMPBIN" != ":"; then
5825 test -z "$NM" && NM
=nm
5832 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
5833 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
5834 if test "${lt_cv_nm_interface+set}" = set; then
5835 echo $ECHO_N "(cached) $ECHO_C" >&6
5837 lt_cv_nm_interface
="BSD nm"
5838 echo "int some_variable = 0;" > conftest.
$ac_ext
5839 (eval echo "\"\$as_me:5839: $ac_compile\"" >&5)
5840 (eval "$ac_compile" 2>conftest.err
)
5841 cat conftest.err
>&5
5842 (eval echo "\"\$as_me:5842: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5843 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5844 cat conftest.err
>&5
5845 (eval echo "\"\$as_me:5845: output\"" >&5)
5846 cat conftest.out
>&5
5847 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5848 lt_cv_nm_interface
="MS dumpbin"
5852 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
5853 echo "${ECHO_T}$lt_cv_nm_interface" >&6
5855 echo "$as_me:$LINENO: checking whether ln -s works" >&5
5856 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
5858 if test "$LN_S" = "ln -s"; then
5859 echo "$as_me:$LINENO: result: yes" >&5
5860 echo "${ECHO_T}yes" >&6
5862 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5863 echo "${ECHO_T}no, using $LN_S" >&6
5866 # find the maximum length of command line arguments
5867 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5868 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5869 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5870 echo $ECHO_N "(cached) $ECHO_C" >&6
5877 # On DJGPP, this test can blow up pretty badly due to problems in libc
5878 # (any single argument exceeding 2000 bytes causes a buffer overrun
5879 # during glob expansion). Even if it were fixed, the result of this
5880 # check would be larger than it should be.
5881 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5885 # Under GNU Hurd, this test is not required because there is
5886 # no limit to the length of command line arguments.
5887 # Libtool will interpret -1 as no limit whatsoever
5888 lt_cv_sys_max_cmd_len
=-1;
5892 # On Win9x/ME, this test blows up -- it succeeds, but takes
5893 # about 5 minutes as the teststring grows exponentially.
5894 # Worse, since 9x/ME are not pre-emptively multitasking,
5895 # you end up with a "frozen" computer, even though with patience
5896 # the test eventually succeeds (with a max line length of 256k).
5897 # Instead, let's just punt: use the minimum linelength reported by
5898 # all of the supported platforms: 8192 (on NT/2K/XP).
5899 lt_cv_sys_max_cmd_len
=8192;
5903 # On AmigaOS with pdksh, this test takes hours, literally.
5904 # So we just punt and use a minimum line length of 8192.
5905 lt_cv_sys_max_cmd_len
=8192;
5908 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5909 # This has been around since 386BSD, at least. Likely further.
5910 if test -x /sbin
/sysctl
; then
5911 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5912 elif test -x /usr
/sbin
/sysctl
; then
5913 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5915 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5917 # And add a safety zone
5918 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5919 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5923 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5924 lt_cv_sys_max_cmd_len
=196608
5928 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5929 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5930 # nice to cause kernel panics so lets avoid the loop below.
5931 # First set a reasonable default.
5932 lt_cv_sys_max_cmd_len
=16384
5934 if test -x /sbin
/sysconfig
; then
5935 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5936 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5941 lt_cv_sys_max_cmd_len
=102400
5943 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5944 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5945 if test -n "$kargmax"; then
5946 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5948 lt_cv_sys_max_cmd_len
=32768
5952 lt_cv_sys_max_cmd_len
=`getconf ARG_MAX 2> /dev/null`
5953 if test -n $lt_cv_sys_max_cmd_len; then
5954 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5955 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5957 # Make teststring a little bigger before we do anything with it.
5958 # a 1K string should be a reasonable start.
5959 for i
in 1 2 3 4 5 6 7 8 ; do
5960 teststring
=$teststring$teststring
5962 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5963 # If test is not a shell built-in, we'll probably end up computing a
5964 # maximum length that is only half of the actual maximum length, but
5966 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5967 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
5968 test $i != 17 # 1/2 MB should be enough
5971 teststring
=$teststring$teststring
5973 # Only check the string length outside the loop.
5974 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5976 # Add a significant safety factor because C++ compilers can tack on
5977 # massive amounts of additional arguments before passing them to the
5978 # linker. It appears as though 1/2 is a usable value.
5979 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5986 if test -n $lt_cv_sys_max_cmd_len ; then
5987 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5988 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5990 echo "$as_me:$LINENO: result: none" >&5
5991 echo "${ECHO_T}none" >&6
5993 max_cmd_len
=$lt_cv_sys_max_cmd_len
6004 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
6005 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
6006 # Try some XSI features
6009 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6010 = c,a/b,, ) >/dev/null 2>&1 \
6012 echo "$as_me:$LINENO: result
: $xsi_shell" >&5
6013 echo "${ECHO_T}$xsi_shell" >&6
6016 echo "$as_me:$LINENO: checking whether the shell understands
\"+=\"" >&5
6017 echo $ECHO_N "checking whether the shell understands
\"+=\"...
$ECHO_C" >&6
6019 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
6021 && lt_shell_append=yes
6022 echo "$as_me:$LINENO: result
: $lt_shell_append" >&5
6023 echo "${ECHO_T}$lt_shell_append" >&6
6026 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6036 # test EBCDIC or ASCII
6037 case `echo X|tr X '\101'` in
6038 A) # ASCII based system
6039 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6040 lt_SP2NL='tr \040 \012'
6041 lt_NL2SP='tr \015\012 \040\040'
6043 *) # EBCDIC based system
6044 lt_SP2NL='tr \100 \n'
6045 lt_NL2SP='tr \r\n \100\100'
6057 echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
6058 echo $ECHO_N "checking
for $LD option to reload object files...
$ECHO_C" >&6
6059 if test "${lt_cv_ld_reload_flag+set}" = set; then
6060 echo $ECHO_N "(cached
) $ECHO_C" >&6
6062 lt_cv_ld_reload_flag='-r'
6064 echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
6065 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
6066 reload_flag=$lt_cv_ld_reload_flag
6067 case $reload_flag in
6069 *) reload_flag=" $reload_flag" ;;
6071 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6074 if test "$GCC" = yes; then
6075 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6077 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6091 echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
6092 echo $ECHO_N "checking how to recognize dependent libraries...
$ECHO_C" >&6
6093 if test "${lt_cv_deplibs_check_method+set}" = set; then
6094 echo $ECHO_N "(cached
) $ECHO_C" >&6
6096 lt_cv_file_magic_cmd='$MAGIC_CMD'
6097 lt_cv_file_magic_test_file=
6098 lt_cv_deplibs_check_method='unknown'
6099 # Need to set the preceding variable on all platforms that support
6100 # interlibrary dependencies.
6101 # 'none' -- dependencies not supported.
6102 # `unknown' -- same as none, but documents that we really don't know.
6103 # 'pass_all' -- all dependencies passed with no checks.
6104 # 'test_compile' -- check by making test program.
6105 # 'file_magic [[regex]]' -- check by looking for files in library path
6106 # which responds to the $file_magic_cmd with a given extended regex.
6107 # If you have `file' or equivalent on your system and you're not sure
6108 # whether `pass_all' will *always* work, you probably want this one.
6112 lt_cv_deplibs_check_method=pass_all
6116 lt_cv_deplibs_check_method=pass_all
6120 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6121 lt_cv_file_magic_cmd='/usr/bin/file -L'
6122 lt_cv_file_magic_test_file=/shlib/libc.so
6126 # func_win32_libid is a shell function defined in ltmain.sh
6127 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6128 lt_cv_file_magic_cmd='func_win32_libid'
6132 # Base MSYS/MinGW do not provide the 'file' command needed by
6133 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6134 # unless we find 'file', for example because we are cross-compiling.
6135 if ( file / ) >/dev/null 2>&1; then
6136 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6137 lt_cv_file_magic_cmd='func_win32_libid'
6139 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6140 lt_cv_file_magic_cmd='$OBJDUMP -f'
6144 darwin* | rhapsody*)
6145 lt_cv_deplibs_check_method=pass_all
6148 freebsd* | dragonfly*)
6149 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6152 # Not sure whether the presence of OpenBSD here was a mistake.
6153 # Let's accept both of them until this is cleared up.
6154 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6155 lt_cv_file_magic_cmd=/usr/bin/file
6156 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6160 lt_cv_deplibs_check_method=pass_all
6165 lt_cv_deplibs_check_method=pass_all
6168 hpux10.20* | hpux11*)
6169 lt_cv_file_magic_cmd=/usr/bin/file
6172 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6173 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6176 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]'
6177 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6180 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6181 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6187 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6188 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6191 irix5* | irix6* | nonstopux*)
6193 *-32|*"-32 ") libmagic=32-bit;;
6194 *-n32|*"-n32 ") libmagic=N32;;
6195 *-64|*"-64 ") libmagic=64-bit;;
6196 *) libmagic=never-match;;
6198 lt_cv_deplibs_check_method=pass_all
6201 # This must be Linux ELF.
6202 linux* | k*bsd*-gnu)
6203 lt_cv_deplibs_check_method=pass_all
6207 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6208 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6210 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6215 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6216 lt_cv_file_magic_cmd=/usr/bin/file
6217 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6221 lt_cv_deplibs_check_method=pass_all
6225 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6226 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6228 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6232 osf3* | osf4* | osf5*)
6233 lt_cv_deplibs_check_method=pass_all
6237 lt_cv_deplibs_check_method=pass_all
6241 lt_cv_deplibs_check_method=pass_all
6244 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6245 lt_cv_deplibs_check_method=pass_all
6249 case $host_vendor in
6251 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]'
6252 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6255 lt_cv_deplibs_check_method=pass_all
6258 lt_cv_file_magic_cmd='/bin/file'
6259 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6262 lt_cv_file_magic_cmd='/bin/file'
6263 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6264 lt_cv_file_magic_test_file=/lib/libc.so
6267 lt_cv_deplibs_check_method=pass_all
6270 lt_cv_deplibs_check_method=pass_all
6276 lt_cv_deplibs_check_method=pass_all
6281 echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
6282 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
6283 file_magic_cmd=$lt_cv_file_magic_cmd
6284 deplibs_check_method=$lt_cv_deplibs_check_method
6285 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6298 if test -n "$ac_tool_prefix"; then
6299 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6300 set dummy ${ac_tool_prefix}ar; ac_word=$2
6301 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6302 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6303 if test "${ac_cv_prog_AR+set}" = set; then
6304 echo $ECHO_N "(cached
) $ECHO_C" >&6
6306 if test -n "$AR"; then
6307 ac_cv_prog_AR="$AR" # Let the user override the test.
6309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6313 test -z "$as_dir" && as_dir=.
6314 for ac_exec_ext in '' $ac_executable_extensions; do
6315 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6316 ac_cv_prog_AR="${ac_tool_prefix}ar"
6317 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6326 if test -n "$AR"; then
6327 echo "$as_me:$LINENO: result
: $AR" >&5
6328 echo "${ECHO_T}$AR" >&6
6330 echo "$as_me:$LINENO: result
: no
" >&5
6331 echo "${ECHO_T}no
" >&6
6335 if test -z "$ac_cv_prog_AR"; then
6337 # Extract the first word of "ar", so it can be a program name with args.
6338 set dummy ar; ac_word=$2
6339 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6340 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6341 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6342 echo $ECHO_N "(cached
) $ECHO_C" >&6
6344 if test -n "$ac_ct_AR"; then
6345 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6351 test -z "$as_dir" && as_dir=.
6352 for ac_exec_ext in '' $ac_executable_extensions; do
6353 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6354 ac_cv_prog_ac_ct_AR="ar"
6355 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6361 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false
"
6364 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6365 if test -n "$ac_ct_AR"; then
6366 echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
6367 echo "${ECHO_T}$ac_ct_AR" >&6
6369 echo "$as_me:$LINENO: result
: no
" >&5
6370 echo "${ECHO_T}no
" >&6
6378 test -z "$AR" && AR=ar
6379 test -z "$AR_FLAGS" && AR_FLAGS=cru
6391 if test -n "$ac_tool_prefix"; then
6392 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6393 set dummy ${ac_tool_prefix}strip; ac_word=$2
6394 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6395 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6396 if test "${ac_cv_prog_STRIP+set}" = set; then
6397 echo $ECHO_N "(cached
) $ECHO_C" >&6
6399 if test -n "$STRIP"; then
6400 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6406 test -z "$as_dir" && as_dir=.
6407 for ac_exec_ext in '' $ac_executable_extensions; do
6408 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6409 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6410 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6418 STRIP=$ac_cv_prog_STRIP
6419 if test -n "$STRIP"; then
6420 echo "$as_me:$LINENO: result
: $STRIP" >&5
6421 echo "${ECHO_T}$STRIP" >&6
6423 echo "$as_me:$LINENO: result
: no
" >&5
6424 echo "${ECHO_T}no
" >&6
6428 if test -z "$ac_cv_prog_STRIP"; then
6430 # Extract the first word of "strip
", so it can be a program name with args.
6431 set dummy strip; ac_word=$2
6432 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6433 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6434 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6435 echo $ECHO_N "(cached
) $ECHO_C" >&6
6437 if test -n "$ac_ct_STRIP"; then
6438 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6444 test -z "$as_dir" && as_dir=.
6445 for ac_exec_ext in '' $ac_executable_extensions; do
6446 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6447 ac_cv_prog_ac_ct_STRIP="strip
"
6448 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6454 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
6457 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6458 if test -n "$ac_ct_STRIP"; then
6459 echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
6460 echo "${ECHO_T}$ac_ct_STRIP" >&6
6462 echo "$as_me:$LINENO: result
: no
" >&5
6463 echo "${ECHO_T}no
" >&6
6468 STRIP="$ac_cv_prog_STRIP"
6471 test -z "$STRIP" && STRIP=:
6478 if test -n "$ac_tool_prefix"; then
6479 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6480 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6481 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6482 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6483 if test "${ac_cv_prog_RANLIB+set}" = set; then
6484 echo $ECHO_N "(cached
) $ECHO_C" >&6
6486 if test -n "$RANLIB"; then
6487 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6493 test -z "$as_dir" && as_dir=.
6494 for ac_exec_ext in '' $ac_executable_extensions; do
6495 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6496 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6497 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6505 RANLIB=$ac_cv_prog_RANLIB
6506 if test -n "$RANLIB"; then
6507 echo "$as_me:$LINENO: result
: $RANLIB" >&5
6508 echo "${ECHO_T}$RANLIB" >&6
6510 echo "$as_me:$LINENO: result
: no
" >&5
6511 echo "${ECHO_T}no
" >&6
6515 if test -z "$ac_cv_prog_RANLIB"; then
6516 ac_ct_RANLIB=$RANLIB
6517 # Extract the first word of "ranlib
", so it can be a program name with args.
6518 set dummy ranlib; ac_word=$2
6519 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6520 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6521 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6522 echo $ECHO_N "(cached
) $ECHO_C" >&6
6524 if test -n "$ac_ct_RANLIB"; then
6525 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6531 test -z "$as_dir" && as_dir=.
6532 for ac_exec_ext in '' $ac_executable_extensions; do
6533 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6534 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6535 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6541 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
6544 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6545 if test -n "$ac_ct_RANLIB"; then
6546 echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
6547 echo "${ECHO_T}$ac_ct_RANLIB" >&6
6549 echo "$as_me:$LINENO: result
: no
" >&5
6550 echo "${ECHO_T}no
" >&6
6553 RANLIB=$ac_ct_RANLIB
6555 RANLIB="$ac_cv_prog_RANLIB"
6558 test -z "$RANLIB" && RANLIB=:
6565 # Determine commands to create old-style static archives.
6566 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
6567 old_postinstall_cmds='chmod 644 $oldlib'
6568 old_postuninstall_cmds=
6570 if test -n "$RANLIB"; then
6573 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6576 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6579 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6615 # If no C compiler was specified, use CC.
6618 # If no C compiler flags were specified, use CFLAGS.
6619 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6621 # Allow CC to be a program name with arguments.
6625 # Check for command to grab the raw symbol name followed by C symbol from nm.
6626 echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
6627 echo $ECHO_N "checking
command to parse
$NM output from
$compiler object...
$ECHO_C" >&6
6628 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6629 echo $ECHO_N "(cached
) $ECHO_C" >&6
6632 # These are sane defaults that work on at least a few old systems.
6633 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6635 # Character class describing NM global symbol codes.
6636 symcode='[BCDEGRST]'
6638 # Regexp to match symbols that can be accessed directly from C.
6639 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6641 # Define system-specific variables.
6646 cygwin* | mingw* | pw32*)
6647 symcode='[ABCDGISTW]'
6650 if test "$host_cpu" = ia64; then
6651 symcode='[ABCDEGRST]'
6655 symcode='[BCDEGRST]'
6658 symcode='[BCDEGQRST]'
6669 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6677 # If we're using GNU nm, then use its standard symbol codes.
6678 case `$NM -V 2>&1` in
6679 *GNU* | *'with BFD'*)
6680 symcode='[ABCDGIRSTW]' ;;
6683 # Transform an extracted symbol line into a proper C declaration.
6684 # Some systems (esp. on ia64) link data and code symbols differently,
6685 # so use this general approach.
6686 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6688 # Transform an extracted symbol line into symbol name and symbol address
6689 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6691 # Handle CRLF in mingw tool chain
6695 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6699 # Try without a prefix underscore, then with it.
6700 for ac_symprfx in "" "_
"; do
6702 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6703 symxfrm="\\1 $ac_symprfx\\2 \\2"
6705 # Write the raw and C identifiers.
6706 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6707 # Fake it for dumpbin and say T for any non-static function
6708 # and D for any global variable.
6709 # Also find C++ and __fastcall symbols from MSVC++,
6710 # which start with @ or ?.
6711 lt_cv_sys_global_symbol_pipe="$AWK '"\
6712 " {last_section=section; section=\$ 3};"\
6713 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6714 " \$ 0!~/External *\|/{next};"\
6715 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6716 " {if(hide[section]) next};"\
6717 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6718 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6719 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6720 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6721 " ' prfx
=^
$ac_symprfx"
6723 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6726 # Check to see that the pipe works correctly.
6730 cat > conftest.$ac_ext <<_LT_EOF
6735 void nm_test_func(void);
6736 void nm_test_func(void){}
6740 int main(){nm_test_var='a';nm_test_func();return(0);}
6743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6744 (eval $ac_compile) 2>&5
6746 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6747 (exit $ac_status); }; then
6748 # Now try to grab the symbols.
6750 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
6751 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6753 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6754 (exit $ac_status); } && test -s "$nlist"; then
6755 # Try sorting and uniquifying the output.
6756 if sort "$nlist" | uniq > "$nlist"T; then
6757 mv -f "$nlist"T "$nlist"
6762 # Make sure that we snagged all the symbols we need.
6763 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6764 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6765 cat <<_LT_EOF > conftest.$ac_ext
6771 # Now generate the symbol file.
6772 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6774 cat <<_LT_EOF >> conftest.$ac_ext
6776 /* The mapping between symbol names and symbols. */
6781 lt__PROGRAM__LTX_preloaded_symbols[] =
6783 { "@PROGRAM@
", (void *) 0 },
6785 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6786 cat <<\_LT_EOF >> conftest.$ac_ext
6790 /* This works around a problem in FreeBSD linker */
6791 #ifdef FREEBSD_WORKAROUND
6792 static const void *lt_preloaded_setup() {
6793 return lt__PROGRAM__LTX_preloaded_symbols;
6801 # Now try linking the two files.
6802 mv conftest.$ac_objext conftstm.$ac_objext
6803 lt_save_LIBS="$LIBS"
6804 lt_save_CFLAGS="$CFLAGS"
6805 LIBS="conftstm.
$ac_objext"
6806 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6808 (eval $ac_link) 2>&5
6810 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6811 (exit $ac_status); } && test -s conftest${ac_exeext}; then
6814 LIBS="$lt_save_LIBS"
6815 CFLAGS="$lt_save_CFLAGS"
6817 echo "cannot
find nm_test_func
in $nlist" >&5
6820 echo "cannot
find nm_test_var
in $nlist" >&5
6823 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6826 echo "$progname: failed program was
:" >&5
6827 cat conftest.$ac_ext >&5
6829 rm -f conftest* conftst*
6831 # Do not use the global_symbol_pipe unless it works.
6832 if test "$pipe_works" = yes; then
6835 lt_cv_sys_global_symbol_pipe=
6841 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6842 lt_cv_sys_global_symbol_to_cdecl=
6844 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6845 echo "$as_me:$LINENO: result
: failed
" >&5
6846 echo "${ECHO_T}failed
" >&6
6848 echo "$as_me:$LINENO: result
: ok
" >&5
6849 echo "${ECHO_T}ok
" >&6
6868 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6869 if test "${enable_libtool_lock+set}" = set; then
6870 enableval="$enable_libtool_lock"
6873 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6875 # Some flags need to be propagated to the compiler or linker for good
6879 # Find out which ABI we are using.
6880 echo 'int i;' > conftest.$ac_ext
6881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6882 (eval $ac_compile) 2>&5
6884 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6885 (exit $ac_status); }; then
6886 case `/usr/bin/file conftest.$ac_objext` in
6898 # Find out which ABI we are using.
6899 echo '#line 6899 "configure
"' > conftest.$ac_ext
6900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6901 (eval $ac_compile) 2>&5
6903 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6904 (exit $ac_status); }; then
6905 if test "$lt_cv_prog_gnu_ld" = yes; then
6906 case `/usr/bin/file conftest.$ac_objext` in
6908 LD="${LD-ld} -melf32bsmip"
6911 LD="${LD-ld} -melf32bmipn32"
6914 LD="${LD-ld} -melf64bmip"
6918 case `/usr/bin/file conftest.$ac_objext` in
6934 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6935 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6936 # Find out which ABI we are using.
6937 echo 'int i;' > conftest.$ac_ext
6938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6939 (eval $ac_compile) 2>&5
6941 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6942 (exit $ac_status); }; then
6943 case `/usr/bin/file conftest.o` in
6946 x86_64-*kfreebsd*-gnu)
6947 LD="${LD-ld} -m elf_i386_fbsd
"
6950 LD="${LD-ld} -m elf_i386
"
6952 ppc64-*linux*|powerpc64-*linux*)
6953 LD="${LD-ld} -m elf32ppclinux
"
6956 LD="${LD-ld} -m elf_s390
"
6959 LD="${LD-ld} -m elf32_sparc
"
6965 x86_64-*kfreebsd*-gnu)
6966 LD="${LD-ld} -m elf_x86_64_fbsd
"
6969 LD="${LD-ld} -m elf_x86_64
"
6971 ppc*-*linux*|powerpc*-*linux*)
6972 LD="${LD-ld} -m elf64ppc
"
6974 s390*-*linux*|s390*-*tpf*)
6975 LD="${LD-ld} -m elf64_s390
"
6978 LD="${LD-ld} -m elf64_sparc
"
6988 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6989 SAVE_CFLAGS="$CFLAGS"
6990 CFLAGS="$CFLAGS -belf"
6991 echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
6992 echo $ECHO_N "checking whether the C compiler needs
-belf...
$ECHO_C" >&6
6993 if test "${lt_cv_cc_needs_belf+set}" = set; then
6994 echo $ECHO_N "(cached
) $ECHO_C" >&6
6997 ac_cpp='$CPP $CPPFLAGS'
6998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7002 cat >conftest.$ac_ext <<_ACEOF
7005 cat confdefs.h >>conftest.$ac_ext
7006 cat >>conftest.$ac_ext <<_ACEOF
7007 /* end confdefs.h. */
7017 rm -f conftest.$ac_objext conftest$ac_exeext
7018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7019 (eval $ac_link) 2>conftest.er1
7021 grep -v '^ *+' conftest.er1 >conftest.err
7023 cat conftest.err >&5
7024 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7025 (exit $ac_status); } &&
7026 { ac_try='test -z "$ac_c_werror_flag"
7027 || test ! -s conftest.err'
7028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7031 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7032 (exit $ac_status); }; } &&
7033 { ac_try='test -s conftest$ac_exeext'
7034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7037 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7038 (exit $ac_status); }; }; then
7039 lt_cv_cc_needs_belf=yes
7041 echo "$as_me: failed program was
:" >&5
7042 sed 's/^/| /' conftest.$ac_ext >&5
7044 lt_cv_cc_needs_belf=no
7046 rm -f conftest.err conftest.$ac_objext \
7047 conftest$ac_exeext conftest.$ac_ext
7049 ac_cpp='$CPP $CPPFLAGS'
7050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7055 echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
7056 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
7057 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7058 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7059 CFLAGS="$SAVE_CFLAGS"
7063 # Find out which ABI we are using.
7064 echo 'int i;' > conftest.$ac_ext
7065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7066 (eval $ac_compile) 2>&5
7068 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7069 (exit $ac_status); }; then
7070 case `/usr/bin/file conftest.o` in
7072 case $lt_cv_prog_gnu_ld in
7073 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7074 *) LD="${LD-ld} -64" ;;
7083 need_locks="$enable_libtool_lock"
7086 for ac_header in dlfcn.h
7088 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
7089 echo "$as_me:$LINENO: checking
for $ac_header" >&5
7090 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6
7091 if eval "test \"\
${$as_ac_Header+set}\" = set"; then
7092 echo $ECHO_N "(cached
) $ECHO_C" >&6
7094 cat >conftest.$ac_ext <<_ACEOF
7097 cat confdefs.h >>conftest.$ac_ext
7098 cat >>conftest.$ac_ext <<_ACEOF
7099 /* end confdefs.h. */
7100 $ac_includes_default
7102 #include <$ac_header>
7104 rm -f conftest.$ac_objext
7105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7106 (eval $ac_compile) 2>conftest.er1
7108 grep -v '^ *+' conftest.er1 >conftest.err
7110 cat conftest.err >&5
7111 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7112 (exit $ac_status); } &&
7113 { ac_try='test -z "$ac_c_werror_flag"
7114 || test ! -s conftest.err'
7115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7118 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7119 (exit $ac_status); }; } &&
7120 { ac_try='test -s conftest.$ac_objext'
7121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7124 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7125 (exit $ac_status); }; }; then
7126 eval "$as_ac_Header=yes"
7128 echo "$as_me: failed program was
:" >&5
7129 sed 's/^/| /' conftest.$ac_ext >&5
7131 eval "$as_ac_Header=no
"
7133 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7135 echo "$as_me:$LINENO: result
: `eval echo '${'$as_ac_Header'}'`" >&5
7136 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7137 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7138 cat >>confdefs.h <<_ACEOF
7139 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
7148 # This can be used to rebuild libtool when needed
7149 LIBTOOL_DEPS="$ltmain"
7151 # Always use our own libtool.
7152 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7178 test -z "$LN_S" && LN_S="ln -s"
7193 if test -n "${ZSH_VERSION+set}" ; then
7194 setopt NO_GLOB_SUBST
7197 echo "$as_me:$LINENO: checking
for objdir
" >&5
7198 echo $ECHO_N "checking
for objdir...
$ECHO_C" >&6
7199 if test "${lt_cv_objdir+set}" = set; then
7200 echo $ECHO_N "(cached
) $ECHO_C" >&6
7202 rm -f .libs 2>/dev/null
7203 mkdir .libs 2>/dev/null
7204 if test -d .libs; then
7207 # MS-DOS does not allow filenames that begin with a dot.
7210 rmdir .libs 2>/dev/null
7212 echo "$as_me:$LINENO: result
: $lt_cv_objdir" >&5
7213 echo "${ECHO_T}$lt_cv_objdir" >&6
7214 objdir=$lt_cv_objdir
7220 cat >>confdefs.h <<_ACEOF
7221 #define LT_OBJDIR "$lt_cv_objdir/"
7242 # AIX sometimes has problems with the GCC collect2 program. For some
7243 # reason, if we set the COLLECT_NAMES environment variable, the problems
7244 # vanish in a puff of smoke.
7245 if test "X
${COLLECT_NAMES+set}" != Xset; then
7247 export COLLECT_NAMES
7252 # Sed substitution that helps us do robust quoting. It backslashifies
7253 # metacharacters that are still active within double-quoted strings.
7254 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7256 # Same as above, but do not quote variable references.
7257 double_quote_subst='s/\(["`\\]\
)/\\\
1/g
'
7259 # Sed substitution to delay expansion of an escaped shell variable in a
7260 # double_quote_subst'ed string.
7261 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
7263 # Sed substitution to delay expansion of an escaped single quote.
7264 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
7266 # Sed substitution to avoid accidental globbing in evaled expressions
7267 no_glob_subst
='s/\*/\\\*/g'
7271 can_build_shared
=yes
7273 # All known linkers require a `.a' archive for static linking (except MSVC,
7274 # which needs '.lib').
7277 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7280 old_CFLAGS
="$CFLAGS"
7282 # Set sane defaults for various variables
7283 test -z "$CC" && CC
=cc
7284 test -z "$LTCC" && LTCC
=$CC
7285 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7286 test -z "$LD" && LD
=ld
7287 test -z "$ac_objext" && ac_objext
=o
7289 for cc_temp
in $compiler""; do
7291 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7292 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7297 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7300 # Only perform the check for file, if the check method requires it
7301 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7302 case $deplibs_check_method in
7304 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7305 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7306 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
7307 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7308 echo $ECHO_N "(cached) $ECHO_C" >&6
7312 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7315 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7316 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7317 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7318 for ac_dir
in $ac_dummy; do
7320 test -z "$ac_dir" && ac_dir
=.
7321 if test -f $ac_dir/${ac_tool_prefix}file; then
7322 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7323 if test -n "$file_magic_test_file"; then
7324 case $deplibs_check_method in
7326 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7327 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7328 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7329 $EGREP "$file_magic_regex" > /dev
/null
; then
7334 *** Warning: the command libtool uses to detect shared libraries,
7335 *** $file_magic_cmd, produces output that libtool cannot recognize.
7336 *** The result is that libtool may fail to recognize shared libraries
7337 *** as such. This will affect the creation of libtool libraries that
7338 *** depend on shared libraries, but programs linked with such libtool
7339 *** libraries will work regardless of this problem. Nevertheless, you
7340 *** may want to report the problem to your system manager and/or to
7341 *** bug-libtool@gnu.org
7351 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7356 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7357 if test -n "$MAGIC_CMD"; then
7358 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7359 echo "${ECHO_T}$MAGIC_CMD" >&6
7361 echo "$as_me:$LINENO: result: no" >&5
7362 echo "${ECHO_T}no" >&6
7369 if test -z "$lt_cv_path_MAGIC_CMD"; then
7370 if test -n "$ac_tool_prefix"; then
7371 echo "$as_me:$LINENO: checking for file" >&5
7372 echo $ECHO_N "checking for file... $ECHO_C" >&6
7373 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7374 echo $ECHO_N "(cached) $ECHO_C" >&6
7378 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7381 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7382 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7383 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7384 for ac_dir
in $ac_dummy; do
7386 test -z "$ac_dir" && ac_dir
=.
7387 if test -f $ac_dir/file; then
7388 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7389 if test -n "$file_magic_test_file"; then
7390 case $deplibs_check_method in
7392 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7393 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7394 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7395 $EGREP "$file_magic_regex" > /dev
/null
; then
7400 *** Warning: the command libtool uses to detect shared libraries,
7401 *** $file_magic_cmd, produces output that libtool cannot recognize.
7402 *** The result is that libtool may fail to recognize shared libraries
7403 *** as such. This will affect the creation of libtool libraries that
7404 *** depend on shared libraries, but programs linked with such libtool
7405 *** libraries will work regardless of this problem. Nevertheless, you
7406 *** may want to report the problem to your system manager and/or to
7407 *** bug-libtool@gnu.org
7417 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7422 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7423 if test -n "$MAGIC_CMD"; then
7424 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7425 echo "${ECHO_T}$MAGIC_CMD" >&6
7427 echo "$as_me:$LINENO: result: no" >&5
7428 echo "${ECHO_T}no" >&6
7441 # Use C for the default configuration in the libtool script
7445 ac_cpp
='$CPP $CPPFLAGS'
7446 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7447 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7448 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7451 # Source file extension for C test sources.
7454 # Object file extension for compiled C test sources.
7458 # Code to be used in simple compile tests
7459 lt_simple_compile_test_code
="int some_variable = 0;"
7461 # Code to be used in simple link tests
7462 lt_simple_link_test_code
='int main(){return(0);}'
7470 # If no C compiler was specified, use CC.
7473 # If no C compiler flags were specified, use CFLAGS.
7474 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7476 # Allow CC to be a program name with arguments.
7479 # Save the default compiler, since it gets overwritten when the other
7480 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7481 compiler_DEFAULT
=$CC
7483 # save warnings/boilerplate of simple test code
7484 ac_outfile
=conftest.
$ac_objext
7485 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7486 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7487 _lt_compiler_boilerplate
=`cat conftest.err`
7490 ac_outfile
=conftest.
$ac_objext
7491 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7492 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7493 _lt_linker_boilerplate
=`cat conftest.err`
7498 ## There is no encapsulation within the following macros, do not change
7499 ## the running order or otherwise move them around unless you know exactly
7500 ## what you are doing...
7501 if test -n "$compiler"; then
7503 lt_prog_compiler_no_builtin_flag
=
7505 if test "$GCC" = yes; then
7506 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
7508 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7509 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
7510 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7511 echo $ECHO_N "(cached) $ECHO_C" >&6
7513 lt_cv_prog_compiler_rtti_exceptions
=no
7514 ac_outfile
=conftest.
$ac_objext
7515 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7516 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7517 # Insert the option either (1) after the last *FLAGS variable, or
7518 # (2) before a word containing "conftest.", or (3) at the end.
7519 # Note that $ac_compile itself does not contain backslashes and begins
7520 # with a dollar sign (not a hyphen), so the echo should work correctly.
7521 # The option is referenced via a variable to avoid confusing sed.
7522 lt_compile
=`echo "$ac_compile" | $SED \
7523 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7524 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7525 -e 's:$: $lt_compiler_flag:'`
7526 (eval echo "\"\$as_me:7526: $lt_compile\"" >&5)
7527 (eval "$lt_compile" 2>conftest.err
)
7529 cat conftest.err
>&5
7530 echo "$as_me:7530: \$? = $ac_status" >&5
7531 if (exit $ac_status) && test -s "$ac_outfile"; then
7532 # The compiler can only warn and ignore the option if not recognized
7533 # So say no if there are warnings other than the usual output.
7534 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7535 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7536 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7537 lt_cv_prog_compiler_rtti_exceptions
=yes
7543 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7544 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
7546 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7547 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7559 lt_prog_compiler_wl
=
7560 lt_prog_compiler_pic
=
7561 lt_prog_compiler_static
=
7563 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7564 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
7566 if test "$GCC" = yes; then
7567 lt_prog_compiler_wl
='-Wl,'
7568 lt_prog_compiler_static
='-static'
7572 # All AIX code is PIC.
7573 if test "$host_cpu" = ia64
; then
7574 # AIX 5 now supports IA64 processor
7575 lt_prog_compiler_static
='-Bstatic'
7580 if test "$host_cpu" = m68k
; then
7581 # FIXME: we need at least 68020 code to build shared libraries, but
7582 # adding the `-m68020' flag to GCC prevents building anything better,
7584 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7588 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7589 # PIC is the default for these OSes.
7592 mingw
* | cygwin
* | pw32
* | os2
*)
7593 # This hack is so that the source file can tell whether it is being
7594 # built for inclusion in a dll (and should export symbols for example).
7595 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7596 # (--disable-auto-import) libraries
7597 lt_prog_compiler_pic
='-DDLL_EXPORT'
7600 darwin
* | rhapsody
*)
7601 # PIC is the default on this platform
7602 # Common symbols not allowed in MH_DYLIB files
7603 lt_prog_compiler_pic
='-fno-common'
7607 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7614 lt_prog_compiler_pic
='-fPIC'
7620 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7621 # Instead, we relocate shared libraries at runtime.
7625 # Just because we use GCC doesn't mean we suddenly get shared libraries
7626 # on systems that don't support them.
7627 lt_prog_compiler_can_build_shared
=no
7632 # QNX uses GNU C++, but need to define -shared option too, otherwise
7634 lt_prog_compiler_pic
='-fPIC -shared'
7638 if test -d /usr
/nec
; then
7639 lt_prog_compiler_pic
=-Kconform_pic
7644 lt_prog_compiler_pic
='-fPIC'
7648 # PORTME Check for flag to pass linker flags through the system compiler.
7651 lt_prog_compiler_wl
='-Wl,'
7652 if test "$host_cpu" = ia64
; then
7653 # AIX 5 now supports IA64 processor
7654 lt_prog_compiler_static
='-Bstatic'
7656 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7660 # PIC is the default on this platform
7661 # Common symbols not allowed in MH_DYLIB files
7662 case $cc_basename in
7664 lt_prog_compiler_pic
='-qnocommon'
7665 lt_prog_compiler_wl
='-Wl,'
7670 mingw
* | cygwin
* | pw32
* | os2
*)
7671 # This hack is so that the source file can tell whether it is being
7672 # built for inclusion in a dll (and should export symbols for example).
7673 lt_prog_compiler_pic
='-DDLL_EXPORT'
7676 hpux9
* | hpux10
* | hpux11
*)
7677 lt_prog_compiler_wl
='-Wl,'
7678 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7685 lt_prog_compiler_pic
='+Z'
7688 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7689 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7692 irix5
* | irix6
* | nonstopux
*)
7693 lt_prog_compiler_wl
='-Wl,'
7694 # PIC (with -KPIC) is the default.
7695 lt_prog_compiler_static
='-non_shared'
7698 linux
* | k
*bsd
*-gnu)
7699 case $cc_basename in
7701 lt_prog_compiler_wl
='-Wl,'
7702 lt_prog_compiler_pic
='-KPIC'
7703 lt_prog_compiler_static
='-static'
7705 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7706 # Portland Group compilers (*not* the Pentium gcc compiler,
7707 # which looks to be a dead project)
7708 lt_prog_compiler_wl
='-Wl,'
7709 lt_prog_compiler_pic
='-fpic'
7710 lt_prog_compiler_static
='-Bstatic'
7713 lt_prog_compiler_wl
='-Wl,'
7714 # All Alpha code is PIC.
7715 lt_prog_compiler_static
='-non_shared'
7718 case `$CC -V 2>&1 | sed 5q` in
7721 lt_prog_compiler_pic
='-KPIC'
7722 lt_prog_compiler_static
='-Bstatic'
7723 lt_prog_compiler_wl
='-Wl,'
7726 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7727 lt_prog_compiler_pic
='-KPIC'
7728 lt_prog_compiler_static
='-Bstatic'
7729 lt_prog_compiler_wl
=''
7737 lt_prog_compiler_pic
='-KPIC'
7738 lt_prog_compiler_static
='-Bstatic'
7742 # QNX uses GNU C++, but need to define -shared option too, otherwise
7744 lt_prog_compiler_pic
='-fPIC -shared'
7747 osf3
* | osf4
* | osf5
*)
7748 lt_prog_compiler_wl
='-Wl,'
7749 # All OSF/1 code is PIC.
7750 lt_prog_compiler_static
='-non_shared'
7754 lt_prog_compiler_static
='-non_shared'
7758 lt_prog_compiler_pic
='-KPIC'
7759 lt_prog_compiler_static
='-Bstatic'
7760 case $cc_basename in
7762 lt_prog_compiler_wl
='-Qoption ld ';;
7764 lt_prog_compiler_wl
='-Wl,';;
7769 lt_prog_compiler_wl
='-Qoption ld '
7770 lt_prog_compiler_pic
='-PIC'
7771 lt_prog_compiler_static
='-Bstatic'
7774 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7775 lt_prog_compiler_wl
='-Wl,'
7776 lt_prog_compiler_pic
='-KPIC'
7777 lt_prog_compiler_static
='-Bstatic'
7781 if test -d /usr
/nec
;then
7782 lt_prog_compiler_pic
='-Kconform_pic'
7783 lt_prog_compiler_static
='-Bstatic'
7787 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7788 lt_prog_compiler_wl
='-Wl,'
7789 lt_prog_compiler_pic
='-KPIC'
7790 lt_prog_compiler_static
='-Bstatic'
7794 lt_prog_compiler_wl
='-Wl,'
7795 lt_prog_compiler_can_build_shared
=no
7799 lt_prog_compiler_pic
='-pic'
7800 lt_prog_compiler_static
='-Bstatic'
7804 lt_prog_compiler_can_build_shared
=no
7810 # For platforms which do not support PIC, -DPIC is meaningless:
7812 lt_prog_compiler_pic
=
7815 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7818 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7819 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
7827 # Check to make sure the PIC flag actually works.
7829 if test -n "$lt_prog_compiler_pic"; then
7830 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7831 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
7832 if test "${lt_prog_compiler_pic_works+set}" = set; then
7833 echo $ECHO_N "(cached) $ECHO_C" >&6
7835 lt_prog_compiler_pic_works
=no
7836 ac_outfile
=conftest.
$ac_objext
7837 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7838 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7839 # Insert the option either (1) after the last *FLAGS variable, or
7840 # (2) before a word containing "conftest.", or (3) at the end.
7841 # Note that $ac_compile itself does not contain backslashes and begins
7842 # with a dollar sign (not a hyphen), so the echo should work correctly.
7843 # The option is referenced via a variable to avoid confusing sed.
7844 lt_compile
=`echo "$ac_compile" | $SED \
7845 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7846 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7847 -e 's:$: $lt_compiler_flag:'`
7848 (eval echo "\"\$as_me:7848: $lt_compile\"" >&5)
7849 (eval "$lt_compile" 2>conftest.err
)
7851 cat conftest.err
>&5
7852 echo "$as_me:7852: \$? = $ac_status" >&5
7853 if (exit $ac_status) && test -s "$ac_outfile"; then
7854 # The compiler can only warn and ignore the option if not recognized
7855 # So say no if there are warnings other than the usual output.
7856 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7857 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7858 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7859 lt_prog_compiler_pic_works
=yes
7865 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7866 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
7868 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
7869 case $lt_prog_compiler_pic in
7871 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7874 lt_prog_compiler_pic
=
7875 lt_prog_compiler_can_build_shared
=no
7886 # Check to make sure the static flag actually works.
7888 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7889 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7890 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
7891 if test "${lt_prog_compiler_static_works+set}" = set; then
7892 echo $ECHO_N "(cached) $ECHO_C" >&6
7894 lt_prog_compiler_static_works
=no
7895 save_LDFLAGS
="$LDFLAGS"
7896 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7897 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7898 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7899 # The linker can only warn and ignore the option if not recognized
7900 # So say no if there are warnings
7901 if test -s conftest.err
; then
7902 # Append any errors to the config.log.
7903 cat conftest.err
1>&5
7904 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7905 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7906 if diff conftest.exp conftest.er2
>/dev
/null
; then
7907 lt_prog_compiler_static_works
=yes
7910 lt_prog_compiler_static_works
=yes
7914 LDFLAGS
="$save_LDFLAGS"
7917 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7918 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
7920 if test x
"$lt_prog_compiler_static_works" = xyes
; then
7923 lt_prog_compiler_static
=
7932 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7933 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7934 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7935 echo $ECHO_N "(cached) $ECHO_C" >&6
7937 lt_cv_prog_compiler_c_o
=no
7938 $RM -r conftest
2>/dev
/null
7942 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7944 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7945 # Insert the option either (1) after the last *FLAGS variable, or
7946 # (2) before a word containing "conftest.", or (3) at the end.
7947 # Note that $ac_compile itself does not contain backslashes and begins
7948 # with a dollar sign (not a hyphen), so the echo should work correctly.
7949 lt_compile
=`echo "$ac_compile" | $SED \
7950 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7951 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7952 -e 's:$: $lt_compiler_flag:'`
7953 (eval echo "\"\$as_me:7953: $lt_compile\"" >&5)
7954 (eval "$lt_compile" 2>out
/conftest.err
)
7956 cat out
/conftest.err
>&5
7957 echo "$as_me:7957: \$? = $ac_status" >&5
7958 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7960 # The compiler can only warn and ignore the option if not recognized
7961 # So say no if there are warnings
7962 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7963 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7964 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7965 lt_cv_prog_compiler_c_o
=yes
7970 # SGI C++ compiler will create directory out/ii_files/ for
7971 # template instantiation
7972 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7973 $RM out
/* && rmdir out
7979 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7980 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7987 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7988 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7989 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7990 echo $ECHO_N "(cached) $ECHO_C" >&6
7992 lt_cv_prog_compiler_c_o
=no
7993 $RM -r conftest
2>/dev
/null
7997 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7999 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8000 # Insert the option either (1) after the last *FLAGS variable, or
8001 # (2) before a word containing "conftest.", or (3) at the end.
8002 # Note that $ac_compile itself does not contain backslashes and begins
8003 # with a dollar sign (not a hyphen), so the echo should work correctly.
8004 lt_compile
=`echo "$ac_compile" | $SED \
8005 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8006 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8007 -e 's:$: $lt_compiler_flag:'`
8008 (eval echo "\"\$as_me:8008: $lt_compile\"" >&5)
8009 (eval "$lt_compile" 2>out
/conftest.err
)
8011 cat out
/conftest.err
>&5
8012 echo "$as_me:8012: \$? = $ac_status" >&5
8013 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8015 # The compiler can only warn and ignore the option if not recognized
8016 # So say no if there are warnings
8017 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8018 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8019 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8020 lt_cv_prog_compiler_c_o
=yes
8025 # SGI C++ compiler will create directory out/ii_files/ for
8026 # template instantiation
8027 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8028 $RM out
/* && rmdir out
8034 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8035 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
8040 hard_links
="nottested"
8041 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8042 # do not overwrite the value of need_locks provided by the user
8043 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8044 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
8047 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8049 ln conftest.a conftest.b
2>&5 || hard_links
=no
8050 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8051 echo "$as_me:$LINENO: result: $hard_links" >&5
8052 echo "${ECHO_T}$hard_links" >&6
8053 if test "$hard_links" = no
; then
8054 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8055 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8067 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8068 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
8071 allow_undefined_flag
=
8072 always_export_symbols
=no
8074 archive_expsym_cmds
=
8075 compiler_needs_object
=no
8076 enable_shared_with_static_runtimes
=no
8077 export_dynamic_flag_spec
=
8078 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8079 hardcode_automatic
=no
8081 hardcode_direct_absolute
=no
8082 hardcode_libdir_flag_spec
=
8083 hardcode_libdir_flag_spec_ld
=
8084 hardcode_libdir_separator
=
8086 hardcode_shlibpath_var
=unsupported
8088 link_all_deplibs
=unknown
8091 old_archive_from_new_cmds
=
8092 old_archive_from_expsyms_cmds
=
8093 thread_safe_flag_spec
=
8094 whole_archive_flag_spec
=
8095 # include_expsyms should be a list of space-separated symbols to be *always*
8096 # included in the symbol list
8098 # exclude_expsyms can be an extended regexp of symbols to exclude
8099 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8100 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8101 # as well as any symbol that contains `d'.
8102 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
8103 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8104 # platforms (ab)use it in PIC code, but their linkers get confused if
8105 # the symbol is explicitly referenced. Since portable code cannot
8106 # rely on this symbol name, it's probably fine to never include it in
8107 # preloaded symbol tables.
8108 extract_expsyms_cmds
=
8111 cygwin
* | mingw
* | pw32
*)
8112 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8113 # When not using gcc, we currently assume that we are using
8114 # Microsoft Visual C++.
8115 if test "$GCC" != yes; then
8120 # we just hope/assume this is gcc and not c89 (= MSVC++)
8129 if test "$with_gnu_ld" = yes; then
8130 # If archive_cmds runs LD, not CC, wlarc should be empty
8133 # Set some defaults for GNU ld with shared library support. These
8134 # are reset later if shared libraries are not supported. Putting them
8135 # here allows them to be overridden if necessary.
8136 runpath_var
=LD_RUN_PATH
8137 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8138 export_dynamic_flag_spec
='${wl}--export-dynamic'
8139 # ancient GNU ld didn't support --whole-archive et. al.
8140 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8141 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8143 whole_archive_flag_spec
=
8145 supports_anon_versioning
=no
8146 case `$LD -v 2>&1` in
8147 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8148 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8149 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8150 *\
2.11.
*) ;; # other 2.11 versions
8151 *) supports_anon_versioning
=yes ;;
8154 # See if GNU ld supports shared libraries.
8156 aix3
* | aix4
* | aix5
*)
8157 # On AIX/PPC, the GNU linker is very broken
8158 if test "$host_cpu" != ia64
; then
8162 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8163 *** to be unable to reliably create shared libraries on AIX.
8164 *** Therefore, libtool is disabling shared libraries support. If you
8165 *** really care for shared libraries, you may want to modify your PATH
8166 *** so that a non-GNU linker is found, and then restart.
8173 if test "$host_cpu" = m68k
; then
8174 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)'
8175 hardcode_libdir_flag_spec
='-L$libdir'
8176 hardcode_minus_L
=yes
8179 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
8180 # that the semantics of dynamic libraries on AmigaOS, at least up
8181 # to version 4, is to share data among multiple programs linked
8182 # with the same dynamic library. Since this doesn't match the
8183 # behavior of shared libraries on other platforms, we can't use
8189 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8190 allow_undefined_flag
=unsupported
8191 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8192 # support --undefined. This deserves some investigation. FIXME
8193 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8199 cygwin
* | mingw
* | pw32
*)
8200 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8201 # as there is no search path for DLLs.
8202 hardcode_libdir_flag_spec
='-L$libdir'
8203 allow_undefined_flag
=unsupported
8204 always_export_symbols
=no
8205 enable_shared_with_static_runtimes
=yes
8206 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8208 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8209 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8210 # If the export-symbols file already is a .def file (1st line
8211 # is EXPORTS), use it as is; otherwise, prepend...
8212 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8213 cp $export_symbols $output_objdir/$soname.def;
8215 echo EXPORTS > $output_objdir/$soname.def;
8216 cat $export_symbols >> $output_objdir/$soname.def;
8218 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8226 hardcode_shlibpath_var
=no
8227 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8228 export_dynamic_flag_spec
='${wl}-E'
8229 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8230 # Instead, shared libraries are loaded at an image base (0x10000000 by
8231 # default) and relocated if they conflict, which is a slow very memory
8232 # consuming and fragmenting process. To avoid this, we pick a random,
8233 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8234 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8235 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8236 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'
8239 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
8241 if test "$host_os" = linux-dietlibc
; then
8242 case $cc_basename in
8243 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8246 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8247 && test "$tmp_diet" = no
8250 case $cc_basename,$host_cpu in
8251 pgcc
*) # Portland Group C compiler
8252 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'
8253 tmp_addflag
=' $pic_flag'
8255 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
8256 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'
8257 tmp_addflag
=' $pic_flag -Mnomain' ;;
8258 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8259 tmp_addflag
=' -i_dynamic' ;;
8260 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8261 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8262 ifc
* | ifort
*) # Intel Fortran compiler
8263 tmp_addflag
=' -nofor_main' ;;
8265 case `$CC -V 2>&1 | sed 5q` in
8266 *Sun\ C
*) # Sun C 5.9
8267 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'
8268 compiler_needs_object
=yes
8269 tmp_sharedflag
='-G' ;;
8270 *Sun\ F
*) # Sun Fortran 8.3
8271 tmp_sharedflag
='-G' ;;
8273 tmp_sharedflag
='-shared' ;;
8275 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8277 if test "x$supports_anon_versioning" = xyes
; then
8278 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8279 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8280 echo "local: *; };" >> $output_objdir/$libname.ver~
8281 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8289 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8290 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8293 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8294 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8299 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8303 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8304 *** create shared libraries on Solaris systems. Therefore, libtool
8305 *** is disabling shared libraries support. We urge you to upgrade GNU
8306 *** binutils to release 2.9.1 or newer. Another option is to modify
8307 *** your PATH or compiler configuration so that the native linker is
8308 *** used, and then restart.
8311 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8312 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8313 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8319 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8320 case `$LD -v 2>&1` in
8321 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8325 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8326 *** reliably create shared libraries on SCO systems. Therefore, libtool
8327 *** is disabling shared libraries support. We urge you to upgrade GNU
8328 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8329 *** your PATH or compiler configuration so that the native linker is
8330 *** used, and then restart.
8335 # For security reasons, it is highly recommended that you always
8336 # use absolute paths for naming shared libraries, and exclude the
8337 # DT_RUNPATH tag from executables and libraries. But doing so
8338 # requires that you compile everything twice, which is a pain.
8339 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8340 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8341 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8342 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8351 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8354 hardcode_shlibpath_var
=no
8358 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8359 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8360 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8367 if test "$ld_shlibs" = no
; then
8369 hardcode_libdir_flag_spec
=
8370 export_dynamic_flag_spec
=
8371 whole_archive_flag_spec
=
8374 # PORTME fill in a description of your system's linker (not GNU ld)
8377 allow_undefined_flag
=unsupported
8378 always_export_symbols
=yes
8379 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'
8380 # Note: this linker hardcodes the directories in LIBPATH if there
8381 # are no directories specified by -L.
8382 hardcode_minus_L
=yes
8383 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8384 # Neither direct hardcoding nor static linking is supported with a
8386 hardcode_direct
=unsupported
8391 if test "$host_cpu" = ia64
; then
8392 # On IA64, the linker does run time linking by default, so we don't
8393 # have to do anything special.
8394 aix_use_runtimelinking
=no
8395 exp_sym_flag
='-Bexport'
8398 # If we're using GNU nm, then we don't want the "-C" option.
8399 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8400 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8401 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'
8403 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'
8405 aix_use_runtimelinking
=no
8407 # Test if we are trying to use run time linking or normal
8408 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8409 # need to do runtime linking.
8410 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
8411 for ld_flag
in $LDFLAGS; do
8412 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8413 aix_use_runtimelinking
=yes
8420 exp_sym_flag
='-bexport'
8421 no_entry_flag
='-bnoentry'
8424 # When large executables or shared objects are built, AIX ld can
8425 # have problems creating the table of contents. If linking a library
8426 # or program results in "error TOC overflow" add -mminimal-toc to
8427 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8428 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8432 hardcode_direct_absolute
=yes
8433 hardcode_libdir_separator
=':'
8434 link_all_deplibs
=yes
8435 file_list_spec
='${wl}-f,'
8437 if test "$GCC" = yes; then
8438 case $host_os in aix4.
[012]|aix4.
[012].
*)
8439 # We only want to do this on AIX 4.2 and lower, the check
8440 # below for broken collect2 doesn't work under 4.3+
8441 collect2name
=`${CC} -print-prog-name=collect2`
8442 if test -f "$collect2name" &&
8443 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8445 # We have reworked collect2
8448 # We have old collect2
8449 hardcode_direct
=unsupported
8450 # It fails to find uninstalled libraries when the uninstalled
8451 # path is not listed in the libpath. Setting hardcode_minus_L
8452 # to unsupported forces relinking
8453 hardcode_minus_L
=yes
8454 hardcode_libdir_flag_spec
='-L$libdir'
8455 hardcode_libdir_separator
=
8459 shared_flag
='-shared'
8460 if test "$aix_use_runtimelinking" = yes; then
8461 shared_flag
="$shared_flag "'${wl}-G'
8465 if test "$host_cpu" = ia64
; then
8466 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8467 # chokes on -Wl,-G. The following line is correct:
8470 if test "$aix_use_runtimelinking" = yes; then
8471 shared_flag
='${wl}-G'
8473 shared_flag
='${wl}-bM:SRE'
8478 # It seems that -bexpall does not export symbols beginning with
8479 # underscore (_), so it is better to generate a list of symbols to export.
8480 always_export_symbols
=yes
8481 if test "$aix_use_runtimelinking" = yes; then
8482 # Warning - without using the other runtime loading flags (-brtl),
8483 # -berok will link without error, but may produce a broken library.
8484 allow_undefined_flag
='-berok'
8485 # Determine the default libpath from the value encoded in an
8487 cat >conftest.
$ac_ext <<_ACEOF
8490 cat confdefs.h
>>conftest.
$ac_ext
8491 cat >>conftest.
$ac_ext <<_ACEOF
8492 /* end confdefs.h. */
8502 rm -f conftest.
$ac_objext conftest
$ac_exeext
8503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8504 (eval $ac_link) 2>conftest.er1
8506 grep -v '^ *+' conftest.er1
>conftest.err
8508 cat conftest.err
>&5
8509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8510 (exit $ac_status); } &&
8511 { ac_try
='test -z "$ac_c_werror_flag"
8512 || test ! -s conftest.err'
8513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8517 (exit $ac_status); }; } &&
8518 { ac_try
='test -s conftest$ac_exeext'
8519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8523 (exit $ac_status); }; }; then
8525 lt_aix_libpath_sed
='
8526 /Import File Strings/,/^$/ {
8532 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8533 # Check for a 64-bit object if we didn't find anything.
8534 if test -z "$aix_libpath"; then
8535 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8538 echo "$as_me: failed program was:" >&5
8539 sed 's/^/| /' conftest.
$ac_ext >&5
8542 rm -f conftest.err conftest.
$ac_objext \
8543 conftest
$ac_exeext conftest.
$ac_ext
8544 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8546 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8547 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"
8549 if test "$host_cpu" = ia64
; then
8550 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
8551 allow_undefined_flag
="-z nodefs"
8552 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"
8554 # Determine the default libpath from the value encoded in an
8556 cat >conftest.
$ac_ext <<_ACEOF
8559 cat confdefs.h
>>conftest.
$ac_ext
8560 cat >>conftest.
$ac_ext <<_ACEOF
8561 /* end confdefs.h. */
8571 rm -f conftest.
$ac_objext conftest
$ac_exeext
8572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8573 (eval $ac_link) 2>conftest.er1
8575 grep -v '^ *+' conftest.er1
>conftest.err
8577 cat conftest.err
>&5
8578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8579 (exit $ac_status); } &&
8580 { ac_try
='test -z "$ac_c_werror_flag"
8581 || test ! -s conftest.err'
8582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8586 (exit $ac_status); }; } &&
8587 { ac_try
='test -s conftest$ac_exeext'
8588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8592 (exit $ac_status); }; }; then
8594 lt_aix_libpath_sed
='
8595 /Import File Strings/,/^$/ {
8601 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8602 # Check for a 64-bit object if we didn't find anything.
8603 if test -z "$aix_libpath"; then
8604 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8607 echo "$as_me: failed program was:" >&5
8608 sed 's/^/| /' conftest.
$ac_ext >&5
8611 rm -f conftest.err conftest.
$ac_objext \
8612 conftest
$ac_exeext conftest.
$ac_ext
8613 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8615 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8616 # Warning - without using the other run time loading flags,
8617 # -berok will link without error, but may produce a broken library.
8618 no_undefined_flag
=' ${wl}-bernotok'
8619 allow_undefined_flag
=' ${wl}-berok'
8620 # Exported symbols can be pulled into shared objects from archives
8621 whole_archive_flag_spec
='$convenience'
8622 archive_cmds_need_lc
=yes
8623 # This is similar to how AIX traditionally builds its shared libraries.
8624 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'
8630 if test "$host_cpu" = m68k
; then
8631 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)'
8632 hardcode_libdir_flag_spec
='-L$libdir'
8633 hardcode_minus_L
=yes
8635 # see comment about different semantics on the GNU ld section
8640 export_dynamic_flag_spec
=-rdynamic
8643 cygwin
* | mingw
* | pw32
*)
8644 # When not using gcc, we currently assume that we are using
8645 # Microsoft Visual C++.
8646 # hardcode_libdir_flag_spec is actually meaningless, as there is
8647 # no search path for DLLs.
8648 hardcode_libdir_flag_spec
=' '
8649 allow_undefined_flag
=unsupported
8650 # Tell ltmain to make .lib files, not .a files.
8652 # Tell ltmain to make .dll files, not .so files.
8654 # FIXME: Setting linknames here is a bad hack.
8655 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8656 # The linker will automatically build a .lib file if we build a DLL.
8657 old_archive_from_new_cmds
='true'
8658 # FIXME: Should let the user specify the lib program.
8659 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8660 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8661 enable_shared_with_static_runtimes
=yes
8664 darwin
* | rhapsody
*)
8666 rhapsody
* | darwin1.
[012])
8667 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
8670 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
8672 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8675 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
8680 archive_cmds_need_lc
=no
8682 hardcode_automatic
=yes
8683 hardcode_shlibpath_var
=unsupported
8684 whole_archive_flag_spec
=''
8685 link_all_deplibs
=yes
8686 if test "$GCC" = yes ; then
8687 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
8688 echo $ECHO_N "(cached) $ECHO_C" >&6
8690 lt_cv_apple_cc_single_mod
=no
8691 if test -z "${LT_MULTI_MODULE}"; then
8692 # By default we will add the -single_module flag. You can override
8693 # by either setting the environment variable LT_MULTI_MODULE
8694 # non-empty at configure time, or by adding -multi-module to the
8696 echo "int foo(void){return 1;}" > conftest.c
8697 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8698 -dynamiclib ${wl}-single_module conftest.c
8699 if test -f libconftest.dylib
; then
8700 lt_cv_apple_cc_single_mod
=yes
8701 rm libconftest.dylib
8707 output_verbose_link_cmd
=echo
8708 if test "X$lt_cv_apple_cc_single_mod" = Xyes
; then
8709 archive_cmds
='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8710 archive_expsym_cmds
='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $single_module -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8712 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8713 archive_expsym_cmds
='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8715 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8716 module_expsym_cmds
='sed -e "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8718 case $cc_basename in
8720 output_verbose_link_cmd
=echo
8721 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
8722 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8723 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8724 archive_expsym_cmds
='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8725 module_expsym_cmds
='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8735 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8736 hardcode_libdir_flag_spec
='-L$libdir'
8737 hardcode_shlibpath_var
=no
8744 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8745 # support. Future versions do this automatically, but an explicit c++rt0.o
8746 # does not break anything, and helps significantly (at the cost of a little
8749 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8750 hardcode_libdir_flag_spec
='-R$libdir'
8752 hardcode_shlibpath_var
=no
8755 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8757 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8759 hardcode_minus_L
=yes
8760 hardcode_shlibpath_var
=no
8763 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8764 freebsd
* | dragonfly
*)
8765 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8766 hardcode_libdir_flag_spec
='-R$libdir'
8768 hardcode_shlibpath_var
=no
8772 if test "$GCC" = yes; then
8773 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'
8775 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'
8777 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8778 hardcode_libdir_separator
=:
8781 # hardcode_minus_L: Not really in the search PATH,
8782 # but as the default location of the library.
8783 hardcode_minus_L
=yes
8784 export_dynamic_flag_spec
='${wl}-E'
8788 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8789 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8791 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8793 if test "$with_gnu_ld" = no
; then
8794 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8795 hardcode_libdir_flag_spec_ld
='+b $libdir'
8796 hardcode_libdir_separator
=:
8798 hardcode_direct_absolute
=yes
8799 export_dynamic_flag_spec
='${wl}-E'
8800 # hardcode_minus_L: Not really in the search PATH,
8801 # but as the default location of the library.
8802 hardcode_minus_L
=yes
8807 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8810 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8813 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8816 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8822 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8825 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8828 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8832 if test "$with_gnu_ld" = no
; then
8833 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8834 hardcode_libdir_separator
=:
8839 hardcode_shlibpath_var
=no
8843 hardcode_direct_absolute
=yes
8844 export_dynamic_flag_spec
='${wl}-E'
8846 # hardcode_minus_L: Not really in the search PATH,
8847 # but as the default location of the library.
8848 hardcode_minus_L
=yes
8854 irix5
* | irix6
* | nonstopux
*)
8855 if test "$GCC" = yes; then
8856 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'
8857 # Try to use the -exported_symbol ld option, if it does not
8858 # work, assume that -exports_file does not work either and
8859 # implicitly export all symbols.
8860 save_LDFLAGS
="$LDFLAGS"
8861 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8862 cat >conftest.
$ac_ext <<_ACEOF
8865 rm -f conftest.
$ac_objext conftest
$ac_exeext
8866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8867 (eval $ac_link) 2>conftest.er1
8869 grep -v '^ *+' conftest.er1
>conftest.err
8871 cat conftest.err
>&5
8872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8873 (exit $ac_status); } &&
8874 { ac_try
='test -z "$ac_c_werror_flag"
8875 || test ! -s conftest.err'
8876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8880 (exit $ac_status); }; } &&
8881 { ac_try
='test -s conftest$ac_exeext'
8882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8886 (exit $ac_status); }; }; then
8887 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'
8890 echo "$as_me: failed program was:" >&5
8891 sed 's/^/| /' conftest.
$ac_ext >&5
8894 rm -f conftest.err conftest.
$ac_objext \
8895 conftest
$ac_exeext conftest.
$ac_ext
8896 LDFLAGS
="$save_LDFLAGS"
8898 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'
8899 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'
8901 archive_cmds_need_lc
='no'
8902 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8903 hardcode_libdir_separator
=:
8905 link_all_deplibs
=yes
8909 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8910 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8912 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8914 hardcode_libdir_flag_spec
='-R$libdir'
8916 hardcode_shlibpath_var
=no
8920 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8922 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8923 hardcode_libdir_separator
=:
8924 hardcode_shlibpath_var
=no
8932 hardcode_shlibpath_var
=no
8933 hardcode_direct_absolute
=yes
8934 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8935 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8936 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8937 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8938 export_dynamic_flag_spec
='${wl}-E'
8941 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8942 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8943 hardcode_libdir_flag_spec
='-R$libdir'
8946 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8947 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8954 hardcode_libdir_flag_spec
='-L$libdir'
8955 hardcode_minus_L
=yes
8956 allow_undefined_flag
=unsupported
8957 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'
8958 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8962 if test "$GCC" = yes; then
8963 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8964 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'
8966 allow_undefined_flag
=' -expect_unresolved \*'
8967 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'
8969 archive_cmds_need_lc
='no'
8970 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8971 hardcode_libdir_separator
=:
8974 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8975 if test "$GCC" = yes; then
8976 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8977 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'
8978 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8980 allow_undefined_flag
=' -expect_unresolved \*'
8981 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'
8982 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~
8983 $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'
8985 # Both c and cxx compiler support -rpath directly
8986 hardcode_libdir_flag_spec
='-rpath $libdir'
8988 archive_cmds_need_lc
='no'
8989 hardcode_libdir_separator
=:
8993 no_undefined_flag
=' -z defs'
8994 if test "$GCC" = yes; then
8996 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8997 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8998 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9000 case `$CC -V 2>&1` in
9003 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9004 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9005 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9009 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9010 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9011 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9015 hardcode_libdir_flag_spec
='-R$libdir'
9016 hardcode_shlibpath_var
=no
9018 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9020 # The compiler driver will combine and reorder linker options,
9021 # but understands `-z linker_flag'. GCC discards it without `$wl',
9022 # but is careful enough not to reorder.
9023 # Supported since Solaris 2.6 (maybe 2.5.1?)
9024 if test "$GCC" = yes; then
9025 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9027 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9031 link_all_deplibs
=yes
9035 if test "x$host_vendor" = xsequent
; then
9036 # Use $CC to link under sequent, because it throws in some extra .o
9037 # files that make .init and .fini sections work.
9038 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9040 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9042 hardcode_libdir_flag_spec
='-L$libdir'
9044 hardcode_minus_L
=yes
9045 hardcode_shlibpath_var
=no
9049 case $host_vendor in
9051 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9052 hardcode_direct
=yes # is this really true???
9055 ## LD is ld it makes a PLAMLIB
9056 ## CC just makes a GrossModule.
9057 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9058 reload_cmds
='$CC -r -o $output$reload_objs'
9062 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9063 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9066 runpath_var
='LD_RUN_PATH'
9067 hardcode_shlibpath_var
=no
9071 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9072 hardcode_shlibpath_var
=no
9073 export_dynamic_flag_spec
='-Bexport'
9077 if test -d /usr
/nec
; then
9078 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9079 hardcode_shlibpath_var
=no
9080 runpath_var
=LD_RUN_PATH
9081 hardcode_runpath_var
=yes
9086 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9087 no_undefined_flag
='${wl}-z,text'
9088 archive_cmds_need_lc
=no
9089 hardcode_shlibpath_var
=no
9090 runpath_var
='LD_RUN_PATH'
9092 if test "$GCC" = yes; then
9093 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9094 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9096 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9097 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9101 sysv5
* | sco3.2v5
* | sco5v6
*)
9102 # Note: We can NOT use -z defs as we might desire, because we do not
9103 # link with -lc, and that would cause any symbols used from libc to
9104 # always be unresolved, which means just about no library would
9105 # ever link correctly. If we're not using GNU ld we use -z text
9106 # though, which does catch some bad symbols but isn't as heavy-handed
9108 no_undefined_flag
='${wl}-z,text'
9109 allow_undefined_flag
='${wl}-z,nodefs'
9110 archive_cmds_need_lc
=no
9111 hardcode_shlibpath_var
=no
9112 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9113 hardcode_libdir_separator
=':'
9114 link_all_deplibs
=yes
9115 export_dynamic_flag_spec
='${wl}-Bexport'
9116 runpath_var
='LD_RUN_PATH'
9118 if test "$GCC" = yes; then
9119 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9120 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9122 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9123 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9128 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9129 hardcode_libdir_flag_spec
='-L$libdir'
9130 hardcode_shlibpath_var
=no
9138 if test x
$host_vendor = xsni
; then
9140 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9141 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9147 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9148 echo "${ECHO_T}$ld_shlibs" >&6
9149 test "$ld_shlibs" = no
&& can_build_shared
=no
9151 with_gnu_ld
=$with_gnu_ld
9168 # Do we need to explicitly link libc?
9170 case "x$archive_cmds_need_lc" in
9172 # Assume -lc should be added
9173 archive_cmds_need_lc
=yes
9175 if test "$enable_shared" = yes && test "$GCC" = yes; then
9176 case $archive_cmds in
9178 # FIXME: we may have to deal with multi-command sequences.
9181 # Test whether the compiler implicitly links with -lc since on some
9182 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9183 # to ld, don't add -lc before -lgcc.
9184 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9185 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
9187 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9190 (eval $ac_compile) 2>&5
9192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9193 (exit $ac_status); } 2>conftest.err
; then
9196 libobjs
=conftest.
$ac_objext
9198 wl
=$lt_prog_compiler_wl
9199 pic_flag
=$lt_prog_compiler_pic
9205 lt_save_allow_undefined_flag
=$allow_undefined_flag
9206 allow_undefined_flag
=
9207 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9208 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9211 (exit $ac_status); }
9213 archive_cmds_need_lc
=no
9215 archive_cmds_need_lc
=yes
9217 allow_undefined_flag
=$lt_save_allow_undefined_flag
9219 cat conftest.err
1>&5
9222 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9223 echo "${ECHO_T}$archive_cmds_need_lc" >&6
9386 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9387 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
9389 if test "$withGCC" = yes; then
9391 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9392 *) lt_awk_arg
="/^libraries:/" ;;
9394 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9395 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
9396 # if the path contains ";" then we assume it to be the separator
9397 # otherwise default to the standard path separator (i.e. ":") - it is
9398 # assumed that no part of a normal pathname contains ";" but that should
9399 # okay in the real world where ";" in dirpaths is itself problematic.
9400 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9402 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9404 # Ok, now we have the path, separated by spaces, we can step through it
9405 # and add multilib dir if necessary.
9406 lt_tmp_lt_search_path_spec
=
9407 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9408 for lt_sys_path
in $lt_search_path_spec; do
9409 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9410 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9412 test -d "$lt_sys_path" && \
9413 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9416 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9417 BEGIN {RS=" "; FS="/|\n";} {
9420 for (lt_i = NF; lt_i > 0; lt_i--) {
9421 if ($lt_i != "" && $lt_i != ".") {
9422 if ($lt_i == "..") {
9425 if (lt_count == 0) {
9426 lt_foo="/" $lt_i lt_foo;
9433 if (lt_foo != "") { lt_freq[lt_foo]++; }
9434 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9436 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
9438 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9441 libname_spec
='lib$name'
9449 shlibpath_overrides_runpath
=unknown
9451 dynamic_linker
="$host_os ld.so"
9452 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9453 need_lib_prefix
=unknown
9454 hardcode_into_libs
=no
9456 # when you set need_version to no, make sure it does not cause -set_version
9457 # flags to be left without arguments
9458 need_version
=unknown
9463 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9464 shlibpath_var
=LIBPATH
9466 # AIX 3 has no versioning support, so we append a major version to the name.
9467 soname_spec
='${libname}${release}${shared_ext}$major'
9474 hardcode_into_libs
=yes
9475 if test "$host_cpu" = ia64
; then
9476 # AIX 5 supports IA64
9477 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9478 shlibpath_var
=LD_LIBRARY_PATH
9480 # With GCC up to 2.95.x, collect2 would create an import file
9481 # for dependence libraries. The import file would start with
9482 # the line `#! .'. This would cause the generated library to
9483 # depend on `.', always an invalid library. This was fixed in
9484 # development snapshots of GCC prior to 3.0.
9486 aix4 | aix4.
[01] | aix4.
[01].
*)
9487 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9489 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9496 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9497 # soname into executable. Probably we can add versioning support to
9498 # collect2, so additional links can be useful in future.
9499 if test "$aix_use_runtimelinking" = yes; then
9500 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9501 # instead of lib<name>.a to let people know that these are not
9502 # typical AIX shared libraries.
9503 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9505 # We preserve .a as extension for shared libraries through AIX4.2
9506 # and later when we are not doing run time linking.
9507 library_names_spec
='${libname}${release}.a $libname.a'
9508 soname_spec
='${libname}${release}${shared_ext}$major'
9510 shlibpath_var
=LIBPATH
9515 if test "$host_cpu" = m68k
; then
9516 library_names_spec
='$libname.ixlibrary $libname.a'
9517 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9518 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'
9525 library_names_spec
='${libname}${shared_ext}'
9526 dynamic_linker
="$host_os ld.so"
9527 shlibpath_var
=LIBRARY_PATH
9533 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9534 soname_spec
='${libname}${release}${shared_ext}$major'
9535 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9536 shlibpath_var
=LD_LIBRARY_PATH
9537 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9538 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9539 # the default ld.so.conf also contains /usr/contrib/lib and
9540 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9541 # libtool to hard-code these into programs
9544 cygwin
* | mingw
* | pw32
*)
9545 version_type
=windows
9550 case $withGCC,$host_os in
9551 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
9552 library_names_spec
='$libname.dll.a'
9553 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9554 postinstall_cmds
='base_file=`basename \${file}`~
9555 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9556 dldir=$destdir/`dirname \$dlpath`~
9557 test -d \$dldir || mkdir -p \$dldir~
9558 $install_prog $dir/$dlname \$dldir/$dlname~
9559 chmod a+x \$dldir/$dlname~
9560 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9561 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9563 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9564 dlpath=$dir/\$dldll~
9566 shlibpath_overrides_runpath
=yes
9570 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9571 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9572 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
9575 # MinGW DLLs use traditional 'lib' prefix
9576 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9577 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9578 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
9579 # It is most probably a Windows format PATH printed by
9580 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9581 # path with ; separators, and with drive letters. We can handle the
9582 # drive letters (cygwin fileutils understands them), so leave them,
9583 # especially as we might pass files found there to a mingw objdump,
9584 # which wouldn't understand a cygwinified path. Ahh.
9585 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9587 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9591 # pw32 DLLs use 'pw' prefix rather than 'lib'
9592 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9598 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9601 dynamic_linker
='Win32 ld.exe'
9602 # FIXME: first we should search . and the directory the executable is in
9606 darwin
* | rhapsody
*)
9607 dynamic_linker
="$host_os dyld"
9611 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9612 soname_spec
='${libname}${release}${major}$shared_ext'
9613 shlibpath_overrides_runpath
=yes
9614 shlibpath_var
=DYLD_LIBRARY_PATH
9615 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9617 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9618 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9625 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9626 soname_spec
='${libname}${release}${shared_ext}$major'
9627 shlibpath_var
=LD_LIBRARY_PATH
9634 freebsd
* | dragonfly
*)
9635 # DragonFly does not have aout. When/if they implement a new
9636 # versioning mechanism, adjust this.
9637 if test -x /usr
/bin
/objformat
; then
9638 objformat
=`/usr/bin/objformat`
9641 freebsd
[123]*) objformat
=aout
;;
9645 version_type
=freebsd-
$objformat
9646 case $version_type in
9648 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9653 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9657 shlibpath_var
=LD_LIBRARY_PATH
9660 shlibpath_overrides_runpath
=yes
9662 freebsd3.
[01]* | freebsdelf3.
[01]*)
9663 shlibpath_overrides_runpath
=yes
9664 hardcode_into_libs
=yes
9666 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9667 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9668 shlibpath_overrides_runpath
=no
9669 hardcode_into_libs
=yes
9671 *) # from 4.6 on, and DragonFly
9672 shlibpath_overrides_runpath
=yes
9673 hardcode_into_libs
=yes
9682 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9683 soname_spec
='${libname}${release}${shared_ext}$major'
9684 shlibpath_var
=LD_LIBRARY_PATH
9685 hardcode_into_libs
=yes
9688 hpux9
* | hpux10
* | hpux11
*)
9689 # Give a soname corresponding to the major version so that dld.sl refuses to
9690 # link against other versions.
9697 hardcode_into_libs
=yes
9698 dynamic_linker
="$host_os dld.so"
9699 shlibpath_var
=LD_LIBRARY_PATH
9700 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9701 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9702 soname_spec
='${libname}${release}${shared_ext}$major'
9703 if test "X$HPUX_IA64_MODE" = X32
; then
9704 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9706 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9708 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9712 hardcode_into_libs
=yes
9713 dynamic_linker
="$host_os dld.sl"
9714 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9715 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9716 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9717 soname_spec
='${libname}${release}${shared_ext}$major'
9718 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9719 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9723 dynamic_linker
="$host_os dld.sl"
9724 shlibpath_var
=SHLIB_PATH
9725 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9726 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9727 soname_spec
='${libname}${release}${shared_ext}$major'
9730 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9731 postinstall_cmds
='chmod 555 $lib'
9738 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9739 soname_spec
='${libname}${release}${shared_ext}$major'
9740 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9741 shlibpath_var
=LD_LIBRARY_PATH
9742 shlibpath_overrides_runpath
=no
9743 hardcode_into_libs
=yes
9746 irix5
* | irix6
* | nonstopux
*)
9748 nonstopux
*) version_type
=nonstopux
;;
9750 if test "$lt_cv_prog_gnu_ld" = yes; then
9758 soname_spec
='${libname}${release}${shared_ext}$major'
9759 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9761 irix5
* | nonstopux
*)
9765 case $LD in # libtool.m4 will add one of these switches to LD
9766 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9767 libsuff
= shlibsuff
= libmagic
=32-bit;;
9768 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9769 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9770 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9771 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9772 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9776 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9777 shlibpath_overrides_runpath
=no
9778 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9779 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9780 hardcode_into_libs
=yes
9783 # No shared lib support for Linux oldld, aout, or coff.
9784 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9788 # This must be Linux ELF.
9789 linux
* | k
*bsd
*-gnu)
9793 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9794 soname_spec
='${libname}${release}${shared_ext}$major'
9795 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9796 shlibpath_var
=LD_LIBRARY_PATH
9797 shlibpath_overrides_runpath
=no
9798 # Some binutils ld are patched to set DT_RUNPATH
9799 save_LDFLAGS
=$LDFLAGS
9801 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9802 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9803 cat >conftest.
$ac_ext <<_ACEOF
9806 cat confdefs.h
>>conftest.
$ac_ext
9807 cat >>conftest.
$ac_ext <<_ACEOF
9808 /* end confdefs.h. */
9818 rm -f conftest.
$ac_objext conftest
$ac_exeext
9819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9820 (eval $ac_link) 2>conftest.er1
9822 grep -v '^ *+' conftest.er1
>conftest.err
9824 cat conftest.err
>&5
9825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9826 (exit $ac_status); } &&
9827 { ac_try
='test -z "$ac_c_werror_flag"
9828 || test ! -s conftest.err'
9829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9833 (exit $ac_status); }; } &&
9834 { ac_try
='test -s conftest$ac_exeext'
9835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9839 (exit $ac_status); }; }; then
9840 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir"; then
9841 shlibpath_overrides_runpath
=yes
9845 echo "$as_me: failed program was:" >&5
9846 sed 's/^/| /' conftest.
$ac_ext >&5
9849 rm -f conftest.err conftest.
$ac_objext \
9850 conftest
$ac_exeext conftest.
$ac_ext
9851 LDFLAGS
=$save_LDFLAGS
9854 # This implies no fast_install, which is unacceptable.
9855 # Some rework will be needed to allow for fast_install
9856 # before this can be enabled.
9857 hardcode_into_libs
=yes
9859 # Append ld.so.conf contents to the search path
9860 if test -f /etc
/ld.so.conf
; then
9861 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9862 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9865 # We used to test for /lib/ld.so.1 and disable shared libraries on
9866 # powerpc, because MkLinux only supported shared libraries with the
9867 # GNU dynamic linker. Since this was broken with cross compilers,
9868 # most powerpc-linux boxes support dynamic linking these days and
9869 # people can always --disable-shared, the test was removed, and we
9870 # assume the GNU/Linux dynamic linker is in use.
9871 dynamic_linker
='GNU/Linux ld.so'
9878 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9879 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9880 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9881 dynamic_linker
='NetBSD (a.out) ld.so'
9883 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9884 soname_spec
='${libname}${release}${shared_ext}$major'
9885 dynamic_linker
='NetBSD ld.elf_so'
9887 shlibpath_var
=LD_LIBRARY_PATH
9888 shlibpath_overrides_runpath
=yes
9889 hardcode_into_libs
=yes
9894 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9895 shlibpath_var
=LD_LIBRARY_PATH
9896 shlibpath_overrides_runpath
=yes
9903 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9904 soname_spec
='${libname}${release}${shared_ext}$major'
9905 shlibpath_var
=LD_LIBRARY_PATH
9906 shlibpath_overrides_runpath
=no
9907 hardcode_into_libs
=yes
9908 dynamic_linker
='ldqnx.so'
9913 sys_lib_dlsearch_path_spec
="/usr/lib"
9915 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9917 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9918 *) need_version
=no
;;
9920 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9921 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9922 shlibpath_var
=LD_LIBRARY_PATH
9923 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9925 openbsd2.
[89] | openbsd2.
[89].
*)
9926 shlibpath_overrides_runpath
=no
9929 shlibpath_overrides_runpath
=yes
9933 shlibpath_overrides_runpath
=yes
9938 libname_spec
='$name'
9941 library_names_spec
='$libname${shared_ext} $libname.a'
9942 dynamic_linker
='OS/2 ld.exe'
9943 shlibpath_var
=LIBPATH
9946 osf3
* | osf4
* | osf5
*)
9950 soname_spec
='${libname}${release}${shared_ext}$major'
9951 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9952 shlibpath_var
=LD_LIBRARY_PATH
9953 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9954 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9965 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9966 soname_spec
='${libname}${release}${shared_ext}$major'
9967 shlibpath_var
=LD_LIBRARY_PATH
9968 shlibpath_overrides_runpath
=yes
9969 hardcode_into_libs
=yes
9970 # ldd complains unless libraries are executable
9971 postinstall_cmds
='chmod +x $lib'
9976 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9977 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9978 shlibpath_var
=LD_LIBRARY_PATH
9979 shlibpath_overrides_runpath
=yes
9980 if test "$with_gnu_ld" = yes; then
9988 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9989 soname_spec
='${libname}${release}${shared_ext}$major'
9990 shlibpath_var
=LD_LIBRARY_PATH
9991 case $host_vendor in
9993 shlibpath_overrides_runpath
=no
9995 runpath_var
=LD_RUN_PATH
10003 shlibpath_overrides_runpath
=no
10004 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10010 if test -d /usr
/nec
;then
10012 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10013 soname_spec
='$libname${shared_ext}.$major'
10014 shlibpath_var
=LD_LIBRARY_PATH
10018 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10019 version_type
=freebsd-elf
10022 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10023 soname_spec
='${libname}${release}${shared_ext}$major'
10024 shlibpath_var
=LD_LIBRARY_PATH
10025 shlibpath_overrides_runpath
=yes
10026 hardcode_into_libs
=yes
10027 if test "$with_gnu_ld" = yes; then
10028 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10030 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10033 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10037 sys_lib_dlsearch_path_spec
='/usr/lib'
10041 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10045 library_name_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10046 shlibpath_var
=LD_LIBRARY_PATH
10047 shlibpath_overrides_runpath
=no
10048 hardcode_into_libs
=yes
10053 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10054 soname_spec
='${libname}${release}${shared_ext}$major'
10055 shlibpath_var
=LD_LIBRARY_PATH
10062 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10063 echo "${ECHO_T}$dynamic_linker" >&6
10064 test "$dynamic_linker" = no
&& can_build_shared
=no
10066 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10067 if test "$GCC" = yes; then
10068 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10157 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10158 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
10160 if test -n "$hardcode_libdir_flag_spec" ||
10161 test -n "$runpath_var" ||
10162 test "X$hardcode_automatic" = "Xyes" ; then
10164 # We can hardcode non-existent directories.
10165 if test "$hardcode_direct" != no
&&
10166 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10167 # have to relink, otherwise we might link with an installed library
10168 # when we should be linking with a yet-to-be-installed one
10169 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10170 test "$hardcode_minus_L" != no
; then
10171 # Linking always hardcodes the temporary library directory.
10172 hardcode_action
=relink
10174 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10175 hardcode_action
=immediate
10178 # We cannot hardcode anything, or else we can only hardcode existing
10180 hardcode_action
=unsupported
10182 echo "$as_me:$LINENO: result: $hardcode_action" >&5
10183 echo "${ECHO_T}$hardcode_action" >&6
10185 if test "$hardcode_action" = relink ||
10186 test "$inherit_rpath" = yes; then
10187 # Fast installation is not supported
10188 enable_fast_install
=no
10189 elif test "$shlibpath_overrides_runpath" = yes ||
10190 test "$enable_shared" = no
; then
10191 # Fast installation is not necessary
10192 enable_fast_install
=needless
10200 if test "x$enable_dlopen" != xyes
; then
10201 enable_dlopen
=unknown
10202 enable_dlopen_self
=unknown
10203 enable_dlopen_self_static
=unknown
10210 lt_cv_dlopen
="load_add_on"
10212 lt_cv_dlopen_self
=yes
10216 lt_cv_dlopen
="LoadLibrary"
10221 lt_cv_dlopen
="dlopen"
10226 # if libdl is installed we need to link against it
10227 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10228 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10229 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10230 echo $ECHO_N "(cached) $ECHO_C" >&6
10232 ac_check_lib_save_LIBS
=$LIBS
10234 cat >conftest.
$ac_ext <<_ACEOF
10237 cat confdefs.h
>>conftest.
$ac_ext
10238 cat >>conftest.
$ac_ext <<_ACEOF
10239 /* end confdefs.h. */
10241 /* Override any gcc2 internal prototype to avoid an error. */
10245 /* We use char because int might match the return type of a gcc2
10246 builtin and then its argument prototype would still apply. */
10256 rm -f conftest.
$ac_objext conftest
$ac_exeext
10257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10258 (eval $ac_link) 2>conftest.er1
10260 grep -v '^ *+' conftest.er1
>conftest.err
10262 cat conftest.err
>&5
10263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10264 (exit $ac_status); } &&
10265 { ac_try
='test -z "$ac_c_werror_flag"
10266 || test ! -s conftest.err'
10267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10268 (eval $ac_try) 2>&5
10270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10271 (exit $ac_status); }; } &&
10272 { ac_try
='test -s conftest$ac_exeext'
10273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10274 (eval $ac_try) 2>&5
10276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10277 (exit $ac_status); }; }; then
10278 ac_cv_lib_dl_dlopen
=yes
10280 echo "$as_me: failed program was:" >&5
10281 sed 's/^/| /' conftest.
$ac_ext >&5
10283 ac_cv_lib_dl_dlopen
=no
10285 rm -f conftest.err conftest.
$ac_objext \
10286 conftest
$ac_exeext conftest.
$ac_ext
10287 LIBS
=$ac_check_lib_save_LIBS
10289 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10290 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10291 if test $ac_cv_lib_dl_dlopen = yes; then
10292 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10295 lt_cv_dlopen
="dyld"
10297 lt_cv_dlopen_self
=yes
10304 echo "$as_me:$LINENO: checking for shl_load" >&5
10305 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
10306 if test "${ac_cv_func_shl_load+set}" = set; then
10307 echo $ECHO_N "(cached) $ECHO_C" >&6
10309 cat >conftest.
$ac_ext <<_ACEOF
10312 cat confdefs.h
>>conftest.
$ac_ext
10313 cat >>conftest.
$ac_ext <<_ACEOF
10314 /* end confdefs.h. */
10315 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10316 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10317 #define shl_load innocuous_shl_load
10319 /* System header to define __stub macros and hopefully few prototypes,
10320 which can conflict with char shl_load (); below.
10321 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10322 <limits.h> exists even on freestanding compilers. */
10325 # include <limits.h>
10327 # include <assert.h>
10332 /* Override any gcc2 internal prototype to avoid an error. */
10337 /* We use char because int might match the return type of a gcc2
10338 builtin and then its argument prototype would still apply. */
10340 /* The GNU C library defines this for functions which it implements
10341 to always fail with ENOSYS. Some functions are actually named
10342 something starting with __ and the normal name is an alias. */
10343 #if defined (__stub_shl_load) || defined (__stub___shl_load)
10346 char (*f) () = shl_load;
10355 return f != shl_load;
10360 rm -f conftest.
$ac_objext conftest
$ac_exeext
10361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10362 (eval $ac_link) 2>conftest.er1
10364 grep -v '^ *+' conftest.er1
>conftest.err
10366 cat conftest.err
>&5
10367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10368 (exit $ac_status); } &&
10369 { ac_try
='test -z "$ac_c_werror_flag"
10370 || test ! -s conftest.err'
10371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10372 (eval $ac_try) 2>&5
10374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10375 (exit $ac_status); }; } &&
10376 { ac_try
='test -s conftest$ac_exeext'
10377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10378 (eval $ac_try) 2>&5
10380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10381 (exit $ac_status); }; }; then
10382 ac_cv_func_shl_load
=yes
10384 echo "$as_me: failed program was:" >&5
10385 sed 's/^/| /' conftest.
$ac_ext >&5
10387 ac_cv_func_shl_load
=no
10389 rm -f conftest.err conftest.
$ac_objext \
10390 conftest
$ac_exeext conftest.
$ac_ext
10392 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10393 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
10394 if test $ac_cv_func_shl_load = yes; then
10395 lt_cv_dlopen
="shl_load"
10397 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10398 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
10399 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10400 echo $ECHO_N "(cached) $ECHO_C" >&6
10402 ac_check_lib_save_LIBS
=$LIBS
10404 cat >conftest.
$ac_ext <<_ACEOF
10407 cat confdefs.h
>>conftest.
$ac_ext
10408 cat >>conftest.
$ac_ext <<_ACEOF
10409 /* end confdefs.h. */
10411 /* Override any gcc2 internal prototype to avoid an error. */
10415 /* We use char because int might match the return type of a gcc2
10416 builtin and then its argument prototype would still apply. */
10426 rm -f conftest.
$ac_objext conftest
$ac_exeext
10427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10428 (eval $ac_link) 2>conftest.er1
10430 grep -v '^ *+' conftest.er1
>conftest.err
10432 cat conftest.err
>&5
10433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10434 (exit $ac_status); } &&
10435 { ac_try
='test -z "$ac_c_werror_flag"
10436 || test ! -s conftest.err'
10437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10438 (eval $ac_try) 2>&5
10440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10441 (exit $ac_status); }; } &&
10442 { ac_try
='test -s conftest$ac_exeext'
10443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10444 (eval $ac_try) 2>&5
10446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10447 (exit $ac_status); }; }; then
10448 ac_cv_lib_dld_shl_load
=yes
10450 echo "$as_me: failed program was:" >&5
10451 sed 's/^/| /' conftest.
$ac_ext >&5
10453 ac_cv_lib_dld_shl_load
=no
10455 rm -f conftest.err conftest.
$ac_objext \
10456 conftest
$ac_exeext conftest.
$ac_ext
10457 LIBS
=$ac_check_lib_save_LIBS
10459 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10460 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
10461 if test $ac_cv_lib_dld_shl_load = yes; then
10462 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
10464 echo "$as_me:$LINENO: checking for dlopen" >&5
10465 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
10466 if test "${ac_cv_func_dlopen+set}" = set; then
10467 echo $ECHO_N "(cached) $ECHO_C" >&6
10469 cat >conftest.
$ac_ext <<_ACEOF
10472 cat confdefs.h
>>conftest.
$ac_ext
10473 cat >>conftest.
$ac_ext <<_ACEOF
10474 /* end confdefs.h. */
10475 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10476 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10477 #define dlopen innocuous_dlopen
10479 /* System header to define __stub macros and hopefully few prototypes,
10480 which can conflict with char dlopen (); below.
10481 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10482 <limits.h> exists even on freestanding compilers. */
10485 # include <limits.h>
10487 # include <assert.h>
10492 /* Override any gcc2 internal prototype to avoid an error. */
10497 /* We use char because int might match the return type of a gcc2
10498 builtin and then its argument prototype would still apply. */
10500 /* The GNU C library defines this for functions which it implements
10501 to always fail with ENOSYS. Some functions are actually named
10502 something starting with __ and the normal name is an alias. */
10503 #if defined (__stub_dlopen) || defined (__stub___dlopen)
10506 char (*f) () = dlopen;
10515 return f != dlopen;
10520 rm -f conftest.
$ac_objext conftest
$ac_exeext
10521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10522 (eval $ac_link) 2>conftest.er1
10524 grep -v '^ *+' conftest.er1
>conftest.err
10526 cat conftest.err
>&5
10527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10528 (exit $ac_status); } &&
10529 { ac_try
='test -z "$ac_c_werror_flag"
10530 || test ! -s conftest.err'
10531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10532 (eval $ac_try) 2>&5
10534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10535 (exit $ac_status); }; } &&
10536 { ac_try
='test -s conftest$ac_exeext'
10537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10538 (eval $ac_try) 2>&5
10540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10541 (exit $ac_status); }; }; then
10542 ac_cv_func_dlopen
=yes
10544 echo "$as_me: failed program was:" >&5
10545 sed 's/^/| /' conftest.
$ac_ext >&5
10547 ac_cv_func_dlopen
=no
10549 rm -f conftest.err conftest.
$ac_objext \
10550 conftest
$ac_exeext conftest.
$ac_ext
10552 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10553 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
10554 if test $ac_cv_func_dlopen = yes; then
10555 lt_cv_dlopen
="dlopen"
10557 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10558 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10559 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10560 echo $ECHO_N "(cached) $ECHO_C" >&6
10562 ac_check_lib_save_LIBS
=$LIBS
10564 cat >conftest.
$ac_ext <<_ACEOF
10567 cat confdefs.h
>>conftest.
$ac_ext
10568 cat >>conftest.
$ac_ext <<_ACEOF
10569 /* end confdefs.h. */
10571 /* Override any gcc2 internal prototype to avoid an error. */
10575 /* We use char because int might match the return type of a gcc2
10576 builtin and then its argument prototype would still apply. */
10586 rm -f conftest.
$ac_objext conftest
$ac_exeext
10587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10588 (eval $ac_link) 2>conftest.er1
10590 grep -v '^ *+' conftest.er1
>conftest.err
10592 cat conftest.err
>&5
10593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10594 (exit $ac_status); } &&
10595 { ac_try
='test -z "$ac_c_werror_flag"
10596 || test ! -s conftest.err'
10597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10598 (eval $ac_try) 2>&5
10600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10601 (exit $ac_status); }; } &&
10602 { ac_try
='test -s conftest$ac_exeext'
10603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10604 (eval $ac_try) 2>&5
10606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10607 (exit $ac_status); }; }; then
10608 ac_cv_lib_dl_dlopen
=yes
10610 echo "$as_me: failed program was:" >&5
10611 sed 's/^/| /' conftest.
$ac_ext >&5
10613 ac_cv_lib_dl_dlopen
=no
10615 rm -f conftest.err conftest.
$ac_objext \
10616 conftest
$ac_exeext conftest.
$ac_ext
10617 LIBS
=$ac_check_lib_save_LIBS
10619 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10620 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10621 if test $ac_cv_lib_dl_dlopen = yes; then
10622 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10624 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10625 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
10626 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10627 echo $ECHO_N "(cached) $ECHO_C" >&6
10629 ac_check_lib_save_LIBS
=$LIBS
10630 LIBS
="-lsvld $LIBS"
10631 cat >conftest.
$ac_ext <<_ACEOF
10634 cat confdefs.h
>>conftest.
$ac_ext
10635 cat >>conftest.
$ac_ext <<_ACEOF
10636 /* end confdefs.h. */
10638 /* Override any gcc2 internal prototype to avoid an error. */
10642 /* We use char because int might match the return type of a gcc2
10643 builtin and then its argument prototype would still apply. */
10653 rm -f conftest.
$ac_objext conftest
$ac_exeext
10654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10655 (eval $ac_link) 2>conftest.er1
10657 grep -v '^ *+' conftest.er1
>conftest.err
10659 cat conftest.err
>&5
10660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10661 (exit $ac_status); } &&
10662 { ac_try
='test -z "$ac_c_werror_flag"
10663 || test ! -s conftest.err'
10664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10665 (eval $ac_try) 2>&5
10667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10668 (exit $ac_status); }; } &&
10669 { ac_try
='test -s conftest$ac_exeext'
10670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10671 (eval $ac_try) 2>&5
10673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10674 (exit $ac_status); }; }; then
10675 ac_cv_lib_svld_dlopen
=yes
10677 echo "$as_me: failed program was:" >&5
10678 sed 's/^/| /' conftest.
$ac_ext >&5
10680 ac_cv_lib_svld_dlopen
=no
10682 rm -f conftest.err conftest.
$ac_objext \
10683 conftest
$ac_exeext conftest.
$ac_ext
10684 LIBS
=$ac_check_lib_save_LIBS
10686 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10687 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
10688 if test $ac_cv_lib_svld_dlopen = yes; then
10689 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10691 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10692 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
10693 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10694 echo $ECHO_N "(cached) $ECHO_C" >&6
10696 ac_check_lib_save_LIBS
=$LIBS
10698 cat >conftest.
$ac_ext <<_ACEOF
10701 cat confdefs.h
>>conftest.
$ac_ext
10702 cat >>conftest.
$ac_ext <<_ACEOF
10703 /* end confdefs.h. */
10705 /* Override any gcc2 internal prototype to avoid an error. */
10709 /* We use char because int might match the return type of a gcc2
10710 builtin and then its argument prototype would still apply. */
10720 rm -f conftest.
$ac_objext conftest
$ac_exeext
10721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10722 (eval $ac_link) 2>conftest.er1
10724 grep -v '^ *+' conftest.er1
>conftest.err
10726 cat conftest.err
>&5
10727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10728 (exit $ac_status); } &&
10729 { ac_try
='test -z "$ac_c_werror_flag"
10730 || test ! -s conftest.err'
10731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10732 (eval $ac_try) 2>&5
10734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10735 (exit $ac_status); }; } &&
10736 { ac_try
='test -s conftest$ac_exeext'
10737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10738 (eval $ac_try) 2>&5
10740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10741 (exit $ac_status); }; }; then
10742 ac_cv_lib_dld_dld_link
=yes
10744 echo "$as_me: failed program was:" >&5
10745 sed 's/^/| /' conftest.
$ac_ext >&5
10747 ac_cv_lib_dld_dld_link
=no
10749 rm -f conftest.err conftest.
$ac_objext \
10750 conftest
$ac_exeext conftest.
$ac_ext
10751 LIBS
=$ac_check_lib_save_LIBS
10753 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10754 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
10755 if test $ac_cv_lib_dld_dld_link = yes; then
10756 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
10777 if test "x$lt_cv_dlopen" != xno
; then
10783 case $lt_cv_dlopen in
10785 save_CPPFLAGS
="$CPPFLAGS"
10786 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10788 save_LDFLAGS
="$LDFLAGS"
10789 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10792 LIBS
="$lt_cv_dlopen_libs $LIBS"
10794 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10795 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
10796 if test "${lt_cv_dlopen_self+set}" = set; then
10797 echo $ECHO_N "(cached) $ECHO_C" >&6
10799 if test "$cross_compiling" = yes; then :
10800 lt_cv_dlopen_self
=cross
10802 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10803 lt_status
=$lt_dlunknown
10804 cat > conftest.
$ac_ext <<_LT_EOF
10805 #line 10805 "configure"
10806 #include "confdefs.h"
10815 # define LT_DLGLOBAL RTLD_GLOBAL
10818 # define LT_DLGLOBAL DL_GLOBAL
10820 # define LT_DLGLOBAL 0
10824 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10825 find out it does not work in some platform. */
10826 #ifndef LT_DLLAZY_OR_NOW
10828 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10831 # define LT_DLLAZY_OR_NOW DL_LAZY
10834 # define LT_DLLAZY_OR_NOW RTLD_NOW
10837 # define LT_DLLAZY_OR_NOW DL_NOW
10839 # define LT_DLLAZY_OR_NOW 0
10847 extern "C" void exit (int);
10850 void fnord() { int i=42;}
10853 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10854 int status = $lt_dlunknown;
10858 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10859 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10860 /* dlclose (self); */
10868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10869 (eval $ac_link) 2>&5
10871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10872 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10873 (.
/conftest
; exit; ) >&5 2>/dev
/null
10875 case x
$lt_status in
10876 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10877 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10878 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10881 # compilation failed
10882 lt_cv_dlopen_self
=no
10889 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10890 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
10892 if test "x$lt_cv_dlopen_self" = xyes
; then
10893 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10894 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10895 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
10896 if test "${lt_cv_dlopen_self_static+set}" = set; then
10897 echo $ECHO_N "(cached) $ECHO_C" >&6
10899 if test "$cross_compiling" = yes; then :
10900 lt_cv_dlopen_self_static
=cross
10902 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10903 lt_status
=$lt_dlunknown
10904 cat > conftest.
$ac_ext <<_LT_EOF
10905 #line 10905 "configure"
10906 #include "confdefs.h"
10915 # define LT_DLGLOBAL RTLD_GLOBAL
10918 # define LT_DLGLOBAL DL_GLOBAL
10920 # define LT_DLGLOBAL 0
10924 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10925 find out it does not work in some platform. */
10926 #ifndef LT_DLLAZY_OR_NOW
10928 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10931 # define LT_DLLAZY_OR_NOW DL_LAZY
10934 # define LT_DLLAZY_OR_NOW RTLD_NOW
10937 # define LT_DLLAZY_OR_NOW DL_NOW
10939 # define LT_DLLAZY_OR_NOW 0
10947 extern "C" void exit (int);
10950 void fnord() { int i=42;}
10953 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10954 int status = $lt_dlunknown;
10958 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10959 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10960 /* dlclose (self); */
10968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10969 (eval $ac_link) 2>&5
10971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10972 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10973 (.
/conftest
; exit; ) >&5 2>/dev
/null
10975 case x
$lt_status in
10976 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
10977 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
10978 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
10981 # compilation failed
10982 lt_cv_dlopen_self_static
=no
10989 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10990 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
10993 CPPFLAGS
="$save_CPPFLAGS"
10994 LDFLAGS
="$save_LDFLAGS"
10999 case $lt_cv_dlopen_self in
11000 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11001 *) enable_dlopen_self
=unknown
;;
11004 case $lt_cv_dlopen_self_static in
11005 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11006 *) enable_dlopen_self_static
=unknown
;;
11028 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11029 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
11030 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11031 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11032 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11033 echo "$as_me:$LINENO: result: yes" >&5
11034 echo "${ECHO_T}yes" >&6
11036 # FIXME - insert some real tests, host_os isn't really good enough
11039 if test -n "$STRIP" ; then
11040 striplib
="$STRIP -x"
11041 old_striplib
="$STRIP -S"
11042 echo "$as_me:$LINENO: result: yes" >&5
11043 echo "${ECHO_T}yes" >&6
11045 echo "$as_me:$LINENO: result: no" >&5
11046 echo "${ECHO_T}no" >&6
11050 echo "$as_me:$LINENO: result: no" >&5
11051 echo "${ECHO_T}no" >&6
11067 # Report which library types will actually be built
11068 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11069 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
11070 echo "$as_me:$LINENO: result: $can_build_shared" >&5
11071 echo "${ECHO_T}$can_build_shared" >&6
11073 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11074 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
11075 test "$can_build_shared" = "no" && enable_shared
=no
11077 # On AIX, shared libraries and static libraries use the same namespace, and
11078 # are all built from PIC.
11081 test "$enable_shared" = yes && enable_static
=no
11082 if test -n "$RANLIB"; then
11083 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11084 postinstall_cmds
='$RANLIB $lib'
11089 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11090 test "$enable_shared" = yes && enable_static
=no
11094 echo "$as_me:$LINENO: result: $enable_shared" >&5
11095 echo "${ECHO_T}$enable_shared" >&6
11097 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11098 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
11099 # Make sure either enable_shared or enable_static is yes.
11100 test "$enable_shared" = yes || enable_static
=yes
11101 echo "$as_me:$LINENO: result: $enable_static" >&5
11102 echo "${ECHO_T}$enable_static" >&6
11109 ac_cpp
='$CPP $CPPFLAGS'
11110 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11111 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11112 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11128 ac_config_commands
="$ac_config_commands libtool"
11133 # Only expand once:
11139 if test "${ac_cv_header_stdint_h+set}" = set; then
11140 echo "$as_me:$LINENO: checking for stdint.h" >&5
11141 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6
11142 if test "${ac_cv_header_stdint_h+set}" = set; then
11143 echo $ECHO_N "(cached) $ECHO_C" >&6
11145 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&5
11146 echo "${ECHO_T}$ac_cv_header_stdint_h" >&6
11148 # Is the header compilable?
11149 echo "$as_me:$LINENO: checking stdint.h usability" >&5
11150 echo $ECHO_N "checking stdint.h usability... $ECHO_C" >&6
11151 cat >conftest.
$ac_ext <<_ACEOF
11154 cat confdefs.h
>>conftest.
$ac_ext
11155 cat >>conftest.
$ac_ext <<_ACEOF
11156 /* end confdefs.h. */
11157 $ac_includes_default
11158 #include <stdint.h>
11160 rm -f conftest.
$ac_objext
11161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11162 (eval $ac_compile) 2>conftest.er1
11164 grep -v '^ *+' conftest.er1
>conftest.err
11166 cat conftest.err
>&5
11167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11168 (exit $ac_status); } &&
11169 { ac_try
='test -z "$ac_c_werror_flag"
11170 || test ! -s conftest.err'
11171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11172 (eval $ac_try) 2>&5
11174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11175 (exit $ac_status); }; } &&
11176 { ac_try
='test -s conftest.$ac_objext'
11177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11178 (eval $ac_try) 2>&5
11180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11181 (exit $ac_status); }; }; then
11182 ac_header_compiler
=yes
11184 echo "$as_me: failed program was:" >&5
11185 sed 's/^/| /' conftest.
$ac_ext >&5
11187 ac_header_compiler
=no
11189 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11190 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11191 echo "${ECHO_T}$ac_header_compiler" >&6
11193 # Is the header present?
11194 echo "$as_me:$LINENO: checking stdint.h presence" >&5
11195 echo $ECHO_N "checking stdint.h presence... $ECHO_C" >&6
11196 cat >conftest.
$ac_ext <<_ACEOF
11199 cat confdefs.h
>>conftest.
$ac_ext
11200 cat >>conftest.
$ac_ext <<_ACEOF
11201 /* end confdefs.h. */
11202 #include <stdint.h>
11204 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11205 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11207 grep -v '^ *+' conftest.er1
>conftest.err
11209 cat conftest.err
>&5
11210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11211 (exit $ac_status); } >/dev
/null
; then
11212 if test -s conftest.err
; then
11213 ac_cpp_err
=$ac_c_preproc_warn_flag
11214 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11221 if test -z "$ac_cpp_err"; then
11222 ac_header_preproc
=yes
11224 echo "$as_me: failed program was:" >&5
11225 sed 's/^/| /' conftest.
$ac_ext >&5
11227 ac_header_preproc
=no
11229 rm -f conftest.err conftest.
$ac_ext
11230 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11231 echo "${ECHO_T}$ac_header_preproc" >&6
11233 # So? What about this header?
11234 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11236 { echo "$as_me:$LINENO: WARNING: stdint.h: accepted by the compiler, rejected by the preprocessor!" >&5
11237 echo "$as_me: WARNING: stdint.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11238 { echo "$as_me:$LINENO: WARNING: stdint.h: proceeding with the compiler's result" >&5
11239 echo "$as_me: WARNING: stdint.h: proceeding with the compiler's result" >&2;}
11240 ac_header_preproc
=yes
11243 { echo "$as_me:$LINENO: WARNING: stdint.h: present but cannot be compiled" >&5
11244 echo "$as_me: WARNING: stdint.h: present but cannot be compiled" >&2;}
11245 { echo "$as_me:$LINENO: WARNING: stdint.h: check for missing prerequisite headers?" >&5
11246 echo "$as_me: WARNING: stdint.h: check for missing prerequisite headers?" >&2;}
11247 { echo "$as_me:$LINENO: WARNING: stdint.h: see the Autoconf documentation" >&5
11248 echo "$as_me: WARNING: stdint.h: see the Autoconf documentation" >&2;}
11249 { echo "$as_me:$LINENO: WARNING: stdint.h: section \"Present But Cannot Be Compiled\"" >&5
11250 echo "$as_me: WARNING: stdint.h: section \"Present But Cannot Be Compiled\"" >&2;}
11251 { echo "$as_me:$LINENO: WARNING: stdint.h: proceeding with the preprocessor's result" >&5
11252 echo "$as_me: WARNING: stdint.h: proceeding with the preprocessor's result" >&2;}
11253 { echo "$as_me:$LINENO: WARNING: stdint.h: in the future, the compiler will take precedence" >&5
11254 echo "$as_me: WARNING: stdint.h: in the future, the compiler will take precedence" >&2;}
11257 ## ------------------------------------- ##
11258 ## Report this to the libmudflap lists. ##
11259 ## ------------------------------------- ##
11262 sed "s/^/$as_me: WARNING: /" >&2
11265 echo "$as_me:$LINENO: checking for stdint.h" >&5
11266 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6
11267 if test "${ac_cv_header_stdint_h+set}" = set; then
11268 echo $ECHO_N "(cached) $ECHO_C" >&6
11270 ac_cv_header_stdint_h
=$ac_header_preproc
11272 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&5
11273 echo "${ECHO_T}$ac_cv_header_stdint_h" >&6
11276 if test $ac_cv_header_stdint_h = yes; then
11284 if test $MF_HAVE_STDINT_H = 1
11286 MF_HAVE_UINTPTR_T
=1
11288 cat >conftest.
$ac_ext <<_ACEOF
11291 cat confdefs.h
>>conftest.
$ac_ext
11292 cat >>conftest.
$ac_ext <<_ACEOF
11293 /* end confdefs.h. */
11294 #include <sys/types.h>
11303 rm -f conftest.
$ac_objext
11304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11305 (eval $ac_compile) 2>conftest.er1
11307 grep -v '^ *+' conftest.er1
>conftest.err
11309 cat conftest.err
>&5
11310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11311 (exit $ac_status); } &&
11312 { ac_try
='test -z "$ac_c_werror_flag"
11313 || test ! -s conftest.err'
11314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11315 (eval $ac_try) 2>&5
11317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11318 (exit $ac_status); }; } &&
11319 { ac_try
='test -s conftest.$ac_objext'
11320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11321 (eval $ac_try) 2>&5
11323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11324 (exit $ac_status); }; }; then
11325 MF_HAVE_UINTPTR_T
=1
11327 echo "$as_me: failed program was:" >&5
11328 sed 's/^/| /' conftest.
$ac_ext >&5
11330 MF_HAVE_UINTPTR_T
=0
11332 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11338 # libmudflapth objects are built in this subdirectory
11343 for ac_header
in pthread.h
11345 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11346 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11347 echo "$as_me:$LINENO: checking for $ac_header" >&5
11348 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11349 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11350 echo $ECHO_N "(cached) $ECHO_C" >&6
11352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11353 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11355 # Is the header compilable?
11356 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11357 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11358 cat >conftest.
$ac_ext <<_ACEOF
11361 cat confdefs.h
>>conftest.
$ac_ext
11362 cat >>conftest.
$ac_ext <<_ACEOF
11363 /* end confdefs.h. */
11364 $ac_includes_default
11365 #include <$ac_header>
11367 rm -f conftest.
$ac_objext
11368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11369 (eval $ac_compile) 2>conftest.er1
11371 grep -v '^ *+' conftest.er1
>conftest.err
11373 cat conftest.err
>&5
11374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11375 (exit $ac_status); } &&
11376 { ac_try
='test -z "$ac_c_werror_flag"
11377 || test ! -s conftest.err'
11378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11379 (eval $ac_try) 2>&5
11381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11382 (exit $ac_status); }; } &&
11383 { ac_try
='test -s conftest.$ac_objext'
11384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11385 (eval $ac_try) 2>&5
11387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11388 (exit $ac_status); }; }; then
11389 ac_header_compiler
=yes
11391 echo "$as_me: failed program was:" >&5
11392 sed 's/^/| /' conftest.
$ac_ext >&5
11394 ac_header_compiler
=no
11396 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11397 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11398 echo "${ECHO_T}$ac_header_compiler" >&6
11400 # Is the header present?
11401 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11402 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11403 cat >conftest.
$ac_ext <<_ACEOF
11406 cat confdefs.h
>>conftest.
$ac_ext
11407 cat >>conftest.
$ac_ext <<_ACEOF
11408 /* end confdefs.h. */
11409 #include <$ac_header>
11411 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11412 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11414 grep -v '^ *+' conftest.er1
>conftest.err
11416 cat conftest.err
>&5
11417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11418 (exit $ac_status); } >/dev
/null
; then
11419 if test -s conftest.err
; then
11420 ac_cpp_err
=$ac_c_preproc_warn_flag
11421 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11428 if test -z "$ac_cpp_err"; then
11429 ac_header_preproc
=yes
11431 echo "$as_me: failed program was:" >&5
11432 sed 's/^/| /' conftest.
$ac_ext >&5
11434 ac_header_preproc
=no
11436 rm -f conftest.err conftest.
$ac_ext
11437 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11438 echo "${ECHO_T}$ac_header_preproc" >&6
11440 # So? What about this header?
11441 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11443 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11444 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11445 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11446 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11447 ac_header_preproc
=yes
11450 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11451 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11452 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11453 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11454 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11455 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11456 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11457 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11458 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11459 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11460 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11461 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11464 ## ------------------------------------- ##
11465 ## Report this to the libmudflap lists. ##
11466 ## ------------------------------------- ##
11469 sed "s/^/$as_me: WARNING: /" >&2
11472 echo "$as_me:$LINENO: checking for $ac_header" >&5
11473 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11474 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11475 echo $ECHO_N "(cached) $ECHO_C" >&6
11477 eval "$as_ac_Header=\$ac_header_preproc"
11479 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11480 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11483 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11484 cat >>confdefs.h
<<_ACEOF
11485 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11493 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
11494 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
11495 target_thread_file
=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
11496 echo "$as_me:$LINENO: result: $target_thread_file" >&5
11497 echo "${ECHO_T}$target_thread_file" >&6
11499 # We only support posix threads, or no threads at all.
11501 case ${target_thread_file} in
11508 echo "${target_thread_file} is an unsupported thread package" 1>&2
11515 if test "x$posix_threads" != "x"; then
11517 LIBMUDFLAPTH_FALSE
='#'
11519 LIBMUDFLAPTH_TRUE
='#'
11520 LIBMUDFLAPTH_FALSE
=
11523 if test "x$posix_threads" != "x"
11525 build_libmudflapth
=1
11527 build_libmudflapth
=0
11532 echo "$as_me:$LINENO: checking for dlsym in -ldl" >&5
11533 echo $ECHO_N "checking for dlsym in -ldl... $ECHO_C" >&6
11534 if test "${ac_cv_lib_dl_dlsym+set}" = set; then
11535 echo $ECHO_N "(cached) $ECHO_C" >&6
11537 ac_check_lib_save_LIBS
=$LIBS
11539 cat >conftest.
$ac_ext <<_ACEOF
11542 cat confdefs.h
>>conftest.
$ac_ext
11543 cat >>conftest.
$ac_ext <<_ACEOF
11544 /* end confdefs.h. */
11546 /* Override any gcc2 internal prototype to avoid an error. */
11550 /* We use char because int might match the return type of a gcc2
11551 builtin and then its argument prototype would still apply. */
11561 rm -f conftest.
$ac_objext conftest
$ac_exeext
11562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11563 (eval $ac_link) 2>conftest.er1
11565 grep -v '^ *+' conftest.er1
>conftest.err
11567 cat conftest.err
>&5
11568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11569 (exit $ac_status); } &&
11570 { ac_try
='test -z "$ac_c_werror_flag"
11571 || test ! -s conftest.err'
11572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11573 (eval $ac_try) 2>&5
11575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11576 (exit $ac_status); }; } &&
11577 { ac_try
='test -s conftest$ac_exeext'
11578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11579 (eval $ac_try) 2>&5
11581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11582 (exit $ac_status); }; }; then
11583 ac_cv_lib_dl_dlsym
=yes
11585 echo "$as_me: failed program was:" >&5
11586 sed 's/^/| /' conftest.
$ac_ext >&5
11588 ac_cv_lib_dl_dlsym
=no
11590 rm -f conftest.err conftest.
$ac_objext \
11591 conftest
$ac_exeext conftest.
$ac_ext
11592 LIBS
=$ac_check_lib_save_LIBS
11594 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlsym" >&5
11595 echo "${ECHO_T}$ac_cv_lib_dl_dlsym" >&6
11596 if test $ac_cv_lib_dl_dlsym = yes; then
11597 cat >>confdefs.h
<<_ACEOF
11598 #define HAVE_LIBDL 1
11606 # Calculate toolexeclibdir
11607 # Also toolexecdir, though it's only used in toolexeclibdir
11608 case ${version_specific_libs} in
11610 # Need the gcc compiler version to know where to install libraries
11611 # and header files if --enable-version-specific-runtime-libs option
11613 toolexecdir
='$(libdir)/gcc/$(target_alias)'
11614 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
11617 if test -n "$with_cross_host" &&
11618 test x
"$with_cross_host" != x
"no"; then
11619 # Install a library built with a cross compiler in tooldir, not libdir.
11620 toolexecdir
='$(exec_prefix)/$(target_alias)'
11621 toolexeclibdir
='$(toolexecdir)/lib'
11623 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
11624 toolexeclibdir
='$(libdir)'
11626 multi_os_directory
=`$CC -print-multi-os-directory`
11627 case $multi_os_directory in
11628 .
) ;; # Avoid trailing /.
11629 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
11636 includedir
=${toolexecdir}/include
11639 pthread_create_version
='""'
11640 if test "x$enable_shared" = "xyes" && test "x$posix_threads" != "x"; then
11641 # NB: don't check for -lpthread here, because then it would be
11642 # added to LIBS. For the thread-unaware libmudflap.la, we don't
11645 # glibc-related hacks. dlsym() may pick the wrong version of
11646 # interposed functions like pthread_create on modern glibc.
11647 # We need to find the proper symbol version string, and use
11648 # the nonstandard dlvsym().
11650 for ac_func
in dlvsym
11652 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11653 echo "$as_me:$LINENO: checking for $ac_func" >&5
11654 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11655 if eval "test \"\${$as_ac_var+set}\" = set"; then
11656 echo $ECHO_N "(cached) $ECHO_C" >&6
11658 cat >conftest.
$ac_ext <<_ACEOF
11661 cat confdefs.h
>>conftest.
$ac_ext
11662 cat >>conftest.
$ac_ext <<_ACEOF
11663 /* end confdefs.h. */
11664 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11665 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11666 #define $ac_func innocuous_$ac_func
11668 /* System header to define __stub macros and hopefully few prototypes,
11669 which can conflict with char $ac_func (); below.
11670 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11671 <limits.h> exists even on freestanding compilers. */
11674 # include <limits.h>
11676 # include <assert.h>
11681 /* Override any gcc2 internal prototype to avoid an error. */
11686 /* We use char because int might match the return type of a gcc2
11687 builtin and then its argument prototype would still apply. */
11689 /* The GNU C library defines this for functions which it implements
11690 to always fail with ENOSYS. Some functions are actually named
11691 something starting with __ and the normal name is an alias. */
11692 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11695 char (*f) () = $ac_func;
11704 return f != $ac_func;
11709 rm -f conftest.
$ac_objext conftest
$ac_exeext
11710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11711 (eval $ac_link) 2>conftest.er1
11713 grep -v '^ *+' conftest.er1
>conftest.err
11715 cat conftest.err
>&5
11716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11717 (exit $ac_status); } &&
11718 { ac_try
='test -z "$ac_c_werror_flag"
11719 || test ! -s conftest.err'
11720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11721 (eval $ac_try) 2>&5
11723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11724 (exit $ac_status); }; } &&
11725 { ac_try
='test -s conftest$ac_exeext'
11726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11727 (eval $ac_try) 2>&5
11729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11730 (exit $ac_status); }; }; then
11731 eval "$as_ac_var=yes"
11733 echo "$as_me: failed program was:" >&5
11734 sed 's/^/| /' conftest.
$ac_ext >&5
11736 eval "$as_ac_var=no"
11738 rm -f conftest.err conftest.
$ac_objext \
11739 conftest
$ac_exeext conftest.
$ac_ext
11741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11742 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11743 if test `eval echo '${'$as_ac_var'}'` = yes; then
11744 cat >>confdefs.h
<<_ACEOF
11745 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11751 if test -n "$ac_tool_prefix"; then
11752 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
11753 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
11754 echo "$as_me:$LINENO: checking for $ac_word" >&5
11755 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11756 if test "${ac_cv_prog_NM+set}" = set; then
11757 echo $ECHO_N "(cached) $ECHO_C" >&6
11759 if test -n "$NM"; then
11760 ac_cv_prog_NM
="$NM" # Let the user override the test.
11762 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11763 for as_dir
in $PATH
11766 test -z "$as_dir" && as_dir
=.
11767 for ac_exec_ext
in '' $ac_executable_extensions; do
11768 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11769 ac_cv_prog_NM
="${ac_tool_prefix}nm"
11770 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11779 if test -n "$NM"; then
11780 echo "$as_me:$LINENO: result: $NM" >&5
11781 echo "${ECHO_T}$NM" >&6
11783 echo "$as_me:$LINENO: result: no" >&5
11784 echo "${ECHO_T}no" >&6
11788 if test -z "$ac_cv_prog_NM"; then
11790 # Extract the first word of "nm", so it can be a program name with args.
11791 set dummy nm
; ac_word
=$2
11792 echo "$as_me:$LINENO: checking for $ac_word" >&5
11793 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11794 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
11795 echo $ECHO_N "(cached) $ECHO_C" >&6
11797 if test -n "$ac_ct_NM"; then
11798 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
11800 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11801 for as_dir
in $PATH
11804 test -z "$as_dir" && as_dir
=.
11805 for ac_exec_ext
in '' $ac_executable_extensions; do
11806 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11807 ac_cv_prog_ac_ct_NM
="nm"
11808 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11816 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
11817 if test -n "$ac_ct_NM"; then
11818 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
11819 echo "${ECHO_T}$ac_ct_NM" >&6
11821 echo "$as_me:$LINENO: result: no" >&5
11822 echo "${ECHO_T}no" >&6
11827 NM
="$ac_cv_prog_NM"
11830 if test "x$ac_cv_have_dlvsym" != "x"; then
11831 # Try compiling a simple pthreads program. Find the shared libraries it
11832 # ends up with. Then use "nm" on those libraries to extract the
11833 # default symbol versioning suffix ("@@"), if any. But that's tricky.
11834 # Rather, run nm on the resulting executable. Unfortunately, autoconf
11835 # doesn't appear to have a macro that builds a test executable for
11836 # subsequent analysis ... so we do it by hand here.
11837 cat >> conftest.c
<< EOF
11838 #include <pthread.h>
11839 int main () { void *p = (void *) & pthread_create; return (int) p; }
11842 LIBS
="$LIBS -lpthread"
11843 pthread_create_version
="\"\""
11844 echo "$as_me:$LINENO: checking pthread_create symbol version" >&5
11845 echo $ECHO_N "checking pthread_create symbol version... $ECHO_C" >&6
11846 if eval $ac_link 2>&5 && test -s conftest
${ac_exeext}; then
11847 version
=`$NM conftest${ac_exeect} | grep 'pthread_create@@' | sed -e 's/^.*@@//'`
11848 if test "x$version" != "x"; then
11849 pthread_create_version
="\"$version\""
11852 echo "$as_me:$LINENO: result: $pthread_create_version" >&5
11853 echo "${ECHO_T}$pthread_create_version" >&6
11858 cat >>confdefs.h
<<_ACEOF
11859 #define PTHREAD_CREATE_VERSION $pthread_create_version
11864 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
11865 # similarly to how libstdc++ does it
11866 ac_test_CFLAGS
="${CFLAGS+set}"
11867 ac_save_CFLAGS
="$CFLAGS"
11869 # Check for -ffunction-sections -fdata-sections
11870 echo "$as_me:$LINENO: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
11871 echo $ECHO_N "checking for gcc that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
11872 CFLAGS
='-Werror -ffunction-sections -fdata-sections'
11873 cat >conftest.
$ac_ext <<_ACEOF
11876 cat confdefs.h
>>conftest.
$ac_ext
11877 cat >>conftest.
$ac_ext <<_ACEOF
11878 /* end confdefs.h. */
11888 rm -f conftest.
$ac_objext
11889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11890 (eval $ac_compile) 2>conftest.er1
11892 grep -v '^ *+' conftest.er1
>conftest.err
11894 cat conftest.err
>&5
11895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11896 (exit $ac_status); } &&
11897 { ac_try
='test -z "$ac_c_werror_flag"
11898 || test ! -s conftest.err'
11899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11900 (eval $ac_try) 2>&5
11902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11903 (exit $ac_status); }; } &&
11904 { ac_try
='test -s conftest.$ac_objext'
11905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11906 (eval $ac_try) 2>&5
11908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11909 (exit $ac_status); }; }; then
11912 echo "$as_me: failed program was:" >&5
11913 sed 's/^/| /' conftest.
$ac_ext >&5
11917 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11918 if test "$ac_test_CFLAGS" = set; then
11919 CFLAGS
="$ac_save_CFLAGS"
11921 # this is the suspicious part
11924 if test x
"$ac_fdsections" = x
"yes"; then
11925 SECTION_FLAGS
='-ffunction-sections -fdata-sections'
11927 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
11928 echo "${ECHO_T}$ac_fdsections" >&6
11932 # Check for the name of the symbol used for the entry point.
11933 echo "$as_me:$LINENO: checking for the name of the symbol used for the entry point" >&5
11934 echo $ECHO_N "checking for the name of the symbol used for the entry point... $ECHO_C" >&6
11935 if test "${mudflap_cv_entry_point+set}" = set; then
11936 echo $ECHO_N "(cached) $ECHO_C" >&6
11939 for name
in _start __start unknown
; do
11940 cat >conftest.
$ac_ext <<_ACEOF
11943 cat confdefs.h
>>conftest.
$ac_ext
11944 cat >>conftest.
$ac_ext <<_ACEOF
11945 /* end confdefs.h. */
11946 extern char $name[];
11955 rm -f conftest.
$ac_objext conftest
$ac_exeext
11956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11957 (eval $ac_link) 2>conftest.er1
11959 grep -v '^ *+' conftest.er1
>conftest.err
11961 cat conftest.err
>&5
11962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11963 (exit $ac_status); } &&
11964 { ac_try
='test -z "$ac_c_werror_flag"
11965 || test ! -s conftest.err'
11966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11967 (eval $ac_try) 2>&5
11969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11970 (exit $ac_status); }; } &&
11971 { ac_try
='test -s conftest$ac_exeext'
11972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11973 (eval $ac_try) 2>&5
11975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11976 (exit $ac_status); }; }; then
11979 echo "$as_me: failed program was:" >&5
11980 sed 's/^/| /' conftest.
$ac_ext >&5
11983 rm -f conftest.err conftest.
$ac_objext \
11984 conftest
$ac_exeext conftest.
$ac_ext
11986 mudflap_cv_entry_point
="$name"
11988 echo "$as_me:$LINENO: result: $mudflap_cv_entry_point" >&5
11989 echo "${ECHO_T}$mudflap_cv_entry_point" >&6
11990 if test "$mudflap_cv_entry_point" = unknown
; then
11991 { { echo "$as_me:$LINENO: error: none of the known symbol names works" >&5
11992 echo "$as_me: error: none of the known symbol names works" >&2;}
11993 { (exit 1); exit 1; }; }
11996 cat >>confdefs.h
<<_ACEOF
11997 #define ENTRY_POINT $mudflap_cv_entry_point
12002 if test ${multilib} = yes; then
12003 multilib_arg
="--enable-multilib"
12008 # See if we support thread-local storage.
12010 # Check whether --enable-tls or --disable-tls was given.
12011 if test "${enable_tls+set}" = set; then
12012 enableval
="$enable_tls"
12014 case "$enableval" in
12016 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
12017 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
12018 { (exit 1); exit 1; }; } ;;
12025 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
12026 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
12027 if test "${gcc_cv_have_tls+set}" = set; then
12028 echo $ECHO_N "(cached) $ECHO_C" >&6
12031 if test "$cross_compiling" = yes; then
12032 cat >conftest.
$ac_ext <<_ACEOF
12033 __thread int a; int b; int main() { return a = b; }
12035 rm -f conftest.
$ac_objext conftest
$ac_exeext
12036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12037 (eval $ac_link) 2>conftest.er1
12039 grep -v '^ *+' conftest.er1
>conftest.err
12041 cat conftest.err
>&5
12042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12043 (exit $ac_status); } &&
12044 { ac_try
='test -z "$ac_c_werror_flag"
12045 || test ! -s conftest.err'
12046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12047 (eval $ac_try) 2>&5
12049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12050 (exit $ac_status); }; } &&
12051 { ac_try
='test -s conftest$ac_exeext'
12052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12053 (eval $ac_try) 2>&5
12055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12056 (exit $ac_status); }; }; then
12057 gcc_cv_have_tls
=yes
12059 echo "$as_me: failed program was:" >&5
12060 sed 's/^/| /' conftest.
$ac_ext >&5
12064 rm -f conftest.err conftest.
$ac_objext \
12065 conftest
$ac_exeext conftest.
$ac_ext
12069 cat >conftest.
$ac_ext <<_ACEOF
12070 __thread int a; int b; int main() { return a = b; }
12072 rm -f conftest
$ac_exeext
12073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12074 (eval $ac_link) 2>&5
12076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12077 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12079 (eval $ac_try) 2>&5
12081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12082 (exit $ac_status); }; }; then
12083 chktls_save_LDFLAGS
="$LDFLAGS"
12084 LDFLAGS
="-static $LDFLAGS"
12085 cat >conftest.
$ac_ext <<_ACEOF
12086 int main() { return 0; }
12088 rm -f conftest.
$ac_objext conftest
$ac_exeext
12089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12090 (eval $ac_link) 2>conftest.er1
12092 grep -v '^ *+' conftest.er1
>conftest.err
12094 cat conftest.err
>&5
12095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12096 (exit $ac_status); } &&
12097 { ac_try
='test -z "$ac_c_werror_flag"
12098 || test ! -s conftest.err'
12099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12100 (eval $ac_try) 2>&5
12102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12103 (exit $ac_status); }; } &&
12104 { ac_try
='test -s conftest$ac_exeext'
12105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12106 (eval $ac_try) 2>&5
12108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12109 (exit $ac_status); }; }; then
12110 if test "$cross_compiling" = yes; then
12111 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
12112 See \`config.log' for more details." >&5
12113 echo "$as_me: error: cannot run test program while cross compiling
12114 See \`config.log' for more details." >&2;}
12115 { (exit 1); exit 1; }; }
12117 cat >conftest.
$ac_ext <<_ACEOF
12118 __thread int a; int b; int main() { return a = b; }
12120 rm -f conftest
$ac_exeext
12121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12122 (eval $ac_link) 2>&5
12124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12125 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12127 (eval $ac_try) 2>&5
12129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12130 (exit $ac_status); }; }; then
12131 gcc_cv_have_tls
=yes
12133 echo "$as_me: program exited with status $ac_status" >&5
12134 echo "$as_me: failed program was:" >&5
12135 sed 's/^/| /' conftest.
$ac_ext >&5
12137 ( exit $ac_status )
12140 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12143 echo "$as_me: failed program was:" >&5
12144 sed 's/^/| /' conftest.
$ac_ext >&5
12146 gcc_cv_have_tls
=yes
12148 rm -f conftest.err conftest.
$ac_objext \
12149 conftest
$ac_exeext conftest.
$ac_ext
12150 LDFLAGS
="$chktls_save_LDFLAGS"
12151 if test $gcc_cv_have_tls = yes; then
12152 chktls_save_CFLAGS
="$CFLAGS"
12153 thread_CFLAGS
=failed
12154 for flag
in '' '-pthread' '-lpthread'; do
12155 CFLAGS
="$flag $chktls_save_CFLAGS"
12156 cat >conftest.
$ac_ext <<_ACEOF
12159 cat confdefs.h
>>conftest.
$ac_ext
12160 cat >>conftest.
$ac_ext <<_ACEOF
12161 /* end confdefs.h. */
12162 #include <pthread.h>
12163 void *g(void *d) { return NULL; }
12167 pthread_t t; pthread_create(&t,NULL,g,NULL);
12172 rm -f conftest.
$ac_objext conftest
$ac_exeext
12173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12174 (eval $ac_link) 2>conftest.er1
12176 grep -v '^ *+' conftest.er1
>conftest.err
12178 cat conftest.err
>&5
12179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12180 (exit $ac_status); } &&
12181 { ac_try
='test -z "$ac_c_werror_flag"
12182 || test ! -s conftest.err'
12183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12184 (eval $ac_try) 2>&5
12186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12187 (exit $ac_status); }; } &&
12188 { ac_try
='test -s conftest$ac_exeext'
12189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12190 (eval $ac_try) 2>&5
12192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12193 (exit $ac_status); }; }; then
12194 thread_CFLAGS
="$flag"
12196 echo "$as_me: failed program was:" >&5
12197 sed 's/^/| /' conftest.
$ac_ext >&5
12200 rm -f conftest.err conftest.
$ac_objext \
12201 conftest
$ac_exeext conftest.
$ac_ext
12202 if test "X$thread_CFLAGS" != Xfailed
; then
12206 CFLAGS
="$chktls_save_CFLAGS"
12207 if test "X$thread_CFLAGS" != Xfailed
; then
12208 CFLAGS
="$thread_CFLAGS $chktls_save_CFLAGS"
12209 if test "$cross_compiling" = yes; then
12210 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
12211 See \`config.log' for more details." >&5
12212 echo "$as_me: error: cannot run test program while cross compiling
12213 See \`config.log' for more details." >&2;}
12214 { (exit 1); exit 1; }; }
12216 cat >conftest.
$ac_ext <<_ACEOF
12219 cat confdefs.h
>>conftest.
$ac_ext
12220 cat >>conftest.
$ac_ext <<_ACEOF
12221 /* end confdefs.h. */
12222 #include <pthread.h>
12224 static int *a_in_other_thread;
12226 thread_func (void *arg)
12228 a_in_other_thread = &a;
12235 void *thread_retval;
12236 int *a_in_main_thread;
12237 if (pthread_create (&thread, (pthread_attr_t *)0,
12238 thread_func, (void *)0))
12240 a_in_main_thread = &a;
12241 if (pthread_join (thread, &thread_retval))
12243 return (a_in_other_thread == a_in_main_thread);
12248 rm -f conftest
$ac_exeext
12249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12250 (eval $ac_link) 2>&5
12252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12253 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12255 (eval $ac_try) 2>&5
12257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12258 (exit $ac_status); }; }; then
12259 gcc_cv_have_tls
=yes
12261 echo "$as_me: program exited with status $ac_status" >&5
12262 echo "$as_me: failed program was:" >&5
12263 sed 's/^/| /' conftest.
$ac_ext >&5
12265 ( exit $ac_status )
12268 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12270 CFLAGS
="$chktls_save_CFLAGS"
12274 echo "$as_me: program exited with status $ac_status" >&5
12275 echo "$as_me: failed program was:" >&5
12276 sed 's/^/| /' conftest.
$ac_ext >&5
12278 ( exit $ac_status )
12281 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12284 echo "$as_me:$LINENO: result: $gcc_cv_have_tls" >&5
12285 echo "${ECHO_T}$gcc_cv_have_tls" >&6
12286 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
12288 cat >>confdefs.h
<<\_ACEOF
12294 ac_config_files
="$ac_config_files Makefile testsuite/Makefile testsuite/mfconfig.exp"
12296 cat >confcache
<<\_ACEOF
12297 # This file is a shell script that caches the results of configure
12298 # tests run on this system so they can be shared between configure
12299 # scripts and configure runs, see configure's option --config-cache.
12300 # It is not useful on other systems. If it contains results you don't
12301 # want to keep, you may remove or edit it.
12303 # config.status only pays attention to the cache file if you give it
12304 # the --recheck option to rerun configure.
12306 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12307 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12308 # following values.
12312 # The following way of writing the cache mishandles newlines in values,
12313 # but we know of no workaround that is simple, portable, and efficient.
12314 # So, don't put newlines in cache variables' values.
12315 # Ultrix sh set writes to stderr and can't be redirected directly,
12316 # and sets the high bit in the cache file unless we assign to the vars.
12319 case `(ac_space=' '; set | grep ac_space) 2>&1` in
12321 # `set' does not quote correctly, so add quotes (double-quote
12322 # substitution turns \\\\ into \\, and sed turns \\ into \).
12325 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12328 # `set' quotes correctly as required by POSIX, so do not add quotes.
12330 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
12337 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12339 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12341 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
12342 if test -w $cache_file; then
12343 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
12344 cat confcache
>$cache_file
12346 echo "not updating unwritable cache $cache_file"
12351 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12352 # Let make expand exec_prefix.
12353 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12355 # VPATH may cause trouble with some makes, so we remove $(srcdir),
12356 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
12357 # trailing colons and then remove the whole line if VPATH becomes empty
12358 # (actually we leave an empty line to preserve line numbers).
12359 if test "x$srcdir" = x.
; then
12360 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
12361 s/:*\$(srcdir):*/:/;
12362 s/:*\${srcdir}:*/:/;
12364 s/^\([^=]*=[ ]*\):*/\1/;
12370 DEFS
=-DHAVE_CONFIG_H
12374 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12375 # 1. Remove the extension, and $U if already installed.
12376 ac_i
=`echo "$ac_i" |
12377 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
12379 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
12380 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
12382 LIBOBJS
=$ac_libobjs
12384 LTLIBOBJS
=$ac_ltlibobjs
12387 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
12388 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
12389 Usually this means the macro was only invoked conditionally." >&5
12390 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
12391 Usually this means the macro was only invoked conditionally." >&2;}
12392 { (exit 1); exit 1; }; }
12394 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12395 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
12396 Usually this means the macro was only invoked conditionally." >&5
12397 echo "$as_me: error: conditional \"AMDEP\" was never defined.
12398 Usually this means the macro was only invoked conditionally." >&2;}
12399 { (exit 1); exit 1; }; }
12401 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12402 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
12403 Usually this means the macro was only invoked conditionally." >&5
12404 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
12405 Usually this means the macro was only invoked conditionally." >&2;}
12406 { (exit 1); exit 1; }; }
12408 if test -z "${LIBMUDFLAPTH_TRUE}" && test -z "${LIBMUDFLAPTH_FALSE}"; then
12409 { { echo "$as_me:$LINENO: error: conditional \"LIBMUDFLAPTH\" was never defined.
12410 Usually this means the macro was only invoked conditionally." >&5
12411 echo "$as_me: error: conditional \"LIBMUDFLAPTH\" was never defined.
12412 Usually this means the macro was only invoked conditionally." >&2;}
12413 { (exit 1); exit 1; }; }
12416 : ${CONFIG_STATUS=./config.status}
12417 ac_clean_files_save
=$ac_clean_files
12418 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12419 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
12420 echo "$as_me: creating $CONFIG_STATUS" >&6;}
12421 cat >$CONFIG_STATUS <<_ACEOF
12423 # Generated by $as_me.
12424 # Run this file to recreate the current configuration.
12425 # Compiler output produced by configure, useful for debugging
12426 # configure, is in config.log if it exists.
12429 ac_cs_recheck=false
12431 SHELL=\${CONFIG_SHELL-$SHELL}
12434 cat >>$CONFIG_STATUS <<\_ACEOF
12435 ## --------------------- ##
12436 ## M4sh Initialization. ##
12437 ## --------------------- ##
12439 # Be Bourne compatible
12440 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
12443 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
12444 # is contrary to our usage. Disable this feature.
12445 alias -g '${1+"$@"}'='"$@"'
12446 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
12449 DUALCASE
=1; export DUALCASE
# for MKS sh
12451 # Support unset when possible.
12452 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
12459 # Work around bugs in pre-3.0 UWIN ksh.
12460 $as_unset ENV MAIL MAILPATH
12467 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
12468 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
12469 LC_TELEPHONE LC_TIME
12471 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
12472 eval $as_var=C
; export $as_var
12478 # Required to use basename.
12479 if expr a
: '\(a\)' >/dev
/null
2>&1; then
12485 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
12486 as_basename
=basename
12492 # Name of the executable.
12493 as_me
=`$as_basename "$0" ||
12494 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12495 X"$0" : 'X\(//\)$' \| \
12496 X"$0" : 'X\(/\)$' \| \
12497 . : '\(.\)' 2>/dev/null ||
12499 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
12500 /^X\/\(\/\/\)$/{ s//\1/; q; }
12501 /^X\/\(\/\).*/{ s//\1/; q; }
12505 # PATH needs CR, and LINENO needs CR and PATH.
12506 # Avoid depending upon Character Ranges.
12507 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12508 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12509 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12510 as_cr_digits
='0123456789'
12511 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12513 # The user is always right.
12514 if test "${PATH_SEPARATOR+set}" != set; then
12515 echo "#! /bin/sh" >conf$$.sh
12516 echo "exit 0" >>conf$$.sh
12518 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
12527 as_lineno_1
=$LINENO
12528 as_lineno_2
=$LINENO
12529 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
12530 test "x$as_lineno_1" != "x$as_lineno_2" &&
12531 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
12532 # Find who we are. Look in the path if we contain no path at all
12535 *[\\/]* ) as_myself
=$0 ;;
12536 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12537 for as_dir
in $PATH
12540 test -z "$as_dir" && as_dir
=.
12541 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
12546 # We did not find ourselves, most probably we were run as `sh COMMAND'
12547 # in which case we are not to be found in the path.
12548 if test "x$as_myself" = x
; then
12551 if test ! -f "$as_myself"; then
12552 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
12553 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
12554 { (exit 1); exit 1; }; }
12556 case $CONFIG_SHELL in
12558 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12559 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
12562 test -z "$as_dir" && as_dir
=.
12563 for as_base
in sh bash ksh sh5
; do
12566 if ("$as_dir/$as_base" -c '
12567 as_lineno_1=$LINENO
12568 as_lineno_2=$LINENO
12569 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
12570 test "x$as_lineno_1" != "x$as_lineno_2" &&
12571 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
12572 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
12573 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
12574 CONFIG_SHELL
=$as_dir/$as_base
12575 export CONFIG_SHELL
12576 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
12584 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
12585 # uniformly replaced by the line number. The first 'sed' inserts a
12586 # line-number line before each line; the second 'sed' does the real
12587 # work. The second script uses 'N' to pair each line-number line
12588 # with the numbered line, and appends trailing '-' during
12589 # substitution so that $LINENO is not a special case at line end.
12590 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
12591 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
12592 sed '=' <$as_myself |
12597 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
12600 s,^['$as_cr_digits']*\n,,
12601 ' >$as_me.lineno
&&
12602 chmod +x
$as_me.lineno ||
12603 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
12604 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
12605 { (exit 1); exit 1; }; }
12607 # Don't try to exec as it changes $[0], causing all sort of problems
12608 # (the dirname of $[0] is not the place where we might find the
12609 # original and so on. Autoconf is especially sensible to this).
12611 # Exit status is that of the last command.
12616 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
12617 *c
*,-n*) ECHO_N
= ECHO_C
='
12619 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
12620 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
12623 if expr a
: '\(a\)' >/dev
/null
2>&1; then
12629 rm -f conf$$ conf$$.exe conf$$.
file
12631 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12632 # We could just check for DJGPP; but this test a) works b) is more generic
12633 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
12634 if test -f conf$$.exe
; then
12635 # Don't use ln at all; we don't have any links
12640 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12645 rm -f conf$$ conf$$.exe conf$$.
file
12647 if mkdir
-p .
2>/dev
/null
; then
12650 test -d .
/-p && rmdir .
/-p
12654 as_executable_p
="test -f"
12656 # Sed expression to map a string onto a valid CPP name.
12657 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12659 # Sed expression to map a string onto a valid variable name.
12660 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12664 # We need space, tab and new line, in precisely that order.
12674 # Open the log real soon, to keep \$[0] and so on meaningful, and to
12675 # report actual input values of CONFIG_FILES etc. instead of their
12676 # values after options handling. Logging --version etc. is OK.
12680 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12681 ## Running $as_me. ##
12686 This file was extended by libmudflap $as_me 1.0, which was
12687 generated by GNU Autoconf 2.59. Invocation command line was
12689 CONFIG_FILES = $CONFIG_FILES
12690 CONFIG_HEADERS = $CONFIG_HEADERS
12691 CONFIG_LINKS = $CONFIG_LINKS
12692 CONFIG_COMMANDS = $CONFIG_COMMANDS
12696 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
12700 # Files that config.status was made for.
12701 if test -n "$ac_config_files"; then
12702 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
12705 if test -n "$ac_config_headers"; then
12706 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
12709 if test -n "$ac_config_links"; then
12710 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
12713 if test -n "$ac_config_commands"; then
12714 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
12717 cat >>$CONFIG_STATUS <<\_ACEOF
12720 \`$as_me' instantiates files from templates according to the
12721 current configuration.
12723 Usage: $0 [OPTIONS] [FILE]...
12725 -h, --help print this help, then exit
12726 -V, --version print version number, then exit
12727 -q, --quiet do not print progress messages
12728 -d, --debug don't remove temporary files
12729 --recheck update $as_me by reconfiguring in the same conditions
12730 --file=FILE[:TEMPLATE]
12731 instantiate the configuration file FILE
12732 --header=FILE[:TEMPLATE]
12733 instantiate the configuration header FILE
12735 Configuration files:
12738 Configuration headers:
12741 Configuration commands:
12744 Report bugs to <bug-autoconf@gnu.org>."
12747 cat >>$CONFIG_STATUS <<_ACEOF
12749 libmudflap config.status 1.0
12750 configured by $0, generated by GNU Autoconf 2.59,
12751 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
12753 Copyright (C) 2003 Free Software Foundation, Inc.
12754 This config.status script is free software; the Free Software Foundation
12755 gives unlimited permission to copy, distribute and modify it."
12760 cat >>$CONFIG_STATUS <<\_ACEOF
12761 # If no file are specified by the user, then we need to provide default
12762 # value. By we need to know if files were specified by the user.
12768 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
12769 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
12777 *) # This is not an option, so the user has probably given explicit
12780 ac_need_defaults
=false
;;
12784 # Handling of the options.
12786 cat >>$CONFIG_STATUS <<\_ACEOF
12787 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
12789 --version |
--vers* |
-V )
12790 echo "$ac_cs_version"; exit 0 ;;
12792 # Conflict between --help and --header
12793 { { echo "$as_me:$LINENO: error: ambiguous option: $1
12794 Try \`$0 --help' for more information." >&5
12795 echo "$as_me: error: ambiguous option: $1
12796 Try \`$0 --help' for more information." >&2;}
12797 { (exit 1); exit 1; }; };;
12798 --help |
--hel |
-h )
12799 echo "$ac_cs_usage"; exit 0 ;;
12800 --debug |
--d* |
-d )
12802 --file |
--fil |
--fi |
--f )
12804 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
12805 ac_need_defaults
=false
;;
12806 --header |
--heade |
--head |
--hea )
12808 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
12809 ac_need_defaults
=false
;;
12810 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
12811 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
12814 # This is an error.
12815 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
12816 Try \`$0 --help' for more information." >&5
12817 echo "$as_me: error: unrecognized option: $1
12818 Try \`$0 --help' for more information." >&2;}
12819 { (exit 1); exit 1; }; } ;;
12821 *) ac_config_targets
="$ac_config_targets $1" ;;
12827 ac_configure_extra_args
=
12829 if $ac_cs_silent; then
12831 ac_configure_extra_args
="$ac_configure_extra_args --silent"
12835 cat >>$CONFIG_STATUS <<_ACEOF
12836 if \$ac_cs_recheck; then
12837 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
12838 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12843 cat >>$CONFIG_STATUS <<_ACEOF
12845 # INIT-COMMANDS section.
12852 with_multisubdir="$with_multisubdir"
12853 with_multisrctop="$with_multisrctop"
12854 with_target_subdir="$with_target_subdir"
12855 ac_configure_args="${multilib_arg} ${ac_configure_args}"
12856 multi_basedir="$multi_basedir"
12857 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
12859 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12862 # The HP-UX ksh and POSIX shell print the target directory to stdout
12863 # if CDPATH is set.
12864 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12866 sed_quote_subst='$sed_quote_subst'
12867 double_quote_subst='$double_quote_subst'
12868 delay_variable_subst='$delay_variable_subst'
12869 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
12870 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
12871 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
12872 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
12873 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
12874 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
12875 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
12876 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
12877 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
12878 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
12879 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
12880 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
12881 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
12882 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
12883 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
12884 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
12885 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
12886 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
12887 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
12888 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
12889 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
12890 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
12891 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
12892 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
12893 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
12894 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
12895 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
12896 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12897 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
12898 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
12899 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
12900 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
12901 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
12902 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
12903 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12904 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12905 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12906 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
12907 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
12908 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
12909 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
12910 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
12911 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
12912 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"`'
12913 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
12914 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
12915 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
12916 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
12917 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
12918 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
12919 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
12920 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
12921 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
12922 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
12923 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
12924 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12925 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12926 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
12927 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
12928 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12929 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12930 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
12931 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12932 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12933 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12934 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12935 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12936 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12937 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
12938 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
12939 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
12940 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12941 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
12942 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
12943 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
12944 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
12945 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
12946 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12947 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
12948 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
12949 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
12950 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
12951 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
12952 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12953 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
12954 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
12955 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12956 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
12957 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
12958 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
12959 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
12960 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
12961 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12962 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12963 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
12964 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
12965 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
12966 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
12967 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12968 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12969 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12970 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
12971 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
12972 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
12973 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
12974 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
12975 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
12976 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
12977 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
12978 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
12979 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
12982 LTCFLAGS='$LTCFLAGS'
12983 compiler='$compiler_DEFAULT'
12985 # Quote evaled strings.
12996 deplibs_check_method \
13005 lt_cv_sys_global_symbol_pipe \
13006 lt_cv_sys_global_symbol_to_cdecl \
13007 lt_cv_sys_global_symbol_to_c_name_address \
13010 lt_prog_compiler_no_builtin_flag \
13011 lt_prog_compiler_wl \
13012 lt_prog_compiler_pic \
13013 lt_prog_compiler_static \
13014 lt_cv_prog_compiler_c_o \
13017 export_dynamic_flag_spec \
13018 whole_archive_flag_spec \
13019 compiler_needs_object \
13021 allow_undefined_flag \
13022 no_undefined_flag \
13023 hardcode_libdir_flag_spec \
13024 hardcode_libdir_flag_spec_ld \
13025 hardcode_libdir_separator \
13030 variables_saved_for_relink \
13032 library_names_spec \
13037 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13038 *[\\\\\\\`\\"\\\$]*)
13039 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13042 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13047 # Double-quote double-evaled strings.
13048 for var in reload_cmds \
13049 old_postinstall_cmds \
13050 old_postuninstall_cmds \
13052 extract_expsyms_cmds \
13053 old_archive_from_new_cmds \
13054 old_archive_from_expsyms_cmds \
13056 archive_expsym_cmds \
13058 module_expsym_cmds \
13059 export_symbols_cmds \
13062 postuninstall_cmds \
13064 sys_lib_search_path_spec \
13065 sys_lib_dlsearch_path_spec; do
13066 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13067 *[\\\\\\\`\\"\\\$]*)
13068 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13071 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13076 # Fix-up fallback echo if it was mangled by the above quoting rules.
13078 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
13082 ac_aux_dir='$ac_aux_dir'
13083 xsi_shell='$xsi_shell'
13084 lt_shell_append='$lt_shell_append'
13086 # See if we are running on zsh, and set the options which allow our
13087 # commands through without removal of \ escapes INIT.
13088 if test -n "\${ZSH_VERSION+set}" ; then
13089 setopt NO_GLOB_SUBST
13095 TIMESTAMP='$TIMESTAMP'
13106 cat >>$CONFIG_STATUS <<\_ACEOF
13107 for ac_config_target
in $ac_config_targets
13109 case "$ac_config_target" in
13110 # Handling of arguments.
13111 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13112 "testsuite/Makefile" ) CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
13113 "testsuite/mfconfig.exp" ) CONFIG_FILES
="$CONFIG_FILES testsuite/mfconfig.exp" ;;
13114 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
13115 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
13116 "libtool" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
13117 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
13118 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13119 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13120 { (exit 1); exit 1; }; };;
13124 # If the user did not use the arguments to specify the items to instantiate,
13125 # then the envvar interface is used. Set only those that are not.
13126 # We use the long form for the default assignment because of an extremely
13127 # bizarre bug on SunOS 4.1.3.
13128 if $ac_need_defaults; then
13129 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13130 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13131 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13134 # Have a temporary directory for convenience. Make it in the build tree
13135 # simply because there is no reason to put it here, and in addition,
13136 # creating and moving files from /tmp can sometimes cause problems.
13137 # Create a temporary directory, and hook for its removal unless debugging.
13140 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
13141 trap '{ (exit 1); exit 1; }' 1 2 13 15
13144 # Create a (secure) tmp directory for tmp files.
13147 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
13148 test -n "$tmp" && test -d "$tmp"
13151 tmp
=.
/confstat$$
-$RANDOM
13152 (umask 077 && mkdir
$tmp)
13155 echo "$me: cannot create a temporary directory in ." >&2
13156 { (exit 1); exit 1; }
13161 cat >>$CONFIG_STATUS <<_ACEOF
13164 # CONFIG_FILES section.
13167 # No need to generate the scripts if there are no CONFIG_FILES.
13168 # This happens for instance when ./config.status config.h
13169 if test -n "\$CONFIG_FILES"; then
13170 # Protect against being on the right side of a sed subst in config.status.
13171 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
13172 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
13173 s,@SHELL@,$SHELL,;t t
13174 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
13175 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
13176 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
13177 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
13178 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
13179 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
13180 s,@exec_prefix@,$exec_prefix,;t t
13181 s,@prefix@,$prefix,;t t
13182 s,@program_transform_name@,$program_transform_name,;t t
13183 s,@bindir@,$bindir,;t t
13184 s,@sbindir@,$sbindir,;t t
13185 s,@libexecdir@,$libexecdir,;t t
13186 s,@datadir@,$datadir,;t t
13187 s,@sysconfdir@,$sysconfdir,;t t
13188 s,@sharedstatedir@,$sharedstatedir,;t t
13189 s,@localstatedir@,$localstatedir,;t t
13190 s,@libdir@,$libdir,;t t
13191 s,@includedir@,$includedir,;t t
13192 s,@oldincludedir@,$oldincludedir,;t t
13193 s,@infodir@,$infodir,;t t
13194 s,@mandir@,$mandir,;t t
13195 s,@build_alias@,$build_alias,;t t
13196 s,@host_alias@,$host_alias,;t t
13197 s,@target_alias@,$target_alias,;t t
13198 s,@DEFS@,$DEFS,;t t
13199 s,@ECHO_C@,$ECHO_C,;t t
13200 s,@ECHO_N@,$ECHO_N,;t t
13201 s,@ECHO_T@,$ECHO_T,;t t
13202 s,@LIBS@,$LIBS,;t t
13203 s,@build@,$build,;t t
13204 s,@build_cpu@,$build_cpu,;t t
13205 s,@build_vendor@,$build_vendor,;t t
13206 s,@build_os@,$build_os,;t t
13207 s,@host@,$host,;t t
13208 s,@host_cpu@,$host_cpu,;t t
13209 s,@host_vendor@,$host_vendor,;t t
13210 s,@host_os@,$host_os,;t t
13211 s,@target@,$target,;t t
13212 s,@target_cpu@,$target_cpu,;t t
13213 s,@target_vendor@,$target_vendor,;t t
13214 s,@target_os@,$target_os,;t t
13215 s,@target_noncanonical@,$target_noncanonical,;t t
13216 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
13217 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
13218 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
13219 s,@CYGPATH_W@,$CYGPATH_W,;t t
13220 s,@PACKAGE@,$PACKAGE,;t t
13221 s,@VERSION@,$VERSION,;t t
13222 s,@ACLOCAL@,$ACLOCAL,;t t
13223 s,@AUTOCONF@,$AUTOCONF,;t t
13224 s,@AUTOMAKE@,$AUTOMAKE,;t t
13225 s,@AUTOHEADER@,$AUTOHEADER,;t t
13226 s,@MAKEINFO@,$MAKEINFO,;t t
13227 s,@install_sh@,$install_sh,;t t
13228 s,@STRIP@,$STRIP,;t t
13229 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
13230 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
13231 s,@mkdir_p@,$mkdir_p,;t t
13233 s,@SET_MAKE@,$SET_MAKE,;t t
13234 s,@am__leading_dot@,$am__leading_dot,;t t
13235 s,@AMTAR@,$AMTAR,;t t
13236 s,@am__tar@,$am__tar,;t t
13237 s,@am__untar@,$am__untar,;t t
13238 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
13239 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
13240 s,@MAINT@,$MAINT,;t t
13241 s,@multi_basedir@,$multi_basedir,;t t
13243 s,@ac_ct_CC@,$ac_ct_CC,;t t
13244 s,@EXEEXT@,$EXEEXT,;t t
13245 s,@OBJEXT@,$OBJEXT,;t t
13246 s,@DEPDIR@,$DEPDIR,;t t
13247 s,@am__include@,$am__include,;t t
13248 s,@am__quote@,$am__quote,;t t
13249 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
13250 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
13251 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
13252 s,@CCDEPMODE@,$CCDEPMODE,;t t
13253 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
13254 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
13255 s,@CFLAGS@,$CFLAGS,;t t
13257 s,@CPPFLAGS@,$CPPFLAGS,;t t
13258 s,@EGREP@,$EGREP,;t t
13259 s,@LIBTOOL@,$LIBTOOL,;t t
13261 s,@FGREP@,$FGREP,;t t
13262 s,@GREP@,$GREP,;t t
13264 s,@DUMPBIN@,$DUMPBIN,;t t
13265 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
13267 s,@LN_S@,$LN_S,;t t
13269 s,@ac_ct_AR@,$ac_ct_AR,;t t
13270 s,@RANLIB@,$RANLIB,;t t
13271 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
13272 s,@lt_ECHO@,$lt_ECHO,;t t
13273 s,@enable_shared@,$enable_shared,;t t
13274 s,@enable_static@,$enable_static,;t t
13275 s,@MF_HAVE_STDINT_H@,$MF_HAVE_STDINT_H,;t t
13276 s,@MF_HAVE_UINTPTR_T@,$MF_HAVE_UINTPTR_T,;t t
13277 s,@LIBMUDFLAPTH_TRUE@,$LIBMUDFLAPTH_TRUE,;t t
13278 s,@LIBMUDFLAPTH_FALSE@,$LIBMUDFLAPTH_FALSE,;t t
13279 s,@build_libmudflapth@,$build_libmudflapth,;t t
13280 s,@toolexecdir@,$toolexecdir,;t t
13281 s,@toolexeclibdir@,$toolexeclibdir,;t t
13282 s,@ac_ct_NM@,$ac_ct_NM,;t t
13283 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
13284 s,@LIBOBJS@,$LIBOBJS,;t t
13285 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
13290 cat >>$CONFIG_STATUS <<\_ACEOF
13291 # Split the substitutions into bite-sized pieces for seds with
13292 # small command number limits, like on Digital OSF/1 and HP-UX.
13293 ac_max_sed_lines
=48
13294 ac_sed_frag
=1 # Number of current file.
13295 ac_beg
=1 # First line for current file.
13296 ac_end
=$ac_max_sed_lines # Line after last line for current file.
13299 while $ac_more_lines; do
13300 if test $ac_beg -gt 1; then
13301 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
13303 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
13305 if test ! -s $tmp/subs.frag
; then
13306 ac_more_lines
=false
13308 # The purpose of the label and of the branching condition is to
13309 # speed up the sed processing (if there are no `@' at all, there
13310 # is no need to browse any of the substitutions).
13311 # These are the two extra sed commands mentioned above.
13313 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
13314 if test -z "$ac_sed_cmds"; then
13315 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
13317 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
13319 ac_sed_frag
=`expr $ac_sed_frag + 1`
13321 ac_end
=`expr $ac_end + $ac_max_sed_lines`
13324 if test -z "$ac_sed_cmds"; then
13327 fi # test -n "$CONFIG_FILES"
13330 cat >>$CONFIG_STATUS <<\_ACEOF
13331 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
13332 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13334 - |
*:- |
*:-:* ) # input from stdin
13336 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13337 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
13338 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13339 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
13340 * ) ac_file_in
=$ac_file.
in ;;
13343 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
13344 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
13345 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13346 X"$ac_file" : 'X\(//\)[^/]' \| \
13347 X"$ac_file" : 'X\(//\)$' \| \
13348 X"$ac_file" : 'X\(/\)' \| \
13349 . : '\(.\)' 2>/dev/null ||
13351 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13352 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13353 /^X\(\/\/\)$/{ s//\1/; q; }
13354 /^X\(\/\).*/{ s//\1/; q; }
13356 { if $as_mkdir_p; then
13361 while test ! -d "$as_dir"; do
13362 as_dirs
="$as_dir $as_dirs"
13363 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
13364 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13365 X"$as_dir" : 'X\(//\)[^/]' \| \
13366 X"$as_dir" : 'X\(//\)$' \| \
13367 X"$as_dir" : 'X\(/\)' \| \
13368 . : '\(.\)' 2>/dev/null ||
13370 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13371 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13372 /^X\(\/\/\)$/{ s//\1/; q; }
13373 /^X\(\/\).*/{ s//\1/; q; }
13376 test ! -n "$as_dirs" || mkdir
$as_dirs
13377 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13378 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13379 { (exit 1); exit 1; }; }; }
13383 if test "$ac_dir" != .
; then
13384 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13385 # A "../" for each directory in $ac_dir_suffix.
13386 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
13388 ac_dir_suffix
= ac_top_builddir
=
13392 .
) # No --srcdir option. We are building in place.
13394 if test -z "$ac_top_builddir"; then
13397 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
13399 [\\/]* | ?
:[\\/]* ) # Absolute path.
13400 ac_srcdir
=$srcdir$ac_dir_suffix;
13401 ac_top_srcdir
=$srcdir ;;
13402 *) # Relative path.
13403 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
13404 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
13407 # Do not use `cd foo && pwd` to compute absolute paths, because
13408 # the directories may not exist.
13410 .
) ac_abs_builddir
="$ac_dir";;
13413 .
) ac_abs_builddir
=`pwd`;;
13414 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
13415 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
13418 case $ac_abs_builddir in
13419 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
13421 case ${ac_top_builddir}.
in
13422 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
13423 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
13424 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
13427 case $ac_abs_builddir in
13428 .
) ac_abs_srcdir
=$ac_srcdir;;
13431 .
) ac_abs_srcdir
=$ac_abs_builddir;;
13432 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
13433 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
13436 case $ac_abs_builddir in
13437 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
13439 case $ac_top_srcdir in
13440 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
13441 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
13442 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
13448 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
13449 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
13452 if test x
"$ac_file" != x-
; then
13453 { echo "$as_me:$LINENO: creating $ac_file" >&5
13454 echo "$as_me: creating $ac_file" >&6;}
13457 # Let's still pretend it is `configure' which instantiates (i.e., don't
13458 # use $as_me), people would be surprised to read:
13459 # /* config.h. Generated by config.status. */
13460 if test x
"$ac_file" = x-
; then
13463 configure_input
="$ac_file. "
13465 configure_input
=$configure_input"Generated from `echo $ac_file_in |
13466 sed 's,.*/,,'` by configure."
13468 # First look for the input files in the build tree, otherwise in the
13470 ac_file_inputs
=`IFS=:
13471 for f in $ac_file_in; do
13473 -) echo $tmp/stdin ;;
13475 # Absolute (can't be DOS-style, as IFS=:)
13476 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13477 echo "$as_me: error: cannot find input file: $f" >&2;}
13478 { (exit 1); exit 1; }; }
13481 if test -f "$f"; then
13484 elif test -f "$srcdir/$f"; then
13489 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13490 echo "$as_me: error: cannot find input file: $f" >&2;}
13491 { (exit 1); exit 1; }; }
13494 done` ||
{ (exit 1); exit 1; }
13496 cat >>$CONFIG_STATUS <<_ACEOF
13500 cat >>$CONFIG_STATUS <<\_ACEOF
13502 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13503 s
,@configure_input@
,$configure_input,;t t
13504 s
,@srcdir@
,$ac_srcdir,;t t
13505 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
13506 s
,@top_srcdir@
,$ac_top_srcdir,;t t
13507 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
13508 s
,@builddir@
,$ac_builddir,;t t
13509 s
,@abs_builddir@
,$ac_abs_builddir,;t t
13510 s
,@top_builddir@
,$ac_top_builddir,;t t
13511 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
13512 s
,@INSTALL@
,$ac_INSTALL,;t t
13513 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
13515 if test x"$ac_file" != x-; then
13516 mv $tmp/out $ac_file
13524 cat >>$CONFIG_STATUS <<\_ACEOF
13527 # CONFIG_HEADER section.
13530 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
13531 # NAME is the cpp macro being defined and VALUE is the value it is being given.
13533 # ac_d sets the value in "#define NAME VALUE" lines.
13534 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
13535 ac_dB
='[ ].*$,\1#\2'
13538 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
13539 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
13540 ac_uB
='$,\1#\2define\3'
13544 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
13545 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13547 - |
*:- |
*:-:* ) # input from stdin
13549 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13550 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
13551 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13552 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
13553 * ) ac_file_in
=$ac_file.
in ;;
13556 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
13557 echo "$as_me: creating $ac_file" >&6;}
13559 # First look for the input files in the build tree, otherwise in the
13561 ac_file_inputs
=`IFS=:
13562 for f in $ac_file_in; do
13564 -) echo $tmp/stdin ;;
13566 # Absolute (can't be DOS-style, as IFS=:)
13567 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13568 echo "$as_me: error: cannot find input file: $f" >&2;}
13569 { (exit 1); exit 1; }; }
13570 # Do quote $f, to prevent DOS paths from being IFS'd.
13573 if test -f "$f"; then
13576 elif test -f "$srcdir/$f"; then
13581 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13582 echo "$as_me: error: cannot find input file: $f" >&2;}
13583 { (exit 1); exit 1; }; }
13586 done` ||
{ (exit 1); exit 1; }
13587 # Remove the trailing spaces.
13588 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
13592 # Transform confdefs.h into two sed scripts, `conftest.defines' and
13593 # `conftest.undefs', that substitutes the proper values into
13594 # config.h.in to produce config.h. The first handles `#define'
13595 # templates, and the second `#undef' templates.
13596 # And first: Protect against being on the right side of a sed subst in
13597 # config.status. Protect against being in an unquoted here document
13598 # in config.status.
13599 rm -f conftest.defines conftest.undefs
13600 # Using a here document instead of a string reduces the quoting nightmare.
13601 # Putting comments in sed scripts is not portable.
13603 # `end' is used to avoid that the second main sed command (meant for
13604 # 0-ary CPP macros) applies to n-ary macro definitions.
13605 # See the Autoconf documentation for `clear'.
13606 cat >confdef2sed.
sed <<\_ACEOF
13611 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
13613 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
13616 # If some macros were called several times there might be several times
13617 # the same #defines, which is useless. Nevertheless, we may not want to
13618 # sort them, since we want the *last* AC-DEFINE to be honored.
13619 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
13620 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
13621 rm -f confdef2sed.sed
13623 # This sed command replaces #undef with comments. This is necessary, for
13624 # example, in the case of _POSIX_SOURCE, which is predefined and required
13625 # on some systems where configure will not decide to define it.
13626 cat >>conftest.undefs <<\_ACEOF
13627 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
13630 # Break up conftest.defines because some shells have a limit on the size
13631 # of here documents, and old seds have small limits too (100 cmds).
13632 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
13633 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
13634 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
13635 echo ' :' >>$CONFIG_STATUS
13636 rm -f conftest.tail
13637 while grep . conftest.defines >/dev/null
13639 # Write a limited-size here document to $tmp/defines.sed.
13640 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
13641 # Speed up: don't consider the non `#define' lines.
13642 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
13643 # Work around the forget-to-reset-the-flag bug.
13644 echo 't clr' >>$CONFIG_STATUS
13645 echo ': clr' >>$CONFIG_STATUS
13646 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
13648 sed -f $tmp/defines.sed $tmp/in >$tmp/out
13650 mv $tmp/out $tmp/in
13652 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
13653 rm -f conftest.defines
13654 mv conftest.
tail conftest.defines
13656 rm -f conftest.defines
13657 echo ' fi # grep' >>$CONFIG_STATUS
13658 echo >>$CONFIG_STATUS
13660 # Break up conftest.undefs because some shells have a limit on the size
13661 # of here documents, and old seds have small limits too (100 cmds).
13662 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
13663 rm -f conftest.
tail
13664 while grep . conftest.undefs
>/dev
/null
13666 # Write a limited-size here document to $tmp/undefs.sed.
13667 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
13668 # Speed up: don't consider the non
`#undef'
13669 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
13670 # Work around the forget-to-reset-the-flag bug.
13671 echo 't clr' >>$CONFIG_STATUS
13672 echo ': clr' >>$CONFIG_STATUS
13673 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
13675 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
13677 mv $tmp/out $tmp/in
13679 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
13680 rm -f conftest.undefs
13681 mv conftest.tail conftest.undefs
13683 rm -f conftest.undefs
13685 cat >>$CONFIG_STATUS <<\_ACEOF
13686 # Let's still pretend it is `configure
' which instantiates (i.e., don't
13687 # use $as_me), people would be surprised to read:
13688 # /* config.h. Generated by config.status. */
13689 if test x
"$ac_file" = x-
; then
13690 echo "/* Generated by configure. */" >$tmp/config.h
13692 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
13694 cat $tmp/in >>$tmp/config.h
13696 if test x
"$ac_file" != x-
; then
13697 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
13698 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
13699 echo "$as_me: $ac_file is unchanged" >&6;}
13701 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
13702 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13703 X"$ac_file" : 'X\(//\)[^/]' \| \
13704 X"$ac_file" : 'X\(//\)$' \| \
13705 X"$ac_file" : 'X\(/\)' \| \
13706 . : '\(.\)' 2>/dev/null ||
13708 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13709 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13710 /^X\(\/\/\)$/{ s//\1/; q; }
13711 /^X\(\/\).*/{ s//\1/; q; }
13713 { if $as_mkdir_p; then
13718 while test ! -d "$as_dir"; do
13719 as_dirs
="$as_dir $as_dirs"
13720 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
13721 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13722 X"$as_dir" : 'X\(//\)[^/]' \| \
13723 X"$as_dir" : 'X\(//\)$' \| \
13724 X"$as_dir" : 'X\(/\)' \| \
13725 . : '\(.\)' 2>/dev/null ||
13727 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13728 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13729 /^X\(\/\/\)$/{ s//\1/; q; }
13730 /^X\(\/\).*/{ s//\1/; q; }
13733 test ! -n "$as_dirs" || mkdir
$as_dirs
13734 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13735 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13736 { (exit 1); exit 1; }; }; }
13739 mv $tmp/config.h
$ac_file
13743 rm -f $tmp/config.h
13745 # Compute $ac_file's index in $config_headers.
13747 for _am_header
in $config_headers :; do
13748 case $_am_header in
13749 $ac_file |
$ac_file:* )
13752 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
13755 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
13756 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13757 X$ac_file : 'X\(//\)[^/]' \| \
13758 X$ac_file : 'X\(//\)$' \| \
13759 X$ac_file : 'X\(/\)' \| \
13760 . : '\(.\)' 2>/dev/null ||
13762 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13763 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13764 /^X\(\/\/\)$/{ s//\1/; q; }
13765 /^X\(\/\).*/{ s//\1/; q; }
13766 s/.*/./; q'`/stamp-h
$_am_stamp_count
13769 cat >>$CONFIG_STATUS <<\_ACEOF
13772 # CONFIG_COMMANDS section.
13774 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
13775 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
13776 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13777 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
13778 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13779 X"$ac_dest" : 'X\(//\)[^/]' \| \
13780 X"$ac_dest" : 'X\(//\)$' \| \
13781 X"$ac_dest" : 'X\(/\)' \| \
13782 . : '\(.\)' 2>/dev/null ||
13784 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13785 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13786 /^X\(\/\/\)$/{ s//\1/; q; }
13787 /^X\(\/\).*/{ s//\1/; q; }
13789 { if $as_mkdir_p; then
13794 while test ! -d "$as_dir"; do
13795 as_dirs
="$as_dir $as_dirs"
13796 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
13797 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13798 X"$as_dir" : 'X\(//\)[^/]' \| \
13799 X"$as_dir" : 'X\(//\)$' \| \
13800 X"$as_dir" : 'X\(/\)' \| \
13801 . : '\(.\)' 2>/dev/null ||
13803 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13804 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13805 /^X\(\/\/\)$/{ s//\1/; q; }
13806 /^X\(\/\).*/{ s//\1/; q; }
13809 test ! -n "$as_dirs" || mkdir
$as_dirs
13810 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13811 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13812 { (exit 1); exit 1; }; }; }
13816 if test "$ac_dir" != .
; then
13817 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13818 # A "../" for each directory in $ac_dir_suffix.
13819 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
13821 ac_dir_suffix
= ac_top_builddir
=
13825 .
) # No --srcdir option. We are building in place.
13827 if test -z "$ac_top_builddir"; then
13830 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
13832 [\\/]* | ?
:[\\/]* ) # Absolute path.
13833 ac_srcdir
=$srcdir$ac_dir_suffix;
13834 ac_top_srcdir
=$srcdir ;;
13835 *) # Relative path.
13836 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
13837 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
13840 # Do not use `cd foo && pwd` to compute absolute paths, because
13841 # the directories may not exist.
13843 .
) ac_abs_builddir
="$ac_dir";;
13846 .
) ac_abs_builddir
=`pwd`;;
13847 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
13848 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
13851 case $ac_abs_builddir in
13852 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
13854 case ${ac_top_builddir}.
in
13855 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
13856 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
13857 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
13860 case $ac_abs_builddir in
13861 .
) ac_abs_srcdir
=$ac_srcdir;;
13864 .
) ac_abs_srcdir
=$ac_abs_builddir;;
13865 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
13866 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
13869 case $ac_abs_builddir in
13870 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
13872 case $ac_top_srcdir in
13873 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
13874 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
13875 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
13880 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
13881 echo "$as_me: executing $ac_dest commands" >&6;}
13884 # Only add multilib support code if we just rebuilt the top-level
13886 case " $CONFIG_FILES " in
13888 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
13891 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
13892 # Strip MF so we end up with the name of the file.
13893 mf
=`echo "$mf" | sed -e 's/:.*$//'`
13894 # Check whether this is an Automake generated Makefile or not.
13895 # We used to match only the files named `Makefile.in', but
13896 # some people rename them; so instead we look at the file content.
13897 # Grep'ing the first line is not enough: some people post-process
13898 # each Makefile.in and add a new line on top of each file to say so.
13899 # So let's grep whole file.
13900 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
13901 dirpart
=`(dirname "$mf") 2>/dev/null ||
13902 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13903 X"$mf" : 'X\(//\)[^/]' \| \
13904 X"$mf" : 'X\(//\)$' \| \
13905 X"$mf" : 'X\(/\)' \| \
13906 . : '\(.\)' 2>/dev/null ||
13908 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13909 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13910 /^X\(\/\/\)$/{ s//\1/; q; }
13911 /^X\(\/\).*/{ s//\1/; q; }
13916 # Extract the definition of DEPDIR, am__include, and am__quote
13917 # from the Makefile without running `make'.
13918 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
13919 test -z "$DEPDIR" && continue
13920 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
13921 test -z "am__include" && continue
13922 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
13923 # When using ansi2knr, U may be empty or an underscore; expand it
13924 U
=`sed -n 's/^U = //p' < "$mf"`
13925 # Find all dependency output files, they are included files with
13926 # $(DEPDIR) in their names. We invoke sed twice because it is the
13927 # simplest approach to changing $(DEPDIR) to its actual value in the
13929 for file in `sed -n "
13930 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13931 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
13932 # Make sure the directory exists.
13933 test -f "$dirpart/$file" && continue
13934 fdir
=`(dirname "$file") 2>/dev/null ||
13935 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13936 X"$file" : 'X\(//\)[^/]' \| \
13937 X"$file" : 'X\(//\)$' \| \
13938 X"$file" : 'X\(/\)' \| \
13939 . : '\(.\)' 2>/dev/null ||
13941 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13942 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13943 /^X\(\/\/\)$/{ s//\1/; q; }
13944 /^X\(\/\).*/{ s//\1/; q; }
13946 { if $as_mkdir_p; then
13947 mkdir
-p $dirpart/$fdir
13949 as_dir
=$dirpart/$fdir
13951 while test ! -d "$as_dir"; do
13952 as_dirs
="$as_dir $as_dirs"
13953 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
13954 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13955 X"$as_dir" : 'X\(//\)[^/]' \| \
13956 X"$as_dir" : 'X\(//\)$' \| \
13957 X"$as_dir" : 'X\(/\)' \| \
13958 . : '\(.\)' 2>/dev/null ||
13960 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13961 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13962 /^X\(\/\/\)$/{ s//\1/; q; }
13963 /^X\(\/\).*/{ s//\1/; q; }
13966 test ! -n "$as_dirs" || mkdir
$as_dirs
13967 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
13968 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
13969 { (exit 1); exit 1; }; }; }
13971 # echo "creating $dirpart/$file"
13972 echo '# dummy' > "$dirpart/$file"
13978 # See if we are running on zsh, and set the options which allow our
13979 # commands through without removal of \ escapes.
13980 if test -n "${ZSH_VERSION+set}" ; then
13981 setopt NO_GLOB_SUBST
13984 cfgfile
="${ofile}T"
13985 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
13988 cat <<_LT_EOF >> "$cfgfile"
13991 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
13992 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
13993 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13994 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
13996 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13997 # 2006, 2007 Free Software Foundation, Inc.
13999 # This file is part of GNU Libtool:
14000 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
14002 # This program is free software; you can redistribute it and/or modify
14003 # it under the terms of the GNU General Public License as published by
14004 # the Free Software Foundation; either version 2 of the License, or
14005 # (at your option) any later version.
14007 # This program is distributed in the hope that it will be useful, but
14008 # WITHOUT ANY WARRANTY; without even the implied warranty of
14009 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14010 # General Public License for more details.
14012 # You should have received a copy of the GNU General Public License
14013 # along with this program; if not, a copy can be downloaded from
14014 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
14015 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
14016 # MA 02110-1301, USA.
14018 # As a special exception to the GNU General Public License, if you
14019 # distribute this file as part of a program that contains a
14020 # configuration script generated by Autoconf, you may include it under
14021 # the same distribution terms that you use for the rest of that program.
14024 # The names of the tagged configurations supported by this script.
14027 # ### BEGIN LIBTOOL CONFIG
14029 # Which release of libtool.m4 was used?
14030 macro_version=$macro_version
14031 macro_revision=$macro_revision
14033 # Whether or not to build shared libraries.
14034 build_libtool_libs=$enable_shared
14036 # Whether or not to build static libraries.
14037 build_old_libs=$enable_static
14039 # What type of objects to build.
14042 # Whether or not to optimize for fast installation.
14043 fast_install=$enable_fast_install
14046 host_alias=$host_alias
14050 # The build system.
14051 build_alias=$build_alias
14055 # A sed program that does not truncate output.
14058 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14059 Xsed="\$SED -e 1s/^X//"
14061 # A grep program that handles long lines.
14067 # A literal string matcher.
14070 # A BSD- or MS-compatible name lister.
14073 # Whether we need soft or hard links.
14076 # What is the maximum length of a command?
14077 max_cmd_len=$max_cmd_len
14079 # Object file suffix (normally "o").
14082 # Executable file suffix (normally "").
14085 # whether the shell understands "unset".
14088 # turn spaces into newlines.
14091 # turn newlines into spaces.
14094 # How to create reloadable object files.
14095 reload_flag=$lt_reload_flag
14096 reload_cmds=$lt_reload_cmds
14098 # Method to check whether dependent libraries are shared objects.
14099 deplibs_check_method=$lt_deplibs_check_method
14101 # Command to use when deplibs_check_method == "file_magic".
14102 file_magic_cmd=$lt_file_magic_cmd
14106 AR_FLAGS=$lt_AR_FLAGS
14108 # A symbol stripping program.
14111 # Commands used to install an old-style archive.
14113 old_postinstall_cmds=$lt_old_postinstall_cmds
14114 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14119 # LTCC compiler flags.
14120 LTCFLAGS=$lt_CFLAGS
14122 # Take the output of nm and produce a listing of raw symbols and C names.
14123 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14125 # Transform the output of nm in a proper C declaration.
14126 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14128 # Transform the output of nm in a C name address pair.
14129 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14131 # The name of the directory that contains temporary libtool files.
14134 # Shell to use when invoking shell scripts.
14137 # An echo program that does not interpret backslashes.
14140 # Used to examine libraries when file_magic_cmd begins with "file".
14141 MAGIC_CMD=$MAGIC_CMD
14143 # Must we lock files when doing compilation?
14144 need_locks=$lt_need_locks
14146 # Old archive suffix (normally "a").
14149 # Shared library suffix (normally ".so").
14150 shrext_cmds=$lt_shrext_cmds
14152 # The commands to extract the exported symbol list from a shared archive.
14153 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14155 # Variables whose values should be saved in libtool wrapper scripts and
14156 # restored at link time.
14157 variables_saved_for_relink=$lt_variables_saved_for_relink
14159 # Do we need the "lib" prefix for modules?
14160 need_lib_prefix=$need_lib_prefix
14162 # Do we need a version for libraries?
14163 need_version=$need_version
14165 # Library versioning type.
14166 version_type=$version_type
14168 # Shared library runtime path variable.
14169 runpath_var=$runpath_var
14171 # Shared library path variable.
14172 shlibpath_var=$shlibpath_var
14174 # Is shlibpath searched before the hard-coded library search path?
14175 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14177 # Format of library name prefix.
14178 libname_spec=$lt_libname_spec
14180 # List of archive names. First name is the real one, the rest are links.
14181 # The last name is the one that the linker finds with -lNAME
14182 library_names_spec=$lt_library_names_spec
14184 # The coded name of the library, if different from the real name.
14185 soname_spec=$lt_soname_spec
14187 # Command to use after installation of a shared archive.
14188 postinstall_cmds=$lt_postinstall_cmds
14190 # Command to use after uninstallation of a shared archive.
14191 postuninstall_cmds=$lt_postuninstall_cmds
14193 # Commands used to finish a libtool library installation in a directory.
14194 finish_cmds=$lt_finish_cmds
14196 # As "finish_cmds", except a single script fragment to be evaled but
14198 finish_eval=$lt_finish_eval
14200 # Whether we should hardcode library paths into libraries.
14201 hardcode_into_libs=$hardcode_into_libs
14203 # Compile-time system search path for libraries.
14204 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14206 # Run-time system search path for libraries.
14207 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14209 # Whether dlopen is supported.
14210 dlopen_support=$enable_dlopen
14212 # Whether dlopen of programs is supported.
14213 dlopen_self=$enable_dlopen_self
14215 # Whether dlopen of statically linked programs is supported.
14216 dlopen_self_static=$enable_dlopen_self_static
14218 # Commands to strip libraries.
14219 old_striplib=$lt_old_striplib
14220 striplib=$lt_striplib
14223 # The linker used to build libraries.
14226 # Commands used to build an old-style archive.
14227 old_archive_cmds=$lt_old_archive_cmds
14229 # A language specific compiler.
14232 # Is the compiler the GNU compiler?
14235 # Compiler flag to turn off builtin functions.
14236 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14238 # How to pass a linker flag through the compiler.
14239 wl=$lt_lt_prog_compiler_wl
14241 # Additional compiler flags for building library objects.
14242 pic_flag=$lt_lt_prog_compiler_pic
14244 # Compiler flag to prevent dynamic linking.
14245 link_static_flag=$lt_lt_prog_compiler_static
14247 # Does compiler simultaneously support -c and -o options?
14248 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14250 # Whether or not to add -lc for building shared libraries.
14251 build_libtool_need_lc=$archive_cmds_need_lc
14253 # Whether or not to disallow shared libs when runtime libs are static.
14254 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14256 # Compiler flag to allow reflexive dlopens.
14257 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14259 # Compiler flag to generate shared objects directly from archives.
14260 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14262 # Whether the compiler copes with passing no objects directly.
14263 compiler_needs_object=$lt_compiler_needs_object
14265 # Create an old-style archive from a shared archive.
14266 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14268 # Create a temporary old-style archive to link instead of a shared archive.
14269 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14271 # Commands used to build a shared archive.
14272 archive_cmds=$lt_archive_cmds
14273 archive_expsym_cmds=$lt_archive_expsym_cmds
14275 # Commands used to build a loadable module if different from building
14276 # a shared archive.
14277 module_cmds=$lt_module_cmds
14278 module_expsym_cmds=$lt_module_expsym_cmds
14280 # Whether we are building with GNU ld or not.
14281 with_gnu_ld=$lt_with_gnu_ld
14283 # Flag that allows shared libraries with undefined symbols to be built.
14284 allow_undefined_flag=$lt_allow_undefined_flag
14286 # Flag that enforces no undefined symbols.
14287 no_undefined_flag=$lt_no_undefined_flag
14289 # Flag to hardcode \$libdir into a binary during linking.
14290 # This must work even if \$libdir does not exist
14291 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14293 # If ld is used when linking, flag to hardcode \$libdir into a binary
14294 # during linking. This must work even if \$libdir does not exist.
14295 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14297 # Whether we need a single "-rpath" flag with a separated argument.
14298 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14300 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14301 # DIR into the resulting binary.
14302 hardcode_direct=$hardcode_direct
14304 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14305 # DIR into the resulting binary and the resulting library dependency is
14306 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14307 # library is relocated.
14308 hardcode_direct_absolute=$hardcode_direct_absolute
14310 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14311 # into the resulting binary.
14312 hardcode_minus_L=$hardcode_minus_L
14314 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14315 # into the resulting binary.
14316 hardcode_shlibpath_var=$hardcode_shlibpath_var
14318 # Set to "yes" if building a shared library automatically hardcodes DIR
14319 # into the library and all subsequent libraries and executables linked
14321 hardcode_automatic=$hardcode_automatic
14323 # Set to yes if linker adds runtime paths of dependent libraries
14324 # to runtime path list.
14325 inherit_rpath=$inherit_rpath
14327 # Whether libtool must link a program against all its dependency libraries.
14328 link_all_deplibs=$link_all_deplibs
14330 # Fix the shell variable \$srcfile for the compiler.
14331 fix_srcfile_path=$lt_fix_srcfile_path
14333 # Set to "yes" if exported symbols are required.
14334 always_export_symbols=$always_export_symbols
14336 # The commands to list exported symbols.
14337 export_symbols_cmds=$lt_export_symbols_cmds
14339 # Symbols that should not be listed in the preloaded symbols.
14340 exclude_expsyms=$lt_exclude_expsyms
14342 # Symbols that must always be exported.
14343 include_expsyms=$lt_include_expsyms
14345 # Commands necessary for linking programs (against libraries) with templates.
14346 prelink_cmds=$lt_prelink_cmds
14348 # Specify filename containing input files.
14349 file_list_spec=$lt_file_list_spec
14351 # How to hardcode a shared library path into an executable.
14352 hardcode_action=$hardcode_action
14354 # ### END LIBTOOL CONFIG
14360 cat <<\_LT_EOF
>> "$cfgfile"
14361 # AIX sometimes has problems with the GCC collect2 program. For some
14362 # reason, if we set the COLLECT_NAMES environment variable, the problems
14363 # vanish in a puff of smoke.
14364 if test "X${COLLECT_NAMES+set}" != Xset
; then
14366 export COLLECT_NAMES
14373 ltmain
="$ac_aux_dir/ltmain.sh"
14376 # We use sed instead of cat because bash on DJGPP gets confused if
14377 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14378 # text mode, it properly converts lines to CR/LF. This bash problem
14379 # is reportedly fixed, but why not run on old versions too?
14380 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
14381 ||
(rm -f "$cfgfile"; exit 1)
14385 cat << \_LT_EOF
>> "$cfgfile"
14386 # func_dirname file append nondir_replacement
14387 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
14388 # otherwise set result to NONDIR_REPLACEMENT.
14392 */*) func_dirname_result
="${1%/*}${2}" ;;
14393 * ) func_dirname_result
="${3}" ;;
14397 # func_basename file
14400 func_basename_result
="${1##*/}"
14403 # func_stripname prefix suffix name
14404 # strip PREFIX and SUFFIX off of NAME.
14405 # PREFIX and SUFFIX must not contain globbing or regex special
14406 # characters, hashes, percent signs, but SUFFIX may contain a leading
14407 # dot (in which case that matches only a dot).
14410 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
14411 # positional parameters, so assign one to ordinary parameter first.
14412 func_stripname_result
=${3}
14413 func_stripname_result
=${func_stripname_result#"${1}"}
14414 func_stripname_result
=${func_stripname_result%"${2}"}
14420 func_opt_split_opt
=${1%%=*}
14421 func_opt_split_arg
=${1#*=}
14428 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
14429 *) func_lo2o_result
=${1} ;;
14434 *) # Bourne compatible functions.
14435 cat << \_LT_EOF
>> "$cfgfile"
14436 # func_dirname file append nondir_replacement
14437 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
14438 # otherwise set result to NONDIR_REPLACEMENT.
14441 # Extract subdirectory from the argument.
14442 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
14443 if test "X$func_dirname_result" = "X${1}"; then
14444 func_dirname_result
="${3}"
14446 func_dirname_result
="$func_dirname_result${2}"
14450 # func_basename file
14453 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
14456 # func_stripname prefix suffix name
14457 # strip PREFIX and SUFFIX off of NAME.
14458 # PREFIX and SUFFIX must not contain globbing or regex special
14459 # characters, hashes, percent signs, but SUFFIX may contain a leading
14460 # dot (in which case that matches only a dot).
14461 # func_strip_suffix prefix name
14465 .
*) func_stripname_result
=`$ECHO "X${3}" \
14466 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
14467 *) func_stripname_result
=`$ECHO "X${3}" \
14468 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
14473 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
14474 my_sed_long_arg
='1s/^-[^=]*=//'
14479 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
14480 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
14486 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
14491 case $lt_shell_append in
14493 cat << \_LT_EOF
>> "$cfgfile"
14495 # func_append var value
14496 # Append VALUE to the end of shell variable VAR.
14504 cat << \_LT_EOF
>> "$cfgfile"
14506 # func_append var value
14507 # Append VALUE to the end of shell variable VAR.
14517 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
14518 ||
(rm -f "$cfgfile"; exit 1)
14520 mv -f "$cfgfile" "$ofile" ||
14521 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14529 cat >>$CONFIG_STATUS <<\_ACEOF
14531 { (exit 0); exit 0; }
14533 chmod +x
$CONFIG_STATUS
14534 ac_clean_files
=$ac_clean_files_save
14537 # configure is writing to config.log, and then calls config.status.
14538 # config.status does its own redirection, appending to config.log.
14539 # Unfortunately, on DOS this fails, as config.log is still kept open
14540 # by configure, so config.status won't be able to write to it; its
14541 # output is simply discarded. So we exec the FD to /dev/null,
14542 # effectively closing config.log, so it can be properly (re)opened and
14543 # appended to by config.status. When coming back to configure, we
14544 # need to make the FD available again.
14545 if test "$no_create" != yes; then
14547 ac_config_status_args
=
14548 test "$silent" = yes &&
14549 ac_config_status_args
="$ac_config_status_args --quiet"
14551 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
14553 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14554 # would make configure fail if this is the last instruction.
14555 $ac_cs_success ||
{ (exit 1); exit 1; }