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 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
)
855 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
856 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
857 --with-gnu-ld assume the C compiler uses GNU ld default
=no
858 --with-pic try to use only PIC
/non-PIC objects default
=use both
860 Some influential environment variables
:
861 CC C compiler
command
862 CFLAGS C compiler flags
863 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
864 nonstandard directory
<lib dir
>
865 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
866 headers
in a nonstandard directory
<include dir
>
869 Use these variables to override the choices made by
`configure' or to help
870 it to find libraries and programs with nonstandard names/locations.
875 if test "$ac_init_help" = "recursive"; then
876 # If there are subdirs, report their specific --help.
878 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
879 test -d $ac_dir || continue
882 if test "$ac_dir" != .; then
883 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
884 # A "../" for each directory in $ac_dir_suffix.
885 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
887 ac_dir_suffix= ac_top_builddir=
891 .) # No --srcdir option. We are building in place.
893 if test -z "$ac_top_builddir"; then
896 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
898 [\\/]* | ?:[\\/]* ) # Absolute path.
899 ac_srcdir=$srcdir$ac_dir_suffix;
900 ac_top_srcdir=$srcdir ;;
902 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
903 ac_top_srcdir=$ac_top_builddir$srcdir ;;
906 # Do not use `cd foo
&& pwd` to compute absolute paths, because
907 # the directories may not exist.
909 .) ac_abs_builddir="$ac_dir";;
912 .) ac_abs_builddir=`pwd`;;
913 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
914 *) ac_abs_builddir=`pwd`/"$ac_dir";;
917 case $ac_abs_builddir in
918 .) ac_abs_top_builddir=${ac_top_builddir}.;;
920 case ${ac_top_builddir}. in
921 .) ac_abs_top_builddir=$ac_abs_builddir;;
922 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
923 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
926 case $ac_abs_builddir in
927 .) ac_abs_srcdir=$ac_srcdir;;
930 .) ac_abs_srcdir=$ac_abs_builddir;;
931 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
932 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
935 case $ac_abs_builddir in
936 .) ac_abs_top_srcdir=$ac_top_srcdir;;
938 case $ac_top_srcdir in
939 .) ac_abs_top_srcdir=$ac_abs_builddir;;
940 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
941 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
946 # Check for guested configure; otherwise get Cygnus style configure.
947 if test -f $ac_srcdir/configure.gnu; then
949 $SHELL $ac_srcdir/configure.gnu --help=recursive
950 elif test -f $ac_srcdir/configure; then
952 $SHELL $ac_srcdir/configure --help=recursive
953 elif test -f $ac_srcdir/configure.ac ||
954 test -f $ac_srcdir/configure.in; then
958 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
964 test -n "$ac_init_help" && exit 0
965 if $ac_init_version; then
967 libmudflap configure 1.0
968 generated by GNU Autoconf 2.59
970 Copyright (C) 2003 Free Software Foundation, Inc.
971 This configure script is free software; the Free Software Foundation
972 gives unlimited permission to copy, distribute and modify it.
978 This file contains any messages produced by compilers while
979 running configure, to aid debugging if configure makes a mistake.
981 It was created by libmudflap $as_me 1.0, which was
982 generated by GNU Autoconf 2.59. Invocation command line was
993 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
994 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
995 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
996 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
997 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
999 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1000 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1002 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1003 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1004 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1005 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1006 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1007 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1008 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1016 test -z "$as_dir" && as_dir=.
1017 echo "PATH: $as_dir"
1032 # Keep a trace of the command line.
1033 # Strip out --no-create and --no-recursion so they do not pile up.
1034 # Strip out --silent because we don't want to record it for future runs.
1035 # Also quote any args containing shell meta-characters.
1036 # Make two passes to allow for proper duplicate-argument suppression.
1041 ac_must_keep_next=false
1047 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1048 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1049 | -silent | --silent | --silen | --sile | --sil)
1051 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1052 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1055 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1057 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1058 if test $ac_must_keep_next = true; then
1059 ac_must_keep_next=false # Got value, back to normal.
1062 *=* | --config-cache | -C | -disable-* | --disable-* \
1063 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1064 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1065 | -with-* | --with-* | -without-* | --without-* | --x)
1066 case "$ac_configure_args0 " in
1067 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1070 -* ) ac_must_keep_next=true ;;
1073 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1074 # Get rid of the leading space.
1080 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1081 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1083 # When interrupted or exit'd, cleanup temporary files, and complete
1084 # config.log. We remove comments because anyway the quotes in there
1085 # would cause problems or look ugly.
1086 # WARNING: Be sure not to use single quotes in there, as some shells,
1087 # such as our DU 5.0 friend, will then `close
' the trap.
1088 trap 'exit_status
=$?
1089 # Save into config.log some information that might help in debugging.
1094 ## ---------------- ##
1095 ## Cache variables. ##
1096 ## ---------------- ##
1099 # The following way of writing the cache mishandles newlines in values,
1102 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1105 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1106 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1110 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1117 ## ----------------- ##
1118 ## Output variables. ##
1119 ## ----------------- ##
1122 for ac_var
in $ac_subst_vars
1124 eval ac_val
=$
`echo $ac_var`
1125 echo "$ac_var='"'"'$ac_val'"'"'"
1129 if test -n "$ac_subst_files"; then
1136 for ac_var
in $ac_subst_files
1138 eval ac_val
=$
`echo $ac_var`
1139 echo "$ac_var='"'"'$ac_val'"'"'"
1144 if test -s confdefs.h
; then
1151 sed "/^$/d" confdefs.h |
sort
1154 test "$ac_signal" != 0 &&
1155 echo "$as_me: caught signal $ac_signal"
1156 echo "$as_me: exit $exit_status"
1158 rm -f core
*.core
&&
1159 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1162 for ac_signal in 1 2 13 15; do
1163 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1167 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1168 rm -rf conftest* confdefs.h
1169 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1172 # Predefined preprocessor variables.
1174 cat >>confdefs.h <<_ACEOF
1175 #define PACKAGE_NAME "$PACKAGE_NAME"
1179 cat >>confdefs.h <<_ACEOF
1180 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1184 cat >>confdefs.h <<_ACEOF
1185 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1189 cat >>confdefs.h <<_ACEOF
1190 #define PACKAGE_STRING "$PACKAGE_STRING"
1194 cat >>confdefs.h <<_ACEOF
1195 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1199 # Let the site file select an alternate cache file if it wants to.
1200 # Prefer explicitly selected file to automatically selected ones.
1201 if test -z "$CONFIG_SITE"; then
1202 if test "x$prefix" != xNONE; then
1203 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1205 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1208 for ac_site_file in $CONFIG_SITE; do
1209 if test -r "$ac_site_file"; then
1210 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1211 echo "$as_me: loading site script $ac_site_file" >&6;}
1212 sed 's
/^
/|
/' "$ac_site_file" >&5
1217 if test -r "$cache_file"; then
1218 # Some versions of bash will fail to source /dev/null (special
1219 # files actually), so we avoid doing that.
1220 if test -f "$cache_file"; then
1221 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1222 echo "$as_me: loading cache $cache_file" >&6;}
1224 [\\/]* | ?:[\\/]* ) . $cache_file;;
1225 *) . ./$cache_file;;
1229 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1230 echo "$as_me: creating cache $cache_file" >&6;}
1234 # Check that the precious variables saved in the cache have kept the same
1236 ac_cache_corrupted=false
1237 for ac_var in `(set) 2>&1 |
1238 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1239 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1240 eval ac_new_set=\$ac_env_${ac_var}_set
1241 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1242 eval ac_new_val="\$ac_env_${ac_var}_value"
1243 case $ac_old_set,$ac_new_set in
1245 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1246 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1247 ac_cache_corrupted=: ;;
1249 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1250 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1251 ac_cache_corrupted=: ;;
1254 if test "x$ac_old_val" != "x$ac_new_val"; then
1255 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1256 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1257 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1258 echo "$as_me: former value: $ac_old_val" >&2;}
1259 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1260 echo "$as_me: current value: $ac_new_val" >&2;}
1261 ac_cache_corrupted=:
1264 # Pass precious variables to config.status.
1265 if test "$ac_new_set" = set; then
1267 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1268 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1269 *) ac_arg=$ac_var=$ac_new_val ;;
1271 case " $ac_configure_args " in
1272 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1273 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1277 if $ac_cache_corrupted; then
1278 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1279 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1280 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1281 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1282 { (exit 1); exit 1; }; }
1286 ac_cpp='$CPP $CPPFLAGS'
1287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1288 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1319 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1320 if test -f $ac_dir/install-sh; then
1322 ac_install_sh="$ac_aux_dir/install-sh -c"
1324 elif test -f $ac_dir/install.sh; then
1326 ac_install_sh="$ac_aux_dir/install.sh -c"
1328 elif test -f $ac_dir/shtool; then
1330 ac_install_sh="$ac_aux_dir/shtool install -c"
1334 if test -z "$ac_aux_dir"; then
1335 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1336 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1337 { (exit 1); exit 1; }; }
1339 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1340 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1341 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1343 # Make sure we can run config.sub.
1344 $ac_config_sub sun4 >/dev/null 2>&1 ||
1345 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1346 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1347 { (exit 1); exit 1; }; }
1349 echo "$as_me:$LINENO: checking build system type" >&5
1350 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1351 if test "${ac_cv_build+set}" = set; then
1352 echo $ECHO_N "(cached) $ECHO_C" >&6
1354 ac_cv_build_alias=$build_alias
1355 test -z "$ac_cv_build_alias" &&
1356 ac_cv_build_alias=`$ac_config_guess`
1357 test -z "$ac_cv_build_alias" &&
1358 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1359 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1360 { (exit 1); exit 1; }; }
1361 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1362 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1363 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1364 { (exit 1); exit 1; }; }
1367 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1368 echo "${ECHO_T}$ac_cv_build" >&6
1370 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1371 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1372 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1375 echo "$as_me:$LINENO: checking host system type" >&5
1376 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1377 if test "${ac_cv_host+set}" = set; then
1378 echo $ECHO_N "(cached) $ECHO_C" >&6
1380 ac_cv_host_alias=$host_alias
1381 test -z "$ac_cv_host_alias" &&
1382 ac_cv_host_alias=$ac_cv_build_alias
1383 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1384 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1385 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1386 { (exit 1); exit 1; }; }
1389 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1390 echo "${ECHO_T}$ac_cv_host" >&6
1392 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1393 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1394 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1397 echo "$as_me:$LINENO: checking target system type" >&5
1398 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1399 if test "${ac_cv_target+set}" = set; then
1400 echo $ECHO_N "(cached) $ECHO_C" >&6
1402 ac_cv_target_alias=$target_alias
1403 test "x$ac_cv_target_alias" = "x" &&
1404 ac_cv_target_alias=$ac_cv_host_alias
1405 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1406 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1407 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1408 { (exit 1); exit 1; }; }
1411 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1412 echo "${ECHO_T}$ac_cv_target" >&6
1413 target=$ac_cv_target
1414 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1415 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1416 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1419 # The aliases save the names the user supplied, while $host etc.
1420 # will get canonicalized.
1421 test -n "$target_alias" &&
1422 test "$program_prefix$program_suffix$program_transform_name" = \
1424 program_prefix=${target_alias}-
1426 am__api_version="1.9"
1427 # Find a good install program. We prefer a C program (faster),
1428 # so one script is as good as another. But avoid the broken or
1429 # incompatible versions:
1430 # SysV /etc/install, /usr/sbin/install
1431 # SunOS /usr/etc/install
1432 # IRIX /sbin/install
1434 # AmigaOS /C/install, which installs bootblocks on floppy discs
1435 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1436 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1437 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1438 # OS/2's system install, which has a completely different semantic
1439 # ./install, which can be erroneously created by make from ./install.sh.
1440 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1441 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1442 if test -z "$INSTALL"; then
1443 if test "${ac_cv_path_install+set}" = set; then
1444 echo $ECHO_N "(cached) $ECHO_C" >&6
1446 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1450 test -z "$as_dir" && as_dir
=.
1451 # Account for people who put trailing slashes in PATH elements.
1453 .
/ | .
// |
/cC
/* | \
1454 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1455 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1458 # OSF1 and SCO ODT 3.0 have their own names for install.
1459 # Don't use installbsd from OSF since it installs stuff as root
1461 for ac_prog
in ginstall scoinst
install; do
1462 for ac_exec_ext
in '' $ac_executable_extensions; do
1463 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1464 if test $ac_prog = install &&
1465 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1466 # AIX install. It has an incompatible calling convention.
1468 elif test $ac_prog = install &&
1469 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1470 # program-specific install script used by HP pwplus--don't use.
1473 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1485 if test "${ac_cv_path_install+set}" = set; then
1486 INSTALL
=$ac_cv_path_install
1488 # As a last resort, use the slow shell script. We don't cache a
1489 # path for INSTALL within a source directory, because that will
1490 # break other packages using the cache if that directory is
1491 # removed, or if the path is relative.
1492 INSTALL
=$ac_install_sh
1495 echo "$as_me:$LINENO: result: $INSTALL" >&5
1496 echo "${ECHO_T}$INSTALL" >&6
1498 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1499 # It thinks the first close brace ends the variable substitution.
1500 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1502 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1504 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1506 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1507 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1510 echo timestamp
> conftest.
file
1511 # Do `set' in a subshell so we don't clobber the current shell's
1512 # arguments. Must try -L first in case configure is actually a
1513 # symlink; some systems play weird games with the mod time of symlinks
1514 # (eg FreeBSD returns the mod time of the symlink's containing
1517 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1518 if test "$*" = "X"; then
1520 set X
`ls -t $srcdir/configure conftest.file`
1523 if test "$*" != "X $srcdir/configure conftest.file" \
1524 && test "$*" != "X conftest.file $srcdir/configure"; then
1526 # If neither matched, then we have a broken ls. This can happen
1527 # if, for instance, CONFIG_SHELL is bash and it inherits a
1528 # broken ls alias from the environment. This has actually
1529 # happened. Such a system could not be considered "sane".
1530 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1531 alias in your environment" >&5
1532 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1533 alias in your environment" >&2;}
1534 { (exit 1); exit 1; }; }
1537 test "$2" = conftest.
file
1543 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1544 Check your system clock" >&5
1545 echo "$as_me: error: newly created file is older than distributed files!
1546 Check your system clock" >&2;}
1547 { (exit 1); exit 1; }; }
1549 echo "$as_me:$LINENO: result: yes" >&5
1550 echo "${ECHO_T}yes" >&6
1551 test "$program_prefix" != NONE
&&
1552 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1553 # Use a double $ so make ignores it.
1554 test "$program_suffix" != NONE
&&
1555 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1556 # Double any \ or $. echo might interpret backslashes.
1557 # By default was `s,x,x', remove it if useless.
1558 cat <<\_ACEOF
>conftest.
sed
1559 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1561 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1564 # expand $ac_aux_dir to an absolute path
1565 am_aux_dir
=`cd $ac_aux_dir && pwd`
1567 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1568 # Use eval to expand $SHELL
1569 if eval "$MISSING --run true"; then
1570 am_missing_run
="$MISSING --run "
1573 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1574 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1577 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1578 # We used to keeping the `.' as first argument, in order to
1579 # allow $(mkdir_p) to be used without argument. As in
1580 # $(mkdir_p) $(somedir)
1581 # where $(somedir) is conditionally defined. However this is wrong
1583 # 1. if the package is installed by a user who cannot write `.'
1584 # make install will fail,
1585 # 2. the above comment should most certainly read
1586 # $(mkdir_p) $(DESTDIR)$(somedir)
1587 # so it does not work when $(somedir) is undefined and
1588 # $(DESTDIR) is not.
1589 # To support the latter case, we have to write
1590 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1591 # so the `.' trick is pointless.
1592 mkdir_p
='mkdir -p --'
1594 # On NextStep and OpenStep, the `mkdir' command does not
1595 # recognize any option. It will interpret all options as
1596 # directories to create, and then abort because `.' already
1598 for d
in .
/-p .
/--version;
1600 test -d $d && rmdir $d
1602 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1603 if test -f "$ac_aux_dir/mkinstalldirs"; then
1604 mkdir_p
='$(mkinstalldirs)'
1606 mkdir_p
='$(install_sh) -d'
1610 for ac_prog
in gawk mawk nawk
awk
1612 # Extract the first word of "$ac_prog", so it can be a program name with args.
1613 set dummy
$ac_prog; ac_word
=$2
1614 echo "$as_me:$LINENO: checking for $ac_word" >&5
1615 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1616 if test "${ac_cv_prog_AWK+set}" = set; then
1617 echo $ECHO_N "(cached) $ECHO_C" >&6
1619 if test -n "$AWK"; then
1620 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1622 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1626 test -z "$as_dir" && as_dir
=.
1627 for ac_exec_ext
in '' $ac_executable_extensions; do
1628 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1629 ac_cv_prog_AWK
="$ac_prog"
1630 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1639 if test -n "$AWK"; then
1640 echo "$as_me:$LINENO: result: $AWK" >&5
1641 echo "${ECHO_T}$AWK" >&6
1643 echo "$as_me:$LINENO: result: no" >&5
1644 echo "${ECHO_T}no" >&6
1647 test -n "$AWK" && break
1650 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1651 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1652 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1653 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1654 echo $ECHO_N "(cached) $ECHO_C" >&6
1656 cat >conftest.
make <<\_ACEOF
1658 @
echo 'ac_maketemp="$(MAKE)"'
1660 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1661 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1662 if test -n "$ac_maketemp"; then
1663 eval ac_cv_prog_make_
${ac_make}_set
=yes
1665 eval ac_cv_prog_make_
${ac_make}_set
=no
1669 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1670 echo "$as_me:$LINENO: result: yes" >&5
1671 echo "${ECHO_T}yes" >&6
1674 echo "$as_me:$LINENO: result: no" >&5
1675 echo "${ECHO_T}no" >&6
1676 SET_MAKE
="MAKE=${MAKE-make}"
1679 rm -rf .tst
2>/dev
/null
1680 mkdir .tst
2>/dev
/null
1681 if test -d .tst
; then
1686 rmdir .tst
2>/dev
/null
1688 # test to see if srcdir already configured
1689 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1690 test -f $srcdir/config.status
; then
1691 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1692 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1693 { (exit 1); exit 1; }; }
1696 # test whether we have cygpath
1697 if test -z "$CYGPATH_W"; then
1698 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1699 CYGPATH_W
='cygpath -w'
1706 # Define the identity of the package.
1707 PACKAGE
='libmudflap'
1711 cat >>confdefs.h
<<_ACEOF
1712 #define PACKAGE "$PACKAGE"
1716 cat >>confdefs.h
<<_ACEOF
1717 #define VERSION "$VERSION"
1720 # Some tools Automake needs.
1722 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1725 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1728 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1731 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1734 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1736 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1738 # Installed binaries are usually stripped using `strip' when the user
1739 # run `make install-strip'. However `strip' might not be the right
1740 # tool to use in cross-compilation environments, therefore Automake
1741 # will honor the `STRIP' environment variable to overrule this program.
1742 if test "$cross_compiling" != no
; then
1743 if test -n "$ac_tool_prefix"; then
1744 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1745 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1746 echo "$as_me:$LINENO: checking for $ac_word" >&5
1747 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1748 if test "${ac_cv_prog_STRIP+set}" = set; then
1749 echo $ECHO_N "(cached) $ECHO_C" >&6
1751 if test -n "$STRIP"; then
1752 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1754 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1758 test -z "$as_dir" && as_dir
=.
1759 for ac_exec_ext
in '' $ac_executable_extensions; do
1760 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1761 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1762 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1770 STRIP
=$ac_cv_prog_STRIP
1771 if test -n "$STRIP"; then
1772 echo "$as_me:$LINENO: result: $STRIP" >&5
1773 echo "${ECHO_T}$STRIP" >&6
1775 echo "$as_me:$LINENO: result: no" >&5
1776 echo "${ECHO_T}no" >&6
1780 if test -z "$ac_cv_prog_STRIP"; then
1782 # Extract the first word of "strip", so it can be a program name with args.
1783 set dummy strip
; ac_word
=$2
1784 echo "$as_me:$LINENO: checking for $ac_word" >&5
1785 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1786 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1787 echo $ECHO_N "(cached) $ECHO_C" >&6
1789 if test -n "$ac_ct_STRIP"; then
1790 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1792 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1796 test -z "$as_dir" && as_dir
=.
1797 for ac_exec_ext
in '' $ac_executable_extensions; do
1798 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1799 ac_cv_prog_ac_ct_STRIP
="strip"
1800 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1806 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1809 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1810 if test -n "$ac_ct_STRIP"; then
1811 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1812 echo "${ECHO_T}$ac_ct_STRIP" >&6
1814 echo "$as_me:$LINENO: result: no" >&5
1815 echo "${ECHO_T}no" >&6
1820 STRIP
="$ac_cv_prog_STRIP"
1824 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1826 # We need awk for the "check" target. The system "awk" is bad on
1828 # Always define AMTAR for backward compatibility.
1830 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1832 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
1839 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
1840 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
1841 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1842 if test "${enable_version_specific_runtime_libs+set}" = set; then
1843 enableval
="$enable_version_specific_runtime_libs"
1844 case "$enableval" in
1845 yes) version_specific_libs
=yes ;;
1846 no
) version_specific_libs
=no
;;
1847 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1848 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1849 { (exit 1); exit 1; }; };;
1852 version_specific_libs
=no
1854 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
1855 echo "${ECHO_T}$version_specific_libs" >&6
1857 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1858 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1859 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1860 if test "${enable_maintainer_mode+set}" = set; then
1861 enableval
="$enable_maintainer_mode"
1862 USE_MAINTAINER_MODE
=$enableval
1864 USE_MAINTAINER_MODE
=no
1866 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1867 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1870 if test $USE_MAINTAINER_MODE = yes; then
1871 MAINTAINER_MODE_TRUE
=
1872 MAINTAINER_MODE_FALSE
='#'
1874 MAINTAINER_MODE_TRUE
='#'
1875 MAINTAINER_MODE_FALSE
=
1878 MAINT
=$MAINTAINER_MODE_TRUE
1883 # Default to --enable-multilib
1884 # Check whether --enable-multilib or --disable-multilib was given.
1885 if test "${enable_multilib+set}" = set; then
1886 enableval
="$enable_multilib"
1887 case "$enableval" in
1888 yes) multilib
=yes ;;
1890 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1891 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1892 { (exit 1); exit 1; }; } ;;
1898 # We may get other options which we leave undocumented:
1899 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1900 # See config-ml.in if you want the gory details.
1902 if test "$srcdir" = "."; then
1903 if test "$with_target_subdir" != "."; then
1904 multi_basedir
="$srcdir/$with_multisrctop../.."
1906 multi_basedir
="$srcdir/$with_multisrctop.."
1909 multi_basedir
="$srcdir/.."
1913 ac_config_commands
="$ac_config_commands default-1"
1916 target_alias
=${target_alias-$host_alias}
1919 ac_config_headers
="$ac_config_headers config.h"
1923 ac_cpp
='$CPP $CPPFLAGS'
1924 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1925 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1926 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1928 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
1929 # We must force CC to /not/ be precious variables; otherwise
1930 # the wrong, non-multilib-adjusted value will be used in multilibs.
1931 # As a side effect, we have to subst CFLAGS ourselves.
1936 ac_cpp
='$CPP $CPPFLAGS'
1937 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1938 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1939 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1940 if test -n "$ac_tool_prefix"; then
1941 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1942 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1943 echo "$as_me:$LINENO: checking for $ac_word" >&5
1944 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1945 if test "${ac_cv_prog_CC+set}" = set; then
1946 echo $ECHO_N "(cached) $ECHO_C" >&6
1948 if test -n "$CC"; then
1949 ac_cv_prog_CC
="$CC" # Let the user override the test.
1951 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1955 test -z "$as_dir" && as_dir
=.
1956 for ac_exec_ext
in '' $ac_executable_extensions; do
1957 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1958 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1959 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1968 if test -n "$CC"; then
1969 echo "$as_me:$LINENO: result: $CC" >&5
1970 echo "${ECHO_T}$CC" >&6
1972 echo "$as_me:$LINENO: result: no" >&5
1973 echo "${ECHO_T}no" >&6
1977 if test -z "$ac_cv_prog_CC"; then
1979 # Extract the first word of "gcc", so it can be a program name with args.
1980 set dummy gcc
; ac_word
=$2
1981 echo "$as_me:$LINENO: checking for $ac_word" >&5
1982 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1983 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1984 echo $ECHO_N "(cached) $ECHO_C" >&6
1986 if test -n "$ac_ct_CC"; then
1987 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1989 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1993 test -z "$as_dir" && as_dir
=.
1994 for ac_exec_ext
in '' $ac_executable_extensions; do
1995 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1996 ac_cv_prog_ac_ct_CC
="gcc"
1997 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2005 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2006 if test -n "$ac_ct_CC"; then
2007 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2008 echo "${ECHO_T}$ac_ct_CC" >&6
2010 echo "$as_me:$LINENO: result: no" >&5
2011 echo "${ECHO_T}no" >&6
2019 if test -z "$CC"; then
2020 if test -n "$ac_tool_prefix"; then
2021 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2022 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2023 echo "$as_me:$LINENO: checking for $ac_word" >&5
2024 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2025 if test "${ac_cv_prog_CC+set}" = set; then
2026 echo $ECHO_N "(cached) $ECHO_C" >&6
2028 if test -n "$CC"; then
2029 ac_cv_prog_CC
="$CC" # Let the user override the test.
2031 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2035 test -z "$as_dir" && as_dir
=.
2036 for ac_exec_ext
in '' $ac_executable_extensions; do
2037 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2038 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2039 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2048 if test -n "$CC"; then
2049 echo "$as_me:$LINENO: result: $CC" >&5
2050 echo "${ECHO_T}$CC" >&6
2052 echo "$as_me:$LINENO: result: no" >&5
2053 echo "${ECHO_T}no" >&6
2057 if test -z "$ac_cv_prog_CC"; then
2059 # Extract the first word of "cc", so it can be a program name with args.
2060 set dummy cc
; ac_word
=$2
2061 echo "$as_me:$LINENO: checking for $ac_word" >&5
2062 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2063 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2064 echo $ECHO_N "(cached) $ECHO_C" >&6
2066 if test -n "$ac_ct_CC"; then
2067 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2069 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2073 test -z "$as_dir" && as_dir
=.
2074 for ac_exec_ext
in '' $ac_executable_extensions; do
2075 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2076 ac_cv_prog_ac_ct_CC
="cc"
2077 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2085 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2086 if test -n "$ac_ct_CC"; then
2087 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2088 echo "${ECHO_T}$ac_ct_CC" >&6
2090 echo "$as_me:$LINENO: result: no" >&5
2091 echo "${ECHO_T}no" >&6
2100 if test -z "$CC"; then
2101 # Extract the first word of "cc", so it can be a program name with args.
2102 set dummy cc
; ac_word
=$2
2103 echo "$as_me:$LINENO: checking for $ac_word" >&5
2104 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2105 if test "${ac_cv_prog_CC+set}" = set; then
2106 echo $ECHO_N "(cached) $ECHO_C" >&6
2108 if test -n "$CC"; then
2109 ac_cv_prog_CC
="$CC" # Let the user override the test.
2112 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2116 test -z "$as_dir" && as_dir
=.
2117 for ac_exec_ext
in '' $ac_executable_extensions; do
2118 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2119 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2120 ac_prog_rejected
=yes
2124 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2130 if test $ac_prog_rejected = yes; then
2131 # We found a bogon in the path, so make sure we never use it.
2132 set dummy
$ac_cv_prog_CC
2134 if test $# != 0; then
2135 # We chose a different compiler from the bogus one.
2136 # However, it has the same basename, so the bogon will be chosen
2137 # first if we set CC to just the basename; use the full file name.
2139 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2145 if test -n "$CC"; then
2146 echo "$as_me:$LINENO: result: $CC" >&5
2147 echo "${ECHO_T}$CC" >&6
2149 echo "$as_me:$LINENO: result: no" >&5
2150 echo "${ECHO_T}no" >&6
2154 if test -z "$CC"; then
2155 if test -n "$ac_tool_prefix"; then
2158 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2159 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2160 echo "$as_me:$LINENO: checking for $ac_word" >&5
2161 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2162 if test "${ac_cv_prog_CC+set}" = set; then
2163 echo $ECHO_N "(cached) $ECHO_C" >&6
2165 if test -n "$CC"; then
2166 ac_cv_prog_CC
="$CC" # Let the user override the test.
2168 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2172 test -z "$as_dir" && as_dir
=.
2173 for ac_exec_ext
in '' $ac_executable_extensions; do
2174 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2175 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2176 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2185 if test -n "$CC"; then
2186 echo "$as_me:$LINENO: result: $CC" >&5
2187 echo "${ECHO_T}$CC" >&6
2189 echo "$as_me:$LINENO: result: no" >&5
2190 echo "${ECHO_T}no" >&6
2193 test -n "$CC" && break
2196 if test -z "$CC"; then
2200 # Extract the first word of "$ac_prog", so it can be a program name with args.
2201 set dummy
$ac_prog; ac_word
=$2
2202 echo "$as_me:$LINENO: checking for $ac_word" >&5
2203 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2204 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2205 echo $ECHO_N "(cached) $ECHO_C" >&6
2207 if test -n "$ac_ct_CC"; then
2208 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2214 test -z "$as_dir" && as_dir
=.
2215 for ac_exec_ext
in '' $ac_executable_extensions; do
2216 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2217 ac_cv_prog_ac_ct_CC
="$ac_prog"
2218 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2226 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2227 if test -n "$ac_ct_CC"; then
2228 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2229 echo "${ECHO_T}$ac_ct_CC" >&6
2231 echo "$as_me:$LINENO: result: no" >&5
2232 echo "${ECHO_T}no" >&6
2235 test -n "$ac_ct_CC" && break
2244 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2245 See \`config.log' for more details." >&5
2246 echo "$as_me: error: no acceptable C compiler found in \$PATH
2247 See \`config.log' for more details." >&2;}
2248 { (exit 1); exit 1; }; }
2250 # Provide some information about the compiler.
2251 echo "$as_me:$LINENO:" \
2252 "checking for C compiler version" >&5
2253 ac_compiler
=`set X $ac_compile; echo $2`
2254 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2255 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2258 (exit $ac_status); }
2259 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2260 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2263 (exit $ac_status); }
2264 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2265 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2268 (exit $ac_status); }
2270 cat >conftest.
$ac_ext <<_ACEOF
2273 cat confdefs.h
>>conftest.
$ac_ext
2274 cat >>conftest.
$ac_ext <<_ACEOF
2275 /* end confdefs.h. */
2285 ac_clean_files_save
=$ac_clean_files
2286 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2287 # Try to create an executable without -o first, disregard a.out.
2288 # It will help us diagnose broken compilers, and finding out an intuition
2290 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2291 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2292 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2293 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2294 (eval $ac_link_default) 2>&5
2296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2297 (exit $ac_status); }; then
2298 # Find the output, starting from the most likely. This scheme is
2299 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2302 # Be careful to initialize this variable, since it used to be cached.
2303 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2305 # b.out is created by i960 compilers.
2306 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2308 test -f "$ac_file" ||
continue
2310 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2313 # This is the source file.
2316 # We found the default executable, but exeext='' is most
2320 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2321 # FIXME: I believe we export ac_cv_exeext for Libtool,
2322 # but it would be cool to find out if it's true. Does anybody
2323 # maintain Libtool? --akim.
2331 echo "$as_me: failed program was:" >&5
2332 sed 's/^/| /' conftest.
$ac_ext >&5
2334 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2335 See \`config.log' for more details." >&5
2336 echo "$as_me: error: C compiler cannot create executables
2337 See \`config.log' for more details." >&2;}
2338 { (exit 77); exit 77; }; }
2341 ac_exeext
=$ac_cv_exeext
2342 echo "$as_me:$LINENO: result: $ac_file" >&5
2343 echo "${ECHO_T}$ac_file" >&6
2345 # Check the compiler produces executables we can run. If not, either
2346 # the compiler is broken, or we cross compile.
2347 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2348 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2349 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2350 # If not cross compiling, check that we can run a simple program.
2351 if test "$cross_compiling" != yes; then
2352 if { ac_try
='./$ac_file'
2353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2357 (exit $ac_status); }; }; then
2360 if test "$cross_compiling" = maybe
; then
2363 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2364 If you meant to cross compile, use \`--host'.
2365 See \`config.log' for more details." >&5
2366 echo "$as_me: error: cannot run C compiled programs.
2367 If you meant to cross compile, use \`--host'.
2368 See \`config.log' for more details." >&2;}
2369 { (exit 1); exit 1; }; }
2373 echo "$as_me:$LINENO: result: yes" >&5
2374 echo "${ECHO_T}yes" >&6
2376 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2377 ac_clean_files
=$ac_clean_files_save
2378 # Check the compiler produces executables we can run. If not, either
2379 # the compiler is broken, or we cross compile.
2380 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2381 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2382 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2383 echo "${ECHO_T}$cross_compiling" >&6
2385 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2386 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2388 (eval $ac_link) 2>&5
2390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2391 (exit $ac_status); }; then
2392 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2393 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2394 # work properly (i.e., refer to `conftest.exe'), while it won't with
2396 for ac_file
in conftest.exe conftest conftest.
*; do
2397 test -f "$ac_file" ||
continue
2399 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2400 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2407 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2408 See \`config.log' for more details." >&5
2409 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2410 See \`config.log' for more details." >&2;}
2411 { (exit 1); exit 1; }; }
2414 rm -f conftest
$ac_cv_exeext
2415 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2416 echo "${ECHO_T}$ac_cv_exeext" >&6
2418 rm -f conftest.
$ac_ext
2419 EXEEXT
=$ac_cv_exeext
2421 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2422 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2423 if test "${ac_cv_objext+set}" = set; then
2424 echo $ECHO_N "(cached) $ECHO_C" >&6
2426 cat >conftest.
$ac_ext <<_ACEOF
2429 cat confdefs.h
>>conftest.
$ac_ext
2430 cat >>conftest.
$ac_ext <<_ACEOF
2431 /* end confdefs.h. */
2441 rm -f conftest.o conftest.obj
2442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2443 (eval $ac_compile) 2>&5
2445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2446 (exit $ac_status); }; then
2447 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2449 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2450 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2455 echo "$as_me: failed program was:" >&5
2456 sed 's/^/| /' conftest.
$ac_ext >&5
2458 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2459 See \`config.log' for more details." >&5
2460 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2461 See \`config.log' for more details." >&2;}
2462 { (exit 1); exit 1; }; }
2465 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2467 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2468 echo "${ECHO_T}$ac_cv_objext" >&6
2469 OBJEXT
=$ac_cv_objext
2471 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2472 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2473 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2474 echo $ECHO_N "(cached) $ECHO_C" >&6
2476 cat >conftest.
$ac_ext <<_ACEOF
2479 cat confdefs.h
>>conftest.
$ac_ext
2480 cat >>conftest.
$ac_ext <<_ACEOF
2481 /* end confdefs.h. */
2494 rm -f conftest.
$ac_objext
2495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2496 (eval $ac_compile) 2>conftest.er1
2498 grep -v '^ *+' conftest.er1
>conftest.err
2500 cat conftest.err
>&5
2501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2502 (exit $ac_status); } &&
2503 { ac_try
='test -z "$ac_c_werror_flag"
2504 || test ! -s conftest.err'
2505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2509 (exit $ac_status); }; } &&
2510 { ac_try
='test -s conftest.$ac_objext'
2511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2515 (exit $ac_status); }; }; then
2518 echo "$as_me: failed program was:" >&5
2519 sed 's/^/| /' conftest.
$ac_ext >&5
2523 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2524 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2527 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2528 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2529 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2530 ac_test_CFLAGS
=${CFLAGS+set}
2531 ac_save_CFLAGS
=$CFLAGS
2533 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2534 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2535 if test "${ac_cv_prog_cc_g+set}" = set; then
2536 echo $ECHO_N "(cached) $ECHO_C" >&6
2538 cat >conftest.
$ac_ext <<_ACEOF
2541 cat confdefs.h
>>conftest.
$ac_ext
2542 cat >>conftest.
$ac_ext <<_ACEOF
2543 /* end confdefs.h. */
2553 rm -f conftest.
$ac_objext
2554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2555 (eval $ac_compile) 2>conftest.er1
2557 grep -v '^ *+' conftest.er1
>conftest.err
2559 cat conftest.err
>&5
2560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2561 (exit $ac_status); } &&
2562 { ac_try
='test -z "$ac_c_werror_flag"
2563 || test ! -s conftest.err'
2564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2568 (exit $ac_status); }; } &&
2569 { ac_try
='test -s conftest.$ac_objext'
2570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2574 (exit $ac_status); }; }; then
2577 echo "$as_me: failed program was:" >&5
2578 sed 's/^/| /' conftest.
$ac_ext >&5
2582 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2584 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2585 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2586 if test "$ac_test_CFLAGS" = set; then
2587 CFLAGS
=$ac_save_CFLAGS
2588 elif test $ac_cv_prog_cc_g = yes; then
2589 if test "$GCC" = yes; then
2595 if test "$GCC" = yes; then
2601 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2602 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2603 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2604 echo $ECHO_N "(cached) $ECHO_C" >&6
2606 ac_cv_prog_cc_stdc
=no
2608 cat >conftest.
$ac_ext <<_ACEOF
2611 cat confdefs.h
>>conftest.
$ac_ext
2612 cat >>conftest.
$ac_ext <<_ACEOF
2613 /* end confdefs.h. */
2616 #include <sys/types.h>
2617 #include <sys/stat.h>
2618 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2619 struct buf { int x; };
2620 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2621 static char *e (p, i)
2627 static char *f (char * (*g) (char **, int), char **p, ...)
2632 s = g (p, va_arg (v,int));
2637 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2638 function prototypes and stuff, but not '\xHH' hex character constants.
2639 These don't provoke an error unfortunately, instead are silently treated
2640 as 'x'. The following induces an error, until -std1 is added to get
2641 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2642 array size at least. It's necessary to write '\x00'==0 to get something
2643 that's true only with -std1. */
2644 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2646 int test (int i, double x);
2647 struct s1 {int (*f) (int a);};
2648 struct s2 {int (*f) (double a);};
2649 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2655 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2660 # Don't try gcc -ansi; that turns off useful extensions and
2661 # breaks some systems' header files.
2662 # AIX -qlanglvl=ansi
2663 # Ultrix and OSF/1 -std1
2664 # HP-UX 10.20 and later -Ae
2665 # HP-UX older versions -Aa -D_HPUX_SOURCE
2666 # SVR4 -Xc -D__EXTENSIONS__
2667 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2669 CC
="$ac_save_CC $ac_arg"
2670 rm -f conftest.
$ac_objext
2671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2672 (eval $ac_compile) 2>conftest.er1
2674 grep -v '^ *+' conftest.er1
>conftest.err
2676 cat conftest.err
>&5
2677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2678 (exit $ac_status); } &&
2679 { ac_try
='test -z "$ac_c_werror_flag"
2680 || test ! -s conftest.err'
2681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2685 (exit $ac_status); }; } &&
2686 { ac_try
='test -s conftest.$ac_objext'
2687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2691 (exit $ac_status); }; }; then
2692 ac_cv_prog_cc_stdc
=$ac_arg
2695 echo "$as_me: failed program was:" >&5
2696 sed 's/^/| /' conftest.
$ac_ext >&5
2699 rm -f conftest.err conftest.
$ac_objext
2701 rm -f conftest.
$ac_ext conftest.
$ac_objext
2706 case "x$ac_cv_prog_cc_stdc" in
2708 echo "$as_me:$LINENO: result: none needed" >&5
2709 echo "${ECHO_T}none needed" >&6 ;;
2711 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2712 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2713 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2716 # Some people use a C++ compiler to compile C. Since we use `exit',
2717 # in C++ we need to declare it. In case someone uses the same compiler
2718 # for both compiling C and C++ we need to have the C++ compiler decide
2719 # the declaration of exit, since it's the most demanding environment.
2720 cat >conftest.
$ac_ext <<_ACEOF
2725 rm -f conftest.
$ac_objext
2726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2727 (eval $ac_compile) 2>conftest.er1
2729 grep -v '^ *+' conftest.er1
>conftest.err
2731 cat conftest.err
>&5
2732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2733 (exit $ac_status); } &&
2734 { ac_try
='test -z "$ac_c_werror_flag"
2735 || test ! -s conftest.err'
2736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2740 (exit $ac_status); }; } &&
2741 { ac_try
='test -s conftest.$ac_objext'
2742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2746 (exit $ac_status); }; }; then
2747 for ac_declaration
in \
2749 'extern "C" void std::exit (int) throw (); using std::exit;' \
2750 'extern "C" void std::exit (int); using std::exit;' \
2751 'extern "C" void exit (int) throw ();' \
2752 'extern "C" void exit (int);' \
2755 cat >conftest.
$ac_ext <<_ACEOF
2758 cat confdefs.h
>>conftest.
$ac_ext
2759 cat >>conftest.
$ac_ext <<_ACEOF
2760 /* end confdefs.h. */
2771 rm -f conftest.
$ac_objext
2772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2773 (eval $ac_compile) 2>conftest.er1
2775 grep -v '^ *+' conftest.er1
>conftest.err
2777 cat conftest.err
>&5
2778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2779 (exit $ac_status); } &&
2780 { ac_try
='test -z "$ac_c_werror_flag"
2781 || test ! -s conftest.err'
2782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2786 (exit $ac_status); }; } &&
2787 { ac_try
='test -s conftest.$ac_objext'
2788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2792 (exit $ac_status); }; }; then
2795 echo "$as_me: failed program was:" >&5
2796 sed 's/^/| /' conftest.
$ac_ext >&5
2800 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2801 cat >conftest.
$ac_ext <<_ACEOF
2804 cat confdefs.h
>>conftest.
$ac_ext
2805 cat >>conftest.
$ac_ext <<_ACEOF
2806 /* end confdefs.h. */
2816 rm -f conftest.
$ac_objext
2817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2818 (eval $ac_compile) 2>conftest.er1
2820 grep -v '^ *+' conftest.er1
>conftest.err
2822 cat conftest.err
>&5
2823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2824 (exit $ac_status); } &&
2825 { ac_try
='test -z "$ac_c_werror_flag"
2826 || test ! -s conftest.err'
2827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2831 (exit $ac_status); }; } &&
2832 { ac_try
='test -s conftest.$ac_objext'
2833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2837 (exit $ac_status); }; }; then
2840 echo "$as_me: failed program was:" >&5
2841 sed 's/^/| /' conftest.
$ac_ext >&5
2844 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2847 if test -n "$ac_declaration"; then
2848 echo '#ifdef __cplusplus' >>confdefs.h
2849 echo $ac_declaration >>confdefs.h
2850 echo '#endif' >>confdefs.h
2854 echo "$as_me: failed program was:" >&5
2855 sed 's/^/| /' conftest.
$ac_ext >&5
2858 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2860 ac_cpp
='$CPP $CPPFLAGS'
2861 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2862 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2863 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2864 DEPDIR
="${am__leading_dot}deps"
2866 ac_config_commands
="$ac_config_commands depfiles"
2869 am_make
=${MAKE-make}
2870 cat > confinc
<< 'END'
2875 # If we don't find an include directive, just comment out the code.
2876 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2877 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2881 # First try GNU make style include.
2882 echo "include confinc" > confmf
2883 # We grep out `Entering directory' and `Leaving directory'
2884 # messages which can occur if `w' ends up in MAKEFLAGS.
2885 # In particular we don't look at `^make:' because GNU make might
2886 # be invoked under some other name (usually "gmake"), in which
2887 # case it prints its new name instead of `make'.
2888 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2893 # Now try BSD make style include.
2894 if test "$am__include" = "#"; then
2895 echo '.include "confinc"' > confmf
2896 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2897 am__include
=.include
2904 echo "$as_me:$LINENO: result: $_am_result" >&5
2905 echo "${ECHO_T}$_am_result" >&6
2906 rm -f confinc confmf
2908 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2909 if test "${enable_dependency_tracking+set}" = set; then
2910 enableval
="$enable_dependency_tracking"
2913 if test "x$enable_dependency_tracking" != xno
; then
2914 am_depcomp
="$ac_aux_dir/depcomp"
2919 if test "x$enable_dependency_tracking" != xno; then
2930 depcc
="$CC" am_compiler_list
=
2932 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2933 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2934 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2935 echo $ECHO_N "(cached) $ECHO_C" >&6
2937 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2938 # We make a subdir and do the tests there. Otherwise we can end up
2939 # making bogus files that we don't know about and never remove. For
2940 # instance it was reported that on HP-UX the gcc test will end up
2941 # making a dummy file named `D' -- because `-MD' means `put the output
2944 # Copy depcomp to subdir because otherwise we won't find it if we're
2945 # using a relative directory.
2946 cp "$am_depcomp" conftest.dir
2948 # We will build objects and dependencies in a subdirectory because
2949 # it helps to detect inapplicable dependency modes. For instance
2950 # both Tru64's cc and ICC support -MD to output dependencies as a
2951 # side effect of compilation, but ICC will put the dependencies in
2952 # the current directory while Tru64 will put them in the object
2956 am_cv_CC_dependencies_compiler_type
=none
2957 if test "$am_compiler_list" = ""; then
2958 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2960 for depmode
in $am_compiler_list; do
2961 # Setup a source with many dependencies, because some compilers
2962 # like to wrap large dependency lists on column 80 (with \), and
2963 # we should not choose a depcomp mode which is confused by this.
2965 # We need to recreate these files for each test, as the compiler may
2966 # overwrite some of them when testing with obscure command lines.
2967 # This happens at least with the AIX C compiler.
2969 for i
in 1 2 3 4 5 6; do
2970 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
2971 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2972 # Solaris 8's {/usr,}/bin/sh.
2973 touch sub
/conftst
$i.h
2975 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2979 # after this tag, mechanisms are not by side-effect, so they'll
2980 # only be used when explicitly requested
2981 if test "x$enable_dependency_tracking" = xyes
; then
2989 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2990 # mode. It turns out that the SunPro C++ compiler does not properly
2991 # handle `-M -o', and we need to detect this.
2992 if depmode
=$depmode \
2993 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
2994 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
2995 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
2996 >/dev
/null
2>conftest.err
&&
2997 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
2998 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
2999 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3000 # icc doesn't choke on unknown options, it will just issue warnings
3001 # or remarks (even with -Werror). So we grep stderr for any message
3002 # that says an option was ignored or not supported.
3003 # When given -MP, icc 7.0 and 7.1 complain thusly:
3004 # icc: Command line warning: ignoring option '-M'; no argument required
3005 # The diagnosis changed in icc 8.0:
3006 # icc: Command line remark: option '-MP' not supported
3007 if (grep 'ignoring option' conftest.err ||
3008 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3009 am_cv_CC_dependencies_compiler_type
=$depmode
3018 am_cv_CC_dependencies_compiler_type
=none
3022 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3023 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3024 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3029 test "x$enable_dependency_tracking" != xno \
3030 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3032 am__fastdepCC_FALSE
='#'
3034 am__fastdepCC_TRUE
='#'
3035 am__fastdepCC_FALSE
=
3043 if test "x$GCC" != "xyes"; then
3044 { { echo "$as_me:$LINENO: error: libmudflap must be built with GCC" >&5
3045 echo "$as_me: error: libmudflap must be built with GCC" >&2;}
3046 { (exit 1); exit 1; }; }
3049 ac_cpp
='$CPP $CPPFLAGS'
3050 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3051 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3052 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3053 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3054 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3055 # On Suns, sometimes $CPP names a directory.
3056 if test -n "$CPP" && test -d "$CPP"; then
3059 if test -z "$CPP"; then
3060 if test "${ac_cv_prog_CPP+set}" = set; then
3061 echo $ECHO_N "(cached) $ECHO_C" >&6
3063 # Double quotes because CPP needs to be expanded
3064 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3067 for ac_c_preproc_warn_flag
in '' yes
3069 # Use a header file that comes with gcc, so configuring glibc
3070 # with a fresh cross-compiler works.
3071 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3072 # <limits.h> exists even on freestanding compilers.
3073 # On the NeXT, cc -E runs the code through the compiler's parser,
3074 # not just through cpp. "Syntax error" is here to catch this case.
3075 cat >conftest.
$ac_ext <<_ACEOF
3078 cat confdefs.h
>>conftest.
$ac_ext
3079 cat >>conftest.
$ac_ext <<_ACEOF
3080 /* end confdefs.h. */
3082 # include <limits.h>
3084 # include <assert.h>
3088 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3089 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3091 grep -v '^ *+' conftest.er1
>conftest.err
3093 cat conftest.err
>&5
3094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3095 (exit $ac_status); } >/dev
/null
; then
3096 if test -s conftest.err
; then
3097 ac_cpp_err
=$ac_c_preproc_warn_flag
3098 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3105 if test -z "$ac_cpp_err"; then
3108 echo "$as_me: failed program was:" >&5
3109 sed 's/^/| /' conftest.
$ac_ext >&5
3111 # Broken: fails on valid input.
3114 rm -f conftest.err conftest.
$ac_ext
3116 # OK, works on sane cases. Now check whether non-existent headers
3117 # can be detected and how.
3118 cat >conftest.
$ac_ext <<_ACEOF
3121 cat confdefs.h
>>conftest.
$ac_ext
3122 cat >>conftest.
$ac_ext <<_ACEOF
3123 /* end confdefs.h. */
3124 #include <ac_nonexistent.h>
3126 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3127 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3129 grep -v '^ *+' conftest.er1
>conftest.err
3131 cat conftest.err
>&5
3132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3133 (exit $ac_status); } >/dev
/null
; then
3134 if test -s conftest.err
; then
3135 ac_cpp_err
=$ac_c_preproc_warn_flag
3136 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3143 if test -z "$ac_cpp_err"; then
3144 # Broken: success on invalid input.
3147 echo "$as_me: failed program was:" >&5
3148 sed 's/^/| /' conftest.
$ac_ext >&5
3150 # Passes both tests.
3154 rm -f conftest.err conftest.
$ac_ext
3157 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3158 rm -f conftest.err conftest.
$ac_ext
3159 if $ac_preproc_ok; then
3171 echo "$as_me:$LINENO: result: $CPP" >&5
3172 echo "${ECHO_T}$CPP" >&6
3174 for ac_c_preproc_warn_flag
in '' yes
3176 # Use a header file that comes with gcc, so configuring glibc
3177 # with a fresh cross-compiler works.
3178 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3179 # <limits.h> exists even on freestanding compilers.
3180 # On the NeXT, cc -E runs the code through the compiler's parser,
3181 # not just through cpp. "Syntax error" is here to catch this case.
3182 cat >conftest.
$ac_ext <<_ACEOF
3185 cat confdefs.h
>>conftest.
$ac_ext
3186 cat >>conftest.
$ac_ext <<_ACEOF
3187 /* end confdefs.h. */
3189 # include <limits.h>
3191 # include <assert.h>
3195 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3196 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3198 grep -v '^ *+' conftest.er1
>conftest.err
3200 cat conftest.err
>&5
3201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3202 (exit $ac_status); } >/dev
/null
; then
3203 if test -s conftest.err
; then
3204 ac_cpp_err
=$ac_c_preproc_warn_flag
3205 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3212 if test -z "$ac_cpp_err"; then
3215 echo "$as_me: failed program was:" >&5
3216 sed 's/^/| /' conftest.
$ac_ext >&5
3218 # Broken: fails on valid input.
3221 rm -f conftest.err conftest.
$ac_ext
3223 # OK, works on sane cases. Now check whether non-existent headers
3224 # can be detected and how.
3225 cat >conftest.
$ac_ext <<_ACEOF
3228 cat confdefs.h
>>conftest.
$ac_ext
3229 cat >>conftest.
$ac_ext <<_ACEOF
3230 /* end confdefs.h. */
3231 #include <ac_nonexistent.h>
3233 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3234 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3236 grep -v '^ *+' conftest.er1
>conftest.err
3238 cat conftest.err
>&5
3239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3240 (exit $ac_status); } >/dev
/null
; then
3241 if test -s conftest.err
; then
3242 ac_cpp_err
=$ac_c_preproc_warn_flag
3243 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3250 if test -z "$ac_cpp_err"; then
3251 # Broken: success on invalid input.
3254 echo "$as_me: failed program was:" >&5
3255 sed 's/^/| /' conftest.
$ac_ext >&5
3257 # Passes both tests.
3261 rm -f conftest.err conftest.
$ac_ext
3264 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3265 rm -f conftest.err conftest.
$ac_ext
3266 if $ac_preproc_ok; then
3269 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3270 See \`config.log' for more details." >&5
3271 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3272 See \`config.log' for more details." >&2;}
3273 { (exit 1); exit 1; }; }
3277 ac_cpp
='$CPP $CPPFLAGS'
3278 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3279 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3280 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3283 # Some hosts don't have dlsym(RTLD_NEXT, "symbol") for use in
3284 # symbol interposition. We disable shared libraries for these.
3285 echo "$as_me:$LINENO: checking whether dlsym(RTLD_NEXT,...) is available" >&5
3286 echo $ECHO_N "checking whether dlsym(RTLD_NEXT,...) is available... $ECHO_C" >&6
3288 cat >conftest.
$ac_ext <<_ACEOF
3291 cat confdefs.h
>>conftest.
$ac_ext
3292 cat >>conftest.
$ac_ext <<_ACEOF
3293 /* end confdefs.h. */
3301 void *foo = dlsym (RTLD_NEXT, "exit");
3306 rm -f conftest.
$ac_objext
3307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3308 (eval $ac_compile) 2>conftest.er1
3310 grep -v '^ *+' conftest.er1
>conftest.err
3312 cat conftest.err
>&5
3313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3314 (exit $ac_status); } &&
3315 { ac_try
='test -z "$ac_c_werror_flag"
3316 || test ! -s conftest.err'
3317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3321 (exit $ac_status); }; } &&
3322 { ac_try
='test -s conftest.$ac_objext'
3323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3327 (exit $ac_status); }; }; then
3328 echo "$as_me:$LINENO: result: yes" >&5
3329 echo "${ECHO_T}yes" >&6
3331 echo "$as_me: failed program was:" >&5
3332 sed 's/^/| /' conftest.
$ac_ext >&5
3334 echo "$as_me:$LINENO: result: no" >&5
3335 echo "${ECHO_T}no" >&6
3338 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3341 echo "$as_me:$LINENO: checking for egrep" >&5
3342 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3343 if test "${ac_cv_prog_egrep+set}" = set; then
3344 echo $ECHO_N "(cached) $ECHO_C" >&6
3346 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3347 then ac_cv_prog_egrep
='grep -E'
3348 else ac_cv_prog_egrep
='egrep'
3351 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3352 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3353 EGREP
=$ac_cv_prog_egrep
3356 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3357 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3358 if test "${ac_cv_header_stdc+set}" = set; then
3359 echo $ECHO_N "(cached) $ECHO_C" >&6
3361 cat >conftest.
$ac_ext <<_ACEOF
3364 cat confdefs.h
>>conftest.
$ac_ext
3365 cat >>conftest.
$ac_ext <<_ACEOF
3366 /* end confdefs.h. */
3380 rm -f conftest.
$ac_objext
3381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3382 (eval $ac_compile) 2>conftest.er1
3384 grep -v '^ *+' conftest.er1
>conftest.err
3386 cat conftest.err
>&5
3387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3388 (exit $ac_status); } &&
3389 { ac_try
='test -z "$ac_c_werror_flag"
3390 || test ! -s conftest.err'
3391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3395 (exit $ac_status); }; } &&
3396 { ac_try
='test -s conftest.$ac_objext'
3397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3401 (exit $ac_status); }; }; then
3402 ac_cv_header_stdc
=yes
3404 echo "$as_me: failed program was:" >&5
3405 sed 's/^/| /' conftest.
$ac_ext >&5
3407 ac_cv_header_stdc
=no
3409 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3411 if test $ac_cv_header_stdc = yes; then
3412 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3413 cat >conftest.
$ac_ext <<_ACEOF
3416 cat confdefs.h
>>conftest.
$ac_ext
3417 cat >>conftest.
$ac_ext <<_ACEOF
3418 /* end confdefs.h. */
3422 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3423 $EGREP "memchr" >/dev
/null
2>&1; then
3426 ac_cv_header_stdc
=no
3432 if test $ac_cv_header_stdc = yes; then
3433 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3434 cat >conftest.
$ac_ext <<_ACEOF
3437 cat confdefs.h
>>conftest.
$ac_ext
3438 cat >>conftest.
$ac_ext <<_ACEOF
3439 /* end confdefs.h. */
3443 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3444 $EGREP "free" >/dev
/null
2>&1; then
3447 ac_cv_header_stdc
=no
3453 if test $ac_cv_header_stdc = yes; then
3454 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3455 if test "$cross_compiling" = yes; then
3458 cat >conftest.
$ac_ext <<_ACEOF
3461 cat confdefs.h
>>conftest.
$ac_ext
3462 cat >>conftest.
$ac_ext <<_ACEOF
3463 /* end confdefs.h. */
3465 #if ((' ' & 0x0FF) == 0x020)
3466 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3467 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3469 # define ISLOWER(c) \
3470 (('a' <= (c) && (c) <= 'i') \
3471 || ('j' <= (c) && (c) <= 'r') \
3472 || ('s' <= (c) && (c) <= 'z'))
3473 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3476 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3481 for (i = 0; i < 256; i++)
3482 if (XOR (islower (i), ISLOWER (i))
3483 || toupper (i) != TOUPPER (i))
3488 rm -f conftest
$ac_exeext
3489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3490 (eval $ac_link) 2>&5
3492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3493 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3498 (exit $ac_status); }; }; then
3501 echo "$as_me: program exited with status $ac_status" >&5
3502 echo "$as_me: failed program was:" >&5
3503 sed 's/^/| /' conftest.
$ac_ext >&5
3506 ac_cv_header_stdc
=no
3508 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3512 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3513 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3514 if test $ac_cv_header_stdc = yes; then
3516 cat >>confdefs.h
<<\_ACEOF
3517 #define STDC_HEADERS 1
3522 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3532 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3533 inttypes.h stdint.h unistd.h
3535 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3536 echo "$as_me:$LINENO: checking for $ac_header" >&5
3537 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3538 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3539 echo $ECHO_N "(cached) $ECHO_C" >&6
3541 cat >conftest.
$ac_ext <<_ACEOF
3544 cat confdefs.h
>>conftest.
$ac_ext
3545 cat >>conftest.
$ac_ext <<_ACEOF
3546 /* end confdefs.h. */
3547 $ac_includes_default
3549 #include <$ac_header>
3551 rm -f conftest.
$ac_objext
3552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3553 (eval $ac_compile) 2>conftest.er1
3555 grep -v '^ *+' conftest.er1
>conftest.err
3557 cat conftest.err
>&5
3558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3559 (exit $ac_status); } &&
3560 { ac_try
='test -z "$ac_c_werror_flag"
3561 || test ! -s conftest.err'
3562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3566 (exit $ac_status); }; } &&
3567 { ac_try
='test -s conftest.$ac_objext'
3568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3572 (exit $ac_status); }; }; then
3573 eval "$as_ac_Header=yes"
3575 echo "$as_me: failed program was:" >&5
3576 sed 's/^/| /' conftest.
$ac_ext >&5
3578 eval "$as_ac_Header=no"
3580 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3582 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3583 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3584 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3585 cat >>confdefs.h
<<_ACEOF
3586 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3613 for ac_header
in stdint.h execinfo.h signal.h dlfcn.h dirent.h
pwd.h grp.h \
3614 netdb.h sys
/ipc.h sys
/sem.h sys
/shm.h sys
/wait.h ctype.h mntent.h \
3615 sys
/socket.h netinet
/in.h arpa
/inet.h dlfcn.h sys
/mman.h
3617 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3618 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3619 echo "$as_me:$LINENO: checking for $ac_header" >&5
3620 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3621 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3622 echo $ECHO_N "(cached) $ECHO_C" >&6
3624 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3625 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3627 # Is the header compilable?
3628 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3629 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3630 cat >conftest.
$ac_ext <<_ACEOF
3633 cat confdefs.h
>>conftest.
$ac_ext
3634 cat >>conftest.
$ac_ext <<_ACEOF
3635 /* end confdefs.h. */
3636 $ac_includes_default
3637 #include <$ac_header>
3639 rm -f conftest.
$ac_objext
3640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3641 (eval $ac_compile) 2>conftest.er1
3643 grep -v '^ *+' conftest.er1
>conftest.err
3645 cat conftest.err
>&5
3646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3647 (exit $ac_status); } &&
3648 { ac_try
='test -z "$ac_c_werror_flag"
3649 || test ! -s conftest.err'
3650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3654 (exit $ac_status); }; } &&
3655 { ac_try
='test -s conftest.$ac_objext'
3656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3660 (exit $ac_status); }; }; then
3661 ac_header_compiler
=yes
3663 echo "$as_me: failed program was:" >&5
3664 sed 's/^/| /' conftest.
$ac_ext >&5
3666 ac_header_compiler
=no
3668 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3669 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3670 echo "${ECHO_T}$ac_header_compiler" >&6
3672 # Is the header present?
3673 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3674 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3675 cat >conftest.
$ac_ext <<_ACEOF
3678 cat confdefs.h
>>conftest.
$ac_ext
3679 cat >>conftest.
$ac_ext <<_ACEOF
3680 /* end confdefs.h. */
3681 #include <$ac_header>
3683 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3684 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3686 grep -v '^ *+' conftest.er1
>conftest.err
3688 cat conftest.err
>&5
3689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3690 (exit $ac_status); } >/dev
/null
; then
3691 if test -s conftest.err
; then
3692 ac_cpp_err
=$ac_c_preproc_warn_flag
3693 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3700 if test -z "$ac_cpp_err"; then
3701 ac_header_preproc
=yes
3703 echo "$as_me: failed program was:" >&5
3704 sed 's/^/| /' conftest.
$ac_ext >&5
3706 ac_header_preproc
=no
3708 rm -f conftest.err conftest.
$ac_ext
3709 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3710 echo "${ECHO_T}$ac_header_preproc" >&6
3712 # So? What about this header?
3713 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3715 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3716 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3717 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3718 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3719 ac_header_preproc
=yes
3722 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3723 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3724 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3725 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3726 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3727 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3728 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3729 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3730 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3731 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3732 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3733 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3736 ## ------------------------------------- ##
3737 ## Report this to the libmudflap lists. ##
3738 ## ------------------------------------- ##
3741 sed "s/^/$as_me: WARNING: /" >&2
3744 echo "$as_me:$LINENO: checking for $ac_header" >&5
3745 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3746 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3747 echo $ECHO_N "(cached) $ECHO_C" >&6
3749 eval "$as_ac_Header=\$ac_header_preproc"
3751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3752 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3755 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3756 cat >>confdefs.h
<<_ACEOF
3757 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3769 for ac_func
in backtrace backtrace_symbols gettimeofday signal
3771 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3772 echo "$as_me:$LINENO: checking for $ac_func" >&5
3773 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3774 if eval "test \"\${$as_ac_var+set}\" = set"; then
3775 echo $ECHO_N "(cached) $ECHO_C" >&6
3777 cat >conftest.
$ac_ext <<_ACEOF
3780 cat confdefs.h
>>conftest.
$ac_ext
3781 cat >>conftest.
$ac_ext <<_ACEOF
3782 /* end confdefs.h. */
3783 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3784 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3785 #define $ac_func innocuous_$ac_func
3787 /* System header to define __stub macros and hopefully few prototypes,
3788 which can conflict with char $ac_func (); below.
3789 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3790 <limits.h> exists even on freestanding compilers. */
3793 # include <limits.h>
3795 # include <assert.h>
3800 /* Override any gcc2 internal prototype to avoid an error. */
3805 /* We use char because int might match the return type of a gcc2
3806 builtin and then its argument prototype would still apply. */
3808 /* The GNU C library defines this for functions which it implements
3809 to always fail with ENOSYS. Some functions are actually named
3810 something starting with __ and the normal name is an alias. */
3811 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3814 char (*f) () = $ac_func;
3823 return f != $ac_func;
3828 rm -f conftest.
$ac_objext conftest
$ac_exeext
3829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3830 (eval $ac_link) 2>conftest.er1
3832 grep -v '^ *+' conftest.er1
>conftest.err
3834 cat conftest.err
>&5
3835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3836 (exit $ac_status); } &&
3837 { ac_try
='test -z "$ac_c_werror_flag"
3838 || test ! -s conftest.err'
3839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3843 (exit $ac_status); }; } &&
3844 { ac_try
='test -s conftest$ac_exeext'
3845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3849 (exit $ac_status); }; }; then
3850 eval "$as_ac_var=yes"
3852 echo "$as_me: failed program was:" >&5
3853 sed 's/^/| /' conftest.
$ac_ext >&5
3855 eval "$as_ac_var=no"
3857 rm -f conftest.err conftest.
$ac_objext \
3858 conftest
$ac_exeext conftest.
$ac_ext
3860 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3861 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3862 if test `eval echo '${'$as_ac_var'}'` = yes; then
3863 cat >>confdefs.h
<<_ACEOF
3864 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3875 for ac_func
in fopen64 fseeko64 ftello64 stat64 freopen64
3877 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3878 echo "$as_me:$LINENO: checking for $ac_func" >&5
3879 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3880 if eval "test \"\${$as_ac_var+set}\" = set"; then
3881 echo $ECHO_N "(cached) $ECHO_C" >&6
3883 cat >conftest.
$ac_ext <<_ACEOF
3886 cat confdefs.h
>>conftest.
$ac_ext
3887 cat >>conftest.
$ac_ext <<_ACEOF
3888 /* end confdefs.h. */
3889 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3890 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3891 #define $ac_func innocuous_$ac_func
3893 /* System header to define __stub macros and hopefully few prototypes,
3894 which can conflict with char $ac_func (); below.
3895 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3896 <limits.h> exists even on freestanding compilers. */
3899 # include <limits.h>
3901 # include <assert.h>
3906 /* Override any gcc2 internal prototype to avoid an error. */
3911 /* We use char because int might match the return type of a gcc2
3912 builtin and then its argument prototype would still apply. */
3914 /* The GNU C library defines this for functions which it implements
3915 to always fail with ENOSYS. Some functions are actually named
3916 something starting with __ and the normal name is an alias. */
3917 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3920 char (*f) () = $ac_func;
3929 return f != $ac_func;
3934 rm -f conftest.
$ac_objext conftest
$ac_exeext
3935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3936 (eval $ac_link) 2>conftest.er1
3938 grep -v '^ *+' conftest.er1
>conftest.err
3940 cat conftest.err
>&5
3941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3942 (exit $ac_status); } &&
3943 { ac_try
='test -z "$ac_c_werror_flag"
3944 || test ! -s conftest.err'
3945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3949 (exit $ac_status); }; } &&
3950 { ac_try
='test -s conftest$ac_exeext'
3951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3955 (exit $ac_status); }; }; then
3956 eval "$as_ac_var=yes"
3958 echo "$as_me: failed program was:" >&5
3959 sed 's/^/| /' conftest.
$ac_ext >&5
3961 eval "$as_ac_var=no"
3963 rm -f conftest.err conftest.
$ac_objext \
3964 conftest
$ac_exeext conftest.
$ac_ext
3966 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3967 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3968 if test `eval echo '${'$as_ac_var'}'` = yes; then
3969 cat >>confdefs.h
<<_ACEOF
3970 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3980 for ac_func
in setbuf setbuffer setlinebuf setvbuf
3982 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3983 echo "$as_me:$LINENO: checking for $ac_func" >&5
3984 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3985 if eval "test \"\${$as_ac_var+set}\" = set"; then
3986 echo $ECHO_N "(cached) $ECHO_C" >&6
3988 cat >conftest.
$ac_ext <<_ACEOF
3991 cat confdefs.h
>>conftest.
$ac_ext
3992 cat >>conftest.
$ac_ext <<_ACEOF
3993 /* end confdefs.h. */
3994 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3995 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3996 #define $ac_func innocuous_$ac_func
3998 /* System header to define __stub macros and hopefully few prototypes,
3999 which can conflict with char $ac_func (); below.
4000 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4001 <limits.h> exists even on freestanding compilers. */
4004 # include <limits.h>
4006 # include <assert.h>
4011 /* Override any gcc2 internal prototype to avoid an error. */
4016 /* We use char because int might match the return type of a gcc2
4017 builtin and then its argument prototype would still apply. */
4019 /* The GNU C library defines this for functions which it implements
4020 to always fail with ENOSYS. Some functions are actually named
4021 something starting with __ and the normal name is an alias. */
4022 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4025 char (*f) () = $ac_func;
4034 return f != $ac_func;
4039 rm -f conftest.
$ac_objext conftest
$ac_exeext
4040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4041 (eval $ac_link) 2>conftest.er1
4043 grep -v '^ *+' conftest.er1
>conftest.err
4045 cat conftest.err
>&5
4046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4047 (exit $ac_status); } &&
4048 { ac_try
='test -z "$ac_c_werror_flag"
4049 || test ! -s conftest.err'
4050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4054 (exit $ac_status); }; } &&
4055 { ac_try
='test -s conftest$ac_exeext'
4056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4060 (exit $ac_status); }; }; then
4061 eval "$as_ac_var=yes"
4063 echo "$as_me: failed program was:" >&5
4064 sed 's/^/| /' conftest.
$ac_ext >&5
4066 eval "$as_ac_var=no"
4068 rm -f conftest.err conftest.
$ac_objext \
4069 conftest
$ac_exeext conftest.
$ac_ext
4071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4072 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4073 if test `eval echo '${'$as_ac_var'}'` = yes; then
4074 cat >>confdefs.h
<<_ACEOF
4075 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4086 for ac_func
in strnlen memrchr strncpy memmem sethostname
4088 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4089 echo "$as_me:$LINENO: checking for $ac_func" >&5
4090 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4091 if eval "test \"\${$as_ac_var+set}\" = set"; then
4092 echo $ECHO_N "(cached) $ECHO_C" >&6
4094 cat >conftest.
$ac_ext <<_ACEOF
4097 cat confdefs.h
>>conftest.
$ac_ext
4098 cat >>conftest.
$ac_ext <<_ACEOF
4099 /* end confdefs.h. */
4100 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4101 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4102 #define $ac_func innocuous_$ac_func
4104 /* System header to define __stub macros and hopefully few prototypes,
4105 which can conflict with char $ac_func (); below.
4106 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4107 <limits.h> exists even on freestanding compilers. */
4110 # include <limits.h>
4112 # include <assert.h>
4117 /* Override any gcc2 internal prototype to avoid an error. */
4122 /* We use char because int might match the return type of a gcc2
4123 builtin and then its argument prototype would still apply. */
4125 /* The GNU C library defines this for functions which it implements
4126 to always fail with ENOSYS. Some functions are actually named
4127 something starting with __ and the normal name is an alias. */
4128 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4131 char (*f) () = $ac_func;
4140 return f != $ac_func;
4145 rm -f conftest.
$ac_objext conftest
$ac_exeext
4146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4147 (eval $ac_link) 2>conftest.er1
4149 grep -v '^ *+' conftest.er1
>conftest.err
4151 cat conftest.err
>&5
4152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4153 (exit $ac_status); } &&
4154 { ac_try
='test -z "$ac_c_werror_flag"
4155 || test ! -s conftest.err'
4156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4160 (exit $ac_status); }; } &&
4161 { ac_try
='test -s conftest$ac_exeext'
4162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4166 (exit $ac_status); }; }; then
4167 eval "$as_ac_var=yes"
4169 echo "$as_me: failed program was:" >&5
4170 sed 's/^/| /' conftest.
$ac_ext >&5
4172 eval "$as_ac_var=no"
4174 rm -f conftest.err conftest.
$ac_objext \
4175 conftest
$ac_exeext conftest.
$ac_ext
4177 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4178 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4179 if test `eval echo '${'$as_ac_var'}'` = yes; then
4180 cat >>confdefs.h
<<_ACEOF
4181 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4190 for ac_func
in __ctype_b_loc __ctype_tolower_loc __ctype_toupper_loc
4192 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4193 echo "$as_me:$LINENO: checking for $ac_func" >&5
4194 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4195 if eval "test \"\${$as_ac_var+set}\" = set"; then
4196 echo $ECHO_N "(cached) $ECHO_C" >&6
4198 cat >conftest.
$ac_ext <<_ACEOF
4201 cat confdefs.h
>>conftest.
$ac_ext
4202 cat >>conftest.
$ac_ext <<_ACEOF
4203 /* end confdefs.h. */
4204 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4205 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4206 #define $ac_func innocuous_$ac_func
4208 /* System header to define __stub macros and hopefully few prototypes,
4209 which can conflict with char $ac_func (); below.
4210 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4211 <limits.h> exists even on freestanding compilers. */
4214 # include <limits.h>
4216 # include <assert.h>
4221 /* Override any gcc2 internal prototype to avoid an error. */
4226 /* We use char because int might match the return type of a gcc2
4227 builtin and then its argument prototype would still apply. */
4229 /* The GNU C library defines this for functions which it implements
4230 to always fail with ENOSYS. Some functions are actually named
4231 something starting with __ and the normal name is an alias. */
4232 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4235 char (*f) () = $ac_func;
4244 return f != $ac_func;
4249 rm -f conftest.
$ac_objext conftest
$ac_exeext
4250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4251 (eval $ac_link) 2>conftest.er1
4253 grep -v '^ *+' conftest.er1
>conftest.err
4255 cat conftest.err
>&5
4256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4257 (exit $ac_status); } &&
4258 { ac_try
='test -z "$ac_c_werror_flag"
4259 || test ! -s conftest.err'
4260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4264 (exit $ac_status); }; } &&
4265 { ac_try
='test -s conftest$ac_exeext'
4266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4270 (exit $ac_status); }; }; then
4271 eval "$as_ac_var=yes"
4273 echo "$as_me: failed program was:" >&5
4274 sed 's/^/| /' conftest.
$ac_ext >&5
4276 eval "$as_ac_var=no"
4278 rm -f conftest.err conftest.
$ac_objext \
4279 conftest
$ac_exeext conftest.
$ac_ext
4281 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4282 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4283 if test `eval echo '${'$as_ac_var'}'` = yes; then
4284 cat >>confdefs.h
<<_ACEOF
4285 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4299 for ac_func
in getlogin cuserid getpwnam getpwuid getpwent getgrnam getgrgid getgrent
4301 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4302 echo "$as_me:$LINENO: checking for $ac_func" >&5
4303 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4304 if eval "test \"\${$as_ac_var+set}\" = set"; then
4305 echo $ECHO_N "(cached) $ECHO_C" >&6
4307 cat >conftest.
$ac_ext <<_ACEOF
4310 cat confdefs.h
>>conftest.
$ac_ext
4311 cat >>conftest.
$ac_ext <<_ACEOF
4312 /* end confdefs.h. */
4313 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4314 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4315 #define $ac_func innocuous_$ac_func
4317 /* System header to define __stub macros and hopefully few prototypes,
4318 which can conflict with char $ac_func (); below.
4319 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4320 <limits.h> exists even on freestanding compilers. */
4323 # include <limits.h>
4325 # include <assert.h>
4330 /* Override any gcc2 internal prototype to avoid an error. */
4335 /* We use char because int might match the return type of a gcc2
4336 builtin and then its argument prototype would still apply. */
4338 /* The GNU C library defines this for functions which it implements
4339 to always fail with ENOSYS. Some functions are actually named
4340 something starting with __ and the normal name is an alias. */
4341 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4344 char (*f) () = $ac_func;
4353 return f != $ac_func;
4358 rm -f conftest.
$ac_objext conftest
$ac_exeext
4359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4360 (eval $ac_link) 2>conftest.er1
4362 grep -v '^ *+' conftest.er1
>conftest.err
4364 cat conftest.err
>&5
4365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4366 (exit $ac_status); } &&
4367 { ac_try
='test -z "$ac_c_werror_flag"
4368 || test ! -s conftest.err'
4369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4373 (exit $ac_status); }; } &&
4374 { ac_try
='test -s conftest$ac_exeext'
4375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4379 (exit $ac_status); }; }; then
4380 eval "$as_ac_var=yes"
4382 echo "$as_me: failed program was:" >&5
4383 sed 's/^/| /' conftest.
$ac_ext >&5
4385 eval "$as_ac_var=no"
4387 rm -f conftest.err conftest.
$ac_objext \
4388 conftest
$ac_exeext conftest.
$ac_ext
4390 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4391 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4392 if test `eval echo '${'$as_ac_var'}'` = yes; then
4393 cat >>confdefs.h
<<_ACEOF
4394 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4405 for ac_func
in getlogin_r getpwnam_r getpwuid_r getgrnam_r getgrgid_r
4407 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4408 echo "$as_me:$LINENO: checking for $ac_func" >&5
4409 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4410 if eval "test \"\${$as_ac_var+set}\" = set"; then
4411 echo $ECHO_N "(cached) $ECHO_C" >&6
4413 cat >conftest.
$ac_ext <<_ACEOF
4416 cat confdefs.h
>>conftest.
$ac_ext
4417 cat >>conftest.
$ac_ext <<_ACEOF
4418 /* end confdefs.h. */
4419 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4420 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4421 #define $ac_func innocuous_$ac_func
4423 /* System header to define __stub macros and hopefully few prototypes,
4424 which can conflict with char $ac_func (); below.
4425 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4426 <limits.h> exists even on freestanding compilers. */
4429 # include <limits.h>
4431 # include <assert.h>
4436 /* Override any gcc2 internal prototype to avoid an error. */
4441 /* We use char because int might match the return type of a gcc2
4442 builtin and then its argument prototype would still apply. */
4444 /* The GNU C library defines this for functions which it implements
4445 to always fail with ENOSYS. Some functions are actually named
4446 something starting with __ and the normal name is an alias. */
4447 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4450 char (*f) () = $ac_func;
4459 return f != $ac_func;
4464 rm -f conftest.
$ac_objext conftest
$ac_exeext
4465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4466 (eval $ac_link) 2>conftest.er1
4468 grep -v '^ *+' conftest.er1
>conftest.err
4470 cat conftest.err
>&5
4471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4472 (exit $ac_status); } &&
4473 { ac_try
='test -z "$ac_c_werror_flag"
4474 || test ! -s conftest.err'
4475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4479 (exit $ac_status); }; } &&
4480 { ac_try
='test -s conftest$ac_exeext'
4481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4485 (exit $ac_status); }; }; then
4486 eval "$as_ac_var=yes"
4488 echo "$as_me: failed program was:" >&5
4489 sed 's/^/| /' conftest.
$ac_ext >&5
4491 eval "$as_ac_var=no"
4493 rm -f conftest.err conftest.
$ac_objext \
4494 conftest
$ac_exeext conftest.
$ac_ext
4496 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4497 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4498 if test `eval echo '${'$as_ac_var'}'` = yes; then
4499 cat >>confdefs.h
<<_ACEOF
4500 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4511 for ac_func
in getservent getservbyname getservbyport getaddrinfo gai_strerror
4513 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4514 echo "$as_me:$LINENO: checking for $ac_func" >&5
4515 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4516 if eval "test \"\${$as_ac_var+set}\" = set"; then
4517 echo $ECHO_N "(cached) $ECHO_C" >&6
4519 cat >conftest.
$ac_ext <<_ACEOF
4522 cat confdefs.h
>>conftest.
$ac_ext
4523 cat >>conftest.
$ac_ext <<_ACEOF
4524 /* end confdefs.h. */
4525 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4526 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4527 #define $ac_func innocuous_$ac_func
4529 /* System header to define __stub macros and hopefully few prototypes,
4530 which can conflict with char $ac_func (); below.
4531 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4532 <limits.h> exists even on freestanding compilers. */
4535 # include <limits.h>
4537 # include <assert.h>
4542 /* Override any gcc2 internal prototype to avoid an error. */
4547 /* We use char because int might match the return type of a gcc2
4548 builtin and then its argument prototype would still apply. */
4550 /* The GNU C library defines this for functions which it implements
4551 to always fail with ENOSYS. Some functions are actually named
4552 something starting with __ and the normal name is an alias. */
4553 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4556 char (*f) () = $ac_func;
4565 return f != $ac_func;
4570 rm -f conftest.
$ac_objext conftest
$ac_exeext
4571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4572 (eval $ac_link) 2>conftest.er1
4574 grep -v '^ *+' conftest.er1
>conftest.err
4576 cat conftest.err
>&5
4577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4578 (exit $ac_status); } &&
4579 { ac_try
='test -z "$ac_c_werror_flag"
4580 || test ! -s conftest.err'
4581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4585 (exit $ac_status); }; } &&
4586 { ac_try
='test -s conftest$ac_exeext'
4587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4591 (exit $ac_status); }; }; then
4592 eval "$as_ac_var=yes"
4594 echo "$as_me: failed program was:" >&5
4595 sed 's/^/| /' conftest.
$ac_ext >&5
4597 eval "$as_ac_var=no"
4599 rm -f conftest.err conftest.
$ac_objext \
4600 conftest
$ac_exeext conftest.
$ac_ext
4602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4603 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4604 if test `eval echo '${'$as_ac_var'}'` = yes; then
4605 cat >>confdefs.h
<<_ACEOF
4606 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4615 for ac_func
in getprotoent getprotobyname getprotobynumber
4617 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4618 echo "$as_me:$LINENO: checking for $ac_func" >&5
4619 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4620 if eval "test \"\${$as_ac_var+set}\" = set"; then
4621 echo $ECHO_N "(cached) $ECHO_C" >&6
4623 cat >conftest.
$ac_ext <<_ACEOF
4626 cat confdefs.h
>>conftest.
$ac_ext
4627 cat >>conftest.
$ac_ext <<_ACEOF
4628 /* end confdefs.h. */
4629 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4630 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4631 #define $ac_func innocuous_$ac_func
4633 /* System header to define __stub macros and hopefully few prototypes,
4634 which can conflict with char $ac_func (); below.
4635 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4636 <limits.h> exists even on freestanding compilers. */
4639 # include <limits.h>
4641 # include <assert.h>
4646 /* Override any gcc2 internal prototype to avoid an error. */
4651 /* We use char because int might match the return type of a gcc2
4652 builtin and then its argument prototype would still apply. */
4654 /* The GNU C library defines this for functions which it implements
4655 to always fail with ENOSYS. Some functions are actually named
4656 something starting with __ and the normal name is an alias. */
4657 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4660 char (*f) () = $ac_func;
4669 return f != $ac_func;
4674 rm -f conftest.
$ac_objext conftest
$ac_exeext
4675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4676 (eval $ac_link) 2>conftest.er1
4678 grep -v '^ *+' conftest.er1
>conftest.err
4680 cat conftest.err
>&5
4681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4682 (exit $ac_status); } &&
4683 { ac_try
='test -z "$ac_c_werror_flag"
4684 || test ! -s conftest.err'
4685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4689 (exit $ac_status); }; } &&
4690 { ac_try
='test -s conftest$ac_exeext'
4691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4695 (exit $ac_status); }; }; then
4696 eval "$as_ac_var=yes"
4698 echo "$as_me: failed program was:" >&5
4699 sed 's/^/| /' conftest.
$ac_ext >&5
4701 eval "$as_ac_var=no"
4703 rm -f conftest.err conftest.
$ac_objext \
4704 conftest
$ac_exeext conftest.
$ac_ext
4706 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4707 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4708 if test `eval echo '${'$as_ac_var'}'` = yes; then
4709 cat >>confdefs.h
<<_ACEOF
4710 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4719 for ac_func
in getmntent setmntent addmntent
4721 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4722 echo "$as_me:$LINENO: checking for $ac_func" >&5
4723 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4724 if eval "test \"\${$as_ac_var+set}\" = set"; then
4725 echo $ECHO_N "(cached) $ECHO_C" >&6
4727 cat >conftest.
$ac_ext <<_ACEOF
4730 cat confdefs.h
>>conftest.
$ac_ext
4731 cat >>conftest.
$ac_ext <<_ACEOF
4732 /* end confdefs.h. */
4733 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4734 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4735 #define $ac_func innocuous_$ac_func
4737 /* System header to define __stub macros and hopefully few prototypes,
4738 which can conflict with char $ac_func (); below.
4739 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4740 <limits.h> exists even on freestanding compilers. */
4743 # include <limits.h>
4745 # include <assert.h>
4750 /* Override any gcc2 internal prototype to avoid an error. */
4755 /* We use char because int might match the return type of a gcc2
4756 builtin and then its argument prototype would still apply. */
4758 /* The GNU C library defines this for functions which it implements
4759 to always fail with ENOSYS. Some functions are actually named
4760 something starting with __ and the normal name is an alias. */
4761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4764 char (*f) () = $ac_func;
4773 return f != $ac_func;
4778 rm -f conftest.
$ac_objext conftest
$ac_exeext
4779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4780 (eval $ac_link) 2>conftest.er1
4782 grep -v '^ *+' conftest.er1
>conftest.err
4784 cat conftest.err
>&5
4785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4786 (exit $ac_status); } &&
4787 { ac_try
='test -z "$ac_c_werror_flag"
4788 || test ! -s conftest.err'
4789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4793 (exit $ac_status); }; } &&
4794 { ac_try
='test -s conftest$ac_exeext'
4795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4799 (exit $ac_status); }; }; then
4800 eval "$as_ac_var=yes"
4802 echo "$as_me: failed program was:" >&5
4803 sed 's/^/| /' conftest.
$ac_ext >&5
4805 eval "$as_ac_var=no"
4807 rm -f conftest.err conftest.
$ac_objext \
4808 conftest
$ac_exeext conftest.
$ac_ext
4810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4811 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4812 if test `eval echo '${'$as_ac_var'}'` = yes; then
4813 cat >>confdefs.h
<<_ACEOF
4814 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4823 for ac_func
in inet_ntoa mmap munmap
4825 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4826 echo "$as_me:$LINENO: checking for $ac_func" >&5
4827 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4828 if eval "test \"\${$as_ac_var+set}\" = set"; then
4829 echo $ECHO_N "(cached) $ECHO_C" >&6
4831 cat >conftest.
$ac_ext <<_ACEOF
4834 cat confdefs.h
>>conftest.
$ac_ext
4835 cat >>conftest.
$ac_ext <<_ACEOF
4836 /* end confdefs.h. */
4837 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4838 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4839 #define $ac_func innocuous_$ac_func
4841 /* System header to define __stub macros and hopefully few prototypes,
4842 which can conflict with char $ac_func (); below.
4843 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4844 <limits.h> exists even on freestanding compilers. */
4847 # include <limits.h>
4849 # include <assert.h>
4854 /* Override any gcc2 internal prototype to avoid an error. */
4859 /* We use char because int might match the return type of a gcc2
4860 builtin and then its argument prototype would still apply. */
4862 /* The GNU C library defines this for functions which it implements
4863 to always fail with ENOSYS. Some functions are actually named
4864 something starting with __ and the normal name is an alias. */
4865 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4868 char (*f) () = $ac_func;
4877 return f != $ac_func;
4882 rm -f conftest.
$ac_objext conftest
$ac_exeext
4883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4884 (eval $ac_link) 2>conftest.er1
4886 grep -v '^ *+' conftest.er1
>conftest.err
4888 cat conftest.err
>&5
4889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4890 (exit $ac_status); } &&
4891 { ac_try
='test -z "$ac_c_werror_flag"
4892 || test ! -s conftest.err'
4893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4897 (exit $ac_status); }; } &&
4898 { ac_try
='test -s conftest$ac_exeext'
4899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4903 (exit $ac_status); }; }; then
4904 eval "$as_ac_var=yes"
4906 echo "$as_me: failed program was:" >&5
4907 sed 's/^/| /' conftest.
$ac_ext >&5
4909 eval "$as_ac_var=no"
4911 rm -f conftest.err conftest.
$ac_objext \
4912 conftest
$ac_exeext conftest.
$ac_ext
4914 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4915 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4916 if test `eval echo '${'$as_ac_var'}'` = yes; then
4917 cat >>confdefs.h
<<_ACEOF
4918 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4925 cat >conftest.
$ac_ext <<_ACEOF
4928 cat confdefs.h
>>conftest.
$ac_ext
4929 cat >>conftest.
$ac_ext <<_ACEOF
4930 /* end confdefs.h. */
4931 #include <sys/types.h>
4932 #include <sys/ipc.h>
4933 #include <sys/sem.h>
4942 rm -f conftest.
$ac_objext
4943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4944 (eval $ac_compile) 2>conftest.er1
4946 grep -v '^ *+' conftest.er1
>conftest.err
4948 cat conftest.err
>&5
4949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4950 (exit $ac_status); } &&
4951 { ac_try
='test -z "$ac_c_werror_flag"
4952 || test ! -s conftest.err'
4953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4957 (exit $ac_status); }; } &&
4958 { ac_try
='test -s conftest.$ac_objext'
4959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4963 (exit $ac_status); }; }; then
4966 echo "$as_me: failed program was:" >&5
4967 sed 's/^/| /' conftest.
$ac_ext >&5
4971 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4972 if test $mf_have_semun = 1
4975 cat >>confdefs.h
<<\_ACEOF
4976 #define HAVE_UNION_SEMUN 1
4982 echo "$as_me:$LINENO: checking for socklen_t in sys/socket.h" >&5
4983 echo $ECHO_N "checking for socklen_t in sys/socket.h... $ECHO_C" >&6
4984 cat >conftest.
$ac_ext <<_ACEOF
4987 cat confdefs.h
>>conftest.
$ac_ext
4988 cat >>conftest.
$ac_ext <<_ACEOF
4989 /* end confdefs.h. */
4990 #define _POSIX_PII_SOCKET
4991 #include <sys/types.h>
4992 #include <sys/socket.h>
5001 rm -f conftest.
$ac_objext
5002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5003 (eval $ac_compile) 2>conftest.er1
5005 grep -v '^ *+' conftest.er1
>conftest.err
5007 cat conftest.err
>&5
5008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5009 (exit $ac_status); } &&
5010 { ac_try
='test -z "$ac_c_werror_flag"
5011 || test ! -s conftest.err'
5012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5016 (exit $ac_status); }; } &&
5017 { ac_try
='test -s conftest.$ac_objext'
5018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5022 (exit $ac_status); }; }; then
5024 cat >>confdefs.h
<<\_ACEOF
5025 #define HAVE_SOCKLEN_T 1
5028 echo "$as_me:$LINENO: result: yes" >&5
5029 echo "${ECHO_T}yes" >&6
5031 echo "$as_me: failed program was:" >&5
5032 sed 's/^/| /' conftest.
$ac_ext >&5
5034 echo "$as_me:$LINENO: result: no" >&5
5035 echo "${ECHO_T}no" >&6
5037 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5040 # Check whether --enable-shared or --disable-shared was given.
5041 if test "${enable_shared+set}" = set; then
5042 enableval
="$enable_shared"
5043 p
=${PACKAGE-default}
5045 yes) enable_shared
=yes ;;
5046 no
) enable_shared
=no
;;
5049 # Look at the argument we got. We use all the common list separators.
5050 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
5051 for pkg
in $enableval; do
5052 if test "X$pkg" = "X$p"; then
5062 # Check whether --enable-static or --disable-static was given.
5063 if test "${enable_static+set}" = set; then
5064 enableval
="$enable_static"
5065 p
=${PACKAGE-default}
5067 yes) enable_static
=yes ;;
5068 no
) enable_static
=no
;;
5071 # Look at the argument we got. We use all the common list separators.
5072 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
5073 for pkg
in $enableval; do
5074 if test "X$pkg" = "X$p"; then
5084 # Check whether --enable-fast-install or --disable-fast-install was given.
5085 if test "${enable_fast_install+set}" = set; then
5086 enableval
="$enable_fast_install"
5087 p
=${PACKAGE-default}
5089 yes) enable_fast_install
=yes ;;
5090 no
) enable_fast_install
=no
;;
5092 enable_fast_install
=no
5093 # Look at the argument we got. We use all the common list separators.
5094 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
5095 for pkg
in $enableval; do
5096 if test "X$pkg" = "X$p"; then
5097 enable_fast_install
=yes
5104 enable_fast_install
=yes
5107 # Check whether --with-gnu-ld or --without-gnu-ld was given.
5108 if test "${with_gnu_ld+set}" = set; then
5109 withval
="$with_gnu_ld"
5110 test "$withval" = no || with_gnu_ld
=yes
5115 if test "$GCC" = yes; then
5116 # Check if gcc -print-prog-name=ld gives a path.
5117 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
5118 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
5121 # gcc leaves a trailing carriage return which upsets mingw
5122 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5124 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5127 # Accept absolute paths.
5128 [\\/]* |
[A-Za-z
]:[\\/]*)
5129 re_direlt
='/[^/][^/]*/\.\./'
5130 # Canonicalize the path of ld
5131 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
5132 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
5133 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
5135 test -z "$LD" && LD
="$ac_prog"
5138 # If it fails, then pretend we aren't using GCC.
5142 # If it is relative, then search for the first ld in PATH.
5146 elif test "$with_gnu_ld" = yes; then
5147 echo "$as_me:$LINENO: checking for GNU ld" >&5
5148 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
5150 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5151 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
5153 if test "${lt_cv_path_LD+set}" = set; then
5154 echo $ECHO_N "(cached) $ECHO_C" >&6
5156 if test -z "$LD"; then
5157 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5158 for ac_dir
in $PATH; do
5159 test -z "$ac_dir" && ac_dir
=.
5160 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5161 lt_cv_path_LD
="$ac_dir/$ac_prog"
5162 # Check to see if the program is GNU ld. I'd rather use --version,
5163 # but apparently some GNU ld's only accept -v.
5164 # Break only if it was the GNU/non-GNU ld that we prefer.
5165 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
5166 test "$with_gnu_ld" != no
&& break
5168 test "$with_gnu_ld" != yes && break
5174 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5179 if test -n "$LD"; then
5180 echo "$as_me:$LINENO: result: $LD" >&5
5181 echo "${ECHO_T}$LD" >&6
5183 echo "$as_me:$LINENO: result: no" >&5
5184 echo "${ECHO_T}no" >&6
5186 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5187 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5188 { (exit 1); exit 1; }; }
5189 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5190 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
5191 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5192 echo $ECHO_N "(cached) $ECHO_C" >&6
5194 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
5195 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
5196 lt_cv_prog_gnu_ld
=yes
5198 lt_cv_prog_gnu_ld
=no
5201 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5202 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
5203 with_gnu_ld
=$lt_cv_prog_gnu_ld
5206 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5207 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
5208 if test "${lt_cv_ld_reload_flag+set}" = set; then
5209 echo $ECHO_N "(cached) $ECHO_C" >&6
5211 lt_cv_ld_reload_flag
='-r'
5213 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5214 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
5215 reload_flag
=$lt_cv_ld_reload_flag
5216 test -n "$reload_flag" && reload_flag
=" $reload_flag"
5218 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
5219 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
5220 if test "${lt_cv_path_NM+set}" = set; then
5221 echo $ECHO_N "(cached) $ECHO_C" >&6
5223 if test -n "$NM"; then
5224 # Let the user override the test.
5227 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5228 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
5229 test -z "$ac_dir" && ac_dir
=.
5230 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
5231 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
5232 # Check to see if the nm accepts a BSD-compat flag.
5233 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5234 # nm: unknown option "B" ignored
5235 # Tru64's nm complains that /dev/null is an invalid object file
5236 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
5237 lt_cv_path_NM
="$tmp_nm -B"
5239 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
5240 lt_cv_path_NM
="$tmp_nm -p"
5243 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5244 continue # so that we can try to find one that supports BSD flags
5249 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
5254 echo "$as_me:$LINENO: result: $NM" >&5
5255 echo "${ECHO_T}$NM" >&6
5257 echo "$as_me:$LINENO: checking whether ln -s works" >&5
5258 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
5260 if test "$LN_S" = "ln -s"; then
5261 echo "$as_me:$LINENO: result: yes" >&5
5262 echo "${ECHO_T}yes" >&6
5264 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5265 echo "${ECHO_T}no, using $LN_S" >&6
5268 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
5269 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
5270 if test "${lt_cv_deplibs_check_method+set}" = set; then
5271 echo $ECHO_N "(cached) $ECHO_C" >&6
5273 lt_cv_file_magic_cmd
='$MAGIC_CMD'
5274 lt_cv_file_magic_test_file
=
5275 lt_cv_deplibs_check_method
='unknown'
5276 # Need to set the preceding variable on all platforms that support
5277 # interlibrary dependencies.
5278 # 'none' -- dependencies not supported.
5279 # `unknown' -- same as none, but documents that we really don't know.
5280 # 'pass_all' -- all dependencies passed with no checks.
5281 # 'test_compile' -- check by making test program.
5282 # 'file_magic [regex]' -- check by looking for files in library path
5283 # which responds to the $file_magic_cmd with a given egrep regex.
5284 # If you have `file' or equivalent on your system and you're not sure
5285 # whether `pass_all' will *always* work, you probably want this one.
5289 lt_cv_deplibs_check_method
=pass_all
5293 lt_cv_deplibs_check_method
=pass_all
5297 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5298 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5299 lt_cv_file_magic_test_file
=/shlib
/libc.so
5302 cygwin
* | mingw
* |pw32
*)
5303 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
5304 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5307 darwin
* | rhapsody
*)
5308 # this will be overwritten by pass_all, but leave it in just in case
5309 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
5310 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5312 rhapsody
* | darwin1.012
)
5313 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
5316 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
5319 lt_cv_deplibs_check_method
=pass_all
5322 freebsd
* | kfreebsd
*-gnu)
5323 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
5326 # Not sure whether the presence of OpenBSD here was a mistake.
5327 # Let's accept both of them until this is cleared up.
5328 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
5329 lt_cv_file_magic_cmd
=/usr
/bin
/file
5330 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
5334 lt_cv_deplibs_check_method
=pass_all
5339 lt_cv_deplibs_check_method
=pass_all
5345 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5346 lt_cv_file_magic_cmd
=/usr
/bin
/file
5347 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
5350 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5351 lt_cv_file_magic_cmd
=/usr
/bin
/file
5352 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
5360 # this will be overridden with pass_all, but let us keep it just in case
5361 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
5365 *-32|
*"-32 ") libmagic
=32-bit;;
5366 *-n32|
*"-n32 ") libmagic
=N32
;;
5367 *-64|
*"-64 ") libmagic
=64-bit;;
5368 *) libmagic
=never-match
;;
5370 # this will be overridden with pass_all, but let us keep it just in case
5371 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
5374 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
5375 lt_cv_deplibs_check_method
=pass_all
5378 # This must be Linux ELF.
5380 lt_cv_deplibs_check_method
=pass_all
5383 netbsd
* | knetbsd
*-gnu)
5384 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
5385 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
5387 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
5392 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5393 lt_cv_file_magic_cmd
=/usr
/bin
/file
5394 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
5397 osf3
* | osf4
* | osf5
*)
5398 # this will be overridden with pass_all, but let us keep it just in case
5399 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
5400 lt_cv_file_magic_test_file
=/shlib
/libc.so
5401 lt_cv_deplibs_check_method
=pass_all
5405 lt_cv_deplibs_check_method
=pass_all
5409 lt_cv_deplibs_check_method
=pass_all
5410 lt_cv_file_magic_test_file
=/lib
/libc.so
5413 sysv5uw
[78]* | sysv4
*uw2
*)
5414 lt_cv_deplibs_check_method
=pass_all
5417 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
5418 case $host_vendor in
5420 lt_cv_deplibs_check_method
=pass_all
5423 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]'
5424 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
5431 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5432 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5433 file_magic_cmd
=$lt_cv_file_magic_cmd
5434 deplibs_check_method
=$lt_cv_deplibs_check_method
5438 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5440 # find the maximum length of command line arguments
5441 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5442 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5443 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5444 echo $ECHO_N "(cached) $ECHO_C" >&6
5451 # On DJGPP, this test can blow up pretty badly due to problems in libc
5452 # (any single argument exceeding 2000 bytes causes a buffer overrun
5453 # during glob expansion). Even if it were fixed, the result of this
5454 # check would be larger than it should be.
5455 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5459 # On Win9x/ME, this test blows up -- it succeeds, but takes
5460 # about 5 minutes as the teststring grows exponentially.
5461 # Worse, since 9x/ME are not pre-emptively multitasking,
5462 # you end up with a "frozen" computer, even though with patience
5463 # the test eventually succeeds (with a max line length of 256k).
5464 # Instead, let's just punt: use the minimum linelength reported by
5465 # all of the supported platforms: 8192 (on NT/2K/XP).
5466 lt_cv_sys_max_cmd_len
=8192;
5470 # On AmigaOS with pdksh, this test takes hours, literally.
5471 # So we just punt and use a minimum line length of 8192.
5472 lt_cv_sys_max_cmd_len
=8192;
5475 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5476 # This has been around since 386BSD, at least. Likely further.
5477 if test -x /sbin
/sysctl
; then
5478 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5479 elif test -x /usr
/sbin
/sysctl
; then
5480 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5482 lt_cv_sys_max_cmd_len
=65536 # usable default for *BSD
5484 # And add a safety zone
5485 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5486 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5492 if test -n "$lt_cv_sys_max_cmd_len" ; then
5493 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5494 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5496 echo "$as_me:$LINENO: result: none" >&5
5497 echo "${ECHO_T}none" >&6
5501 # Only perform the check for file, if the check method requires it
5502 case $deplibs_check_method in
5504 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
5505 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
5506 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
5507 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5508 echo $ECHO_N "(cached) $ECHO_C" >&6
5512 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
5515 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
5518 ac_save_MAGIC_CMD
="$MAGIC_CMD"
5519 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5520 ac_dummy
="/usr/bin:$PATH"
5521 for ac_dir
in $ac_dummy; do
5522 test -z "$ac_dir" && ac_dir
=.
5523 if test -f $ac_dir/${ac_tool_prefix}file; then
5524 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
5525 if test -n "$file_magic_test_file"; then
5526 case $deplibs_check_method in
5528 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
5529 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
5530 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
5531 egrep "$file_magic_regex" > /dev
/null
; then
5536 *** Warning: the command libtool uses to detect shared libraries,
5537 *** $file_magic_cmd, produces output that libtool cannot recognize.
5538 *** The result is that libtool may fail to recognize shared libraries
5539 *** as such. This will affect the creation of libtool libraries that
5540 *** depend on shared libraries, but programs linked with such libtool
5541 *** libraries will work regardless of this problem. Nevertheless, you
5542 *** may want to report the problem to your system manager and/or to
5543 *** bug-libtool@gnu.org
5553 MAGIC_CMD
="$ac_save_MAGIC_CMD"
5558 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
5559 if test -n "$MAGIC_CMD"; then
5560 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5561 echo "${ECHO_T}$MAGIC_CMD" >&6
5563 echo "$as_me:$LINENO: result: no" >&5
5564 echo "${ECHO_T}no" >&6
5567 if test -z "$lt_cv_path_MAGIC_CMD"; then
5568 if test -n "$ac_tool_prefix"; then
5569 echo "$as_me:$LINENO: checking for file" >&5
5570 echo $ECHO_N "checking for file... $ECHO_C" >&6
5571 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5572 echo $ECHO_N "(cached) $ECHO_C" >&6
5576 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
5579 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
5582 ac_save_MAGIC_CMD
="$MAGIC_CMD"
5583 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5584 ac_dummy
="/usr/bin:$PATH"
5585 for ac_dir
in $ac_dummy; do
5586 test -z "$ac_dir" && ac_dir
=.
5587 if test -f $ac_dir/file; then
5588 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
5589 if test -n "$file_magic_test_file"; then
5590 case $deplibs_check_method in
5592 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
5593 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
5594 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
5595 egrep "$file_magic_regex" > /dev
/null
; then
5600 *** Warning: the command libtool uses to detect shared libraries,
5601 *** $file_magic_cmd, produces output that libtool cannot recognize.
5602 *** The result is that libtool may fail to recognize shared libraries
5603 *** as such. This will affect the creation of libtool libraries that
5604 *** depend on shared libraries, but programs linked with such libtool
5605 *** libraries will work regardless of this problem. Nevertheless, you
5606 *** may want to report the problem to your system manager and/or to
5607 *** bug-libtool@gnu.org
5617 MAGIC_CMD
="$ac_save_MAGIC_CMD"
5622 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
5623 if test -n "$MAGIC_CMD"; then
5624 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5625 echo "${ECHO_T}$MAGIC_CMD" >&6
5627 echo "$as_me:$LINENO: result: no" >&5
5628 echo "${ECHO_T}no" >&6
5640 if test -n "$ac_tool_prefix"; then
5641 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5642 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5643 echo "$as_me:$LINENO: checking for $ac_word" >&5
5644 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5645 if test "${ac_cv_prog_RANLIB+set}" = set; then
5646 echo $ECHO_N "(cached) $ECHO_C" >&6
5648 if test -n "$RANLIB"; then
5649 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5651 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5655 test -z "$as_dir" && as_dir
=.
5656 for ac_exec_ext
in '' $ac_executable_extensions; do
5657 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5658 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5659 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5667 RANLIB
=$ac_cv_prog_RANLIB
5668 if test -n "$RANLIB"; then
5669 echo "$as_me:$LINENO: result: $RANLIB" >&5
5670 echo "${ECHO_T}$RANLIB" >&6
5672 echo "$as_me:$LINENO: result: no" >&5
5673 echo "${ECHO_T}no" >&6
5677 if test -z "$ac_cv_prog_RANLIB"; then
5678 ac_ct_RANLIB
=$RANLIB
5679 # Extract the first word of "ranlib", so it can be a program name with args.
5680 set dummy ranlib
; ac_word
=$2
5681 echo "$as_me:$LINENO: checking for $ac_word" >&5
5682 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5683 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5684 echo $ECHO_N "(cached) $ECHO_C" >&6
5686 if test -n "$ac_ct_RANLIB"; then
5687 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5689 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5693 test -z "$as_dir" && as_dir
=.
5694 for ac_exec_ext
in '' $ac_executable_extensions; do
5695 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5696 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5697 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5703 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
5706 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5707 if test -n "$ac_ct_RANLIB"; then
5708 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5709 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5711 echo "$as_me:$LINENO: result: no" >&5
5712 echo "${ECHO_T}no" >&6
5715 RANLIB
=$ac_ct_RANLIB
5717 RANLIB
="$ac_cv_prog_RANLIB"
5720 if test -n "$ac_tool_prefix"; then
5721 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5722 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5723 echo "$as_me:$LINENO: checking for $ac_word" >&5
5724 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5725 if test "${ac_cv_prog_STRIP+set}" = set; then
5726 echo $ECHO_N "(cached) $ECHO_C" >&6
5728 if test -n "$STRIP"; then
5729 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5731 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5735 test -z "$as_dir" && as_dir
=.
5736 for ac_exec_ext
in '' $ac_executable_extensions; do
5737 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5738 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5739 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5747 STRIP
=$ac_cv_prog_STRIP
5748 if test -n "$STRIP"; then
5749 echo "$as_me:$LINENO: result: $STRIP" >&5
5750 echo "${ECHO_T}$STRIP" >&6
5752 echo "$as_me:$LINENO: result: no" >&5
5753 echo "${ECHO_T}no" >&6
5757 if test -z "$ac_cv_prog_STRIP"; then
5759 # Extract the first word of "strip", so it can be a program name with args.
5760 set dummy strip
; ac_word
=$2
5761 echo "$as_me:$LINENO: checking for $ac_word" >&5
5762 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5763 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5764 echo $ECHO_N "(cached) $ECHO_C" >&6
5766 if test -n "$ac_ct_STRIP"; then
5767 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5769 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5773 test -z "$as_dir" && as_dir
=.
5774 for ac_exec_ext
in '' $ac_executable_extensions; do
5775 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5776 ac_cv_prog_ac_ct_STRIP
="strip"
5777 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5783 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
5786 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5787 if test -n "$ac_ct_STRIP"; then
5788 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5789 echo "${ECHO_T}$ac_ct_STRIP" >&6
5791 echo "$as_me:$LINENO: result: no" >&5
5792 echo "${ECHO_T}no" >&6
5797 STRIP
="$ac_cv_prog_STRIP"
5801 # Check for any special flags to pass to ltconfig.
5802 libtool_flags
="--cache-file=$cache_file"
5803 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
5804 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
5805 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
5806 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
5807 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
5810 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5811 if test "${enable_libtool_lock+set}" = set; then
5812 enableval
="$enable_libtool_lock"
5815 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
5816 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
5819 # Check whether --with-pic or --without-pic was given.
5820 if test "${with_pic+set}" = set; then
5826 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
5827 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
5829 # Some flags need to be propagated to the compiler or linker for good
5833 # Find out which ABI we are using.
5834 echo '#line 5834 "configure"' > conftest.
$ac_ext
5835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5836 (eval $ac_compile) 2>&5
5838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5839 (exit $ac_status); }; then
5840 if test "$lt_cv_prog_gnu_ld" = yes; then
5841 case `/usr/bin/file conftest.$ac_objext` in
5843 LD
="${LD-ld} -melf32bsmip"
5846 LD
="${LD-ld} -melf32bmipn32"
5849 LD
="${LD-ld} -melf64bmip"
5853 case `/usr/bin/file conftest.$ac_objext` in
5870 # Find out which ABI we are using.
5871 echo 'int i;' > conftest.
$ac_ext
5872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5873 (eval $ac_compile) 2>&5
5875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5876 (exit $ac_status); }; then
5877 case "`/usr/bin/file conftest.o`" in
5889 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
5890 # Find out which ABI we are using.
5891 echo 'int i;' > conftest.
$ac_ext
5892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5893 (eval $ac_compile) 2>&5
5895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5896 (exit $ac_status); }; then
5897 case "`/usr/bin/file conftest.o`" in
5901 LD
="${LD-ld} -m elf_i386"
5903 ppc64-
*linux
*|powerpc64-
*linux
*)
5904 LD
="${LD-ld} -m elf32ppclinux"
5907 LD
="${LD-ld} -m elf_s390"
5910 LD
="${LD-ld} -m elf32_sparc"
5917 LD
="${LD-ld} -m elf_x86_64"
5919 ppc
*-*linux
*|powerpc
*-*linux
*)
5920 LD
="${LD-ld} -m elf64ppc"
5923 LD
="${LD-ld} -m elf64_s390"
5926 LD
="${LD-ld} -m elf64_sparc"
5936 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5937 SAVE_CFLAGS
="$CFLAGS"
5938 CFLAGS
="$CFLAGS -belf"
5939 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5940 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5941 if test "${lt_cv_cc_needs_belf+set}" = set; then
5942 echo $ECHO_N "(cached) $ECHO_C" >&6
5947 ac_cpp
='$CPP $CPPFLAGS'
5948 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5949 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5950 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5952 cat >conftest.
$ac_ext <<_ACEOF
5955 cat confdefs.h
>>conftest.
$ac_ext
5956 cat >>conftest.
$ac_ext <<_ACEOF
5957 /* end confdefs.h. */
5967 rm -f conftest.
$ac_objext conftest
$ac_exeext
5968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5969 (eval $ac_link) 2>conftest.er1
5971 grep -v '^ *+' conftest.er1
>conftest.err
5973 cat conftest.err
>&5
5974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5975 (exit $ac_status); } &&
5976 { ac_try
='test -z "$ac_c_werror_flag"
5977 || test ! -s conftest.err'
5978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5982 (exit $ac_status); }; } &&
5983 { ac_try
='test -s conftest$ac_exeext'
5984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5988 (exit $ac_status); }; }; then
5989 lt_cv_cc_needs_belf
=yes
5991 echo "$as_me: failed program was:" >&5
5992 sed 's/^/| /' conftest.
$ac_ext >&5
5994 lt_cv_cc_needs_belf
=no
5996 rm -f conftest.err conftest.
$ac_objext \
5997 conftest
$ac_exeext conftest.
$ac_ext
5999 ac_cpp
='$CPP $CPPFLAGS'
6000 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6001 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6002 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6005 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
6006 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
6007 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
6008 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6009 CFLAGS
="$SAVE_CFLAGS"
6017 # Save cache, so that ltconfig can load it
6018 cat >confcache
<<\_ACEOF
6019 # This file is a shell script that caches the results of configure
6020 # tests run on this system so they can be shared between configure
6021 # scripts and configure runs, see configure's option --config-cache.
6022 # It is not useful on other systems. If it contains results you don't
6023 # want to keep, you may remove or edit it.
6025 # config.status only pays attention to the cache file if you give it
6026 # the --recheck option to rerun configure.
6028 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6029 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6034 # The following way of writing the cache mishandles newlines in values,
6035 # but we know of no workaround that is simple, portable, and efficient.
6036 # So, don't put newlines in cache variables' values.
6037 # Ultrix sh set writes to stderr and can't be redirected directly,
6038 # and sets the high bit in the cache file unless we assign to the vars.
6041 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6043 # `set' does not quote correctly, so add quotes (double-quote
6044 # substitution turns \\\\ into \\, and sed turns \\ into \).
6047 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6050 # `set' quotes correctly as required by POSIX, so do not add quotes.
6052 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6059 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6061 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6063 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
6064 if test -w $cache_file; then
6065 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6066 cat confcache
>$cache_file
6068 echo "not updating unwritable cache $cache_file"
6073 # Actually configure libtool. ac_aux_dir is where install-sh is found.
6074 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
6075 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
6076 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
6077 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
6078 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
6079 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
6080 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
6081 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
6082 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
6083 echo "$as_me: error: libtool configure failed" >&2;}
6084 { (exit 1); exit 1; }; }
6086 # Reload cache, that may have been modified by ltconfig
6087 if test -r "$cache_file"; then
6088 # Some versions of bash will fail to source /dev/null (special
6089 # files actually), so we avoid doing that.
6090 if test -f "$cache_file"; then
6091 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
6092 echo "$as_me: loading cache $cache_file" >&6;}
6094 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
6095 *) . .
/$cache_file;;
6099 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
6100 echo "$as_me: creating cache $cache_file" >&6;}
6105 # This can be used to rebuild libtool when needed
6106 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
6108 # Always use our own libtool.
6109 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
6111 # Redirect the config.log output again, so that the ltconfig log is not
6112 # clobbered by the next message.
6113 exec 5>>.
/config.log
6123 if test "${ac_cv_header_stdint_h+set}" = set; then
6124 echo "$as_me:$LINENO: checking for stdint.h" >&5
6125 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6
6126 if test "${ac_cv_header_stdint_h+set}" = set; then
6127 echo $ECHO_N "(cached) $ECHO_C" >&6
6129 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&5
6130 echo "${ECHO_T}$ac_cv_header_stdint_h" >&6
6132 # Is the header compilable?
6133 echo "$as_me:$LINENO: checking stdint.h usability" >&5
6134 echo $ECHO_N "checking stdint.h usability... $ECHO_C" >&6
6135 cat >conftest.
$ac_ext <<_ACEOF
6138 cat confdefs.h
>>conftest.
$ac_ext
6139 cat >>conftest.
$ac_ext <<_ACEOF
6140 /* end confdefs.h. */
6141 $ac_includes_default
6144 rm -f conftest.
$ac_objext
6145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6146 (eval $ac_compile) 2>conftest.er1
6148 grep -v '^ *+' conftest.er1
>conftest.err
6150 cat conftest.err
>&5
6151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6152 (exit $ac_status); } &&
6153 { ac_try
='test -z "$ac_c_werror_flag"
6154 || test ! -s conftest.err'
6155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6159 (exit $ac_status); }; } &&
6160 { ac_try
='test -s conftest.$ac_objext'
6161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6165 (exit $ac_status); }; }; then
6166 ac_header_compiler
=yes
6168 echo "$as_me: failed program was:" >&5
6169 sed 's/^/| /' conftest.
$ac_ext >&5
6171 ac_header_compiler
=no
6173 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6174 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6175 echo "${ECHO_T}$ac_header_compiler" >&6
6177 # Is the header present?
6178 echo "$as_me:$LINENO: checking stdint.h presence" >&5
6179 echo $ECHO_N "checking stdint.h presence... $ECHO_C" >&6
6180 cat >conftest.
$ac_ext <<_ACEOF
6183 cat confdefs.h
>>conftest.
$ac_ext
6184 cat >>conftest.
$ac_ext <<_ACEOF
6185 /* end confdefs.h. */
6188 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6189 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6191 grep -v '^ *+' conftest.er1
>conftest.err
6193 cat conftest.err
>&5
6194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6195 (exit $ac_status); } >/dev
/null
; then
6196 if test -s conftest.err
; then
6197 ac_cpp_err
=$ac_c_preproc_warn_flag
6198 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6205 if test -z "$ac_cpp_err"; then
6206 ac_header_preproc
=yes
6208 echo "$as_me: failed program was:" >&5
6209 sed 's/^/| /' conftest.
$ac_ext >&5
6211 ac_header_preproc
=no
6213 rm -f conftest.err conftest.
$ac_ext
6214 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6215 echo "${ECHO_T}$ac_header_preproc" >&6
6217 # So? What about this header?
6218 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6220 { echo "$as_me:$LINENO: WARNING: stdint.h: accepted by the compiler, rejected by the preprocessor!" >&5
6221 echo "$as_me: WARNING: stdint.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6222 { echo "$as_me:$LINENO: WARNING: stdint.h: proceeding with the compiler's result" >&5
6223 echo "$as_me: WARNING: stdint.h: proceeding with the compiler's result" >&2;}
6224 ac_header_preproc
=yes
6227 { echo "$as_me:$LINENO: WARNING: stdint.h: present but cannot be compiled" >&5
6228 echo "$as_me: WARNING: stdint.h: present but cannot be compiled" >&2;}
6229 { echo "$as_me:$LINENO: WARNING: stdint.h: check for missing prerequisite headers?" >&5
6230 echo "$as_me: WARNING: stdint.h: check for missing prerequisite headers?" >&2;}
6231 { echo "$as_me:$LINENO: WARNING: stdint.h: see the Autoconf documentation" >&5
6232 echo "$as_me: WARNING: stdint.h: see the Autoconf documentation" >&2;}
6233 { echo "$as_me:$LINENO: WARNING: stdint.h: section \"Present But Cannot Be Compiled\"" >&5
6234 echo "$as_me: WARNING: stdint.h: section \"Present But Cannot Be Compiled\"" >&2;}
6235 { echo "$as_me:$LINENO: WARNING: stdint.h: proceeding with the preprocessor's result" >&5
6236 echo "$as_me: WARNING: stdint.h: proceeding with the preprocessor's result" >&2;}
6237 { echo "$as_me:$LINENO: WARNING: stdint.h: in the future, the compiler will take precedence" >&5
6238 echo "$as_me: WARNING: stdint.h: in the future, the compiler will take precedence" >&2;}
6241 ## ------------------------------------- ##
6242 ## Report this to the libmudflap lists. ##
6243 ## ------------------------------------- ##
6246 sed "s/^/$as_me: WARNING: /" >&2
6249 echo "$as_me:$LINENO: checking for stdint.h" >&5
6250 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6
6251 if test "${ac_cv_header_stdint_h+set}" = set; then
6252 echo $ECHO_N "(cached) $ECHO_C" >&6
6254 ac_cv_header_stdint_h
=$ac_header_preproc
6256 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&5
6257 echo "${ECHO_T}$ac_cv_header_stdint_h" >&6
6260 if test $ac_cv_header_stdint_h = yes; then
6268 if test $MF_HAVE_STDINT_H = 1
6272 cat >conftest.
$ac_ext <<_ACEOF
6275 cat confdefs.h
>>conftest.
$ac_ext
6276 cat >>conftest.
$ac_ext <<_ACEOF
6277 /* end confdefs.h. */
6278 #include <sys/types.h>
6287 rm -f conftest.
$ac_objext
6288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6289 (eval $ac_compile) 2>conftest.er1
6291 grep -v '^ *+' conftest.er1
>conftest.err
6293 cat conftest.err
>&5
6294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6295 (exit $ac_status); } &&
6296 { ac_try
='test -z "$ac_c_werror_flag"
6297 || test ! -s conftest.err'
6298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6302 (exit $ac_status); }; } &&
6303 { ac_try
='test -s conftest.$ac_objext'
6304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6308 (exit $ac_status); }; }; then
6311 echo "$as_me: failed program was:" >&5
6312 sed 's/^/| /' conftest.
$ac_ext >&5
6316 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6322 # libmudflapth objects are built in this subdirectory
6326 pthread_create_version
='""'
6327 if test "${ac_cv_header_pthread_h+set}" = set; then
6328 echo "$as_me:$LINENO: checking for pthread.h" >&5
6329 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6
6330 if test "${ac_cv_header_pthread_h+set}" = set; then
6331 echo $ECHO_N "(cached) $ECHO_C" >&6
6333 echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5
6334 echo "${ECHO_T}$ac_cv_header_pthread_h" >&6
6336 # Is the header compilable?
6337 echo "$as_me:$LINENO: checking pthread.h usability" >&5
6338 echo $ECHO_N "checking pthread.h usability... $ECHO_C" >&6
6339 cat >conftest.
$ac_ext <<_ACEOF
6342 cat confdefs.h
>>conftest.
$ac_ext
6343 cat >>conftest.
$ac_ext <<_ACEOF
6344 /* end confdefs.h. */
6345 $ac_includes_default
6346 #include <pthread.h>
6348 rm -f conftest.
$ac_objext
6349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6350 (eval $ac_compile) 2>conftest.er1
6352 grep -v '^ *+' conftest.er1
>conftest.err
6354 cat conftest.err
>&5
6355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6356 (exit $ac_status); } &&
6357 { ac_try
='test -z "$ac_c_werror_flag"
6358 || test ! -s conftest.err'
6359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6363 (exit $ac_status); }; } &&
6364 { ac_try
='test -s conftest.$ac_objext'
6365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6369 (exit $ac_status); }; }; then
6370 ac_header_compiler
=yes
6372 echo "$as_me: failed program was:" >&5
6373 sed 's/^/| /' conftest.
$ac_ext >&5
6375 ac_header_compiler
=no
6377 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6378 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6379 echo "${ECHO_T}$ac_header_compiler" >&6
6381 # Is the header present?
6382 echo "$as_me:$LINENO: checking pthread.h presence" >&5
6383 echo $ECHO_N "checking pthread.h presence... $ECHO_C" >&6
6384 cat >conftest.
$ac_ext <<_ACEOF
6387 cat confdefs.h
>>conftest.
$ac_ext
6388 cat >>conftest.
$ac_ext <<_ACEOF
6389 /* end confdefs.h. */
6390 #include <pthread.h>
6392 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6393 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6395 grep -v '^ *+' conftest.er1
>conftest.err
6397 cat conftest.err
>&5
6398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6399 (exit $ac_status); } >/dev
/null
; then
6400 if test -s conftest.err
; then
6401 ac_cpp_err
=$ac_c_preproc_warn_flag
6402 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6409 if test -z "$ac_cpp_err"; then
6410 ac_header_preproc
=yes
6412 echo "$as_me: failed program was:" >&5
6413 sed 's/^/| /' conftest.
$ac_ext >&5
6415 ac_header_preproc
=no
6417 rm -f conftest.err conftest.
$ac_ext
6418 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6419 echo "${ECHO_T}$ac_header_preproc" >&6
6421 # So? What about this header?
6422 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6424 { echo "$as_me:$LINENO: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&5
6425 echo "$as_me: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6426 { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the compiler's result" >&5
6427 echo "$as_me: WARNING: pthread.h: proceeding with the compiler's result" >&2;}
6428 ac_header_preproc
=yes
6431 { echo "$as_me:$LINENO: WARNING: pthread.h: present but cannot be compiled" >&5
6432 echo "$as_me: WARNING: pthread.h: present but cannot be compiled" >&2;}
6433 { echo "$as_me:$LINENO: WARNING: pthread.h: check for missing prerequisite headers?" >&5
6434 echo "$as_me: WARNING: pthread.h: check for missing prerequisite headers?" >&2;}
6435 { echo "$as_me:$LINENO: WARNING: pthread.h: see the Autoconf documentation" >&5
6436 echo "$as_me: WARNING: pthread.h: see the Autoconf documentation" >&2;}
6437 { echo "$as_me:$LINENO: WARNING: pthread.h: section \"Present But Cannot Be Compiled\"" >&5
6438 echo "$as_me: WARNING: pthread.h: section \"Present But Cannot Be Compiled\"" >&2;}
6439 { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the preprocessor's result" >&5
6440 echo "$as_me: WARNING: pthread.h: proceeding with the preprocessor's result" >&2;}
6441 { echo "$as_me:$LINENO: WARNING: pthread.h: in the future, the compiler will take precedence" >&5
6442 echo "$as_me: WARNING: pthread.h: in the future, the compiler will take precedence" >&2;}
6445 ## ------------------------------------- ##
6446 ## Report this to the libmudflap lists. ##
6447 ## ------------------------------------- ##
6450 sed "s/^/$as_me: WARNING: /" >&2
6453 echo "$as_me:$LINENO: checking for pthread.h" >&5
6454 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6
6455 if test "${ac_cv_header_pthread_h+set}" = set; then
6456 echo $ECHO_N "(cached) $ECHO_C" >&6
6458 ac_cv_header_pthread_h
=$ac_header_preproc
6460 echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5
6461 echo "${ECHO_T}$ac_cv_header_pthread_h" >&6
6464 if test $ac_cv_header_pthread_h = yes; then
6467 cat >>confdefs.h
<<_ACEOF
6468 #define HAVE_PTHREAD_H 1
6471 ac_have_pthread_h
=yes
6482 if test "x$ac_have_pthread_h" != "x"; then
6484 LIBMUDFLAPTH_FALSE
='#'
6486 LIBMUDFLAPTH_TRUE
='#'
6490 if test "x$ac_have_pthread_h" != "x"
6492 build_libmudflapth
=1
6494 build_libmudflapth
=0
6499 echo "$as_me:$LINENO: checking for dlsym in -ldl" >&5
6500 echo $ECHO_N "checking for dlsym in -ldl... $ECHO_C" >&6
6501 if test "${ac_cv_lib_dl_dlsym+set}" = set; then
6502 echo $ECHO_N "(cached) $ECHO_C" >&6
6504 ac_check_lib_save_LIBS
=$LIBS
6506 cat >conftest.
$ac_ext <<_ACEOF
6509 cat confdefs.h
>>conftest.
$ac_ext
6510 cat >>conftest.
$ac_ext <<_ACEOF
6511 /* end confdefs.h. */
6513 /* Override any gcc2 internal prototype to avoid an error. */
6517 /* We use char because int might match the return type of a gcc2
6518 builtin and then its argument prototype would still apply. */
6528 rm -f conftest.
$ac_objext conftest
$ac_exeext
6529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6530 (eval $ac_link) 2>conftest.er1
6532 grep -v '^ *+' conftest.er1
>conftest.err
6534 cat conftest.err
>&5
6535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6536 (exit $ac_status); } &&
6537 { ac_try
='test -z "$ac_c_werror_flag"
6538 || test ! -s conftest.err'
6539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6543 (exit $ac_status); }; } &&
6544 { ac_try
='test -s conftest$ac_exeext'
6545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6549 (exit $ac_status); }; }; then
6550 ac_cv_lib_dl_dlsym
=yes
6552 echo "$as_me: failed program was:" >&5
6553 sed 's/^/| /' conftest.
$ac_ext >&5
6555 ac_cv_lib_dl_dlsym
=no
6557 rm -f conftest.err conftest.
$ac_objext \
6558 conftest
$ac_exeext conftest.
$ac_ext
6559 LIBS
=$ac_check_lib_save_LIBS
6561 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlsym" >&5
6562 echo "${ECHO_T}$ac_cv_lib_dl_dlsym" >&6
6563 if test $ac_cv_lib_dl_dlsym = yes; then
6564 cat >>confdefs.h
<<_ACEOF
6565 #define HAVE_LIBDL 1
6573 # Calculate toolexeclibdir
6574 # Also toolexecdir, though it's only used in toolexeclibdir
6575 case ${version_specific_libs} in
6577 # Need the gcc compiler version to know where to install libraries
6578 # and header files if --enable-version-specific-runtime-libs option
6580 toolexecdir
='$(libdir)/gcc/$(target_alias)'
6581 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
6584 if test -n "$with_cross_host" &&
6585 test x
"$with_cross_host" != x
"no"; then
6586 # Install a library built with a cross compiler in tooldir, not libdir.
6587 toolexecdir
='$(exec_prefix)/$(target_alias)'
6588 toolexeclibdir
='$(toolexecdir)/lib'
6590 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
6591 toolexeclibdir
='$(libdir)'
6593 multi_os_directory
=`$CC -print-multi-os-directory`
6594 case $multi_os_directory in
6595 .
) ;; # Avoid trailing /.
6596 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
6603 if test "x$enable_shared" = "xyes" && test "x$ac_have_pthread_h" != "x"; then
6604 # NB: don't check for -lpthread here, because then it would be
6605 # added to LIBS. For the thread-unaware libmudflap.la, we don't
6608 # glibc-related hacks. dlsym() may pick the wrong version of
6609 # interposed functions like pthread_create on modern glibc.
6610 # We need to find the proper symbol version string, and use
6611 # the nonstandard dlvsym().
6613 for ac_func
in dlvsym
6615 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6616 echo "$as_me:$LINENO: checking for $ac_func" >&5
6617 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6618 if eval "test \"\${$as_ac_var+set}\" = set"; then
6619 echo $ECHO_N "(cached) $ECHO_C" >&6
6621 cat >conftest.
$ac_ext <<_ACEOF
6624 cat confdefs.h
>>conftest.
$ac_ext
6625 cat >>conftest.
$ac_ext <<_ACEOF
6626 /* end confdefs.h. */
6627 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6628 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6629 #define $ac_func innocuous_$ac_func
6631 /* System header to define __stub macros and hopefully few prototypes,
6632 which can conflict with char $ac_func (); below.
6633 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6634 <limits.h> exists even on freestanding compilers. */
6637 # include <limits.h>
6639 # include <assert.h>
6644 /* Override any gcc2 internal prototype to avoid an error. */
6649 /* We use char because int might match the return type of a gcc2
6650 builtin and then its argument prototype would still apply. */
6652 /* The GNU C library defines this for functions which it implements
6653 to always fail with ENOSYS. Some functions are actually named
6654 something starting with __ and the normal name is an alias. */
6655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6658 char (*f) () = $ac_func;
6667 return f != $ac_func;
6672 rm -f conftest.
$ac_objext conftest
$ac_exeext
6673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6674 (eval $ac_link) 2>conftest.er1
6676 grep -v '^ *+' conftest.er1
>conftest.err
6678 cat conftest.err
>&5
6679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6680 (exit $ac_status); } &&
6681 { ac_try
='test -z "$ac_c_werror_flag"
6682 || test ! -s conftest.err'
6683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6687 (exit $ac_status); }; } &&
6688 { ac_try
='test -s conftest$ac_exeext'
6689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6693 (exit $ac_status); }; }; then
6694 eval "$as_ac_var=yes"
6696 echo "$as_me: failed program was:" >&5
6697 sed 's/^/| /' conftest.
$ac_ext >&5
6699 eval "$as_ac_var=no"
6701 rm -f conftest.err conftest.
$ac_objext \
6702 conftest
$ac_exeext conftest.
$ac_ext
6704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6705 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6706 if test `eval echo '${'$as_ac_var'}'` = yes; then
6707 cat >>confdefs.h
<<_ACEOF
6708 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6714 if test -n "$ac_tool_prefix"; then
6715 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
6716 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
6717 echo "$as_me:$LINENO: checking for $ac_word" >&5
6718 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6719 if test "${ac_cv_prog_NM+set}" = set; then
6720 echo $ECHO_N "(cached) $ECHO_C" >&6
6722 if test -n "$NM"; then
6723 ac_cv_prog_NM
="$NM" # Let the user override the test.
6725 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6729 test -z "$as_dir" && as_dir
=.
6730 for ac_exec_ext
in '' $ac_executable_extensions; do
6731 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6732 ac_cv_prog_NM
="${ac_tool_prefix}nm"
6733 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6742 if test -n "$NM"; then
6743 echo "$as_me:$LINENO: result: $NM" >&5
6744 echo "${ECHO_T}$NM" >&6
6746 echo "$as_me:$LINENO: result: no" >&5
6747 echo "${ECHO_T}no" >&6
6751 if test -z "$ac_cv_prog_NM"; then
6753 # Extract the first word of "nm", so it can be a program name with args.
6754 set dummy nm
; ac_word
=$2
6755 echo "$as_me:$LINENO: checking for $ac_word" >&5
6756 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6757 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
6758 echo $ECHO_N "(cached) $ECHO_C" >&6
6760 if test -n "$ac_ct_NM"; then
6761 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
6763 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6767 test -z "$as_dir" && as_dir
=.
6768 for ac_exec_ext
in '' $ac_executable_extensions; do
6769 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6770 ac_cv_prog_ac_ct_NM
="nm"
6771 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6779 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
6780 if test -n "$ac_ct_NM"; then
6781 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
6782 echo "${ECHO_T}$ac_ct_NM" >&6
6784 echo "$as_me:$LINENO: result: no" >&5
6785 echo "${ECHO_T}no" >&6
6793 if test "x$ac_cv_have_dlvsym" != "x"; then
6794 # Try compiling a simple pthreads program. Find the shared libraries it
6795 # ends up with. Then use "nm" on those libraries to extract the
6796 # default symbol versioning suffix ("@@"), if any. But that's tricky.
6797 # Rather, run nm on the resulting executable. Unfortunately, autoconf
6798 # doesn't appear to have a macro that builds a test executable for
6799 # subsequent analysis ... so we do it by hand here.
6800 cat >> conftest.c
<< EOF
6801 #include <pthread.h>
6802 int main () { void *p = (void *) & pthread_create; return (int) p; }
6805 LIBS
="$LIBS -lpthread"
6806 pthread_create_version
="\"\""
6807 echo "$as_me:$LINENO: checking pthread_create symbol version" >&5
6808 echo $ECHO_N "checking pthread_create symbol version... $ECHO_C" >&6
6809 if eval $ac_link 2>&5 && test -s conftest
${ac_exeext}; then
6810 version
=`$NM conftest${ac_exeect} | grep 'pthread_create@@' | sed -e 's/^.*@@//'`
6811 if test "x$version" != "x"; then
6812 pthread_create_version
="\"$version\""
6815 echo "$as_me:$LINENO: result: $pthread_create_version" >&5
6816 echo "${ECHO_T}$pthread_create_version" >&6
6821 cat >>confdefs.h
<<_ACEOF
6822 #define PTHREAD_CREATE_VERSION $pthread_create_version
6827 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
6828 # similarly to how libstdc++ does it
6829 ac_test_CFLAGS
="${CFLAGS+set}"
6830 ac_save_CFLAGS
="$CFLAGS"
6832 # Check for -ffunction-sections -fdata-sections
6833 echo "$as_me:$LINENO: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
6834 echo $ECHO_N "checking for gcc that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
6835 CFLAGS
='-Werror -ffunction-sections -fdata-sections'
6836 cat >conftest.
$ac_ext <<_ACEOF
6839 cat confdefs.h
>>conftest.
$ac_ext
6840 cat >>conftest.
$ac_ext <<_ACEOF
6841 /* end confdefs.h. */
6851 rm -f conftest.
$ac_objext
6852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6853 (eval $ac_compile) 2>conftest.er1
6855 grep -v '^ *+' conftest.er1
>conftest.err
6857 cat conftest.err
>&5
6858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6859 (exit $ac_status); } &&
6860 { ac_try
='test -z "$ac_c_werror_flag"
6861 || test ! -s conftest.err'
6862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6866 (exit $ac_status); }; } &&
6867 { ac_try
='test -s conftest.$ac_objext'
6868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6872 (exit $ac_status); }; }; then
6875 echo "$as_me: failed program was:" >&5
6876 sed 's/^/| /' conftest.
$ac_ext >&5
6880 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6881 if test "$ac_test_CFLAGS" = set; then
6882 CFLAGS
="$ac_save_CFLAGS"
6884 # this is the suspicious part
6887 if test x
"$ac_fdsections" = x
"yes"; then
6888 SECTION_FLAGS
='-ffunction-sections -fdata-sections'
6890 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
6891 echo "${ECHO_T}$ac_fdsections" >&6
6895 if test ${multilib} = yes; then
6896 multilib_arg
="--enable-multilib"
6901 ac_config_files
="$ac_config_files Makefile testsuite/Makefile testsuite/mfconfig.exp"
6903 cat >confcache
<<\_ACEOF
6904 # This file is a shell script that caches the results of configure
6905 # tests run on this system so they can be shared between configure
6906 # scripts and configure runs, see configure's option --config-cache.
6907 # It is not useful on other systems. If it contains results you don't
6908 # want to keep, you may remove or edit it.
6910 # config.status only pays attention to the cache file if you give it
6911 # the --recheck option to rerun configure.
6913 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6914 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6919 # The following way of writing the cache mishandles newlines in values,
6920 # but we know of no workaround that is simple, portable, and efficient.
6921 # So, don't put newlines in cache variables' values.
6922 # Ultrix sh set writes to stderr and can't be redirected directly,
6923 # and sets the high bit in the cache file unless we assign to the vars.
6926 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6928 # `set' does not quote correctly, so add quotes (double-quote
6929 # substitution turns \\\\ into \\, and sed turns \\ into \).
6932 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6935 # `set' quotes correctly as required by POSIX, so do not add quotes.
6937 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6944 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6946 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6948 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
6949 if test -w $cache_file; then
6950 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6951 cat confcache
>$cache_file
6953 echo "not updating unwritable cache $cache_file"
6958 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6959 # Let make expand exec_prefix.
6960 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6962 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6963 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6964 # trailing colons and then remove the whole line if VPATH becomes empty
6965 # (actually we leave an empty line to preserve line numbers).
6966 if test "x$srcdir" = x.
; then
6967 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
6968 s/:*\$(srcdir):*/:/;
6969 s/:*\${srcdir}:*/:/;
6971 s/^\([^=]*=[ ]*\):*/\1/;
6977 DEFS
=-DHAVE_CONFIG_H
6981 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6982 # 1. Remove the extension, and $U if already installed.
6983 ac_i
=`echo "$ac_i" |
6984 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
6986 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
6987 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
6991 LTLIBOBJS
=$ac_ltlibobjs
6994 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
6995 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
6996 Usually this means the macro was only invoked conditionally." >&5
6997 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
6998 Usually this means the macro was only invoked conditionally." >&2;}
6999 { (exit 1); exit 1; }; }
7001 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7002 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
7003 Usually this means the macro was only invoked conditionally." >&5
7004 echo "$as_me: error: conditional \"AMDEP\" was never defined.
7005 Usually this means the macro was only invoked conditionally." >&2;}
7006 { (exit 1); exit 1; }; }
7008 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7009 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
7010 Usually this means the macro was only invoked conditionally." >&5
7011 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
7012 Usually this means the macro was only invoked conditionally." >&2;}
7013 { (exit 1); exit 1; }; }
7015 if test -z "${LIBMUDFLAPTH_TRUE}" && test -z "${LIBMUDFLAPTH_FALSE}"; then
7016 { { echo "$as_me:$LINENO: error: conditional \"LIBMUDFLAPTH\" was never defined.
7017 Usually this means the macro was only invoked conditionally." >&5
7018 echo "$as_me: error: conditional \"LIBMUDFLAPTH\" was never defined.
7019 Usually this means the macro was only invoked conditionally." >&2;}
7020 { (exit 1); exit 1; }; }
7023 : ${CONFIG_STATUS=./config.status}
7024 ac_clean_files_save
=$ac_clean_files
7025 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
7026 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
7027 echo "$as_me: creating $CONFIG_STATUS" >&6;}
7028 cat >$CONFIG_STATUS <<_ACEOF
7030 # Generated by $as_me.
7031 # Run this file to recreate the current configuration.
7032 # Compiler output produced by configure, useful for debugging
7033 # configure, is in config.log if it exists.
7038 SHELL=\${CONFIG_SHELL-$SHELL}
7041 cat >>$CONFIG_STATUS <<\_ACEOF
7042 ## --------------------- ##
7043 ## M4sh Initialization. ##
7044 ## --------------------- ##
7046 # Be Bourne compatible
7047 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
7050 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
7051 # is contrary to our usage. Disable this feature.
7052 alias -g '${1+"$@"}'='"$@"'
7053 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
7056 DUALCASE
=1; export DUALCASE
# for MKS sh
7058 # Support unset when possible.
7059 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
7066 # Work around bugs in pre-3.0 UWIN ksh.
7067 $as_unset ENV MAIL MAILPATH
7074 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
7075 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
7076 LC_TELEPHONE LC_TIME
7078 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
7079 eval $as_var=C
; export $as_var
7085 # Required to use basename.
7086 if expr a
: '\(a\)' >/dev
/null
2>&1; then
7092 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
7093 as_basename
=basename
7099 # Name of the executable.
7100 as_me
=`$as_basename "$0" ||
7101 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7102 X"$0" : 'X\(//\)$' \| \
7103 X"$0" : 'X\(/\)$' \| \
7104 . : '\(.\)' 2>/dev/null ||
7106 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
7107 /^X\/\(\/\/\)$/{ s//\1/; q; }
7108 /^X\/\(\/\).*/{ s//\1/; q; }
7112 # PATH needs CR, and LINENO needs CR and PATH.
7113 # Avoid depending upon Character Ranges.
7114 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7115 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7116 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7117 as_cr_digits
='0123456789'
7118 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7120 # The user is always right.
7121 if test "${PATH_SEPARATOR+set}" != set; then
7122 echo "#! /bin/sh" >conf$$.sh
7123 echo "exit 0" >>conf$$.sh
7125 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
7136 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
7137 test "x$as_lineno_1" != "x$as_lineno_2" &&
7138 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
7139 # Find who we are. Look in the path if we contain no path at all
7142 *[\\/]* ) as_myself
=$0 ;;
7143 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7147 test -z "$as_dir" && as_dir
=.
7148 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
7153 # We did not find ourselves, most probably we were run as `sh COMMAND'
7154 # in which case we are not to be found in the path.
7155 if test "x$as_myself" = x
; then
7158 if test ! -f "$as_myself"; then
7159 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
7160 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
7161 { (exit 1); exit 1; }; }
7163 case $CONFIG_SHELL in
7165 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7166 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
7169 test -z "$as_dir" && as_dir
=.
7170 for as_base
in sh bash ksh sh5
; do
7173 if ("$as_dir/$as_base" -c '
7176 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7177 test "x$as_lineno_1" != "x$as_lineno_2" &&
7178 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
7179 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
7180 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
7181 CONFIG_SHELL
=$as_dir/$as_base
7183 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
7191 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7192 # uniformly replaced by the line number. The first 'sed' inserts a
7193 # line-number line before each line; the second 'sed' does the real
7194 # work. The second script uses 'N' to pair each line-number line
7195 # with the numbered line, and appends trailing '-' during
7196 # substitution so that $LINENO is not a special case at line end.
7197 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7198 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
7199 sed '=' <$as_myself |
7204 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
7207 s,^['$as_cr_digits']*\n,,
7209 chmod +x
$as_me.lineno ||
7210 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
7211 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
7212 { (exit 1); exit 1; }; }
7214 # Don't try to exec as it changes $[0], causing all sort of problems
7215 # (the dirname of $[0] is not the place where we might find the
7216 # original and so on. Autoconf is especially sensible to this).
7218 # Exit status is that of the last command.
7223 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
7224 *c
*,-n*) ECHO_N
= ECHO_C
='
7226 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
7227 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
7230 if expr a
: '\(a\)' >/dev
/null
2>&1; then
7236 rm -f conf$$ conf$$.exe conf$$.
file
7238 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7239 # We could just check for DJGPP; but this test a) works b) is more generic
7240 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
7241 if test -f conf$$.exe
; then
7242 # Don't use ln at all; we don't have any links
7247 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7252 rm -f conf$$ conf$$.exe conf$$.
file
7254 if mkdir
-p .
2>/dev
/null
; then
7257 test -d .
/-p && rmdir .
/-p
7261 as_executable_p
="test -f"
7263 # Sed expression to map a string onto a valid CPP name.
7264 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7266 # Sed expression to map a string onto a valid variable name.
7267 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7271 # We need space, tab and new line, in precisely that order.
7281 # Open the log real soon, to keep \$[0] and so on meaningful, and to
7282 # report actual input values of CONFIG_FILES etc. instead of their
7283 # values after options handling. Logging --version etc. is OK.
7287 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7288 ## Running $as_me. ##
7293 This file was extended by libmudflap $as_me 1.0, which was
7294 generated by GNU Autoconf 2.59. Invocation command line was
7296 CONFIG_FILES = $CONFIG_FILES
7297 CONFIG_HEADERS = $CONFIG_HEADERS
7298 CONFIG_LINKS = $CONFIG_LINKS
7299 CONFIG_COMMANDS = $CONFIG_COMMANDS
7303 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
7307 # Files that config.status was made for.
7308 if test -n "$ac_config_files"; then
7309 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
7312 if test -n "$ac_config_headers"; then
7313 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
7316 if test -n "$ac_config_links"; then
7317 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
7320 if test -n "$ac_config_commands"; then
7321 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
7324 cat >>$CONFIG_STATUS <<\_ACEOF
7327 \`$as_me' instantiates files from templates according to the
7328 current configuration.
7330 Usage: $0 [OPTIONS] [FILE]...
7332 -h, --help print this help, then exit
7333 -V, --version print version number, then exit
7334 -q, --quiet do not print progress messages
7335 -d, --debug don't remove temporary files
7336 --recheck update $as_me by reconfiguring in the same conditions
7337 --file=FILE[:TEMPLATE]
7338 instantiate the configuration file FILE
7339 --header=FILE[:TEMPLATE]
7340 instantiate the configuration header FILE
7342 Configuration files:
7345 Configuration headers:
7348 Configuration commands:
7351 Report bugs to <bug-autoconf@gnu.org>."
7354 cat >>$CONFIG_STATUS <<_ACEOF
7356 libmudflap config.status 1.0
7357 configured by $0, generated by GNU Autoconf 2.59,
7358 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
7360 Copyright (C) 2003 Free Software Foundation, Inc.
7361 This config.status script is free software; the Free Software Foundation
7362 gives unlimited permission to copy, distribute and modify it."
7367 cat >>$CONFIG_STATUS <<\_ACEOF
7368 # If no file are specified by the user, then we need to provide default
7369 # value. By we need to know if files were specified by the user.
7375 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
7376 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
7384 *) # This is not an option, so the user has probably given explicit
7387 ac_need_defaults
=false
;;
7391 # Handling of the options.
7393 cat >>$CONFIG_STATUS <<\_ACEOF
7394 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7396 --version |
--vers* |
-V )
7397 echo "$ac_cs_version"; exit 0 ;;
7399 # Conflict between --help and --header
7400 { { echo "$as_me:$LINENO: error: ambiguous option: $1
7401 Try \`$0 --help' for more information." >&5
7402 echo "$as_me: error: ambiguous option: $1
7403 Try \`$0 --help' for more information." >&2;}
7404 { (exit 1); exit 1; }; };;
7405 --help |
--hel |
-h )
7406 echo "$ac_cs_usage"; exit 0 ;;
7407 --debug |
--d* |
-d )
7409 --file |
--fil |
--fi |
--f )
7411 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
7412 ac_need_defaults
=false
;;
7413 --header |
--heade |
--head |
--hea )
7415 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
7416 ac_need_defaults
=false
;;
7417 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7418 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7422 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
7423 Try \`$0 --help' for more information." >&5
7424 echo "$as_me: error: unrecognized option: $1
7425 Try \`$0 --help' for more information." >&2;}
7426 { (exit 1); exit 1; }; } ;;
7428 *) ac_config_targets
="$ac_config_targets $1" ;;
7434 ac_configure_extra_args
=
7436 if $ac_cs_silent; then
7438 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7442 cat >>$CONFIG_STATUS <<_ACEOF
7443 if \$ac_cs_recheck; then
7444 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7445 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7450 cat >>$CONFIG_STATUS <<_ACEOF
7452 # INIT-COMMANDS section.
7459 with_multisubdir="$with_multisubdir"
7460 with_multisrctop="$with_multisrctop"
7461 with_target_subdir="$with_target_subdir"
7462 ac_configure_args="${multilib_arg} ${ac_configure_args}"
7463 multi_basedir="$multi_basedir"
7464 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
7466 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7472 cat >>$CONFIG_STATUS <<\_ACEOF
7473 for ac_config_target
in $ac_config_targets
7475 case "$ac_config_target" in
7476 # Handling of arguments.
7477 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7478 "testsuite/Makefile" ) CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
7479 "testsuite/mfconfig.exp" ) CONFIG_FILES
="$CONFIG_FILES testsuite/mfconfig.exp" ;;
7480 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
7481 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
7482 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
7483 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7484 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7485 { (exit 1); exit 1; }; };;
7489 # If the user did not use the arguments to specify the items to instantiate,
7490 # then the envvar interface is used. Set only those that are not.
7491 # We use the long form for the default assignment because of an extremely
7492 # bizarre bug on SunOS 4.1.3.
7493 if $ac_need_defaults; then
7494 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7495 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7496 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
7499 # Have a temporary directory for convenience. Make it in the build tree
7500 # simply because there is no reason to put it here, and in addition,
7501 # creating and moving files from /tmp can sometimes cause problems.
7502 # Create a temporary directory, and hook for its removal unless debugging.
7505 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
7506 trap '{ (exit 1); exit 1; }' 1 2 13 15
7509 # Create a (secure) tmp directory for tmp files.
7512 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
7513 test -n "$tmp" && test -d "$tmp"
7516 tmp
=.
/confstat$$
-$RANDOM
7517 (umask 077 && mkdir
$tmp)
7520 echo "$me: cannot create a temporary directory in ." >&2
7521 { (exit 1); exit 1; }
7526 cat >>$CONFIG_STATUS <<_ACEOF
7529 # CONFIG_FILES section.
7532 # No need to generate the scripts if there are no CONFIG_FILES.
7533 # This happens for instance when ./config.status config.h
7534 if test -n "\$CONFIG_FILES"; then
7535 # Protect against being on the right side of a sed subst in config.status.
7536 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
7537 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
7538 s,@SHELL@,$SHELL,;t t
7539 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
7540 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
7541 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
7542 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
7543 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
7544 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
7545 s,@exec_prefix@,$exec_prefix,;t t
7546 s,@prefix@,$prefix,;t t
7547 s,@program_transform_name@,$program_transform_name,;t t
7548 s,@bindir@,$bindir,;t t
7549 s,@sbindir@,$sbindir,;t t
7550 s,@libexecdir@,$libexecdir,;t t
7551 s,@datadir@,$datadir,;t t
7552 s,@sysconfdir@,$sysconfdir,;t t
7553 s,@sharedstatedir@,$sharedstatedir,;t t
7554 s,@localstatedir@,$localstatedir,;t t
7555 s,@libdir@,$libdir,;t t
7556 s,@includedir@,$includedir,;t t
7557 s,@oldincludedir@,$oldincludedir,;t t
7558 s,@infodir@,$infodir,;t t
7559 s,@mandir@,$mandir,;t t
7560 s,@build_alias@,$build_alias,;t t
7561 s,@host_alias@,$host_alias,;t t
7562 s,@target_alias@,$target_alias,;t t
7564 s,@ECHO_C@,$ECHO_C,;t t
7565 s,@ECHO_N@,$ECHO_N,;t t
7566 s,@ECHO_T@,$ECHO_T,;t t
7568 s,@build@,$build,;t t
7569 s,@build_cpu@,$build_cpu,;t t
7570 s,@build_vendor@,$build_vendor,;t t
7571 s,@build_os@,$build_os,;t t
7573 s,@host_cpu@,$host_cpu,;t t
7574 s,@host_vendor@,$host_vendor,;t t
7575 s,@host_os@,$host_os,;t t
7576 s,@target@,$target,;t t
7577 s,@target_cpu@,$target_cpu,;t t
7578 s,@target_vendor@,$target_vendor,;t t
7579 s,@target_os@,$target_os,;t t
7580 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
7581 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
7582 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
7583 s,@CYGPATH_W@,$CYGPATH_W,;t t
7584 s,@PACKAGE@,$PACKAGE,;t t
7585 s,@VERSION@,$VERSION,;t t
7586 s,@ACLOCAL@,$ACLOCAL,;t t
7587 s,@AUTOCONF@,$AUTOCONF,;t t
7588 s,@AUTOMAKE@,$AUTOMAKE,;t t
7589 s,@AUTOHEADER@,$AUTOHEADER,;t t
7590 s,@MAKEINFO@,$MAKEINFO,;t t
7591 s,@install_sh@,$install_sh,;t t
7592 s,@STRIP@,$STRIP,;t t
7593 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
7594 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
7595 s,@mkdir_p@,$mkdir_p,;t t
7597 s,@SET_MAKE@,$SET_MAKE,;t t
7598 s,@am__leading_dot@,$am__leading_dot,;t t
7599 s,@AMTAR@,$AMTAR,;t t
7600 s,@am__tar@,$am__tar,;t t
7601 s,@am__untar@,$am__untar,;t t
7602 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
7603 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
7604 s,@MAINT@,$MAINT,;t t
7605 s,@multi_basedir@,$multi_basedir,;t t
7607 s,@ac_ct_CC@,$ac_ct_CC,;t t
7608 s,@EXEEXT@,$EXEEXT,;t t
7609 s,@OBJEXT@,$OBJEXT,;t t
7610 s,@DEPDIR@,$DEPDIR,;t t
7611 s,@am__include@,$am__include,;t t
7612 s,@am__quote@,$am__quote,;t t
7613 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
7614 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
7615 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
7616 s,@CCDEPMODE@,$CCDEPMODE,;t t
7617 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
7618 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
7619 s,@CFLAGS@,$CFLAGS,;t t
7621 s,@CPPFLAGS@,$CPPFLAGS,;t t
7622 s,@EGREP@,$EGREP,;t t
7624 s,@RANLIB@,$RANLIB,;t t
7625 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
7626 s,@LIBTOOL@,$LIBTOOL,;t t
7627 s,@enable_shared@,$enable_shared,;t t
7628 s,@enable_static@,$enable_static,;t t
7629 s,@MF_HAVE_STDINT_H@,$MF_HAVE_STDINT_H,;t t
7630 s,@MF_HAVE_UINTPTR_T@,$MF_HAVE_UINTPTR_T,;t t
7631 s,@LIBMUDFLAPTH_TRUE@,$LIBMUDFLAPTH_TRUE,;t t
7632 s,@LIBMUDFLAPTH_FALSE@,$LIBMUDFLAPTH_FALSE,;t t
7633 s,@build_libmudflapth@,$build_libmudflapth,;t t
7634 s,@toolexecdir@,$toolexecdir,;t t
7635 s,@toolexeclibdir@,$toolexeclibdir,;t t
7637 s,@ac_ct_NM@,$ac_ct_NM,;t t
7638 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
7639 s,@LIBOBJS@,$LIBOBJS,;t t
7640 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
7645 cat >>$CONFIG_STATUS <<\_ACEOF
7646 # Split the substitutions into bite-sized pieces for seds with
7647 # small command number limits, like on Digital OSF/1 and HP-UX.
7649 ac_sed_frag
=1 # Number of current file.
7650 ac_beg
=1 # First line for current file.
7651 ac_end
=$ac_max_sed_lines # Line after last line for current file.
7654 while $ac_more_lines; do
7655 if test $ac_beg -gt 1; then
7656 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7658 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7660 if test ! -s $tmp/subs.frag
; then
7663 # The purpose of the label and of the branching condition is to
7664 # speed up the sed processing (if there are no `@' at all, there
7665 # is no need to browse any of the substitutions).
7666 # These are the two extra sed commands mentioned above.
7668 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
7669 if test -z "$ac_sed_cmds"; then
7670 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
7672 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
7674 ac_sed_frag
=`expr $ac_sed_frag + 1`
7676 ac_end
=`expr $ac_end + $ac_max_sed_lines`
7679 if test -z "$ac_sed_cmds"; then
7682 fi # test -n "$CONFIG_FILES"
7685 cat >>$CONFIG_STATUS <<\_ACEOF
7686 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
7687 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7689 - |
*:- |
*:-:* ) # input from stdin
7691 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7692 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7693 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7694 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7695 * ) ac_file_in
=$ac_file.
in ;;
7698 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
7699 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
7700 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7701 X"$ac_file" : 'X\(//\)[^/]' \| \
7702 X"$ac_file" : 'X\(//\)$' \| \
7703 X"$ac_file" : 'X\(/\)' \| \
7704 . : '\(.\)' 2>/dev/null ||
7706 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7707 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7708 /^X\(\/\/\)$/{ s//\1/; q; }
7709 /^X\(\/\).*/{ s//\1/; q; }
7711 { if $as_mkdir_p; then
7716 while test ! -d "$as_dir"; do
7717 as_dirs
="$as_dir $as_dirs"
7718 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7719 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7720 X"$as_dir" : 'X\(//\)[^/]' \| \
7721 X"$as_dir" : 'X\(//\)$' \| \
7722 X"$as_dir" : 'X\(/\)' \| \
7723 . : '\(.\)' 2>/dev/null ||
7725 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7726 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7727 /^X\(\/\/\)$/{ s//\1/; q; }
7728 /^X\(\/\).*/{ s//\1/; q; }
7731 test ! -n "$as_dirs" || mkdir
$as_dirs
7732 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7733 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7734 { (exit 1); exit 1; }; }; }
7738 if test "$ac_dir" != .
; then
7739 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7740 # A "../" for each directory in $ac_dir_suffix.
7741 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7743 ac_dir_suffix
= ac_top_builddir
=
7747 .
) # No --srcdir option. We are building in place.
7749 if test -z "$ac_top_builddir"; then
7752 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
7754 [\\/]* | ?
:[\\/]* ) # Absolute path.
7755 ac_srcdir
=$srcdir$ac_dir_suffix;
7756 ac_top_srcdir
=$srcdir ;;
7758 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
7759 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
7762 # Do not use `cd foo && pwd` to compute absolute paths, because
7763 # the directories may not exist.
7765 .
) ac_abs_builddir
="$ac_dir";;
7768 .
) ac_abs_builddir
=`pwd`;;
7769 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
7770 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
7773 case $ac_abs_builddir in
7774 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7776 case ${ac_top_builddir}.
in
7777 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
7778 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7779 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
7782 case $ac_abs_builddir in
7783 .
) ac_abs_srcdir
=$ac_srcdir;;
7786 .
) ac_abs_srcdir
=$ac_abs_builddir;;
7787 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
7788 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
7791 case $ac_abs_builddir in
7792 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
7794 case $ac_top_srcdir in
7795 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
7796 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
7797 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
7803 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
7804 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
7807 if test x
"$ac_file" != x-
; then
7808 { echo "$as_me:$LINENO: creating $ac_file" >&5
7809 echo "$as_me: creating $ac_file" >&6;}
7812 # Let's still pretend it is `configure' which instantiates (i.e., don't
7813 # use $as_me), people would be surprised to read:
7814 # /* config.h. Generated by config.status. */
7815 if test x
"$ac_file" = x-
; then
7818 configure_input
="$ac_file. "
7820 configure_input
=$configure_input"Generated from `echo $ac_file_in |
7821 sed 's,.*/,,'` by configure."
7823 # First look for the input files in the build tree, otherwise in the
7825 ac_file_inputs
=`IFS=:
7826 for f in $ac_file_in; do
7828 -) echo $tmp/stdin ;;
7830 # Absolute (can't be DOS-style, as IFS=:)
7831 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7832 echo "$as_me: error: cannot find input file: $f" >&2;}
7833 { (exit 1); exit 1; }; }
7836 if test -f "$f"; then
7839 elif test -f "$srcdir/$f"; then
7844 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7845 echo "$as_me: error: cannot find input file: $f" >&2;}
7846 { (exit 1); exit 1; }; }
7849 done` ||
{ (exit 1); exit 1; }
7851 cat >>$CONFIG_STATUS <<_ACEOF
7855 cat >>$CONFIG_STATUS <<\_ACEOF
7857 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7858 s
,@configure_input@
,$configure_input,;t t
7859 s
,@srcdir@
,$ac_srcdir,;t t
7860 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
7861 s
,@top_srcdir@
,$ac_top_srcdir,;t t
7862 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
7863 s
,@builddir@
,$ac_builddir,;t t
7864 s
,@abs_builddir@
,$ac_abs_builddir,;t t
7865 s
,@top_builddir@
,$ac_top_builddir,;t t
7866 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
7867 s
,@INSTALL@
,$ac_INSTALL,;t t
7868 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
7870 if test x"$ac_file" != x-; then
7871 mv $tmp/out $ac_file
7879 cat >>$CONFIG_STATUS <<\_ACEOF
7882 # CONFIG_HEADER section.
7885 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
7886 # NAME is the cpp macro being defined and VALUE is the value it is being given.
7888 # ac_d sets the value in "#define NAME VALUE" lines.
7889 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
7890 ac_dB
='[ ].*$,\1#\2'
7893 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
7894 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7895 ac_uB
='$,\1#\2define\3'
7899 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
7900 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7902 - |
*:- |
*:-:* ) # input from stdin
7904 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7905 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7906 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7907 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7908 * ) ac_file_in
=$ac_file.
in ;;
7911 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
7912 echo "$as_me: creating $ac_file" >&6;}
7914 # First look for the input files in the build tree, otherwise in the
7916 ac_file_inputs
=`IFS=:
7917 for f in $ac_file_in; do
7919 -) echo $tmp/stdin ;;
7921 # Absolute (can't be DOS-style, as IFS=:)
7922 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7923 echo "$as_me: error: cannot find input file: $f" >&2;}
7924 { (exit 1); exit 1; }; }
7925 # Do quote $f, to prevent DOS paths from being IFS'd.
7928 if test -f "$f"; then
7931 elif test -f "$srcdir/$f"; then
7936 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7937 echo "$as_me: error: cannot find input file: $f" >&2;}
7938 { (exit 1); exit 1; }; }
7941 done` ||
{ (exit 1); exit 1; }
7942 # Remove the trailing spaces.
7943 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
7947 # Transform confdefs.h into two sed scripts, `conftest.defines' and
7948 # `conftest.undefs', that substitutes the proper values into
7949 # config.h.in to produce config.h. The first handles `#define'
7950 # templates, and the second `#undef' templates.
7951 # And first: Protect against being on the right side of a sed subst in
7952 # config.status. Protect against being in an unquoted here document
7954 rm -f conftest.defines conftest.undefs
7955 # Using a here document instead of a string reduces the quoting nightmare.
7956 # Putting comments in sed scripts is not portable.
7958 # `end' is used to avoid that the second main sed command (meant for
7959 # 0-ary CPP macros) applies to n-ary macro definitions.
7960 # See the Autoconf documentation for `clear'.
7961 cat >confdef2sed.
sed <<\_ACEOF
7966 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
7968 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
7971 # If some macros were called several times there might be several times
7972 # the same #defines, which is useless. Nevertheless, we may not want to
7973 # sort them, since we want the *last* AC-DEFINE to be honored.
7974 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
7975 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
7976 rm -f confdef2sed.sed
7978 # This sed command replaces #undef with comments. This is necessary, for
7979 # example, in the case of _POSIX_SOURCE, which is predefined and required
7980 # on some systems where configure will not decide to define it.
7981 cat >>conftest.undefs <<\_ACEOF
7982 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
7985 # Break up conftest.defines because some shells have a limit on the size
7986 # of here documents, and old seds have small limits too (100 cmds).
7987 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
7988 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
7989 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
7990 echo ' :' >>$CONFIG_STATUS
7992 while grep . conftest.defines >/dev/null
7994 # Write a limited-size here document to $tmp/defines.sed.
7995 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
7996 # Speed up: don't consider the non `#define' lines.
7997 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
7998 # Work around the forget-to-reset-the-flag bug.
7999 echo 't clr' >>$CONFIG_STATUS
8000 echo ': clr' >>$CONFIG_STATUS
8001 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
8003 sed -f $tmp/defines.sed $tmp/in >$tmp/out
8007 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
8008 rm -f conftest.defines
8009 mv conftest.
tail conftest.defines
8011 rm -f conftest.defines
8012 echo ' fi # grep' >>$CONFIG_STATUS
8013 echo >>$CONFIG_STATUS
8015 # Break up conftest.undefs because some shells have a limit on the size
8016 # of here documents, and old seds have small limits too (100 cmds).
8017 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
8019 while grep . conftest.undefs
>/dev
/null
8021 # Write a limited-size here document to $tmp/undefs.sed.
8022 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
8023 # Speed up: don't consider the non
`#undef'
8024 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
8025 # Work around the forget-to-reset-the-flag bug.
8026 echo 't clr' >>$CONFIG_STATUS
8027 echo ': clr' >>$CONFIG_STATUS
8028 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
8030 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
8034 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
8035 rm -f conftest.undefs
8036 mv conftest.tail conftest.undefs
8038 rm -f conftest.undefs
8040 cat >>$CONFIG_STATUS <<\_ACEOF
8041 # Let's still pretend it is `configure
' which instantiates (i.e., don't
8042 # use $as_me), people would be surprised to read:
8043 # /* config.h. Generated by config.status. */
8044 if test x
"$ac_file" = x-
; then
8045 echo "/* Generated by configure. */" >$tmp/config.h
8047 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
8049 cat $tmp/in >>$tmp/config.h
8051 if test x
"$ac_file" != x-
; then
8052 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
8053 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
8054 echo "$as_me: $ac_file is unchanged" >&6;}
8056 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
8057 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8058 X"$ac_file" : 'X\(//\)[^/]' \| \
8059 X"$ac_file" : 'X\(//\)$' \| \
8060 X"$ac_file" : 'X\(/\)' \| \
8061 . : '\(.\)' 2>/dev/null ||
8063 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8064 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8065 /^X\(\/\/\)$/{ s//\1/; q; }
8066 /^X\(\/\).*/{ s//\1/; q; }
8068 { if $as_mkdir_p; then
8073 while test ! -d "$as_dir"; do
8074 as_dirs
="$as_dir $as_dirs"
8075 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8076 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8077 X"$as_dir" : 'X\(//\)[^/]' \| \
8078 X"$as_dir" : 'X\(//\)$' \| \
8079 X"$as_dir" : 'X\(/\)' \| \
8080 . : '\(.\)' 2>/dev/null ||
8082 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8083 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8084 /^X\(\/\/\)$/{ s//\1/; q; }
8085 /^X\(\/\).*/{ s//\1/; q; }
8088 test ! -n "$as_dirs" || mkdir
$as_dirs
8089 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8090 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8091 { (exit 1); exit 1; }; }; }
8094 mv $tmp/config.h
$ac_file
8100 # Compute $ac_file's index in $config_headers.
8102 for _am_header
in $config_headers :; do
8104 $ac_file |
$ac_file:* )
8107 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
8110 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
8111 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8112 X$ac_file : 'X\(//\)[^/]' \| \
8113 X$ac_file : 'X\(//\)$' \| \
8114 X$ac_file : 'X\(/\)' \| \
8115 . : '\(.\)' 2>/dev/null ||
8117 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8118 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8119 /^X\(\/\/\)$/{ s//\1/; q; }
8120 /^X\(\/\).*/{ s//\1/; q; }
8121 s/.*/./; q'`/stamp-h
$_am_stamp_count
8124 cat >>$CONFIG_STATUS <<\_ACEOF
8127 # CONFIG_COMMANDS section.
8129 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
8130 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
8131 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8132 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
8133 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8134 X"$ac_dest" : 'X\(//\)[^/]' \| \
8135 X"$ac_dest" : 'X\(//\)$' \| \
8136 X"$ac_dest" : 'X\(/\)' \| \
8137 . : '\(.\)' 2>/dev/null ||
8139 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8140 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8141 /^X\(\/\/\)$/{ s//\1/; q; }
8142 /^X\(\/\).*/{ s//\1/; q; }
8144 { if $as_mkdir_p; then
8149 while test ! -d "$as_dir"; do
8150 as_dirs
="$as_dir $as_dirs"
8151 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8152 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8153 X"$as_dir" : 'X\(//\)[^/]' \| \
8154 X"$as_dir" : 'X\(//\)$' \| \
8155 X"$as_dir" : 'X\(/\)' \| \
8156 . : '\(.\)' 2>/dev/null ||
8158 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8159 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8160 /^X\(\/\/\)$/{ s//\1/; q; }
8161 /^X\(\/\).*/{ s//\1/; q; }
8164 test ! -n "$as_dirs" || mkdir
$as_dirs
8165 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8166 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8167 { (exit 1); exit 1; }; }; }
8171 if test "$ac_dir" != .
; then
8172 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8173 # A "../" for each directory in $ac_dir_suffix.
8174 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8176 ac_dir_suffix
= ac_top_builddir
=
8180 .
) # No --srcdir option. We are building in place.
8182 if test -z "$ac_top_builddir"; then
8185 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
8187 [\\/]* | ?
:[\\/]* ) # Absolute path.
8188 ac_srcdir
=$srcdir$ac_dir_suffix;
8189 ac_top_srcdir
=$srcdir ;;
8191 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
8192 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
8195 # Do not use `cd foo && pwd` to compute absolute paths, because
8196 # the directories may not exist.
8198 .
) ac_abs_builddir
="$ac_dir";;
8201 .
) ac_abs_builddir
=`pwd`;;
8202 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
8203 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
8206 case $ac_abs_builddir in
8207 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8209 case ${ac_top_builddir}.
in
8210 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
8211 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8212 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
8215 case $ac_abs_builddir in
8216 .
) ac_abs_srcdir
=$ac_srcdir;;
8219 .
) ac_abs_srcdir
=$ac_abs_builddir;;
8220 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
8221 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
8224 case $ac_abs_builddir in
8225 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
8227 case $ac_top_srcdir in
8228 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
8229 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
8230 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
8235 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
8236 echo "$as_me: executing $ac_dest commands" >&6;}
8239 # Only add multilib support code if we just rebuilt the top-level
8241 case " $CONFIG_FILES " in
8243 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
8246 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
8247 # Strip MF so we end up with the name of the file.
8248 mf
=`echo "$mf" | sed -e 's/:.*$//'`
8249 # Check whether this is an Automake generated Makefile or not.
8250 # We used to match only the files named `Makefile.in', but
8251 # some people rename them; so instead we look at the file content.
8252 # Grep'ing the first line is not enough: some people post-process
8253 # each Makefile.in and add a new line on top of each file to say so.
8254 # So let's grep whole file.
8255 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
8256 dirpart
=`(dirname "$mf") 2>/dev/null ||
8257 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8258 X"$mf" : 'X\(//\)[^/]' \| \
8259 X"$mf" : 'X\(//\)$' \| \
8260 X"$mf" : 'X\(/\)' \| \
8261 . : '\(.\)' 2>/dev/null ||
8263 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8264 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8265 /^X\(\/\/\)$/{ s//\1/; q; }
8266 /^X\(\/\).*/{ s//\1/; q; }
8271 # Extract the definition of DEPDIR, am__include, and am__quote
8272 # from the Makefile without running `make'.
8273 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
8274 test -z "$DEPDIR" && continue
8275 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
8276 test -z "am__include" && continue
8277 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
8278 # When using ansi2knr, U may be empty or an underscore; expand it
8279 U
=`sed -n 's/^U = //p' < "$mf"`
8280 # Find all dependency output files, they are included files with
8281 # $(DEPDIR) in their names. We invoke sed twice because it is the
8282 # simplest approach to changing $(DEPDIR) to its actual value in the
8284 for file in `sed -n "
8285 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8286 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
8287 # Make sure the directory exists.
8288 test -f "$dirpart/$file" && continue
8289 fdir
=`(dirname "$file") 2>/dev/null ||
8290 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8291 X"$file" : 'X\(//\)[^/]' \| \
8292 X"$file" : 'X\(//\)$' \| \
8293 X"$file" : 'X\(/\)' \| \
8294 . : '\(.\)' 2>/dev/null ||
8296 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8297 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8298 /^X\(\/\/\)$/{ s//\1/; q; }
8299 /^X\(\/\).*/{ s//\1/; q; }
8301 { if $as_mkdir_p; then
8302 mkdir
-p $dirpart/$fdir
8304 as_dir
=$dirpart/$fdir
8306 while test ! -d "$as_dir"; do
8307 as_dirs
="$as_dir $as_dirs"
8308 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8309 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8310 X"$as_dir" : 'X\(//\)[^/]' \| \
8311 X"$as_dir" : 'X\(//\)$' \| \
8312 X"$as_dir" : 'X\(/\)' \| \
8313 . : '\(.\)' 2>/dev/null ||
8315 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8316 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8317 /^X\(\/\/\)$/{ s//\1/; q; }
8318 /^X\(\/\).*/{ s//\1/; q; }
8321 test ! -n "$as_dirs" || mkdir
$as_dirs
8322 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
8323 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
8324 { (exit 1); exit 1; }; }; }
8326 # echo "creating $dirpart/$file"
8327 echo '# dummy' > "$dirpart/$file"
8335 cat >>$CONFIG_STATUS <<\_ACEOF
8337 { (exit 0); exit 0; }
8339 chmod +x
$CONFIG_STATUS
8340 ac_clean_files
=$ac_clean_files_save
8343 # configure is writing to config.log, and then calls config.status.
8344 # config.status does its own redirection, appending to config.log.
8345 # Unfortunately, on DOS this fails, as config.log is still kept open
8346 # by configure, so config.status won't be able to write to it; its
8347 # output is simply discarded. So we exec the FD to /dev/null,
8348 # effectively closing config.log, so it can be properly (re)opened and
8349 # appended to by config.status. When coming back to configure, we
8350 # need to make the FD available again.
8351 if test "$no_create" != yes; then
8353 ac_config_status_args
=
8354 test "$silent" = yes &&
8355 ac_config_status_args
="$ac_config_status_args --quiet"
8357 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8359 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8360 # would make configure fail if this is the last instruction.
8361 $ac_cs_success ||
{ (exit 1); exit 1; }