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 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix
=/usr
/local
255 ac_config_libobj_dir
=.
260 SHELL
=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
268 PACKAGE_NAME
='libmudflap'
269 PACKAGE_TARNAME
='libmudflap'
270 PACKAGE_VERSION
='1.0'
271 PACKAGE_STRING
='libmudflap 1.0'
274 ac_unique_file
="mf-runtime.c"
275 # Factoring default headers for most tests.
276 ac_includes_default
="\
279 # include <sys/types.h>
282 # include <sys/stat.h>
293 # if !STDC_HEADERS && HAVE_MEMORY_H
299 # include <strings.h>
302 # include <inttypes.h>
312 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 LN_S RANLIB ac_ct_RANLIB LIBTOOL enable_shared enable_static MF_HAVE_STDINT_H MF_HAVE_UINTPTR_T LIBMUDFLAPTH_TRUE LIBMUDFLAPTH_FALSE build_libmudflapth toolexecdir toolexeclibdir NM ac_ct_NM SECTION_FLAGS LIBOBJS LTLIBOBJS'
315 # Initialize some variables set by options.
317 ac_init_version
=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
327 program_transform_name
=s
,x
,x
,
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir
='${exec_prefix}/bin'
341 sbindir
='${exec_prefix}/sbin'
342 libexecdir
='${exec_prefix}/libexec'
343 datadir
='${prefix}/share'
344 sysconfdir
='${prefix}/etc'
345 sharedstatedir
='${prefix}/com'
346 localstatedir
='${prefix}/var'
347 libdir
='${exec_prefix}/lib'
348 includedir
='${prefix}/include'
349 oldincludedir
='/usr/include'
350 infodir
='${prefix}/info'
351 mandir
='${prefix}/man'
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
363 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
369 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
371 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
374 -build |
--build |
--buil |
--bui |
--bu)
375 ac_prev
=build_alias
;;
376 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
377 build_alias
=$ac_optarg ;;
379 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
380 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
381 ac_prev
=cache_file
;;
382 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
383 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
384 cache_file
=$ac_optarg ;;
387 cache_file
=config.cache
;;
389 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
391 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
393 datadir
=$ac_optarg ;;
395 -disable-* |
--disable-*)
396 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* |
--enable-*)
405 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
412 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
418 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
419 |
--exec |
--exe |
--ex)
420 ac_prev
=exec_prefix
;;
421 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
422 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
423 |
--exec=* |
--exe=* |
--ex=*)
424 exec_prefix
=$ac_optarg ;;
426 -gas |
--gas |
--ga |
--g)
427 # Obsolete; use --with-gas.
430 -help |
--help |
--hel |
--he |
-h)
432 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
433 ac_init_help
=recursive
;;
434 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
435 ac_init_help
=short
;;
437 -host |
--host |
--hos |
--ho)
438 ac_prev
=host_alias
;;
439 -host=* |
--host=* |
--hos=* |
--ho=*)
440 host_alias
=$ac_optarg ;;
442 -includedir |
--includedir |
--includedi |
--included |
--include \
443 |
--includ |
--inclu |
--incl |
--inc)
444 ac_prev
=includedir
;;
445 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
446 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
447 includedir
=$ac_optarg ;;
449 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
451 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
452 infodir
=$ac_optarg ;;
454 -libdir |
--libdir |
--libdi |
--libd)
456 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
459 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
460 |
--libexe |
--libex |
--libe)
461 ac_prev
=libexecdir
;;
462 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
463 |
--libexe=* |
--libex=* |
--libe=*)
464 libexecdir
=$ac_optarg ;;
466 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
467 |
--localstate |
--localstat |
--localsta |
--localst \
468 |
--locals |
--local |
--loca |
--loc |
--lo)
469 ac_prev
=localstatedir
;;
470 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
471 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
472 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
473 localstatedir
=$ac_optarg ;;
475 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
477 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
481 # Obsolete; use --without-fp.
484 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
485 |
--no-cr |
--no-c |
-n)
488 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
489 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
492 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
493 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
494 |
--oldin |
--oldi |
--old |
--ol |
--o)
495 ac_prev
=oldincludedir
;;
496 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
497 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
498 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
499 oldincludedir
=$ac_optarg ;;
501 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
503 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
506 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
507 |
--program-pre |
--program-pr |
--program-p)
508 ac_prev
=program_prefix
;;
509 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
510 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
511 program_prefix
=$ac_optarg ;;
513 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
514 |
--program-suf |
--program-su |
--program-s)
515 ac_prev
=program_suffix
;;
516 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
517 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
518 program_suffix
=$ac_optarg ;;
520 -program-transform-name |
--program-transform-name \
521 |
--program-transform-nam |
--program-transform-na \
522 |
--program-transform-n |
--program-transform- \
523 |
--program-transform |
--program-transfor \
524 |
--program-transfo |
--program-transf \
525 |
--program-trans |
--program-tran \
526 |
--progr-tra |
--program-tr |
--program-t)
527 ac_prev
=program_transform_name
;;
528 -program-transform-name=* |
--program-transform-name=* \
529 |
--program-transform-nam=* |
--program-transform-na=* \
530 |
--program-transform-n=* |
--program-transform-=* \
531 |
--program-transform=* |
--program-transfor=* \
532 |
--program-transfo=* |
--program-transf=* \
533 |
--program-trans=* |
--program-tran=* \
534 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
535 program_transform_name
=$ac_optarg ;;
537 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
538 |
-silent |
--silent |
--silen |
--sile |
--sil)
541 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
543 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
545 sbindir
=$ac_optarg ;;
547 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
548 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
549 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
551 ac_prev
=sharedstatedir
;;
552 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
553 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
554 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
556 sharedstatedir
=$ac_optarg ;;
558 -site |
--site |
--sit)
560 -site=* |
--site=* |
--sit=*)
563 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
565 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
568 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
569 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
570 ac_prev
=sysconfdir
;;
571 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
572 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
573 sysconfdir
=$ac_optarg ;;
575 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
576 ac_prev
=target_alias
;;
577 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
578 target_alias
=$ac_optarg ;;
580 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
583 -version |
--version |
--versio |
--versi |
--vers |
-V)
587 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package
=`echo $ac_package| sed 's/-/_/g'`
594 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* |
--without-*)
600 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package
=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
609 # Obsolete; use --with-x.
612 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
613 |
--x-incl |
--x-inc |
--x-in |
--x-i)
614 ac_prev
=x_includes
;;
615 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
616 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
617 x_includes
=$ac_optarg ;;
619 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
620 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
621 ac_prev
=x_libraries
;;
622 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
623 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
624 x_libraries
=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
632 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652 if test -n "$ac_prev"; then
653 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var
in exec_prefix prefix
661 eval ac_val
=$
`echo $ac_var`
663 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
669 # Be sure to have absolute paths.
670 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val
=$
`echo $ac_var`
675 [\\/$
]* | ?
:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x
; then
690 if test "x$build_alias" = x
; then
691 cross_compiling
=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
700 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
702 test "$silent" = yes && exec 6>/dev
/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted
=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir
=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
722 if test ! -r $srcdir/$ac_unique_file; then
726 ac_srcdir_defaulted
=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set
=${build_alias+set}
742 ac_env_build_alias_value
=$build_alias
743 ac_cv_env_build_alias_set
=${build_alias+set}
744 ac_cv_env_build_alias_value
=$build_alias
745 ac_env_host_alias_set
=${host_alias+set}
746 ac_env_host_alias_value
=$host_alias
747 ac_cv_env_host_alias_set
=${host_alias+set}
748 ac_cv_env_host_alias_value
=$host_alias
749 ac_env_target_alias_set
=${target_alias+set}
750 ac_env_target_alias_value
=$target_alias
751 ac_cv_env_target_alias_set
=${target_alias+set}
752 ac_cv_env_target_alias_value
=$target_alias
753 ac_env_CPP_set
=${CPP+set}
754 ac_env_CPP_value
=$CPP
755 ac_cv_env_CPP_set
=${CPP+set}
756 ac_cv_env_CPP_value
=$CPP
757 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
758 ac_env_CPPFLAGS_value
=$CPPFLAGS
759 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
760 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
763 # Report the --help message.
765 if test "$ac_init_help" = "long"; then
766 # Omit some internal or obsolete options to make the list less imposing.
767 # This message is too long to be a string in the A/UX 3.1 sh.
769 \`configure' configures libmudflap 1.0 to adapt to many kinds of systems.
771 Usage: $0 [OPTION]... [VAR=VALUE]...
773 To assign environment variables (e.g., CC, CFLAGS...), specify them as
774 VAR=VALUE. See below for descriptions of some of the useful variables.
776 Defaults for the options are specified in brackets.
779 -h, --help display this help and exit
780 --help=short display options specific to this package
781 --help=recursive display the short help of all the included packages
782 -V, --version display version information and exit
783 -q, --quiet, --silent do not print \`checking...' messages
784 --cache-file=FILE cache test results in FILE [disabled]
785 -C, --config-cache alias for \`--cache-file=config.cache'
786 -n, --no-create do not create output files
787 --srcdir=DIR find the sources in DIR [configure dir or \`..']
792 Installation directories:
793 --prefix=PREFIX install architecture-independent files in PREFIX
795 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
798 By default, \`make install' will install all the files in
799 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
800 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
801 for instance \`--prefix=\$HOME'.
803 For better control, use the options below.
805 Fine tuning of the installation directories:
806 --bindir=DIR user executables [EPREFIX/bin]
807 --sbindir=DIR system admin executables [EPREFIX/sbin]
808 --libexecdir=DIR program executables [EPREFIX/libexec]
809 --datadir=DIR read-only architecture-independent data [PREFIX/share]
810 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
811 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
812 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
813 --libdir=DIR object code libraries [EPREFIX/lib]
814 --includedir=DIR C header files [PREFIX/include]
815 --oldincludedir=DIR C header files for non-gcc [/usr/include]
816 --infodir=DIR info documentation [PREFIX/info]
817 --mandir=DIR man documentation [PREFIX/man]
823 --program-prefix=PREFIX prepend PREFIX to installed program names
824 --program-suffix=SUFFIX append SUFFIX to installed program names
825 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
828 --build=BUILD configure
for building on BUILD
[guessed
]
829 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
830 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
834 if test -n "$ac_init_help"; then
835 case $ac_init_help in
836 short | recursive
) echo "Configuration of libmudflap 1.0:";;
841 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
842 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
843 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed
in a compiler-specific directory
844 --enable-maintainer-mode enable make rules and dependencies not useful
845 (and sometimes confusing
) to the casual installer
846 --enable-multilib build many library versions
(default
)
847 --disable-dependency-tracking speeds up one-time build
848 --enable-dependency-tracking do not reject slow dependency extractors
849 --enable-shared=PKGS build shared libraries default
=yes
850 --enable-static=PKGS build static libraries default
=yes
851 --enable-fast-install=PKGS optimize
for fast installation default
=yes
852 --disable-libtool-lock avoid locking
(might
break parallel builds
)
853 --enable-tls Use thread-local storage
[default
=yes]
856 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
857 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
858 --with-gnu-ld assume the C compiler uses GNU ld default
=no
859 --with-pic try to use only PIC
/non-PIC objects default
=use both
861 Some influential environment variables
:
862 CC C compiler
command
863 CFLAGS C compiler flags
864 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
865 nonstandard directory
<lib dir
>
866 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
867 headers
in a nonstandard directory
<include dir
>
870 Use these variables to override the choices made by
`configure' or to help
871 it to find libraries and programs with nonstandard names/locations.
876 if test "$ac_init_help" = "recursive"; then
877 # If there are subdirs, report their specific --help.
879 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
880 test -d $ac_dir || continue
883 if test "$ac_dir" != .; then
884 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
885 # A "../" for each directory in $ac_dir_suffix.
886 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
888 ac_dir_suffix= ac_top_builddir=
892 .) # No --srcdir option. We are building in place.
894 if test -z "$ac_top_builddir"; then
897 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
899 [\\/]* | ?:[\\/]* ) # Absolute path.
900 ac_srcdir=$srcdir$ac_dir_suffix;
901 ac_top_srcdir=$srcdir ;;
903 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
904 ac_top_srcdir=$ac_top_builddir$srcdir ;;
907 # Do not use `cd foo
&& pwd` to compute absolute paths, because
908 # the directories may not exist.
910 .) ac_abs_builddir="$ac_dir";;
913 .) ac_abs_builddir=`pwd`;;
914 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
915 *) ac_abs_builddir=`pwd`/"$ac_dir";;
918 case $ac_abs_builddir in
919 .) ac_abs_top_builddir=${ac_top_builddir}.;;
921 case ${ac_top_builddir}. in
922 .) ac_abs_top_builddir=$ac_abs_builddir;;
923 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
924 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
927 case $ac_abs_builddir in
928 .) ac_abs_srcdir=$ac_srcdir;;
931 .) ac_abs_srcdir=$ac_abs_builddir;;
932 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
933 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
936 case $ac_abs_builddir in
937 .) ac_abs_top_srcdir=$ac_top_srcdir;;
939 case $ac_top_srcdir in
940 .) ac_abs_top_srcdir=$ac_abs_builddir;;
941 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
942 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
947 # Check for guested configure; otherwise get Cygnus style configure.
948 if test -f $ac_srcdir/configure.gnu; then
950 $SHELL $ac_srcdir/configure.gnu --help=recursive
951 elif test -f $ac_srcdir/configure; then
953 $SHELL $ac_srcdir/configure --help=recursive
954 elif test -f $ac_srcdir/configure.ac ||
955 test -f $ac_srcdir/configure.in; then
959 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
965 test -n "$ac_init_help" && exit 0
966 if $ac_init_version; then
968 libmudflap configure 1.0
969 generated by GNU Autoconf 2.59
971 Copyright (C) 2003 Free Software Foundation, Inc.
972 This configure script is free software; the Free Software Foundation
973 gives unlimited permission to copy, distribute and modify it.
979 This file contains any messages produced by compilers while
980 running configure, to aid debugging if configure makes a mistake.
982 It was created by libmudflap $as_me 1.0, which was
983 generated by GNU Autoconf 2.59. Invocation command line was
994 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
995 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
996 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
997 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
998 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1000 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1001 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1003 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1004 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1005 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1006 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1007 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1008 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1009 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1017 test -z "$as_dir" && as_dir=.
1018 echo "PATH: $as_dir"
1033 # Keep a trace of the command line.
1034 # Strip out --no-create and --no-recursion so they do not pile up.
1035 # Strip out --silent because we don't want to record it for future runs.
1036 # Also quote any args containing shell meta-characters.
1037 # Make two passes to allow for proper duplicate-argument suppression.
1042 ac_must_keep_next=false
1048 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1049 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1050 | -silent | --silent | --silen | --sile | --sil)
1052 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1053 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1056 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1058 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1059 if test $ac_must_keep_next = true; then
1060 ac_must_keep_next=false # Got value, back to normal.
1063 *=* | --config-cache | -C | -disable-* | --disable-* \
1064 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1065 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1066 | -with-* | --with-* | -without-* | --without-* | --x)
1067 case "$ac_configure_args0 " in
1068 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1071 -* ) ac_must_keep_next=true ;;
1074 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1075 # Get rid of the leading space.
1081 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1082 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1084 # When interrupted or exit'd, cleanup temporary files, and complete
1085 # config.log. We remove comments because anyway the quotes in there
1086 # would cause problems or look ugly.
1087 # WARNING: Be sure not to use single quotes in there, as some shells,
1088 # such as our DU 5.0 friend, will then `close
' the trap.
1089 trap 'exit_status
=$?
1090 # Save into config.log some information that might help in debugging.
1095 ## ---------------- ##
1096 ## Cache variables. ##
1097 ## ---------------- ##
1100 # The following way of writing the cache mishandles newlines in values,
1103 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1106 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1107 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1111 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1118 ## ----------------- ##
1119 ## Output variables. ##
1120 ## ----------------- ##
1123 for ac_var
in $ac_subst_vars
1125 eval ac_val
=$
`echo $ac_var`
1126 echo "$ac_var='"'"'$ac_val'"'"'"
1130 if test -n "$ac_subst_files"; then
1137 for ac_var
in $ac_subst_files
1139 eval ac_val
=$
`echo $ac_var`
1140 echo "$ac_var='"'"'$ac_val'"'"'"
1145 if test -s confdefs.h
; then
1152 sed "/^$/d" confdefs.h |
sort
1155 test "$ac_signal" != 0 &&
1156 echo "$as_me: caught signal $ac_signal"
1157 echo "$as_me: exit $exit_status"
1159 rm -f core
*.core
&&
1160 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1163 for ac_signal in 1 2 13 15; do
1164 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1168 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1169 rm -rf conftest* confdefs.h
1170 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1173 # Predefined preprocessor variables.
1175 cat >>confdefs.h <<_ACEOF
1176 #define PACKAGE_NAME "$PACKAGE_NAME"
1180 cat >>confdefs.h <<_ACEOF
1181 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1185 cat >>confdefs.h <<_ACEOF
1186 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1190 cat >>confdefs.h <<_ACEOF
1191 #define PACKAGE_STRING "$PACKAGE_STRING"
1195 cat >>confdefs.h <<_ACEOF
1196 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1200 # Let the site file select an alternate cache file if it wants to.
1201 # Prefer explicitly selected file to automatically selected ones.
1202 if test -z "$CONFIG_SITE"; then
1203 if test "x$prefix" != xNONE; then
1204 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1206 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1209 for ac_site_file in $CONFIG_SITE; do
1210 if test -r "$ac_site_file"; then
1211 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1212 echo "$as_me: loading site script $ac_site_file" >&6;}
1213 sed 's
/^
/|
/' "$ac_site_file" >&5
1218 if test -r "$cache_file"; then
1219 # Some versions of bash will fail to source /dev/null (special
1220 # files actually), so we avoid doing that.
1221 if test -f "$cache_file"; then
1222 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1223 echo "$as_me: loading cache $cache_file" >&6;}
1225 [\\/]* | ?:[\\/]* ) . $cache_file;;
1226 *) . ./$cache_file;;
1230 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1231 echo "$as_me: creating cache $cache_file" >&6;}
1235 # Check that the precious variables saved in the cache have kept the same
1237 ac_cache_corrupted=false
1238 for ac_var in `(set) 2>&1 |
1239 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1240 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1241 eval ac_new_set=\$ac_env_${ac_var}_set
1242 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1243 eval ac_new_val="\$ac_env_${ac_var}_value"
1244 case $ac_old_set,$ac_new_set in
1246 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1247 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1248 ac_cache_corrupted=: ;;
1250 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1251 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1252 ac_cache_corrupted=: ;;
1255 if test "x$ac_old_val" != "x$ac_new_val"; then
1256 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1257 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1258 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1259 echo "$as_me: former value: $ac_old_val" >&2;}
1260 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1261 echo "$as_me: current value: $ac_new_val" >&2;}
1262 ac_cache_corrupted=:
1265 # Pass precious variables to config.status.
1266 if test "$ac_new_set" = set; then
1268 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1269 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1270 *) ac_arg=$ac_var=$ac_new_val ;;
1272 case " $ac_configure_args " in
1273 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1274 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1278 if $ac_cache_corrupted; then
1279 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1280 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1281 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1282 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1283 { (exit 1); exit 1; }; }
1287 ac_cpp='$CPP $CPPFLAGS'
1288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1289 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1320 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1321 if test -f $ac_dir/install-sh; then
1323 ac_install_sh="$ac_aux_dir/install-sh -c"
1325 elif test -f $ac_dir/install.sh; then
1327 ac_install_sh="$ac_aux_dir/install.sh -c"
1329 elif test -f $ac_dir/shtool; then
1331 ac_install_sh="$ac_aux_dir/shtool install -c"
1335 if test -z "$ac_aux_dir"; then
1336 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1337 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1338 { (exit 1); exit 1; }; }
1340 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1341 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1342 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1344 # Make sure we can run config.sub.
1345 $ac_config_sub sun4 >/dev/null 2>&1 ||
1346 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1347 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1348 { (exit 1); exit 1; }; }
1350 echo "$as_me:$LINENO: checking build system type" >&5
1351 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1352 if test "${ac_cv_build+set}" = set; then
1353 echo $ECHO_N "(cached) $ECHO_C" >&6
1355 ac_cv_build_alias=$build_alias
1356 test -z "$ac_cv_build_alias" &&
1357 ac_cv_build_alias=`$ac_config_guess`
1358 test -z "$ac_cv_build_alias" &&
1359 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1360 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1361 { (exit 1); exit 1; }; }
1362 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1363 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1364 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1365 { (exit 1); exit 1; }; }
1368 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1369 echo "${ECHO_T}$ac_cv_build" >&6
1371 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1372 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1373 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1376 echo "$as_me:$LINENO: checking host system type" >&5
1377 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1378 if test "${ac_cv_host+set}" = set; then
1379 echo $ECHO_N "(cached) $ECHO_C" >&6
1381 ac_cv_host_alias=$host_alias
1382 test -z "$ac_cv_host_alias" &&
1383 ac_cv_host_alias=$ac_cv_build_alias
1384 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1385 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1386 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1387 { (exit 1); exit 1; }; }
1390 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1391 echo "${ECHO_T}$ac_cv_host" >&6
1393 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1394 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1395 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1398 echo "$as_me:$LINENO: checking target system type" >&5
1399 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1400 if test "${ac_cv_target+set}" = set; then
1401 echo $ECHO_N "(cached) $ECHO_C" >&6
1403 ac_cv_target_alias=$target_alias
1404 test "x$ac_cv_target_alias" = "x" &&
1405 ac_cv_target_alias=$ac_cv_host_alias
1406 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1407 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1408 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1409 { (exit 1); exit 1; }; }
1412 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1413 echo "${ECHO_T}$ac_cv_target" >&6
1414 target=$ac_cv_target
1415 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1416 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1417 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1420 # The aliases save the names the user supplied, while $host etc.
1421 # will get canonicalized.
1422 test -n "$target_alias" &&
1423 test "$program_prefix$program_suffix$program_transform_name" = \
1425 program_prefix=${target_alias}-
1426 case ${build_alias} in
1427 "") build_noncanonical=${build} ;;
1428 *) build_noncanonical=${build_alias} ;;
1431 case ${host_alias} in
1432 "") host_noncanonical=${build_noncanonical} ;;
1433 *) host_noncanonical=${host_alias} ;;
1436 case ${target_alias} in
1437 "") target_noncanonical=${host_noncanonical} ;;
1438 *) target_noncanonical=${target_alias} ;;
1444 am__api_version="1.9"
1445 # Find a good install program. We prefer a C program (faster),
1446 # so one script is as good as another. But avoid the broken or
1447 # incompatible versions:
1448 # SysV /etc/install, /usr/sbin/install
1449 # SunOS /usr/etc/install
1450 # IRIX /sbin/install
1452 # AmigaOS /C/install, which installs bootblocks on floppy discs
1453 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1454 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1455 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1456 # OS/2's system install, which has a completely different semantic
1457 # ./install, which can be erroneously created by make from ./install.sh.
1458 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1459 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1460 if test -z "$INSTALL"; then
1461 if test "${ac_cv_path_install+set}" = set; then
1462 echo $ECHO_N "(cached) $ECHO_C" >&6
1464 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1468 test -z "$as_dir" && as_dir
=.
1469 # Account for people who put trailing slashes in PATH elements.
1471 .
/ | .
// |
/cC
/* | \
1472 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1473 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1476 # OSF1 and SCO ODT 3.0 have their own names for install.
1477 # Don't use installbsd from OSF since it installs stuff as root
1479 for ac_prog
in ginstall scoinst
install; do
1480 for ac_exec_ext
in '' $ac_executable_extensions; do
1481 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1482 if test $ac_prog = install &&
1483 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1484 # AIX install. It has an incompatible calling convention.
1486 elif test $ac_prog = install &&
1487 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1488 # program-specific install script used by HP pwplus--don't use.
1491 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1503 if test "${ac_cv_path_install+set}" = set; then
1504 INSTALL
=$ac_cv_path_install
1506 # As a last resort, use the slow shell script. We don't cache a
1507 # path for INSTALL within a source directory, because that will
1508 # break other packages using the cache if that directory is
1509 # removed, or if the path is relative.
1510 INSTALL
=$ac_install_sh
1513 echo "$as_me:$LINENO: result: $INSTALL" >&5
1514 echo "${ECHO_T}$INSTALL" >&6
1516 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1517 # It thinks the first close brace ends the variable substitution.
1518 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1520 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1522 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1524 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1525 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1528 echo timestamp
> conftest.
file
1529 # Do `set' in a subshell so we don't clobber the current shell's
1530 # arguments. Must try -L first in case configure is actually a
1531 # symlink; some systems play weird games with the mod time of symlinks
1532 # (eg FreeBSD returns the mod time of the symlink's containing
1535 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1536 if test "$*" = "X"; then
1538 set X
`ls -t $srcdir/configure conftest.file`
1541 if test "$*" != "X $srcdir/configure conftest.file" \
1542 && test "$*" != "X conftest.file $srcdir/configure"; then
1544 # If neither matched, then we have a broken ls. This can happen
1545 # if, for instance, CONFIG_SHELL is bash and it inherits a
1546 # broken ls alias from the environment. This has actually
1547 # happened. Such a system could not be considered "sane".
1548 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1549 alias in your environment" >&5
1550 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1551 alias in your environment" >&2;}
1552 { (exit 1); exit 1; }; }
1555 test "$2" = conftest.
file
1561 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1562 Check your system clock" >&5
1563 echo "$as_me: error: newly created file is older than distributed files!
1564 Check your system clock" >&2;}
1565 { (exit 1); exit 1; }; }
1567 echo "$as_me:$LINENO: result: yes" >&5
1568 echo "${ECHO_T}yes" >&6
1569 test "$program_prefix" != NONE
&&
1570 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1571 # Use a double $ so make ignores it.
1572 test "$program_suffix" != NONE
&&
1573 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1574 # Double any \ or $. echo might interpret backslashes.
1575 # By default was `s,x,x', remove it if useless.
1576 cat <<\_ACEOF
>conftest.
sed
1577 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1579 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1582 # expand $ac_aux_dir to an absolute path
1583 am_aux_dir
=`cd $ac_aux_dir && pwd`
1585 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1586 # Use eval to expand $SHELL
1587 if eval "$MISSING --run true"; then
1588 am_missing_run
="$MISSING --run "
1591 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1592 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1595 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1596 # We used to keeping the `.' as first argument, in order to
1597 # allow $(mkdir_p) to be used without argument. As in
1598 # $(mkdir_p) $(somedir)
1599 # where $(somedir) is conditionally defined. However this is wrong
1601 # 1. if the package is installed by a user who cannot write `.'
1602 # make install will fail,
1603 # 2. the above comment should most certainly read
1604 # $(mkdir_p) $(DESTDIR)$(somedir)
1605 # so it does not work when $(somedir) is undefined and
1606 # $(DESTDIR) is not.
1607 # To support the latter case, we have to write
1608 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1609 # so the `.' trick is pointless.
1610 mkdir_p
='mkdir -p --'
1612 # On NextStep and OpenStep, the `mkdir' command does not
1613 # recognize any option. It will interpret all options as
1614 # directories to create, and then abort because `.' already
1616 for d
in .
/-p .
/--version;
1618 test -d $d && rmdir $d
1620 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1621 if test -f "$ac_aux_dir/mkinstalldirs"; then
1622 mkdir_p
='$(mkinstalldirs)'
1624 mkdir_p
='$(install_sh) -d'
1628 for ac_prog
in gawk mawk nawk
awk
1630 # Extract the first word of "$ac_prog", so it can be a program name with args.
1631 set dummy
$ac_prog; ac_word
=$2
1632 echo "$as_me:$LINENO: checking for $ac_word" >&5
1633 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1634 if test "${ac_cv_prog_AWK+set}" = set; then
1635 echo $ECHO_N "(cached) $ECHO_C" >&6
1637 if test -n "$AWK"; then
1638 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1640 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1644 test -z "$as_dir" && as_dir
=.
1645 for ac_exec_ext
in '' $ac_executable_extensions; do
1646 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1647 ac_cv_prog_AWK
="$ac_prog"
1648 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1657 if test -n "$AWK"; then
1658 echo "$as_me:$LINENO: result: $AWK" >&5
1659 echo "${ECHO_T}$AWK" >&6
1661 echo "$as_me:$LINENO: result: no" >&5
1662 echo "${ECHO_T}no" >&6
1665 test -n "$AWK" && break
1668 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1669 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1670 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1671 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1672 echo $ECHO_N "(cached) $ECHO_C" >&6
1674 cat >conftest.
make <<\_ACEOF
1676 @
echo 'ac_maketemp="$(MAKE)"'
1678 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1679 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1680 if test -n "$ac_maketemp"; then
1681 eval ac_cv_prog_make_
${ac_make}_set
=yes
1683 eval ac_cv_prog_make_
${ac_make}_set
=no
1687 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1688 echo "$as_me:$LINENO: result: yes" >&5
1689 echo "${ECHO_T}yes" >&6
1692 echo "$as_me:$LINENO: result: no" >&5
1693 echo "${ECHO_T}no" >&6
1694 SET_MAKE
="MAKE=${MAKE-make}"
1697 rm -rf .tst
2>/dev
/null
1698 mkdir .tst
2>/dev
/null
1699 if test -d .tst
; then
1704 rmdir .tst
2>/dev
/null
1706 # test to see if srcdir already configured
1707 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1708 test -f $srcdir/config.status
; then
1709 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1710 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1711 { (exit 1); exit 1; }; }
1714 # test whether we have cygpath
1715 if test -z "$CYGPATH_W"; then
1716 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1717 CYGPATH_W
='cygpath -w'
1724 # Define the identity of the package.
1725 PACKAGE
='libmudflap'
1729 cat >>confdefs.h
<<_ACEOF
1730 #define PACKAGE "$PACKAGE"
1734 cat >>confdefs.h
<<_ACEOF
1735 #define VERSION "$VERSION"
1738 # Some tools Automake needs.
1740 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1743 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1746 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1749 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1752 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1754 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1756 # Installed binaries are usually stripped using `strip' when the user
1757 # run `make install-strip'. However `strip' might not be the right
1758 # tool to use in cross-compilation environments, therefore Automake
1759 # will honor the `STRIP' environment variable to overrule this program.
1760 if test "$cross_compiling" != no
; then
1761 if test -n "$ac_tool_prefix"; then
1762 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1763 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1764 echo "$as_me:$LINENO: checking for $ac_word" >&5
1765 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1766 if test "${ac_cv_prog_STRIP+set}" = set; then
1767 echo $ECHO_N "(cached) $ECHO_C" >&6
1769 if test -n "$STRIP"; then
1770 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1772 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1776 test -z "$as_dir" && as_dir
=.
1777 for ac_exec_ext
in '' $ac_executable_extensions; do
1778 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1779 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1780 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1788 STRIP
=$ac_cv_prog_STRIP
1789 if test -n "$STRIP"; then
1790 echo "$as_me:$LINENO: result: $STRIP" >&5
1791 echo "${ECHO_T}$STRIP" >&6
1793 echo "$as_me:$LINENO: result: no" >&5
1794 echo "${ECHO_T}no" >&6
1798 if test -z "$ac_cv_prog_STRIP"; then
1800 # Extract the first word of "strip", so it can be a program name with args.
1801 set dummy strip
; ac_word
=$2
1802 echo "$as_me:$LINENO: checking for $ac_word" >&5
1803 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1804 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1805 echo $ECHO_N "(cached) $ECHO_C" >&6
1807 if test -n "$ac_ct_STRIP"; then
1808 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1810 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1814 test -z "$as_dir" && as_dir
=.
1815 for ac_exec_ext
in '' $ac_executable_extensions; do
1816 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1817 ac_cv_prog_ac_ct_STRIP
="strip"
1818 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1824 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1827 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1828 if test -n "$ac_ct_STRIP"; then
1829 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1830 echo "${ECHO_T}$ac_ct_STRIP" >&6
1832 echo "$as_me:$LINENO: result: no" >&5
1833 echo "${ECHO_T}no" >&6
1838 STRIP
="$ac_cv_prog_STRIP"
1842 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1844 # We need awk for the "check" target. The system "awk" is bad on
1846 # Always define AMTAR for backward compatibility.
1848 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1850 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
1857 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
1858 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
1859 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1860 if test "${enable_version_specific_runtime_libs+set}" = set; then
1861 enableval
="$enable_version_specific_runtime_libs"
1862 case "$enableval" in
1863 yes) version_specific_libs
=yes ;;
1864 no
) version_specific_libs
=no
;;
1865 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1866 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1867 { (exit 1); exit 1; }; };;
1870 version_specific_libs
=no
1872 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
1873 echo "${ECHO_T}$version_specific_libs" >&6
1875 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1876 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1877 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1878 if test "${enable_maintainer_mode+set}" = set; then
1879 enableval
="$enable_maintainer_mode"
1880 USE_MAINTAINER_MODE
=$enableval
1882 USE_MAINTAINER_MODE
=no
1884 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1885 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1888 if test $USE_MAINTAINER_MODE = yes; then
1889 MAINTAINER_MODE_TRUE
=
1890 MAINTAINER_MODE_FALSE
='#'
1892 MAINTAINER_MODE_TRUE
='#'
1893 MAINTAINER_MODE_FALSE
=
1896 MAINT
=$MAINTAINER_MODE_TRUE
1901 # Default to --enable-multilib
1902 # Check whether --enable-multilib or --disable-multilib was given.
1903 if test "${enable_multilib+set}" = set; then
1904 enableval
="$enable_multilib"
1905 case "$enableval" in
1906 yes) multilib
=yes ;;
1908 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1909 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1910 { (exit 1); exit 1; }; } ;;
1916 # We may get other options which we leave undocumented:
1917 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1918 # See config-ml.in if you want the gory details.
1920 if test "$srcdir" = "."; then
1921 if test "$with_target_subdir" != "."; then
1922 multi_basedir
="$srcdir/$with_multisrctop../.."
1924 multi_basedir
="$srcdir/$with_multisrctop.."
1927 multi_basedir
="$srcdir/.."
1931 ac_config_commands
="$ac_config_commands default-1"
1934 target_alias
=${target_alias-$host_alias}
1937 ac_config_headers
="$ac_config_headers config.h"
1941 ac_cpp
='$CPP $CPPFLAGS'
1942 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1943 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1944 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1946 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
1947 # We must force CC to /not/ be precious variables; otherwise
1948 # the wrong, non-multilib-adjusted value will be used in multilibs.
1949 # As a side effect, we have to subst CFLAGS ourselves.
1954 ac_cpp
='$CPP $CPPFLAGS'
1955 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1956 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1957 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1958 if test -n "$ac_tool_prefix"; then
1959 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1960 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1961 echo "$as_me:$LINENO: checking for $ac_word" >&5
1962 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1963 if test "${ac_cv_prog_CC+set}" = set; then
1964 echo $ECHO_N "(cached) $ECHO_C" >&6
1966 if test -n "$CC"; then
1967 ac_cv_prog_CC
="$CC" # Let the user override the test.
1969 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1973 test -z "$as_dir" && as_dir
=.
1974 for ac_exec_ext
in '' $ac_executable_extensions; do
1975 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1976 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1977 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1986 if test -n "$CC"; then
1987 echo "$as_me:$LINENO: result: $CC" >&5
1988 echo "${ECHO_T}$CC" >&6
1990 echo "$as_me:$LINENO: result: no" >&5
1991 echo "${ECHO_T}no" >&6
1995 if test -z "$ac_cv_prog_CC"; then
1997 # Extract the first word of "gcc", so it can be a program name with args.
1998 set dummy gcc
; ac_word
=$2
1999 echo "$as_me:$LINENO: checking for $ac_word" >&5
2000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2001 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2002 echo $ECHO_N "(cached) $ECHO_C" >&6
2004 if test -n "$ac_ct_CC"; then
2005 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2007 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2011 test -z "$as_dir" && as_dir
=.
2012 for ac_exec_ext
in '' $ac_executable_extensions; do
2013 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2014 ac_cv_prog_ac_ct_CC
="gcc"
2015 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2023 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2024 if test -n "$ac_ct_CC"; then
2025 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2026 echo "${ECHO_T}$ac_ct_CC" >&6
2028 echo "$as_me:$LINENO: result: no" >&5
2029 echo "${ECHO_T}no" >&6
2037 if test -z "$CC"; then
2038 if test -n "$ac_tool_prefix"; then
2039 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2040 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2041 echo "$as_me:$LINENO: checking for $ac_word" >&5
2042 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2043 if test "${ac_cv_prog_CC+set}" = set; then
2044 echo $ECHO_N "(cached) $ECHO_C" >&6
2046 if test -n "$CC"; then
2047 ac_cv_prog_CC
="$CC" # Let the user override the test.
2049 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2053 test -z "$as_dir" && as_dir
=.
2054 for ac_exec_ext
in '' $ac_executable_extensions; do
2055 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2056 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2057 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2066 if test -n "$CC"; then
2067 echo "$as_me:$LINENO: result: $CC" >&5
2068 echo "${ECHO_T}$CC" >&6
2070 echo "$as_me:$LINENO: result: no" >&5
2071 echo "${ECHO_T}no" >&6
2075 if test -z "$ac_cv_prog_CC"; then
2077 # Extract the first word of "cc", so it can be a program name with args.
2078 set dummy cc
; ac_word
=$2
2079 echo "$as_me:$LINENO: checking for $ac_word" >&5
2080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2081 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2082 echo $ECHO_N "(cached) $ECHO_C" >&6
2084 if test -n "$ac_ct_CC"; then
2085 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2087 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2091 test -z "$as_dir" && as_dir
=.
2092 for ac_exec_ext
in '' $ac_executable_extensions; do
2093 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2094 ac_cv_prog_ac_ct_CC
="cc"
2095 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2103 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2104 if test -n "$ac_ct_CC"; then
2105 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2106 echo "${ECHO_T}$ac_ct_CC" >&6
2108 echo "$as_me:$LINENO: result: no" >&5
2109 echo "${ECHO_T}no" >&6
2118 if test -z "$CC"; then
2119 # Extract the first word of "cc", so it can be a program name with args.
2120 set dummy cc
; 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.
2130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2134 test -z "$as_dir" && as_dir
=.
2135 for ac_exec_ext
in '' $ac_executable_extensions; do
2136 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2137 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2138 ac_prog_rejected
=yes
2142 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2148 if test $ac_prog_rejected = yes; then
2149 # We found a bogon in the path, so make sure we never use it.
2150 set dummy
$ac_cv_prog_CC
2152 if test $# != 0; then
2153 # We chose a different compiler from the bogus one.
2154 # However, it has the same basename, so the bogon will be chosen
2155 # first if we set CC to just the basename; use the full file name.
2157 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2163 if test -n "$CC"; then
2164 echo "$as_me:$LINENO: result: $CC" >&5
2165 echo "${ECHO_T}$CC" >&6
2167 echo "$as_me:$LINENO: result: no" >&5
2168 echo "${ECHO_T}no" >&6
2172 if test -z "$CC"; then
2173 if test -n "$ac_tool_prefix"; then
2176 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2177 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2178 echo "$as_me:$LINENO: checking for $ac_word" >&5
2179 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2180 if test "${ac_cv_prog_CC+set}" = set; then
2181 echo $ECHO_N "(cached) $ECHO_C" >&6
2183 if test -n "$CC"; then
2184 ac_cv_prog_CC
="$CC" # Let the user override the test.
2186 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2190 test -z "$as_dir" && as_dir
=.
2191 for ac_exec_ext
in '' $ac_executable_extensions; do
2192 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2193 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2194 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2203 if test -n "$CC"; then
2204 echo "$as_me:$LINENO: result: $CC" >&5
2205 echo "${ECHO_T}$CC" >&6
2207 echo "$as_me:$LINENO: result: no" >&5
2208 echo "${ECHO_T}no" >&6
2211 test -n "$CC" && break
2214 if test -z "$CC"; then
2218 # Extract the first word of "$ac_prog", so it can be a program name with args.
2219 set dummy
$ac_prog; ac_word
=$2
2220 echo "$as_me:$LINENO: checking for $ac_word" >&5
2221 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2222 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2223 echo $ECHO_N "(cached) $ECHO_C" >&6
2225 if test -n "$ac_ct_CC"; then
2226 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2228 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2232 test -z "$as_dir" && as_dir
=.
2233 for ac_exec_ext
in '' $ac_executable_extensions; do
2234 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2235 ac_cv_prog_ac_ct_CC
="$ac_prog"
2236 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2244 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2245 if test -n "$ac_ct_CC"; then
2246 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2247 echo "${ECHO_T}$ac_ct_CC" >&6
2249 echo "$as_me:$LINENO: result: no" >&5
2250 echo "${ECHO_T}no" >&6
2253 test -n "$ac_ct_CC" && break
2262 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2263 See \`config.log' for more details." >&5
2264 echo "$as_me: error: no acceptable C compiler found in \$PATH
2265 See \`config.log' for more details." >&2;}
2266 { (exit 1); exit 1; }; }
2268 # Provide some information about the compiler.
2269 echo "$as_me:$LINENO:" \
2270 "checking for C compiler version" >&5
2271 ac_compiler
=`set X $ac_compile; echo $2`
2272 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2273 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2276 (exit $ac_status); }
2277 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2278 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2281 (exit $ac_status); }
2282 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2283 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2286 (exit $ac_status); }
2288 cat >conftest.
$ac_ext <<_ACEOF
2291 cat confdefs.h
>>conftest.
$ac_ext
2292 cat >>conftest.
$ac_ext <<_ACEOF
2293 /* end confdefs.h. */
2303 ac_clean_files_save
=$ac_clean_files
2304 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2305 # Try to create an executable without -o first, disregard a.out.
2306 # It will help us diagnose broken compilers, and finding out an intuition
2308 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2309 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2310 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2311 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2312 (eval $ac_link_default) 2>&5
2314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2315 (exit $ac_status); }; then
2316 # Find the output, starting from the most likely. This scheme is
2317 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2320 # Be careful to initialize this variable, since it used to be cached.
2321 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2323 # b.out is created by i960 compilers.
2324 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2326 test -f "$ac_file" ||
continue
2328 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2331 # This is the source file.
2334 # We found the default executable, but exeext='' is most
2338 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2339 # FIXME: I believe we export ac_cv_exeext for Libtool,
2340 # but it would be cool to find out if it's true. Does anybody
2341 # maintain Libtool? --akim.
2349 echo "$as_me: failed program was:" >&5
2350 sed 's/^/| /' conftest.
$ac_ext >&5
2352 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2353 See \`config.log' for more details." >&5
2354 echo "$as_me: error: C compiler cannot create executables
2355 See \`config.log' for more details." >&2;}
2356 { (exit 77); exit 77; }; }
2359 ac_exeext
=$ac_cv_exeext
2360 echo "$as_me:$LINENO: result: $ac_file" >&5
2361 echo "${ECHO_T}$ac_file" >&6
2363 # Check the compiler produces executables we can run. If not, either
2364 # the compiler is broken, or we cross compile.
2365 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2366 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2367 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2368 # If not cross compiling, check that we can run a simple program.
2369 if test "$cross_compiling" != yes; then
2370 if { ac_try
='./$ac_file'
2371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2375 (exit $ac_status); }; }; then
2378 if test "$cross_compiling" = maybe
; then
2381 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2382 If you meant to cross compile, use \`--host'.
2383 See \`config.log' for more details." >&5
2384 echo "$as_me: error: cannot run C compiled programs.
2385 If you meant to cross compile, use \`--host'.
2386 See \`config.log' for more details." >&2;}
2387 { (exit 1); exit 1; }; }
2391 echo "$as_me:$LINENO: result: yes" >&5
2392 echo "${ECHO_T}yes" >&6
2394 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2395 ac_clean_files
=$ac_clean_files_save
2396 # Check the compiler produces executables we can run. If not, either
2397 # the compiler is broken, or we cross compile.
2398 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2399 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2400 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2401 echo "${ECHO_T}$cross_compiling" >&6
2403 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2404 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2406 (eval $ac_link) 2>&5
2408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2409 (exit $ac_status); }; then
2410 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2411 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2412 # work properly (i.e., refer to `conftest.exe'), while it won't with
2414 for ac_file
in conftest.exe conftest conftest.
*; do
2415 test -f "$ac_file" ||
continue
2417 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2418 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2425 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2426 See \`config.log' for more details." >&5
2427 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2428 See \`config.log' for more details." >&2;}
2429 { (exit 1); exit 1; }; }
2432 rm -f conftest
$ac_cv_exeext
2433 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2434 echo "${ECHO_T}$ac_cv_exeext" >&6
2436 rm -f conftest.
$ac_ext
2437 EXEEXT
=$ac_cv_exeext
2439 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2440 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2441 if test "${ac_cv_objext+set}" = set; then
2442 echo $ECHO_N "(cached) $ECHO_C" >&6
2444 cat >conftest.
$ac_ext <<_ACEOF
2447 cat confdefs.h
>>conftest.
$ac_ext
2448 cat >>conftest.
$ac_ext <<_ACEOF
2449 /* end confdefs.h. */
2459 rm -f conftest.o conftest.obj
2460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2461 (eval $ac_compile) 2>&5
2463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2464 (exit $ac_status); }; then
2465 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2467 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2468 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2473 echo "$as_me: failed program was:" >&5
2474 sed 's/^/| /' conftest.
$ac_ext >&5
2476 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2477 See \`config.log' for more details." >&5
2478 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2479 See \`config.log' for more details." >&2;}
2480 { (exit 1); exit 1; }; }
2483 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2485 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2486 echo "${ECHO_T}$ac_cv_objext" >&6
2487 OBJEXT
=$ac_cv_objext
2489 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2490 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2491 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2492 echo $ECHO_N "(cached) $ECHO_C" >&6
2494 cat >conftest.
$ac_ext <<_ACEOF
2497 cat confdefs.h
>>conftest.
$ac_ext
2498 cat >>conftest.
$ac_ext <<_ACEOF
2499 /* end confdefs.h. */
2512 rm -f conftest.
$ac_objext
2513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2514 (eval $ac_compile) 2>conftest.er1
2516 grep -v '^ *+' conftest.er1
>conftest.err
2518 cat conftest.err
>&5
2519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2520 (exit $ac_status); } &&
2521 { ac_try
='test -z "$ac_c_werror_flag"
2522 || test ! -s conftest.err'
2523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2527 (exit $ac_status); }; } &&
2528 { ac_try
='test -s conftest.$ac_objext'
2529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2533 (exit $ac_status); }; }; then
2536 echo "$as_me: failed program was:" >&5
2537 sed 's/^/| /' conftest.
$ac_ext >&5
2541 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2542 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2545 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2546 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2547 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2548 ac_test_CFLAGS
=${CFLAGS+set}
2549 ac_save_CFLAGS
=$CFLAGS
2551 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2552 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2553 if test "${ac_cv_prog_cc_g+set}" = set; then
2554 echo $ECHO_N "(cached) $ECHO_C" >&6
2556 cat >conftest.
$ac_ext <<_ACEOF
2559 cat confdefs.h
>>conftest.
$ac_ext
2560 cat >>conftest.
$ac_ext <<_ACEOF
2561 /* end confdefs.h. */
2571 rm -f conftest.
$ac_objext
2572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2573 (eval $ac_compile) 2>conftest.er1
2575 grep -v '^ *+' conftest.er1
>conftest.err
2577 cat conftest.err
>&5
2578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2579 (exit $ac_status); } &&
2580 { ac_try
='test -z "$ac_c_werror_flag"
2581 || test ! -s conftest.err'
2582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2586 (exit $ac_status); }; } &&
2587 { ac_try
='test -s conftest.$ac_objext'
2588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2592 (exit $ac_status); }; }; then
2595 echo "$as_me: failed program was:" >&5
2596 sed 's/^/| /' conftest.
$ac_ext >&5
2600 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2602 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2603 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2604 if test "$ac_test_CFLAGS" = set; then
2605 CFLAGS
=$ac_save_CFLAGS
2606 elif test $ac_cv_prog_cc_g = yes; then
2607 if test "$GCC" = yes; then
2613 if test "$GCC" = yes; then
2619 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2620 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2621 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2622 echo $ECHO_N "(cached) $ECHO_C" >&6
2624 ac_cv_prog_cc_stdc
=no
2626 cat >conftest.
$ac_ext <<_ACEOF
2629 cat confdefs.h
>>conftest.
$ac_ext
2630 cat >>conftest.
$ac_ext <<_ACEOF
2631 /* end confdefs.h. */
2634 #include <sys/types.h>
2635 #include <sys/stat.h>
2636 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2637 struct buf { int x; };
2638 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2639 static char *e (p, i)
2645 static char *f (char * (*g) (char **, int), char **p, ...)
2650 s = g (p, va_arg (v,int));
2655 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2656 function prototypes and stuff, but not '\xHH' hex character constants.
2657 These don't provoke an error unfortunately, instead are silently treated
2658 as 'x'. The following induces an error, until -std1 is added to get
2659 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2660 array size at least. It's necessary to write '\x00'==0 to get something
2661 that's true only with -std1. */
2662 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2664 int test (int i, double x);
2665 struct s1 {int (*f) (int a);};
2666 struct s2 {int (*f) (double a);};
2667 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2673 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2678 # Don't try gcc -ansi; that turns off useful extensions and
2679 # breaks some systems' header files.
2680 # AIX -qlanglvl=ansi
2681 # Ultrix and OSF/1 -std1
2682 # HP-UX 10.20 and later -Ae
2683 # HP-UX older versions -Aa -D_HPUX_SOURCE
2684 # SVR4 -Xc -D__EXTENSIONS__
2685 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2687 CC
="$ac_save_CC $ac_arg"
2688 rm -f conftest.
$ac_objext
2689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2690 (eval $ac_compile) 2>conftest.er1
2692 grep -v '^ *+' conftest.er1
>conftest.err
2694 cat conftest.err
>&5
2695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2696 (exit $ac_status); } &&
2697 { ac_try
='test -z "$ac_c_werror_flag"
2698 || test ! -s conftest.err'
2699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2703 (exit $ac_status); }; } &&
2704 { ac_try
='test -s conftest.$ac_objext'
2705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2709 (exit $ac_status); }; }; then
2710 ac_cv_prog_cc_stdc
=$ac_arg
2713 echo "$as_me: failed program was:" >&5
2714 sed 's/^/| /' conftest.
$ac_ext >&5
2717 rm -f conftest.err conftest.
$ac_objext
2719 rm -f conftest.
$ac_ext conftest.
$ac_objext
2724 case "x$ac_cv_prog_cc_stdc" in
2726 echo "$as_me:$LINENO: result: none needed" >&5
2727 echo "${ECHO_T}none needed" >&6 ;;
2729 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2730 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2731 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2734 # Some people use a C++ compiler to compile C. Since we use `exit',
2735 # in C++ we need to declare it. In case someone uses the same compiler
2736 # for both compiling C and C++ we need to have the C++ compiler decide
2737 # the declaration of exit, since it's the most demanding environment.
2738 cat >conftest.
$ac_ext <<_ACEOF
2743 rm -f conftest.
$ac_objext
2744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2745 (eval $ac_compile) 2>conftest.er1
2747 grep -v '^ *+' conftest.er1
>conftest.err
2749 cat conftest.err
>&5
2750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2751 (exit $ac_status); } &&
2752 { ac_try
='test -z "$ac_c_werror_flag"
2753 || test ! -s conftest.err'
2754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2758 (exit $ac_status); }; } &&
2759 { ac_try
='test -s conftest.$ac_objext'
2760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2764 (exit $ac_status); }; }; then
2765 for ac_declaration
in \
2767 'extern "C" void std::exit (int) throw (); using std::exit;' \
2768 'extern "C" void std::exit (int); using std::exit;' \
2769 'extern "C" void exit (int) throw ();' \
2770 'extern "C" void exit (int);' \
2773 cat >conftest.
$ac_ext <<_ACEOF
2776 cat confdefs.h
>>conftest.
$ac_ext
2777 cat >>conftest.
$ac_ext <<_ACEOF
2778 /* end confdefs.h. */
2789 rm -f conftest.
$ac_objext
2790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2791 (eval $ac_compile) 2>conftest.er1
2793 grep -v '^ *+' conftest.er1
>conftest.err
2795 cat conftest.err
>&5
2796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2797 (exit $ac_status); } &&
2798 { ac_try
='test -z "$ac_c_werror_flag"
2799 || test ! -s conftest.err'
2800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2804 (exit $ac_status); }; } &&
2805 { ac_try
='test -s conftest.$ac_objext'
2806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2810 (exit $ac_status); }; }; then
2813 echo "$as_me: failed program was:" >&5
2814 sed 's/^/| /' conftest.
$ac_ext >&5
2818 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2819 cat >conftest.
$ac_ext <<_ACEOF
2822 cat confdefs.h
>>conftest.
$ac_ext
2823 cat >>conftest.
$ac_ext <<_ACEOF
2824 /* end confdefs.h. */
2834 rm -f conftest.
$ac_objext
2835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2836 (eval $ac_compile) 2>conftest.er1
2838 grep -v '^ *+' conftest.er1
>conftest.err
2840 cat conftest.err
>&5
2841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2842 (exit $ac_status); } &&
2843 { ac_try
='test -z "$ac_c_werror_flag"
2844 || test ! -s conftest.err'
2845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2849 (exit $ac_status); }; } &&
2850 { ac_try
='test -s conftest.$ac_objext'
2851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2855 (exit $ac_status); }; }; then
2858 echo "$as_me: failed program was:" >&5
2859 sed 's/^/| /' conftest.
$ac_ext >&5
2862 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2865 if test -n "$ac_declaration"; then
2866 echo '#ifdef __cplusplus' >>confdefs.h
2867 echo $ac_declaration >>confdefs.h
2868 echo '#endif' >>confdefs.h
2872 echo "$as_me: failed program was:" >&5
2873 sed 's/^/| /' conftest.
$ac_ext >&5
2876 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2878 ac_cpp
='$CPP $CPPFLAGS'
2879 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2880 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2881 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2882 DEPDIR
="${am__leading_dot}deps"
2884 ac_config_commands
="$ac_config_commands depfiles"
2887 am_make
=${MAKE-make}
2888 cat > confinc
<< 'END'
2893 # If we don't find an include directive, just comment out the code.
2894 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2895 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2899 # First try GNU make style include.
2900 echo "include confinc" > confmf
2901 # We grep out `Entering directory' and `Leaving directory'
2902 # messages which can occur if `w' ends up in MAKEFLAGS.
2903 # In particular we don't look at `^make:' because GNU make might
2904 # be invoked under some other name (usually "gmake"), in which
2905 # case it prints its new name instead of `make'.
2906 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2911 # Now try BSD make style include.
2912 if test "$am__include" = "#"; then
2913 echo '.include "confinc"' > confmf
2914 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2915 am__include
=.include
2922 echo "$as_me:$LINENO: result: $_am_result" >&5
2923 echo "${ECHO_T}$_am_result" >&6
2924 rm -f confinc confmf
2926 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2927 if test "${enable_dependency_tracking+set}" = set; then
2928 enableval
="$enable_dependency_tracking"
2931 if test "x$enable_dependency_tracking" != xno
; then
2932 am_depcomp
="$ac_aux_dir/depcomp"
2937 if test "x$enable_dependency_tracking" != xno; then
2948 depcc
="$CC" am_compiler_list
=
2950 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2951 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2952 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2953 echo $ECHO_N "(cached) $ECHO_C" >&6
2955 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2956 # We make a subdir and do the tests there. Otherwise we can end up
2957 # making bogus files that we don't know about and never remove. For
2958 # instance it was reported that on HP-UX the gcc test will end up
2959 # making a dummy file named `D' -- because `-MD' means `put the output
2962 # Copy depcomp to subdir because otherwise we won't find it if we're
2963 # using a relative directory.
2964 cp "$am_depcomp" conftest.dir
2966 # We will build objects and dependencies in a subdirectory because
2967 # it helps to detect inapplicable dependency modes. For instance
2968 # both Tru64's cc and ICC support -MD to output dependencies as a
2969 # side effect of compilation, but ICC will put the dependencies in
2970 # the current directory while Tru64 will put them in the object
2974 am_cv_CC_dependencies_compiler_type
=none
2975 if test "$am_compiler_list" = ""; then
2976 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2978 for depmode
in $am_compiler_list; do
2979 # Setup a source with many dependencies, because some compilers
2980 # like to wrap large dependency lists on column 80 (with \), and
2981 # we should not choose a depcomp mode which is confused by this.
2983 # We need to recreate these files for each test, as the compiler may
2984 # overwrite some of them when testing with obscure command lines.
2985 # This happens at least with the AIX C compiler.
2987 for i
in 1 2 3 4 5 6; do
2988 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
2989 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2990 # Solaris 8's {/usr,}/bin/sh.
2991 touch sub
/conftst
$i.h
2993 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2997 # after this tag, mechanisms are not by side-effect, so they'll
2998 # only be used when explicitly requested
2999 if test "x$enable_dependency_tracking" = xyes
; then
3007 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3008 # mode. It turns out that the SunPro C++ compiler does not properly
3009 # handle `-M -o', and we need to detect this.
3010 if depmode
=$depmode \
3011 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3012 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3013 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3014 >/dev
/null
2>conftest.err
&&
3015 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3016 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3017 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3018 # icc doesn't choke on unknown options, it will just issue warnings
3019 # or remarks (even with -Werror). So we grep stderr for any message
3020 # that says an option was ignored or not supported.
3021 # When given -MP, icc 7.0 and 7.1 complain thusly:
3022 # icc: Command line warning: ignoring option '-M'; no argument required
3023 # The diagnosis changed in icc 8.0:
3024 # icc: Command line remark: option '-MP' not supported
3025 if (grep 'ignoring option' conftest.err ||
3026 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3027 am_cv_CC_dependencies_compiler_type
=$depmode
3036 am_cv_CC_dependencies_compiler_type
=none
3040 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3041 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3042 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3047 test "x$enable_dependency_tracking" != xno \
3048 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3050 am__fastdepCC_FALSE
='#'
3052 am__fastdepCC_TRUE
='#'
3053 am__fastdepCC_FALSE
=
3061 if test "x$GCC" != "xyes"; then
3062 { { echo "$as_me:$LINENO: error: libmudflap must be built with GCC" >&5
3063 echo "$as_me: error: libmudflap must be built with GCC" >&2;}
3064 { (exit 1); exit 1; }; }
3067 ac_cpp
='$CPP $CPPFLAGS'
3068 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3069 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3070 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3071 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3072 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3073 # On Suns, sometimes $CPP names a directory.
3074 if test -n "$CPP" && test -d "$CPP"; then
3077 if test -z "$CPP"; then
3078 if test "${ac_cv_prog_CPP+set}" = set; then
3079 echo $ECHO_N "(cached) $ECHO_C" >&6
3081 # Double quotes because CPP needs to be expanded
3082 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3085 for ac_c_preproc_warn_flag
in '' yes
3087 # Use a header file that comes with gcc, so configuring glibc
3088 # with a fresh cross-compiler works.
3089 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3090 # <limits.h> exists even on freestanding compilers.
3091 # On the NeXT, cc -E runs the code through the compiler's parser,
3092 # not just through cpp. "Syntax error" is here to catch this case.
3093 cat >conftest.
$ac_ext <<_ACEOF
3096 cat confdefs.h
>>conftest.
$ac_ext
3097 cat >>conftest.
$ac_ext <<_ACEOF
3098 /* end confdefs.h. */
3100 # include <limits.h>
3102 # include <assert.h>
3106 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3107 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3109 grep -v '^ *+' conftest.er1
>conftest.err
3111 cat conftest.err
>&5
3112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3113 (exit $ac_status); } >/dev
/null
; then
3114 if test -s conftest.err
; then
3115 ac_cpp_err
=$ac_c_preproc_warn_flag
3116 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3123 if test -z "$ac_cpp_err"; then
3126 echo "$as_me: failed program was:" >&5
3127 sed 's/^/| /' conftest.
$ac_ext >&5
3129 # Broken: fails on valid input.
3132 rm -f conftest.err conftest.
$ac_ext
3134 # OK, works on sane cases. Now check whether non-existent headers
3135 # can be detected and how.
3136 cat >conftest.
$ac_ext <<_ACEOF
3139 cat confdefs.h
>>conftest.
$ac_ext
3140 cat >>conftest.
$ac_ext <<_ACEOF
3141 /* end confdefs.h. */
3142 #include <ac_nonexistent.h>
3144 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3145 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3147 grep -v '^ *+' conftest.er1
>conftest.err
3149 cat conftest.err
>&5
3150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3151 (exit $ac_status); } >/dev
/null
; then
3152 if test -s conftest.err
; then
3153 ac_cpp_err
=$ac_c_preproc_warn_flag
3154 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3161 if test -z "$ac_cpp_err"; then
3162 # Broken: success on invalid input.
3165 echo "$as_me: failed program was:" >&5
3166 sed 's/^/| /' conftest.
$ac_ext >&5
3168 # Passes both tests.
3172 rm -f conftest.err conftest.
$ac_ext
3175 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3176 rm -f conftest.err conftest.
$ac_ext
3177 if $ac_preproc_ok; then
3189 echo "$as_me:$LINENO: result: $CPP" >&5
3190 echo "${ECHO_T}$CPP" >&6
3192 for ac_c_preproc_warn_flag
in '' yes
3194 # Use a header file that comes with gcc, so configuring glibc
3195 # with a fresh cross-compiler works.
3196 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3197 # <limits.h> exists even on freestanding compilers.
3198 # On the NeXT, cc -E runs the code through the compiler's parser,
3199 # not just through cpp. "Syntax error" is here to catch this case.
3200 cat >conftest.
$ac_ext <<_ACEOF
3203 cat confdefs.h
>>conftest.
$ac_ext
3204 cat >>conftest.
$ac_ext <<_ACEOF
3205 /* end confdefs.h. */
3207 # include <limits.h>
3209 # include <assert.h>
3213 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3214 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3216 grep -v '^ *+' conftest.er1
>conftest.err
3218 cat conftest.err
>&5
3219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3220 (exit $ac_status); } >/dev
/null
; then
3221 if test -s conftest.err
; then
3222 ac_cpp_err
=$ac_c_preproc_warn_flag
3223 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3230 if test -z "$ac_cpp_err"; then
3233 echo "$as_me: failed program was:" >&5
3234 sed 's/^/| /' conftest.
$ac_ext >&5
3236 # Broken: fails on valid input.
3239 rm -f conftest.err conftest.
$ac_ext
3241 # OK, works on sane cases. Now check whether non-existent headers
3242 # can be detected and how.
3243 cat >conftest.
$ac_ext <<_ACEOF
3246 cat confdefs.h
>>conftest.
$ac_ext
3247 cat >>conftest.
$ac_ext <<_ACEOF
3248 /* end confdefs.h. */
3249 #include <ac_nonexistent.h>
3251 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3252 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3254 grep -v '^ *+' conftest.er1
>conftest.err
3256 cat conftest.err
>&5
3257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3258 (exit $ac_status); } >/dev
/null
; then
3259 if test -s conftest.err
; then
3260 ac_cpp_err
=$ac_c_preproc_warn_flag
3261 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3268 if test -z "$ac_cpp_err"; then
3269 # Broken: success on invalid input.
3272 echo "$as_me: failed program was:" >&5
3273 sed 's/^/| /' conftest.
$ac_ext >&5
3275 # Passes both tests.
3279 rm -f conftest.err conftest.
$ac_ext
3282 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3283 rm -f conftest.err conftest.
$ac_ext
3284 if $ac_preproc_ok; then
3287 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3288 See \`config.log' for more details." >&5
3289 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3290 See \`config.log' for more details." >&2;}
3291 { (exit 1); exit 1; }; }
3295 ac_cpp
='$CPP $CPPFLAGS'
3296 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3297 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3298 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3301 # Some hosts don't have dlsym(RTLD_NEXT, "symbol") for use in
3302 # symbol interposition. We disable shared libraries for these.
3303 echo "$as_me:$LINENO: checking whether dlsym(RTLD_NEXT,...) is available" >&5
3304 echo $ECHO_N "checking whether dlsym(RTLD_NEXT,...) is available... $ECHO_C" >&6
3306 cat >conftest.
$ac_ext <<_ACEOF
3309 cat confdefs.h
>>conftest.
$ac_ext
3310 cat >>conftest.
$ac_ext <<_ACEOF
3311 /* end confdefs.h. */
3319 void *foo = dlsym (RTLD_NEXT, "exit");
3324 rm -f conftest.
$ac_objext
3325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3326 (eval $ac_compile) 2>conftest.er1
3328 grep -v '^ *+' conftest.er1
>conftest.err
3330 cat conftest.err
>&5
3331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3332 (exit $ac_status); } &&
3333 { ac_try
='test -z "$ac_c_werror_flag"
3334 || test ! -s conftest.err'
3335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3339 (exit $ac_status); }; } &&
3340 { ac_try
='test -s conftest.$ac_objext'
3341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3345 (exit $ac_status); }; }; then
3346 echo "$as_me:$LINENO: result: yes" >&5
3347 echo "${ECHO_T}yes" >&6
3349 echo "$as_me: failed program was:" >&5
3350 sed 's/^/| /' conftest.
$ac_ext >&5
3352 echo "$as_me:$LINENO: result: no" >&5
3353 echo "${ECHO_T}no" >&6
3356 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3359 echo "$as_me:$LINENO: checking for egrep" >&5
3360 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3361 if test "${ac_cv_prog_egrep+set}" = set; then
3362 echo $ECHO_N "(cached) $ECHO_C" >&6
3364 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3365 then ac_cv_prog_egrep
='grep -E'
3366 else ac_cv_prog_egrep
='egrep'
3369 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3370 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3371 EGREP
=$ac_cv_prog_egrep
3374 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3375 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3376 if test "${ac_cv_header_stdc+set}" = set; then
3377 echo $ECHO_N "(cached) $ECHO_C" >&6
3379 cat >conftest.
$ac_ext <<_ACEOF
3382 cat confdefs.h
>>conftest.
$ac_ext
3383 cat >>conftest.
$ac_ext <<_ACEOF
3384 /* end confdefs.h. */
3398 rm -f conftest.
$ac_objext
3399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3400 (eval $ac_compile) 2>conftest.er1
3402 grep -v '^ *+' conftest.er1
>conftest.err
3404 cat conftest.err
>&5
3405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3406 (exit $ac_status); } &&
3407 { ac_try
='test -z "$ac_c_werror_flag"
3408 || test ! -s conftest.err'
3409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3413 (exit $ac_status); }; } &&
3414 { ac_try
='test -s conftest.$ac_objext'
3415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3419 (exit $ac_status); }; }; then
3420 ac_cv_header_stdc
=yes
3422 echo "$as_me: failed program was:" >&5
3423 sed 's/^/| /' conftest.
$ac_ext >&5
3425 ac_cv_header_stdc
=no
3427 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3429 if test $ac_cv_header_stdc = yes; then
3430 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3431 cat >conftest.
$ac_ext <<_ACEOF
3434 cat confdefs.h
>>conftest.
$ac_ext
3435 cat >>conftest.
$ac_ext <<_ACEOF
3436 /* end confdefs.h. */
3440 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3441 $EGREP "memchr" >/dev
/null
2>&1; then
3444 ac_cv_header_stdc
=no
3450 if test $ac_cv_header_stdc = yes; then
3451 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3452 cat >conftest.
$ac_ext <<_ACEOF
3455 cat confdefs.h
>>conftest.
$ac_ext
3456 cat >>conftest.
$ac_ext <<_ACEOF
3457 /* end confdefs.h. */
3461 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3462 $EGREP "free" >/dev
/null
2>&1; then
3465 ac_cv_header_stdc
=no
3471 if test $ac_cv_header_stdc = yes; then
3472 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3473 if test "$cross_compiling" = yes; then
3476 cat >conftest.
$ac_ext <<_ACEOF
3479 cat confdefs.h
>>conftest.
$ac_ext
3480 cat >>conftest.
$ac_ext <<_ACEOF
3481 /* end confdefs.h. */
3483 #if ((' ' & 0x0FF) == 0x020)
3484 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3485 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3487 # define ISLOWER(c) \
3488 (('a' <= (c) && (c) <= 'i') \
3489 || ('j' <= (c) && (c) <= 'r') \
3490 || ('s' <= (c) && (c) <= 'z'))
3491 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3494 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3499 for (i = 0; i < 256; i++)
3500 if (XOR (islower (i), ISLOWER (i))
3501 || toupper (i) != TOUPPER (i))
3506 rm -f conftest
$ac_exeext
3507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3508 (eval $ac_link) 2>&5
3510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3511 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3516 (exit $ac_status); }; }; then
3519 echo "$as_me: program exited with status $ac_status" >&5
3520 echo "$as_me: failed program was:" >&5
3521 sed 's/^/| /' conftest.
$ac_ext >&5
3524 ac_cv_header_stdc
=no
3526 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3530 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3531 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3532 if test $ac_cv_header_stdc = yes; then
3534 cat >>confdefs.h
<<\_ACEOF
3535 #define STDC_HEADERS 1
3540 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3550 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3551 inttypes.h stdint.h unistd.h
3553 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3554 echo "$as_me:$LINENO: checking for $ac_header" >&5
3555 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3556 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3557 echo $ECHO_N "(cached) $ECHO_C" >&6
3559 cat >conftest.
$ac_ext <<_ACEOF
3562 cat confdefs.h
>>conftest.
$ac_ext
3563 cat >>conftest.
$ac_ext <<_ACEOF
3564 /* end confdefs.h. */
3565 $ac_includes_default
3567 #include <$ac_header>
3569 rm -f conftest.
$ac_objext
3570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3571 (eval $ac_compile) 2>conftest.er1
3573 grep -v '^ *+' conftest.er1
>conftest.err
3575 cat conftest.err
>&5
3576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3577 (exit $ac_status); } &&
3578 { ac_try
='test -z "$ac_c_werror_flag"
3579 || test ! -s conftest.err'
3580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3584 (exit $ac_status); }; } &&
3585 { ac_try
='test -s conftest.$ac_objext'
3586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3590 (exit $ac_status); }; }; then
3591 eval "$as_ac_Header=yes"
3593 echo "$as_me: failed program was:" >&5
3594 sed 's/^/| /' conftest.
$ac_ext >&5
3596 eval "$as_ac_Header=no"
3598 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3601 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3602 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3603 cat >>confdefs.h
<<_ACEOF
3604 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3631 for ac_header
in stdint.h execinfo.h signal.h dlfcn.h dirent.h
pwd.h grp.h \
3632 netdb.h sys
/ipc.h sys
/sem.h sys
/shm.h sys
/wait.h ctype.h mntent.h \
3633 sys
/socket.h netinet
/in.h arpa
/inet.h dlfcn.h sys
/mman.h
3635 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3636 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3637 echo "$as_me:$LINENO: checking for $ac_header" >&5
3638 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3639 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3640 echo $ECHO_N "(cached) $ECHO_C" >&6
3642 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3643 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3645 # Is the header compilable?
3646 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3647 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3648 cat >conftest.
$ac_ext <<_ACEOF
3651 cat confdefs.h
>>conftest.
$ac_ext
3652 cat >>conftest.
$ac_ext <<_ACEOF
3653 /* end confdefs.h. */
3654 $ac_includes_default
3655 #include <$ac_header>
3657 rm -f conftest.
$ac_objext
3658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3659 (eval $ac_compile) 2>conftest.er1
3661 grep -v '^ *+' conftest.er1
>conftest.err
3663 cat conftest.err
>&5
3664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3665 (exit $ac_status); } &&
3666 { ac_try
='test -z "$ac_c_werror_flag"
3667 || test ! -s conftest.err'
3668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3672 (exit $ac_status); }; } &&
3673 { ac_try
='test -s conftest.$ac_objext'
3674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3678 (exit $ac_status); }; }; then
3679 ac_header_compiler
=yes
3681 echo "$as_me: failed program was:" >&5
3682 sed 's/^/| /' conftest.
$ac_ext >&5
3684 ac_header_compiler
=no
3686 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3687 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3688 echo "${ECHO_T}$ac_header_compiler" >&6
3690 # Is the header present?
3691 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3692 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3693 cat >conftest.
$ac_ext <<_ACEOF
3696 cat confdefs.h
>>conftest.
$ac_ext
3697 cat >>conftest.
$ac_ext <<_ACEOF
3698 /* end confdefs.h. */
3699 #include <$ac_header>
3701 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3702 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3704 grep -v '^ *+' conftest.er1
>conftest.err
3706 cat conftest.err
>&5
3707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3708 (exit $ac_status); } >/dev
/null
; then
3709 if test -s conftest.err
; then
3710 ac_cpp_err
=$ac_c_preproc_warn_flag
3711 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3718 if test -z "$ac_cpp_err"; then
3719 ac_header_preproc
=yes
3721 echo "$as_me: failed program was:" >&5
3722 sed 's/^/| /' conftest.
$ac_ext >&5
3724 ac_header_preproc
=no
3726 rm -f conftest.err conftest.
$ac_ext
3727 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3728 echo "${ECHO_T}$ac_header_preproc" >&6
3730 # So? What about this header?
3731 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3733 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3734 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3735 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3736 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3737 ac_header_preproc
=yes
3740 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3741 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3742 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3743 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3744 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3745 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3746 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3747 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3748 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3749 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3750 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3751 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3754 ## ------------------------------------- ##
3755 ## Report this to the libmudflap lists. ##
3756 ## ------------------------------------- ##
3759 sed "s/^/$as_me: WARNING: /" >&2
3762 echo "$as_me:$LINENO: checking for $ac_header" >&5
3763 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3764 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3765 echo $ECHO_N "(cached) $ECHO_C" >&6
3767 eval "$as_ac_Header=\$ac_header_preproc"
3769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3770 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3773 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3774 cat >>confdefs.h
<<_ACEOF
3775 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3787 for ac_func
in backtrace backtrace_symbols gettimeofday signal
3789 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3790 echo "$as_me:$LINENO: checking for $ac_func" >&5
3791 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3792 if eval "test \"\${$as_ac_var+set}\" = set"; then
3793 echo $ECHO_N "(cached) $ECHO_C" >&6
3795 cat >conftest.
$ac_ext <<_ACEOF
3798 cat confdefs.h
>>conftest.
$ac_ext
3799 cat >>conftest.
$ac_ext <<_ACEOF
3800 /* end confdefs.h. */
3801 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3802 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3803 #define $ac_func innocuous_$ac_func
3805 /* System header to define __stub macros and hopefully few prototypes,
3806 which can conflict with char $ac_func (); below.
3807 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3808 <limits.h> exists even on freestanding compilers. */
3811 # include <limits.h>
3813 # include <assert.h>
3818 /* Override any gcc2 internal prototype to avoid an error. */
3823 /* We use char because int might match the return type of a gcc2
3824 builtin and then its argument prototype would still apply. */
3826 /* The GNU C library defines this for functions which it implements
3827 to always fail with ENOSYS. Some functions are actually named
3828 something starting with __ and the normal name is an alias. */
3829 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3832 char (*f) () = $ac_func;
3841 return f != $ac_func;
3846 rm -f conftest.
$ac_objext conftest
$ac_exeext
3847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3848 (eval $ac_link) 2>conftest.er1
3850 grep -v '^ *+' conftest.er1
>conftest.err
3852 cat conftest.err
>&5
3853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3854 (exit $ac_status); } &&
3855 { ac_try
='test -z "$ac_c_werror_flag"
3856 || test ! -s conftest.err'
3857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3861 (exit $ac_status); }; } &&
3862 { ac_try
='test -s conftest$ac_exeext'
3863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3867 (exit $ac_status); }; }; then
3868 eval "$as_ac_var=yes"
3870 echo "$as_me: failed program was:" >&5
3871 sed 's/^/| /' conftest.
$ac_ext >&5
3873 eval "$as_ac_var=no"
3875 rm -f conftest.err conftest.
$ac_objext \
3876 conftest
$ac_exeext conftest.
$ac_ext
3878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3879 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3880 if test `eval echo '${'$as_ac_var'}'` = yes; then
3881 cat >>confdefs.h
<<_ACEOF
3882 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3893 for ac_func
in fopen64 fseeko64 ftello64 stat64 freopen64
3895 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3896 echo "$as_me:$LINENO: checking for $ac_func" >&5
3897 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3898 if eval "test \"\${$as_ac_var+set}\" = set"; then
3899 echo $ECHO_N "(cached) $ECHO_C" >&6
3901 cat >conftest.
$ac_ext <<_ACEOF
3904 cat confdefs.h
>>conftest.
$ac_ext
3905 cat >>conftest.
$ac_ext <<_ACEOF
3906 /* end confdefs.h. */
3907 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3908 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3909 #define $ac_func innocuous_$ac_func
3911 /* System header to define __stub macros and hopefully few prototypes,
3912 which can conflict with char $ac_func (); below.
3913 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3914 <limits.h> exists even on freestanding compilers. */
3917 # include <limits.h>
3919 # include <assert.h>
3924 /* Override any gcc2 internal prototype to avoid an error. */
3929 /* We use char because int might match the return type of a gcc2
3930 builtin and then its argument prototype would still apply. */
3932 /* The GNU C library defines this for functions which it implements
3933 to always fail with ENOSYS. Some functions are actually named
3934 something starting with __ and the normal name is an alias. */
3935 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3938 char (*f) () = $ac_func;
3947 return f != $ac_func;
3952 rm -f conftest.
$ac_objext conftest
$ac_exeext
3953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3954 (eval $ac_link) 2>conftest.er1
3956 grep -v '^ *+' conftest.er1
>conftest.err
3958 cat conftest.err
>&5
3959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3960 (exit $ac_status); } &&
3961 { ac_try
='test -z "$ac_c_werror_flag"
3962 || test ! -s conftest.err'
3963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3967 (exit $ac_status); }; } &&
3968 { ac_try
='test -s conftest$ac_exeext'
3969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3973 (exit $ac_status); }; }; then
3974 eval "$as_ac_var=yes"
3976 echo "$as_me: failed program was:" >&5
3977 sed 's/^/| /' conftest.
$ac_ext >&5
3979 eval "$as_ac_var=no"
3981 rm -f conftest.err conftest.
$ac_objext \
3982 conftest
$ac_exeext conftest.
$ac_ext
3984 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3985 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3986 if test `eval echo '${'$as_ac_var'}'` = yes; then
3987 cat >>confdefs.h
<<_ACEOF
3988 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3998 for ac_func
in setbuf setbuffer setlinebuf setvbuf
4000 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4001 echo "$as_me:$LINENO: checking for $ac_func" >&5
4002 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4003 if eval "test \"\${$as_ac_var+set}\" = set"; then
4004 echo $ECHO_N "(cached) $ECHO_C" >&6
4006 cat >conftest.
$ac_ext <<_ACEOF
4009 cat confdefs.h
>>conftest.
$ac_ext
4010 cat >>conftest.
$ac_ext <<_ACEOF
4011 /* end confdefs.h. */
4012 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4013 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4014 #define $ac_func innocuous_$ac_func
4016 /* System header to define __stub macros and hopefully few prototypes,
4017 which can conflict with char $ac_func (); below.
4018 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4019 <limits.h> exists even on freestanding compilers. */
4022 # include <limits.h>
4024 # include <assert.h>
4029 /* Override any gcc2 internal prototype to avoid an error. */
4034 /* We use char because int might match the return type of a gcc2
4035 builtin and then its argument prototype would still apply. */
4037 /* The GNU C library defines this for functions which it implements
4038 to always fail with ENOSYS. Some functions are actually named
4039 something starting with __ and the normal name is an alias. */
4040 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4043 char (*f) () = $ac_func;
4052 return f != $ac_func;
4057 rm -f conftest.
$ac_objext conftest
$ac_exeext
4058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4059 (eval $ac_link) 2>conftest.er1
4061 grep -v '^ *+' conftest.er1
>conftest.err
4063 cat conftest.err
>&5
4064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4065 (exit $ac_status); } &&
4066 { ac_try
='test -z "$ac_c_werror_flag"
4067 || test ! -s conftest.err'
4068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4072 (exit $ac_status); }; } &&
4073 { ac_try
='test -s conftest$ac_exeext'
4074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4078 (exit $ac_status); }; }; then
4079 eval "$as_ac_var=yes"
4081 echo "$as_me: failed program was:" >&5
4082 sed 's/^/| /' conftest.
$ac_ext >&5
4084 eval "$as_ac_var=no"
4086 rm -f conftest.err conftest.
$ac_objext \
4087 conftest
$ac_exeext conftest.
$ac_ext
4089 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4090 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4091 if test `eval echo '${'$as_ac_var'}'` = yes; then
4092 cat >>confdefs.h
<<_ACEOF
4093 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4104 for ac_func
in strnlen memrchr strncpy memmem sethostname
4106 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4107 echo "$as_me:$LINENO: checking for $ac_func" >&5
4108 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4109 if eval "test \"\${$as_ac_var+set}\" = set"; then
4110 echo $ECHO_N "(cached) $ECHO_C" >&6
4112 cat >conftest.
$ac_ext <<_ACEOF
4115 cat confdefs.h
>>conftest.
$ac_ext
4116 cat >>conftest.
$ac_ext <<_ACEOF
4117 /* end confdefs.h. */
4118 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4119 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4120 #define $ac_func innocuous_$ac_func
4122 /* System header to define __stub macros and hopefully few prototypes,
4123 which can conflict with char $ac_func (); below.
4124 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4125 <limits.h> exists even on freestanding compilers. */
4128 # include <limits.h>
4130 # include <assert.h>
4135 /* Override any gcc2 internal prototype to avoid an error. */
4140 /* We use char because int might match the return type of a gcc2
4141 builtin and then its argument prototype would still apply. */
4143 /* The GNU C library defines this for functions which it implements
4144 to always fail with ENOSYS. Some functions are actually named
4145 something starting with __ and the normal name is an alias. */
4146 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4149 char (*f) () = $ac_func;
4158 return f != $ac_func;
4163 rm -f conftest.
$ac_objext conftest
$ac_exeext
4164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4165 (eval $ac_link) 2>conftest.er1
4167 grep -v '^ *+' conftest.er1
>conftest.err
4169 cat conftest.err
>&5
4170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4171 (exit $ac_status); } &&
4172 { ac_try
='test -z "$ac_c_werror_flag"
4173 || test ! -s conftest.err'
4174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4178 (exit $ac_status); }; } &&
4179 { ac_try
='test -s conftest$ac_exeext'
4180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4184 (exit $ac_status); }; }; then
4185 eval "$as_ac_var=yes"
4187 echo "$as_me: failed program was:" >&5
4188 sed 's/^/| /' conftest.
$ac_ext >&5
4190 eval "$as_ac_var=no"
4192 rm -f conftest.err conftest.
$ac_objext \
4193 conftest
$ac_exeext conftest.
$ac_ext
4195 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4196 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4197 if test `eval echo '${'$as_ac_var'}'` = yes; then
4198 cat >>confdefs.h
<<_ACEOF
4199 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4208 for ac_func
in __ctype_b_loc __ctype_tolower_loc __ctype_toupper_loc
4210 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4211 echo "$as_me:$LINENO: checking for $ac_func" >&5
4212 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4213 if eval "test \"\${$as_ac_var+set}\" = set"; then
4214 echo $ECHO_N "(cached) $ECHO_C" >&6
4216 cat >conftest.
$ac_ext <<_ACEOF
4219 cat confdefs.h
>>conftest.
$ac_ext
4220 cat >>conftest.
$ac_ext <<_ACEOF
4221 /* end confdefs.h. */
4222 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4223 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4224 #define $ac_func innocuous_$ac_func
4226 /* System header to define __stub macros and hopefully few prototypes,
4227 which can conflict with char $ac_func (); below.
4228 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4229 <limits.h> exists even on freestanding compilers. */
4232 # include <limits.h>
4234 # include <assert.h>
4239 /* Override any gcc2 internal prototype to avoid an error. */
4244 /* We use char because int might match the return type of a gcc2
4245 builtin and then its argument prototype would still apply. */
4247 /* The GNU C library defines this for functions which it implements
4248 to always fail with ENOSYS. Some functions are actually named
4249 something starting with __ and the normal name is an alias. */
4250 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4253 char (*f) () = $ac_func;
4262 return f != $ac_func;
4267 rm -f conftest.
$ac_objext conftest
$ac_exeext
4268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4269 (eval $ac_link) 2>conftest.er1
4271 grep -v '^ *+' conftest.er1
>conftest.err
4273 cat conftest.err
>&5
4274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4275 (exit $ac_status); } &&
4276 { ac_try
='test -z "$ac_c_werror_flag"
4277 || test ! -s conftest.err'
4278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4282 (exit $ac_status); }; } &&
4283 { ac_try
='test -s conftest$ac_exeext'
4284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4288 (exit $ac_status); }; }; then
4289 eval "$as_ac_var=yes"
4291 echo "$as_me: failed program was:" >&5
4292 sed 's/^/| /' conftest.
$ac_ext >&5
4294 eval "$as_ac_var=no"
4296 rm -f conftest.err conftest.
$ac_objext \
4297 conftest
$ac_exeext conftest.
$ac_ext
4299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4300 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4301 if test `eval echo '${'$as_ac_var'}'` = yes; then
4302 cat >>confdefs.h
<<_ACEOF
4303 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4317 for ac_func
in getlogin cuserid getpwnam getpwuid getpwent getgrnam getgrgid getgrent
4319 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4320 echo "$as_me:$LINENO: checking for $ac_func" >&5
4321 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4322 if eval "test \"\${$as_ac_var+set}\" = set"; then
4323 echo $ECHO_N "(cached) $ECHO_C" >&6
4325 cat >conftest.
$ac_ext <<_ACEOF
4328 cat confdefs.h
>>conftest.
$ac_ext
4329 cat >>conftest.
$ac_ext <<_ACEOF
4330 /* end confdefs.h. */
4331 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4332 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4333 #define $ac_func innocuous_$ac_func
4335 /* System header to define __stub macros and hopefully few prototypes,
4336 which can conflict with char $ac_func (); below.
4337 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4338 <limits.h> exists even on freestanding compilers. */
4341 # include <limits.h>
4343 # include <assert.h>
4348 /* Override any gcc2 internal prototype to avoid an error. */
4353 /* We use char because int might match the return type of a gcc2
4354 builtin and then its argument prototype would still apply. */
4356 /* The GNU C library defines this for functions which it implements
4357 to always fail with ENOSYS. Some functions are actually named
4358 something starting with __ and the normal name is an alias. */
4359 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4362 char (*f) () = $ac_func;
4371 return f != $ac_func;
4376 rm -f conftest.
$ac_objext conftest
$ac_exeext
4377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4378 (eval $ac_link) 2>conftest.er1
4380 grep -v '^ *+' conftest.er1
>conftest.err
4382 cat conftest.err
>&5
4383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4384 (exit $ac_status); } &&
4385 { ac_try
='test -z "$ac_c_werror_flag"
4386 || test ! -s conftest.err'
4387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4391 (exit $ac_status); }; } &&
4392 { ac_try
='test -s conftest$ac_exeext'
4393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4397 (exit $ac_status); }; }; then
4398 eval "$as_ac_var=yes"
4400 echo "$as_me: failed program was:" >&5
4401 sed 's/^/| /' conftest.
$ac_ext >&5
4403 eval "$as_ac_var=no"
4405 rm -f conftest.err conftest.
$ac_objext \
4406 conftest
$ac_exeext conftest.
$ac_ext
4408 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4409 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4410 if test `eval echo '${'$as_ac_var'}'` = yes; then
4411 cat >>confdefs.h
<<_ACEOF
4412 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4423 for ac_func
in getlogin_r getpwnam_r getpwuid_r getgrnam_r getgrgid_r
4425 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4426 echo "$as_me:$LINENO: checking for $ac_func" >&5
4427 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4428 if eval "test \"\${$as_ac_var+set}\" = set"; then
4429 echo $ECHO_N "(cached) $ECHO_C" >&6
4431 cat >conftest.
$ac_ext <<_ACEOF
4434 cat confdefs.h
>>conftest.
$ac_ext
4435 cat >>conftest.
$ac_ext <<_ACEOF
4436 /* end confdefs.h. */
4437 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4438 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4439 #define $ac_func innocuous_$ac_func
4441 /* System header to define __stub macros and hopefully few prototypes,
4442 which can conflict with char $ac_func (); below.
4443 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4444 <limits.h> exists even on freestanding compilers. */
4447 # include <limits.h>
4449 # include <assert.h>
4454 /* Override any gcc2 internal prototype to avoid an error. */
4459 /* We use char because int might match the return type of a gcc2
4460 builtin and then its argument prototype would still apply. */
4462 /* The GNU C library defines this for functions which it implements
4463 to always fail with ENOSYS. Some functions are actually named
4464 something starting with __ and the normal name is an alias. */
4465 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4468 char (*f) () = $ac_func;
4477 return f != $ac_func;
4482 rm -f conftest.
$ac_objext conftest
$ac_exeext
4483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4484 (eval $ac_link) 2>conftest.er1
4486 grep -v '^ *+' conftest.er1
>conftest.err
4488 cat conftest.err
>&5
4489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4490 (exit $ac_status); } &&
4491 { ac_try
='test -z "$ac_c_werror_flag"
4492 || test ! -s conftest.err'
4493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4497 (exit $ac_status); }; } &&
4498 { ac_try
='test -s conftest$ac_exeext'
4499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4503 (exit $ac_status); }; }; then
4504 eval "$as_ac_var=yes"
4506 echo "$as_me: failed program was:" >&5
4507 sed 's/^/| /' conftest.
$ac_ext >&5
4509 eval "$as_ac_var=no"
4511 rm -f conftest.err conftest.
$ac_objext \
4512 conftest
$ac_exeext conftest.
$ac_ext
4514 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4515 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4516 if test `eval echo '${'$as_ac_var'}'` = yes; then
4517 cat >>confdefs.h
<<_ACEOF
4518 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4529 for ac_func
in getservent getservbyname getservbyport getaddrinfo gai_strerror
4531 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4532 echo "$as_me:$LINENO: checking for $ac_func" >&5
4533 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4534 if eval "test \"\${$as_ac_var+set}\" = set"; then
4535 echo $ECHO_N "(cached) $ECHO_C" >&6
4537 cat >conftest.
$ac_ext <<_ACEOF
4540 cat confdefs.h
>>conftest.
$ac_ext
4541 cat >>conftest.
$ac_ext <<_ACEOF
4542 /* end confdefs.h. */
4543 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4544 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4545 #define $ac_func innocuous_$ac_func
4547 /* System header to define __stub macros and hopefully few prototypes,
4548 which can conflict with char $ac_func (); below.
4549 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4550 <limits.h> exists even on freestanding compilers. */
4553 # include <limits.h>
4555 # include <assert.h>
4560 /* Override any gcc2 internal prototype to avoid an error. */
4565 /* We use char because int might match the return type of a gcc2
4566 builtin and then its argument prototype would still apply. */
4568 /* The GNU C library defines this for functions which it implements
4569 to always fail with ENOSYS. Some functions are actually named
4570 something starting with __ and the normal name is an alias. */
4571 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4574 char (*f) () = $ac_func;
4583 return f != $ac_func;
4588 rm -f conftest.
$ac_objext conftest
$ac_exeext
4589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4590 (eval $ac_link) 2>conftest.er1
4592 grep -v '^ *+' conftest.er1
>conftest.err
4594 cat conftest.err
>&5
4595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4596 (exit $ac_status); } &&
4597 { ac_try
='test -z "$ac_c_werror_flag"
4598 || test ! -s conftest.err'
4599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4603 (exit $ac_status); }; } &&
4604 { ac_try
='test -s conftest$ac_exeext'
4605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4609 (exit $ac_status); }; }; then
4610 eval "$as_ac_var=yes"
4612 echo "$as_me: failed program was:" >&5
4613 sed 's/^/| /' conftest.
$ac_ext >&5
4615 eval "$as_ac_var=no"
4617 rm -f conftest.err conftest.
$ac_objext \
4618 conftest
$ac_exeext conftest.
$ac_ext
4620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4621 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4622 if test `eval echo '${'$as_ac_var'}'` = yes; then
4623 cat >>confdefs.h
<<_ACEOF
4624 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4633 for ac_func
in getprotoent getprotobyname getprotobynumber
4635 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4636 echo "$as_me:$LINENO: checking for $ac_func" >&5
4637 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4638 if eval "test \"\${$as_ac_var+set}\" = set"; then
4639 echo $ECHO_N "(cached) $ECHO_C" >&6
4641 cat >conftest.
$ac_ext <<_ACEOF
4644 cat confdefs.h
>>conftest.
$ac_ext
4645 cat >>conftest.
$ac_ext <<_ACEOF
4646 /* end confdefs.h. */
4647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4649 #define $ac_func innocuous_$ac_func
4651 /* System header to define __stub macros and hopefully few prototypes,
4652 which can conflict with char $ac_func (); below.
4653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4654 <limits.h> exists even on freestanding compilers. */
4657 # include <limits.h>
4659 # include <assert.h>
4664 /* Override any gcc2 internal prototype to avoid an error. */
4669 /* We use char because int might match the return type of a gcc2
4670 builtin and then its argument prototype would still apply. */
4672 /* The GNU C library defines this for functions which it implements
4673 to always fail with ENOSYS. Some functions are actually named
4674 something starting with __ and the normal name is an alias. */
4675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4678 char (*f) () = $ac_func;
4687 return f != $ac_func;
4692 rm -f conftest.
$ac_objext conftest
$ac_exeext
4693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4694 (eval $ac_link) 2>conftest.er1
4696 grep -v '^ *+' conftest.er1
>conftest.err
4698 cat conftest.err
>&5
4699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4700 (exit $ac_status); } &&
4701 { ac_try
='test -z "$ac_c_werror_flag"
4702 || test ! -s conftest.err'
4703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4707 (exit $ac_status); }; } &&
4708 { ac_try
='test -s conftest$ac_exeext'
4709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4713 (exit $ac_status); }; }; then
4714 eval "$as_ac_var=yes"
4716 echo "$as_me: failed program was:" >&5
4717 sed 's/^/| /' conftest.
$ac_ext >&5
4719 eval "$as_ac_var=no"
4721 rm -f conftest.err conftest.
$ac_objext \
4722 conftest
$ac_exeext conftest.
$ac_ext
4724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4725 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4726 if test `eval echo '${'$as_ac_var'}'` = yes; then
4727 cat >>confdefs.h
<<_ACEOF
4728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4737 for ac_func
in getmntent setmntent addmntent
4739 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4740 echo "$as_me:$LINENO: checking for $ac_func" >&5
4741 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4742 if eval "test \"\${$as_ac_var+set}\" = set"; then
4743 echo $ECHO_N "(cached) $ECHO_C" >&6
4745 cat >conftest.
$ac_ext <<_ACEOF
4748 cat confdefs.h
>>conftest.
$ac_ext
4749 cat >>conftest.
$ac_ext <<_ACEOF
4750 /* end confdefs.h. */
4751 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4752 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4753 #define $ac_func innocuous_$ac_func
4755 /* System header to define __stub macros and hopefully few prototypes,
4756 which can conflict with char $ac_func (); below.
4757 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4758 <limits.h> exists even on freestanding compilers. */
4761 # include <limits.h>
4763 # include <assert.h>
4768 /* Override any gcc2 internal prototype to avoid an error. */
4773 /* We use char because int might match the return type of a gcc2
4774 builtin and then its argument prototype would still apply. */
4776 /* The GNU C library defines this for functions which it implements
4777 to always fail with ENOSYS. Some functions are actually named
4778 something starting with __ and the normal name is an alias. */
4779 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4782 char (*f) () = $ac_func;
4791 return f != $ac_func;
4796 rm -f conftest.
$ac_objext conftest
$ac_exeext
4797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4798 (eval $ac_link) 2>conftest.er1
4800 grep -v '^ *+' conftest.er1
>conftest.err
4802 cat conftest.err
>&5
4803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4804 (exit $ac_status); } &&
4805 { ac_try
='test -z "$ac_c_werror_flag"
4806 || test ! -s conftest.err'
4807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4811 (exit $ac_status); }; } &&
4812 { ac_try
='test -s conftest$ac_exeext'
4813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4817 (exit $ac_status); }; }; then
4818 eval "$as_ac_var=yes"
4820 echo "$as_me: failed program was:" >&5
4821 sed 's/^/| /' conftest.
$ac_ext >&5
4823 eval "$as_ac_var=no"
4825 rm -f conftest.err conftest.
$ac_objext \
4826 conftest
$ac_exeext conftest.
$ac_ext
4828 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4829 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4830 if test `eval echo '${'$as_ac_var'}'` = yes; then
4831 cat >>confdefs.h
<<_ACEOF
4832 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4841 for ac_func
in inet_ntoa mmap munmap
4843 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4844 echo "$as_me:$LINENO: checking for $ac_func" >&5
4845 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4846 if eval "test \"\${$as_ac_var+set}\" = set"; then
4847 echo $ECHO_N "(cached) $ECHO_C" >&6
4849 cat >conftest.
$ac_ext <<_ACEOF
4852 cat confdefs.h
>>conftest.
$ac_ext
4853 cat >>conftest.
$ac_ext <<_ACEOF
4854 /* end confdefs.h. */
4855 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4856 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4857 #define $ac_func innocuous_$ac_func
4859 /* System header to define __stub macros and hopefully few prototypes,
4860 which can conflict with char $ac_func (); below.
4861 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4862 <limits.h> exists even on freestanding compilers. */
4865 # include <limits.h>
4867 # include <assert.h>
4872 /* Override any gcc2 internal prototype to avoid an error. */
4877 /* We use char because int might match the return type of a gcc2
4878 builtin and then its argument prototype would still apply. */
4880 /* The GNU C library defines this for functions which it implements
4881 to always fail with ENOSYS. Some functions are actually named
4882 something starting with __ and the normal name is an alias. */
4883 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4886 char (*f) () = $ac_func;
4895 return f != $ac_func;
4900 rm -f conftest.
$ac_objext conftest
$ac_exeext
4901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4902 (eval $ac_link) 2>conftest.er1
4904 grep -v '^ *+' conftest.er1
>conftest.err
4906 cat conftest.err
>&5
4907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4908 (exit $ac_status); } &&
4909 { ac_try
='test -z "$ac_c_werror_flag"
4910 || test ! -s conftest.err'
4911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4915 (exit $ac_status); }; } &&
4916 { ac_try
='test -s conftest$ac_exeext'
4917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4921 (exit $ac_status); }; }; then
4922 eval "$as_ac_var=yes"
4924 echo "$as_me: failed program was:" >&5
4925 sed 's/^/| /' conftest.
$ac_ext >&5
4927 eval "$as_ac_var=no"
4929 rm -f conftest.err conftest.
$ac_objext \
4930 conftest
$ac_exeext conftest.
$ac_ext
4932 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4933 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4934 if test `eval echo '${'$as_ac_var'}'` = yes; then
4935 cat >>confdefs.h
<<_ACEOF
4936 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4943 for ac_func
in __libc_freeres
4945 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4946 echo "$as_me:$LINENO: checking for $ac_func" >&5
4947 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4948 if eval "test \"\${$as_ac_var+set}\" = set"; then
4949 echo $ECHO_N "(cached) $ECHO_C" >&6
4951 cat >conftest.
$ac_ext <<_ACEOF
4954 cat confdefs.h
>>conftest.
$ac_ext
4955 cat >>conftest.
$ac_ext <<_ACEOF
4956 /* end confdefs.h. */
4957 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4958 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4959 #define $ac_func innocuous_$ac_func
4961 /* System header to define __stub macros and hopefully few prototypes,
4962 which can conflict with char $ac_func (); below.
4963 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4964 <limits.h> exists even on freestanding compilers. */
4967 # include <limits.h>
4969 # include <assert.h>
4974 /* Override any gcc2 internal prototype to avoid an error. */
4979 /* We use char because int might match the return type of a gcc2
4980 builtin and then its argument prototype would still apply. */
4982 /* The GNU C library defines this for functions which it implements
4983 to always fail with ENOSYS. Some functions are actually named
4984 something starting with __ and the normal name is an alias. */
4985 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4988 char (*f) () = $ac_func;
4997 return f != $ac_func;
5002 rm -f conftest.
$ac_objext conftest
$ac_exeext
5003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5004 (eval $ac_link) 2>conftest.er1
5006 grep -v '^ *+' conftest.er1
>conftest.err
5008 cat conftest.err
>&5
5009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5010 (exit $ac_status); } &&
5011 { ac_try
='test -z "$ac_c_werror_flag"
5012 || test ! -s conftest.err'
5013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5017 (exit $ac_status); }; } &&
5018 { ac_try
='test -s conftest$ac_exeext'
5019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5023 (exit $ac_status); }; }; then
5024 eval "$as_ac_var=yes"
5026 echo "$as_me: failed program was:" >&5
5027 sed 's/^/| /' conftest.
$ac_ext >&5
5029 eval "$as_ac_var=no"
5031 rm -f conftest.err conftest.
$ac_objext \
5032 conftest
$ac_exeext conftest.
$ac_ext
5034 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5035 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5036 if test `eval echo '${'$as_ac_var'}'` = yes; then
5037 cat >>confdefs.h
<<_ACEOF
5038 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5045 cat >conftest.
$ac_ext <<_ACEOF
5048 cat confdefs.h
>>conftest.
$ac_ext
5049 cat >>conftest.
$ac_ext <<_ACEOF
5050 /* end confdefs.h. */
5051 #include <sys/types.h>
5052 #include <sys/ipc.h>
5053 #include <sys/sem.h>
5062 rm -f conftest.
$ac_objext
5063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5064 (eval $ac_compile) 2>conftest.er1
5066 grep -v '^ *+' conftest.er1
>conftest.err
5068 cat conftest.err
>&5
5069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5070 (exit $ac_status); } &&
5071 { ac_try
='test -z "$ac_c_werror_flag"
5072 || test ! -s conftest.err'
5073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5077 (exit $ac_status); }; } &&
5078 { ac_try
='test -s conftest.$ac_objext'
5079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5083 (exit $ac_status); }; }; then
5086 echo "$as_me: failed program was:" >&5
5087 sed 's/^/| /' conftest.
$ac_ext >&5
5091 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5092 if test $mf_have_semun = 1
5095 cat >>confdefs.h
<<\_ACEOF
5096 #define HAVE_UNION_SEMUN 1
5102 echo "$as_me:$LINENO: checking for socklen_t in sys/socket.h" >&5
5103 echo $ECHO_N "checking for socklen_t in sys/socket.h... $ECHO_C" >&6
5104 cat >conftest.
$ac_ext <<_ACEOF
5107 cat confdefs.h
>>conftest.
$ac_ext
5108 cat >>conftest.
$ac_ext <<_ACEOF
5109 /* end confdefs.h. */
5110 #define _POSIX_PII_SOCKET
5111 #include <sys/types.h>
5112 #include <sys/socket.h>
5121 rm -f conftest.
$ac_objext
5122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5123 (eval $ac_compile) 2>conftest.er1
5125 grep -v '^ *+' conftest.er1
>conftest.err
5127 cat conftest.err
>&5
5128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5129 (exit $ac_status); } &&
5130 { ac_try
='test -z "$ac_c_werror_flag"
5131 || test ! -s conftest.err'
5132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5136 (exit $ac_status); }; } &&
5137 { ac_try
='test -s conftest.$ac_objext'
5138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5142 (exit $ac_status); }; }; then
5144 cat >>confdefs.h
<<\_ACEOF
5145 #define HAVE_SOCKLEN_T 1
5148 echo "$as_me:$LINENO: result: yes" >&5
5149 echo "${ECHO_T}yes" >&6
5151 echo "$as_me: failed program was:" >&5
5152 sed 's/^/| /' conftest.
$ac_ext >&5
5154 echo "$as_me:$LINENO: result: no" >&5
5155 echo "${ECHO_T}no" >&6
5157 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5160 # Check whether --enable-shared or --disable-shared was given.
5161 if test "${enable_shared+set}" = set; then
5162 enableval
="$enable_shared"
5163 p
=${PACKAGE-default}
5165 yes) enable_shared
=yes ;;
5166 no
) enable_shared
=no
;;
5169 # Look at the argument we got. We use all the common list separators.
5170 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
5171 for pkg
in $enableval; do
5172 if test "X$pkg" = "X$p"; then
5182 # Check whether --enable-static or --disable-static was given.
5183 if test "${enable_static+set}" = set; then
5184 enableval
="$enable_static"
5185 p
=${PACKAGE-default}
5187 yes) enable_static
=yes ;;
5188 no
) enable_static
=no
;;
5191 # Look at the argument we got. We use all the common list separators.
5192 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
5193 for pkg
in $enableval; do
5194 if test "X$pkg" = "X$p"; then
5204 # Check whether --enable-fast-install or --disable-fast-install was given.
5205 if test "${enable_fast_install+set}" = set; then
5206 enableval
="$enable_fast_install"
5207 p
=${PACKAGE-default}
5209 yes) enable_fast_install
=yes ;;
5210 no
) enable_fast_install
=no
;;
5212 enable_fast_install
=no
5213 # Look at the argument we got. We use all the common list separators.
5214 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
5215 for pkg
in $enableval; do
5216 if test "X$pkg" = "X$p"; then
5217 enable_fast_install
=yes
5224 enable_fast_install
=yes
5227 # Check whether --with-gnu-ld or --without-gnu-ld was given.
5228 if test "${with_gnu_ld+set}" = set; then
5229 withval
="$with_gnu_ld"
5230 test "$withval" = no || with_gnu_ld
=yes
5235 if test "$GCC" = yes; then
5236 # Check if gcc -print-prog-name=ld gives a path.
5237 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
5238 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
5241 # gcc leaves a trailing carriage return which upsets mingw
5242 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5244 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5247 # Accept absolute paths.
5248 [\\/]* |
[A-Za-z
]:[\\/]*)
5249 re_direlt
='/[^/][^/]*/\.\./'
5250 # Canonicalize the path of ld
5251 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
5252 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
5253 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
5255 test -z "$LD" && LD
="$ac_prog"
5258 # If it fails, then pretend we aren't using GCC.
5262 # If it is relative, then search for the first ld in PATH.
5266 elif test "$with_gnu_ld" = yes; then
5267 echo "$as_me:$LINENO: checking for GNU ld" >&5
5268 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
5270 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5271 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
5273 if test "${lt_cv_path_LD+set}" = set; then
5274 echo $ECHO_N "(cached) $ECHO_C" >&6
5276 if test -z "$LD"; then
5277 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5278 for ac_dir
in $PATH; do
5279 test -z "$ac_dir" && ac_dir
=.
5280 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5281 lt_cv_path_LD
="$ac_dir/$ac_prog"
5282 # Check to see if the program is GNU ld. I'd rather use --version,
5283 # but apparently some GNU ld's only accept -v.
5284 # Break only if it was the GNU/non-GNU ld that we prefer.
5285 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
5286 test "$with_gnu_ld" != no
&& break
5288 test "$with_gnu_ld" != yes && break
5294 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5299 if test -n "$LD"; then
5300 echo "$as_me:$LINENO: result: $LD" >&5
5301 echo "${ECHO_T}$LD" >&6
5303 echo "$as_me:$LINENO: result: no" >&5
5304 echo "${ECHO_T}no" >&6
5306 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5307 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5308 { (exit 1); exit 1; }; }
5309 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5310 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
5311 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5312 echo $ECHO_N "(cached) $ECHO_C" >&6
5314 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
5315 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
5316 lt_cv_prog_gnu_ld
=yes
5318 lt_cv_prog_gnu_ld
=no
5321 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5322 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
5323 with_gnu_ld
=$lt_cv_prog_gnu_ld
5326 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5327 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
5328 if test "${lt_cv_ld_reload_flag+set}" = set; then
5329 echo $ECHO_N "(cached) $ECHO_C" >&6
5331 lt_cv_ld_reload_flag
='-r'
5333 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5334 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
5335 reload_flag
=$lt_cv_ld_reload_flag
5336 test -n "$reload_flag" && reload_flag
=" $reload_flag"
5338 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
5339 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
5340 if test "${lt_cv_path_NM+set}" = set; then
5341 echo $ECHO_N "(cached) $ECHO_C" >&6
5343 if test -n "$NM"; then
5344 # Let the user override the test.
5347 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5348 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
5349 test -z "$ac_dir" && ac_dir
=.
5350 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
5351 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
5352 # Check to see if the nm accepts a BSD-compat flag.
5353 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5354 # nm: unknown option "B" ignored
5355 # Tru64's nm complains that /dev/null is an invalid object file
5356 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
5357 lt_cv_path_NM
="$tmp_nm -B"
5359 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
5360 lt_cv_path_NM
="$tmp_nm -p"
5363 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5364 continue # so that we can try to find one that supports BSD flags
5369 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
5374 echo "$as_me:$LINENO: result: $NM" >&5
5375 echo "${ECHO_T}$NM" >&6
5377 echo "$as_me:$LINENO: checking whether ln -s works" >&5
5378 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
5380 if test "$LN_S" = "ln -s"; then
5381 echo "$as_me:$LINENO: result: yes" >&5
5382 echo "${ECHO_T}yes" >&6
5384 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5385 echo "${ECHO_T}no, using $LN_S" >&6
5388 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
5389 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
5390 if test "${lt_cv_deplibs_check_method+set}" = set; then
5391 echo $ECHO_N "(cached) $ECHO_C" >&6
5393 lt_cv_file_magic_cmd
='$MAGIC_CMD'
5394 lt_cv_file_magic_test_file
=
5395 lt_cv_deplibs_check_method
='unknown'
5396 # Need to set the preceding variable on all platforms that support
5397 # interlibrary dependencies.
5398 # 'none' -- dependencies not supported.
5399 # `unknown' -- same as none, but documents that we really don't know.
5400 # 'pass_all' -- all dependencies passed with no checks.
5401 # 'test_compile' -- check by making test program.
5402 # 'file_magic [regex]' -- check by looking for files in library path
5403 # which responds to the $file_magic_cmd with a given egrep regex.
5404 # If you have `file' or equivalent on your system and you're not sure
5405 # whether `pass_all' will *always* work, you probably want this one.
5409 lt_cv_deplibs_check_method
=pass_all
5413 lt_cv_deplibs_check_method
=pass_all
5417 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5418 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5419 lt_cv_file_magic_test_file
=/shlib
/libc.so
5422 cygwin
* | mingw
* |pw32
*)
5423 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
5424 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5427 darwin
* | rhapsody
*)
5428 # this will be overwritten by pass_all, but leave it in just in case
5429 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
5430 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5432 rhapsody
* | darwin1.012
)
5433 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
5436 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
5439 lt_cv_deplibs_check_method
=pass_all
5442 freebsd
* | kfreebsd
*-gnu)
5443 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
5446 # Not sure whether the presence of OpenBSD here was a mistake.
5447 # Let's accept both of them until this is cleared up.
5448 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
5449 lt_cv_file_magic_cmd
=/usr
/bin
/file
5450 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
5454 lt_cv_deplibs_check_method
=pass_all
5459 lt_cv_deplibs_check_method
=pass_all
5465 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5466 lt_cv_file_magic_cmd
=/usr
/bin
/file
5467 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
5470 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5471 lt_cv_file_magic_cmd
=/usr
/bin
/file
5472 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
5480 # this will be overridden with pass_all, but let us keep it just in case
5481 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
5485 *-32|
*"-32 ") libmagic
=32-bit;;
5486 *-n32|
*"-n32 ") libmagic
=N32
;;
5487 *-64|
*"-64 ") libmagic
=64-bit;;
5488 *) libmagic
=never-match
;;
5490 # this will be overridden with pass_all, but let us keep it just in case
5491 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
5494 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
5495 lt_cv_deplibs_check_method
=pass_all
5498 # This must be Linux ELF.
5500 lt_cv_deplibs_check_method
=pass_all
5503 netbsd
* | knetbsd
*-gnu)
5504 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
5505 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
5507 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
5512 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5513 lt_cv_file_magic_cmd
=/usr
/bin
/file
5514 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
5517 osf3
* | osf4
* | osf5
*)
5518 # this will be overridden with pass_all, but let us keep it just in case
5519 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
5520 lt_cv_file_magic_test_file
=/shlib
/libc.so
5521 lt_cv_deplibs_check_method
=pass_all
5525 lt_cv_deplibs_check_method
=pass_all
5529 lt_cv_deplibs_check_method
=pass_all
5530 lt_cv_file_magic_test_file
=/lib
/libc.so
5533 sysv5uw
[78]* | sysv4
*uw2
*)
5534 lt_cv_deplibs_check_method
=pass_all
5537 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
5538 case $host_vendor in
5540 lt_cv_deplibs_check_method
=pass_all
5543 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]'
5544 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
5551 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5552 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5553 file_magic_cmd
=$lt_cv_file_magic_cmd
5554 deplibs_check_method
=$lt_cv_deplibs_check_method
5558 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5560 # find the maximum length of command line arguments
5561 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5562 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5563 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5564 echo $ECHO_N "(cached) $ECHO_C" >&6
5571 # On DJGPP, this test can blow up pretty badly due to problems in libc
5572 # (any single argument exceeding 2000 bytes causes a buffer overrun
5573 # during glob expansion). Even if it were fixed, the result of this
5574 # check would be larger than it should be.
5575 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5579 # On Win9x/ME, this test blows up -- it succeeds, but takes
5580 # about 5 minutes as the teststring grows exponentially.
5581 # Worse, since 9x/ME are not pre-emptively multitasking,
5582 # you end up with a "frozen" computer, even though with patience
5583 # the test eventually succeeds (with a max line length of 256k).
5584 # Instead, let's just punt: use the minimum linelength reported by
5585 # all of the supported platforms: 8192 (on NT/2K/XP).
5586 lt_cv_sys_max_cmd_len
=8192;
5590 # On AmigaOS with pdksh, this test takes hours, literally.
5591 # So we just punt and use a minimum line length of 8192.
5592 lt_cv_sys_max_cmd_len
=8192;
5595 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5596 # This has been around since 386BSD, at least. Likely further.
5597 if test -x /sbin
/sysctl
; then
5598 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5599 elif test -x /usr
/sbin
/sysctl
; then
5600 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5602 lt_cv_sys_max_cmd_len
=65536 # usable default for *BSD
5604 # And add a safety zone
5605 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5606 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5612 if test -n "$lt_cv_sys_max_cmd_len" ; then
5613 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5614 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5616 echo "$as_me:$LINENO: result: none" >&5
5617 echo "${ECHO_T}none" >&6
5621 # Only perform the check for file, if the check method requires it
5622 case $deplibs_check_method in
5624 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
5625 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
5626 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
5627 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5628 echo $ECHO_N "(cached) $ECHO_C" >&6
5632 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
5635 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
5638 ac_save_MAGIC_CMD
="$MAGIC_CMD"
5639 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5640 ac_dummy
="/usr/bin:$PATH"
5641 for ac_dir
in $ac_dummy; do
5642 test -z "$ac_dir" && ac_dir
=.
5643 if test -f $ac_dir/${ac_tool_prefix}file; then
5644 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
5645 if test -n "$file_magic_test_file"; then
5646 case $deplibs_check_method in
5648 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
5649 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
5650 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
5651 egrep "$file_magic_regex" > /dev
/null
; then
5656 *** Warning: the command libtool uses to detect shared libraries,
5657 *** $file_magic_cmd, produces output that libtool cannot recognize.
5658 *** The result is that libtool may fail to recognize shared libraries
5659 *** as such. This will affect the creation of libtool libraries that
5660 *** depend on shared libraries, but programs linked with such libtool
5661 *** libraries will work regardless of this problem. Nevertheless, you
5662 *** may want to report the problem to your system manager and/or to
5663 *** bug-libtool@gnu.org
5673 MAGIC_CMD
="$ac_save_MAGIC_CMD"
5678 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
5679 if test -n "$MAGIC_CMD"; then
5680 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5681 echo "${ECHO_T}$MAGIC_CMD" >&6
5683 echo "$as_me:$LINENO: result: no" >&5
5684 echo "${ECHO_T}no" >&6
5687 if test -z "$lt_cv_path_MAGIC_CMD"; then
5688 if test -n "$ac_tool_prefix"; then
5689 echo "$as_me:$LINENO: checking for file" >&5
5690 echo $ECHO_N "checking for file... $ECHO_C" >&6
5691 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5692 echo $ECHO_N "(cached) $ECHO_C" >&6
5696 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
5699 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
5702 ac_save_MAGIC_CMD
="$MAGIC_CMD"
5703 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5704 ac_dummy
="/usr/bin:$PATH"
5705 for ac_dir
in $ac_dummy; do
5706 test -z "$ac_dir" && ac_dir
=.
5707 if test -f $ac_dir/file; then
5708 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
5709 if test -n "$file_magic_test_file"; then
5710 case $deplibs_check_method in
5712 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
5713 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
5714 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
5715 egrep "$file_magic_regex" > /dev
/null
; then
5720 *** Warning: the command libtool uses to detect shared libraries,
5721 *** $file_magic_cmd, produces output that libtool cannot recognize.
5722 *** The result is that libtool may fail to recognize shared libraries
5723 *** as such. This will affect the creation of libtool libraries that
5724 *** depend on shared libraries, but programs linked with such libtool
5725 *** libraries will work regardless of this problem. Nevertheless, you
5726 *** may want to report the problem to your system manager and/or to
5727 *** bug-libtool@gnu.org
5737 MAGIC_CMD
="$ac_save_MAGIC_CMD"
5742 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
5743 if test -n "$MAGIC_CMD"; then
5744 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5745 echo "${ECHO_T}$MAGIC_CMD" >&6
5747 echo "$as_me:$LINENO: result: no" >&5
5748 echo "${ECHO_T}no" >&6
5760 if test -n "$ac_tool_prefix"; then
5761 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5762 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5763 echo "$as_me:$LINENO: checking for $ac_word" >&5
5764 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5765 if test "${ac_cv_prog_RANLIB+set}" = set; then
5766 echo $ECHO_N "(cached) $ECHO_C" >&6
5768 if test -n "$RANLIB"; then
5769 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5771 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5775 test -z "$as_dir" && as_dir
=.
5776 for ac_exec_ext
in '' $ac_executable_extensions; do
5777 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5778 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5779 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5787 RANLIB
=$ac_cv_prog_RANLIB
5788 if test -n "$RANLIB"; then
5789 echo "$as_me:$LINENO: result: $RANLIB" >&5
5790 echo "${ECHO_T}$RANLIB" >&6
5792 echo "$as_me:$LINENO: result: no" >&5
5793 echo "${ECHO_T}no" >&6
5797 if test -z "$ac_cv_prog_RANLIB"; then
5798 ac_ct_RANLIB
=$RANLIB
5799 # Extract the first word of "ranlib", so it can be a program name with args.
5800 set dummy ranlib
; ac_word
=$2
5801 echo "$as_me:$LINENO: checking for $ac_word" >&5
5802 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5803 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5804 echo $ECHO_N "(cached) $ECHO_C" >&6
5806 if test -n "$ac_ct_RANLIB"; then
5807 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5809 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5813 test -z "$as_dir" && as_dir
=.
5814 for ac_exec_ext
in '' $ac_executable_extensions; do
5815 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5816 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5817 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5823 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
5826 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5827 if test -n "$ac_ct_RANLIB"; then
5828 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5829 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5831 echo "$as_me:$LINENO: result: no" >&5
5832 echo "${ECHO_T}no" >&6
5835 RANLIB
=$ac_ct_RANLIB
5837 RANLIB
="$ac_cv_prog_RANLIB"
5840 if test -n "$ac_tool_prefix"; then
5841 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5842 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5843 echo "$as_me:$LINENO: checking for $ac_word" >&5
5844 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5845 if test "${ac_cv_prog_STRIP+set}" = set; then
5846 echo $ECHO_N "(cached) $ECHO_C" >&6
5848 if test -n "$STRIP"; then
5849 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5851 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5855 test -z "$as_dir" && as_dir
=.
5856 for ac_exec_ext
in '' $ac_executable_extensions; do
5857 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5858 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5859 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5867 STRIP
=$ac_cv_prog_STRIP
5868 if test -n "$STRIP"; then
5869 echo "$as_me:$LINENO: result: $STRIP" >&5
5870 echo "${ECHO_T}$STRIP" >&6
5872 echo "$as_me:$LINENO: result: no" >&5
5873 echo "${ECHO_T}no" >&6
5877 if test -z "$ac_cv_prog_STRIP"; then
5879 # Extract the first word of "strip", so it can be a program name with args.
5880 set dummy strip
; ac_word
=$2
5881 echo "$as_me:$LINENO: checking for $ac_word" >&5
5882 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5883 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5884 echo $ECHO_N "(cached) $ECHO_C" >&6
5886 if test -n "$ac_ct_STRIP"; then
5887 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5889 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5893 test -z "$as_dir" && as_dir
=.
5894 for ac_exec_ext
in '' $ac_executable_extensions; do
5895 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5896 ac_cv_prog_ac_ct_STRIP
="strip"
5897 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5903 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
5906 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5907 if test -n "$ac_ct_STRIP"; then
5908 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5909 echo "${ECHO_T}$ac_ct_STRIP" >&6
5911 echo "$as_me:$LINENO: result: no" >&5
5912 echo "${ECHO_T}no" >&6
5917 STRIP
="$ac_cv_prog_STRIP"
5921 # Check for any special flags to pass to ltconfig.
5922 libtool_flags
="--cache-file=$cache_file"
5923 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
5924 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
5925 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
5926 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
5927 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
5930 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5931 if test "${enable_libtool_lock+set}" = set; then
5932 enableval
="$enable_libtool_lock"
5935 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
5936 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
5939 # Check whether --with-pic or --without-pic was given.
5940 if test "${with_pic+set}" = set; then
5946 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
5947 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
5949 # Some flags need to be propagated to the compiler or linker for good
5953 # Find out which ABI we are using.
5954 echo '#line 5954 "configure"' > conftest.
$ac_ext
5955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5956 (eval $ac_compile) 2>&5
5958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5959 (exit $ac_status); }; then
5960 if test "$lt_cv_prog_gnu_ld" = yes; then
5961 case `/usr/bin/file conftest.$ac_objext` in
5963 LD
="${LD-ld} -melf32bsmip"
5966 LD
="${LD-ld} -melf32bmipn32"
5969 LD
="${LD-ld} -melf64bmip"
5973 case `/usr/bin/file conftest.$ac_objext` in
5990 # Find out which ABI we are using.
5991 echo 'int i;' > conftest.
$ac_ext
5992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5993 (eval $ac_compile) 2>&5
5995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5996 (exit $ac_status); }; then
5997 case "`/usr/bin/file conftest.o`" in
6009 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
6010 # Find out which ABI we are using.
6011 echo 'int i;' > conftest.
$ac_ext
6012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6013 (eval $ac_compile) 2>&5
6015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6016 (exit $ac_status); }; then
6017 case "`/usr/bin/file conftest.o`" in
6021 LD
="${LD-ld} -m elf_i386"
6023 ppc64-
*linux
*|powerpc64-
*linux
*)
6024 LD
="${LD-ld} -m elf32ppclinux"
6027 LD
="${LD-ld} -m elf_s390"
6030 LD
="${LD-ld} -m elf32_sparc"
6037 LD
="${LD-ld} -m elf_x86_64"
6039 ppc
*-*linux
*|powerpc
*-*linux
*)
6040 LD
="${LD-ld} -m elf64ppc"
6043 LD
="${LD-ld} -m elf64_s390"
6046 LD
="${LD-ld} -m elf64_sparc"
6056 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6057 SAVE_CFLAGS
="$CFLAGS"
6058 CFLAGS
="$CFLAGS -belf"
6059 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
6060 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
6061 if test "${lt_cv_cc_needs_belf+set}" = set; then
6062 echo $ECHO_N "(cached) $ECHO_C" >&6
6067 ac_cpp
='$CPP $CPPFLAGS'
6068 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6069 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6070 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6072 cat >conftest.
$ac_ext <<_ACEOF
6075 cat confdefs.h
>>conftest.
$ac_ext
6076 cat >>conftest.
$ac_ext <<_ACEOF
6077 /* end confdefs.h. */
6087 rm -f conftest.
$ac_objext conftest
$ac_exeext
6088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6089 (eval $ac_link) 2>conftest.er1
6091 grep -v '^ *+' conftest.er1
>conftest.err
6093 cat conftest.err
>&5
6094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6095 (exit $ac_status); } &&
6096 { ac_try
='test -z "$ac_c_werror_flag"
6097 || test ! -s conftest.err'
6098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6102 (exit $ac_status); }; } &&
6103 { ac_try
='test -s conftest$ac_exeext'
6104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6108 (exit $ac_status); }; }; then
6109 lt_cv_cc_needs_belf
=yes
6111 echo "$as_me: failed program was:" >&5
6112 sed 's/^/| /' conftest.
$ac_ext >&5
6114 lt_cv_cc_needs_belf
=no
6116 rm -f conftest.err conftest.
$ac_objext \
6117 conftest
$ac_exeext conftest.
$ac_ext
6119 ac_cpp
='$CPP $CPPFLAGS'
6120 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6121 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6122 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6125 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
6126 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
6127 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
6128 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6129 CFLAGS
="$SAVE_CFLAGS"
6137 # Save cache, so that ltconfig can load it
6138 cat >confcache
<<\_ACEOF
6139 # This file is a shell script that caches the results of configure
6140 # tests run on this system so they can be shared between configure
6141 # scripts and configure runs, see configure's option --config-cache.
6142 # It is not useful on other systems. If it contains results you don't
6143 # want to keep, you may remove or edit it.
6145 # config.status only pays attention to the cache file if you give it
6146 # the --recheck option to rerun configure.
6148 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6149 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6154 # The following way of writing the cache mishandles newlines in values,
6155 # but we know of no workaround that is simple, portable, and efficient.
6156 # So, don't put newlines in cache variables' values.
6157 # Ultrix sh set writes to stderr and can't be redirected directly,
6158 # and sets the high bit in the cache file unless we assign to the vars.
6161 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6163 # `set' does not quote correctly, so add quotes (double-quote
6164 # substitution turns \\\\ into \\, and sed turns \\ into \).
6167 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6170 # `set' quotes correctly as required by POSIX, so do not add quotes.
6172 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6179 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6181 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6183 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
6184 if test -w $cache_file; then
6185 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6186 cat confcache
>$cache_file
6188 echo "not updating unwritable cache $cache_file"
6193 # Actually configure libtool. ac_aux_dir is where install-sh is found.
6194 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
6195 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
6196 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
6197 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
6198 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
6199 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
6200 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
6201 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
6202 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
6203 echo "$as_me: error: libtool configure failed" >&2;}
6204 { (exit 1); exit 1; }; }
6206 # Reload cache, that may have been modified by ltconfig
6207 if test -r "$cache_file"; then
6208 # Some versions of bash will fail to source /dev/null (special
6209 # files actually), so we avoid doing that.
6210 if test -f "$cache_file"; then
6211 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
6212 echo "$as_me: loading cache $cache_file" >&6;}
6214 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
6215 *) . .
/$cache_file;;
6219 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
6220 echo "$as_me: creating cache $cache_file" >&6;}
6225 # This can be used to rebuild libtool when needed
6226 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
6228 # Always use our own libtool.
6229 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
6231 # Redirect the config.log output again, so that the ltconfig log is not
6232 # clobbered by the next message.
6233 exec 5>>.
/config.log
6243 if test "${ac_cv_header_stdint_h+set}" = set; then
6244 echo "$as_me:$LINENO: checking for stdint.h" >&5
6245 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6
6246 if test "${ac_cv_header_stdint_h+set}" = set; then
6247 echo $ECHO_N "(cached) $ECHO_C" >&6
6249 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&5
6250 echo "${ECHO_T}$ac_cv_header_stdint_h" >&6
6252 # Is the header compilable?
6253 echo "$as_me:$LINENO: checking stdint.h usability" >&5
6254 echo $ECHO_N "checking stdint.h usability... $ECHO_C" >&6
6255 cat >conftest.
$ac_ext <<_ACEOF
6258 cat confdefs.h
>>conftest.
$ac_ext
6259 cat >>conftest.
$ac_ext <<_ACEOF
6260 /* end confdefs.h. */
6261 $ac_includes_default
6264 rm -f conftest.
$ac_objext
6265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6266 (eval $ac_compile) 2>conftest.er1
6268 grep -v '^ *+' conftest.er1
>conftest.err
6270 cat conftest.err
>&5
6271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6272 (exit $ac_status); } &&
6273 { ac_try
='test -z "$ac_c_werror_flag"
6274 || test ! -s conftest.err'
6275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6279 (exit $ac_status); }; } &&
6280 { ac_try
='test -s conftest.$ac_objext'
6281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6285 (exit $ac_status); }; }; then
6286 ac_header_compiler
=yes
6288 echo "$as_me: failed program was:" >&5
6289 sed 's/^/| /' conftest.
$ac_ext >&5
6291 ac_header_compiler
=no
6293 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6294 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6295 echo "${ECHO_T}$ac_header_compiler" >&6
6297 # Is the header present?
6298 echo "$as_me:$LINENO: checking stdint.h presence" >&5
6299 echo $ECHO_N "checking stdint.h presence... $ECHO_C" >&6
6300 cat >conftest.
$ac_ext <<_ACEOF
6303 cat confdefs.h
>>conftest.
$ac_ext
6304 cat >>conftest.
$ac_ext <<_ACEOF
6305 /* end confdefs.h. */
6308 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6309 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6311 grep -v '^ *+' conftest.er1
>conftest.err
6313 cat conftest.err
>&5
6314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6315 (exit $ac_status); } >/dev
/null
; then
6316 if test -s conftest.err
; then
6317 ac_cpp_err
=$ac_c_preproc_warn_flag
6318 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6325 if test -z "$ac_cpp_err"; then
6326 ac_header_preproc
=yes
6328 echo "$as_me: failed program was:" >&5
6329 sed 's/^/| /' conftest.
$ac_ext >&5
6331 ac_header_preproc
=no
6333 rm -f conftest.err conftest.
$ac_ext
6334 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6335 echo "${ECHO_T}$ac_header_preproc" >&6
6337 # So? What about this header?
6338 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6340 { echo "$as_me:$LINENO: WARNING: stdint.h: accepted by the compiler, rejected by the preprocessor!" >&5
6341 echo "$as_me: WARNING: stdint.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6342 { echo "$as_me:$LINENO: WARNING: stdint.h: proceeding with the compiler's result" >&5
6343 echo "$as_me: WARNING: stdint.h: proceeding with the compiler's result" >&2;}
6344 ac_header_preproc
=yes
6347 { echo "$as_me:$LINENO: WARNING: stdint.h: present but cannot be compiled" >&5
6348 echo "$as_me: WARNING: stdint.h: present but cannot be compiled" >&2;}
6349 { echo "$as_me:$LINENO: WARNING: stdint.h: check for missing prerequisite headers?" >&5
6350 echo "$as_me: WARNING: stdint.h: check for missing prerequisite headers?" >&2;}
6351 { echo "$as_me:$LINENO: WARNING: stdint.h: see the Autoconf documentation" >&5
6352 echo "$as_me: WARNING: stdint.h: see the Autoconf documentation" >&2;}
6353 { echo "$as_me:$LINENO: WARNING: stdint.h: section \"Present But Cannot Be Compiled\"" >&5
6354 echo "$as_me: WARNING: stdint.h: section \"Present But Cannot Be Compiled\"" >&2;}
6355 { echo "$as_me:$LINENO: WARNING: stdint.h: proceeding with the preprocessor's result" >&5
6356 echo "$as_me: WARNING: stdint.h: proceeding with the preprocessor's result" >&2;}
6357 { echo "$as_me:$LINENO: WARNING: stdint.h: in the future, the compiler will take precedence" >&5
6358 echo "$as_me: WARNING: stdint.h: in the future, the compiler will take precedence" >&2;}
6361 ## ------------------------------------- ##
6362 ## Report this to the libmudflap lists. ##
6363 ## ------------------------------------- ##
6366 sed "s/^/$as_me: WARNING: /" >&2
6369 echo "$as_me:$LINENO: checking for stdint.h" >&5
6370 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6
6371 if test "${ac_cv_header_stdint_h+set}" = set; then
6372 echo $ECHO_N "(cached) $ECHO_C" >&6
6374 ac_cv_header_stdint_h
=$ac_header_preproc
6376 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&5
6377 echo "${ECHO_T}$ac_cv_header_stdint_h" >&6
6380 if test $ac_cv_header_stdint_h = yes; then
6388 if test $MF_HAVE_STDINT_H = 1
6392 cat >conftest.
$ac_ext <<_ACEOF
6395 cat confdefs.h
>>conftest.
$ac_ext
6396 cat >>conftest.
$ac_ext <<_ACEOF
6397 /* end confdefs.h. */
6398 #include <sys/types.h>
6407 rm -f conftest.
$ac_objext
6408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6409 (eval $ac_compile) 2>conftest.er1
6411 grep -v '^ *+' conftest.er1
>conftest.err
6413 cat conftest.err
>&5
6414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6415 (exit $ac_status); } &&
6416 { ac_try
='test -z "$ac_c_werror_flag"
6417 || test ! -s conftest.err'
6418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6422 (exit $ac_status); }; } &&
6423 { ac_try
='test -s conftest.$ac_objext'
6424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6428 (exit $ac_status); }; }; then
6431 echo "$as_me: failed program was:" >&5
6432 sed 's/^/| /' conftest.
$ac_ext >&5
6436 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6442 # libmudflapth objects are built in this subdirectory
6447 for ac_header
in pthread.h
6449 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6450 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6451 echo "$as_me:$LINENO: checking for $ac_header" >&5
6452 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6453 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6454 echo $ECHO_N "(cached) $ECHO_C" >&6
6456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6457 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6459 # Is the header compilable?
6460 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6461 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6462 cat >conftest.
$ac_ext <<_ACEOF
6465 cat confdefs.h
>>conftest.
$ac_ext
6466 cat >>conftest.
$ac_ext <<_ACEOF
6467 /* end confdefs.h. */
6468 $ac_includes_default
6469 #include <$ac_header>
6471 rm -f conftest.
$ac_objext
6472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6473 (eval $ac_compile) 2>conftest.er1
6475 grep -v '^ *+' conftest.er1
>conftest.err
6477 cat conftest.err
>&5
6478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6479 (exit $ac_status); } &&
6480 { ac_try
='test -z "$ac_c_werror_flag"
6481 || test ! -s conftest.err'
6482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6486 (exit $ac_status); }; } &&
6487 { ac_try
='test -s conftest.$ac_objext'
6488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6492 (exit $ac_status); }; }; then
6493 ac_header_compiler
=yes
6495 echo "$as_me: failed program was:" >&5
6496 sed 's/^/| /' conftest.
$ac_ext >&5
6498 ac_header_compiler
=no
6500 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6501 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6502 echo "${ECHO_T}$ac_header_compiler" >&6
6504 # Is the header present?
6505 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6506 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6507 cat >conftest.
$ac_ext <<_ACEOF
6510 cat confdefs.h
>>conftest.
$ac_ext
6511 cat >>conftest.
$ac_ext <<_ACEOF
6512 /* end confdefs.h. */
6513 #include <$ac_header>
6515 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6516 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6518 grep -v '^ *+' conftest.er1
>conftest.err
6520 cat conftest.err
>&5
6521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6522 (exit $ac_status); } >/dev
/null
; then
6523 if test -s conftest.err
; then
6524 ac_cpp_err
=$ac_c_preproc_warn_flag
6525 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6532 if test -z "$ac_cpp_err"; then
6533 ac_header_preproc
=yes
6535 echo "$as_me: failed program was:" >&5
6536 sed 's/^/| /' conftest.
$ac_ext >&5
6538 ac_header_preproc
=no
6540 rm -f conftest.err conftest.
$ac_ext
6541 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6542 echo "${ECHO_T}$ac_header_preproc" >&6
6544 # So? What about this header?
6545 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6547 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6548 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6549 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6550 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6551 ac_header_preproc
=yes
6554 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6555 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6556 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6557 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6558 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6559 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6560 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6561 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6562 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6563 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6564 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6565 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6568 ## ------------------------------------- ##
6569 ## Report this to the libmudflap lists. ##
6570 ## ------------------------------------- ##
6573 sed "s/^/$as_me: WARNING: /" >&2
6576 echo "$as_me:$LINENO: checking for $ac_header" >&5
6577 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6578 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6579 echo $ECHO_N "(cached) $ECHO_C" >&6
6581 eval "$as_ac_Header=\$ac_header_preproc"
6583 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6584 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6587 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6588 cat >>confdefs.h
<<_ACEOF
6589 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6597 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
6598 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
6599 target_thread_file
=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
6600 echo "$as_me:$LINENO: result: $target_thread_file" >&5
6601 echo "${ECHO_T}$target_thread_file" >&6
6603 # We only support posix threads, or no threads at all.
6605 case ${target_thread_file} in
6612 echo "${target_thread_file} is an unsupported thread package" 1>&2
6619 if test "x$posix_threads" != "x"; then
6621 LIBMUDFLAPTH_FALSE
='#'
6623 LIBMUDFLAPTH_TRUE
='#'
6627 if test "x$posix_threads" != "x"
6629 build_libmudflapth
=1
6631 build_libmudflapth
=0
6636 echo "$as_me:$LINENO: checking for dlsym in -ldl" >&5
6637 echo $ECHO_N "checking for dlsym in -ldl... $ECHO_C" >&6
6638 if test "${ac_cv_lib_dl_dlsym+set}" = set; then
6639 echo $ECHO_N "(cached) $ECHO_C" >&6
6641 ac_check_lib_save_LIBS
=$LIBS
6643 cat >conftest.
$ac_ext <<_ACEOF
6646 cat confdefs.h
>>conftest.
$ac_ext
6647 cat >>conftest.
$ac_ext <<_ACEOF
6648 /* end confdefs.h. */
6650 /* Override any gcc2 internal prototype to avoid an error. */
6654 /* We use char because int might match the return type of a gcc2
6655 builtin and then its argument prototype would still apply. */
6665 rm -f conftest.
$ac_objext conftest
$ac_exeext
6666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6667 (eval $ac_link) 2>conftest.er1
6669 grep -v '^ *+' conftest.er1
>conftest.err
6671 cat conftest.err
>&5
6672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6673 (exit $ac_status); } &&
6674 { ac_try
='test -z "$ac_c_werror_flag"
6675 || test ! -s conftest.err'
6676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6680 (exit $ac_status); }; } &&
6681 { ac_try
='test -s conftest$ac_exeext'
6682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6686 (exit $ac_status); }; }; then
6687 ac_cv_lib_dl_dlsym
=yes
6689 echo "$as_me: failed program was:" >&5
6690 sed 's/^/| /' conftest.
$ac_ext >&5
6692 ac_cv_lib_dl_dlsym
=no
6694 rm -f conftest.err conftest.
$ac_objext \
6695 conftest
$ac_exeext conftest.
$ac_ext
6696 LIBS
=$ac_check_lib_save_LIBS
6698 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlsym" >&5
6699 echo "${ECHO_T}$ac_cv_lib_dl_dlsym" >&6
6700 if test $ac_cv_lib_dl_dlsym = yes; then
6701 cat >>confdefs.h
<<_ACEOF
6702 #define HAVE_LIBDL 1
6710 # Calculate toolexeclibdir
6711 # Also toolexecdir, though it's only used in toolexeclibdir
6712 case ${version_specific_libs} in
6714 # Need the gcc compiler version to know where to install libraries
6715 # and header files if --enable-version-specific-runtime-libs option
6717 toolexecdir
='$(libdir)/gcc/$(target_alias)'
6718 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
6721 if test -n "$with_cross_host" &&
6722 test x
"$with_cross_host" != x
"no"; then
6723 # Install a library built with a cross compiler in tooldir, not libdir.
6724 toolexecdir
='$(exec_prefix)/$(target_alias)'
6725 toolexeclibdir
='$(toolexecdir)/lib'
6727 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
6728 toolexeclibdir
='$(libdir)'
6730 multi_os_directory
=`$CC -print-multi-os-directory`
6731 case $multi_os_directory in
6732 .
) ;; # Avoid trailing /.
6733 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
6740 includedir
=${toolexecdir}/include
6743 pthread_create_version
='""'
6744 if test "x$enable_shared" = "xyes" && test "x$posix_threads" != "x"; then
6745 # NB: don't check for -lpthread here, because then it would be
6746 # added to LIBS. For the thread-unaware libmudflap.la, we don't
6749 # glibc-related hacks. dlsym() may pick the wrong version of
6750 # interposed functions like pthread_create on modern glibc.
6751 # We need to find the proper symbol version string, and use
6752 # the nonstandard dlvsym().
6754 for ac_func
in dlvsym
6756 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6757 echo "$as_me:$LINENO: checking for $ac_func" >&5
6758 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6759 if eval "test \"\${$as_ac_var+set}\" = set"; then
6760 echo $ECHO_N "(cached) $ECHO_C" >&6
6762 cat >conftest.
$ac_ext <<_ACEOF
6765 cat confdefs.h
>>conftest.
$ac_ext
6766 cat >>conftest.
$ac_ext <<_ACEOF
6767 /* end confdefs.h. */
6768 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6769 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6770 #define $ac_func innocuous_$ac_func
6772 /* System header to define __stub macros and hopefully few prototypes,
6773 which can conflict with char $ac_func (); below.
6774 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6775 <limits.h> exists even on freestanding compilers. */
6778 # include <limits.h>
6780 # include <assert.h>
6785 /* Override any gcc2 internal prototype to avoid an error. */
6790 /* We use char because int might match the return type of a gcc2
6791 builtin and then its argument prototype would still apply. */
6793 /* The GNU C library defines this for functions which it implements
6794 to always fail with ENOSYS. Some functions are actually named
6795 something starting with __ and the normal name is an alias. */
6796 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6799 char (*f) () = $ac_func;
6808 return f != $ac_func;
6813 rm -f conftest.
$ac_objext conftest
$ac_exeext
6814 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6815 (eval $ac_link) 2>conftest.er1
6817 grep -v '^ *+' conftest.er1
>conftest.err
6819 cat conftest.err
>&5
6820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6821 (exit $ac_status); } &&
6822 { ac_try
='test -z "$ac_c_werror_flag"
6823 || test ! -s conftest.err'
6824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6828 (exit $ac_status); }; } &&
6829 { ac_try
='test -s conftest$ac_exeext'
6830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6834 (exit $ac_status); }; }; then
6835 eval "$as_ac_var=yes"
6837 echo "$as_me: failed program was:" >&5
6838 sed 's/^/| /' conftest.
$ac_ext >&5
6840 eval "$as_ac_var=no"
6842 rm -f conftest.err conftest.
$ac_objext \
6843 conftest
$ac_exeext conftest.
$ac_ext
6845 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6846 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6847 if test `eval echo '${'$as_ac_var'}'` = yes; then
6848 cat >>confdefs.h
<<_ACEOF
6849 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6855 if test -n "$ac_tool_prefix"; then
6856 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
6857 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
6858 echo "$as_me:$LINENO: checking for $ac_word" >&5
6859 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6860 if test "${ac_cv_prog_NM+set}" = set; then
6861 echo $ECHO_N "(cached) $ECHO_C" >&6
6863 if test -n "$NM"; then
6864 ac_cv_prog_NM
="$NM" # Let the user override the test.
6866 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6870 test -z "$as_dir" && as_dir
=.
6871 for ac_exec_ext
in '' $ac_executable_extensions; do
6872 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6873 ac_cv_prog_NM
="${ac_tool_prefix}nm"
6874 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6883 if test -n "$NM"; then
6884 echo "$as_me:$LINENO: result: $NM" >&5
6885 echo "${ECHO_T}$NM" >&6
6887 echo "$as_me:$LINENO: result: no" >&5
6888 echo "${ECHO_T}no" >&6
6892 if test -z "$ac_cv_prog_NM"; then
6894 # Extract the first word of "nm", so it can be a program name with args.
6895 set dummy nm
; ac_word
=$2
6896 echo "$as_me:$LINENO: checking for $ac_word" >&5
6897 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6898 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
6899 echo $ECHO_N "(cached) $ECHO_C" >&6
6901 if test -n "$ac_ct_NM"; then
6902 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
6904 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6908 test -z "$as_dir" && as_dir
=.
6909 for ac_exec_ext
in '' $ac_executable_extensions; do
6910 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6911 ac_cv_prog_ac_ct_NM
="nm"
6912 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6920 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
6921 if test -n "$ac_ct_NM"; then
6922 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
6923 echo "${ECHO_T}$ac_ct_NM" >&6
6925 echo "$as_me:$LINENO: result: no" >&5
6926 echo "${ECHO_T}no" >&6
6934 if test "x$ac_cv_have_dlvsym" != "x"; then
6935 # Try compiling a simple pthreads program. Find the shared libraries it
6936 # ends up with. Then use "nm" on those libraries to extract the
6937 # default symbol versioning suffix ("@@"), if any. But that's tricky.
6938 # Rather, run nm on the resulting executable. Unfortunately, autoconf
6939 # doesn't appear to have a macro that builds a test executable for
6940 # subsequent analysis ... so we do it by hand here.
6941 cat >> conftest.c
<< EOF
6942 #include <pthread.h>
6943 int main () { void *p = (void *) & pthread_create; return (int) p; }
6946 LIBS
="$LIBS -lpthread"
6947 pthread_create_version
="\"\""
6948 echo "$as_me:$LINENO: checking pthread_create symbol version" >&5
6949 echo $ECHO_N "checking pthread_create symbol version... $ECHO_C" >&6
6950 if eval $ac_link 2>&5 && test -s conftest
${ac_exeext}; then
6951 version
=`$NM conftest${ac_exeect} | grep 'pthread_create@@' | sed -e 's/^.*@@//'`
6952 if test "x$version" != "x"; then
6953 pthread_create_version
="\"$version\""
6956 echo "$as_me:$LINENO: result: $pthread_create_version" >&5
6957 echo "${ECHO_T}$pthread_create_version" >&6
6962 cat >>confdefs.h
<<_ACEOF
6963 #define PTHREAD_CREATE_VERSION $pthread_create_version
6968 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
6969 # similarly to how libstdc++ does it
6970 ac_test_CFLAGS
="${CFLAGS+set}"
6971 ac_save_CFLAGS
="$CFLAGS"
6973 # Check for -ffunction-sections -fdata-sections
6974 echo "$as_me:$LINENO: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
6975 echo $ECHO_N "checking for gcc that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
6976 CFLAGS
='-Werror -ffunction-sections -fdata-sections'
6977 cat >conftest.
$ac_ext <<_ACEOF
6980 cat confdefs.h
>>conftest.
$ac_ext
6981 cat >>conftest.
$ac_ext <<_ACEOF
6982 /* end confdefs.h. */
6992 rm -f conftest.
$ac_objext
6993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6994 (eval $ac_compile) 2>conftest.er1
6996 grep -v '^ *+' conftest.er1
>conftest.err
6998 cat conftest.err
>&5
6999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7000 (exit $ac_status); } &&
7001 { ac_try
='test -z "$ac_c_werror_flag"
7002 || test ! -s conftest.err'
7003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7007 (exit $ac_status); }; } &&
7008 { ac_try
='test -s conftest.$ac_objext'
7009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7013 (exit $ac_status); }; }; then
7016 echo "$as_me: failed program was:" >&5
7017 sed 's/^/| /' conftest.
$ac_ext >&5
7021 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7022 if test "$ac_test_CFLAGS" = set; then
7023 CFLAGS
="$ac_save_CFLAGS"
7025 # this is the suspicious part
7028 if test x
"$ac_fdsections" = x
"yes"; then
7029 SECTION_FLAGS
='-ffunction-sections -fdata-sections'
7031 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
7032 echo "${ECHO_T}$ac_fdsections" >&6
7036 # Check for the name of the symbol used for the entry point.
7037 echo "$as_me:$LINENO: checking for the name of the symbol used for the entry point" >&5
7038 echo $ECHO_N "checking for the name of the symbol used for the entry point... $ECHO_C" >&6
7039 if test "${mudflap_cv_entry_point+set}" = set; then
7040 echo $ECHO_N "(cached) $ECHO_C" >&6
7043 for name
in _start __start unknown
; do
7044 cat >conftest.
$ac_ext <<_ACEOF
7047 cat confdefs.h
>>conftest.
$ac_ext
7048 cat >>conftest.
$ac_ext <<_ACEOF
7049 /* end confdefs.h. */
7050 extern char $name[];
7059 rm -f conftest.
$ac_objext conftest
$ac_exeext
7060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7061 (eval $ac_link) 2>conftest.er1
7063 grep -v '^ *+' conftest.er1
>conftest.err
7065 cat conftest.err
>&5
7066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7067 (exit $ac_status); } &&
7068 { ac_try
='test -z "$ac_c_werror_flag"
7069 || test ! -s conftest.err'
7070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7074 (exit $ac_status); }; } &&
7075 { ac_try
='test -s conftest$ac_exeext'
7076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7080 (exit $ac_status); }; }; then
7083 echo "$as_me: failed program was:" >&5
7084 sed 's/^/| /' conftest.
$ac_ext >&5
7087 rm -f conftest.err conftest.
$ac_objext \
7088 conftest
$ac_exeext conftest.
$ac_ext
7090 mudflap_cv_entry_point
="$name"
7092 echo "$as_me:$LINENO: result: $mudflap_cv_entry_point" >&5
7093 echo "${ECHO_T}$mudflap_cv_entry_point" >&6
7094 if test "$mudflap_cv_entry_point" = unknown
; then
7095 { { echo "$as_me:$LINENO: error: none of the known symbol names works" >&5
7096 echo "$as_me: error: none of the known symbol names works" >&2;}
7097 { (exit 1); exit 1; }; }
7100 cat >>confdefs.h
<<_ACEOF
7101 #define ENTRY_POINT $mudflap_cv_entry_point
7106 if test ${multilib} = yes; then
7107 multilib_arg
="--enable-multilib"
7112 # See if we support thread-local storage.
7114 # Check whether --enable-tls or --disable-tls was given.
7115 if test "${enable_tls+set}" = set; then
7116 enableval
="$enable_tls"
7118 case "$enableval" in
7120 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
7121 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
7122 { (exit 1); exit 1; }; } ;;
7129 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
7130 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
7131 if test "${have_tls+set}" = set; then
7132 echo $ECHO_N "(cached) $ECHO_C" >&6
7135 if test "$cross_compiling" = yes; then
7136 cat >conftest.
$ac_ext <<_ACEOF
7137 __thread int a; int b; int main() { return a = b; }
7139 rm -f conftest.
$ac_objext conftest
$ac_exeext
7140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7141 (eval $ac_link) 2>conftest.er1
7143 grep -v '^ *+' conftest.er1
>conftest.err
7145 cat conftest.err
>&5
7146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7147 (exit $ac_status); } &&
7148 { ac_try
='test -z "$ac_c_werror_flag"
7149 || test ! -s conftest.err'
7150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7154 (exit $ac_status); }; } &&
7155 { ac_try
='test -s conftest$ac_exeext'
7156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7160 (exit $ac_status); }; }; then
7163 echo "$as_me: failed program was:" >&5
7164 sed 's/^/| /' conftest.
$ac_ext >&5
7168 rm -f conftest.err conftest.
$ac_objext \
7169 conftest
$ac_exeext conftest.
$ac_ext
7172 cat >conftest.
$ac_ext <<_ACEOF
7173 __thread int a; int b; int main() { return a = b; }
7175 rm -f conftest
$ac_exeext
7176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7177 (eval $ac_link) 2>&5
7179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7180 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7185 (exit $ac_status); }; }; then
7186 save_LDFLAGS
="$LDFLAGS"
7187 LDFLAGS
="-static $LDFLAGS"
7188 cat >conftest.
$ac_ext <<_ACEOF
7189 int main() { return 0; }
7191 rm -f conftest.
$ac_objext conftest
$ac_exeext
7192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7193 (eval $ac_link) 2>conftest.er1
7195 grep -v '^ *+' conftest.er1
>conftest.err
7197 cat conftest.err
>&5
7198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7199 (exit $ac_status); } &&
7200 { ac_try
='test -z "$ac_c_werror_flag"
7201 || test ! -s conftest.err'
7202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7206 (exit $ac_status); }; } &&
7207 { ac_try
='test -s conftest$ac_exeext'
7208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7212 (exit $ac_status); }; }; then
7213 if test "$cross_compiling" = yes; then
7214 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
7215 See \`config.log' for more details." >&5
7216 echo "$as_me: error: cannot run test program while cross compiling
7217 See \`config.log' for more details." >&2;}
7218 { (exit 1); exit 1; }; }
7220 cat >conftest.
$ac_ext <<_ACEOF
7221 __thread int a; int b; int main() { return a = b; }
7223 rm -f conftest
$ac_exeext
7224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7225 (eval $ac_link) 2>&5
7227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7228 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7233 (exit $ac_status); }; }; then
7236 echo "$as_me: program exited with status $ac_status" >&5
7237 echo "$as_me: failed program was:" >&5
7238 sed 's/^/| /' conftest.
$ac_ext >&5
7243 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7246 echo "$as_me: failed program was:" >&5
7247 sed 's/^/| /' conftest.
$ac_ext >&5
7251 rm -f conftest.err conftest.
$ac_objext \
7252 conftest
$ac_exeext conftest.
$ac_ext
7253 LDFLAGS
="$save_LDFLAGS"
7255 echo "$as_me: program exited with status $ac_status" >&5
7256 echo "$as_me: failed program was:" >&5
7257 sed 's/^/| /' conftest.
$ac_ext >&5
7262 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7265 echo "$as_me:$LINENO: result: $have_tls" >&5
7266 echo "${ECHO_T}$have_tls" >&6
7267 if test "$enable_tls $have_tls" = "yes yes"; then
7269 cat >>confdefs.h
<<\_ACEOF
7275 ac_config_files
="$ac_config_files Makefile testsuite/Makefile testsuite/mfconfig.exp"
7277 cat >confcache
<<\_ACEOF
7278 # This file is a shell script that caches the results of configure
7279 # tests run on this system so they can be shared between configure
7280 # scripts and configure runs, see configure's option --config-cache.
7281 # It is not useful on other systems. If it contains results you don't
7282 # want to keep, you may remove or edit it.
7284 # config.status only pays attention to the cache file if you give it
7285 # the --recheck option to rerun configure.
7287 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7288 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7293 # The following way of writing the cache mishandles newlines in values,
7294 # but we know of no workaround that is simple, portable, and efficient.
7295 # So, don't put newlines in cache variables' values.
7296 # Ultrix sh set writes to stderr and can't be redirected directly,
7297 # and sets the high bit in the cache file unless we assign to the vars.
7300 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7302 # `set' does not quote correctly, so add quotes (double-quote
7303 # substitution turns \\\\ into \\, and sed turns \\ into \).
7306 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7309 # `set' quotes correctly as required by POSIX, so do not add quotes.
7311 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
7318 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7320 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7322 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
7323 if test -w $cache_file; then
7324 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
7325 cat confcache
>$cache_file
7327 echo "not updating unwritable cache $cache_file"
7332 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7333 # Let make expand exec_prefix.
7334 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7336 # VPATH may cause trouble with some makes, so we remove $(srcdir),
7337 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7338 # trailing colons and then remove the whole line if VPATH becomes empty
7339 # (actually we leave an empty line to preserve line numbers).
7340 if test "x$srcdir" = x.
; then
7341 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
7342 s/:*\$(srcdir):*/:/;
7343 s/:*\${srcdir}:*/:/;
7345 s/^\([^=]*=[ ]*\):*/\1/;
7351 DEFS
=-DHAVE_CONFIG_H
7355 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
7356 # 1. Remove the extension, and $U if already installed.
7357 ac_i
=`echo "$ac_i" |
7358 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
7360 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
7361 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
7365 LTLIBOBJS
=$ac_ltlibobjs
7368 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
7369 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
7370 Usually this means the macro was only invoked conditionally." >&5
7371 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
7372 Usually this means the macro was only invoked conditionally." >&2;}
7373 { (exit 1); exit 1; }; }
7375 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7376 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
7377 Usually this means the macro was only invoked conditionally." >&5
7378 echo "$as_me: error: conditional \"AMDEP\" was never defined.
7379 Usually this means the macro was only invoked conditionally." >&2;}
7380 { (exit 1); exit 1; }; }
7382 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7383 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
7384 Usually this means the macro was only invoked conditionally." >&5
7385 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
7386 Usually this means the macro was only invoked conditionally." >&2;}
7387 { (exit 1); exit 1; }; }
7389 if test -z "${LIBMUDFLAPTH_TRUE}" && test -z "${LIBMUDFLAPTH_FALSE}"; then
7390 { { echo "$as_me:$LINENO: error: conditional \"LIBMUDFLAPTH\" was never defined.
7391 Usually this means the macro was only invoked conditionally." >&5
7392 echo "$as_me: error: conditional \"LIBMUDFLAPTH\" was never defined.
7393 Usually this means the macro was only invoked conditionally." >&2;}
7394 { (exit 1); exit 1; }; }
7397 : ${CONFIG_STATUS=./config.status}
7398 ac_clean_files_save
=$ac_clean_files
7399 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
7400 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
7401 echo "$as_me: creating $CONFIG_STATUS" >&6;}
7402 cat >$CONFIG_STATUS <<_ACEOF
7404 # Generated by $as_me.
7405 # Run this file to recreate the current configuration.
7406 # Compiler output produced by configure, useful for debugging
7407 # configure, is in config.log if it exists.
7412 SHELL=\${CONFIG_SHELL-$SHELL}
7415 cat >>$CONFIG_STATUS <<\_ACEOF
7416 ## --------------------- ##
7417 ## M4sh Initialization. ##
7418 ## --------------------- ##
7420 # Be Bourne compatible
7421 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
7424 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
7425 # is contrary to our usage. Disable this feature.
7426 alias -g '${1+"$@"}'='"$@"'
7427 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
7430 DUALCASE
=1; export DUALCASE
# for MKS sh
7432 # Support unset when possible.
7433 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
7440 # Work around bugs in pre-3.0 UWIN ksh.
7441 $as_unset ENV MAIL MAILPATH
7448 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
7449 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
7450 LC_TELEPHONE LC_TIME
7452 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
7453 eval $as_var=C
; export $as_var
7459 # Required to use basename.
7460 if expr a
: '\(a\)' >/dev
/null
2>&1; then
7466 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
7467 as_basename
=basename
7473 # Name of the executable.
7474 as_me
=`$as_basename "$0" ||
7475 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7476 X"$0" : 'X\(//\)$' \| \
7477 X"$0" : 'X\(/\)$' \| \
7478 . : '\(.\)' 2>/dev/null ||
7480 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
7481 /^X\/\(\/\/\)$/{ s//\1/; q; }
7482 /^X\/\(\/\).*/{ s//\1/; q; }
7486 # PATH needs CR, and LINENO needs CR and PATH.
7487 # Avoid depending upon Character Ranges.
7488 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7489 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7490 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7491 as_cr_digits
='0123456789'
7492 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7494 # The user is always right.
7495 if test "${PATH_SEPARATOR+set}" != set; then
7496 echo "#! /bin/sh" >conf$$.sh
7497 echo "exit 0" >>conf$$.sh
7499 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
7510 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
7511 test "x$as_lineno_1" != "x$as_lineno_2" &&
7512 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
7513 # Find who we are. Look in the path if we contain no path at all
7516 *[\\/]* ) as_myself
=$0 ;;
7517 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7521 test -z "$as_dir" && as_dir
=.
7522 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
7527 # We did not find ourselves, most probably we were run as `sh COMMAND'
7528 # in which case we are not to be found in the path.
7529 if test "x$as_myself" = x
; then
7532 if test ! -f "$as_myself"; then
7533 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
7534 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
7535 { (exit 1); exit 1; }; }
7537 case $CONFIG_SHELL in
7539 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7540 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
7543 test -z "$as_dir" && as_dir
=.
7544 for as_base
in sh bash ksh sh5
; do
7547 if ("$as_dir/$as_base" -c '
7550 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7551 test "x$as_lineno_1" != "x$as_lineno_2" &&
7552 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
7553 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
7554 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
7555 CONFIG_SHELL
=$as_dir/$as_base
7557 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
7565 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7566 # uniformly replaced by the line number. The first 'sed' inserts a
7567 # line-number line before each line; the second 'sed' does the real
7568 # work. The second script uses 'N' to pair each line-number line
7569 # with the numbered line, and appends trailing '-' during
7570 # substitution so that $LINENO is not a special case at line end.
7571 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7572 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
7573 sed '=' <$as_myself |
7578 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
7581 s,^['$as_cr_digits']*\n,,
7583 chmod +x
$as_me.lineno ||
7584 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
7585 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
7586 { (exit 1); exit 1; }; }
7588 # Don't try to exec as it changes $[0], causing all sort of problems
7589 # (the dirname of $[0] is not the place where we might find the
7590 # original and so on. Autoconf is especially sensible to this).
7592 # Exit status is that of the last command.
7597 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
7598 *c
*,-n*) ECHO_N
= ECHO_C
='
7600 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
7601 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
7604 if expr a
: '\(a\)' >/dev
/null
2>&1; then
7610 rm -f conf$$ conf$$.exe conf$$.
file
7612 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7613 # We could just check for DJGPP; but this test a) works b) is more generic
7614 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
7615 if test -f conf$$.exe
; then
7616 # Don't use ln at all; we don't have any links
7621 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7626 rm -f conf$$ conf$$.exe conf$$.
file
7628 if mkdir
-p .
2>/dev
/null
; then
7631 test -d .
/-p && rmdir .
/-p
7635 as_executable_p
="test -f"
7637 # Sed expression to map a string onto a valid CPP name.
7638 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7640 # Sed expression to map a string onto a valid variable name.
7641 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7645 # We need space, tab and new line, in precisely that order.
7655 # Open the log real soon, to keep \$[0] and so on meaningful, and to
7656 # report actual input values of CONFIG_FILES etc. instead of their
7657 # values after options handling. Logging --version etc. is OK.
7661 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7662 ## Running $as_me. ##
7667 This file was extended by libmudflap $as_me 1.0, which was
7668 generated by GNU Autoconf 2.59. Invocation command line was
7670 CONFIG_FILES = $CONFIG_FILES
7671 CONFIG_HEADERS = $CONFIG_HEADERS
7672 CONFIG_LINKS = $CONFIG_LINKS
7673 CONFIG_COMMANDS = $CONFIG_COMMANDS
7677 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
7681 # Files that config.status was made for.
7682 if test -n "$ac_config_files"; then
7683 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
7686 if test -n "$ac_config_headers"; then
7687 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
7690 if test -n "$ac_config_links"; then
7691 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
7694 if test -n "$ac_config_commands"; then
7695 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
7698 cat >>$CONFIG_STATUS <<\_ACEOF
7701 \`$as_me' instantiates files from templates according to the
7702 current configuration.
7704 Usage: $0 [OPTIONS] [FILE]...
7706 -h, --help print this help, then exit
7707 -V, --version print version number, then exit
7708 -q, --quiet do not print progress messages
7709 -d, --debug don't remove temporary files
7710 --recheck update $as_me by reconfiguring in the same conditions
7711 --file=FILE[:TEMPLATE]
7712 instantiate the configuration file FILE
7713 --header=FILE[:TEMPLATE]
7714 instantiate the configuration header FILE
7716 Configuration files:
7719 Configuration headers:
7722 Configuration commands:
7725 Report bugs to <bug-autoconf@gnu.org>."
7728 cat >>$CONFIG_STATUS <<_ACEOF
7730 libmudflap config.status 1.0
7731 configured by $0, generated by GNU Autoconf 2.59,
7732 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
7734 Copyright (C) 2003 Free Software Foundation, Inc.
7735 This config.status script is free software; the Free Software Foundation
7736 gives unlimited permission to copy, distribute and modify it."
7741 cat >>$CONFIG_STATUS <<\_ACEOF
7742 # If no file are specified by the user, then we need to provide default
7743 # value. By we need to know if files were specified by the user.
7749 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
7750 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
7758 *) # This is not an option, so the user has probably given explicit
7761 ac_need_defaults
=false
;;
7765 # Handling of the options.
7767 cat >>$CONFIG_STATUS <<\_ACEOF
7768 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7770 --version |
--vers* |
-V )
7771 echo "$ac_cs_version"; exit 0 ;;
7773 # Conflict between --help and --header
7774 { { echo "$as_me:$LINENO: error: ambiguous option: $1
7775 Try \`$0 --help' for more information." >&5
7776 echo "$as_me: error: ambiguous option: $1
7777 Try \`$0 --help' for more information." >&2;}
7778 { (exit 1); exit 1; }; };;
7779 --help |
--hel |
-h )
7780 echo "$ac_cs_usage"; exit 0 ;;
7781 --debug |
--d* |
-d )
7783 --file |
--fil |
--fi |
--f )
7785 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
7786 ac_need_defaults
=false
;;
7787 --header |
--heade |
--head |
--hea )
7789 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
7790 ac_need_defaults
=false
;;
7791 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7792 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7796 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
7797 Try \`$0 --help' for more information." >&5
7798 echo "$as_me: error: unrecognized option: $1
7799 Try \`$0 --help' for more information." >&2;}
7800 { (exit 1); exit 1; }; } ;;
7802 *) ac_config_targets
="$ac_config_targets $1" ;;
7808 ac_configure_extra_args
=
7810 if $ac_cs_silent; then
7812 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7816 cat >>$CONFIG_STATUS <<_ACEOF
7817 if \$ac_cs_recheck; then
7818 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7819 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7824 cat >>$CONFIG_STATUS <<_ACEOF
7826 # INIT-COMMANDS section.
7833 with_multisubdir="$with_multisubdir"
7834 with_multisrctop="$with_multisrctop"
7835 with_target_subdir="$with_target_subdir"
7836 ac_configure_args="${multilib_arg} ${ac_configure_args}"
7837 multi_basedir="$multi_basedir"
7838 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
7840 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7846 cat >>$CONFIG_STATUS <<\_ACEOF
7847 for ac_config_target
in $ac_config_targets
7849 case "$ac_config_target" in
7850 # Handling of arguments.
7851 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7852 "testsuite/Makefile" ) CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
7853 "testsuite/mfconfig.exp" ) CONFIG_FILES
="$CONFIG_FILES testsuite/mfconfig.exp" ;;
7854 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
7855 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
7856 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
7857 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7858 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7859 { (exit 1); exit 1; }; };;
7863 # If the user did not use the arguments to specify the items to instantiate,
7864 # then the envvar interface is used. Set only those that are not.
7865 # We use the long form for the default assignment because of an extremely
7866 # bizarre bug on SunOS 4.1.3.
7867 if $ac_need_defaults; then
7868 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7869 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7870 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
7873 # Have a temporary directory for convenience. Make it in the build tree
7874 # simply because there is no reason to put it here, and in addition,
7875 # creating and moving files from /tmp can sometimes cause problems.
7876 # Create a temporary directory, and hook for its removal unless debugging.
7879 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
7880 trap '{ (exit 1); exit 1; }' 1 2 13 15
7883 # Create a (secure) tmp directory for tmp files.
7886 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
7887 test -n "$tmp" && test -d "$tmp"
7890 tmp
=.
/confstat$$
-$RANDOM
7891 (umask 077 && mkdir
$tmp)
7894 echo "$me: cannot create a temporary directory in ." >&2
7895 { (exit 1); exit 1; }
7900 cat >>$CONFIG_STATUS <<_ACEOF
7903 # CONFIG_FILES section.
7906 # No need to generate the scripts if there are no CONFIG_FILES.
7907 # This happens for instance when ./config.status config.h
7908 if test -n "\$CONFIG_FILES"; then
7909 # Protect against being on the right side of a sed subst in config.status.
7910 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
7911 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
7912 s,@SHELL@,$SHELL,;t t
7913 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
7914 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
7915 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
7916 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
7917 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
7918 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
7919 s,@exec_prefix@,$exec_prefix,;t t
7920 s,@prefix@,$prefix,;t t
7921 s,@program_transform_name@,$program_transform_name,;t t
7922 s,@bindir@,$bindir,;t t
7923 s,@sbindir@,$sbindir,;t t
7924 s,@libexecdir@,$libexecdir,;t t
7925 s,@datadir@,$datadir,;t t
7926 s,@sysconfdir@,$sysconfdir,;t t
7927 s,@sharedstatedir@,$sharedstatedir,;t t
7928 s,@localstatedir@,$localstatedir,;t t
7929 s,@libdir@,$libdir,;t t
7930 s,@includedir@,$includedir,;t t
7931 s,@oldincludedir@,$oldincludedir,;t t
7932 s,@infodir@,$infodir,;t t
7933 s,@mandir@,$mandir,;t t
7934 s,@build_alias@,$build_alias,;t t
7935 s,@host_alias@,$host_alias,;t t
7936 s,@target_alias@,$target_alias,;t t
7938 s,@ECHO_C@,$ECHO_C,;t t
7939 s,@ECHO_N@,$ECHO_N,;t t
7940 s,@ECHO_T@,$ECHO_T,;t t
7942 s,@build@,$build,;t t
7943 s,@build_cpu@,$build_cpu,;t t
7944 s,@build_vendor@,$build_vendor,;t t
7945 s,@build_os@,$build_os,;t t
7947 s,@host_cpu@,$host_cpu,;t t
7948 s,@host_vendor@,$host_vendor,;t t
7949 s,@host_os@,$host_os,;t t
7950 s,@target@,$target,;t t
7951 s,@target_cpu@,$target_cpu,;t t
7952 s,@target_vendor@,$target_vendor,;t t
7953 s,@target_os@,$target_os,;t t
7954 s,@target_noncanonical@,$target_noncanonical,;t t
7955 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
7956 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
7957 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
7958 s,@CYGPATH_W@,$CYGPATH_W,;t t
7959 s,@PACKAGE@,$PACKAGE,;t t
7960 s,@VERSION@,$VERSION,;t t
7961 s,@ACLOCAL@,$ACLOCAL,;t t
7962 s,@AUTOCONF@,$AUTOCONF,;t t
7963 s,@AUTOMAKE@,$AUTOMAKE,;t t
7964 s,@AUTOHEADER@,$AUTOHEADER,;t t
7965 s,@MAKEINFO@,$MAKEINFO,;t t
7966 s,@install_sh@,$install_sh,;t t
7967 s,@STRIP@,$STRIP,;t t
7968 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
7969 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
7970 s,@mkdir_p@,$mkdir_p,;t t
7972 s,@SET_MAKE@,$SET_MAKE,;t t
7973 s,@am__leading_dot@,$am__leading_dot,;t t
7974 s,@AMTAR@,$AMTAR,;t t
7975 s,@am__tar@,$am__tar,;t t
7976 s,@am__untar@,$am__untar,;t t
7977 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
7978 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
7979 s,@MAINT@,$MAINT,;t t
7980 s,@multi_basedir@,$multi_basedir,;t t
7982 s,@ac_ct_CC@,$ac_ct_CC,;t t
7983 s,@EXEEXT@,$EXEEXT,;t t
7984 s,@OBJEXT@,$OBJEXT,;t t
7985 s,@DEPDIR@,$DEPDIR,;t t
7986 s,@am__include@,$am__include,;t t
7987 s,@am__quote@,$am__quote,;t t
7988 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
7989 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
7990 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
7991 s,@CCDEPMODE@,$CCDEPMODE,;t t
7992 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
7993 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
7994 s,@CFLAGS@,$CFLAGS,;t t
7996 s,@CPPFLAGS@,$CPPFLAGS,;t t
7997 s,@EGREP@,$EGREP,;t t
7999 s,@RANLIB@,$RANLIB,;t t
8000 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
8001 s,@LIBTOOL@,$LIBTOOL,;t t
8002 s,@enable_shared@,$enable_shared,;t t
8003 s,@enable_static@,$enable_static,;t t
8004 s,@MF_HAVE_STDINT_H@,$MF_HAVE_STDINT_H,;t t
8005 s,@MF_HAVE_UINTPTR_T@,$MF_HAVE_UINTPTR_T,;t t
8006 s,@LIBMUDFLAPTH_TRUE@,$LIBMUDFLAPTH_TRUE,;t t
8007 s,@LIBMUDFLAPTH_FALSE@,$LIBMUDFLAPTH_FALSE,;t t
8008 s,@build_libmudflapth@,$build_libmudflapth,;t t
8009 s,@toolexecdir@,$toolexecdir,;t t
8010 s,@toolexeclibdir@,$toolexeclibdir,;t t
8012 s,@ac_ct_NM@,$ac_ct_NM,;t t
8013 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
8014 s,@LIBOBJS@,$LIBOBJS,;t t
8015 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
8020 cat >>$CONFIG_STATUS <<\_ACEOF
8021 # Split the substitutions into bite-sized pieces for seds with
8022 # small command number limits, like on Digital OSF/1 and HP-UX.
8024 ac_sed_frag
=1 # Number of current file.
8025 ac_beg
=1 # First line for current file.
8026 ac_end
=$ac_max_sed_lines # Line after last line for current file.
8029 while $ac_more_lines; do
8030 if test $ac_beg -gt 1; then
8031 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
8033 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
8035 if test ! -s $tmp/subs.frag
; then
8038 # The purpose of the label and of the branching condition is to
8039 # speed up the sed processing (if there are no `@' at all, there
8040 # is no need to browse any of the substitutions).
8041 # These are the two extra sed commands mentioned above.
8043 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
8044 if test -z "$ac_sed_cmds"; then
8045 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
8047 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
8049 ac_sed_frag
=`expr $ac_sed_frag + 1`
8051 ac_end
=`expr $ac_end + $ac_max_sed_lines`
8054 if test -z "$ac_sed_cmds"; then
8057 fi # test -n "$CONFIG_FILES"
8060 cat >>$CONFIG_STATUS <<\_ACEOF
8061 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
8062 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8064 - |
*:- |
*:-:* ) # input from stdin
8066 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8067 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8068 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8069 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8070 * ) ac_file_in
=$ac_file.
in ;;
8073 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
8074 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
8075 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8076 X"$ac_file" : 'X\(//\)[^/]' \| \
8077 X"$ac_file" : 'X\(//\)$' \| \
8078 X"$ac_file" : 'X\(/\)' \| \
8079 . : '\(.\)' 2>/dev/null ||
8081 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8082 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8083 /^X\(\/\/\)$/{ s//\1/; q; }
8084 /^X\(\/\).*/{ s//\1/; q; }
8086 { if $as_mkdir_p; then
8091 while test ! -d "$as_dir"; do
8092 as_dirs
="$as_dir $as_dirs"
8093 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8094 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8095 X"$as_dir" : 'X\(//\)[^/]' \| \
8096 X"$as_dir" : 'X\(//\)$' \| \
8097 X"$as_dir" : 'X\(/\)' \| \
8098 . : '\(.\)' 2>/dev/null ||
8100 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8101 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8102 /^X\(\/\/\)$/{ s//\1/; q; }
8103 /^X\(\/\).*/{ s//\1/; q; }
8106 test ! -n "$as_dirs" || mkdir
$as_dirs
8107 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8108 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8109 { (exit 1); exit 1; }; }; }
8113 if test "$ac_dir" != .
; then
8114 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8115 # A "../" for each directory in $ac_dir_suffix.
8116 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8118 ac_dir_suffix
= ac_top_builddir
=
8122 .
) # No --srcdir option. We are building in place.
8124 if test -z "$ac_top_builddir"; then
8127 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
8129 [\\/]* | ?
:[\\/]* ) # Absolute path.
8130 ac_srcdir
=$srcdir$ac_dir_suffix;
8131 ac_top_srcdir
=$srcdir ;;
8133 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
8134 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
8137 # Do not use `cd foo && pwd` to compute absolute paths, because
8138 # the directories may not exist.
8140 .
) ac_abs_builddir
="$ac_dir";;
8143 .
) ac_abs_builddir
=`pwd`;;
8144 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
8145 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
8148 case $ac_abs_builddir in
8149 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8151 case ${ac_top_builddir}.
in
8152 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
8153 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8154 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
8157 case $ac_abs_builddir in
8158 .
) ac_abs_srcdir
=$ac_srcdir;;
8161 .
) ac_abs_srcdir
=$ac_abs_builddir;;
8162 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
8163 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
8166 case $ac_abs_builddir in
8167 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
8169 case $ac_top_srcdir in
8170 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
8171 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
8172 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
8178 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
8179 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
8182 if test x
"$ac_file" != x-
; then
8183 { echo "$as_me:$LINENO: creating $ac_file" >&5
8184 echo "$as_me: creating $ac_file" >&6;}
8187 # Let's still pretend it is `configure' which instantiates (i.e., don't
8188 # use $as_me), people would be surprised to read:
8189 # /* config.h. Generated by config.status. */
8190 if test x
"$ac_file" = x-
; then
8193 configure_input
="$ac_file. "
8195 configure_input
=$configure_input"Generated from `echo $ac_file_in |
8196 sed 's,.*/,,'` by configure."
8198 # First look for the input files in the build tree, otherwise in the
8200 ac_file_inputs
=`IFS=:
8201 for f in $ac_file_in; do
8203 -) echo $tmp/stdin ;;
8205 # Absolute (can't be DOS-style, as IFS=:)
8206 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8207 echo "$as_me: error: cannot find input file: $f" >&2;}
8208 { (exit 1); exit 1; }; }
8211 if test -f "$f"; then
8214 elif test -f "$srcdir/$f"; then
8219 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8220 echo "$as_me: error: cannot find input file: $f" >&2;}
8221 { (exit 1); exit 1; }; }
8224 done` ||
{ (exit 1); exit 1; }
8226 cat >>$CONFIG_STATUS <<_ACEOF
8230 cat >>$CONFIG_STATUS <<\_ACEOF
8232 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
8233 s
,@configure_input@
,$configure_input,;t t
8234 s
,@srcdir@
,$ac_srcdir,;t t
8235 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
8236 s
,@top_srcdir@
,$ac_top_srcdir,;t t
8237 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
8238 s
,@builddir@
,$ac_builddir,;t t
8239 s
,@abs_builddir@
,$ac_abs_builddir,;t t
8240 s
,@top_builddir@
,$ac_top_builddir,;t t
8241 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
8242 s
,@INSTALL@
,$ac_INSTALL,;t t
8243 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
8245 if test x"$ac_file" != x-; then
8246 mv $tmp/out $ac_file
8254 cat >>$CONFIG_STATUS <<\_ACEOF
8257 # CONFIG_HEADER section.
8260 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
8261 # NAME is the cpp macro being defined and VALUE is the value it is being given.
8263 # ac_d sets the value in "#define NAME VALUE" lines.
8264 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
8265 ac_dB
='[ ].*$,\1#\2'
8268 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
8269 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
8270 ac_uB
='$,\1#\2define\3'
8274 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
8275 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8277 - |
*:- |
*:-:* ) # input from stdin
8279 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8280 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8281 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8282 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8283 * ) ac_file_in
=$ac_file.
in ;;
8286 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
8287 echo "$as_me: creating $ac_file" >&6;}
8289 # First look for the input files in the build tree, otherwise in the
8291 ac_file_inputs
=`IFS=:
8292 for f in $ac_file_in; do
8294 -) echo $tmp/stdin ;;
8296 # Absolute (can't be DOS-style, as IFS=:)
8297 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8298 echo "$as_me: error: cannot find input file: $f" >&2;}
8299 { (exit 1); exit 1; }; }
8300 # Do quote $f, to prevent DOS paths from being IFS'd.
8303 if test -f "$f"; then
8306 elif test -f "$srcdir/$f"; then
8311 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8312 echo "$as_me: error: cannot find input file: $f" >&2;}
8313 { (exit 1); exit 1; }; }
8316 done` ||
{ (exit 1); exit 1; }
8317 # Remove the trailing spaces.
8318 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
8322 # Transform confdefs.h into two sed scripts, `conftest.defines' and
8323 # `conftest.undefs', that substitutes the proper values into
8324 # config.h.in to produce config.h. The first handles `#define'
8325 # templates, and the second `#undef' templates.
8326 # And first: Protect against being on the right side of a sed subst in
8327 # config.status. Protect against being in an unquoted here document
8329 rm -f conftest.defines conftest.undefs
8330 # Using a here document instead of a string reduces the quoting nightmare.
8331 # Putting comments in sed scripts is not portable.
8333 # `end' is used to avoid that the second main sed command (meant for
8334 # 0-ary CPP macros) applies to n-ary macro definitions.
8335 # See the Autoconf documentation for `clear'.
8336 cat >confdef2sed.
sed <<\_ACEOF
8341 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
8343 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
8346 # If some macros were called several times there might be several times
8347 # the same #defines, which is useless. Nevertheless, we may not want to
8348 # sort them, since we want the *last* AC-DEFINE to be honored.
8349 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
8350 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
8351 rm -f confdef2sed.sed
8353 # This sed command replaces #undef with comments. This is necessary, for
8354 # example, in the case of _POSIX_SOURCE, which is predefined and required
8355 # on some systems where configure will not decide to define it.
8356 cat >>conftest.undefs <<\_ACEOF
8357 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
8360 # Break up conftest.defines because some shells have a limit on the size
8361 # of here documents, and old seds have small limits too (100 cmds).
8362 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
8363 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
8364 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
8365 echo ' :' >>$CONFIG_STATUS
8367 while grep . conftest.defines >/dev/null
8369 # Write a limited-size here document to $tmp/defines.sed.
8370 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
8371 # Speed up: don't consider the non `#define' lines.
8372 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
8373 # Work around the forget-to-reset-the-flag bug.
8374 echo 't clr' >>$CONFIG_STATUS
8375 echo ': clr' >>$CONFIG_STATUS
8376 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
8378 sed -f $tmp/defines.sed $tmp/in >$tmp/out
8382 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
8383 rm -f conftest.defines
8384 mv conftest.
tail conftest.defines
8386 rm -f conftest.defines
8387 echo ' fi # grep' >>$CONFIG_STATUS
8388 echo >>$CONFIG_STATUS
8390 # Break up conftest.undefs because some shells have a limit on the size
8391 # of here documents, and old seds have small limits too (100 cmds).
8392 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
8394 while grep . conftest.undefs
>/dev
/null
8396 # Write a limited-size here document to $tmp/undefs.sed.
8397 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
8398 # Speed up: don't consider the non
`#undef'
8399 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
8400 # Work around the forget-to-reset-the-flag bug.
8401 echo 't clr' >>$CONFIG_STATUS
8402 echo ': clr' >>$CONFIG_STATUS
8403 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
8405 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
8409 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
8410 rm -f conftest.undefs
8411 mv conftest.tail conftest.undefs
8413 rm -f conftest.undefs
8415 cat >>$CONFIG_STATUS <<\_ACEOF
8416 # Let's still pretend it is `configure
' which instantiates (i.e., don't
8417 # use $as_me), people would be surprised to read:
8418 # /* config.h. Generated by config.status. */
8419 if test x
"$ac_file" = x-
; then
8420 echo "/* Generated by configure. */" >$tmp/config.h
8422 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
8424 cat $tmp/in >>$tmp/config.h
8426 if test x
"$ac_file" != x-
; then
8427 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
8428 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
8429 echo "$as_me: $ac_file is unchanged" >&6;}
8431 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
8432 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8433 X"$ac_file" : 'X\(//\)[^/]' \| \
8434 X"$ac_file" : 'X\(//\)$' \| \
8435 X"$ac_file" : 'X\(/\)' \| \
8436 . : '\(.\)' 2>/dev/null ||
8438 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8439 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8440 /^X\(\/\/\)$/{ s//\1/; q; }
8441 /^X\(\/\).*/{ s//\1/; q; }
8443 { if $as_mkdir_p; then
8448 while test ! -d "$as_dir"; do
8449 as_dirs
="$as_dir $as_dirs"
8450 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8451 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8452 X"$as_dir" : 'X\(//\)[^/]' \| \
8453 X"$as_dir" : 'X\(//\)$' \| \
8454 X"$as_dir" : 'X\(/\)' \| \
8455 . : '\(.\)' 2>/dev/null ||
8457 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8458 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8459 /^X\(\/\/\)$/{ s//\1/; q; }
8460 /^X\(\/\).*/{ s//\1/; q; }
8463 test ! -n "$as_dirs" || mkdir
$as_dirs
8464 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8465 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8466 { (exit 1); exit 1; }; }; }
8469 mv $tmp/config.h
$ac_file
8475 # Compute $ac_file's index in $config_headers.
8477 for _am_header
in $config_headers :; do
8479 $ac_file |
$ac_file:* )
8482 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
8485 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
8486 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8487 X$ac_file : 'X\(//\)[^/]' \| \
8488 X$ac_file : 'X\(//\)$' \| \
8489 X$ac_file : 'X\(/\)' \| \
8490 . : '\(.\)' 2>/dev/null ||
8492 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8493 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8494 /^X\(\/\/\)$/{ s//\1/; q; }
8495 /^X\(\/\).*/{ s//\1/; q; }
8496 s/.*/./; q'`/stamp-h
$_am_stamp_count
8499 cat >>$CONFIG_STATUS <<\_ACEOF
8502 # CONFIG_COMMANDS section.
8504 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
8505 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
8506 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8507 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
8508 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8509 X"$ac_dest" : 'X\(//\)[^/]' \| \
8510 X"$ac_dest" : 'X\(//\)$' \| \
8511 X"$ac_dest" : 'X\(/\)' \| \
8512 . : '\(.\)' 2>/dev/null ||
8514 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8515 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8516 /^X\(\/\/\)$/{ s//\1/; q; }
8517 /^X\(\/\).*/{ s//\1/; q; }
8519 { if $as_mkdir_p; then
8524 while test ! -d "$as_dir"; do
8525 as_dirs
="$as_dir $as_dirs"
8526 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8527 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8528 X"$as_dir" : 'X\(//\)[^/]' \| \
8529 X"$as_dir" : 'X\(//\)$' \| \
8530 X"$as_dir" : 'X\(/\)' \| \
8531 . : '\(.\)' 2>/dev/null ||
8533 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8534 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8535 /^X\(\/\/\)$/{ s//\1/; q; }
8536 /^X\(\/\).*/{ s//\1/; q; }
8539 test ! -n "$as_dirs" || mkdir
$as_dirs
8540 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8541 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8542 { (exit 1); exit 1; }; }; }
8546 if test "$ac_dir" != .
; then
8547 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8548 # A "../" for each directory in $ac_dir_suffix.
8549 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8551 ac_dir_suffix
= ac_top_builddir
=
8555 .
) # No --srcdir option. We are building in place.
8557 if test -z "$ac_top_builddir"; then
8560 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
8562 [\\/]* | ?
:[\\/]* ) # Absolute path.
8563 ac_srcdir
=$srcdir$ac_dir_suffix;
8564 ac_top_srcdir
=$srcdir ;;
8566 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
8567 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
8570 # Do not use `cd foo && pwd` to compute absolute paths, because
8571 # the directories may not exist.
8573 .
) ac_abs_builddir
="$ac_dir";;
8576 .
) ac_abs_builddir
=`pwd`;;
8577 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
8578 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
8581 case $ac_abs_builddir in
8582 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8584 case ${ac_top_builddir}.
in
8585 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
8586 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8587 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
8590 case $ac_abs_builddir in
8591 .
) ac_abs_srcdir
=$ac_srcdir;;
8594 .
) ac_abs_srcdir
=$ac_abs_builddir;;
8595 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
8596 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
8599 case $ac_abs_builddir in
8600 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
8602 case $ac_top_srcdir in
8603 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
8604 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
8605 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
8610 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
8611 echo "$as_me: executing $ac_dest commands" >&6;}
8614 # Only add multilib support code if we just rebuilt the top-level
8616 case " $CONFIG_FILES " in
8618 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
8621 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
8622 # Strip MF so we end up with the name of the file.
8623 mf
=`echo "$mf" | sed -e 's/:.*$//'`
8624 # Check whether this is an Automake generated Makefile or not.
8625 # We used to match only the files named `Makefile.in', but
8626 # some people rename them; so instead we look at the file content.
8627 # Grep'ing the first line is not enough: some people post-process
8628 # each Makefile.in and add a new line on top of each file to say so.
8629 # So let's grep whole file.
8630 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
8631 dirpart
=`(dirname "$mf") 2>/dev/null ||
8632 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8633 X"$mf" : 'X\(//\)[^/]' \| \
8634 X"$mf" : 'X\(//\)$' \| \
8635 X"$mf" : 'X\(/\)' \| \
8636 . : '\(.\)' 2>/dev/null ||
8638 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8639 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8640 /^X\(\/\/\)$/{ s//\1/; q; }
8641 /^X\(\/\).*/{ s//\1/; q; }
8646 # Extract the definition of DEPDIR, am__include, and am__quote
8647 # from the Makefile without running `make'.
8648 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
8649 test -z "$DEPDIR" && continue
8650 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
8651 test -z "am__include" && continue
8652 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
8653 # When using ansi2knr, U may be empty or an underscore; expand it
8654 U
=`sed -n 's/^U = //p' < "$mf"`
8655 # Find all dependency output files, they are included files with
8656 # $(DEPDIR) in their names. We invoke sed twice because it is the
8657 # simplest approach to changing $(DEPDIR) to its actual value in the
8659 for file in `sed -n "
8660 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8661 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
8662 # Make sure the directory exists.
8663 test -f "$dirpart/$file" && continue
8664 fdir
=`(dirname "$file") 2>/dev/null ||
8665 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8666 X"$file" : 'X\(//\)[^/]' \| \
8667 X"$file" : 'X\(//\)$' \| \
8668 X"$file" : 'X\(/\)' \| \
8669 . : '\(.\)' 2>/dev/null ||
8671 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8672 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8673 /^X\(\/\/\)$/{ s//\1/; q; }
8674 /^X\(\/\).*/{ s//\1/; q; }
8676 { if $as_mkdir_p; then
8677 mkdir
-p $dirpart/$fdir
8679 as_dir
=$dirpart/$fdir
8681 while test ! -d "$as_dir"; do
8682 as_dirs
="$as_dir $as_dirs"
8683 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8684 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8685 X"$as_dir" : 'X\(//\)[^/]' \| \
8686 X"$as_dir" : 'X\(//\)$' \| \
8687 X"$as_dir" : 'X\(/\)' \| \
8688 . : '\(.\)' 2>/dev/null ||
8690 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8691 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8692 /^X\(\/\/\)$/{ s//\1/; q; }
8693 /^X\(\/\).*/{ s//\1/; q; }
8696 test ! -n "$as_dirs" || mkdir
$as_dirs
8697 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
8698 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
8699 { (exit 1); exit 1; }; }; }
8701 # echo "creating $dirpart/$file"
8702 echo '# dummy' > "$dirpart/$file"
8710 cat >>$CONFIG_STATUS <<\_ACEOF
8712 { (exit 0); exit 0; }
8714 chmod +x
$CONFIG_STATUS
8715 ac_clean_files
=$ac_clean_files_save
8718 # configure is writing to config.log, and then calls config.status.
8719 # config.status does its own redirection, appending to config.log.
8720 # Unfortunately, on DOS this fails, as config.log is still kept open
8721 # by configure, so config.status won't be able to write to it; its
8722 # output is simply discarded. So we exec the FD to /dev/null,
8723 # effectively closing config.log, so it can be properly (re)opened and
8724 # appended to by config.status. When coming back to configure, we
8725 # need to make the FD available again.
8726 if test "$no_create" != yes; then
8728 ac_config_status_args
=
8729 test "$silent" = yes &&
8730 ac_config_status_args
="$ac_config_status_args --quiet"
8732 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8734 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8735 # would make configure fail if this is the last instruction.
8736 $ac_cs_success ||
{ (exit 1); exit 1; }